google-apis-networkconnectivity_v1alpha1 0.8.0 → 0.12.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: d03351bc92c137e5ab8463f4fb1d1889c7e1be4f7c2a0ca2a77b9ce7250b24c8
4
- data.tar.gz: b7a892011116ae3a46d362e17e7af235b6f87f3940b800d3e57b8548123492ed
3
+ metadata.gz: 3d98bcfdcb719ad328af731727620de8b61ae900dcb344f97b77b0c46665e116
4
+ data.tar.gz: af75887047759e26cf5299b6ce6820c0ab6d97aefd5bdb497c5a79e248a58a6a
5
5
  SHA512:
6
- metadata.gz: 0713261a2650912ba7996fc2a49e97844a487728a9b1e9fe8929dcd984792aefe8499e48e378df459c8245dac8719a4377a08e3ca6dc8c1e4c3904a2d5496006
7
- data.tar.gz: 42c891ee2c72a24e9522aa931603c8567ba9b117b58562a72d798736bb11286a9d327c351526a82ce1e1e2ba511197478635b036b360e0596e1958d9b8f7f4e0
6
+ metadata.gz: a7824c7c321b79a7b0c76eacae28a85cdf3bd193ed344680f7cccebd4ade8560e62f028fef78d0abb61e0053884506c37a22286a711d577136eb537d89a190af
7
+ data.tar.gz: 7530bf2ffeefb2e5ea7d45f1a8d0885a1e52bf9b8566bfea11cb2a5ae95189eb425416c72cde25a7af9154342f01218cb9de418b233674324c678be8ebbe10ca
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-networkconnectivity_v1alpha1
2
2
 
3
+ ### v0.12.0 (2021-11-18)
4
+
5
+ * Regenerated from discovery document revision 20211113
6
+
7
+ ### v0.11.0 (2021-10-31)
8
+
9
+ * Regenerated from discovery document revision 20211026
10
+
11
+ ### v0.10.0 (2021-10-21)
12
+
13
+ * Unspecified changes
14
+
15
+ ### v0.9.0 (2021-09-01)
16
+
17
+ * Regenerated from discovery document revision 20210810
18
+
3
19
  ### v0.8.0 (2021-07-03)
4
20
 
5
21
  * Regenerated from discovery document revision 20210701
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Networkconnectivity service in particular.)
67
67
 
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
79
79
 
80
80
  **For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
81
81
 
