Secret Manager V1 API - Class Google::Cloud::SecretManager::V1::AddSecretVersionRequest (v0.16.0)

Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::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/*.

#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/*.
Returns
  • (::String) — Required. The resource name of the Secret to associate with the SecretVersion in the format projects/*/secrets/*.

#payload

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

#payload=

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