Class: Google::Apis::ChecksV1alpha::PrivacyPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::PrivacyPolicy
- 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
Privacy policy.
Instance Attribute Summary collapse
-
#html_content ⇒ String
HTML content for the privacy policy page.
-
#name ⇒ String
Resource name.
-
#privacy_policy_uri ⇒ String
URI of the privacy policy corresponding to this resource.
-
#score ⇒ Float
Confidence that the privacy policy URI is indeed from a privacy policy.
-
#website_uri ⇒ String
URI of the original website used to find this privacy policy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PrivacyPolicy
constructor
A new instance of PrivacyPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PrivacyPolicy
Returns a new instance of PrivacyPolicy.
467 468 469 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 467 def initialize(**args) update!(**args) end |
Instance Attribute Details
#html_content ⇒ String
HTML content for the privacy policy page.
Corresponds to the JSON property htmlContent
444 445 446 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 444 def html_content @html_content end |
#name ⇒ String
Resource name. Example: projects/123/privacyPolicies/456
Corresponds to the JSON property name
449 450 451 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 449 def name @name end |
#privacy_policy_uri ⇒ String
URI of the privacy policy corresponding to this resource.
Corresponds to the JSON property privacyPolicyUri
454 455 456 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 454 def privacy_policy_uri @privacy_policy_uri end |
#score ⇒ Float
Confidence that the privacy policy URI is indeed from a privacy policy.
Corresponds to the JSON property score
459 460 461 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 459 def score @score end |
#website_uri ⇒ String
URI of the original website used to find this privacy policy. Only populated
for resources created by the FindPrivacyPolicy API.
Corresponds to the JSON property websiteUri
465 466 467 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 465 def website_uri @website_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
472 473 474 475 476 477 478 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 472 def update!(**args) @html_content = args[:html_content] if args.key?(:html_content) @name = args[:name] if args.key?(:name) @privacy_policy_uri = args[:privacy_policy_uri] if args.key?(:privacy_policy_uri) @score = args[:score] if args.key?(:score) @website_uri = args[:website_uri] if args.key?(:website_uri) end |