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

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



1698
1699
1700
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1698

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)


1691
1692
1693
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1691

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



1696
1697
1698
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1696

def quota_info
  @quota_info
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1703
1704
1705
1706
# File 'generated/google/apis/servicecontrol_v1/classes.rb', line 1703

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