Google Cloud Orchestration Airflow V1 Client - Class CreateUserWorkloadsSecretRequest (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class CreateUserWorkloadsSecretRequest.

Create user workloads Secret request.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.CreateUserWorkloadsSecretRequest

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The environment name to create a Secret for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

↳ user_workloads_secret Google\Cloud\Orchestration\Airflow\Service\V1\UserWorkloadsSecret

Required. User workloads Secret to create.

getParent

Required. The environment name to create a Secret for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

Returns
Type Description
string

setParent

Required. The environment name to create a Secret for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}"

Parameter
Name Description
var string
Returns
Type Description
$this

getUserWorkloadsSecret

Required. User workloads Secret to create.

Returns
Type Description
Google\Cloud\Orchestration\Airflow\Service\V1\UserWorkloadsSecret|null

hasUserWorkloadsSecret

clearUserWorkloadsSecret

setUserWorkloadsSecret

Required. User workloads Secret to create.

Parameter
Name Description
var Google\Cloud\Orchestration\Airflow\Service\V1\UserWorkloadsSecret
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The environment name to create a Secret for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" Please see Google\Cloud\Orchestration\Airflow\Service\V1\EnvironmentsClient::environmentName() for help formatting this field.

userWorkloadsSecret Google\Cloud\Orchestration\Airflow\Service\V1\UserWorkloadsSecret

Required. User workloads Secret to create.

Returns
Type Description
Google\Cloud\Orchestration\Airflow\Service\V1\CreateUserWorkloadsSecretRequest