google-apis-cloudcommerceprocurement_v1 0.3.0 → 0.4.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 +4 -0
- data/lib/google/apis/cloudcommerceprocurement_v1/classes.rb +9 -0
- data/lib/google/apis/cloudcommerceprocurement_v1/gem_version.rb +2 -2
- data/lib/google/apis/cloudcommerceprocurement_v1/representations.rb +1 -0
- data/lib/google/apis/cloudcommerceprocurement_v1/service.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfd7151b25f46b5ce6beeabaa2067873393246d7e8ac8754c86e6a45db2bc7da
|
4
|
+
data.tar.gz: ff343d5448f7cd0148d9bbee6a33453d502f200d176ff9c380d228c41cf11953
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98a3ecea8ea23ed29a747ae608357fe7b065a7bb0d947a6cf3e22ede5a8d3ccdba083b5ae639f0c76b656ebc9bd21cd6df7373764753acf5ff3a206a22580ab7
|
7
|
+
data.tar.gz: 1b32cd205cfdd61abbc4717a018e8fb036606b3b2aba80f38aa58981b51203ac6f8f1c723102b7aa7ac5894d9e068d20b8e72e47a0c1e8f4e67ff140b30cbe17
|
data/CHANGELOG.md
CHANGED
@@ -59,6 +59,14 @@ module Google
|
|
59
59
|
# @return [String]
|
60
60
|
attr_accessor :provider
|
61
61
|
|
62
|
+
# The reseller parent billing account of the account's corresponding billing
|
63
|
+
# account, applicable only when the corresponding billing account is a
|
64
|
+
# subaccount of a reseller. Included in responses only for view
|
65
|
+
# ACCOUNT_VIEW_FULL. Format: billingAccounts/`billing_account_id`
|
66
|
+
# Corresponds to the JSON property `resellerParentBillingAccount`
|
67
|
+
# @return [String]
|
68
|
+
attr_accessor :reseller_parent_billing_account
|
69
|
+
|
62
70
|
# Output only. The state of the account. This is used to decide whether the
|
63
71
|
# customer is in good standing with the provider and is able to make purchases.
|
64
72
|
# An account might not be able to make a purchase if the billing account is
|
@@ -83,6 +91,7 @@ module Google
|
|
83
91
|
@input_properties = args[:input_properties] if args.key?(:input_properties)
|
84
92
|
@name = args[:name] if args.key?(:name)
|
85
93
|
@provider = args[:provider] if args.key?(:provider)
|
94
|
+
@reseller_parent_billing_account = args[:reseller_parent_billing_account] if args.key?(:reseller_parent_billing_account)
|
86
95
|
@state = args[:state] if args.key?(:state)
|
87
96
|
@update_time = args[:update_time] if args.key?(:update_time)
|
88
97
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudcommerceprocurementV1
|
18
18
|
# Version of the google-apis-cloudcommerceprocurement_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250914"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -121,6 +121,7 @@ module Google
|
|
121
121
|
hash :input_properties, as: 'inputProperties'
|
122
122
|
property :name, as: 'name'
|
123
123
|
property :provider, as: 'provider'
|
124
|
+
property :reseller_parent_billing_account, as: 'resellerParentBillingAccount'
|
124
125
|
property :state, as: 'state'
|
125
126
|
property :update_time, as: 'updateTime'
|
126
127
|
end
|
@@ -88,6 +88,8 @@ module Google
|
|
88
88
|
# Gets a requested Account resource.
|
89
89
|
# @param [String] name
|
90
90
|
# Required. The name of the account to retrieve.
|
91
|
+
# @param [String] view
|
92
|
+
# Optional. What information to include in the response.
|
91
93
|
# @param [String] fields
|
92
94
|
# Selector specifying which fields to include in a partial response.
|
93
95
|
# @param [String] quota_user
|
@@ -105,11 +107,12 @@ module Google
|
|
105
107
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
106
108
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
107
109
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
108
|
-
def get_provider_account(name, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
def get_provider_account(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
109
111
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
110
112
|
command.response_representation = Google::Apis::CloudcommerceprocurementV1::Account::Representation
|
111
113
|
command.response_class = Google::Apis::CloudcommerceprocurementV1::Account
|
112
114
|
command.params['name'] = name unless name.nil?
|
115
|
+
command.query['view'] = view unless view.nil?
|
113
116
|
command.query['fields'] = fields unless fields.nil?
|
114
117
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
115
118
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudcommerceprocurement_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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-cloudcommerceprocurement_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudcommerceprocurement_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudcommerceprocurement_v1/v0.4.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudcommerceprocurement_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|