Class: Google::Apis::CssV1::MethodDetails
- Inherits:
-
Object
- Object
- Google::Apis::CssV1::MethodDetails
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/css_v1/classes.rb,
lib/google/apis/css_v1/representations.rb,
lib/google/apis/css_v1/representations.rb
Overview
The method details per method in the CSS 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.
1094 1095 1096 |
# File 'lib/google/apis/css_v1/classes.rb', line 1094 def initialize(**args) update!(**args) end |
Instance Attribute Details
#method_prop ⇒ String
Output only. The name of the method for example cssproductsservice.
listcssproducts.
Corresponds to the JSON property method
1075 1076 1077 |
# File 'lib/google/apis/css_v1/classes.rb', line 1075 def method_prop @method_prop end |
#path ⇒ String
Output only. The path for the method such as v1/cssproductsservice.
listcssproducts.
Corresponds to the JSON property path
1081 1082 1083 |
# File 'lib/google/apis/css_v1/classes.rb', line 1081 def path @path end |
#subapi ⇒ String
Output only. The sub-API that the method belongs to. In the CSS API, this is
always css.
Corresponds to the JSON property subapi
1087 1088 1089 |
# File 'lib/google/apis/css_v1/classes.rb', line 1087 def subapi @subapi end |
#version ⇒ String
Output only. The API version that the method belongs to.
Corresponds to the JSON property version
1092 1093 1094 |
# File 'lib/google/apis/css_v1/classes.rb', line 1092 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1099 1100 1101 1102 1103 1104 |
# File 'lib/google/apis/css_v1/classes.rb', line 1099 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 |