Class: Google::Apis::AndroidpublisherV3::AppStoreAppPolicyDeclaration
- Inherits:
-
Object
- Object
- Google::Apis::AndroidpublisherV3::AppStoreAppPolicyDeclaration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/androidpublisher_v3/classes.rb,
lib/google/apis/androidpublisher_v3/representations.rb,
lib/google/apis/androidpublisher_v3/representations.rb
Overview
A policy declaration with its responses.
Instance Attribute Summary collapse
-
#declaration_id ⇒ String
Required.
-
#responses ⇒ Array<Google::Apis::AndroidpublisherV3::PolicyResponse>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppStoreAppPolicyDeclaration
constructor
A new instance of AppStoreAppPolicyDeclaration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppStoreAppPolicyDeclaration
Returns a new instance of AppStoreAppPolicyDeclaration.
802 803 804 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 802 def initialize(**args) update!(**args) end |
Instance Attribute Details
#declaration_id ⇒ String
Required. ID of the policy declaration.
Corresponds to the JSON property declarationId
795 796 797 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 795 def declaration_id @declaration_id end |
#responses ⇒ Array<Google::Apis::AndroidpublisherV3::PolicyResponse>
Required. Responses provided for this declaration.
Corresponds to the JSON property responses
800 801 802 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 800 def responses @responses end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
807 808 809 810 |
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 807 def update!(**args) @declaration_id = args[:declaration_id] if args.key?(:declaration_id) @responses = args[:responses] if args.key?(:responses) end |