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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1p4beta1IdentityList

Returns a new instance of GoogleCloudAssetV1p4beta1IdentityList.



493
494
495
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 493

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



483
484
485
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 483

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


491
492
493
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 491

def identities
  @identities
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



498
499
500
501
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 498

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