google-apis-networkmanagement_v1 0.61.0 → 0.62.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cb6b8de8ce3ebed9e2c1d74810797fc9e4937870c06d2471e69a9e80a0ade2a6
4
- data.tar.gz: 4048b581e3630e7fc8481ab4d27d9dfa0329fbb1725af87143f44ca4547aab64
3
+ metadata.gz: 309e732cca33145dec38d3882124304e840ced05963bf79785db39b436231580
4
+ data.tar.gz: d1e48a4e52a9d7e89b3fa95d188e454be7c4c84d747d2739b386604cfcc9ea03
5
5
  SHA512:
6
- metadata.gz: ec1a19e2224cbdb744ae2acc00ecd2358362df47113e2a76de5c3228f82d826e21d56e3b7f1ecea7ca3bf38076ec1229d7d523a9145a1e553c8884960133c042
7
- data.tar.gz: 33349b3f76c784a1c96a492580e413458934933a8bcec871fdbd2f511c228381ded5f8254e3cc329780e4a29cfd75ee23dab6582f6d587fd8041e61aa45787a5
6
+ metadata.gz: afd06e4ea29e8a6560704e445fc8b27a21bd72700f9790f6340fe571c3916fc9665771ddc59c7ceeab7cafca3af30ee95c1986588361639ad3b0c6759c714e7b
7
+ data.tar.gz: 62a7c907757bb50502691d09cd6e15ccefffc32cbf878a985a589e6b9bb1d0d68a1bc95989046bd37f2bc1e56bfea4d1e9318ab15f8e08cbd78d572b0a321d10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkmanagement_v1
2
2
 
3
+ ### v0.62.0 (2025-06-15)
4
+
5
+ * Regenerated from discovery document revision 20250604
6
+
3
7
  ### v0.61.0 (2025-06-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20250527
@@ -363,6 +363,12 @@ module Google
363
363
  class CloudRunRevisionEndpoint
364
364
  include Google::Apis::Core::Hashable
365
365
 
366
+ # Output only. The URI of the Cloud Run service that the revision belongs to.
367
+ # The format is: projects/`project`/locations/`location`/services/`service`
368
+ # Corresponds to the JSON property `serviceUri`
369
+ # @return [String]
370
+ attr_accessor :service_uri
371
+
366
372
  # A [Cloud Run](https://cloud.google.com/run) [revision](https://cloud.google.
367
373
  # com/run/docs/reference/rest/v1/namespaces.revisions/get) URI. The format is:
368
374
  # projects/`project`/locations/`location`/revisions/`revision`
@@ -376,6 +382,7 @@ module Google
376
382
 
377
383
  # Update properties of this object
378
384
  def update!(**args)
385
+ @service_uri = args[:service_uri] if args.key?(:service_uri)
379
386
  @uri = args[:uri] if args.key?(:uri)
380
387
  end
381
388
  end
@@ -1322,7 +1329,8 @@ module Google
1322
1329
  # @return [String]
1323
1330
  attr_accessor :psc_network_attachment_uri
1324
1331
 
1325
- # Indicates whether the Compute Engine instance is running.
1332
+ # Indicates whether the Compute Engine instance is running. Deprecated: use the `
1333
+ # status` field instead.
1326
1334
  # Corresponds to the JSON property `running`
1327
1335
  # @return [Boolean]
1328
1336
  attr_accessor :running
@@ -1333,6 +1341,11 @@ module Google
1333
1341
  # @return [String]
1334
1342
  attr_accessor :service_account
1335
1343
 
1344
+ # The status of the instance.
1345
+ # Corresponds to the JSON property `status`
1346
+ # @return [String]
1347
+ attr_accessor :status
1348
+
1336
1349
  # URI of a Compute Engine instance.
1337
1350
  # Corresponds to the JSON property `uri`
1338
1351
  # @return [String]
