Class: Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyResponse

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

The response proto for AnalyzePrivacyPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyzePrivacyPolicyResponse

Returns a new instance of AnalyzePrivacyPolicyResponse.



81
82
83
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 81

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

Instance Attribute Details

#data_purpose_annotationsArray<Google::Apis::ChecksV1alpha::PolicyPurposeOfUseAnnotation>

List of all data types in the privacy policy. Corresponds to the JSON property dataPurposeAnnotations



59
60
61
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 59

def data_purpose_annotations
  @data_purpose_annotations
end

#data_type_annotationsArray<Google::Apis::ChecksV1alpha::PolicyDataTypeAnnotation>

List of all data types in the privacy policy. Corresponds to the JSON property dataTypeAnnotations



64
65
66
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 64

def data_type_annotations
  @data_type_annotations
end

#html_contentString

HTML content for the privacy policy page. Corresponds to the JSON property htmlContent

Returns:

  • (String)


69
70
71
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 69

def html_content
  @html_content
end

#last_updated_date_infoGoogle::Apis::ChecksV1alpha::LastUpdatedDate

Information about the date when the privacy policy was last updated. Corresponds to the JSON property lastUpdatedDateInfo



74
75
76
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 74

def last_updated_date_info
  @last_updated_date_info
end

#section_annotationsArray<Google::Apis::ChecksV1alpha::PolicySectionAnnotation>

List of all sections in the privacy policy. Corresponds to the JSON property sectionAnnotations



79
80
81
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 79

def section_annotations
  @section_annotations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



86
87
88
89
90
91
92
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 86

def update!(**args)
  @data_purpose_annotations = args[:data_purpose_annotations] if args.key?(:data_purpose_annotations)
  @data_type_annotations = args[:data_type_annotations] if args.key?(:data_type_annotations)
  @html_content = args[:html_content] if args.key?(:html_content)
  @last_updated_date_info = args[:last_updated_date_info] if args.key?(:last_updated_date_info)
  @section_annotations = args[:section_annotations] if args.key?(:section_annotations)
end