Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig

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

Overview

Configurations for approving the Suspension.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig

Returns a new instance of GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig.



8172
8173
8174
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8172

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

Instance Attribute Details

#custom_messageString

Information to provide for recipients. Corresponds to the JSON property customMessage

Returns:

  • (String)


8160
8161
8162
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8160

def custom_message
  @custom_message
end

#email_addressesArray<String>

Email addresses to send approval request to. Corresponds to the JSON property emailAddresses

Returns:

  • (Array<String>)


8165
8166
8167
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8165

def email_addresses
  @email_addresses
end

#expirationGoogle::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration

Expiration configs for the approval request. Corresponds to the JSON property expiration



8170
8171
8172
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8170

def expiration
  @expiration
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8177
8178
8179
8180
8181
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8177

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