Class: Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyRequest
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyRequest
- 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 request proto for AnalyzePrivacyPolicy method.
Instance Attribute Summary collapse
-
#privacy_policy_page_content ⇒ String
Web page raw HTML content for the privacy policy page to be analyzed.
-
#privacy_policy_uri ⇒ String
URL for the privacy policy page to be analyzed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AnalyzePrivacyPolicyRequest
constructor
A new instance of AnalyzePrivacyPolicyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AnalyzePrivacyPolicyRequest
Returns a new instance of AnalyzePrivacyPolicyRequest.
41 42 43 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 41 def initialize(**args) update!(**args) end |
Instance Attribute Details
#privacy_policy_page_content ⇒ String
Web page raw HTML content for the privacy policy page to be analyzed. Useful
when the client wants to analyze a privacy policy already fetched.
Corresponds to the JSON property privacyPolicyPageContent
33 34 35 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 33 def privacy_policy_page_content @privacy_policy_page_content end |
#privacy_policy_uri ⇒ String
URL for the privacy policy page to be analyzed. https://linter.aip.dev/140/uri
(Use uri instead of url in field name)
Corresponds to the JSON property privacyPolicyUri
39 40 41 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 39 def privacy_policy_uri @privacy_policy_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
46 47 48 49 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 46 def update!(**args) @privacy_policy_page_content = args[:privacy_policy_page_content] if args.key?(:privacy_policy_page_content) @privacy_policy_uri = args[:privacy_policy_uri] if args.key?(:privacy_policy_uri) end |