Class: Google::Apis::ApphubV1alpha::Scope
- Inherits:
-
Object
- Object
- Google::Apis::ApphubV1alpha::Scope
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apphub_v1alpha/classes.rb,
lib/google/apis/apphub_v1alpha/representations.rb,
lib/google/apis/apphub_v1alpha/representations.rb
Overview
Scope of an application.
Instance Attribute Summary collapse
-
#type ⇒ String
Required.
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.
1602 1603 1604 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1602 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Required. Scope Type.
Corresponds to the JSON property type
1600 1601 1602 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1600 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1607 1608 1609 |
# File 'lib/google/apis/apphub_v1alpha/classes.rb', line 1607 def update!(**args) @type = args[:type] if args.key?(:type) end |