Class: Google::Apis::CloudcontrolspartnerV1::ListCustomersResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudcontrolspartner_v1/classes.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb,
lib/google/apis/cloudcontrolspartner_v1/representations.rb

Overview

Response message for list customer Customers requests

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListCustomersResponse

Returns a new instance of ListCustomersResponse.



435
436
437
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 435

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

Instance Attribute Details

#customersArray<Google::Apis::CloudcontrolspartnerV1::Customer>

List of customers Corresponds to the JSON property customers



422
423
424
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 422

def customers
  @customers
end

#next_page_tokenString

A token that can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


428
429
430
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 428

def next_page_token
  @next_page_token
end

#unreachableArray<String>

Locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


433
434
435
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 433

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



440
441
442
443
444
# File 'lib/google/apis/cloudcontrolspartner_v1/classes.rb', line 440

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