Class: Google::Apis::WorkloadmanagerV1::ServiceStates
- Inherits:
-
Object
- Object
- Google::Apis::WorkloadmanagerV1::ServiceStates
- 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 state of the service.
Instance Attribute Summary collapse
-
#iam_permissions ⇒ Array<Google::Apis::WorkloadmanagerV1::IamPermission>
Optional.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServiceStates
constructor
A new instance of ServiceStates.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ServiceStates
Returns a new instance of ServiceStates.
3493 3494 3495 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3493 def initialize(**args) update!(**args) end |
Instance Attribute Details
#iam_permissions ⇒ Array<Google::Apis::WorkloadmanagerV1::IamPermission>
Optional. Output only. The IAM permissions for the service.
Corresponds to the JSON property iamPermissions
3486 3487 3488 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3486 def @iam_permissions end |
#state ⇒ String
Output only. The overall state of the service.
Corresponds to the JSON property state
3491 3492 3493 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3491 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3498 3499 3500 3501 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3498 def update!(**args) @iam_permissions = args[:iam_permissions] if args.key?(:iam_permissions) @state = args[:state] if args.key?(:state) end |