Class: Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaListSuspensionsResponse

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

Response for Suspensions.ListSuspensions.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaListSuspensionsResponse

Returns a new instance of GoogleCloudIntegrationsV1alphaListSuspensionsResponse.



7509
7510
7511
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7509

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

Instance Attribute Details

#next_page_tokenString

Token to retrieve the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


7501
7502
7503
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7501

def next_page_token
  @next_page_token
end

#suspensionsArray<Google::Apis::IntegrationsV1alpha::GoogleCloudIntegrationsV1alphaSuspension>

The suspensions for the relevant execution which the caller has permissions to view and resolve. Corresponds to the JSON property suspensions



7507
7508
7509
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7507

def suspensions
  @suspensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7514
7515
7516
7517
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7514

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