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.



7603
7604
7605
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7603

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)


7595
7596
7597
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7595

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



7601
7602
7603
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7601

def suspensions
  @suspensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7608
7609
7610
7611
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7608

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