Class: Google::Apis::ServicecontrolV1::CheckInfo

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

Contains additional information about the check operation.

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

Returns a new instance of CheckInfo



397
398
399
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 397

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

Instance Attribute Details

#consumer_infoGoogle::Apis::ServicecontrolV1::ConsumerInfo

ConsumerInfo provides information about the consumer project. Corresponds to the JSON property consumerInfo



388
389
390
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 388

def consumer_info
  @consumer_info
end

#unused_argumentsArray<String>

A list of fields and label keys that are ignored by the server. The client doesn't need to send them for following requests to improve performance and allow better aggregation. Corresponds to the JSON property unusedArguments

Returns:

  • (Array<String>)


395
396
397
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 395

def unused_arguments
  @unused_arguments
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



402
403
404
405
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 402

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