Cloud Composer v1 API - Class UserWorkloadsSecret (2.5.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
NameDescription
otherUserWorkloadsSecret

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

UserWorkloadsSecretName

public UserWorkloadsSecretName UserWorkloadsSecretName { get; set; }

UserWorkloadsSecretName-typed view over the Name resource name property.

Property Value
TypeDescription
UserWorkloadsSecretName