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

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

Overview

Response for the ListVariables() method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListVariablesResponse

Returns a new instance of ListVariablesResponse.



309
310
311
# File 'lib/google/apis/runtimeconfig_v1beta1/classes.rb', line 309

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)


301
302
303
# File 'lib/google/apis/runtimeconfig_v1beta1/classes.rb', line 301

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



307
308
309
# File 'lib/google/apis/runtimeconfig_v1beta1/classes.rb', line 307

def variables
  @variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



314
315
316
317
# File 'lib/google/apis/runtimeconfig_v1beta1/classes.rb', line 314

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