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

The request proto for AnalyzePrivacyPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_contentString

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

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

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

Returns:

  • (String)


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