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.
3495 3496 3497 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3495 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
3488 3489 3490 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3488 def @iam_permissions end |
#state ⇒ String
Output only. The overall state of the service.
Corresponds to the JSON property state
3493 3494 3495 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3493 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3500 3501 3502 3503 |
# File 'lib/google/apis/workloadmanager_v1/classes.rb', line 3500 def update!(**args) @iam_permissions = args[:iam_permissions] if args.key?(:iam_permissions) @state = args[:state] if args.key?(:state) end |