google-apis-androidpublisher_v3 0.52.0 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bed223207fb922458b6dbcae7e721df8a200a432b028f94673ce143d463a4312
4
- data.tar.gz: ef795956e74e303d7f9c90f75d7f7ae59c452aab85d451a2f478cc9bcf209244
3
+ metadata.gz: 1d1953c0808669ddce2ac2a930844bc46f5a4ede0b1c82d1266dcfc87b6afd13
4
+ data.tar.gz: a8821964f07ad1f79123f7c84f0473f95c30fa3b5cbcd446967eb16d82b36617
5
5
  SHA512:
6
- metadata.gz: 8d65a6e2b82e7dabf79182935b5910b9fdfb952e704381a00d5fa8c8a92452596125f5261bc1c3eb29fc73355c2c32ad310e01bcfc3a9fd47fc4cadcadf9de65
7
- data.tar.gz: c7a34e22c6c5af33e93b307ca8d3f2a538d6383ed263eed04383184afa4f40e0d51bcecfe13e7314489e63de237acd70a2913a222bdaff8c297b98b32560eaac
6
+ metadata.gz: 80e2df113d1646e99ba7255e73138dbfc5bacadfb62be1fb62207b23e39055c7c48198a61753c9a88da48938a92ff4dad97c9af747078012722ee234f4f468bb
7
+ data.tar.gz: 2628062addeb5999a748cd26212de6357a331670b94c140512b652ddb73492c3808861f7afaac05d8337ab2567b9fc2f134fc117a68efcf139c494910a91b037
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidpublisher_v3
2
2
 
3
+ ### v0.53.0 (2023-11-19)
4
+
5
+ * Regenerated from discovery document revision 20231115
6
+
3
7
  ### v0.52.0 (2023-11-12)
4
8
 
5
9
  * Regenerated from discovery document revision 20231107
@@ -1628,6 +1628,20 @@ module Google
1628
1628
  class ExternalTransactionAddress
1629
1629
  include Google::Apis::Core::Hashable
1630
1630
 
1631
+ # Optional. Top-level administrative subdivision of the country/region. Only
1632
+ # required for transactions in India. Valid values are "ANDAMAN AND NICOBAR
1633
+ # ISLANDS", "ANDHRA PRADESH", "ARUNACHAL PRADESH", "ASSAM", "BIHAR", "CHANDIGARH"
1634
+ # , "CHHATTISGARH", "DADRA AND NAGAR HAVELI", "DADRA AND NAGAR HAVELI AND DAMAN
1635
+ # AND DIU", "DAMAN AND DIU", "DELHI", "GOA", "GUJARAT", "HARYANA", "HIMACHAL
1636
+ # PRADESH", "JAMMU AND KASHMIR", "JHARKHAND", "KARNATAKA", "KERALA", "LADAKH", "
1637
+ # LAKSHADWEEP", "MADHYA PRADESH", "MAHARASHTRA", "MANIPUR", "MEGHALAYA", "
1638
+ # MIZORAM", "NAGALAND", "ODISHA", "PUDUCHERRY", "PUNJAB", "RAJASTHAN", "SIKKIM",
1639
+ # "TAMIL NADU", "TELANGANA", "TRIPURA", "UTTAR PRADESH", "UTTARAKHAND", and "
1640
+ # WEST BENGAL".
1641
+ # Corresponds to the JSON property `administrativeArea`
1642
+ # @return [String]
1643
+ attr_accessor :administrative_area
1644
+
1631
1645
  # Required. Two letter region code based on ISO-3166-1 Alpha-2 (UN region codes).
1632
1646
  # Corresponds to the JSON property `regionCode`
1633
1647
  # @return [String]
@@ -1639,6 +1653,7 @@ module Google
1639
1653
 
1640
1654
  # Update properties of this object
1641
1655
  def update!(**args)
1656
+ @administrative_area = args[:administrative_area] if args.key?(:administrative_area)
1642
1657
  @region_code = args[:region_code] if args.key?(:region_code)
1643
1658
  end
1644
1659
  end
@@ -3316,6 +3331,12 @@ module Google
3316
3331
  # @return [String]
3317
3332
  attr_accessor :initial_external_transaction_id
3318
3333
 
3334
+ # Input only. Provided during the call to Create. Must only be used when
3335
+ # migrating a subscription from manual monthly reporting to automated reporting.
3336
+ # Corresponds to the JSON property `migratedTransactionProgram`
3337
+ # @return [String]
3338
+ attr_accessor :migrated_transaction_program
3339
+
3319
3340
  def initialize(**args)
3320
3341
  update!(**args)
3321
3342
  end
@@ -3325,6 +3346,7 @@ module Google
3325
3346
  @external_subscription = args[:external_subscription] if args.key?(:external_subscription)
3326
3347
  @external_transaction_token = args[:external_transaction_token] if args.key?(:external_transaction_token)
3327
3348
  @initial_external_transaction_id = args[:initial_external_transaction_id] if args.key?(:initial_external_transaction_id)
3349
+ @migrated_transaction_program = args[:migrated_transaction_program] if args.key?(:migrated_transaction_program)
3328
3350
  end
3329
3351
  end
3330
3352
 
@@ -5121,6 +5143,43 @@ module Google
5121
5143
  end
5122
5144
  end
5123
5145
 
