Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
- 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
-
#custom_message ⇒ String
Information to provide for recipients.
-
#email_addresses ⇒ Array<String>
Email addresses to send approval request to.
-
#expiration ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
Expiration configs for the approval request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
constructor
A new instance of GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig
Returns a new instance of GoogleCloudIntegrationsV1alphaSuspensionApprovalConfig.
8419 8420 8421 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8419 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_message ⇒ String
Information to provide for recipients.
Corresponds to the JSON property customMessage
8407 8408 8409 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8407 def @custom_message end |
#email_addresses ⇒ Array<String>
Email addresses to send approval request to.
Corresponds to the JSON property emailAddresses
8412 8413 8414 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8412 def email_addresses @email_addresses end |
#expiration ⇒ Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspensionApprovalExpiration
Expiration configs for the approval request.
Corresponds to the JSON property expiration
8417 8418 8419 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8417 def expiration @expiration end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8424 8425 8426 8427 8428 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 8424 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 |