Google Cloud Vm Migration V1 Client - Class DatacenterConnector (0.2.3)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class DatacenterConnector.

DatacenterConnector message describes a connector between the Source and GCP, which is installed on a vmware datacenter (an OVA vm installed by the user) to connect the Datacenter to GCP and support vm migration data transfer.

Generated from protobuf message google.cloud.vmmigration.v1.DatacenterConnector

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ create_time Google\Protobuf\Timestamp

Output only. The time the connector was created (as an API call, not when it was actually installed).

↳ update_time Google\Protobuf\Timestamp

Output only. The last time the connector was updated with an API call.

↳ name string

Output only. The connector's name.

↳ registration_id string

Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.

↳ service_account string

The service account to use in the connector when communicating with the cloud.

↳ version string

The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.

↳ bucket string

Output only. The communication channel between the datacenter connector and GCP.

↳ state int

Output only. State of the DatacenterConnector, as determined by the health checks.

↳ state_time Google\Protobuf\Timestamp

Output only. The time the state was last set.

↳ error Google\Rpc\Status

Output only. Provides details on the state of the Datacenter Connector in case of an error.

↳ appliance_infrastructure_version string

Output only. Appliance OVA version. This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.

↳ appliance_software_version string

Output only. Appliance last installed update bundle version. This is the version of the automatically updatable components on the appliance.

↳ available_versions Google\Cloud\VMMigration\V1\AvailableUpdates

Output only. The available versions for updating this appliance.

↳ upgrade_status Google\Cloud\VMMigration\V1\UpgradeStatus

Output only. The status of the current / last upgradeAppliance operation.

getCreateTime

Output only. The time the connector was created (as an API call, not when it was actually installed).

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time the connector was created (as an API call, not when it was actually installed).

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

getUpdateTime

Output only. The last time the connector was updated with an API call.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasUpdateTime

clearUpdateTime

setUpdateTime

Output only. The last time the connector was updated with an API call.

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

getName

Output only. The connector's name.

Returns
TypeDescription
string

setName

Output only. The connector's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRegistrationId

Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.

Returns
TypeDescription
string

setRegistrationId

Immutable. A unique key for this connector. This key is internal to the OVA connector and is supplied with its creation during the registration process and can not be modified.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getServiceAccount

The service account to use in the connector when communicating with the cloud.

Returns
TypeDescription
string

setServiceAccount

The service account to use in the connector when communicating with the cloud.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVersion

The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.

Returns
TypeDescription
string

setVersion

The version running in the DatacenterConnector. This is supplied by the OVA connector during the registration process and can not be modified.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBucket

Output only. The communication channel between the datacenter connector and GCP.

Returns
TypeDescription
string

setBucket

Output only. The communication channel between the datacenter connector and GCP.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getState

Output only. State of the DatacenterConnector, as determined by the health checks.

Returns
TypeDescription
int

setState

Output only. State of the DatacenterConnector, as determined by the health checks.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateTime

Output only. The time the state was last set.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStateTime

clearStateTime

setStateTime

Output only. The time the state was last set.

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

getError

Output only. Provides details on the state of the Datacenter Connector in case of an error.

Returns
TypeDescription
Google\Rpc\Status|null

hasError

clearError

setError

Output only. Provides details on the state of the Datacenter Connector in case of an error.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getApplianceInfrastructureVersion

Output only. Appliance OVA version.

This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.

Returns
TypeDescription
string

setApplianceInfrastructureVersion

Output only. Appliance OVA version.

This is the OVA which is manually installed by the user and contains the infrastructure for the automatically updatable components on the appliance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getApplianceSoftwareVersion

Output only. Appliance last installed update bundle version.

This is the version of the automatically updatable components on the appliance.

Returns
TypeDescription
string

setApplianceSoftwareVersion

Output only. Appliance last installed update bundle version.

This is the version of the automatically updatable components on the appliance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAvailableVersions

Output only. The available versions for updating this appliance.

Returns
TypeDescription
Google\Cloud\VMMigration\V1\AvailableUpdates|null

hasAvailableVersions

clearAvailableVersions

setAvailableVersions

Output only. The available versions for updating this appliance.

Parameter
NameDescription
var Google\Cloud\VMMigration\V1\AvailableUpdates
Returns
TypeDescription
$this

getUpgradeStatus

Output only. The status of the current / last upgradeAppliance operation.

Returns
TypeDescription
Google\Cloud\VMMigration\V1\UpgradeStatus|null

hasUpgradeStatus

clearUpgradeStatus

setUpgradeStatus

Output only. The status of the current / last upgradeAppliance operation.

Parameter
NameDescription
var Google\Cloud\VMMigration\V1\UpgradeStatus
Returns
TypeDescription
$this