Google Cloud Vmware Engine V1 Client - Class PrivateCloud (0.4.0)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class PrivateCloud.

Represents a private cloud resource. Private clouds are zonal resources.

Generated from protobuf message google.cloud.vmwareengine.v1.PrivateCloud

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The resource name of this private cloud. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

↳ create_time Google\Protobuf\Timestamp

Output only. Creation time of this resource.

↳ update_time Google\Protobuf\Timestamp

Output only. Last update time of this resource.

↳ delete_time Google\Protobuf\Timestamp

Output only. Time when the resource was scheduled for deletion.

↳ expire_time Google\Protobuf\Timestamp

Output only. Time when the resource will be irreversibly deleted.

↳ state int

Output only. State of the resource. New values may be added to this enum when appropriate.

↳ network_config Google\Cloud\VmwareEngine\V1\NetworkConfig

Required. Network configuration of the private cloud.

↳ management_cluster Google\Cloud\VmwareEngine\V1\PrivateCloud\ManagementCluster

Required. Input only. The management cluster for this private cloud. This field is required during creation of the private cloud to provide details for the default cluster. The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

↳ description string

User-provided description for this private cloud.

↳ hcx Google\Cloud\VmwareEngine\V1\Hcx

Output only. HCX appliance.

↳ nsx Google\Cloud\VmwareEngine\V1\Nsx

Output only. NSX appliance.

↳ vcenter Google\Cloud\VmwareEngine\V1\Vcenter

Output only. Vcenter appliance.

↳ uid string

Output only. System-generated unique identifier for the resource.

↳ type int

Optional. Type of the private cloud. Defaults to STANDARD.

getName

Output only. The resource name of this private cloud.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

Returns
TypeDescription
string

setName

Output only. The resource name of this private cloud.

Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. Creation time of this resource.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. Creation time of this resource.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getUpdateTime

Output only. Last update time of this resource.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. Last update time of this resource.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getDeleteTime

Output only. Time when the resource was scheduled for deletion.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasDeleteTime

clearDeleteTime

setDeleteTime

Output only. Time when the resource was scheduled for deletion.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getExpireTime

Output only. Time when the resource will be irreversibly deleted.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasExpireTime

clearExpireTime

setExpireTime

Output only. Time when the resource will be irreversibly deleted.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getState

Output only. State of the resource. New values may be added to this enum when appropriate.

Returns
TypeDescription
int

setState

Output only. State of the resource. New values may be added to this enum when appropriate.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getNetworkConfig

Required. Network configuration of the private cloud.

Returns
TypeDescription
Google\Cloud\VmwareEngine\V1\NetworkConfig|null

hasNetworkConfig

clearNetworkConfig

setNetworkConfig

Required. Network configuration of the private cloud.

Parameter
NameDescription
var Google\Cloud\VmwareEngine\V1\NetworkConfig
Returns
TypeDescription
$this

getManagementCluster

Required. Input only. The management cluster for this private cloud.

This field is required during creation of the private cloud to provide details for the default cluster. The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

Returns
TypeDescription
Google\Cloud\VmwareEngine\V1\PrivateCloud\ManagementCluster|null

hasManagementCluster

clearManagementCluster

setManagementCluster

Required. Input only. The management cluster for this private cloud.

This field is required during creation of the private cloud to provide details for the default cluster. The following fields can't be changed after private cloud creation: ManagementCluster.clusterId, ManagementCluster.nodeTypeId.

Parameter
NameDescription
var Google\Cloud\VmwareEngine\V1\PrivateCloud\ManagementCluster
Returns
TypeDescription
$this

getDescription

User-provided description for this private cloud.

Returns
TypeDescription
string

setDescription

User-provided description for this private cloud.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getHcx

Output only. HCX appliance.

Returns
TypeDescription
Google\Cloud\VmwareEngine\V1\Hcx|null

hasHcx

clearHcx

setHcx

Output only. HCX appliance.

Parameter
NameDescription
var Google\Cloud\VmwareEngine\V1\Hcx
Returns
TypeDescription
$this

getNsx

Output only. NSX appliance.

Returns
TypeDescription
Google\Cloud\VmwareEngine\V1\Nsx|null

hasNsx

clearNsx

setNsx

Output only. NSX appliance.

Parameter
NameDescription
var Google\Cloud\VmwareEngine\V1\Nsx
Returns
TypeDescription
$this

getVcenter

Output only. Vcenter appliance.

Returns
TypeDescription
Google\Cloud\VmwareEngine\V1\Vcenter|null

hasVcenter

clearVcenter

setVcenter

Output only. Vcenter appliance.

Parameter
NameDescription
var Google\Cloud\VmwareEngine\V1\Vcenter
Returns
TypeDescription
$this

getUid

Output only. System-generated unique identifier for the resource.

Returns
TypeDescription
string

setUid

Output only. System-generated unique identifier for the resource.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Optional. Type of the private cloud. Defaults to STANDARD.

Returns
TypeDescription
int

setType

Optional. Type of the private cloud. Defaults to STANDARD.

Parameter
NameDescription
var int
Returns
TypeDescription
$this