Class: Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyResponse
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyResponse
- 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
-
#data_purpose_annotations ⇒ Array<Google::Apis::ChecksV1alpha::PolicyPurposeOfUseAnnotation>
A list of detected purposes in the privacy policy.
-
#data_type_annotations ⇒ Array<Google::Apis::ChecksV1alpha::PolicyDataTypeAnnotation>
A list of detected data types in the privacy policy.
-
#html_content ⇒ String
HTML content for the privacy policy page.
-
#last_updated_date_info ⇒ Google::Apis::ChecksV1alpha::LastUpdatedDate
Information about the date when the privacy policy was last updated.
-
#section_annotations ⇒ Array<Google::Apis::ChecksV1alpha::PolicySectionAnnotation>
A list of detected topics in the privacy policy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyzePrivacyPolicyResponse
constructor
A new instance of AnalyzePrivacyPolicyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_annotations ⇒ Array<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_annotations ⇒ Array<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_content ⇒ String
HTML content for the privacy policy page. The byte offsets in each annotated
section will match this content.
Corresponds to the JSON property htmlContent
70 71 72 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 70 def html_content @html_content end |
#last_updated_date_info ⇒ Google::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_annotations ⇒ Array<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 |