Class: Google::Apis::ParametermanagerV1::ResourcePolicyMember
- Inherits:
-
Object
- Object
- Google::Apis::ParametermanagerV1::ResourcePolicyMember
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/parametermanager_v1/classes.rb,
lib/google/apis/parametermanager_v1/representations.rb,
lib/google/apis/parametermanager_v1/representations.rb
Overview
Output-only policy member strings of a Google Cloud resource's built-in identity.
Instance Attribute Summary collapse
-
#iam_policy_name_principal ⇒ String
Output only.
-
#iam_policy_uid_principal ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResourcePolicyMember
constructor
A new instance of ResourcePolicyMember.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResourcePolicyMember
Returns a new instance of ResourcePolicyMember.
372 373 374 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 372 def initialize(**args) update!(**args) end |
Instance Attribute Details
#iam_policy_name_principal ⇒ String
Output only. IAM policy binding member referring to a Google Cloud resource by
user-assigned name (https://google.aip.dev/122). If a resource is deleted and
recreated with the same name, the binding will be applicable to the new
resource. Example: principal://parametermanager.googleapis.com/projects/12345/
name/locations/us-central1-a/parameters/my-parameter
Corresponds to the JSON property iamPolicyNamePrincipal
361 362 363 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 361 def iam_policy_name_principal @iam_policy_name_principal end |
#iam_policy_uid_principal ⇒ String
Output only. IAM policy binding member referring to a Google Cloud resource by
system-assigned unique identifier (https://google.aip.dev/148#uid). If a
resource is deleted and recreated with the same name, the binding will not be
applicable to the new resource Example: principal://parametermanager.
googleapis.com/projects/12345/uid/locations/us-central1-a/parameters/a918fed5
Corresponds to the JSON property iamPolicyUidPrincipal
370 371 372 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 370 def iam_policy_uid_principal @iam_policy_uid_principal end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
377 378 379 380 |
# File 'lib/google/apis/parametermanager_v1/classes.rb', line 377 def update!(**args) @iam_policy_name_principal = args[:iam_policy_name_principal] if args.key?(:iam_policy_name_principal) @iam_policy_uid_principal = args[:iam_policy_uid_principal] if args.key?(:iam_policy_uid_principal) end |