5146
+ # Configurations of the new track.
5147
+ class TrackConfig
5148
+ include Google::Apis::Core::Hashable
5149
+
5150
+ # Required. Form factor of the new track. Defaults to the default track.
5151
+ # Corresponds to the JSON property `formFactor`
5152
+ # @return [String]
5153
+ attr_accessor :form_factor
5154
+
5155
+ # Required. Identifier of the new track. For default tracks, this field consists
5156
+ # of the track alias only. Form factor tracks have a special prefix as an
5157
+ # identifier, for example `wear:production`, `automotive:production`. This
5158
+ # prefix must match the value of the `form_factor` field, if it is not a default
5159
+ # track. [More on track name](https://developers.google.com/android-publisher/
5160
+ # tracks#ff-track-name)
5161
+ # Corresponds to the JSON property `track`
5162
+ # @return [String]
5163
+ attr_accessor :track
5164
+
5165
+ # Required. Type of the new track. Currently, the only supported value is
5166
+ # closedTesting.
5167
+ # Corresponds to the JSON property `type`
5168
+ # @return [String]
5169
+ attr_accessor :type
5170
+
5171
+ def initialize(**args)
5172
+ update!(**args)
5173
+ end
5174
+
5175
+ # Update properties of this object
5176
+ def update!(**args)
5177
+ @form_factor = args[:form_factor] if args.key?(:form_factor)
5178
+ @track = args[:track] if args.key?(:track)
5179
+ @type = args[:type] if args.key?(:type)
5180
+ end
5181
+ end
5182
+
5124
5183
  # Resource for per-track country availability information.
5125
5184
  class TrackCountryAvailability
5126
5185
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidpublisherV3
18
18
  # Version of the google-apis-androidpublisher_v3 gem
19
- GEM_VERSION = "0.52.0"
19
+ GEM_VERSION = "0.53.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20231107"
25
+ REVISION = "20231115"
26
26
  end
27
27
  end
28
28
  end
@@ -958,6 +958,12 @@ module Google
958
958
  include Google::Apis::Core::JsonObjectSupport
959
959
  end
960
960
 
961
+ class TrackConfig
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
961
967
  class TrackCountryAvailability
962
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
963
969
 
@@ -1573,6 +1579,7 @@ module Google
1573
1579
  class ExternalTransactionAddress
1574
1580
  # @private
1575
1581
  class Representation < Google::Apis::Core::JsonRepresentation
1582
+ property :administrative_area, as: 'administrativeArea'
1576
1583
  property :region_code, as: 'regionCode'
1577
1584
  end
1578
1585
  end
@@ -2072,6 +2079,7 @@ module Google
2072
2079
 
2073
2080
  property :external_transaction_token, as: 'externalTransactionToken'
2074
2081
  property :initial_external_transaction_id, as: 'initialExternalTransactionId'
2082
+ property :migrated_transaction_program, as: 'migratedTransactionProgram'
2075
2083
  end
2076
2084
  end
2077
2085
 
@@ -2583,6 +2591,15 @@ module Google
2583
2591
  end
2584
2592
  end
2585
2593
 
2594
+ class TrackConfig
2595
+ # @private
2596
+ class Representation < Google::Apis::Core::JsonRepresentation
2597
+ property :form_factor, as: 'formFactor'
2598
+ property :track, as: 'track'
2599
+ property :type, as: 'type'
2600
+ end
2601
+ end
2602
+
2586
2603
  class TrackCountryAvailability
2587
2604
  # @private
2588
2605
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1408,6 +1408,42 @@ module Google
1408
1408
  execute_or_queue_command(command, &block)
1409
1409
  end
1410
1410
 
1411
+ # Creates a new track.
1412
+ # @param [String] package_name
1413
+ # Required. Package name of the app.
1414
+ # @param [String] edit_id
1415
+ # Required. Identifier of the edit.
1416
+ # @param [Google::Apis::AndroidpublisherV3::TrackConfig] track_config_object
1417
+ # @param [String] fields
1418
+ # Selector specifying which fields to include in a partial response.
1419
+ # @param [String] quota_user
1420
+ # Available to use for quota purposes for server-side applications. Can be any
1421
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1422
+ # @param [Google::Apis::RequestOptions] options
1423
+ # Request-specific options
1424
+ #
1425
+ # @yield [result, err] Result & error if block supplied
1426
+ # @yieldparam result [Google::Apis::AndroidpublisherV3::Track] parsed result object
1427
+ # @yieldparam err [StandardError] error object if request failed
1428
+ #
1429
+ # @return [Google::Apis::AndroidpublisherV3::Track]
1430
+ #
1431
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1432
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1433
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1434
+ def create_edit_track(package_name, edit_id, track_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1435
+ command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/edits/{editId}/tracks', options)
1436
+ command.request_representation = Google::Apis::AndroidpublisherV3::TrackConfig::Representation
1437
+ command.request_object = track_config_object
1438
+ command.response_representation = Google::Apis::AndroidpublisherV3::Track::Representation
1439
+ command.response_class = Google::Apis::AndroidpublisherV3::Track
1440
+ command.params['packageName'] = package_name unless package_name.nil?
1441
+ command.params['editId'] = edit_id unless edit_id.nil?
1442
+ command.query['fields'] = fields unless fields.nil?
1443
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1444
+ execute_or_queue_command(command, &block)
1445
+ end
1446
+
1411
1447
  # Gets a track.
1412
1448
  # @param [String] package_name
1413
1449
  # Package name of the app.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidpublisher_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.52.0
4
+ version: 0.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-12 00:00:00.000000000 Z
11
+ date: 2023-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.52.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.53.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidpublisher_v3
63
63
  post_install_message:
64
64
  rdoc_options: []