@@ -1353,6 +1366,7 @@ module Google
1353
1366
  @psc_network_attachment_uri = args[:psc_network_attachment_uri] if args.key?(:psc_network_attachment_uri)
1354
1367
  @running = args[:running] if args.key?(:running)
1355
1368
  @service_account = args[:service_account] if args.key?(:service_account)
1369
+ @status = args[:status] if args.key?(:status)
1356
1370
  @uri = args[:uri] if args.key?(:uri)
1357
1371
  end
1358
1372
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkmanagementV1
18
18
  # Version of the google-apis-networkmanagement_v1 gem
19
- GEM_VERSION = "0.61.0"
19
+ GEM_VERSION = "0.62.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 = "20250527"
25
+ REVISION = "20250604"
26
26
  end
27
27
  end
28
28
  end
@@ -480,6 +480,7 @@ module Google
480
480
  class CloudRunRevisionEndpoint
481
481
  # @private
482
482
  class Representation < Google::Apis::Core::JsonRepresentation
483
+ property :service_uri, as: 'serviceUri'
483
484
  property :uri, as: 'uri'
484
485
  end
485
486
  end
@@ -705,6 +706,7 @@ module Google
705
706
  property :psc_network_attachment_uri, as: 'pscNetworkAttachmentUri'
706
707
  property :running, as: 'running'
707
708
  property :service_account, as: 'serviceAccount'
709
+ property :status, as: 'status'
708
710
  property :uri, as: 'uri'
709
711
  end
710
712
  end
