google-apis-gkehub_v1beta1 0.1.0 → 0.2.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: a53a546fd745a4a60e9186dc6fc1556ea904788961c86a59710df51607c43db7
4
- data.tar.gz: a79e7fa604b68763488b27de22df563ff76135aa8fe3d337dd9a64a9a95dc36a
3
+ metadata.gz: c197dc1ce7a7557be61d2ecf2b6afdc9ac15ae3eaa549c7fafa29eb8e9d32539
4
+ data.tar.gz: 720079dde062f0bd475882664f86aeff6ceec097c618b6cb77b78f2c8b531c7d
5
5
  SHA512:
6
- metadata.gz: d4b4810a592e81e778d32b17ba586c556fce5c0aad2442dda5e973bb25b183fa20bd835b6bfd8df45f259cfa8ffcdf2656f4cc055c43035fa7c41fa4880c7429
7
- data.tar.gz: 409dfe2f3b65bf843067908edbe8168c5dca409b8df3c18bb8f94f755e95b6f1c5e4efb8d6e66b2174987522cf5dc6a2d2baa8803350bd823960ae401474e565
6
+ metadata.gz: b0e99e9347c53b4dd616e53cdd8fc26f1e9ae2f85594fac6baf5705227e6d69a84470bebdc071ce4079d9f2ae49c6b355932ad67334598c50774953e86b16be7
7
+ data.tar.gz: 2d74c65fcb27326c594bb570585acb6afa4ae7cd028653d5b51e3623206ec6289e1cbc604c38290fb95710f7489e3173313c6256f4c342e614b9fd5691f32e13
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-gkehub_v1beta1
2
2
 
3
+ ### v0.2.0 (2021-05-13)
4
+
5
+ * Regenerated from discovery document revision 20210507
6
+
3
7
  ### v0.1.0 (2021-03-31)
4
8
 
5
9
  * Regenerated from discovery document revision 20210315
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module GkehubV1beta1
18
18
  # Version of the google-apis-gkehub_v1beta1 gem
19
- GEM_VERSION = "0.1.0"
19
+ GEM_VERSION = "0.2.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210315"
25
+ REVISION = "20210507"
26
26
  end
27
27
  end
28
28
  end
@@ -87,7 +87,7 @@ module Google
87
87
  # accepts strings like "displayName=tokyo", and is documented in more detail in [
88
88
  # AIP-160](https://google.aip.dev/160).
89
89
  # @param [Fixnum] page_size
90
- # The maximum number of results to return. If not set, the service will select a
90
+ # The maximum number of results to return. If not set, the service selects a
91
91
  # default.
92
92
  # @param [String] page_token
93
93
  # A page token received from the `next_page_token` field in the response. Send
@@ -122,7 +122,10 @@ module Google
122
122
  execute_or_queue_command(command, &block)
123
123
  end
124
124
 
125
- # Adds a new Membership.
125
+ # Creates a new Membership. **This is currently only supported for GKE clusters
126
+ # on Google Cloud**. To register other clusters, follow the instructions at
127
+ # https://cloud.google.com/anthos/multicluster-management/connect/registering-a-
128
+ # cluster.
126
129
  # @param [String] parent
127
130
  # Required. The parent (project and location) where the Memberships will be
128
131
  # created. Specified in the format `projects/*/locations/*`.
@@ -133,6 +136,17 @@ module Google
133
136
  # consist of lower case alphanumeric characters or `-` 3. It must start and end
134
137
  # with an alphanumeric character Which can be expressed as the regex: `[a-z0-9]([
135
138
  # -a-z0-9]*[a-z0-9])?`, with a maximum length of 63 characters.
139
+ # @param [String] request_id
140
+ # Optional. A request ID to identify requests. Specify a unique request ID so
141
+ # that if you must retry your request, the server will know to ignore the
142
+ # request if it has already been completed. The server will guarantee that for
143
+ # at least 60 minutes after the first request. For example, consider a situation
144
+ # where you make an initial request and the request times out. If you make the
145
+ # request again with the same request ID, the server can check if original
146
+ # operation with the same request ID was received, and if so, will ignore the
147
+ # second request. This prevents clients from accidentally creating duplicate
148
+ # commitments. The request ID must be a valid UUID with the exception that zero
149
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
136
150
  # @param [String] fields
137
151
  # Selector specifying which fields to include in a partial response.
138
152
  # @param [String] quota_user
@@ -150,7 +164,7 @@ module Google
150
164
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
151
165
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
152
166
  # @raise [Google::Apis::AuthorizationError] Authorization is required
