Class ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource
The "userWorkloadsSecrets" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudComposer.v1beta1
Assembly: Google.Apis.CloudComposer.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource
Constructors
UserWorkloadsSecretsResource(IClientService)
Constructs a new resource.
Declaration
public UserWorkloadsSecretsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(UserWorkloadsSecret, string)
Creates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
Declaration
public virtual ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.CreateRequest Create(UserWorkloadsSecret body, string parent)
Parameters
Type | Name | Description |
---|---|---|
UserWorkloadsSecret | body | The body of the request. |
string | parent | Required. The environment name to create a Secret for, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.CreateRequest |
Delete(string)
Deletes a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
Declaration
public virtual ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The Secret to delete, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.DeleteRequest |
Get(string)
Gets an existing user workloads Secret. Values of the "data" field in the response are cleared. This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
Declaration
public virtual ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The resource name of the Secret to get, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.GetRequest |
List(string)
Lists user workloads Secrets. This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
Declaration
public virtual ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. List Secrets in the given environment, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.ListRequest |
Update(UserWorkloadsSecret, string)
Updates a user workloads Secret. This method is supported for Cloud Composer environments in versions composer-3..-airflow-..* and newer.
Declaration
public virtual ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.UpdateRequest Update(UserWorkloadsSecret body, string name)
Parameters
Type | Name | Description |
---|---|---|
UserWorkloadsSecret | body | The body of the request. |
string | name | Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.EnvironmentsResource.UserWorkloadsSecretsResource.UpdateRequest |