Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListSuspensionsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/integrations_v1/classes.rb,
lib/google/apis/integrations_v1/representations.rb,
lib/google/apis/integrations_v1/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.



9254
9255
9256
# File 'lib/google/apis/integrations_v1/classes.rb', line 9254

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)


9246
9247
9248
# File 'lib/google/apis/integrations_v1/classes.rb', line 9246

def next_page_token
  @next_page_token
end

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

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



9252
9253
9254
# File 'lib/google/apis/integrations_v1/classes.rb', line 9252

def suspensions
  @suspensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9259
9260
9261
9262
# File 'lib/google/apis/integrations_v1/classes.rb', line 9259

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