google-apis-networkconnectivity_v1alpha1 0.7.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/networkconnectivity_v1alpha1/classes.rb +62 -57
- data/lib/google/apis/networkconnectivity_v1alpha1/gem_version.rb +3 -3
- data/lib/google/apis/networkconnectivity_v1alpha1/service.rb +2 -118
- data/lib/google/apis/networkconnectivity_v1alpha1.rb +3 -4
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 859787eb945d380cf4d5f54c7c61194327ae14aa9e02c68a4cda5a87602eb27c
|
4
|
+
data.tar.gz: 55efaf4cb85960467fbed79aa9176c5a2be1e7141f2f6e11db589e385630c77e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82a29893b1ae0160076498dbec547b26247f1288a67bca4eed82ba754255526bb6cbb37b2f7ca04e7567f8cafefb090dfcc7dbbe03f4eaa6e67a4a10e9440075
|
7
|
+
data.tar.gz: f1dc9f93c8e10a3c172d0c1fe18a8ad0613b36605929e78d9801589dadc099e6fdbaf3efb37a6ddc581da92b0e991ce5e8139a60afa39ee5253d1bc38a013703
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-networkconnectivity_v1alpha1
|
2
2
|
|
3
|
+
### v0.11.0 (2021-10-31)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20211026
|
6
|
+
|
7
|
+
### v0.10.0 (2021-10-21)
|
8
|
+
|
9
|
+
* Unspecified changes
|
10
|
+
|
11
|
+
### v0.9.0 (2021-09-01)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210810
|
14
|
+
|
15
|
+
### v0.8.0 (2021-07-03)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210701
|
18
|
+
* Regenerated using generator version 0.4.0
|
19
|
+
|
3
20
|
### v0.7.0 (2021-06-24)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210616
|
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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
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
|
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
|
150
|
-
#
|
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
|
643
|
-
# user accounts, service accounts, Google groups, and domains (
|
644
|
-
# A `role` is a named list of permissions; each `role` can be
|
645
|
-
# role or a user-created custom role. For some types of Google
|
646
|
-
# a `binding` can also specify a `condition`, which is a
|
647
|
-
# allows access to a resource only if the expression
|
648
|
-
# condition can add constraints based on attributes of
|
649
|
-
# or both. To learn which resources support
|
650
|
-
# see the [IAM documentation](https://cloud.
|
651
|
-
# resource-policies). **JSON example:** ` "
|
652
|
-
# resourcemanager.organizationAdmin", "members": [
|
653
|
-
# group:admins@example.com", "domain:google.com", "
|
654
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
655
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
656
|
-
# title": "expirable access", "description": "Does not grant
|
657
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
658
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
659
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
660
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
661
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
662
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
663
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
664
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
665
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
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
|
676
|
-
# condition` that determines how and when the `bindings` are applied.
|
677
|
-
# the `bindings` must contain at least one
|
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
|
769
|
-
# user accounts, service accounts, Google groups, and domains (
|
770
|
-
# A `role` is a named list of permissions; each `role` can be
|
771
|
-
# role or a user-created custom role. For some types of Google
|
772
|
-
# a `binding` can also specify a `condition`, which is a
|
773
|
-
# allows access to a resource only if the expression
|
774
|
-
# condition can add constraints based on attributes of
|
775
|
-
# or both. To learn which resources support
|
776
|
-
# see the [IAM documentation](https://cloud.
|
777
|
-
# resource-policies). **JSON example:** ` "
|
778
|
-
# resourcemanager.organizationAdmin", "members": [
|
779
|
-
# group:admins@example.com", "domain:google.com", "
|
780
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
781
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
782
|
-
# title": "expirable access", "description": "Does not grant
|
783
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
784
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
785
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
786
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
787
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
788
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
789
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
790
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
791
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
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.
|
19
|
+
GEM_VERSION = "0.11.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20211026"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -22,8 +22,7 @@ module Google
|
|
22
22
|
module NetworkconnectivityV1alpha1
|
23
23
|
# Network Connectivity API
|
24
24
|
#
|
25
|
-
# The Network Connectivity API
|
26
|
-
# information pertaining to network connectivity.
|
25
|
+
# The Network Connectivity API provides access to Network Connectivity Center.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/networkconnectivity_v1alpha1'
|
@@ -31,7 +30,7 @@ module Google
|
|
31
30
|
# Networkconnectivity = Google::Apis::NetworkconnectivityV1alpha1 # Alias the module
|
32
31
|
# service = Networkconnectivity::NetworkconnectivityService.new
|
33
32
|
#
|
34
|
-
# @see https://cloud.google.com/network-connectivity/docs
|
33
|
+
# @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
35
34
|
class NetworkconnectivityService < Google::Apis::Core::BaseService
|
36
35
|
# @return [String]
|
37
36
|
# API key. Your API key identifies your project and provides you with API access,
|
@@ -452,121 +451,6 @@ module Google
|
|
452
451
|
execute_or_queue_command(command, &block)
|
453
452
|
end
|
454
453
|
|
455
|
-
# Gets the access control policy for a resource. Returns an empty policy if the
|
456
|
-
# resource exists and does not have a policy set.
|
457
|
-
# @param [String] resource
|
458
|
-
# REQUIRED: The resource for which the policy is being requested. See the
|
459
|
-
# operation documentation for the appropriate value for this field.
|
460
|
-
# @param [Fixnum] options_requested_policy_version
|
461
|
-
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
462
|
-
# 3. Requests specifying an invalid value will be rejected. Requests for
|
463
|
-
# policies with any conditional bindings must specify version 3. Policies
|
464
|
-
# without any conditional bindings may specify any valid value or leave the
|
465
|
-
# field unset. To learn which resources support conditions in their IAM policies,
|
466
|
-
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
467
|
-
# resource-policies).
|
468
|
-
# @param [String] fields
|
469
|
-
# Selector specifying which fields to include in a partial response.
|
470
|
-
# @param [String] quota_user
|
471
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
472
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
473
|
-
# @param [Google::Apis::RequestOptions] options
|
474
|
-
# Request-specific options
|
475
|
-
#
|
476
|
-
# @yield [result, err] Result & error if block supplied
|
477
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
478
|
-
# @yieldparam err [StandardError] error object if request failed
|
479
|
-
#
|
480
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
481
|
-
#
|
482
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
483
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
484
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
485
|
-
def get_project_location_global_policy_based_route_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
486
|
-
command = make_simple_command(:get, 'v1alpha1/{+resource}:getIamPolicy', options)
|
487
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
488
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
489
|
-
command.params['resource'] = resource unless resource.nil?
|
490
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
491
|
-
command.query['fields'] = fields unless fields.nil?
|
492
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
493
|
-
execute_or_queue_command(command, &block)
|
494
|
-
end
|
495
|
-
|
496
|
-
# Sets the access control policy on the specified resource. Replaces any
|
497
|
-
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
498
|
-
# PERMISSION_DENIED` errors.
|
499
|
-
# @param [String] resource
|
500
|
-
# REQUIRED: The resource for which the policy is being specified. See the
|
501
|
-
# operation documentation for the appropriate value for this field.
|
502
|
-
# @param [Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest] set_iam_policy_request_object
|
503
|
-
# @param [String] fields
|
504
|
-
# Selector specifying which fields to include in a partial response.
|
505
|
-
# @param [String] quota_user
|
506
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
507
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
508
|
-
# @param [Google::Apis::RequestOptions] options
|
509
|
-
# Request-specific options
|
510
|
-
#
|
511
|
-
# @yield [result, err] Result & error if block supplied
|
512
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::Policy] parsed result object
|
513
|
-
# @yieldparam err [StandardError] error object if request failed
|
514
|
-
#
|
515
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::Policy]
|
516
|
-
#
|
517
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
518
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
519
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
520
|
-
def set_policy_based_route_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
521
|
-
command = make_simple_command(:post, 'v1alpha1/{+resource}:setIamPolicy', options)
|
522
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::SetIamPolicyRequest::Representation
|
523
|
-
command.request_object = set_iam_policy_request_object
|
524
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::Policy::Representation
|
525
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::Policy
|
526
|
-
command.params['resource'] = resource unless resource.nil?
|
527
|
-
command.query['fields'] = fields unless fields.nil?
|
528
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
529
|
-
execute_or_queue_command(command, &block)
|
530
|
-
end
|
531
|
-
|
532
|
-
# Returns permissions that a caller has on the specified resource. If the
|
533
|
-
# resource does not exist, this will return an empty set of permissions, not a `
|
534
|
-
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
535
|
-
# permission-aware UIs and command-line tools, not for authorization checking.
|
536
|
-
# This operation may "fail open" without warning.
|
537
|
-
# @param [String] resource
|
538
|
-
# REQUIRED: The resource for which the policy detail is being requested. See the
|
539
|
-
# operation documentation for the appropriate value for this field.
|
540
|
-
# @param [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
541
|
-
# @param [String] fields
|
542
|
-
# Selector specifying which fields to include in a partial response.
|
543
|
-
# @param [String] quota_user
|
544
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
545
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
546
|
-
# @param [Google::Apis::RequestOptions] options
|
547
|
-
# Request-specific options
|
548
|
-
#
|
549
|
-
# @yield [result, err] Result & error if block supplied
|
550
|
-
# @yieldparam result [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse] parsed result object
|
551
|
-
# @yieldparam err [StandardError] error object if request failed
|
552
|
-
#
|
553
|
-
# @return [Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse]
|
554
|
-
#
|
555
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
556
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
557
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
558
|
-
def test_policy_based_route_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
559
|
-
command = make_simple_command(:post, 'v1alpha1/{+resource}:testIamPermissions', options)
|
560
|
-
command.request_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsRequest::Representation
|
561
|
-
command.request_object = test_iam_permissions_request_object
|
562
|
-
command.response_representation = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse::Representation
|
563
|
-
command.response_class = Google::Apis::NetworkconnectivityV1alpha1::TestIamPermissionsResponse
|
564
|
-
command.params['resource'] = resource unless resource.nil?
|
565
|
-
command.query['fields'] = fields unless fields.nil?
|
566
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
567
|
-
execute_or_queue_command(command, &block)
|
568
|
-
end
|
569
|
-
|
570
454
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
571
455
|
# resource exists and does not have a policy set.
|
572
456
|
# @param [String] resource
|
@@ -21,16 +21,15 @@ module Google
|
|
21
21
|
module Apis
|
22
22
|
# Network Connectivity API
|
23
23
|
#
|
24
|
-
# The Network Connectivity API
|
25
|
-
# information pertaining to network connectivity.
|
24
|
+
# The Network Connectivity API provides access to Network Connectivity Center.
|
26
25
|
#
|
27
|
-
# @see https://cloud.google.com/network-connectivity/docs
|
26
|
+
# @see https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
28
27
|
module NetworkconnectivityV1alpha1
|
29
28
|
# Version of the Network Connectivity API this client connects to.
|
30
29
|
# This is NOT the gem version.
|
31
30
|
VERSION = 'V1alpha1'
|
32
31
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
32
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
34
|
end
|
36
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.
|
4
|
+
version: 0.11.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-
|
11
|
+
date: 2021-11-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-networkconnectivity_v1alpha1/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.11.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:
|