153
- def create_project_location_membership(parent, membership_object = nil, membership_id: nil, fields: nil, quota_user: nil, options: nil, &block)
167
+ def create_project_location_membership(parent, membership_object = nil, membership_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
154
168
  command = make_simple_command(:post, 'v1beta1/{+parent}/memberships', options)
155
169
  command.request_representation = Google::Apis::GkehubV1beta1::Membership::Representation
156
170
  command.request_object = membership_object
@@ -158,15 +172,30 @@ module Google
158
172
  command.response_class = Google::Apis::GkehubV1beta1::Operation
159
173
  command.params['parent'] = parent unless parent.nil?
160
174
  command.query['membershipId'] = membership_id unless membership_id.nil?
175
+ command.query['requestId'] = request_id unless request_id.nil?
161
176
  command.query['fields'] = fields unless fields.nil?
162
177
  command.query['quotaUser'] = quota_user unless quota_user.nil?
163
178
  execute_or_queue_command(command, &block)
164
179
  end
165
180
 
166
- # Removes a Membership.
181
+ # Removes a Membership. **This is currently only supported for GKE clusters on
182
+ # Google Cloud**. To unregister other clusters, follow the instructions at https:
183
+ # //cloud.google.com/anthos/multicluster-management/connect/unregistering-a-
184
+ # cluster.
167
185
  # @param [String] name
168
186
  # Required. The Membership resource name in the format `projects/*/locations/*/
169
187
  # memberships/*`.
188
+ # @param [String] request_id
189
+ # Optional. A request ID to identify requests. Specify a unique request ID so
190
+ # that if you must retry your request, the server will know to ignore the
191
+ # request if it has already been completed. The server will guarantee that for
192
+ # at least 60 minutes after the first request. For example, consider a situation
193
+ # where you make an initial request and the request times out. If you make the
194
+ # request again with the same request ID, the server can check if original
195
+ # operation with the same request ID was received, and if so, will ignore the
196
+ # second request. This prevents clients from accidentally creating duplicate
197
+ # commitments. The request ID must be a valid UUID with the exception that zero
198
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
170
199
  # @param [String] fields
171
200
  # Selector specifying which fields to include in a partial response.
172
201
  # @param [String] quota_user
@@ -184,17 +213,20 @@ module Google
184
213
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
185
214
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
186
215
  # @raise [Google::Apis::AuthorizationError] Authorization is required
187
- def delete_project_location_membership(name, fields: nil, quota_user: nil, options: nil, &block)
216
+ def delete_project_location_membership(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
188
217
  command = make_simple_command(:delete, 'v1beta1/{+name}', options)
189
218
  command.response_representation = Google::Apis::GkehubV1beta1::Operation::Representation
190
219
  command.response_class = Google::Apis::GkehubV1beta1::Operation
191
220
  command.params['name'] = name unless name.nil?
221
+ command.query['requestId'] = request_id unless request_id.nil?
192
222
  command.query['fields'] = fields unless fields.nil?
193
223
  command.query['quotaUser'] = quota_user unless quota_user.nil?
194
224
  execute_or_queue_command(command, &block)
195
225
  end
196
226
 
197
- # Generates the manifest for deployment of the GKE connect agent.
227
+ # Generates the manifest for deployment of the GKE connect agent. **This method
228
+ # is used internally by Google-provided libraries.** Most clients should not
229
+ # need to call this method directly.
198
230
  # @param [String] name
199
231
  # Required. The Membership resource name the Agent will associate with, in the
200
232
  # format `projects/*/locations/*/memberships/*`.
@@ -433,6 +465,17 @@ module Google
433
465
  # Required. The membership resource name in the format: `projects/[project_id]/
434
466
  # locations/global/memberships/[membership_id]`
435
467
  # @param [Google::Apis::GkehubV1beta1::Membership] membership_object
468
+ # @param [String] request_id
469
+ # Optional. A request ID to identify requests. Specify a unique request ID so
470
+ # that if you must retry your request, the server will know to ignore the
471
+ # request if it has already been completed. The server will guarantee that for
472
+ # at least 60 minutes after the first request. For example, consider a situation
473
+ # where you make an initial request and the request times out. If you make the
474
+ # request again with the same request ID, the server can check if original
475
+ # operation with the same request ID was received, and if so, will ignore the
476
+ # second request. This prevents clients from accidentally creating duplicate
477
+ # commitments. The request ID must be a valid UUID with the exception that zero
478
+ # UUID is not supported (00000000-0000-0000-0000-000000000000).
436
479
  # @param [String] update_mask
437
480
  # Required. Mask of fields to update. At least one field path must be specified
438
481
  # in this mask.
@@ -453,13 +496,14 @@ module Google
453
496
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
454
497
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
455
498
  # @raise [Google::Apis::AuthorizationError] Authorization is required
456
- def patch_project_location_membership(name, membership_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
499
+ def patch_project_location_membership(name, membership_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
457
500
  command = make_simple_command(:patch, 'v1beta1/{+name}', options)
458
501
  command.request_representation = Google::Apis::GkehubV1beta1::Membership::Representation
459
502
  command.request_object = membership_object
460
503
  command.response_representation = Google::Apis::GkehubV1beta1::Operation::Representation
461
504
  command.response_class = Google::Apis::GkehubV1beta1::Operation
462
505
  command.params['name'] = name unless name.nil?
506
+ command.query['requestId'] = request_id unless request_id.nil?
463
507
  command.query['updateMask'] = update_mask unless update_mask.nil?
464
508
  command.query['fields'] = fields unless fields.nil?
465
509
  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-gkehub_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.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-04-05 00:00:00.000000000 Z
11
+ date: 2021-05-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.1.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-gkehub_v1beta1/v0.2.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-gkehub_v1beta1
57
57
  post_install_message:
58
58
  rdoc_options: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
72
+ rubygems_version: 3.2.17
73
73
  signing_key:
74
74
  specification_version: 4
75
75
  summary: Simple REST client for GKE Hub V1beta1