Class: Google::Apis::ServiceuserV1::ListEnabledServicesResponse

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

Overview

Response message for ListEnabledServices 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) ⇒ ListEnabledServicesResponse

Returns a new instance of ListEnabledServicesResponse



1435
1436
1437
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 1435

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

Instance Attribute Details

#next_page_tokenString

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

Returns:

  • (String)


1433
1434
1435
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 1433

def next_page_token
  @next_page_token
end

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

Services enabled for the specified parent. Corresponds to the JSON property services



1427
1428
1429
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 1427

def services
  @services
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1440
1441
1442
1443
# File 'generated/google/apis/serviceuser_v1/classes.rb', line 1440

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