Skip to content

Commit d2d10b8

Browse files
1 parent 7fbaf61 commit d2d10b8

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

src/CloudComposer.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ class CloudComposer extends \Google\Service
3737
/** See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.. */
3838
const CLOUD_PLATFORM =
3939
"https://www.googleapis.com/auth/cloud-platform";
40+
/** See, edit, configure, and delete your Google Cloud Composer data and see the email address for your Google Account. */
41+
const CLOUDCOMPOSER =
42+
"https://www.googleapis.com/auth/cloudcomposer";
4043

4144
public $projects_locations_environments;
4245
public $projects_locations_environments_userWorkloadsConfigMaps;

src/CloudComposer/PrivateEnvironmentConfig.php

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

2020
class PrivateEnvironmentConfig extends \Google\Model
2121
{
22+
/**
23+
* Default networking type.
24+
*/
25+
public const NETWORKING_TYPE_NETWORKING_TYPE_UNSPECIFIED = 'NETWORKING_TYPE_UNSPECIFIED';
26+
/**
27+
* Private IP Cloud Composer environment with no access to the internet.
28+
*/
29+
public const NETWORKING_TYPE_PRIVATE = 'PRIVATE';
30+
/**
31+
* Cloud Composer environment with access to the internet.
32+
*/
33+
public const NETWORKING_TYPE_PUBLIC = 'PUBLIC';
2234
/**
2335
* Optional. When specified, the environment will use Private Service Connect
2436
* instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and
@@ -86,6 +98,12 @@ class PrivateEnvironmentConfig extends \Google\Model
8698
public $enablePrivatelyUsedPublicIps;
8799
protected $networkingConfigType = NetworkingConfig::class;
88100
protected $networkingConfigDataType = '';
101+
/**
102+
* Optional. Networking type for the environment, either private or public.
103+
*
104+
* @var string
105+
*/
106+
public $networkingType;
89107
protected $privateClusterConfigType = PrivateClusterConfig::class;
90108
protected $privateClusterConfigDataType = '';
91109
/**
@@ -259,6 +277,24 @@ public function getNetworkingConfig()
259277
{
260278
return $this->networkingConfig;
261279
}
280+
/**
281+
* Optional. Networking type for the environment, either private or public.
282+
*
283+
* Accepted values: NETWORKING_TYPE_UNSPECIFIED, PRIVATE, PUBLIC
284+
*
285+
* @param self::NETWORKING_TYPE_* $networkingType
286+
*/
287+
public function setNetworkingType($networkingType)
288+
{
289+
$this->networkingType = $networkingType;
290+
}
291+
/**
292+
* @return self::NETWORKING_TYPE_*
293+
*/
294+
public function getNetworkingType()
295+
{
296+
return $this->networkingType;
297+
}
262298
/**
263299
* Optional. Configuration for the private GKE cluster for a Private IP Cloud
264300
* Composer environment.

0 commit comments

Comments
 (0)