@@ -52,6 +52,227 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Gets information about a location.
56
+ # @param [String] name
57
+ # Resource name for the location.
58
+ # @param [String] fields
59
+ # Selector specifying which fields to include in a partial response.
60
+ # @param [String] quota_user
61
+ # Available to use for quota purposes for server-side applications. Can be any
62
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
63
+ # @param [Google::Apis::RequestOptions] options
64
+ # Request-specific options
65
+ #
66
+ # @yield [result, err] Result & error if block supplied
67
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Location] parsed result object
68
+ # @yieldparam err [StandardError] error object if request failed
69
+ #
70
+ # @return [Google::Apis::NetworkmanagementV1::Location]
71
+ #
72
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
73
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
74
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
75
+ def get_organization_location(name, fields: nil, quota_user: nil, options: nil, &block)
76
+ command = make_simple_command(:get, 'v1/{+name}', options)
77
+ command.response_representation = Google::Apis::NetworkmanagementV1::Location::Representation
78
+ command.response_class = Google::Apis::NetworkmanagementV1::Location
79
+ command.params['name'] = name unless name.nil?
80
+ command.query['fields'] = fields unless fields.nil?
81
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
82
+ execute_or_queue_command(command, &block)
83
+ end
84
+
85
+ # Lists information about the supported locations for this service.
86
+ # @param [String] name
87
+ # The resource that owns the locations collection, if applicable.
88
+ # @param [Array<String>, String] extra_location_types
89
+ # Optional. A list of extra location types that should be used as conditions for
90
+ # controlling the visibility of the locations.
91
+ # @param [String] filter
92
+ # A filter to narrow down results to a preferred subset. The filtering language
93
+ # accepts strings like `"displayName=tokyo"`, and is documented in more detail
94
+ # in [AIP-160](https://google.aip.dev/160).
95
+ # @param [Fixnum] page_size
96
+ # The maximum number of results to return. If not set, the service selects a
97
+ # default.
98
+ # @param [String] page_token
99
+ # A page token received from the `next_page_token` field in the response. Send
100
+ # that page token to receive the subsequent page.
101
+ # @param [String] fields
102
+ # Selector specifying which fields to include in a partial response.
103
+ # @param [String] quota_user
104
+ # Available to use for quota purposes for server-side applications. Can be any
105
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
106
+ # @param [Google::Apis::RequestOptions] options
107
+ # Request-specific options
108
+ #
109
+ # @yield [result, err] Result & error if block supplied
110
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::ListLocationsResponse] parsed result object
111
+ # @yieldparam err [StandardError] error object if request failed
112
+ #
113
+ # @return [Google::Apis::NetworkmanagementV1::ListLocationsResponse]
114
+ #
115
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
116
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
117
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
118
+ def list_organization_locations(name, extra_location_types: nil, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
119
+ command = make_simple_command(:get, 'v1/{+name}/locations', options)
120
+ command.response_representation = Google::Apis::NetworkmanagementV1::ListLocationsResponse::Representation
121
+ command.response_class = Google::Apis::NetworkmanagementV1::ListLocationsResponse
122
+ command.params['name'] = name unless name.nil?
123
+ command.query['extraLocationTypes'] = extra_location_types unless extra_location_types.nil?
124
+ command.query['filter'] = filter unless filter.nil?
125
+ command.query['pageSize'] = page_size unless page_size.nil?
126
+ command.query['pageToken'] = page_token unless page_token.nil?
127
+ command.query['fields'] = fields unless fields.nil?
128
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
129
+ execute_or_queue_command(command, &block)
130
+ end
131
+
132
+ # Starts asynchronous cancellation on a long-running operation. The server makes
133
+ # a best effort to cancel the operation, but success is not guaranteed. If the
134
+ # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
135
+ # Clients can use Operations.GetOperation or other methods to check whether the
136
+ # cancellation succeeded or whether the operation completed despite cancellation.
137
+ # On successful cancellation, the operation is not deleted; instead, it becomes
138
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
139
+ # , corresponding to `Code.CANCELLED`.
140
+ # @param [String] name
141
+ # The name of the operation resource to be cancelled.
142
+ # @param [Google::Apis::NetworkmanagementV1::CancelOperationRequest] cancel_operation_request_object
143
+ # @param [String] fields
144
+ # Selector specifying which fields to include in a partial response.
145
+ # @param [String] quota_user
146
+ # Available to use for quota purposes for server-side applications. Can be any
147
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
148
+ # @param [Google::Apis::RequestOptions] options
149
+ # Request-specific options
150
+ #
151
+ # @yield [result, err] Result & error if block supplied
152
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Empty] parsed result object
153
+ # @yieldparam err [StandardError] error object if request failed
154
+ #
155
+ # @return [Google::Apis::NetworkmanagementV1::Empty]
156
+ #
157
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
158
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
159
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
160
+ def cancel_organization_location_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
161
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
162
+ command.request_representation = Google::Apis::NetworkmanagementV1::CancelOperationRequest::Representation
163
+ command.request_object = cancel_operation_request_object
164
+ command.response_representation = Google::Apis::NetworkmanagementV1::Empty::Representation
165
+ command.response_class = Google::Apis::NetworkmanagementV1::Empty
166
+ command.params['name'] = name unless name.nil?
167
+ command.query['fields'] = fields unless fields.nil?
168
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
169
+ execute_or_queue_command(command, &block)
170
+ end
171
+
172
+ # Deletes a long-running operation. This method indicates that the client is no
173
+ # longer interested in the operation result. It does not cancel the operation.
174
+ # If the server doesn't support this method, it returns `google.rpc.Code.
175
+ # UNIMPLEMENTED`.
176
+ # @param [String] name
177
+ # The name of the operation resource to be deleted.
178
+ # @param [String] fields
179
+ # Selector specifying which fields to include in a partial response.
180
+ # @param [String] quota_user
181
+ # Available to use for quota purposes for server-side applications. Can be any
182
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
183
+ # @param [Google::Apis::RequestOptions] options
184
+ # Request-specific options
185
+ #
186
+ # @yield [result, err] Result & error if block supplied
187
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Empty] parsed result object
188
+ # @yieldparam err [StandardError] error object if request failed
189
+ #
190
+ # @return [Google::Apis::NetworkmanagementV1::Empty]
191
+ #
192
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
193
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
194
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
195
+ def delete_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
196
+ command = make_simple_command(:delete, 'v1/{+name}', options)
197
+ command.response_representation = Google::Apis::NetworkmanagementV1::Empty::Representation
198
+ command.response_class = Google::Apis::NetworkmanagementV1::Empty
199
+ command.params['name'] = name unless name.nil?
200
+ command.query['fields'] = fields unless fields.nil?
201
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
202
+ execute_or_queue_command(command, &block)
203
+ end
204
+
205
+ # Gets the latest state of a long-running operation. Clients can use this method
206
+ # to poll the operation result at intervals as recommended by the API service.
207
+ # @param [String] name
208
+ # The name of the operation resource.
209
+ # @param [String] fields
210
+ # Selector specifying which fields to include in a partial response.
211
+ # @param [String] quota_user
212
+ # Available to use for quota purposes for server-side applications. Can be any
213
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
214
+ # @param [Google::Apis::RequestOptions] options
215
+ # Request-specific options
216
+ #
217
+ # @yield [result, err] Result & error if block supplied
218
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::Operation] parsed result object
219
+ # @yieldparam err [StandardError] error object if request failed
220
+ #
221
+ # @return [Google::Apis::NetworkmanagementV1::Operation]
222
+ #
223
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
224
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
225
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
226
+ def get_organization_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
227
+ command = make_simple_command(:get, 'v1/{+name}', options)
228
+ command.response_representation = Google::Apis::NetworkmanagementV1::Operation::Representation
229
+ command.response_class = Google::Apis::NetworkmanagementV1::Operation
230
+ command.params['name'] = name unless name.nil?
231
+ command.query['fields'] = fields unless fields.nil?
232
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
233
+ execute_or_queue_command(command, &block)
234
+ end
235
+
236
+ # Lists operations that match the specified filter in the request. If the server
237
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
238
+ # @param [String] name
239
+ # The name of the operation's parent resource.
240
+ # @param [String] filter
241
+ # The standard list filter.
242
+ # @param [Fixnum] page_size
243
+ # The standard list page size.
244
+ # @param [String] page_token
245
+ # The standard list page token.
246
+ # @param [String] fields
247
+ # Selector specifying which fields to include in a partial response.
248
+ # @param [String] quota_user
249
+ # Available to use for quota purposes for server-side applications. Can be any
250
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
251
+ # @param [Google::Apis::RequestOptions] options
252
+ # Request-specific options
253
+ #
254
+ # @yield [result, err] Result & error if block supplied
255
+ # @yieldparam result [Google::Apis::NetworkmanagementV1::ListOperationsResponse] parsed result object
256
+ # @yieldparam err [StandardError] error object if request failed
257
+ #
258
+ # @return [Google::Apis::NetworkmanagementV1::ListOperationsResponse]
259
+ #
260
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
261
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
262
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
263
+ def list_organization_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
264
+ command = make_simple_command(:get, 'v1/{+name}/operations', options)
265
+ command.response_representation = Google::Apis::NetworkmanagementV1::ListOperationsResponse::Representation
266
+ command.response_class = Google::Apis::NetworkmanagementV1::ListOperationsResponse
267
+ command.params['name'] = name unless name.nil?
268
+ command.query['filter'] = filter unless filter.nil?
269
+ command.query['pageSize'] = page_size unless page_size.nil?
270
+ command.query['pageToken'] = page_token unless page_token.nil?
271
+ command.query['fields'] = fields unless fields.nil?
272
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
273
+ execute_or_queue_command(command, &block)
274
+ end
275
+
55
276
  # Gets information about a location.
56
277
  # @param [String] name
57
278
  # Resource name for the location.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.61.0
4
+ version: 0.62.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-networkmanagement_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.61.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkmanagement_v1/v0.62.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkmanagement_v1
62
62
  rdoc_options: []
63
63
  require_paths: