Class: Google::Apis::MerchantapiQuotaV1beta::MethodDetails
- Inherits:
-
Object
- Object
- Google::Apis::MerchantapiQuotaV1beta::MethodDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/merchantapi_quota_v1beta/classes.rb,
lib/google/apis/merchantapi_quota_v1beta/representations.rb,
lib/google/apis/merchantapi_quota_v1beta/representations.rb
Overview
The method details per method in the Merchant API.
Instance Attribute Summary collapse
-
#method_prop ⇒ String
Output only.
-
#path ⇒ String
Output only.
-
#subapi ⇒ String
Output only.
-
#version ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MethodDetails
constructor
A new instance of MethodDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MethodDetails
Returns a new instance of MethodDetails.
77 78 79 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 77 def initialize(**args) update!(**args) end |
Instance Attribute Details
#method_prop ⇒ String
Output only. The name of the method for example products.list
.
Corresponds to the JSON property method
60 61 62 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 60 def method_prop @method_prop end |
#path ⇒ String
Output only. The path for the method such as products/v1/productInputs.insert
Corresponds to the JSON property path
65 66 67 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 65 def path @path end |
#subapi ⇒ String
Output only. The sub-API that the method belongs to.
Corresponds to the JSON property subapi
70 71 72 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 70 def subapi @subapi end |
#version ⇒ String
Output only. The API version that the method belongs to.
Corresponds to the JSON property version
75 76 77 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 75 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
82 83 84 85 86 87 |
# File 'lib/google/apis/merchantapi_quota_v1beta/classes.rb', line 82 def update!(**args) @method_prop = args[:method_prop] if args.key?(:method_prop) @path = args[:path] if args.key?(:path) @subapi = args[:subapi] if args.key?(:subapi) @version = args[:version] if args.key?(:version) end |