Skip to content

Commit 74e6daf

Browse files
1 parent 8283f93 commit 74e6daf

25 files changed

Lines changed: 3082 additions & 191 deletions

src/Compute.php

Lines changed: 645 additions & 93 deletions
Large diffs are not rendered by default.

src/Compute/BulkInsertDiskResource.php

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

2020
class BulkInsertDiskResource extends \Google\Model
2121
{
22+
protected $instantSnapshotGroupParametersType = InstantSnapshotGroupParameters::class;
23+
protected $instantSnapshotGroupParametersDataType = '';
24+
protected $snapshotGroupParametersType = SnapshotGroupParameters::class;
25+
protected $snapshotGroupParametersDataType = '';
2226
/**
2327
* The URL of the DiskConsistencyGroupPolicy for the group of disks to clone.
2428
* This may be a full or partial URL, such as: - https://
@@ -31,6 +35,39 @@ class BulkInsertDiskResource extends \Google\Model
3135
*/
3236
public $sourceConsistencyGroupPolicy;
3337

38+
/**
39+
* The parameters for the instant snapshot group.
40+
*
41+
* @param InstantSnapshotGroupParameters $instantSnapshotGroupParameters
42+
*/
43+
public function setInstantSnapshotGroupParameters(InstantSnapshotGroupParameters $instantSnapshotGroupParameters)
44+
{
45+
$this->instantSnapshotGroupParameters = $instantSnapshotGroupParameters;
46+
}
47+
/**
48+
* @return InstantSnapshotGroupParameters
49+
*/
50+
public function getInstantSnapshotGroupParameters()
51+
{
52+
return $this->instantSnapshotGroupParameters;
53+
}
54+
/**
55+
* The parameters for the snapshot group. The usage of snapshot group feature
56+
* is restricted.
57+
*
58+
* @param SnapshotGroupParameters $snapshotGroupParameters
59+
*/
60+
public function setSnapshotGroupParameters(SnapshotGroupParameters $snapshotGroupParameters)
61+
{
62+
$this->snapshotGroupParameters = $snapshotGroupParameters;
63+
}
64+
/**
65+
* @return SnapshotGroupParameters
66+
*/
67+
public function getSnapshotGroupParameters()
68+
{
69+
return $this->snapshotGroupParameters;
70+
}
3471
/**
3572
* The URL of the DiskConsistencyGroupPolicy for the group of disks to clone.
3673
* This may be a full or partial URL, such as: - https://

src/Compute/Instance.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,6 @@ class Instance extends \Google\Collection
272272
protected $networkPerformanceConfigDataType = '';
273273
protected $paramsType = InstanceParams::class;
274274
protected $paramsDataType = '';
275-
protected $partnerMetadataType = StructuredEntries::class;
276-
protected $partnerMetadataDataType = 'map';
277275
/**
278276
* The private IPv6 google access type for the VM. If not specified, use
279277
* INHERIT_FROM_SUBNETWORK as default.
@@ -867,23 +865,6 @@ public function getParams()
867865
{
868866
return $this->params;
869867
}
870-
/**
871-
* Partner Metadata assigned to the instance. A map from a subdomain
872-
* (namespace) to entries map.
873-
*
874-
* @param StructuredEntries[] $partnerMetadata
875-
*/
876-
public function setPartnerMetadata($partnerMetadata)
877-
{
878-
$this->partnerMetadata = $partnerMetadata;
879-
}
880-
/**
881-
* @return StructuredEntries[]
882-
*/
883-
public function getPartnerMetadata()
884-
{
885-
return $this->partnerMetadata;
886-
}
887868
/**
888869
* The private IPv6 google access type for the VM. If not specified, use
889870
* INHERIT_FROM_SUBNETWORK as default.

src/Compute/InstanceProperties.php

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ class InstanceProperties extends \Google\Collection
116116
protected $networkInterfacesDataType = 'array';
117117
protected $networkPerformanceConfigType = NetworkPerformanceConfig::class;
118118
protected $networkPerformanceConfigDataType = '';
119-
protected $partnerMetadataType = StructuredEntries::class;
120-
protected $partnerMetadataDataType = 'map';
121119
/**
122120
* The private IPv6 google access type for VMs. If not specified, use
123121
* INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not
@@ -387,23 +385,6 @@ public function getNetworkPerformanceConfig()
387385
{
388386
return $this->networkPerformanceConfig;
389387
}
390-
/**
391-
* Partner Metadata assigned to the instance properties. A map from a
392-
* subdomain (namespace) to entries map.
393-
*
394-
* @param StructuredEntries[] $partnerMetadata
395-
*/
396-
public function setPartnerMetadata($partnerMetadata)
397-
{
398-
$this->partnerMetadata = $partnerMetadata;
399-
}
400-
/**
401-
* @return StructuredEntries[]
402-
*/
403-
public function getPartnerMetadata()
404-
{
405-
return $this->partnerMetadata;
406-
}
407388
/**
408389
* The private IPv6 google access type for VMs. If not specified, use
409390
* INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not

src/Compute/InstantSnapshot.php

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,24 @@ class InstantSnapshot extends \Google\Model
185185
* @var string
186186
*/
187187
public $sourceDiskId;
188+
/**
189+
* Output only. [Output Only] URL of the source instant snapshot this instant
190+
* snapshot is part of. Note that the source instant snapshot group must be in
191+
* the same zone/region as the instant snapshot to be created. This can be a
192+
* full or valid partial URL.
193+
*
194+
* @var string
195+
*/
196+
public $sourceInstantSnapshotGroup;
197+
/**
198+
* Output only. [Output Only] The ID value of the source instant snapshot
199+
* group this InstantSnapshot is part of. This value may be used to determine
200+
* whether the InstantSnapshot was created as part of an InstantSnapshotGroup
201+
* creation.
202+
*
203+
* @var string
204+
*/
205+
public $sourceInstantSnapshotGroupId;
188206
/**
189207
* Output only. [Output Only] The status of the instantSnapshot. This can
190208
* beCREATING, DELETING, FAILED, orREADY.
@@ -526,6 +544,44 @@ public function getSourceDiskId()
526544
{
527545
return $this->sourceDiskId;
528546
}
547+
/**
548+
* Output only. [Output Only] URL of the source instant snapshot this instant
549+
* snapshot is part of. Note that the source instant snapshot group must be in
550+
* the same zone/region as the instant snapshot to be created. This can be a
551+
* full or valid partial URL.
552+
*
553+
* @param string $sourceInstantSnapshotGroup
554+
*/
555+
public function setSourceInstantSnapshotGroup($sourceInstantSnapshotGroup)
556+
{
557+
$this->sourceInstantSnapshotGroup = $sourceInstantSnapshotGroup;
558+
}
559+
/**
560+
* @return string
561+
*/
562+
public function getSourceInstantSnapshotGroup()
563+
{
564+
return $this->sourceInstantSnapshotGroup;
565+
}
566+
/**
567+
* Output only. [Output Only] The ID value of the source instant snapshot
568+
* group this InstantSnapshot is part of. This value may be used to determine
569+
* whether the InstantSnapshot was created as part of an InstantSnapshotGroup
570+
* creation.
571+
*
572+
* @param string $sourceInstantSnapshotGroupId
573+
*/
574+
public function setSourceInstantSnapshotGroupId($sourceInstantSnapshotGroupId)
575+
{
576+
$this->sourceInstantSnapshotGroupId = $sourceInstantSnapshotGroupId;
577+
}
578+
/**
579+
* @return string
580+
*/
581+
public function getSourceInstantSnapshotGroupId()
582+
{
583+
return $this->sourceInstantSnapshotGroupId;
584+
}
529585
/**
530586
* Output only. [Output Only] The status of the instantSnapshot. This can
531587
* beCREATING, DELETING, FAILED, orREADY.

0 commit comments

Comments
 (0)