Class: Google::Apis::ChecksV1alpha::FindPrivacyPolicyResponse

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

Response containing the analyzed privacy policy for the FindPrivacyPolicy method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FindPrivacyPolicyResponse

Returns a new instance of FindPrivacyPolicyResponse.



176
177
178
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 176

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#privacy_policyString

Resource name of the PrivacyPolicy that was found. Corresponds to the JSON property privacyPolicy

Returns:

  • (String)


174
175
176
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 174

def privacy_policy
  @privacy_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



181
182
183
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 181

def update!(**args)
  @privacy_policy = args[:privacy_policy] if args.key?(:privacy_policy)
end