Class: Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1IdentityList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudasset_v1p4beta1/classes.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb,
generated/google/apis/cloudasset_v1p4beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1p4beta1IdentityList

Returns a new instance of GoogleCloudAssetV1p4beta1IdentityList.



457
458
459
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 457

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

Instance Attribute Details

#group_edgesArray<Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Edge>

Group identity edges of the graph starting from the binding's group members to any node of the identities. The Edge.source_node contains a group, such as " group:parent@google.com". The Edge.target_node contains a member of the group, such as "group:child@google.com" or "user:foo@google.com". This field is present only if the output_group_edges option is enabled in request. Corresponds to the JSON property groupEdges



448
449
450
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 448

def group_edges
  @group_edges
end

#identitiesArray<Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1Identity>

Only the identities that match one of the following conditions will be presented: - The identity_selector, if it is specified in request; - Otherwise, identities reachable from the policy binding's members. Corresponds to the JSON property identities



455
456
457
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 455

def identities
  @identities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



462
463
464
465
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 462

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