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

Constructor Details

#initialize(**args) ⇒ ListVariablesResponse

Returns a new instance of ListVariablesResponse.



280
281
282
# File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 280

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)


272
273
274
# File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 272

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



278
279
280
# File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 278

def variables
  @variables
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



285
286
287
288
# File 'generated/google/apis/runtimeconfig_v1beta1/classes.rb', line 285

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