Class: Google::Apis::AdminDirectoryV1::Feature
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Feature
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admin_directory_v1/classes.rb,
lib/google/apis/admin_directory_v1/representations.rb,
lib/google/apis/admin_directory_v1/representations.rb
Overview
JSON template for Feature object in Directory API.
Instance Attribute Summary collapse
-
#etags ⇒ String
ETag of the resource.
-
#kind ⇒ String
Kind of resource this is.
-
#name ⇒ String
The name of the feature.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Feature
constructor
A new instance of Feature.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Feature
Returns a new instance of Feature.
1972 1973 1974 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1972 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etags ⇒ String
ETag of the resource.
Corresponds to the JSON property etags
1960 1961 1962 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1960 def @etags end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
1965 1966 1967 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1965 def kind @kind end |
#name ⇒ String
The name of the feature.
Corresponds to the JSON property name
1970 1971 1972 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1970 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1977 1978 1979 1980 1981 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 1977 def update!(**args) @etags = args[:etags] if args.key?(:etags) @kind = args[:kind] if args.key?(:kind) @name = args[:name] if args.key?(:name) end |