Class: Google::Apis::DiscoveryV1::RestDescription::Auth::Oauth2::Scope
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryV1::RestDescription::Auth::Oauth2::Scope
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/discovery_v1/classes.rb,
lib/google/apis/generator/model.rb,
generated/google/apis/discovery_v1/representations.rb,
generated/google/apis/discovery_v1/representations.rb
Overview
The scope value.
Instance Attribute Summary collapse
-
#constant ⇒ Object
Returns the value of attribute constant.
-
#description ⇒ String
Description of scope.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Scope
constructor
A new instance of Scope.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Scope
Returns a new instance of Scope
629 630 631 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#constant ⇒ Object
Returns the value of attribute constant
176 177 178 |
# File 'lib/google/apis/generator/model.rb', line 176 def constant @constant end |
#description ⇒ String
Description of scope.
Corresponds to the JSON property description
627 628 629 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 627 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
634 635 636 |
# File 'generated/google/apis/discovery_v1/classes.rb', line 634 def update!(**args) @description = args[:description] if args.key?(:description) end |