google-apis-networkservices_v1beta1 0.43.0 → 0.44.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: 89ef0ec65232cccc013ed3fc467e38a107666926988295e0840e6f17947c3a12
4
- data.tar.gz: bbff12d456a29f434f446dafb97685cfc405d43570fab8758bf67e0840bd0505
3
+ metadata.gz: bac30cff2d2b946945aec30dcb4f1c10f1bc7927d4f9e536acb0b26346cf7d66
4
+ data.tar.gz: 556d1469db9ab3c884ad63ba83f451a75bc81a7cc1fca7e8f8d2f82a7f50dfbe
5
5
  SHA512:
6
- metadata.gz: c2e4684a58d7414d67131ac8ee7f3213bd700774efe6cd533b02f1918f20585a78d89b7c04fe53d2ab0170531668b9e93562fc6e05dae373ec41b1adbb943178
7
- data.tar.gz: 88b4a495d936f219c64c9497437394a416d021258709e001149e2538d4fe8e1952387d8fc7f5ffd84d807a93b4b87a220f73102b67c1821a0ceeae92723c5d48
6
+ metadata.gz: 3ff25773f7e4d1f816c62fe1e04b6d6c820bfcf331af8e83c6054fd197385e2b66a8ba9d0a42d72b1456129a6a53f4fe0b57eb28c50c921898bd272e5faec499
7
+ data.tar.gz: 2f44c467ee03f1fb3df494ff88454e0bbabe38a7af19e08e9b39518aa0ad45159434083ddbb60d5c9a44e6ec7d24d6f8de4de6e24357e4f4404bb84ed9b27951
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-networkservices_v1beta1
2
2
 
3
+ ### v0.44.0 (2024-07-25)
4
+
5
+ * Regenerated from discovery document revision 20240707
6
+
3
7
  ### v0.43.0 (2024-06-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20240613
@@ -3546,7 +3546,7 @@ module Google
3546
3546
  # @return [Array<String>]
3547
3547
  attr_accessor :meshes
3548
3548
 
3549
- # Required. Name of the TlsRoute resource. It matches pattern `projects/*/
3549
+ # Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/
3550
3550
  # locations/global/tlsRoutes/tls_route_name>`.
3551
3551
  # Corresponds to the JSON property `name`
3552
3552
  # @return [String]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkservicesV1beta1
18
18
  # Version of the google-apis-networkservices_v1beta1 gem
19
- GEM_VERSION = "0.43.0"
19
+ GEM_VERSION = "0.44.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240613"
25
+ REVISION = "20240707"
26
26
  end
27
27
  end
28
28
  end
@@ -224,51 +224,6 @@ module Google
224
224
  execute_or_queue_command(command, &block)
225
225
  end
226
226
 
227
- # Gets the access control policy for a resource. Returns an empty policy if the
228
- # resource exists and does not have a policy set.
229
- # @param [String] resource
230
- # REQUIRED: The resource for which the policy is being requested. See [Resource
231
- # names](https://cloud.google.com/apis/design/resource_names) for the
232
- # appropriate value for this field.
233
- # @param [Fixnum] options_requested_policy_version
234
- # Optional. The maximum policy version that will be used to format the policy.
235
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
236
- # rejected. Requests for policies with any conditional role bindings must
237
- # specify version 3. Policies with no conditional role bindings may specify any
238
- # valid value or leave the field unset. The policy in the response might use the
239
- # policy version that you specified, or it might use a lower policy version. For
240
- # example, if you specify version 3, but the policy has no conditional role
241
- # bindings, the response uses version 1. To learn which resources support
242
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
243
- # google.com/iam/help/conditions/resource-policies).
244
- # @param [String] fields
245
- # Selector specifying which fields to include in a partial response.
246
- # @param [String] quota_user
247
- # Available to use for quota purposes for server-side applications. Can be any
248
- # arbitrary string assigned to a user, but should not exceed 40 characters.
249
- # @param [Google::Apis::RequestOptions] options
250
- # Request-specific options
251
- #
252
- # @yield [result, err] Result & error if block supplied
253
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
254
- # @yieldparam err [StandardError] error object if request failed
255
- #
256
- # @return [Google::Apis::NetworkservicesV1beta1::Policy]
257
- #
258
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
259
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
260
- # @raise [Google::Apis::AuthorizationError] Authorization is required
261
- def get_project_location_endpoint_policy_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
262
- command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
263
- command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
264
- command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
265
- command.params['resource'] = resource unless resource.nil?
266
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
267
- command.query['fields'] = fields unless fields.nil?
268
- command.query['quotaUser'] = quota_user unless quota_user.nil?
269
- execute_or_queue_command(command, &block)
270
- end
271
-
272
227
  # Lists EndpointPolicies in a given project and location.
