Secret Manager V1BETA2 API - Class Google::Cloud::SecretManager::V1beta2::AddSecretVersionRequest (v0.2.0)

Reference documentation and code samples for the Secret Manager V1BETA2 API class Google::Cloud::SecretManager::V1beta2::AddSecretVersionRequest.

Request message for SecretManagerService.AddSecretVersion.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#parent

def parent() -> ::String
Returns
  • (::String) — Required. The resource name of the Secret to associate with the SecretVersion in the format projects/*/secrets/* or projects/*/locations/*/secrets/*.

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the Secret to associate with the SecretVersion in the format projects/*/secrets/* or projects/*/locations/*/secrets/*.
Returns
  • (::String) — Required. The resource name of the Secret to associate with the SecretVersion in the format projects/*/secrets/* or projects/*/locations/*/secrets/*.

#payload

def payload() -> ::Google::Cloud::SecretManager::V1beta2::SecretPayload
Returns

#payload=

def payload=(value) -> ::Google::Cloud::SecretManager::V1beta2::SecretPayload
Parameter
Returns