Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckCitation

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

Regulation or policy that serves as the legal basis for the check.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChecksReportV1alphaCheckCitation

Returns a new instance of GoogleChecksReportV1alphaCheckCitation.



367
368
369
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 367

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

Instance Attribute Details

#typeString

Citation type. Corresponds to the JSON property type

Returns:

  • (String)


365
366
367
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 365

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



372
373
374
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 372

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