Reference documentation and code samples for the Cloud Composer V1 API class Google::Cloud::Orchestration::Airflow::Service::V1::UserWorkloadsSecret.
User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#data
def data() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::Map{::String => ::String}) — 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/
Example:
{ "example": "ZXhhbXBsZV92YWx1ZQ==", "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" }
#data=
def data=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::Map{::String => ::String}) — 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/
Example:
{ "example": "ZXhhbXBsZV92YWx1ZQ==", "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" }
-
(::Google::Protobuf::Map{::String => ::String}) — 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/
Example:
{ "example": "ZXhhbXBsZV92YWx1ZQ==", "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" }
#name
def name() -> ::String
- (::String) — Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"
#name=
def name=(value) -> ::String
- value (::String) — Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"
- (::String) — Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"