google-apis-androidpublisher_v3 0.55.0 → 0.56.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/androidpublisher_v3/classes.rb +37 -0
- data/lib/google/apis/androidpublisher_v3/gem_version.rb +3 -3
- data/lib/google/apis/androidpublisher_v3/representations.rb +25 -0
- data/lib/google/apis/androidpublisher_v3/service.rb +33 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bae3b900ab545127aa2d3656c7c6540d2848843004676a2a32f86f7dbffbc0ab
|
4
|
+
data.tar.gz: 3cb4b44eb7c279370205bdc7084605b336291c2b7e1c346fb2616f8a356432d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 145e035b2567cbf2c1d2c2620cddfe898f3293cdce154d0630bcda3053de9ec249dab35bb88f2ac6462178b2590b53c619c79694850e1c21980a9c6952711628
|
7
|
+
data.tar.gz: 9dcfcfe1f9a60e9e409dbf405362da1a578e2354545ba5ac1294c7bc4fadd1255f372cf163756548b173c39410e1558fff5e3e6234eb2ddfe8dcc259c58fd6ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-androidpublisher_v3
|
2
2
|
|
3
|
+
### v0.56.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240129
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.55.0 (2024-01-23)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240117
|
@@ -4833,6 +4833,43 @@ module Google
|
|
4833
4833
|
end
|
4834
4834
|
end
|
4835
4835
|
|
4836
|
+
# Request to update Safety Labels of an app.
|
4837
|
+
class SafetyLabelsUpdateRequest
|
4838
|
+
include Google::Apis::Core::Hashable
|
4839
|
+
|
4840
|
+
# Required. Contents of the CSV file containing Data Safety responses. For the
|
4841
|
+
# format of this file, see the Help Center documentation at https://support.
|
4842
|
+
# google.com/googleplay/android-developer/answer/10787469?hl=en#zippy=%
|
4843
|
+
# 2Cunderstand-the-csv-format To download an up to date template, follow the
|
4844
|
+
# steps at https://support.google.com/googleplay/android-developer/answer/
|
4845
|
+
# 10787469?hl=en#zippy=%2Cexport-to-a-csv-file
|
4846
|
+
# Corresponds to the JSON property `safetyLabels`
|
4847
|
+
# @return [String]
|
4848
|
+
attr_accessor :safety_labels
|
4849
|
+
|
4850
|
+
def initialize(**args)
|
4851
|
+
update!(**args)
|
4852
|
+
end
|
4853
|
+
|
4854
|
+
# Update properties of this object
|
4855
|
+
def update!(**args)
|
4856
|
+
@safety_labels = args[:safety_labels] if args.key?(:safety_labels)
|
4857
|
+
end
|
4858
|
+
end
|
4859
|
+
|
4860
|
+
# Response for SafetyLabelsUpdate rpc.
|
4861
|
+
class SafetyLabelsUpdateResponse
|
4862
|
+
include Google::Apis::Core::Hashable
|
4863
|
+
|
4864
|
+
def initialize(**args)
|
4865
|
+
update!(**args)
|
4866
|
+
end
|
4867
|
+
|
4868
|
+
# Update properties of this object
|
4869
|
+
def update!(**args)
|
4870
|
+
end
|
4871
|
+
end
|
4872
|
+
|
4836
4873
|
# Represents a screen density.
|
4837
4874
|
class ScreenDensity
|
4838
4875
|
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.
|
19
|
+
GEM_VERSION = "0.56.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240129"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -988,6 +988,18 @@ module Google
|
|
988
988
|
include Google::Apis::Core::JsonObjectSupport
|
989
989
|
end
|
990
990
|
|
991
|
+
class SafetyLabelsUpdateRequest
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
|
+
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
995
|
+
end
|
996
|
+
|
997
|
+
class SafetyLabelsUpdateResponse
|
998
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
999
|
+
|
1000
|
+
include Google::Apis::Core::JsonObjectSupport
|
1001
|
+
end
|
1002
|
+
|
991
1003
|
class ScreenDensity
|
992
1004
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
993
1005
|
|
@@ -2851,6 +2863,19 @@ module Google
|
|
2851
2863
|
end
|
2852
2864
|
end
|
2853
2865
|
|
2866
|
+
class SafetyLabelsUpdateRequest
|
2867
|
+
# @private
|
2868
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2869
|
+
property :safety_labels, as: 'safetyLabels'
|
2870
|
+
end
|
2871
|
+
end
|
2872
|
+
|
2873
|
+
class SafetyLabelsUpdateResponse
|
2874
|
+
# @private
|
2875
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2876
|
+
end
|
2877
|
+
end
|
2878
|
+
|
2854
2879
|
class ScreenDensity
|
2855
2880
|
# @private
|
2856
2881
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -53,6 +53,39 @@ module Google
|
|
53
53
|
@batch_path = 'batch'
|
54
54
|
end
|
55
55
|
|
56
|
+
# Writes the Safety Labels declaration of an app.
|
57
|
+
# @param [String] package_name
|
58
|
+
# Required. Package name of the app.
|
59
|
+
# @param [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateRequest] safety_labels_update_request_object
|
60
|
+
# @param [String] fields
|
61
|
+
# Selector specifying which fields to include in a partial response.
|
62
|
+
# @param [String] quota_user
|
63
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
64
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
65
|
+
# @param [Google::Apis::RequestOptions] options
|
66
|
+
# Request-specific options
|
67
|
+
#
|
68
|
+
# @yield [result, err] Result & error if block supplied
|
69
|
+
# @yieldparam result [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse] parsed result object
|
70
|
+
# @yieldparam err [StandardError] error object if request failed
|
71
|
+
#
|
72
|
+
# @return [Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse]
|
73
|
+
#
|
74
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
+
def data_application_safety(package_name, safety_labels_update_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
78
|
+
command = make_simple_command(:post, 'androidpublisher/v3/applications/{packageName}/dataSafety', options)
|
79
|
+
command.request_representation = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateRequest::Representation
|
80
|
+
command.request_object = safety_labels_update_request_object
|
81
|
+
command.response_representation = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse::Representation
|
82
|
+
command.response_class = Google::Apis::AndroidpublisherV3::SafetyLabelsUpdateResponse
|
83
|
+
command.params['packageName'] = package_name unless package_name.nil?
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
86
|
+
execute_or_queue_command(command, &block)
|
87
|
+
end
|
88
|
+
|
56
89
|
# Creates a new device tier config for an app.
|
57
90
|
# @param [String] package_name
|
58
91
|
# 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.
|
4
|
+
version: 0.56.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: 2024-
|
11
|
+
date: 2024-02-04 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidpublisher_v3/v0.56.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: []
|