Google Cloud Telco Automation V1 Client - Class SearchDeploymentRevisionsRequest (0.2.5)

Reference documentation and code samples for the Google Cloud Telco Automation V1 Client class SearchDeploymentRevisionsRequest.

Request object for SearchDeploymentRevisions.

Generated from protobuf message google.cloud.telcoautomation.v1.SearchDeploymentRevisionsRequest

Namespace

Google \ Cloud \ TelcoAutomation \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

↳ query string

Required. Supported queries: 1. "" : Lists all revisions across all deployments. 2. "latest=true" : Lists latest revisions across all deployments. 3. "name={name}" : Lists all revisions of deployment with name {name}. 4. "name={name} latest=true": Lists latest revision of deployment with name {name}

↳ page_size int

Optional. The maximum number of deployment revisions to return per page. max page size = 100, default page size = 20.

↳ page_token string

Optional. The page token, received from a previous search call. It can be provided to retrieve the subsequent page.

getParent

Required. The name of parent orchestration cluster resource.

Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

Returns
Type Description
string

setParent

Required. The name of parent orchestration cluster resource.

Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}".

Parameter
Name Description
var string
Returns
Type Description
$this

getQuery

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.

  2. "latest=true" : Lists latest revisions across all deployments.

  3. "name={name}" : Lists all revisions of deployment with name {name}.
  4. "name={name} latest=true": Lists latest revision of deployment with name {name}
Returns
Type Description
string

setQuery

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.

  2. "latest=true" : Lists latest revisions across all deployments.

  3. "name={name}" : Lists all revisions of deployment with name {name}.
  4. "name={name} latest=true": Lists latest revision of deployment with name {name}
Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of deployment revisions to return per page.

max page size = 100, default page size = 20.

Returns
Type Description
int

setPageSize

Optional. The maximum number of deployment revisions to return per page.

max page size = 100, default page size = 20.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The page token, received from a previous search call.

It can be provided to retrieve the subsequent page.

Returns
Type Description
string

setPageToken

Optional. The page token, received from a previous search call.

It can be provided to retrieve the subsequent page.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The name of parent orchestration cluster resource. Format should be - "projects/{project_id}/locations/{location_name}/orchestrationClusters/{orchestration_cluster}". Please see Google\Cloud\TelcoAutomation\V1\TelcoAutomationClient::orchestrationClusterName() for help formatting this field.

query string

Required. Supported queries:

  1. "" : Lists all revisions across all deployments.
  2. "latest=true" : Lists latest revisions across all deployments.
  3. "name={name}" : Lists all revisions of deployment with name {name}.
  4. "name={name} latest=true": Lists latest revision of deployment with name {name}
Returns
Type Description
Google\Cloud\TelcoAutomation\V1\SearchDeploymentRevisionsRequest