Class: Google::Apis::ServicecontrolV1::AuditPamBindingId

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/servicecontrol_v1/classes.rb,
lib/google/apis/servicecontrol_v1/representations.rb,
lib/google/apis/servicecontrol_v1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuditPamBindingId

Returns a new instance of AuditPamBindingId.



346
347
348
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 346

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#containerString

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

Returns:

  • (String)


336
337
338
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 336

def container
  @container
end

#grant_uuidString

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

Returns:

  • (String)


344
345
346
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 344

def grant_uuid
  @grant_uuid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



351
352
353
354
# File 'lib/google/apis/servicecontrol_v1/classes.rb', line 351

def update!(**args)
  @container = args[:container] if args.key?(:container)
  @grant_uuid = args[:grant_uuid] if args.key?(:grant_uuid)
end