Class: Google::Apis::IntegrationsV1::GoogleCloudIntegrationsV1alphaSearchTemplatesResponse

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 search templates

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIntegrationsV1alphaSearchTemplatesResponse

Returns a new instance of GoogleCloudIntegrationsV1alphaSearchTemplatesResponse.



10140
10141
10142
# File 'lib/google/apis/integrations_v1/classes.rb', line 10140

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)


10133
10134
10135
# File 'lib/google/apis/integrations_v1/classes.rb', line 10133

def next_page_token
  @next_page_token
end

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

List of templates retrieved. Corresponds to the JSON property templates



10138
10139
10140
# File 'lib/google/apis/integrations_v1/classes.rb', line 10138

def templates
  @templates
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10145
10146
10147
10148
# File 'lib/google/apis/integrations_v1/classes.rb', line 10145

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