273
228
  # @param [String] parent
274
229
  # Required. The project and location from which the EndpointPolicies should be
@@ -349,82 +304,6 @@ module Google
349
304
  execute_or_queue_command(command, &block)
350
305
  end
351
306
 
352
- # Sets the access control policy on the specified resource. Replaces any
353
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
354
- # PERMISSION_DENIED` errors.
355
- # @param [String] resource
356
- # REQUIRED: The resource for which the policy is being specified. See [Resource
357
- # names](https://cloud.google.com/apis/design/resource_names) for the
358
- # appropriate value for this field.
359
- # @param [Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
360
- # @param [String] fields
361
- # Selector specifying which fields to include in a partial response.
362
- # @param [String] quota_user
363
- # Available to use for quota purposes for server-side applications. Can be any
364
- # arbitrary string assigned to a user, but should not exceed 40 characters.
365
- # @param [Google::Apis::RequestOptions] options
366
- # Request-specific options
367
- #
368
- # @yield [result, err] Result & error if block supplied
369
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
370
- # @yieldparam err [StandardError] error object if request failed
371
- #
372
- # @return [Google::Apis::NetworkservicesV1beta1::Policy]
373
- #
374
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
375
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
376
- # @raise [Google::Apis::AuthorizationError] Authorization is required
377
- def set_endpoint_policy_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
378
- command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
379
- command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation
380
- command.request_object = set_iam_policy_request_object
381
- command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
382
- command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
383
- command.params['resource'] = resource unless resource.nil?
384
- command.query['fields'] = fields unless fields.nil?
385
- command.query['quotaUser'] = quota_user unless quota_user.nil?
386
- execute_or_queue_command(command, &block)
387
- end
388
-
389
- # Returns permissions that a caller has on the specified resource. If the
390
- # resource does not exist, this will return an empty set of permissions, not a `
391
- # NOT_FOUND` error. Note: This operation is designed to be used for building
392
- # permission-aware UIs and command-line tools, not for authorization checking.
393
- # This operation may "fail open" without warning.
394
- # @param [String] resource
395
- # REQUIRED: The resource for which the policy detail is being requested. See [
396
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
397
- # appropriate value for this field.
398
- # @param [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
399
- # @param [String] fields
400
- # Selector specifying which fields to include in a partial response.
401
- # @param [String] quota_user
402
- # Available to use for quota purposes for server-side applications. Can be any
403
- # arbitrary string assigned to a user, but should not exceed 40 characters.
404
- # @param [Google::Apis::RequestOptions] options
405
- # Request-specific options
406
- #
407
- # @yield [result, err] Result & error if block supplied
408
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse] parsed result object
409
- # @yieldparam err [StandardError] error object if request failed
410
- #
411
- # @return [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse]
412
- #
413
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
414
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
415
- # @raise [Google::Apis::AuthorizationError] Authorization is required
416
- def test_endpoint_policy_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
417
- command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
418
- command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation
419
- command.request_object = test_iam_permissions_request_object
420
- command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation
421
- command.response_class = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
422
- command.params['resource'] = resource unless resource.nil?
423
- command.query['fields'] = fields unless fields.nil?
424
- command.query['quotaUser'] = quota_user unless quota_user.nil?
425
- execute_or_queue_command(command, &block)
426
- end
427
-
428
307
  # Creates a new Gateway in a given project and location.
429
308
  # @param [String] parent
430
309
  # Required. The parent resource of the Gateway. Must be in the format `projects/*
@@ -524,51 +403,6 @@ module Google
524
403
  execute_or_queue_command(command, &block)
525
404
  end
526
405
 
