Class: Google::Apis::ServicecontrolV1::CheckRequest
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV1::CheckRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/servicecontrol_v1/classes.rb,
generated/google/apis/servicecontrol_v1/representations.rb,
generated/google/apis/servicecontrol_v1/representations.rb
Overview
Request message for the Check method.
Instance Attribute Summary collapse
-
#operation ⇒ Google::Apis::ServicecontrolV1::Operation
Represents information regarding an operation.
-
#request_project_settings ⇒ Boolean
(also: #request_project_settings?)
Requests the project settings to be returned as part of the check response.
-
#service_config_id ⇒ String
Specifies which version of service configuration should be used to process the request.
-
#skip_activation_check ⇒ Boolean
(also: #skip_activation_check?)
Indicates if service activation check should be skipped for this request.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CheckRequest
constructor
A new instance of CheckRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CheckRequest
Returns a new instance of CheckRequest
556 557 558 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 556 def initialize(**args) update!(**args) end |
Instance Attribute Details
#operation ⇒ Google::Apis::ServicecontrolV1::Operation
Represents information regarding an operation.
Corresponds to the JSON property operation
532 533 534 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 532 def operation @operation end |
#request_project_settings ⇒ Boolean Also known as: request_project_settings?
Requests the project settings to be returned as part of the check response.
Corresponds to the JSON property requestProjectSettings
537 538 539 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 537 def request_project_settings @request_project_settings end |
#service_config_id ⇒ String
Specifies which version of service configuration should be used to process
the request.
If unspecified or no matching version can be found, the
latest one will be used.
Corresponds to the JSON property serviceConfigId
546 547 548 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 546 def service_config_id @service_config_id end |
#skip_activation_check ⇒ Boolean Also known as: skip_activation_check?
Indicates if service activation check should be skipped for this request.
Default behavior is to perform the check and apply relevant quota.
WARNING: Setting this flag to "true" will disable quota enforcement.
Corresponds to the JSON property skipActivationCheck
553 554 555 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 553 def skip_activation_check @skip_activation_check end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
561 562 563 564 565 566 |
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 561 def update!(**args) @operation = args[:operation] if args.key?(:operation) @request_project_settings = args[:request_project_settings] if args.key?(:request_project_settings) @service_config_id = args[:service_config_id] if args.key?(:service_config_id) @skip_activation_check = args[:skip_activation_check] if args.key?(:skip_activation_check) end |