Class: Google::Apis::SecretmanagerV1::EnableManagedRotationRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/secretmanager_v1/classes.rb,
lib/google/apis/secretmanager_v1/representations.rb,
lib/google/apis/secretmanager_v1/representations.rb

Overview

Request message for SecretManagerService.EnableManagedRotation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ EnableManagedRotationRequest

Returns a new instance of EnableManagedRotationRequest.



432
433
434
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 432

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#cloud_sql_single_user_credentialsGoogle::Apis::SecretmanagerV1::CloudSqlSingleUserCredentials

These are the credentials required for Cloud SQL DB for Single user Managed Rotation. Corresponds to the JSON property cloudSqlSingleUserCredentials



430
431
432
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 430

def cloud_sql_single_user_credentials
  @cloud_sql_single_user_credentials
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



437
438
439
# File 'lib/google/apis/secretmanager_v1/classes.rb', line 437

def update!(**args)
  @cloud_sql_single_user_credentials = args[:cloud_sql_single_user_credentials] if args.key?(:cloud_sql_single_user_credentials)
end