Class: Google::Apis::ServiceusageV1::SearchServicesResponse

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

Overview

Response message for SearchServices.

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) ⇒ SearchServicesResponse

Returns a new instance of SearchServicesResponse



3348
3349
3350
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 3348

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

Instance Attribute Details

#next_page_tokenString

Token that can be passed to SearchServices to resume a paginated query. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


3340
3341
3342
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 3340

def next_page_token
  @next_page_token
end

#servicesArray<Google::Apis::ServiceusageV1::PublishedService>

The state of services available publicly or available to the authenticated caller. Corresponds to the JSON property services



3346
3347
3348
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 3346

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3353
3354
3355
3356
# File 'generated/google/apis/serviceusage_v1/classes.rb', line 3353

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