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
Request for the AnalyzePrivacyPolicy method.
Instance Attribute Summary collapse
-
#privacy_policy_page_content ⇒ String
The HTML content of the privacy policy.
-
#privacy_policy_uri ⇒ String
The URI that points to the web page for the privacy policy.
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.
40 41 42 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 40 def initialize(**args) update!(**args) end |
Instance Attribute Details
#privacy_policy_page_content ⇒ String
The HTML content of the privacy policy. This is useful if you'd like to manage
the crawling and rendering of the privacy policy.
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
The URI that points to the web page for the privacy policy.
Corresponds to the JSON property privacyPolicyUri
38 39 40 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 38 def privacy_policy_uri @privacy_policy_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
45 46 47 48 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 45 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 |