Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringPermissionResult

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

Information about a permission that was found in your app.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksReportV1alphaDataMonitoringPermissionResult

Returns a new instance of GoogleChecksReportV1alphaDataMonitoringPermissionResult.



741
742
743
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 741

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

Instance Attribute Details

#metadata ⇒ Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaDataMonitoringResultMetadata

Information about a data monitoring result. Corresponds to the JSON property metadata



734
735
736
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 734

def 
  @metadata
end

#permission ⇒ Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaPermission

Information about a permission. Corresponds to the JSON property permission



739
740
741
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 739

def permission
  @permission
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



746
747
748
749
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 746

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