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:
- lib/google/apis/discovery_v1/classes.rb,
lib/google/apis/discovery_v1/representations.rb,
lib/google/apis/discovery_v1/representations.rb
Overview
The scope value.
Instance Attribute Summary collapse
-
#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.
Constructor Details
#initialize(**args) ⇒ Scope
Returns a new instance of Scope.
650 651 652 |
# File 'lib/google/apis/discovery_v1/classes.rb', line 650 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description of scope.
Corresponds to the JSON property description
648 649 650 |
# File 'lib/google/apis/discovery_v1/classes.rb', line 648 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
655 656 657 |
# File 'lib/google/apis/discovery_v1/classes.rb', line 655 def update!(**args) @description = args[:description] if args.key?(:description) end |