Google Cloud Config V1 Client - Class GetPreviewRequest (1.1.0)

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

A request to get details about a preview.

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

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 preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

getName

Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

Returns
Type Description
string

setName

Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The name of the preview. Format: 'projects/{project_id}/locations/{location}/previews/{preview}'. Please see ConfigClient::previewName() for help formatting this field.

Returns
Type Description
GetPreviewRequest