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

Overview

Contains additional info about the report operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ReportInfo

Returns a new instance of ReportInfo.



1783
1784
1785
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1783

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)


1776
1777
1778
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1776

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



1781
1782
1783
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1781

def quota_info
  @quota_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1788
1789
1790
1791
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1788

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