google-apis-networkservices_v1beta1 0.3.0 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d6bec729168509f33e223ceaa7f6f1c2893ba947beb6ee8c5d445645cacc5c7
|
4
|
+
data.tar.gz: ce859e6b2e159855d8b2fb4906f339d043f10db70aaecff1edc9e14886bc5024
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0caa2ecdecc6e8faad81e5e17ae4581d0f13a571c05c4bb5424cf08ad84b26621f682f701ace307d38cbef653972bad817ff535591fc350c4e6b028710827cf
|
7
|
+
data.tar.gz: 3938d33e0827272317e35915384c05bb1a3e08d332f77de780a97f150083c43056fc5173d1b4b9fcae657cd1b9eac754552447b285152e70528520108ab83232
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release history for google-apis-networkservices_v1beta1
|
2
2
|
|
3
|
+
### v0.7.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.6.0 (2021-12-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211201
|
10
|
+
|
11
|
+
### v0.5.0 (2021-11-14)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211109
|
14
|
+
|
15
|
+
### v0.4.0 (2021-10-31)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20211019
|
18
|
+
|
3
19
|
### v0.3.0 (2021-10-21)
|
4
20
|
|
5
21
|
* Unspecified changes
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/networkservices_v1beta1"
|
|
51
51
|
client = Google::Apis::NetworkservicesV1beta1::NetworkServicesService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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::NetworkservicesV1beta1::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
|
@@ -223,8 +223,7 @@ module Google
|
|
223
223
|
# Optional. This field specifies the URL of AuthorizationPolicy resource that
|
224
224
|
# applies authorization policies to the inbound traffic at the matched endpoints.
|
225
225
|
# Refer to Authorization. If this field is not specified, authorization is
|
226
|
-
# disabled(no authz checks) for this endpoint.
|
227
|
-
# EndpointPolicyType is SIDECAR_PROXY.
|
226
|
+
# disabled(no authz checks) for this endpoint.
|
228
227
|
# Corresponds to the JSON property `authorizationPolicy`
|
229
228
|
# @return [String]
|
230
229
|
attr_accessor :authorization_policy
|
@@ -678,31 +677,31 @@ module Google
|
|
678
677
|
|
679
678
|
# An Identity and Access Management (IAM) policy, which specifies access
|
680
679
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
681
|
-
# A `binding` binds one or more `members
|
682
|
-
# user accounts, service accounts, Google groups, and domains (
|
683
|
-
# A `role` is a named list of permissions; each `role` can be
|
684
|
-
# role or a user-created custom role. For some types of Google
|
685
|
-
# a `binding` can also specify a `condition`, which is a
|
686
|
-
# allows access to a resource only if the expression
|
687
|
-
# condition can add constraints based on attributes of
|
688
|
-
# or both. To learn which resources support
|
689
|
-
# see the [IAM documentation](https://cloud.
|
690
|
-
# resource-policies). **JSON example:** ` "
|
691
|
-
# resourcemanager.organizationAdmin", "members": [
|
692
|
-
# group:admins@example.com", "domain:google.com", "
|
693
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
694
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
695
|
-
# title": "expirable access", "description": "Does not grant
|
696
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
697
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
698
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
699
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
700
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
701
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
702
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
703
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
704
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
705
|
-
# google.com/iam/docs/).
|
680
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
681
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
682
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
683
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
684
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
685
|
+
# logical expression that allows access to a resource only if the expression
|
686
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
687
|
+
# the request, the resource, or both. To learn which resources support
|
688
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
689
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
690
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
691
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
692
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
693
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
694
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
695
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
696
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
697
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
698
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
699
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
700
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
701
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
702
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
703
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
704
|
+
# cloud.google.com/iam/docs/).
|
706
705
|
class Policy
|
707
706
|
include Google::Apis::Core::Hashable
|
708
707
|
|
@@ -711,9 +710,14 @@ module Google
|
|
711
710
|
# @return [Array<Google::Apis::NetworkservicesV1beta1::AuditConfig>]
|
712
711
|
attr_accessor :audit_configs
|
713
712
|
|
714
|
-
# Associates a list of `members
|
715
|
-
# condition` that determines how and when the `bindings` are applied.
|
716
|
-
# the `bindings` must contain at least one
|
713
|
+
# Associates a list of `members`, or principals, with a `role`. Optionally, may
|
714
|
+
# specify a `condition` that determines how and when the `bindings` are applied.
|
715
|
+
# Each of the `bindings` must contain at least one principal. The `bindings` in
|
716
|
+
# a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
|
717
|
+
# can be Google groups. Each occurrence of a principal counts towards these
|
718
|
+
# limits. For example, if the `bindings` grant 50 different roles to `user:alice@
|
719
|
+
# example.com`, and not to any other principal, then you can add another 1,450
|
720
|
+
# principals to the `bindings` in the `Policy`.
|
717
721
|
# Corresponds to the JSON property `bindings`
|
718
722
|
# @return [Array<Google::Apis::NetworkservicesV1beta1::Binding>]
|
719
723
|
attr_accessor :bindings
|
@@ -772,31 +776,31 @@ module Google
|
|
772
776
|
|
773
777
|
# An Identity and Access Management (IAM) policy, which specifies access
|
774
778
|
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
775
|
-
# A `binding` binds one or more `members
|
776
|
-
# user accounts, service accounts, Google groups, and domains (
|
777
|
-
# A `role` is a named list of permissions; each `role` can be
|
778
|
-
# role or a user-created custom role. For some types of Google
|
779
|
-
# a `binding` can also specify a `condition`, which is a
|
780
|
-
# allows access to a resource only if the expression
|
781
|
-
# condition can add constraints based on attributes of
|
782
|
-
# or both. To learn which resources support
|
783
|
-
# see the [IAM documentation](https://cloud.
|
784
|
-
# resource-policies). **JSON example:** ` "
|
785
|
-
# resourcemanager.organizationAdmin", "members": [
|
786
|
-
# group:admins@example.com", "domain:google.com", "
|
787
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
788
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
789
|
-
# title": "expirable access", "description": "Does not grant
|
790
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
791
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
792
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
793
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
794
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
795
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
796
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
797
|
-
# timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
798
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
799
|
-
# google.com/iam/docs/).
|
779
|
+
# A `binding` binds one or more `members`, or principals, to a single `role`.
|
780
|
+
# Principals can be user accounts, service accounts, Google groups, and domains (
|
781
|
+
# such as G Suite). A `role` is a named list of permissions; each `role` can be
|
782
|
+
# an IAM predefined role or a user-created custom role. For some types of Google
|
783
|
+
# Cloud resources, a `binding` can also specify a `condition`, which is a
|
784
|
+
# logical expression that allows access to a resource only if the expression
|
785
|
+
# evaluates to `true`. A condition can add constraints based on attributes of
|
786
|
+
# the request, the resource, or both. To learn which resources support
|
787
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
788
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
789
|
+
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
790
|
+
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
791
|
+
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
792
|
+
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
793
|
+
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
794
|
+
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
795
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
796
|
+
# bindings: - members: - user:mike@example.com - group:admins@example.com -
|
797
|
+
# domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
798
|
+
# role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
|
799
|
+
# com role: roles/resourcemanager.organizationViewer condition: title: expirable
|
800
|
+
# access description: Does not grant access after Sep 2020 expression: request.
|
801
|
+
# time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
|
802
|
+
# a description of IAM and its features, see the [IAM documentation](https://
|
803
|
+
# cloud.google.com/iam/docs/).
|
800
804
|
# Corresponds to the JSON property `policy`
|
801
805
|
# @return [Google::Apis::NetworkservicesV1beta1::Policy]
|
802
806
|
attr_accessor :policy
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.7.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 = "
|
25
|
+
REVISION = "20211201"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -228,13 +228,16 @@ module Google
|
|
228
228
|
# REQUIRED: The resource for which the policy is being requested. See the
|
229
229
|
# operation documentation for the appropriate value for this field.
|
230
230
|
# @param [Fixnum] options_requested_policy_version
|
231
|
-
# Optional. The policy
|
232
|
-
# 3. Requests specifying an invalid value will be
|
233
|
-
# policies with any conditional bindings must
|
234
|
-
#
|
235
|
-
# field unset.
|
236
|
-
#
|
237
|
-
#
|
231
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
232
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
233
|
+
# rejected. Requests for policies with any conditional role bindings must
|
234
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
235
|
+
# valid value or leave the field unset. The policy in the response might use the
|
236
|
+
# policy version that you specified, or it might use a lower policy version. For
|
237
|
+
# example, if you specify version 3, but the policy has no conditional role
|
238
|
+
# bindings, the response uses version 1. To learn which resources support
|
239
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
240
|
+
# google.com/iam/help/conditions/resource-policies).
|
238
241
|
# @param [String] fields
|
239
242
|
# Selector specifying which fields to include in a partial response.
|
240
243
|
# @param [String] quota_user
|
@@ -566,6 +569,124 @@ module Google
|
|
566
569
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
567
570
|
execute_or_queue_command(command, &block)
|
568
571
|
end
|
572
|
+
|
573
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
574
|
+
# resource exists and does not have a policy set.
|
575
|
+
# @param [String] resource
|
576
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
577
|
+
# operation documentation for the appropriate value for this field.
|
578
|
+
# @param [Fixnum] options_requested_policy_version
|
579
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
580
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
581
|
+
# rejected. Requests for policies with any conditional role bindings must
|
582
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
583
|
+
# valid value or leave the field unset. The policy in the response might use the
|
584
|
+
# policy version that you specified, or it might use a lower policy version. For
|
585
|
+
# example, if you specify version 3, but the policy has no conditional role
|
586
|
+
# bindings, the response uses version 1. To learn which resources support
|
587
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
588
|
+
# google.com/iam/help/conditions/resource-policies).
|
589
|
+
# @param [String] fields
|
590
|
+
# Selector specifying which fields to include in a partial response.
|
591
|
+
# @param [String] quota_user
|
592
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
593
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
594
|
+
# @param [Google::Apis::RequestOptions] options
|
595
|
+
# Request-specific options
|
596
|
+
#
|
597
|
+
# @yield [result, err] Result & error if block supplied
|
598
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
|
599
|
+
# @yieldparam err [StandardError] error object if request failed
|
600
|
+
#
|
601
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Policy]
|
602
|
+
#
|
603
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
604
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
605
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
606
|
+
def get_project_location_service_binding_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
607
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
608
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
|
609
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
|
610
|
+
command.params['resource'] = resource unless resource.nil?
|
611
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
612
|
+
command.query['fields'] = fields unless fields.nil?
|
613
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
614
|
+
execute_or_queue_command(command, &block)
|
615
|
+
end
|
616
|
+
|
617
|
+
# Sets the access control policy on the specified resource. Replaces any
|
618
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
619
|
+
# PERMISSION_DENIED` errors.
|
620
|
+
# @param [String] resource
|
621
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
622
|
+
# operation documentation for the appropriate value for this field.
|
623
|
+
# @param [Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
624
|
+
# @param [String] fields
|
625
|
+
# Selector specifying which fields to include in a partial response.
|
626
|
+
# @param [String] quota_user
|
627
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
628
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
629
|
+
# @param [Google::Apis::RequestOptions] options
|
630
|
+
# Request-specific options
|
631
|
+
#
|
632
|
+
# @yield [result, err] Result & error if block supplied
|
633
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::Policy] parsed result object
|
634
|
+
# @yieldparam err [StandardError] error object if request failed
|
635
|
+
#
|
636
|
+
# @return [Google::Apis::NetworkservicesV1beta1::Policy]
|
637
|
+
#
|
638
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
639
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
640
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
641
|
+
def set_service_binding_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
642
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
643
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::SetIamPolicyRequest::Representation
|
644
|
+
command.request_object = set_iam_policy_request_object
|
645
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::Policy::Representation
|
646
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::Policy
|
647
|
+
command.params['resource'] = resource unless resource.nil?
|
648
|
+
command.query['fields'] = fields unless fields.nil?
|
649
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
650
|
+
execute_or_queue_command(command, &block)
|
651
|
+
end
|
652
|
+
|
653
|
+
# Returns permissions that a caller has on the specified resource. If the
|
654
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
655
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
656
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
657
|
+
# This operation may "fail open" without warning.
|
658
|
+
# @param [String] resource
|
659
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
660
|
+
# operation documentation for the appropriate value for this field.
|
661
|
+
# @param [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
662
|
+
# @param [String] fields
|
663
|
+
# Selector specifying which fields to include in a partial response.
|
664
|
+
# @param [String] quota_user
|
665
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
666
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
667
|
+
# @param [Google::Apis::RequestOptions] options
|
668
|
+
# Request-specific options
|
669
|
+
#
|
670
|
+
# @yield [result, err] Result & error if block supplied
|
671
|
+
# @yieldparam result [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse] parsed result object
|
672
|
+
# @yieldparam err [StandardError] error object if request failed
|
673
|
+
#
|
674
|
+
# @return [Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse]
|
675
|
+
#
|
676
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
677
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
678
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
679
|
+
def test_service_binding_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
680
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
681
|
+
command.request_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsRequest::Representation
|
682
|
+
command.request_object = test_iam_permissions_request_object
|
683
|
+
command.response_representation = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse::Representation
|
684
|
+
command.response_class = Google::Apis::NetworkservicesV1beta1::TestIamPermissionsResponse
|
685
|
+
command.params['resource'] = resource unless resource.nil?
|
686
|
+
command.query['fields'] = fields unless fields.nil?
|
687
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
688
|
+
execute_or_queue_command(command, &block)
|
689
|
+
end
|
569
690
|
|
570
691
|
protected
|
571
692
|
|
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.
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2022-01-10 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-networkservices_v1beta1/v0.7.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Network Services API V1beta1
|