Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBrokersResponse

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

Overview

The response for the ListBrokers() 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) ⇒ GoogleCloudServicebrokerV1beta1ListBrokersResponse

Returns a new instance of GoogleCloudServicebrokerV1beta1ListBrokersResponse



439
440
441
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 439

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

Instance Attribute Details

#brokersArray<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker>

The list of brokers in the container. Corresponds to the JSON property brokers



428
429
430
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 428

def brokers
  @brokers
end

#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)


437
438
439
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 437

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



444
445
446
447
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 444

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