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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateTime
Output only. The last time the connector was updated with an API call.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last time the connector was updated with an API call.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getName
Output only. The connector's name.
Returns | |
---|---|
Type | Description |
string |
setName
Output only. The connector's name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getServiceAccount
The service account to use in the connector when communicating with the cloud.
Returns | |
---|---|
Type | Description |
string |
setServiceAccount
The service account to use in the connector when communicating with the cloud.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getBucket
Output only. The communication channel between the datacenter connector and GCP.
Returns | |
---|---|
Type | Description |
string |
setBucket
Output only. The communication channel between the datacenter connector and GCP.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. State of the DatacenterConnector, as determined by the health checks.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. State of the DatacenterConnector, as determined by the health checks.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStateTime
Output only. The time the state was last set.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStateTime
clearStateTime
setStateTime
Output only. The time the state was last set.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getError
Output only. Provides details on the state of the Datacenter Connector in case of an error.
Returns | |
---|---|
Type | Description |
Google\Rpc\Status|null |
hasError
clearError
setError
Output only. Provides details on the state of the Datacenter Connector in case of an error.
Parameter | |
---|---|
Name | Description |
var |
Google\Rpc\Status
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getApplianceSoftwareVersion
Output only. Appliance last installed update bundle version.
This is the version of the automatically updatable components on the appliance.
Returns | |
---|---|
Type | Description |
string |
setApplianceSoftwareVersion
Output only. Appliance last installed update bundle version.
This is the version of the automatically updatable components on the appliance.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAvailableVersions
Output only. The available versions for updating this appliance.
Returns | |
---|---|
Type | Description |
Google\Cloud\VMMigration\V1\AvailableUpdates|null |
hasAvailableVersions
clearAvailableVersions
setAvailableVersions
Output only. The available versions for updating this appliance.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\VMMigration\V1\AvailableUpdates
|
Returns | |
---|---|
Type | Description |
$this |
getUpgradeStatus
Output only. The status of the current / last upgradeAppliance operation.
Returns | |
---|---|
Type | Description |
Google\Cloud\VMMigration\V1\UpgradeStatus|null |
hasUpgradeStatus
clearUpgradeStatus
setUpgradeStatus
Output only. The status of the current / last upgradeAppliance operation.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\VMMigration\V1\UpgradeStatus
|
Returns | |
---|---|
Type | Description |
$this |