Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaListTemplatesResponse

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 a request to list templates

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaListTemplatesResponse

Returns a new instance of GoogleCloudIntegrationsV1alphaListTemplatesResponse.



9279
9280
9281
# File 'lib/google/apis/integrations_v1/classes.rb', line 9279

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

Instance Attribute Details

#next_page_tokenString

The token used to retrieve the next page results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


9272
9273
9274
# File 'lib/google/apis/integrations_v1/classes.rb', line 9272

def next_page_token
  @next_page_token
end

#templatesArray<Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaTemplate>

List of templates retrieved. Corresponds to the JSON property templates



9277
9278
9279
# File 'lib/google/apis/integrations_v1/classes.rb', line 9277

def templates
  @templates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9284
9285
9286
9287
# File 'lib/google/apis/integrations_v1/classes.rb', line 9284

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