Google Cloud Workload Identity V1 Client - Class GenerateServiceAgentsRequest (0.1.3)

Reference documentation and code samples for the Google Cloud Workload Identity V1 Client class GenerateServiceAgentsRequest.

Message for creating all ServiceAgents for a ServiceProducer in a project and location.

Generated from protobuf message google.cloud.workloadidentity.v1.GenerateServiceAgentsRequest

Namespace

Google \ Cloud \ WorkloadIdentity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource. The location for the parent resource must be global. Examples: - projects/1234/locations/global/serviceProducers/bigquery.googleapis.com - folders/2344/locations/global/serviceProducers/vertexai.googleapis.com - organizations/3344/locations/global/serviceProducers/iam.googleapis.com

getParent

Required. The parent resource. The location for the parent resource must be global.

Examples:

  • projects/1234/locations/global/serviceProducers/bigquery.googleapis.com
  • folders/2344/locations/global/serviceProducers/vertexai.googleapis.com
  • organizations/3344/locations/global/serviceProducers/iam.googleapis.com
Returns
Type Description
string

setParent

Required. The parent resource. The location for the parent resource must be global.

Examples:

  • projects/1234/locations/global/serviceProducers/bigquery.googleapis.com
  • folders/2344/locations/global/serviceProducers/vertexai.googleapis.com
  • organizations/3344/locations/global/serviceProducers/iam.googleapis.com
Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent resource. The location for the parent resource must be global.

Examples:

  • projects/1234/locations/global/serviceProducers/bigquery.googleapis.com
  • folders/2344/locations/global/serviceProducers/vertexai.googleapis.com
  • organizations/3344/locations/global/serviceProducers/iam.googleapis.com Please see WorkloadIdentityClient::serviceProducerName() for help formatting this field.
Returns
Type Description
GenerateServiceAgentsRequest