Google Cloud Config V1 Client - Class GetResourceDriftRequest (1.4.0)

Reference documentation and code samples for the Google Cloud Config V1 Client class GetResourceDriftRequest.

The request message for the GetResourceDrift method.

Generated from protobuf message google.cloud.config.v1.GetResourceDriftRequest

Namespace

Google \ Cloud \ Config \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.

getName

Required. The name of the resource drift to retrieve.

Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.

Returns
Type
Description
string

setName

Required. The name of the resource drift to retrieve.

Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

static::build

Parameter
Name
Description
name
string

Required. The name of the resource drift to retrieve. Format: 'projects/{project_id}/locations/{location}/previews/{preview}/resourceDrifts/{resource_drift}'. Please see ConfigClient::resourceDriftName() for help formatting this field.

Returns
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: