Class: Google::Apis::CloudassetV1::GoogleCloudAssetV1DeniedAccessAccessTuple

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

Overview

An access tuple contains a tuple of a resource, an identity and an access.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAssetV1DeniedAccessAccessTuple

Returns a new instance of GoogleCloudAssetV1DeniedAccessAccessTuple.



1798
1799
1800
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1798

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

Instance Attribute Details

#accessGoogle::Apis::CloudassetV1::GoogleCloudAssetV1DeniedAccessAccess

An IAM role or permission under analysis. Corresponds to the JSON property access



1786
1787
1788
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1786

def access
  @access
end

#identityGoogle::Apis::CloudassetV1::GoogleCloudAssetV1DeniedAccessIdentity

An identity under analysis. Corresponds to the JSON property identity



1791
1792
1793
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1791

def identity
  @identity
end

#resourceGoogle::Apis::CloudassetV1::GoogleCloudAssetV1DeniedAccessResource

A Google Cloud resource under analysis. Corresponds to the JSON property resource



1796
1797
1798
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1796

def resource
  @resource
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1803
1804
1805
1806
1807
# File 'lib/google/apis/cloudasset_v1/classes.rb', line 1803

def update!(**args)
  @access = args[:access] if args.key?(:access)
  @identity = args[:identity] if args.key?(:identity)
  @resource = args[:resource] if args.key?(:resource)
end