Class: Google::Apis::ServicecontrolV2::AuditPamBindingId
- Inherits:
-
Object
- Object
- Google::Apis::ServicecontrolV2::AuditPamBindingId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/servicecontrol_v2/classes.rb,
lib/google/apis/servicecontrol_v2/representations.rb,
lib/google/apis/servicecontrol_v2/representations.rb
Overview
A composite unique identifier for a PAM Grant which is Org/Folder/Project
identifier, grant Unique Identifier tuple.
Instance Attribute Summary collapse
-
#container ⇒ String
Output only.
-
#grant_uuid ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AuditPamBindingId
constructor
A new instance of AuditPamBindingId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AuditPamBindingId
Returns a new instance of AuditPamBindingId.
317 318 319 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 317 def initialize(**args) update!(**args) end |
Instance Attribute Details
#container ⇒ String
Output only. GCP Project/Folder/Organization identifier to which the PAM
entitlement/grant is bound to. Container will be in the following form:
projects/$project_num or folders/$folder_num or organizations/$org
Corresponds to the JSON property container
307 308 309 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 307 def container @container end |
#grant_uuid ⇒ String
Output only. Represents the unique identifier for the PAM grant.
Full_resource_name_pattern for PAM Grant is: //privilegedaccessmanager.
googleapis.com/ (projects|folders|organizations)/$0/locations/$1/entitlements/$
2/ grants/$3 where $3 is the grant_uuid.
Corresponds to the JSON property grantUuid
315 316 317 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 315 def grant_uuid @grant_uuid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
322 323 324 325 |
# File 'lib/google/apis/servicecontrol_v2/classes.rb', line 322 def update!(**args) @container = args[:container] if args.key?(:container) @grant_uuid = args[:grant_uuid] if args.key?(:grant_uuid) end |