Class: Google::Apis::RuntimeconfigV1beta1::ListVariablesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/runtimeconfig_v1beta1/classes.rb,
generated/google/apis/runtimeconfig_v1beta1/representations.rb,
generated/google/apis/runtimeconfig_v1beta1/representations.rb

Overview

Response for the ListVariables() method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListVariablesResponse

Returns a new instance of ListVariablesResponse



256
257
258
# File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 256

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

Instance Attribute Details

#next_page_tokenString

This token allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results Corresponds to the JSON property nextPageToken

Returns:

  • (String)


248
249
250
# File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 248

def next_page_token
  @next_page_token
end

#variablesArray<Google::Apis::RuntimeconfigV1beta1::Variable>

A list of variables and their values. The order of returned variable objects is arbitrary. Corresponds to the JSON property variables



254
255
256
# File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 254

def variables
  @variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



261
262
263
264
# File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 261

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