google-apis-content_v2_1 0.16.0 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70ab714bde780a40282af9100ff33b7270e439fab591f3ef610c075a8c084178
|
4
|
+
data.tar.gz: 2342280f769f77f142065f74d51c4e8134691dfd7b32704de9a91a75ed39f5c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a90e46717199dea0bbf707c2c668e847ba66fb76e0f6dff39815581a99d4bb9bb74d597b517ab6ad603b47a9a18a38d273a39442732bf85214f1f6938c8d2c5
|
7
|
+
data.tar.gz: 60d77cf138534fc81476568913a7e37eb31d9bc679897de936ca32efb2da9360770f3ad02fafe6f273232f383eb8a7c687ee870298af04be4d5ec9ee9dfa701e
|
data/CHANGELOG.md
CHANGED
@@ -28,6 +28,12 @@ module Google
|
|
28
28
|
class Account
|
29
29
|
include Google::Apis::Core::Hashable
|
30
30
|
|
31
|
+
# How the account is managed. Acceptable values are: - "`manual`" - "`automatic`"
|
32
|
+
#
|
33
|
+
# Corresponds to the JSON property `accountManagement`
|
34
|
+
# @return [String]
|
35
|
+
attr_accessor :account_management
|
36
|
+
|
31
37
|
# Linked Ads accounts that are active or pending approval. To create a new link
|
32
38
|
# request, add a new link with status `active` to the list. It will remain in a `
|
33
39
|
# pending` state until approved or rejected either in the Ads interface or
|
@@ -116,6 +122,7 @@ module Google
|
|
116
122
|
|
117
123
|
# Update properties of this object
|
118
124
|
def update!(**args)
|
125
|
+
@account_management = args[:account_management] if args.key?(:account_management)
|
119
126
|
@ads_links = args[:ads_links] if args.key?(:ads_links)
|
120
127
|
@adult_content = args[:adult_content] if args.key?(:adult_content)
|
121
128
|
@automatic_label_ids = args[:automatic_label_ids] if args.key?(:automatic_label_ids)
|
@@ -465,6 +472,12 @@ module Google
|
|
465
472
|
# @return [Array<Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue>]
|
466
473
|
attr_accessor :account_level_issues
|
467
474
|
|
475
|
+
# How the account is managed. Acceptable values are: - "`manual`" - "`automatic`"
|
476
|
+
#
|
477
|
+
# Corresponds to the JSON property `accountManagement`
|
478
|
+
# @return [String]
|
479
|
+
attr_accessor :account_management
|
480
|
+
|
468
481
|
# Identifies what kind of resource this is. Value: the fixed string "`content#
|
469
482
|
# accountStatus`"
|
470
483
|
# Corresponds to the JSON property `kind`
|
@@ -491,6 +504,7 @@ module Google
|
|
491
504
|
def update!(**args)
|
492
505
|
@account_id = args[:account_id] if args.key?(:account_id)
|
493
506
|
@account_level_issues = args[:account_level_issues] if args.key?(:account_level_issues)
|
507
|
+
@account_management = args[:account_management] if args.key?(:account_management)
|
494
508
|
@kind = args[:kind] if args.key?(:kind)
|
495
509
|
@products = args[:products] if args.key?(:products)
|
496
510
|
@website_claimed = args[:website_claimed] if args.key?(:website_claimed)
|
@@ -14865,8 +14879,10 @@ module Google
|
|
14865
14879
|
# @return [Array<Google::Apis::ContentV2_1::UnitInvoiceAdditionalCharge>]
|
14866
14880
|
attr_accessor :additional_charges
|
14867
14881
|
|
14868
|
-
# [required] Pre-tax or post-tax price of
|
14869
|
-
# the order.
|
14882
|
+
# [required] Pre-tax or post-tax price of one unit depending on the locality of
|
14883
|
+
# the order. *Note:* Invoicing works on a per unit basis. The `unitPrice` is the
|
14884
|
+
# price of a single unit, and will be multiplied by the number of entries in `
|
14885
|
+
# shipmentUnitId`.
|
14870
14886
|
# Corresponds to the JSON property `unitPrice`
|
14871
14887
|
# @return [Google::Apis::ContentV2_1::Price]
|
14872
14888
|
attr_accessor :unit_price
|
@@ -14892,7 +14908,9 @@ module Google
|
|
14892
14908
|
class UnitInvoiceAdditionalCharge
|
14893
14909
|
include Google::Apis::Core::Hashable
|
14894
14910
|
|
14895
|
-
# [required] Amount of the additional charge.
|
14911
|
+
# [required] Amount of the additional charge per unit. *Note:* Invoicing works
|
14912
|
+
# on a per unit bases. The `additionalChargeAmount` is the amount charged per
|
14913
|
+
# unit, and will be multiplied by the number of entries in `shipmentUnitID`.
|
14896
14914
|
# Corresponds to the JSON property `additionalChargeAmount`
|
14897
14915
|
# @return [Google::Apis::ContentV2_1::Amount]
|
14898
14916
|
attr_accessor :additional_charge_amount
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ContentV2_1
|
18
18
|
# Version of the google-apis-content_v2_1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.17.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210707"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2215,6 +2215,7 @@ module Google
|
|
2215
2215
|
class Account
|
2216
2216
|
# @private
|
2217
2217
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2218
|
+
property :account_management, as: 'accountManagement'
|
2218
2219
|
collection :ads_links, as: 'adsLinks', class: Google::Apis::ContentV2_1::AccountAdsLink, decorator: Google::Apis::ContentV2_1::AccountAdsLink::Representation
|
2219
2220
|
|
2220
2221
|
property :adult_content, as: 'adultContent'
|
@@ -2329,6 +2330,7 @@ module Google
|
|
2329
2330
|
property :account_id, as: 'accountId'
|
2330
2331
|
collection :account_level_issues, as: 'accountLevelIssues', class: Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue, decorator: Google::Apis::ContentV2_1::AccountStatusAccountLevelIssue::Representation
|
2331
2332
|
|
2333
|
+
property :account_management, as: 'accountManagement'
|
2332
2334
|
property :kind, as: 'kind'
|
2333
2335
|
collection :products, as: 'products', class: Google::Apis::ContentV2_1::AccountStatusProducts, decorator: Google::Apis::ContentV2_1::AccountStatusProducts::Representation
|
2334
2336
|
|
@@ -301,6 +301,9 @@ module Google
|
|
301
301
|
# given ID.
|
302
302
|
# @param [Fixnum] max_results
|
303
303
|
# The maximum number of accounts to return in the response, used for paging.
|
304
|
+
# @param [String] name
|
305
|
+
# If set, only the accounts with the given name (case sensitive) will be
|
306
|
+
# returned.
|
304
307
|
# @param [String] page_token
|
305
308
|
# The token returned by the previous request.
|
306
309
|
# @param [String] view
|
@@ -323,13 +326,14 @@ module Google
|
|
323
326
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
324
327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
|
-
def list_accounts(merchant_id, label: nil, max_results: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
329
|
+
def list_accounts(merchant_id, label: nil, max_results: nil, name: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
327
330
|
command = make_simple_command(:get, '{merchantId}/accounts', options)
|
328
331
|
command.response_representation = Google::Apis::ContentV2_1::AccountsListResponse::Representation
|
329
332
|
command.response_class = Google::Apis::ContentV2_1::AccountsListResponse
|
330
333
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
331
334
|
command.query['label'] = label unless label.nil?
|
332
335
|
command.query['maxResults'] = max_results unless max_results.nil?
|
336
|
+
command.query['name'] = name unless name.nil?
|
333
337
|
command.query['pageToken'] = page_token unless page_token.nil?
|
334
338
|
command.query['view'] = view unless view.nil?
|
335
339
|
command.query['fields'] = fields unless fields.nil?
|
@@ -843,6 +847,9 @@ module Google
|
|
843
847
|
# @param [Fixnum] max_results
|
844
848
|
# The maximum number of account statuses to return in the response, used for
|
845
849
|
# paging.
|
850
|
+
# @param [String] name
|
851
|
+
# If set, only the accounts with the given name (case sensitive) will be
|
852
|
+
# returned.
|
846
853
|
# @param [String] page_token
|
847
854
|
# The token returned by the previous request.
|
848
855
|
# @param [String] fields
|
@@ -862,13 +869,14 @@ module Google
|
|
862
869
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
863
870
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
864
871
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
865
|
-
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
872
|
+
def list_accountstatuses(merchant_id, destinations: nil, max_results: nil, name: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
866
873
|
command = make_simple_command(:get, '{merchantId}/accountstatuses', options)
|
867
874
|
command.response_representation = Google::Apis::ContentV2_1::AccountstatusesListResponse::Representation
|
868
875
|
command.response_class = Google::Apis::ContentV2_1::AccountstatusesListResponse
|
869
876
|
command.params['merchantId'] = merchant_id unless merchant_id.nil?
|
870
877
|
command.query['destinations'] = destinations unless destinations.nil?
|
871
878
|
command.query['maxResults'] = max_results unless max_results.nil?
|
879
|
+
command.query['name'] = name unless name.nil?
|
872
880
|
command.query['pageToken'] = page_token unless page_token.nil?
|
873
881
|
command.query['fields'] = fields unless fields.nil?
|
874
882
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-content_v2_1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.17.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: 2021-07-
|
11
|
+
date: 2021-07-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/master/generated/google-apis-content_v2_1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-content_v2_1/v0.17.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-content_v2_1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|