Class: Google::Apis::AdminDirectoryV1::FeatureInstance
- Inherits:
-
Object
- Object
- Google::Apis::AdminDirectoryV1::FeatureInstance
- 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 a feature instance.
Instance Attribute Summary collapse
-
#feature ⇒ Google::Apis::AdminDirectoryV1::Feature
JSON template for Feature object in Directory API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FeatureInstance
constructor
A new instance of FeatureInstance.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FeatureInstance
Returns a new instance of FeatureInstance.
2528 2529 2530 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2528 def initialize(**args) update!(**args) end |
Instance Attribute Details
#feature ⇒ Google::Apis::AdminDirectoryV1::Feature
JSON template for Feature object in Directory API.
Corresponds to the JSON property feature
2526 2527 2528 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2526 def feature @feature end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2533 2534 2535 |
# File 'lib/google/apis/admin_directory_v1/classes.rb', line 2533 def update!(**args) @feature = args[:feature] if args.key?(:feature) end |