Class: Google::Apis::IamV1::WorkloadIdentityPool
- Inherits:
-
Object
- Object
- Google::Apis::IamV1::WorkloadIdentityPool
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/iam_v1/classes.rb,
lib/google/apis/iam_v1/representations.rb,
lib/google/apis/iam_v1/representations.rb
Overview
Represents a collection of workload identities. You can define IAM policies to grant these identities access to Google Cloud resources.
Instance Attribute Summary collapse
-
#description ⇒ String
A description of the pool.
-
#disabled ⇒ Boolean
(also: #disabled?)
Whether the pool is disabled.
-
#display_name ⇒ String
A display name for the pool.
-
#expire_time ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkloadIdentityPool
constructor
A new instance of WorkloadIdentityPool.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkloadIdentityPool
Returns a new instance of WorkloadIdentityPool.
3188 3189 3190 |
# File 'lib/google/apis/iam_v1/classes.rb', line 3188 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
A description of the pool. Cannot exceed 256 characters.
Corresponds to the JSON property description
3157 3158 3159 |
# File 'lib/google/apis/iam_v1/classes.rb', line 3157 def description @description end |
#disabled ⇒ Boolean Also known as: disabled?
Whether the pool is disabled. You cannot use a disabled pool to exchange
tokens, or use existing tokens to access resources. If the pool is re-enabled,
existing tokens grant access again.
Corresponds to the JSON property disabled
3164 3165 3166 |
# File 'lib/google/apis/iam_v1/classes.rb', line 3164 def disabled @disabled end |
#display_name ⇒ String
A display name for the pool. Cannot exceed 32 characters.
Corresponds to the JSON property displayName
3170 3171 3172 |
# File 'lib/google/apis/iam_v1/classes.rb', line 3170 def display_name @display_name end |
#expire_time ⇒ String
Output only. Time after which the workload identity pool will be permanently
purged and cannot be recovered.
Corresponds to the JSON property expireTime
3176 3177 3178 |
# File 'lib/google/apis/iam_v1/classes.rb', line 3176 def expire_time @expire_time end |
#name ⇒ String
Output only. The resource name of the pool.
Corresponds to the JSON property name
3181 3182 3183 |
# File 'lib/google/apis/iam_v1/classes.rb', line 3181 def name @name end |
#state ⇒ String
Output only. The state of the pool.
Corresponds to the JSON property state
3186 3187 3188 |
# File 'lib/google/apis/iam_v1/classes.rb', line 3186 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3193 3194 3195 3196 3197 3198 3199 3200 |
# File 'lib/google/apis/iam_v1/classes.rb', line 3193 def update!(**args) @description = args[:description] if args.key?(:description) @disabled = args[:disabled] if args.key?(:disabled) @display_name = args[:display_name] if args.key?(:display_name) @expire_time = args[:expire_time] if args.key?(:expire_time) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |