Class: Google::Apis::AndroidpublisherV3::AppStoreAppPolicyDeclaration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

Required. ID of the policy declaration. Corresponds to the JSON property declarationId

Returns:

  • (String)


795
796
797
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 795

def declaration_id
  @declaration_id
end

#responsesArray<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