Class: Google::Apis::CssV1::MethodDetails

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_propString

Output only. The name of the method for example cssproductsservice. listcssproducts. Corresponds to the JSON property method

Returns:

  • (String)


1075
1076
1077
# File 'lib/google/apis/css_v1/classes.rb', line 1075

def method_prop
  @method_prop
end

#pathString

Output only. The path for the method such as v1/cssproductsservice. listcssproducts. Corresponds to the JSON property path

Returns:

  • (String)


1081
1082
1083
# File 'lib/google/apis/css_v1/classes.rb', line 1081

def path
  @path
end

#subapiString

Output only. The sub-API that the method belongs to. In the CSS API, this is always css. Corresponds to the JSON property subapi

Returns:

  • (String)


1087
1088
1089
# File 'lib/google/apis/css_v1/classes.rb', line 1087

def subapi
  @subapi
end

#versionString

Output only. The API version that the method belongs to. Corresponds to the JSON property version

Returns:

  • (String)


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