Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataTypePermissionEvidence

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

Overview

Evidence based on the inclusion of a permission.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksReportV1alphaDataTypePermissionEvidence

Returns a new instance of GoogleChecksReportV1alphaDataTypePermissionEvidence.



1471
1472
1473
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1471

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

Instance Attribute Details

#permissionGoogle::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission

Information about a permission. Corresponds to the JSON property permission



1469
1470
1471
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1469

def permission
  @permission
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1476
1477
1478
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1476

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