Skip to content

Commit bc12bd5

Browse files
1 parent 457d12f commit bc12bd5

10 files changed

Lines changed: 989 additions & 0 deletions

src/DeveloperConnect.php

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class DeveloperConnect extends \Google\Service
4343
public $projects_locations_accountConnectors_users;
4444
public $projects_locations_connections;
4545
public $projects_locations_connections_gitRepositoryLinks;
46+
public $projects_locations_insightsConfigs;
4647
public $projects_locations_operations;
4748
public $rootUrlTemplate;
4849

@@ -644,6 +645,114 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
644645
]
645646
]
646647
);
648+
$this->projects_locations_insightsConfigs = new DeveloperConnect\Resource\ProjectsLocationsInsightsConfigs(
649+
$this,
650+
$this->serviceName,
651+
'insightsConfigs',
652+
[
653+
'methods' => [
654+
'create' => [
655+
'path' => 'v1/{+parent}/insightsConfigs',
656+
'httpMethod' => 'POST',
657+
'parameters' => [
658+
'parent' => [
659+
'location' => 'path',
660+
'type' => 'string',
661+
'required' => true,
662+
],
663+
'insightsConfigId' => [
664+
'location' => 'query',
665+
'type' => 'string',
666+
],
667+
'validateOnly' => [
668+
'location' => 'query',
669+
'type' => 'boolean',
670+
],
671+
],
672+
],'delete' => [
673+
'path' => 'v1/{+name}',
674+
'httpMethod' => 'DELETE',
675+
'parameters' => [
676+
'name' => [
677+
'location' => 'path',
678+
'type' => 'string',
679+
'required' => true,
680+
],
681+
'etag' => [
682+
'location' => 'query',
683+
'type' => 'string',
684+
],
685+
'requestId' => [
686+
'location' => 'query',
687+
'type' => 'string',
688+
],
689+
'validateOnly' => [
690+
'location' => 'query',
691+
'type' => 'boolean',
692+
],
693+
],
694+
],'get' => [
695+
'path' => 'v1/{+name}',
696+
'httpMethod' => 'GET',
697+
'parameters' => [
698+
'name' => [
699+
'location' => 'path',
700+
'type' => 'string',
701+
'required' => true,
702+
],
703+
],
704+
],'list' => [
705+
'path' => 'v1/{+parent}/insightsConfigs',
706+
'httpMethod' => 'GET',
707+
'parameters' => [
708+
'parent' => [
709+
'location' => 'path',
710+
'type' => 'string',
711+
'required' => true,
712+
],
713+
'filter' => [
714+
'location' => 'query',
715+
'type' => 'string',
716+
],
717+
'orderBy' => [
718+
'location' => 'query',
719+
'type' => 'string',
720+
],
721+
'pageSize' => [
722+
'location' => 'query',
723+
'type' => 'integer',
724+
],
725+
'pageToken' => [
726+
'location' => 'query',
727+
'type' => 'string',
728+
],
729+
],
730+
],'patch' => [
731+
'path' => 'v1/{+name}',
732+
'httpMethod' => 'PATCH',
733+
'parameters' => [
734+
'name' => [
735+
'location' => 'path',
736+
'type' => 'string',
737+
'required' => true,
738+
],
739+
'allowMissing' => [
740+
'location' => 'query',
741+
'type' => 'boolean',
742+
],
743+
'requestId' => [
744+
'location' => 'query',
745+
'type' => 'string',
746+
],
747+
'validateOnly' => [
748+
'location' => 'query',
749+
'type' => 'boolean',
750+
],
751+
],
752+
],
753+
]
754+
]
755+
);
647756
$this->projects_locations_operations = new DeveloperConnect\Resource\ProjectsLocationsOperations(
648757
$this,
649758
$this->serviceName,
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\DeveloperConnect;
19+
20+
class AppHubWorkload extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $criticality;
26+
/**
27+
* @var string
28+
*/
29+
public $environment;
30+
/**
31+
* @var string
32+
*/
33+
public $workload;
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setCriticality($criticality)
39+
{
40+
$this->criticality = $criticality;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getCriticality()
46+
{
47+
return $this->criticality;
48+
}
49+
/**
50+
* @param string
51+
*/
52+
public function setEnvironment($environment)
53+
{
54+
$this->environment = $environment;
55+
}
56+
/**
57+
* @return string
58+
*/
59+
public function getEnvironment()
60+
{
61+
return $this->environment;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setWorkload($workload)
67+
{
68+
$this->workload = $workload;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getWorkload()
74+
{
75+
return $this->workload;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(AppHubWorkload::class, 'Google_Service_DeveloperConnect_AppHubWorkload');
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\DeveloperConnect;
19+
20+
class ArtifactConfig extends \Google\Model
21+
{
22+
protected $googleArtifactAnalysisType = GoogleArtifactAnalysis::class;
23+
protected $googleArtifactAnalysisDataType = '';
24+
protected $googleArtifactRegistryType = GoogleArtifactRegistry::class;
25+
protected $googleArtifactRegistryDataType = '';
26+
/**
27+
* @var string
28+
*/
29+
public $uri;
30+
31+
/**
32+
* @param GoogleArtifactAnalysis
33+
*/
34+
public function setGoogleArtifactAnalysis(GoogleArtifactAnalysis $googleArtifactAnalysis)
35+
{
36+
$this->googleArtifactAnalysis = $googleArtifactAnalysis;
37+
}
38+
/**
39+
* @return GoogleArtifactAnalysis
40+
*/
41+
public function getGoogleArtifactAnalysis()
42+
{
43+
return $this->googleArtifactAnalysis;
44+
}
45+
/**
46+
* @param GoogleArtifactRegistry
47+
*/
48+
public function setGoogleArtifactRegistry(GoogleArtifactRegistry $googleArtifactRegistry)
49+
{
50+
$this->googleArtifactRegistry = $googleArtifactRegistry;
51+
}
52+
/**
53+
* @return GoogleArtifactRegistry
54+
*/
55+
public function getGoogleArtifactRegistry()
56+
{
57+
return $this->googleArtifactRegistry;
58+
}
59+
/**
60+
* @param string
61+
*/
62+
public function setUri($uri)
63+
{
64+
$this->uri = $uri;
65+
}
66+
/**
67+
* @return string
68+
*/
69+
public function getUri()
70+
{
71+
return $this->uri;
72+
}
73+
}
74+
75+
// Adding a class alias for backwards compatibility with the previous class name.
76+
class_alias(ArtifactConfig::class, 'Google_Service_DeveloperConnect_ArtifactConfig');
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\DeveloperConnect;
19+
20+
class GKEWorkload extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $cluster;
26+
/**
27+
* @var string
28+
*/
29+
public $deployment;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setCluster($cluster)
35+
{
36+
$this->cluster = $cluster;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getCluster()
42+
{
43+
return $this->cluster;
44+
}
45+
/**
46+
* @param string
47+
*/
48+
public function setDeployment($deployment)
49+
{
50+
$this->deployment = $deployment;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getDeployment()
56+
{
57+
return $this->deployment;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(GKEWorkload::class, 'Google_Service_DeveloperConnect_GKEWorkload');
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\DeveloperConnect;
19+
20+
class GoogleArtifactAnalysis extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $projectId;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setProjectId($projectId)
31+
{
32+
$this->projectId = $projectId;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getProjectId()
38+
{
39+
return $this->projectId;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(GoogleArtifactAnalysis::class, 'Google_Service_DeveloperConnect_GoogleArtifactAnalysis');

0 commit comments

Comments
 (0)