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.



7281
7282
7283
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7281

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)


7273
7274
7275
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7273

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



7279
7280
7281
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7279

def suspensions
  @suspensions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7286
7287
7288
7289
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 7286

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