Class: Google::Apis::ChecksV1alpha::AnalyzePrivacyPolicyRequest

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

Request for the AnalyzePrivacyPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_contentString

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

Returns:

  • (String)


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_uriString

The URI that points to the web page for the privacy policy. Corresponds to the JSON property privacyPolicyUri

Returns:

  • (String)


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