Class: Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1ListBindingsResponse

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

Overview

The response for the ListBindings() 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) ⇒ GoogleCloudServicebrokerV1alpha1ListBindingsResponse

Returns a new instance of GoogleCloudServicebrokerV1alpha1ListBindingsResponse



330
331
332
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 330

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

Instance Attribute Details

#bindingsArray<Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Binding>

The list of the bindings in the instance. Corresponds to the JSON property bindings



311
312
313
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 311

def bindings
  @bindings
end

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


319
320
321
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 319

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)


328
329
330
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 328

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



335
336
337
338
339
# File 'generated/google/apis/servicebroker_v1alpha1/classes.rb', line 335

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