google-apis-cloudcontrolspartner_v1 0.7.0 → 0.8.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: 4a018f370a93902ba646ecd9a1d03edd4901d17144eab921514288cfc32d3037
4
- data.tar.gz: '090bec11e90005047bd7369990911f5c77f961bc6181b92b2e411cf7ef738b9c'
3
+ metadata.gz: 9f035ffe27deb121b2500d76e7cd8917464d50fb2995343e1bc6b6c2bd728fa7
4
+ data.tar.gz: a2242ac727934274a714d5b75743a5f51feb252226b8b39caec6a9aa5b2a25c7
5
5
  SHA512:
6
- metadata.gz: 843074700ba1ee619fd1fd239e175a9708edd4cd0c5eaeee602566872882d19b10eba107fc62baff8ac043c2598f379191583d353cc0cc5101a196278e08910c
7
- data.tar.gz: 8669baaead1675d92b39cb71430faad413d68a616b248554597174e4989b52db84ec1659069b51e75def20e77ba7145b6bb4849ab30ec6d05789280e7e60214f
6
+ metadata.gz: 38bae57ef4a2616cdfa9339b618262e81d72941e6405c2b335cba42cca8a9ad965c0b9d43567fef63aba5f8c4ba675dbbb7c4ea978d332e872b75954d315a31d
7
+ data.tar.gz: 6f66a679a625cb42cfc53fa6fed97f40fabc88cd0d1ae938cd479ed5b5cc15c7729bfaacfe97cefb4c31b40fcf298a71fdee237fa69507766638d4ba07ff6769
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-cloudcontrolspartner_v1
2
2
 
3
+ ### v0.8.0 (2024-10-27)
4
+
5
+ * Regenerated from discovery document revision 20241024
6
+
3
7
  ### v0.7.0 (2024-09-15)
4
8
 
5
9
  * Regenerated from discovery document revision 20240904
@@ -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 CloudcontrolspartnerV1
18
18
  # Version of the google-apis-cloudcontrolspartner_v1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240904"
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::CloudcontrolspartnerV1::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::CloudcontrolspartnerV1::Customer] parsed result object
104
+ # @yieldparam err [StandardError] error object if request failed
105
+ #
106
+ # @return [Google::Apis::CloudcontrolspartnerV1::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, 'v1/{+parent}/customers', options)
113
+ command.request_representation = Google::Apis::CloudcontrolspartnerV1::Customer::Representation
114
+ command.request_object = customer_object
115
+ command.response_representation = Google::Apis::CloudcontrolspartnerV1::Customer::Representation
116
+ command.response_class = Google::Apis::CloudcontrolspartnerV1::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::CloudcontrolspartnerV1::Empty] parsed result object
138
+ # @yieldparam err [StandardError] error object if request failed
139
+ #
140
+ # @return [Google::Apis::CloudcontrolspartnerV1::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, 'v1/{+name}', options)
147
+ command.response_representation = Google::Apis::CloudcontrolspartnerV1::Empty::Representation
148
+ command.response_class = Google::Apis::CloudcontrolspartnerV1::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::CloudcontrolspartnerV1::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::CloudcontrolspartnerV1::Customer] parsed result object
248
+ # @yieldparam err [StandardError] error object if request failed
249
+ #
250
+ # @return [Google::Apis::CloudcontrolspartnerV1::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, 'v1/{+name}', options)
257
+ command.request_representation = Google::Apis::CloudcontrolspartnerV1::Customer::Representation
258
+ command.request_object = customer_object
259
+ command.response_representation = Google::Apis::CloudcontrolspartnerV1::Customer::Representation
260
+ command.response_class = Google::Apis::CloudcontrolspartnerV1::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_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.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-09-15 00:00:00.000000000 Z
11
+ date: 2024-10-27 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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-cloudcontrolspartner_v1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-cloudcontrolspartner_v1/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-cloudcontrolspartner_v1
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.6
78
+ rubygems_version: 3.5.21
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Controls Partner API V1