Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckCitation
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckCitation
- 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
Regulation or policy that serves as the legal basis for the check.
Instance Attribute Summary collapse
-
#type ⇒ String
Citation type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksReportV1alphaCheckCitation
constructor
A new instance of GoogleChecksReportV1alphaCheckCitation.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksReportV1alphaCheckCitation
Returns a new instance of GoogleChecksReportV1alphaCheckCitation.
780 781 782 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 780 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Citation type.
Corresponds to the JSON property type
778 779 780 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 778 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
785 786 787 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 785 def update!(**args) @type = args[:type] if args.key?(:type) end |