Cloud Composer v1 API - Class UserWorkloadsSecret (2.9.0)

public sealed class UserWorkloadsSecret : IMessage<UserWorkloadsSecret>, IEquatable<UserWorkloadsSecret>, IDeepCloneable<UserWorkloadsSecret>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Composer v1 API class UserWorkloadsSecret.

User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.

Inheritance

object > UserWorkloadsSecret

Namespace

Google.Cloud.Orchestration.Airflow.Service.V1

Assembly

Google.Cloud.Orchestration.Airflow.Service.V1.dll

Constructors

UserWorkloadsSecret()

public UserWorkloadsSecret()

UserWorkloadsSecret(UserWorkloadsSecret)

public UserWorkloadsSecret(UserWorkloadsSecret other)
Parameter
Name Description
other UserWorkloadsSecret

Properties

Data

public MapField<string, string> Data { get; }

Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"

Property Value
Type Description
string

UserWorkloadsSecretName

public UserWorkloadsSecretName UserWorkloadsSecretName { get; set; }

UserWorkloadsSecretName-typed view over the Name resource name property.

Property Value
Type Description
UserWorkloadsSecretName