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

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
NameDescription
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
TypeDescription
string

setParent

Required. The name of parent orchestration cluster resource.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

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

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

Returns
TypeDescription
int

setPageSize

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

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

It can be provided to retrieve the subsequent page.

Returns
TypeDescription
string

setPageToken

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

It can be provided to retrieve the subsequent page.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\TelcoAutomation\V1\SearchDeploymentRevisionsRequest