google-apis-cloudcontrolspartner_v1beta 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/google/apis/cloudcontrolspartner_v1beta/classes.rb +25 -2
- data/lib/google/apis/cloudcontrolspartner_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/cloudcontrolspartner_v1beta/representations.rb +13 -0
- data/lib/google/apis/cloudcontrolspartner_v1beta/service.rb +107 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1dd5bc04033a9444e340eea8a5850c4b73c3e9645a95872c60dc52f2d2b0218e
|
4
|
+
data.tar.gz: e8af7d8cd366bc793c4beb2dea72d38008381c87afe356b5419fd52f9ce7c895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0a0f6bf0f10a1fc8e6012e58364b9da501a2d3cc0afdc0ed8eb3f4aa744bad4b6369bcc146ad90e193ed832167cf6d156eaec642adc6a168d6100f721041bd4
|
7
|
+
data.tar.gz: a471a9a1e27f8aa81aeb1d315d6ea6d945b80487e9d69784008cd9d8435a6f166b3882eacad82529b43644bbb6b4838defe721b3eeb15729fca0ea4dba893ac7
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-cloudcontrolspartner_v1beta
|
2
2
|
|
3
|
+
### v0.4.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241024
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
3
8
|
### v0.3.0 (2024-06-26)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240619
|
@@ -153,12 +153,12 @@ module Google
|
|
153
153
|
# @return [Google::Apis::CloudcontrolspartnerV1beta::CustomerOnboardingState]
|
154
154
|
attr_accessor :customer_onboarding_state
|
155
155
|
|
156
|
-
#
|
156
|
+
# Required. Display name for the customer
|
157
157
|
# Corresponds to the JSON property `displayName`
|
158
158
|
# @return [String]
|
159
159
|
attr_accessor :display_name
|
160
160
|
|
161
|
-
# Indicates whether a customer is fully onboarded
|
161
|
+
# Output only. Indicates whether a customer is fully onboarded
|
162
162
|
# Corresponds to the JSON property `isOnboarded`
|
163
163
|
# @return [Boolean]
|
164
164
|
attr_accessor :is_onboarded
|
@@ -170,6 +170,12 @@ module Google
|
|
170
170
|
# @return [String]
|
171
171
|
attr_accessor :name
|
172
172
|
|
173
|
+
# Output only. The customer organization domain, extracted from CRM Organization’
|
174
|
+
# s display_name field. e.g. "google.com"
|
175
|
+
# Corresponds to the JSON property `organizationDomain`
|
176
|
+
# @return [String]
|
177
|
+
attr_accessor :organization_domain
|
178
|
+
|
173
179
|
def initialize(**args)
|
174
180
|
update!(**args)
|
175
181
|
end
|
@@ -180,6 +186,7 @@ module Google
|
|
180
186
|
@display_name = args[:display_name] if args.key?(:display_name)
|
181
187
|
@is_onboarded = args[:is_onboarded] if args.key?(:is_onboarded)
|
182
188
|
@name = args[:name] if args.key?(:name)
|
189
|
+
@organization_domain = args[:organization_domain] if args.key?(:organization_domain)
|
183
190
|
end
|
184
191
|
end
|
185
192
|
|
@@ -324,6 +331,22 @@ module Google
|
|
324
331
|
end
|
325
332
|
end
|
326
333
|
|
334
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
335
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
336
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
337
|
+
# protobuf.Empty) returns (google.protobuf.Empty); `
|
338
|
+
class Empty
|
339
|
+
include Google::Apis::Core::Hashable
|
340
|
+
|
341
|
+
def initialize(**args)
|
342
|
+
update!(**args)
|
343
|
+
end
|
344
|
+
|
345
|
+
# Update properties of this object
|
346
|
+
def update!(**args)
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
327
350
|
# Remediation instructions to resolve violation via gcloud cli
|
328
351
|
class Gcloud
|
329
352
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module CloudcontrolspartnerV1beta
|
18
18
|
# Version of the google-apis-cloudcontrolspartner_v1beta 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
|
-
GENERATOR_VERSION = "0.15.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241024"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class Empty
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class Gcloud
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -216,6 +222,7 @@ module Google
|
|
216
222
|
property :display_name, as: 'displayName'
|
217
223
|
property :is_onboarded, as: 'isOnboarded'
|
218
224
|
property :name, as: 'name'
|
225
|
+
property :organization_domain, as: 'organizationDomain'
|
219
226
|
end
|
220
227
|
end
|
221
228
|
|
@@ -264,6 +271,12 @@ module Google
|
|
264
271
|
end
|
265
272
|
end
|
266
273
|
|
274
|
+
class Empty
|
275
|
+
# @private
|
276
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
267
280
|
class Gcloud
|
268
281
|
# @private
|
269
282
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -82,6 +82,76 @@ module Google
|
|
82
82
|
execute_or_queue_command(command, &block)
|
83
83
|
end
|
84
84
|
|
85
|
+
# Creates a new customer.
|
86
|
+
# @param [String] parent
|
87
|
+
# Required. Parent resource Format: `organizations/`organization`/locations/`
|
88
|
+
# location``
|
89
|
+
# @param [Google::Apis::CloudcontrolspartnerV1beta::Customer] customer_object
|
90
|
+
# @param [String] customer_id
|
91
|
+
# Required. The customer id to use for the customer, which will become the final
|
92
|
+
# component of the customer's resource name. The specified value must be a valid
|
93
|
+
# Google cloud organization id.
|
94
|
+
# @param [String] fields
|
95
|
+
# Selector specifying which fields to include in a partial response.
|
96
|
+
# @param [String] quota_user
|
97
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
98
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
99
|
+
# @param [Google::Apis::RequestOptions] options
|
100
|
+
# Request-specific options
|
101
|
+
#
|
102
|
+
# @yield [result, err] Result & error if block supplied
|
103
|
+
# @yieldparam result [Google::Apis::CloudcontrolspartnerV1beta::Customer] parsed result object
|
104
|
+
# @yieldparam err [StandardError] error object if request failed
|
105
|
+
#
|
106
|
+
# @return [Google::Apis::CloudcontrolspartnerV1beta::Customer]
|
107
|
+
#
|
108
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
109
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
110
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
111
|
+
def create_organization_location_customer(parent, customer_object = nil, customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
112
|
+
command = make_simple_command(:post, 'v1beta/{+parent}/customers', options)
|
113
|
+
command.request_representation = Google::Apis::CloudcontrolspartnerV1beta::Customer::Representation
|
114
|
+
command.request_object = customer_object
|
115
|
+
command.response_representation = Google::Apis::CloudcontrolspartnerV1beta::Customer::Representation
|
116
|
+
command.response_class = Google::Apis::CloudcontrolspartnerV1beta::Customer
|
117
|
+
command.params['parent'] = parent unless parent.nil?
|
118
|
+
command.query['customerId'] = customer_id unless customer_id.nil?
|
119
|
+
command.query['fields'] = fields unless fields.nil?
|
120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
121
|
+
execute_or_queue_command(command, &block)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Delete details of a single customer
|
125
|
+
# @param [String] name
|
126
|
+
# Required. name of the resource to be deleted format: name=organizations/*/
|
127
|
+
# locations/*/customers/*
|
128
|
+
# @param [String] fields
|
129
|
+
# Selector specifying which fields to include in a partial response.
|
130
|
+
# @param [String] quota_user
|
131
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
132
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
133
|
+
# @param [Google::Apis::RequestOptions] options
|
134
|
+
# Request-specific options
|
135
|
+
#
|
136
|
+
# @yield [result, err] Result & error if block supplied
|
137
|
+
# @yieldparam result [Google::Apis::CloudcontrolspartnerV1beta::Empty] parsed result object
|
138
|
+
# @yieldparam err [StandardError] error object if request failed
|
139
|
+
#
|
140
|
+
# @return [Google::Apis::CloudcontrolspartnerV1beta::Empty]
|
141
|
+
#
|
142
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
143
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
144
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
145
|
+
def delete_organization_location_customer(name, fields: nil, quota_user: nil, options: nil, &block)
|
146
|
+
command = make_simple_command(:delete, 'v1beta/{+name}', options)
|
147
|
+
command.response_representation = Google::Apis::CloudcontrolspartnerV1beta::Empty::Representation
|
148
|
+
command.response_class = Google::Apis::CloudcontrolspartnerV1beta::Empty
|
149
|
+
command.params['name'] = name unless name.nil?
|
150
|
+
command.query['fields'] = fields unless fields.nil?
|
151
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
152
|
+
execute_or_queue_command(command, &block)
|
153
|
+
end
|
154
|
+
|
85
155
|
# Gets details of a single customer
|
86
156
|
# @param [String] name
|
87
157
|
# Required. Format: `organizations/`organization`/locations/`location`/customers/
|
@@ -158,6 +228,43 @@ module Google
|
|
158
228
|
execute_or_queue_command(command, &block)
|
159
229
|
end
|
160
230
|
|
231
|
+
# Update details of a single customer
|
232
|
+
# @param [String] name
|
233
|
+
# Identifier. Format: `organizations/`organization`/locations/`location`/
|
234
|
+
# customers/`customer``
|
235
|
+
# @param [Google::Apis::CloudcontrolspartnerV1beta::Customer] customer_object
|
236
|
+
# @param [String] update_mask
|
237
|
+
# Optional. The list of fields to update
|
238
|
+
# @param [String] fields
|
239
|
+
# Selector specifying which fields to include in a partial response.
|
240
|
+
# @param [String] quota_user
|
241
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
242
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
243
|
+
# @param [Google::Apis::RequestOptions] options
|
244
|
+
# Request-specific options
|
245
|
+
#
|
246
|
+
# @yield [result, err] Result & error if block supplied
|
247
|
+
# @yieldparam result [Google::Apis::CloudcontrolspartnerV1beta::Customer] parsed result object
|
248
|
+
# @yieldparam err [StandardError] error object if request failed
|
249
|
+
#
|
250
|
+
# @return [Google::Apis::CloudcontrolspartnerV1beta::Customer]
|
251
|
+
#
|
252
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
253
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
|
+
def patch_organization_location_customer(name, customer_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
256
|
+
command = make_simple_command(:patch, 'v1beta/{+name}', options)
|
257
|
+
command.request_representation = Google::Apis::CloudcontrolspartnerV1beta::Customer::Representation
|
258
|
+
command.request_object = customer_object
|
259
|
+
command.response_representation = Google::Apis::CloudcontrolspartnerV1beta::Customer::Representation
|
260
|
+
command.response_class = Google::Apis::CloudcontrolspartnerV1beta::Customer
|
261
|
+
command.params['name'] = name unless name.nil?
|
262
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
263
|
+
command.query['fields'] = fields unless fields.nil?
|
264
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
265
|
+
execute_or_queue_command(command, &block)
|
266
|
+
end
|
267
|
+
|
161
268
|
# Gets details of a single workload
|
162
269
|
# @param [String] name
|
163
270
|
# Required. Format: `organizations/`organization`/locations/`location`/customers/
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-cloudcontrolspartner_v1beta
|
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
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-12-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-cloudcontrolspartner_v1beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudcontrolspartner_v1beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-cloudcontrolspartner_v1beta/v0.4.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudcontrolspartner_v1beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Controls Partner API V1beta
|