Class: Google::Apis::AdminDirectoryV1::Feature
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::Feature
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/admin_directory_v1/classes.rb,
generated/google/apis/admin_directory_v1/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Feature
Returns a new instance of Feature
1482 1483 1484 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1482 def initialize(**args) update!(**args) end |
Instance Attribute Details
#etags ⇒ String
ETag of the resource.
Corresponds to the JSON property etags
1470 1471 1472 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1470 def @etags end |
#kind ⇒ String
Kind of resource this is.
Corresponds to the JSON property kind
1475 1476 1477 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1475 def kind @kind end |
#name ⇒ String
The name of the feature.
Corresponds to the JSON property name
1480 1481 1482 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1480 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1487 1488 1489 1490 1491 |
# File 'generated/google/apis/admin_directory_v1/classes.rb', line 1487 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 |