527
- # Gets the access control policy for a resource. Returns an empty policy if the
528
- # resource exists and does not have a policy set.
529
- # @param [String] resource
530
- # REQUIRED: The resource for which the policy is being requested. See [Resource
531
- # names](https://cloud.google.com/apis/design/resource_names) for the
532
- # appropriate value for this field.
533
- # @param [Fixnum] options_requested_policy_version
534
- # Optional. The maximum policy version that will be used to format the policy.
535
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
536
- # rejected. Requests for policies with any conditional role bindings must
537
- # specify version 3. Policies with no conditional role bindings may specify any
538
- # valid value or leave the field unset. The policy in the response might use the
539
- # policy version that you specified, or it might use a lower policy version. For
540
- # example, if you specify version 3, but the policy has no conditional role
541
- # bindings, the response uses version 1. To learn which resources support
542
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
543
- # google.com/iam/help/conditions/resource-policies).
544
- # @param [String] fields
545
- # Selector specifying which fields to include in a partial response.
546
- # @param [String] quota_user
547
- # Available to use for quota purposes for server-side applications. Can be any
548
- # arbitrary string assigned to a user, but should not exceed 40 characters.
549
- # @param [Google::Apis::RequestOptions] options
550
- # Request-specific options
551
- #
552
- # @yield [result, err] Result & error if block supplied
553
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
554
- # @yieldparam err [StandardError] error object if request failed
555
- #
556
- # @return [Google::Apis::NetworkservicesV1beta1::Policy]
557
- #
558
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
559
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
560
- # @raise [Google::Apis::AuthorizationError] Authorization is required
561
- def get_project_location_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
562
- command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
563
- command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
564
- command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
565
- command.params['resource'] = resource unless resource.nil?
566
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
567
- command.query['fields'] = fields unless fields.nil?
568
- command.query['quotaUser'] = quota_user unless quota_user.nil?
569
- execute_or_queue_command(command, &block)
570
- end
571
-
572
406
  # Lists Gateways in a given project and location.
573
407
  # @param [String] parent
574
408
  # Required. The project and location from which the Gateways should be listed,
@@ -649,82 +483,6 @@ module Google
649
483
  execute_or_queue_command(command, &block)
650
484
  end
651
485
 
652
- # Sets the access control policy on the specified resource. Replaces any
653
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
654
- # PERMISSION_DENIED` errors.
655
- # @param [String] resource
656
- # REQUIRED: The resource for which the policy is being specified. See [Resource
657
- # names](https://cloud.google.com/apis/design/resource_names) for the
658
- # appropriate value for this field.
659
- # @param [Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
660
- # @param [String] fields
661
- # Selector specifying which fields to include in a partial response.
662
- # @param [String] quota_user
663
- # Available to use for quota purposes for server-side applications. Can be any
664
- # arbitrary string assigned to a user, but should not exceed 40 characters.
665
- # @param [Google::Apis::RequestOptions] options
666
- # Request-specific options
667
- #
668
- # @yield [result, err] Result & error if block supplied
669
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
670
- # @yieldparam err [StandardError] error object if request failed
671
- #
672
- # @return [Google::Apis::NetworkservicesV1beta1::Policy]
673
- #
674
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
675
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
676
- # @raise [Google::Apis::AuthorizationError] Authorization is required
677
- def set_gateway_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
678
- command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
679
- command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation
680
- command.request_object = set_iam_policy_request_object
681
- command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
682
- command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
683
- command.params['resource'] = resource unless resource.nil?
684
- command.query['fields'] = fields unless fields.nil?
685
- command.query['quotaUser'] = quota_user unless quota_user.nil?
686
- execute_or_queue_command(command, &block)
687
- end
688
-
689
- # Returns permissions that a caller has on the specified resource. If the
690
- # resource does not exist, this will return an empty set of permissions, not a `
691
- # NOT_FOUND` error. Note: This operation is designed to be used for building
692
- # permission-aware UIs and command-line tools, not for authorization checking.
693
- # This operation may "fail open" without warning.
694
- # @param [String] resource
695
- # REQUIRED: The resource for which the policy detail is being requested. See [
696
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
697
- # appropriate value for this field.
698
- # @param [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
699
- # @param [String] fields
700
- # Selector specifying which fields to include in a partial response.
701
- # @param [String] quota_user
702
- # Available to use for quota purposes for server-side applications. Can be any
703
- # arbitrary string assigned to a user, but should not exceed 40 characters.
704
- # @param [Google::Apis::RequestOptions] options
705
- # Request-specific options
706
- #
707
- # @yield [result, err] Result & error if block supplied
708
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse] parsed result object
709
- # @yieldparam err [StandardError] error object if request failed
710
- #
711
- # @return [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse]
712
- #
713
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
714
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
715
- # @raise [Google::Apis::AuthorizationError] Authorization is required
716
- def test_gateway_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
717
- command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
718
- command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation
719
- command.request_object = test_iam_permissions_request_object
720
- command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation
721
- command.response_class = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
722
- command.params['resource'] = resource unless resource.nil?
723
- command.query['fields'] = fields unless fields.nil?
724
- command.query['quotaUser'] = quota_user unless quota_user.nil?
725
- execute_or_queue_command(command, &block)
726
- end
727
-
728
486
  # Creates a new GrpcRoute in a given project and location.
