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.



284
285
286
# File 'lib/google/apis/runtimeconfig_v1beta1/classes.rb', line 284

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)


276
277
278
# File 'lib/google/apis/runtimeconfig_v1beta1/classes.rb', line 276

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



282
283
284
# File 'lib/google/apis/runtimeconfig_v1beta1/classes.rb', line 282

def variables
  @variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



289
290
291
292
# File 'lib/google/apis/runtimeconfig_v1beta1/classes.rb', line 289

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