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

Response containing the analyzed privacy policy for the AnalyzePrivacyPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AnalyzePrivacyPolicyResponse

Returns a new instance of AnalyzePrivacyPolicyResponse.



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

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

Instance Attribute Details

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

A list of detected purposes 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>

A list of detected 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. The byte offsets in each annotated section will match this content. Corresponds to the JSON property htmlContent

Returns:

  • (String)


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

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



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

def last_updated_date_info
  @last_updated_date_info
end

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

A list of detected topics in the privacy policy. Corresponds to the JSON property sectionAnnotations



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

def section_annotations
  @section_annotations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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