Class: Google::Apis::ServicecontrolV1::CheckRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CheckRequest

Returns a new instance of CheckRequest



545
546
547
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 545

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

Instance Attribute Details

#operationGoogle::Apis::ServicecontrolV1::Operation

Represents information regarding an operation. Corresponds to the JSON property operation



522
523
524
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 522

def operation
  @operation
end

#request_project_settingsBoolean 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

Returns:

  • (Boolean)


527
528
529
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 527

def request_project_settings
  @request_project_settings
end

#service_config_idString

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

Returns:

  • (String)


536
537
538
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 536

def service_config_id
  @service_config_id
end

#skip_activation_checkBoolean 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. Corresponds to the JSON property skipActivationCheck

Returns:

  • (Boolean)


542
543
544
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 542

def skip_activation_check
  @skip_activation_check
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



550
551
552
553
554
555
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 550

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