729
487
  # @param [String] parent
730
488
  # Required. The parent resource of the GrpcRoute. Must be in the format `
@@ -1630,51 +1388,6 @@ module Google
1630
1388
  execute_or_queue_command(command, &block)
1631
1389
  end
1632
1390
 
1633
- # Gets the access control policy for a resource. Returns an empty policy if the
1634
- # resource exists and does not have a policy set.
1635
- # @param [String] resource
1636
- # REQUIRED: The resource for which the policy is being requested. See [Resource
1637
- # names](https://cloud.google.com/apis/design/resource_names) for the
1638
- # appropriate value for this field.
1639
- # @param [Fixnum] options_requested_policy_version
1640
- # Optional. The maximum policy version that will be used to format the policy.
1641
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1642
- # rejected. Requests for policies with any conditional role bindings must
1643
- # specify version 3. Policies with no conditional role bindings may specify any
1644
- # valid value or leave the field unset. The policy in the response might use the
1645
- # policy version that you specified, or it might use a lower policy version. For
1646
- # example, if you specify version 3, but the policy has no conditional role
1647
- # bindings, the response uses version 1. To learn which resources support
1648
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1649
- # google.com/iam/help/conditions/resource-policies).
1650
- # @param [String] fields
1651
- # Selector specifying which fields to include in a partial response.
1652
- # @param [String] quota_user
1653
- # Available to use for quota purposes for server-side applications. Can be any
1654
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1655
- # @param [Google::Apis::RequestOptions] options
1656
- # Request-specific options
1657
- #
1658
- # @yield [result, err] Result & error if block supplied
1659
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
1660
- # @yieldparam err [StandardError] error object if request failed
1661
- #
1662
- # @return [Google::Apis::NetworkservicesV1beta1::Policy]
1663
- #
1664
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1665
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1666
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1667
- def get_project_location_mesh_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
1668
- command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
1669
- command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
1670
- command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
1671
- command.params['resource'] = resource unless resource.nil?
1672
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
1673
- command.query['fields'] = fields unless fields.nil?
1674
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1675
- execute_or_queue_command(command, &block)
1676
- end
1677
-
1678
1391
  # Lists Meshes in a given project and location.
1679
1392
  # @param [String] parent
1680
1393
  # Required. The project and location from which the Meshes should be listed,
@@ -1755,82 +1468,6 @@ module Google
1755
1468
  execute_or_queue_command(command, &block)
1756
1469
  end
1757
1470
 
