Class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListCatalogResponse

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

Response message for the ListCatalog() 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) ⇒ GoogleCloudServicebrokerV1beta1ListCatalogResponse

Returns a new instance of GoogleCloudServicebrokerV1beta1ListCatalogResponse



476
477
478
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 476

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

Instance Attribute Details

#descriptionString

Used to communicate description of the response. Usually for non-standard error codes. https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md# service-broker-errors Corresponds to the JSON property description

Returns:

  • (String)


460
461
462
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 460

def description
  @description
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)


469
470
471
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 469

def next_page_token
  @next_page_token
end

#servicesArray<Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Service>

The services available for the requested GCP project. Corresponds to the JSON property services



474
475
476
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 474

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



481
482
483
484
485
# File 'generated/google/apis/servicebroker_v1beta1/classes.rb', line 481

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