Class: Google::Apis::ServiceusageV1::BatchEnableServicesResponse
- Inherits:
-
Object
- Object
- Google::Apis::ServiceusageV1::BatchEnableServicesResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/serviceusage_v1/classes.rb,
lib/google/apis/serviceusage_v1/representations.rb,
lib/google/apis/serviceusage_v1/representations.rb
Overview
Response message for the BatchEnableServices
method. This response message
is assigned to the response
field of the returned Operation when that
operation is done.
Instance Attribute Summary collapse
-
#failures ⇒ Array<Google::Apis::ServiceusageV1::EnableFailure>
If allow_partial_success is true, and one or more services could not be enabled, this field contains the details about each failure.
-
#services ⇒ Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service>
The new state of the services after enabling.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BatchEnableServicesResponse
constructor
A new instance of BatchEnableServicesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BatchEnableServicesResponse
Returns a new instance of BatchEnableServicesResponse.
699 700 701 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 699 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failures ⇒ Array<Google::Apis::ServiceusageV1::EnableFailure>
If allow_partial_success is true, and one or more services could not be
enabled, this field contains the details about each failure.
Corresponds to the JSON property failures
692 693 694 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 692 def failures @failures end |
#services ⇒ Array<Google::Apis::ServiceusageV1::GoogleApiServiceusageV1Service>
The new state of the services after enabling.
Corresponds to the JSON property services
697 698 699 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 697 def services @services end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
704 705 706 707 |
# File 'lib/google/apis/serviceusage_v1/classes.rb', line 704 def update!(**args) @failures = args[:failures] if args.key?(:failures) @services = args[:services] if args.key?(:services) end |