Generated from protobuf message google.cloud.vmwareengine.v1.ShowVcenterCredentialsRequest
Namespace
Google \ Cloud \ VmwareEngine \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ private_cloud
string
Required. The resource name of the private cloud to be queried for credentials. 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
↳ username
string
Optional. The username of the user to be queried for credentials. The default value of this field is CloudOwner@gve.local. The provided value must be one of the following: CloudOwner@gve.local, solution-user-01@gve.local, solution-user-02@gve.local, solution-user-03@gve.local, solution-user-04@gve.local, solution-user-05@gve.local, zertoadmin@gve.local.
getPrivateCloud
Required. The resource name of the private cloud
to be queried for credentials.
Optional. The username of the user to be queried for credentials.
The default value of this field is CloudOwner@gve.local.
The provided value must be one of the following:
CloudOwner@gve.local,
solution-user-01@gve.local,
solution-user-02@gve.local,
solution-user-03@gve.local,
solution-user-04@gve.local,
solution-user-05@gve.local,
zertoadmin@gve.local.
Returns
Type
Description
string
setUsername
Optional. The username of the user to be queried for credentials.
The default value of this field is CloudOwner@gve.local.
The provided value must be one of the following:
CloudOwner@gve.local,
solution-user-01@gve.local,
solution-user-02@gve.local,
solution-user-03@gve.local,
solution-user-04@gve.local,
solution-user-05@gve.local,
zertoadmin@gve.local.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
privateCloud
string
Required. The resource name of the private cloud
to be queried for credentials.
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
Please see VmwareEngineClient::privateCloudName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Vmware Engine V1 Client - Class ShowVcenterCredentialsRequest (1.1.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.4 (latest)](/php/docs/reference/cloud-vmware-engine/latest/V1.ShowVcenterCredentialsRequest)\n- [1.1.3](/php/docs/reference/cloud-vmware-engine/1.1.3/V1.ShowVcenterCredentialsRequest)\n- [1.0.0](/php/docs/reference/cloud-vmware-engine/1.0.0/V1.ShowVcenterCredentialsRequest)\n- [0.5.6](/php/docs/reference/cloud-vmware-engine/0.5.6/V1.ShowVcenterCredentialsRequest)\n- [0.4.0](/php/docs/reference/cloud-vmware-engine/0.4.0/V1.ShowVcenterCredentialsRequest)\n- [0.3.3](/php/docs/reference/cloud-vmware-engine/0.3.3/V1.ShowVcenterCredentialsRequest)\n- [0.2.1](/php/docs/reference/cloud-vmware-engine/0.2.1/V1.ShowVcenterCredentialsRequest)\n- [0.1.4](/php/docs/reference/cloud-vmware-engine/0.1.4/V1.ShowVcenterCredentialsRequest) \nReference documentation and code samples for the Google Cloud Vmware Engine V1 Client class ShowVcenterCredentialsRequest.\n\nRequest message for\n[VmwareEngine.ShowVcenterCredentials](/php/docs/reference/cloud-vmware-engine/latest/V1.Client.VmwareEngineClient#_Google_Cloud_VmwareEngine_V1_Client_VmwareEngineClient__showVcenterCredentials__)\n\nGenerated from protobuf message `google.cloud.vmwareengine.v1.ShowVcenterCredentialsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VmwareEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPrivateCloud\n\nRequired. The resource name of the private cloud\nto be queried for credentials.\n\nResource names are schemeless URIs that follow the conventions in\n\u003chttps://cloud.google.com/apis/design/resource_names\u003e.\nFor example:\n`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`\n\n### setPrivateCloud\n\nRequired. The resource name of the private cloud\nto be queried for credentials.\n\nResource names are schemeless URIs that follow the conventions in\n\u003chttps://cloud.google.com/apis/design/resource_names\u003e.\nFor example:\n`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`\n\n### getUsername\n\nOptional. The username of the user to be queried for credentials.\n\nThe default value of this field is CloudOwner@gve.local.\nThe provided value must be one of the following:\nCloudOwner@gve.local,\nsolution-user-01@gve.local,\nsolution-user-02@gve.local,\nsolution-user-03@gve.local,\nsolution-user-04@gve.local,\nsolution-user-05@gve.local,\nzertoadmin@gve.local.\n\n### setUsername\n\nOptional. The username of the user to be queried for credentials.\n\nThe default value of this field is CloudOwner@gve.local.\nThe provided value must be one of the following:\nCloudOwner@gve.local,\nsolution-user-01@gve.local,\nsolution-user-02@gve.local,\nsolution-user-03@gve.local,\nsolution-user-04@gve.local,\nsolution-user-05@gve.local,\nzertoadmin@gve.local.\n\n### static::build"]]