Cloud Build V1 API - Class Google::Cloud::Build::V1::SecretManagerSecret (v1.3.0)

Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::SecretManagerSecret.

Pairs a secret environment variable with a SecretVersion in Secret Manager.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#env

def env() -> ::String
Returns
  • (::String) — Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

#env=

def env=(value) -> ::String
Parameter
  • value (::String) — Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
Returns
  • (::String) — Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

#version_name

def version_name() -> ::String
Returns
  • (::String) — Resource name of the SecretVersion. In format: projects//secrets//versions/*

#version_name=

def version_name=(value) -> ::String
Parameter
  • value (::String) — Resource name of the SecretVersion. In format: projects//secrets//versions/*
Returns
  • (::String) — Resource name of the SecretVersion. In format: projects//secrets//versions/*