Class: Google::Apis::WorkloadmanagerV1::Layer
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::Layer
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workloadmanager_v1/classes.rb,
lib/google/apis/workloadmanager_v1/representations.rb,
lib/google/apis/workloadmanager_v1/representations.rb
Overview
The database layer
Instance Attribute Summary collapse
-
#application_type ⇒ String
the application layer Corresponds to the JSON property
applicationType. -
#database_type ⇒ String
Optional.
-
#instances ⇒ Array<Google::Apis::WorkloadmanagerV1::Instance>
Optional.
-
#sid ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Layer
constructor
A new instance of Layer.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Layer
Returns a new instance of Layer.
628 629 630 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 628 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_type ⇒ String
the application layer
Corresponds to the JSON property applicationType
611 612 613 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 611 def application_type @application_type end |
#database_type ⇒ String
Optional. the database layer
Corresponds to the JSON property databaseType
616 617 618 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 616 def database_type @database_type end |
#instances ⇒ Array<Google::Apis::WorkloadmanagerV1::Instance>
Optional. instances in a layer
Corresponds to the JSON property instances
621 622 623 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 621 def instances @instances end |
#sid ⇒ String
Output only. system identification of a layer
Corresponds to the JSON property sid
626 627 628 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 626 def sid @sid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
633 634 635 636 637 638 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 633 def update!(**args) @application_type = args[:application_type] if args.key?(:application_type) @database_type = args[:database_type] if args.key?(:database_type) @instances = args[:instances] if args.key?(:instances) @sid = args[:sid] if args.key?(:sid) end |