google-apis-readerrevenuesubscriptionlinking_v1 0.9.0 → 0.10.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: 26832fc60b24d6420fa2ae18c6483d7a9d40a2190a554f0e6ad9d23eaf297664
4
- data.tar.gz: cf7f172392397725586c16be6bf349ef07e2006cd5395c78e6642d4b3694de1a
3
+ metadata.gz: 41b8a6e2792bd6ceb3635faba036c1c9a5441929cef7a5c7e065f090b1a63d30
4
+ data.tar.gz: 85f35098fd14cb8365726732a34d195f734ed21ba02a6138c692859e51ad8064
5
5
  SHA512:
6
- metadata.gz: b0a764de3d09296beaad44cf81d2cbb8dadeaa6a587f4c482ae3dff16e6498dc1e2ed18a7cc132c15556a3a75b5b01fc886d459fd6544a6eea493e9b4f81c52d
7
- data.tar.gz: 5bcbe685f1bc2d13f75360b561c4eeb49e3c11da0ae67a17195c5a414de523037435207fc6edb2869841fbc404c78de8b4acaa23872e2fb9f01fec06c8ec4dda
6
+ metadata.gz: f225c34c283c1e9aeea44c1678de2688e97e1ed78d01d4666c23d2732f84d4a6f556fdfc0be5fb1dfbe3816b8ccadc7b41486e7c356c490b4fe36380d95f6e5c
7
+ data.tar.gz: 2f2c1e577bc774556db520b0fbd0766227fd98ec56923610e4f45c392d386ccaefa450c76bd06aa49bfc8808fca3ef36fd2a64aa13297e45e349176a7d21d229
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-readerrevenuesubscriptionlinking_v1
2
2
 
3
+ ### v0.10.0 (2026-09-20)
4
+
5
+ * Regenerated from discovery document revision 20260915
6
+
3
7
  ### v0.9.0 (2026-07-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20260719
@@ -82,6 +82,35 @@ module Google
82
82
  end
83
83
  end
84
84
 
85
+ # Response containing the aggregated collection of matching ReaderEntitlements
86
+ # objects.
87
+ class ListReaderEntitlementsResponse
88
+ include Google::Apis::Core::Hashable
89
+
90
+ # A token that can be sent as `page_token` to retrieve the next page. If this
91
+ # field is omitted, there are no subsequent pages.
92
+ # Corresponds to the JSON property `nextPageToken`
93
+ # @return [String]
94
+ attr_accessor :next_page_token
95
+
96
+ # The collection of ReaderEntitlements found across the scoped child
97
+ # publications. Every element's `name` field will contain the canonical sub-
98
+ # publication path, never the wildcard dash.
99
+ # Corresponds to the JSON property `readerEntitlements`
100
+ # @return [Array<Google::Apis::ReaderrevenuesubscriptionlinkingV1::ReaderEntitlements>]
101
+ attr_accessor :reader_entitlements
102
+
103
+ def initialize(**args)
104
+ update!(**args)
105
+ end
106
+
107
+ # Update properties of this object
108
+ def update!(**args)
109
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
110
+ @reader_entitlements = args[:reader_entitlements] if args.key?(:reader_entitlements)
111
+ end
112
+ end
113
+
85
114
  # A reader of a publication.
86
115
  class Reader
87
116
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ReaderrevenuesubscriptionlinkingV1
18
18
  # Version of the google-apis-readerrevenuesubscriptionlinking_v1 gem
19
- GEM_VERSION = "0.9.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260719"
25
+ REVISION = "20260915"
26
26
  end
27
27
  end
28
28
  end
@@ -34,6 +34,12 @@ module Google
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
+ class ListReaderEntitlementsResponse
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
37
43
  class Reader
38
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
45
 
@@ -62,6 +68,15 @@ module Google
62
68
  end
63
69
  end
64
70
 
71
+ class ListReaderEntitlementsResponse
72
+ # @private
73
+ class Representation < Google::Apis::Core::JsonRepresentation
74
+ property :next_page_token, as: 'nextPageToken'
75
+ collection :reader_entitlements, as: 'readerEntitlements', class: Google::Apis::ReaderrevenuesubscriptionlinkingV1::ReaderEntitlements, decorator: Google::Apis::ReaderrevenuesubscriptionlinkingV1::ReaderEntitlements::Representation
76
+
77
+ end
78
+ end
79
+
65
80
  class Reader
66
81
  # @private
67
82
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -51,6 +51,49 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
+ # Lists reader entitlements across parent publications via wildcard. - Returns
55
+ # PERMISSION_DENIED if the caller does not have access. - Returns NOT_FOUND if
56
+ # the reader does not exist.
57
+ # @param [String] parent
58
+ # Required. The parent reader scope. Format: "publications/-/readers/`reader_id`"
59
+ # @param [Fixnum] page_size
60
+ # Optional. The maximum number of entitlements to return. The service may return
61
+ # fewer than this value. If unspecified, at most 50 entitlements will be
62
+ # returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
63
+ # @param [String] page_token
64
+ # Optional. A page token, received from a previous `ListReaderEntitlements` call.
65
+ # Provide this to retrieve the subsequent page. When paginating, all other
66
+ # parameters provided to `ListReaderEntitlements` must match the call that
67
+ # provided the page token.
68
+ # @param [String] fields
69
+ # Selector specifying which fields to include in a partial response.
70
+ # @param [String] quota_user
71
+ # Available to use for quota purposes for server-side applications. Can be any
72
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
73
+ # @param [Google::Apis::RequestOptions] options
74
+ # Request-specific options
75
+ #
76
+ # @yield [result, err] Result & error if block supplied
77
+ # @yieldparam result [Google::Apis::ReaderrevenuesubscriptionlinkingV1::ListReaderEntitlementsResponse] parsed result object
78
+ # @yieldparam err [StandardError] error object if request failed
79
+ #
80
+ # @return [Google::Apis::ReaderrevenuesubscriptionlinkingV1::ListReaderEntitlementsResponse]
81
+ #
82
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
83
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
84
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
85
+ def list_publication___reader_entitlements(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
86
+ command = make_simple_command(:get, 'v1/{+parent}/entitlements', options)
87
+ command.response_representation = Google::Apis::ReaderrevenuesubscriptionlinkingV1::ListReaderEntitlementsResponse::Representation
88
+ command.response_class = Google::Apis::ReaderrevenuesubscriptionlinkingV1::ListReaderEntitlementsResponse
89
+ command.params['parent'] = parent unless parent.nil?
90
+ command.query['pageSize'] = page_size unless page_size.nil?
91
+ command.query['pageToken'] = page_token unless page_token.nil?
92
+ command.query['fields'] = fields unless fields.nil?
93
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
94
+ execute_or_queue_command(command, &block)
95
+ end
96
+
54
97
  # Removes a publication reader, effectively severing the association with a
55
98
  # Google user. If `force` is set to true, any entitlements for this reader will
56
99
  # also be deleted. (Otherwise, the request will only work if the reader has no
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-readerrevenuesubscriptionlinking_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-readerrevenuesubscriptionlinking_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-readerrevenuesubscriptionlinking_v1/v0.9.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-readerrevenuesubscriptionlinking_v1/v0.10.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-readerrevenuesubscriptionlinking_v1
62
62
  rdoc_options: []
63
63
  require_paths: