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.



833
834
835
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 833

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)


826
827
828
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 826

def declaration_id
  @declaration_id
end

#responsesArray<Google::Apis::AndroidpublisherV3::PolicyResponse>

Required. Responses provided for this declaration. Corresponds to the JSON property responses



831
832
833
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 831

def responses
  @responses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



838
839
840
841
# File 'lib/google/apis/androidpublisher_v3/classes.rb', line 838

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