82
- The [product documentation](https://cloud.google.com/network-connectivity/docs) may provide guidance regarding the preferred client library to use.
82
+ The [product documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest) may provide guidance regarding the preferred client library to use.
83
83
 
84
84
  ## Supported Ruby versions
85
85
 
@@ -93,7 +93,7 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
- # Associates `members` with a `role`.
96
+ # Associates `members`, or principals, with a `role`.
97
97
  class Binding
98
98
  include Google::Apis::Core::Hashable
99
99
 
@@ -116,7 +116,7 @@ module Google
116
116
  # @return [Google::Apis::NetworkconnectivityV1alpha1::Expr]
117
117
  attr_accessor :condition
118
118
 
119
- # Specifies the identities requesting access for a Cloud Platform resource. `
119
+ # Specifies the principals requesting access for a Cloud Platform resource. `
120
120
  # members` can have the following values: * `allUsers`: A special identifier
121
121
  # that represents anyone who is on the internet; with or without a Google
122
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -146,8 +146,8 @@ module Google
146
146
  # @return [Array<String>]
147
147
  attr_accessor :members
148
148
 
149
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
- # , or `roles/owner`.
149
+ # Role that is assigned to the list of `members`, or principals. For example, `
150
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
151
151
  # Corresponds to the JSON property `role`
152
152
  # @return [String]
153
153
  attr_accessor :role
@@ -639,31 +639,31 @@ module Google
639
639
 
640
640
  # An Identity and Access Management (IAM) policy, which specifies access
641
641
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
642
- # A `binding` binds one or more `members` to a single `role`. Members can be
643
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
644
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
645
- # role or a user-created custom role. For some types of Google Cloud resources,
646
- # a `binding` can also specify a `condition`, which is a logical expression that
647
- # allows access to a resource only if the expression evaluates to `true`. A
648
- # condition can add constraints based on attributes of the request, the resource,
649
- # or both. To learn which resources support conditions in their IAM policies,
650
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
651
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
652
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
653
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
654
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
655
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
656
- # title": "expirable access", "description": "Does not grant access after Sep
657
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
658
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
659
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
660
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
661
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
662
- # roles/resourcemanager.organizationViewer condition: title: expirable access
663
- # description: Does not grant access after Sep 2020 expression: request.time <
664
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
665
- # description of IAM and its features, see the [IAM documentation](https://cloud.
666
- # google.com/iam/docs/).
642
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
643
+ # Principals can be user accounts, service accounts, Google groups, and domains (
644
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
645
+ # an IAM predefined role or a user-created custom role. For some types of Google
646
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
647
+ # logical expression that allows access to a resource only if the expression
648
+ # evaluates to `true`. A condition can add constraints based on attributes of
649
+ # the request, the resource, or both. To learn which resources support
650
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
651
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
652
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
653
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
654
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
655
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
656
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
657
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
658
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
659
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
660
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
661
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
662
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
663
+ # access description: Does not grant access after Sep 2020 expression: request.
664
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
665
+ # a description of IAM and its features, see the [IAM documentation](https://
666
+ # cloud.google.com/iam/docs/).
667
667
  class Policy
668
668
  include Google::Apis::Core::Hashable
669
669
 
@@ -672,9 +672,14 @@ module Google
672
672
  # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::AuditConfig>]
673
673
  attr_accessor :audit_configs
674
674
 
675
- # Associates a list of `members` to a `role`. Optionally, may specify a `
676
- # condition` that determines how and when the `bindings` are applied. Each of
677
- # the `bindings` must contain at least one member.
675
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
676
+ # specify a `condition` that determines how and when the `bindings` are applied.
677
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
678
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
679
+ # can be Google groups. Each occurrence of a principal counts towards these
680
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
681
+ # example.com`, and not to any other principal, then you can add another 1,450
682
+ # principals to the `bindings` in the `Policy`.
678
683
  # Corresponds to the JSON property `bindings`
679
684
  # @return [Array<Google::Apis::NetworkconnectivityV1alpha1::Binding>]
680
685
  attr_accessor :bindings
@@ -765,31 +770,31 @@ module Google
765
770
 
766
771
  # An Identity and Access Management (IAM) policy, which specifies access
767
772
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
768
- # A `binding` binds one or more `members` to a single `role`. Members can be
769
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
770
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
771
- # role or a user-created custom role. For some types of Google Cloud resources,
772
- # a `binding` can also specify a `condition`, which is a logical expression that
773
- # allows access to a resource only if the expression evaluates to `true`. A
774
- # condition can add constraints based on attributes of the request, the resource,
775
- # or both. To learn which resources support conditions in their IAM policies,
776
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
777
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
778
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
779
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
780
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
781
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
782
- # title": "expirable access", "description": "Does not grant access after Sep
783
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
784
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
785
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
786
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
787
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
788
- # roles/resourcemanager.organizationViewer condition: title: expirable access
789
- # description: Does not grant access after Sep 2020 expression: request.time <
790
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
791
- # description of IAM and its features, see the [IAM documentation](https://cloud.
792
- # google.com/iam/docs/).
773
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
774
+ # Principals can be user accounts, service accounts, Google groups, and domains (
775
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
776
+ # an IAM predefined role or a user-created custom role. For some types of Google
777
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
778
+ # logical expression that allows access to a resource only if the expression
779
+ # evaluates to `true`. A condition can add constraints based on attributes of
780
+ # the request, the resource, or both. To learn which resources support
781
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
782
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
783
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
784
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
785
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
786
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
787
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
788
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
789
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
790
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
791
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
792
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
793
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
794
+ # access description: Does not grant access after Sep 2020 expression: request.
795
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
796
+ # a description of IAM and its features, see the [IAM documentation](https://
797
+ # cloud.google.com/iam/docs/).
793
798
  # Corresponds to the JSON property `policy`
794
799
  # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
795
800
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module NetworkconnectivityV1alpha1
18
18
  # Version of the google-apis-networkconnectivity_v1alpha1 gem
19
- GEM_VERSION = "0.8.0"
19
+ GEM_VERSION = "0.12.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210701"
25
+ REVISION = "20211113"
26
26
  end
27
27
  end
28
28
  end
@@ -30,7 +30,7 @@ module Google
30
30
  # Networkconnectivity = Google::Apis::NetworkconnectivityV1alpha1 # Alias the module
31
31
  # service = Networkconnectivity::NetworkconnectivityService.new
32
32
  #
33
- # @see https://cloud.google.com/network-connectivity/docs
33
+ # @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
34
34
  class NetworkconnectivityService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -248,13 +248,16 @@ module Google
248
248
  # REQUIRED: The resource for which the policy is being requested. See the
249
249
  # operation documentation for the appropriate value for this field.
250
250
  # @param [Fixnum] options_requested_policy_version
251
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
252
- # 3. Requests specifying an invalid value will be rejected. Requests for
253
- # policies with any conditional bindings must specify version 3. Policies
254
- # without any conditional bindings may specify any valid value or leave the
255
- # field unset. To learn which resources support conditions in their IAM policies,
256
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
257
- # resource-policies).
251
+ # Optional. The maximum policy version that will be used to format the policy.
252
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
253
+ # rejected. Requests for policies with any conditional role bindings must
254
+ # specify version 3. Policies with no conditional role bindings may specify any
255
+ # valid value or leave the field unset. The policy in the response might use the
256
+ # policy version that you specified, or it might use a lower policy version. For
257
+ # example, if you specify version 3, but the policy has no conditional role
258
+ # bindings, the response uses version 1. To learn which resources support
259
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
260
+ # google.com/iam/help/conditions/resource-policies).
258
261
  # @param [String] fields
259
262
  # Selector specifying which fields to include in a partial response.
260
263
  # @param [String] quota_user
@@ -457,128 +460,16 @@ module Google
457
460
  # REQUIRED: The resource for which the policy is being requested. See the
458
461
  # operation documentation for the appropriate value for this field.
459
462
  # @param [Fixnum] options_requested_policy_version
460
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
461
- # 3. Requests specifying an invalid value will be rejected. Requests for
462
- # policies with any conditional bindings must specify version 3. Policies
463
- # without any conditional bindings may specify any valid value or leave the
464
- # field unset. To learn which resources support conditions in their IAM policies,
465
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
466
- # resource-policies).
467
- # @param [String] fields
468
- # Selector specifying which fields to include in a partial response.
469
- # @param [String] quota_user
470
- # Available to use for quota purposes for server-side applications. Can be any
471
- # arbitrary string assigned to a user, but should not exceed 40 characters.
472
- # @param [Google::Apis::RequestOptions] options
473
- # Request-specific options
474
- #
475
- # @yield [result, err] Result & error if block supplied
476
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
477
- # @yieldparam err [StandardError] error object if request failed
478
- #
479
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
480
- #
481
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
482
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
483
- # @raise [Google::Apis::AuthorizationError] Authorization is required
484
- def get_project_location_global_policy_based_route_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
485
- command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
486
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
487
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
488
- command.params['resource'] = resource unless resource.nil?
489
- command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
490
- command.query['fields'] = fields unless fields.nil?
491
- command.query['quotaUser'] = quota_user unless quota_user.nil?
492
- execute_or_queue_command(command, &block)
493
- end
494
-
495
- # Sets the access control policy on the specified resource. Replaces any
496
- # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
497
- # PERMISSION_DENIED` errors.
498
- # @param [String] resource
499
- # REQUIRED: The resource for which the policy is being specified. See the
500
- # operation documentation for the appropriate value for this field.
501
- # @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
502
- # @param [String] fields
503
- # Selector specifying which fields to include in a partial response.
504
- # @param [String] quota_user
505
- # Available to use for quota purposes for server-side applications. Can be any
506
- # arbitrary string assigned to a user, but should not exceed 40 characters.
507
- # @param [Google::Apis::RequestOptions] options
508
- # Request-specific options
509
- #
510
- # @yield [result, err] Result & error if block supplied
511
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
512
- # @yieldparam err [StandardError] error object if request failed
513
- #
514
- # @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
515
- #
516
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
517
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
518
- # @raise [Google::Apis::AuthorizationError] Authorization is required
519
- def set_policy_based_route_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
520
- command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
521
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
522
- command.request_object = set_iam_policy_request_object
523
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
524
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
525
- command.params['resource'] = resource unless resource.nil?
526
- command.query['fields'] = fields unless fields.nil?
527
- command.query['quotaUser'] = quota_user unless quota_user.nil?
528
- execute_or_queue_command(command, &block)
529
- end
530
-
531
- # Returns permissions that a caller has on the specified resource. If the
532
- # resource does not exist, this will return an empty set of permissions, not a `
533
- # NOT_FOUND` error. Note: This operation is designed to be used for building
534
- # permission-aware UIs and command-line tools, not for authorization checking.
535
- # This operation may "fail open" without warning.
536
- # @param [String] resource
537
- # REQUIRED: The resource for which the policy detail is being requested. See the
538
- # operation documentation for the appropriate value for this field.
539
- # @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
540
- # @param [String] fields
541
- # Selector specifying which fields to include in a partial response.
542
- # @param [String] quota_user
543
- # Available to use for quota purposes for server-side applications. Can be any
544
- # arbitrary string assigned to a user, but should not exceed 40 characters.
545
- # @param [Google::Apis::RequestOptions] options
546
- # Request-specific options
547
- #
548
- # @yield [result, err] Result & error if block supplied
549
- # @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
550
- # @yieldparam err [StandardError] error object if request failed
551
- #
552
- # @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
553
- #
554
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
555
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
556
- # @raise [Google::Apis::AuthorizationError] Authorization is required
557
- def test_policy_based_route_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
558
- command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
559
- command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
560
- command.request_object = test_iam_permissions_request_object
561
- command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
562
- command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
563
- command.params['resource'] = resource unless resource.nil?
564
- command.query['fields'] = fields unless fields.nil?
565
- command.query['quotaUser'] = quota_user unless quota_user.nil?
566
- execute_or_queue_command(command, &block)
567
- end
568
-
569
- # Gets the access control policy for a resource. Returns an empty policy if the
570
- # resource exists and does not have a policy set.
571
- # @param [String] resource
572
- # REQUIRED: The resource for which the policy is being requested. See the
573
- # operation documentation for the appropriate value for this field.
574
- # @param [Fixnum] options_requested_policy_version
575
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
576
- # 3. Requests specifying an invalid value will be rejected. Requests for
577
- # policies with any conditional bindings must specify version 3. Policies
578
- # without any conditional bindings may specify any valid value or leave the
579
- # field unset. To learn which resources support conditions in their IAM policies,
580
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
581
- # resource-policies).
463
+ # Optional. The maximum policy version that will be used to format the policy.
464
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
465
+ # rejected. Requests for policies with any conditional role bindings must
466
+ # specify version 3. Policies with no conditional role bindings may specify any
467
+ # valid value or leave the field unset. The policy in the response might use the
468
+ # policy version that you specified, or it might use a lower policy version. For
469
+ # example, if you specify version 3, but the policy has no conditional role
470
+ # bindings, the response uses version 1. To learn which resources support
471
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
472
+ # google.com/iam/help/conditions/resource-policies).
582
473
  # @param [String] fields
583
474
  # Selector specifying which fields to include in a partial response.
584
475
  # @param [String] quota_user
@@ -957,13 +848,16 @@ module Google
957
848
  # REQUIRED: The resource for which the policy is being requested. See the
958
849
  # operation documentation for the appropriate value for this field.
959
850
  # @param [Fixnum] options_requested_policy_version
960
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
961
- # 3. Requests specifying an invalid value will be rejected. Requests for
962
- # policies with any conditional bindings must specify version 3. Policies
963
- # without any conditional bindings may specify any valid value or leave the
964
- # field unset. To learn which resources support conditions in their IAM policies,
965
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
966
- # resource-policies).
851
+ # Optional. The maximum policy version that will be used to format the policy.
852
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
853
+ # rejected. Requests for policies with any conditional role bindings must
854
+ # specify version 3. Policies with no conditional role bindings may specify any
855
+ # valid value or leave the field unset. The policy in the response might use the
856
+ # policy version that you specified, or it might use a lower policy version. For
857
+ # example, if you specify version 3, but the policy has no conditional role
858
+ # bindings, the response uses version 1. To learn which resources support
859
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
860
+ # google.com/iam/help/conditions/resource-policies).
967
861
  # @param [String] fields
968
862
  # Selector specifying which fields to include in a partial response.
969
863
  # @param [String] quota_user
@@ -23,13 +23,13 @@ module Google
23
23
  #
24
24
  # The Network Connectivity API provides access to Network Connectivity Center.
25
25
  #
26
- # @see https://cloud.google.com/network-connectivity/docs
26
+ # @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
27
27
  module NetworkconnectivityV1alpha1
28
28
  # Version of the Network Connectivity API this client connects to.
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1alpha1'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
  end
35
35
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-networkconnectivity_v1alpha1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.12.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkconnectivity_v1alpha1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.8.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-networkconnectivity_v1alpha1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.12.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-networkconnectivity_v1alpha1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: