Class: Google::Apis::ServicecontrolV1::ReportInfo

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

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

Returns a new instance of ReportInfo



622
623
624
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 622

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

Instance Attribute Details

#operation_idString

The Operation.operation_id value from the request. Corresponds to the JSON property operationId

Returns:

  • (String)


615
616
617
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 615

def operation_id
  @operation_id
end

#quota_infoGoogle::Apis::ServicecontrolV1::QuotaInfo

Contains the quota information for a quota check response. Corresponds to the JSON property quotaInfo



620
621
622
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 620

def quota_info
  @quota_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



627
628
629
630
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 627

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