Skip to content

Commit 4a4d4e2

Browse files
1 parent 6223aa4 commit 4a4d4e2

5 files changed

Lines changed: 191 additions & 144 deletions

File tree

src/Networkconnectivity.php

Lines changed: 1 addition & 144 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,11 @@ class Networkconnectivity extends \Google\Service
5050
public $projects_locations_multicloudDataTransferSupportedServices;
5151
public $projects_locations_operations;
5252
public $projects_locations_regionalEndpoints;
53-
public $projects_locations_remoteTransportProfiles;
5453
public $projects_locations_serviceClasses;
5554
public $projects_locations_serviceConnectionMaps;
5655
public $projects_locations_serviceConnectionPolicies;
5756
public $projects_locations_serviceConnectionTokens;
5857
public $projects_locations_spokes;
59-
public $projects_locations_transports;
6058
public $rootUrlTemplate;
6159

6260
/**
@@ -1190,52 +1188,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
11901188
]
11911189
]
11921190
);
1193-
$this->projects_locations_remoteTransportProfiles = new Networkconnectivity\Resource\ProjectsLocationsRemoteTransportProfiles(
1194-
$this,
1195-
$this->serviceName,
1196-
'remoteTransportProfiles',
1197-
[
1198-
'methods' => [
1199-
'get' => [
1200-
'path' => 'v1/{+name}',
1201-
'httpMethod' => 'GET',
1202-
'parameters' => [
1203-
'name' => [
1204-
'location' => 'path',
1205-
'type' => 'string',
1206-
'required' => true,
1207-
],
1208-
],
1209-
],'list' => [
1210-
'path' => 'v1/{+parent}/remoteTransportProfiles',
1211-
'httpMethod' => 'GET',
1212-
'parameters' => [
1213-
'parent' => [
1214-
'location' => 'path',
1215-
'type' => 'string',
1216-
'required' => true,
1217-
],
1218-
'filter' => [
1219-
'location' => 'query',
1220-
'type' => 'string',
1221-
],
1222-
'orderBy' => [
1223-
'location' => 'query',
1224-
'type' => 'string',
1225-
],
1226-
'pageSize' => [
1227-
'location' => 'query',
1228-
'type' => 'integer',
1229-
],
1230-
'pageToken' => [
1231-
'location' => 'query',
1232-
'type' => 'string',
1233-
],
1234-
],
1235-
],
1236-
]
1237-
]
1238-
);
12391191
$this->projects_locations_serviceClasses = new Networkconnectivity\Resource\ProjectsLocationsServiceClasses(
12401192
$this,
12411193
$this->serviceName,
@@ -1504,6 +1456,7 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
15041456
'autoSubnetworkConfig.allocRangeSpace' => [
15051457
'location' => 'query',
15061458
'type' => 'string',
1459+
'repeated' => true,
15071460
],
15081461
'autoSubnetworkConfig.ipStack' => [
15091462
'location' => 'query',
@@ -1848,102 +1801,6 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
18481801
]
18491802
]
18501803
);
1851-
$this->projects_locations_transports = new Networkconnectivity\Resource\ProjectsLocationsTransports(
1852-
$this,
1853-
$this->serviceName,
1854-
'transports',
1855-
[
1856-
'methods' => [
1857-
'create' => [
1858-
'path' => 'v1/{+parent}/transports',
1859-
'httpMethod' => 'POST',
1860-
'parameters' => [
1861-
'parent' => [
1862-
'location' => 'path',
1863-
'type' => 'string',
1864-
'required' => true,
1865-
],
1866-
'requestId' => [
1867-
'location' => 'query',
1868-
'type' => 'string',
1869-
],
1870-
'transportId' => [
1871-
'location' => 'query',
1872-
'type' => 'string',
1873-
],
1874-
],
1875-
],'delete' => [
1876-
'path' => 'v1/{+name}',
1877-
'httpMethod' => 'DELETE',
1878-
'parameters' => [
1879-
'name' => [
1880-
'location' => 'path',
1881-
'type' => 'string',
1882-
'required' => true,
1883-
],
1884-
'requestId' => [
1885-
'location' => 'query',
1886-
'type' => 'string',
1887-
],
1888-
],
1889-
],'get' => [
1890-
'path' => 'v1/{+name}',
1891-
'httpMethod' => 'GET',
1892-
'parameters' => [
1893-
'name' => [
1894-
'location' => 'path',
1895-
'type' => 'string',
1896-
'required' => true,
1897-
],
1898-
],
1899-
],'list' => [
1900-
'path' => 'v1/{+parent}/transports',
1901-
'httpMethod' => 'GET',
1902-
'parameters' => [
1903-
'parent' => [
1904-
'location' => 'path',
1905-
'type' => 'string',
1906-
'required' => true,
1907-
],
1908-
'filter' => [
1909-
'location' => 'query',
1910-
'type' => 'string',
1911-
],
1912-
'orderBy' => [
1913-
'location' => 'query',
1914-
'type' => 'string',
1915-
],
1916-
'pageSize' => [
1917-
'location' => 'query',
1918-
'type' => 'integer',
1919-
],
1920-
'pageToken' => [
1921-
'location' => 'query',
1922-
'type' => 'string',
1923-
],
1924-
],
1925-
],'patch' => [
1926-
'path' => 'v1/{+name}',
1927-
'httpMethod' => 'PATCH',
1928-
'parameters' => [
1929-
'name' => [
1930-
'location' => 'path',
1931-
'type' => 'string',
1932-
'required' => true,
1933-
],
1934-
'requestId' => [
1935-
'location' => 'query',
1936-
'type' => 'string',
1937-
],
1938-
'updateMask' => [
1939-
'location' => 'query',
1940-
'type' => 'string',
1941-
],
1942-
],
1943-
],
1944-
]
1945-
]
1946-
);
19471804
}
19481805
}
19491806

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\Networkconnectivity;
19+
20+
class AutomatedDnsCreationSpec extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $dnsSuffix;
26+
/**
27+
* @var string
28+
*/
29+
public $hostname;
30+
/**
31+
* @var string
32+
*/
33+
public $ttl;
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setDnsSuffix($dnsSuffix)
39+
{
40+
$this->dnsSuffix = $dnsSuffix;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getDnsSuffix()
46+
{
47+
return $this->dnsSuffix;
48+
}
49+
/**
50+
* @param string
51+
*/
52+
public function setHostname($hostname)
53+
{
54+
$this->hostname = $hostname;
55+
}
56+
/**
57+
* @return string
58+
*/
59+
public function getHostname()
60+
{
61+
return $this->hostname;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setTtl($ttl)
67+
{
68+
$this->ttl = $ttl;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getTtl()
74+
{
75+
return $this->ttl;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(AutomatedDnsCreationSpec::class, 'Google_Service_Networkconnectivity_AutomatedDnsCreationSpec');

src/Networkconnectivity/ConsumerPscConnection.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
class ConsumerPscConnection extends \Google\Model
2121
{
22+
protected $dnsAutomationStatusType = DnsAutomationStatus::class;
23+
protected $dnsAutomationStatusDataType = '';
2224
protected $errorDataType = '';
2325
protected $errorInfoType = GoogleRpcErrorInfo::class;
2426
protected $errorInfoDataType = '';
@@ -75,6 +77,20 @@ class ConsumerPscConnection extends \Google\Model
7577
*/
7678
public $state;
7779

80+
/**
81+
* @param DnsAutomationStatus
82+
*/
83+
public function setDnsAutomationStatus(DnsAutomationStatus $dnsAutomationStatus)
84+
{
85+
$this->dnsAutomationStatus = $dnsAutomationStatus;
86+
}
87+
/**
88+
* @return DnsAutomationStatus
89+
*/
90+
public function getDnsAutomationStatus()
91+
{
92+
return $this->dnsAutomationStatus;
93+
}
7894
/**
7995
* @param GoogleRpcStatus
8096
*/
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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\Networkconnectivity;
19+
20+
class DnsAutomationStatus extends \Google\Model
21+
{
22+
protected $errorType = GoogleRpcStatus::class;
23+
protected $errorDataType = '';
24+
/**
25+
* @var string
26+
*/
27+
public $fqdn;
28+
/**
29+
* @var string
30+
*/
31+
public $state;
32+
33+
/**
34+
* @param GoogleRpcStatus
35+
*/
36+
public function setError(GoogleRpcStatus $error)
37+
{
38+
$this->error = $error;
39+
}
40+
/**
41+
* @return GoogleRpcStatus
42+
*/
43+
public function getError()
44+
{
45+
return $this->error;
46+
}
47+
/**
48+
* @param string
49+
*/
50+
public function setFqdn($fqdn)
51+
{
52+
$this->fqdn = $fqdn;
53+
}
54+
/**
55+
* @return string
56+
*/
57+
public function getFqdn()
58+
{
59+
return $this->fqdn;
60+
}
61+
/**
62+
* @param string
63+
*/
64+
public function setState($state)
65+
{
66+
$this->state = $state;
67+
}
68+
/**
69+
* @return string
70+
*/
71+
public function getState()
72+
{
73+
return $this->state;
74+
}
75+
}
76+
77+
// Adding a class alias for backwards compatibility with the previous class name.
78+
class_alias(DnsAutomationStatus::class, 'Google_Service_Networkconnectivity_DnsAutomationStatus');

src/Networkconnectivity/ProducerPscConfig.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,27 @@
1919

2020
class ProducerPscConfig extends \Google\Model
2121
{
22+
protected $automatedDnsCreationSpecType = AutomatedDnsCreationSpec::class;
23+
protected $automatedDnsCreationSpecDataType = '';
2224
/**
2325
* @var string
2426
*/
2527
public $serviceAttachmentUri;
2628

29+
/**
30+
* @param AutomatedDnsCreationSpec
31+
*/
32+
public function setAutomatedDnsCreationSpec(AutomatedDnsCreationSpec $automatedDnsCreationSpec)
33+
{
34+
$this->automatedDnsCreationSpec = $automatedDnsCreationSpec;
35+
}
36+
/**
37+
* @return AutomatedDnsCreationSpec
38+
*/
39+
public function getAutomatedDnsCreationSpec()
40+
{
41+
return $this->automatedDnsCreationSpec;
42+
}
2743
/**
2844
* @param string
2945
*/

0 commit comments

Comments
 (0)