1758
- # Sets the access control policy on the specified resource. Replaces any
1759
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
1760
- # PERMISSION_DENIED` errors.
1761
- # @param [String] resource
1762
- # REQUIRED: The resource for which the policy is being specified. See [Resource
1763
- # names](https://cloud.google.com/apis/design/resource_names) for the
1764
- # appropriate value for this field.
1765
- # @param [Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
1766
- # @param [String] fields
1767
- # Selector specifying which fields to include in a partial response.
1768
- # @param [String] quota_user
1769
- # Available to use for quota purposes for server-side applications. Can be any
1770
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1771
- # @param [Google::Apis::RequestOptions] options
1772
- # Request-specific options
1773
- #
1774
- # @yield [result, err] Result & error if block supplied
1775
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
1776
- # @yieldparam err [StandardError] error object if request failed
1777
- #
1778
- # @return [Google::Apis::NetworkservicesV1beta1::Policy]
1779
- #
1780
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1781
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1782
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1783
- def set_mesh_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1784
- command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
1785
- command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation
1786
- command.request_object = set_iam_policy_request_object
1787
- command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
1788
- command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
1789
- command.params['resource'] = resource unless resource.nil?
1790
- command.query['fields'] = fields unless fields.nil?
1791
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1792
- execute_or_queue_command(command, &block)
1793
- end
1794
-
1795
- # Returns permissions that a caller has on the specified resource. If the
1796
- # resource does not exist, this will return an empty set of permissions, not a `
1797
- # NOT_FOUND` error. Note: This operation is designed to be used for building
1798
- # permission-aware UIs and command-line tools, not for authorization checking.
1799
- # This operation may "fail open" without warning.
1800
- # @param [String] resource
1801
- # REQUIRED: The resource for which the policy detail is being requested. See [
1802
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1803
- # appropriate value for this field.
1804
- # @param [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
1805
- # @param [String] fields
1806
- # Selector specifying which fields to include in a partial response.
1807
- # @param [String] quota_user
1808
- # Available to use for quota purposes for server-side applications. Can be any
1809
- # arbitrary string assigned to a user, but should not exceed 40 characters.
1810
- # @param [Google::Apis::RequestOptions] options
1811
- # Request-specific options
1812
- #
1813
- # @yield [result, err] Result & error if block supplied
1814
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse] parsed result object
1815
- # @yieldparam err [StandardError] error object if request failed
1816
- #
1817
- # @return [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse]
1818
- #
1819
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1820
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1821
- # @raise [Google::Apis::AuthorizationError] Authorization is required
1822
- def test_mesh_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1823
- command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
1824
- command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation
1825
- command.request_object = test_iam_permissions_request_object
1826
- command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation
1827
- command.response_class = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
1828
- command.params['resource'] = resource unless resource.nil?
1829
- command.query['fields'] = fields unless fields.nil?
1830
- command.query['quotaUser'] = quota_user unless quota_user.nil?
1831
- execute_or_queue_command(command, &block)
1832
- end
1833
-
1834
1471
  # Starts asynchronous cancellation on a long-running operation. The server makes
1835
1472
  # a best effort to cancel the operation, but success is not guaranteed. If the
1836
1473
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -2074,51 +1711,6 @@ module Google
2074
1711
  execute_or_queue_command(command, &block)
2075
1712
  end
2076
1713
 
2077
- # Gets the access control policy for a resource. Returns an empty policy if the
2078
- # resource exists and does not have a policy set.
2079
- # @param [String] resource
2080
- # REQUIRED: The resource for which the policy is being requested. See [Resource
2081
- # names](https://cloud.google.com/apis/design/resource_names) for the
2082
- # appropriate value for this field.
2083
- # @param [Fixnum] options_requested_policy_version
2084
- # Optional. The maximum policy version that will be used to format the policy.
2085
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
2086
- # rejected. Requests for policies with any conditional role bindings must
2087
- # specify version 3. Policies with no conditional role bindings may specify any
2088
- # valid value or leave the field unset. The policy in the response might use the
2089
- # policy version that you specified, or it might use a lower policy version. For
2090
- # example, if you specify version 3, but the policy has no conditional role
2091
- # bindings, the response uses version 1. To learn which resources support
2092
- # conditions in their IAM policies, see the [IAM documentation](https://cloud.
2093
- # google.com/iam/help/conditions/resource-policies).
2094
- # @param [String] fields
2095
- # Selector specifying which fields to include in a partial response.
2096
- # @param [String] quota_user
2097
- # Available to use for quota purposes for server-side applications. Can be any
2098
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2099
- # @param [Google::Apis::RequestOptions] options
2100
- # Request-specific options
2101
- #
2102
- # @yield [result, err] Result & error if block supplied
2103
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
2104
- # @yieldparam err [StandardError] error object if request failed
2105
- #
2106
- # @return [Google::Apis::NetworkservicesV1beta1::Policy]
2107
- #
2108
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2109
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2110
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2111
- def get_project_location_service_binding_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
2112
- command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
2113
- command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
2114
- command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
2115
- command.params['resource'] = resource unless resource.nil?
2116
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
2117
- command.query['fields'] = fields unless fields.nil?
2118
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2119
- execute_or_queue_command(command, &block)
2120
- end
2121
-
2122
1714
  # Lists ServiceBinding in a given project and location.
2123
1715
  # @param [String] parent
