Class: Google::Apis::CloudassetV1p4beta1::IamPolicyAnalysisResult

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

Overview

IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.

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) ⇒ IamPolicyAnalysisResult

Returns a new instance of IamPolicyAnalysisResult.


633
634
635
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 633

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

Instance Attribute Details

#access_control_listsArray<Google::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1AccessControlList>

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request. Corresponds to the JSON property accessControlLists


608
609
610
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 608

def access_control_lists
  @access_control_lists
end

#attached_resource_full_nameString

The full resource name of the resource to which the iam_binding policy attaches. Corresponds to the JSON property attachedResourceFullName

Returns:

  • (String)

614
615
616
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 614

def attached_resource_full_name
  @attached_resource_full_name
end

#fully_exploredBoolean Also known as: fully_explored?

Represents whether all analyses on the iam_binding have successfully finished. Corresponds to the JSON property fullyExplored

Returns:

  • (Boolean)

619
620
621
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 619

def fully_explored
  @fully_explored
end

#iam_bindingGoogle::Apis::CloudassetV1p4beta1::Binding

Associates members with a role. Corresponds to the JSON property iamBinding


625
626
627
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 625

def iam_binding
  @iam_binding
end

#identity_listGoogle::Apis::CloudassetV1p4beta1::GoogleCloudAssetV1p4beta1IdentityList

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request. Corresponds to the JSON property identityList


631
632
633
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 631

def identity_list
  @identity_list
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


638
639
640
641
642
643
644
# File 'generated/google/apis/cloudasset_v1p4beta1/classes.rb', line 638

def update!(**args)
  @access_control_lists = args[:access_control_lists] if args.key?(:access_control_lists)
  @attached_resource_full_name = args[:attached_resource_full_name] if args.key?(:attached_resource_full_name)
  @fully_explored = args[:fully_explored] if args.key?(:fully_explored)
  @iam_binding = args[:iam_binding] if args.key?(:iam_binding)
  @identity_list = args[:identity_list] if args.key?(:identity_list)
end