2124
1716
  # Required. The project and location from which the ServiceBindings should be
@@ -2158,82 +1750,6 @@ module Google
2158
1750
  execute_or_queue_command(command, &block)
2159
1751
  end
2160
1752
 
2161
- # Sets the access control policy on the specified resource. Replaces any
2162
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
2163
- # PERMISSION_DENIED` errors.
2164
- # @param [String] resource
2165
- # REQUIRED: The resource for which the policy is being specified. See [Resource
2166
- # names](https://cloud.google.com/apis/design/resource_names) for the
2167
- # appropriate value for this field.
2168
- # @param [Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
2169
- # @param [String] fields
2170
- # Selector specifying which fields to include in a partial response.
2171
- # @param [String] quota_user
2172
- # Available to use for quota purposes for server-side applications. Can be any
2173
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2174
- # @param [Google::Apis::RequestOptions] options
2175
- # Request-specific options
2176
- #
2177
- # @yield [result, err] Result & error if block supplied
2178
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
2179
- # @yieldparam err [StandardError] error object if request failed
2180
- #
2181
- # @return [Google::Apis::NetworkservicesV1beta1::Policy]
2182
- #
2183
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2184
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2185
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2186
- def set_service_binding_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2187
- command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
2188
- command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation
2189
- command.request_object = set_iam_policy_request_object
2190
- command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
2191
- command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
2192
- command.params['resource'] = resource unless resource.nil?
2193
- command.query['fields'] = fields unless fields.nil?
2194
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2195
- execute_or_queue_command(command, &block)
2196
- end
2197
-
2198
- # Returns permissions that a caller has on the specified resource. If the
2199
- # resource does not exist, this will return an empty set of permissions, not a `
2200
- # NOT_FOUND` error. Note: This operation is designed to be used for building
2201
- # permission-aware UIs and command-line tools, not for authorization checking.
2202
- # This operation may "fail open" without warning.
2203
- # @param [String] resource
2204
- # REQUIRED: The resource for which the policy detail is being requested. See [
2205
- # Resource names](https://cloud.google.com/apis/design/resource_names) for the
2206
- # appropriate value for this field.
2207
- # @param [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
2208
- # @param [String] fields
2209
- # Selector specifying which fields to include in a partial response.
2210
- # @param [String] quota_user
2211
- # Available to use for quota purposes for server-side applications. Can be any
2212
- # arbitrary string assigned to a user, but should not exceed 40 characters.
2213
- # @param [Google::Apis::RequestOptions] options
2214
- # Request-specific options
2215
- #
2216
- # @yield [result, err] Result & error if block supplied
2217
- # @yieldparam result [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse] parsed result object
2218
- # @yieldparam err [StandardError] error object if request failed
2219
- #
2220
- # @return [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse]
2221
- #
2222
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2223
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2224
- # @raise [Google::Apis::AuthorizationError] Authorization is required
2225
- def test_service_binding_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2226
- command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
2227
- command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation
2228
- command.request_object = test_iam_permissions_request_object
2229
- command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation
2230
- command.response_class = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
2231
- command.params['resource'] = resource unless resource.nil?
2232
- command.query['fields'] = fields unless fields.nil?
2233
- command.query['quotaUser'] = quota_user unless quota_user.nil?
2234
- execute_or_queue_command(command, &block)
2235
- end
2236
-
2237
1753
  # Creates a new ServiceLbPolicy in a given project and location.
2238
1754
  # @param [String] parent
2239
1755
  # Required. The parent resource of the ServiceLbPolicy. Must be in the format `
@@ -2855,7 +2371,7 @@ module Google
2855
2371
 
2856
2372
  # Updates the parameters of a single TlsRoute.
2857
2373
  # @param [String] name
2858
- # Required. Name of the TlsRoute resource. It matches pattern `projects/*/
2374
+ # Identifier. Name of the TlsRoute resource. It matches pattern `projects/*/
2859
2375
  # locations/global/tlsRoutes/tls_route_name>`.
2860
2376
  # @param [Google::Apis::NetworkservicesV1beta1::TlsRoute] tls_route_object
2861
2377
  # @param [String] update_mask
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkservices_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.44.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-06-23 00:00:00.000000000 Z
11
+ date: 2024-07-25 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-networkservices_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.43.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.44.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkservices_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []