google-apis-beyondcorp_v1 0.12.0 → 0.14.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: 46f679852d3393d254b4c278fed10133b24db5ad0d367ccd4dd73322397624b2
|
4
|
+
data.tar.gz: dec05a28467b272b3c69dba9f07c2d37289d7466021c5dc011eabe1434a4dd2e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a899a34f7a800ec0033686397561f549bba27863b482551155b277c5375b39172ed6afead71a873ba41791d788e013e51f1866a689811142296ce054fce43594
|
7
|
+
data.tar.gz: bfd290bfc864435abd068c798c2be3b5eb3113ead9b7d89083cda4d245cddf0cf6ad618b3b399533fde3431ae2983ffda3e2e6d7c0884499dc250daaef094654
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1
|
2
2
|
|
3
|
+
### v0.14.0 (2023-05-07)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230501
|
6
|
+
|
7
|
+
### v0.13.0 (2023-04-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230425
|
10
|
+
|
3
11
|
### v0.12.0 (2023-04-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230406
|
@@ -1646,6 +1646,124 @@ module Google
|
|
1646
1646
|
end
|
1647
1647
|
end
|
1648
1648
|
|
1649
|
+
# Represents the metadata of the long-running operation.
|
1650
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata
|
1651
|
+
include Google::Apis::Core::Hashable
|
1652
|
+
|
1653
|
+
# Output only. API version used to start the operation.
|
1654
|
+
# Corresponds to the JSON property `apiVersion`
|
1655
|
+
# @return [String]
|
1656
|
+
attr_accessor :api_version
|
1657
|
+
|
1658
|
+
# Output only. The time the operation was created.
|
1659
|
+
# Corresponds to the JSON property `createTime`
|
1660
|
+
# @return [String]
|
1661
|
+
attr_accessor :create_time
|
1662
|
+
|
1663
|
+
# Output only. The time the operation finished running.
|
1664
|
+
# Corresponds to the JSON property `endTime`
|
1665
|
+
# @return [String]
|
1666
|
+
attr_accessor :end_time
|
1667
|
+
|
1668
|
+
# Output only. Identifies whether the caller has requested cancellation of the
|
1669
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
1670
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1671
|
+
# CANCELLED`.
|
1672
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1673
|
+
# @return [Boolean]
|
1674
|
+
attr_accessor :requested_cancellation
|
1675
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1676
|
+
|
1677
|
+
# Output only. Human-readable status of the operation, if any.
|
1678
|
+
# Corresponds to the JSON property `statusMessage`
|
1679
|
+
# @return [String]
|
1680
|
+
attr_accessor :status_message
|
1681
|
+
|
1682
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1683
|
+
# Corresponds to the JSON property `target`
|
1684
|
+
# @return [String]
|
1685
|
+
attr_accessor :target
|
1686
|
+
|
1687
|
+
# Output only. Name of the verb executed by the operation.
|
1688
|
+
# Corresponds to the JSON property `verb`
|
1689
|
+
# @return [String]
|
1690
|
+
attr_accessor :verb
|
1691
|
+
|
1692
|
+
def initialize(**args)
|
1693
|
+
update!(**args)
|
1694
|
+
end
|
1695
|
+
|
1696
|
+
# Update properties of this object
|
1697
|
+
def update!(**args)
|
1698
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1699
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1700
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1701
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1702
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1703
|
+
@target = args[:target] if args.key?(:target)
|
1704
|
+
@verb = args[:verb] if args.key?(:verb)
|
1705
|
+
end
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
# Represents the metadata of the long-running operation.
|
1709
|
+
class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata
|
1710
|
+
include Google::Apis::Core::Hashable
|
1711
|
+
|
1712
|
+
# Output only. API version used to start the operation.
|
1713
|
+
# Corresponds to the JSON property `apiVersion`
|
1714
|
+
# @return [String]
|
1715
|
+
attr_accessor :api_version
|
1716
|
+
|
1717
|
+
# Output only. The time the operation was created.
|
1718
|
+
# Corresponds to the JSON property `createTime`
|
1719
|
+
# @return [String]
|
1720
|
+
attr_accessor :create_time
|
1721
|
+
|
1722
|
+
# Output only. The time the operation finished running.
|
1723
|
+
# Corresponds to the JSON property `endTime`
|
1724
|
+
# @return [String]
|
1725
|
+
attr_accessor :end_time
|
1726
|
+
|
1727
|
+
# Output only. Identifies whether the caller has requested cancellation of the
|
1728
|
+
# operation. Operations that have successfully been cancelled have Operation.
|
1729
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1730
|
+
# CANCELLED`.
|
1731
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1732
|
+
# @return [Boolean]
|
1733
|
+
attr_accessor :requested_cancellation
|
1734
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1735
|
+
|
1736
|
+
# Output only. Human-readable status of the operation, if any.
|
1737
|
+
# Corresponds to the JSON property `statusMessage`
|
1738
|
+
# @return [String]
|
1739
|
+
attr_accessor :status_message
|
1740
|
+
|
1741
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1742
|
+
# Corresponds to the JSON property `target`
|
1743
|
+
# @return [String]
|
1744
|
+
attr_accessor :target
|
1745
|
+
|
1746
|
+
# Output only. Name of the verb executed by the operation.
|
1747
|
+
# Corresponds to the JSON property `verb`
|
1748
|
+
# @return [String]
|
1749
|
+
attr_accessor :verb
|
1750
|
+
|
1751
|
+
def initialize(**args)
|
1752
|
+
update!(**args)
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
# Update properties of this object
|
1756
|
+
def update!(**args)
|
1757
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
1758
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1759
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1760
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1761
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1762
|
+
@target = args[:target] if args.key?(:target)
|
1763
|
+
@verb = args[:verb] if args.key?(:verb)
|
1764
|
+
end
|
1765
|
+
end
|
1766
|
+
|
1649
1767
|
# The response message for Locations.ListLocations.
|
1650
1768
|
class GoogleCloudLocationListLocationsResponse
|
1651
1769
|
include Google::Apis::Core::Hashable
|
@@ -1671,7 +1789,7 @@ module Google
|
|
1671
1789
|
end
|
1672
1790
|
end
|
1673
1791
|
|
1674
|
-
# A resource that represents Google Cloud
|
1792
|
+
# A resource that represents a Google Cloud location.
|
1675
1793
|
class GoogleCloudLocationLocation
|
1676
1794
|
include Google::Apis::Core::Hashable
|
1677
1795
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BeyondcorpV1
|
18
18
|
# Version of the google-apis-beyondcorp_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.12.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20230501"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -262,6 +262,18 @@ module Google
|
|
262
262
|
include Google::Apis::Core::JsonObjectSupport
|
263
263
|
end
|
264
264
|
|
265
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
|
+
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
269
|
+
end
|
270
|
+
|
271
|
+
class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
265
277
|
class GoogleCloudLocationListLocationsResponse
|
266
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
279
|
|
@@ -786,6 +798,32 @@ module Google
|
|
786
798
|
end
|
787
799
|
end
|
788
800
|
|
801
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata
|
802
|
+
# @private
|
803
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
804
|
+
property :api_version, as: 'apiVersion'
|
805
|
+
property :create_time, as: 'createTime'
|
806
|
+
property :end_time, as: 'endTime'
|
807
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
808
|
+
property :status_message, as: 'statusMessage'
|
809
|
+
property :target, as: 'target'
|
810
|
+
property :verb, as: 'verb'
|
811
|
+
end
|
812
|
+
end
|
813
|
+
|
814
|
+
class GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata
|
815
|
+
# @private
|
816
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
817
|
+
property :api_version, as: 'apiVersion'
|
818
|
+
property :create_time, as: 'createTime'
|
819
|
+
property :end_time, as: 'endTime'
|
820
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
821
|
+
property :status_message, as: 'statusMessage'
|
822
|
+
property :target, as: 'target'
|
823
|
+
property :verb, as: 'verb'
|
824
|
+
end
|
825
|
+
end
|
826
|
+
|
789
827
|
class GoogleCloudLocationListLocationsResponse
|
790
828
|
# @private
|
791
829
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -52,6 +52,248 @@ module Google
|
|
52
52
|
@batch_path = 'batch'
|
53
53
|
end
|
54
54
|
|
55
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
56
|
+
# resource exists and does not have a policy set.
|
57
|
+
# @param [String] resource
|
58
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
59
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
60
|
+
# appropriate value for this field.
|
61
|
+
# @param [Fixnum] options_requested_policy_version
|
62
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
63
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
64
|
+
# rejected. Requests for policies with any conditional role bindings must
|
65
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
66
|
+
# valid value or leave the field unset. The policy in the response might use the
|
67
|
+
# policy version that you specified, or it might use a lower policy version. For
|
68
|
+
# example, if you specify version 3, but the policy has no conditional role
|
69
|
+
# bindings, the response uses version 1. To learn which resources support
|
70
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
71
|
+
# google.com/iam/help/conditions/resource-policies).
|
72
|
+
# @param [String] fields
|
73
|
+
# Selector specifying which fields to include in a partial response.
|
74
|
+
# @param [String] quota_user
|
75
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
76
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
77
|
+
# @param [Google::Apis::RequestOptions] options
|
78
|
+
# Request-specific options
|
79
|
+
#
|
80
|
+
# @yield [result, err] Result & error if block supplied
|
81
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
|
82
|
+
# @yieldparam err [StandardError] error object if request failed
|
83
|
+
#
|
84
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
|
85
|
+
#
|
86
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
87
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
88
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
89
|
+
def get_organization_location_global_tenant_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
90
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
91
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
92
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
93
|
+
command.params['resource'] = resource unless resource.nil?
|
94
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
95
|
+
command.query['fields'] = fields unless fields.nil?
|
96
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
97
|
+
execute_or_queue_command(command, &block)
|
98
|
+
end
|
99
|
+
|
100
|
+
# Sets the access control policy on the specified resource. Replaces any
|
101
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
102
|
+
# PERMISSION_DENIED` errors.
|
103
|
+
# @param [String] resource
|
104
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
105
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
106
|
+
# appropriate value for this field.
|
107
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
108
|
+
# @param [String] fields
|
109
|
+
# Selector specifying which fields to include in a partial response.
|
110
|
+
# @param [String] quota_user
|
111
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
112
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
113
|
+
# @param [Google::Apis::RequestOptions] options
|
114
|
+
# Request-specific options
|
115
|
+
#
|
116
|
+
# @yield [result, err] Result & error if block supplied
|
117
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
|
118
|
+
# @yieldparam err [StandardError] error object if request failed
|
119
|
+
#
|
120
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
|
121
|
+
#
|
122
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
123
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
124
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
125
|
+
def set_organization_location_global_tenant_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
126
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
127
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
|
128
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
129
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
130
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
131
|
+
command.params['resource'] = resource unless resource.nil?
|
132
|
+
command.query['fields'] = fields unless fields.nil?
|
133
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
134
|
+
execute_or_queue_command(command, &block)
|
135
|
+
end
|
136
|
+
|
137
|
+
# Returns permissions that a caller has on the specified resource. If the
|
138
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
139
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
140
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
141
|
+
# This operation may "fail open" without warning.
|
142
|
+
# @param [String] resource
|
143
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
144
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
145
|
+
# appropriate value for this field.
|
146
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
147
|
+
# @param [String] fields
|
148
|
+
# Selector specifying which fields to include in a partial response.
|
149
|
+
# @param [String] quota_user
|
150
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
151
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
152
|
+
# @param [Google::Apis::RequestOptions] options
|
153
|
+
# Request-specific options
|
154
|
+
#
|
155
|
+
# @yield [result, err] Result & error if block supplied
|
156
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
157
|
+
# @yieldparam err [StandardError] error object if request failed
|
158
|
+
#
|
159
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
160
|
+
#
|
161
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
162
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
163
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
164
|
+
def test_organization_location_global_tenant_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
165
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
166
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
167
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
168
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
169
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
170
|
+
command.params['resource'] = resource unless resource.nil?
|
171
|
+
command.query['fields'] = fields unless fields.nil?
|
172
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
173
|
+
execute_or_queue_command(command, &block)
|
174
|
+
end
|
175
|
+
|
176
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
177
|
+
# resource exists and does not have a policy set.
|
178
|
+
# @param [String] resource
|
179
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
180
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
181
|
+
# appropriate value for this field.
|
182
|
+
# @param [Fixnum] options_requested_policy_version
|
183
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
184
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
185
|
+
# rejected. Requests for policies with any conditional role bindings must
|
186
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
187
|
+
# valid value or leave the field unset. The policy in the response might use the
|
188
|
+
# policy version that you specified, or it might use a lower policy version. For
|
189
|
+
# example, if you specify version 3, but the policy has no conditional role
|
190
|
+
# bindings, the response uses version 1. To learn which resources support
|
191
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
192
|
+
# google.com/iam/help/conditions/resource-policies).
|
193
|
+
# @param [String] fields
|
194
|
+
# Selector specifying which fields to include in a partial response.
|
195
|
+
# @param [String] quota_user
|
196
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
197
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
198
|
+
# @param [Google::Apis::RequestOptions] options
|
199
|
+
# Request-specific options
|
200
|
+
#
|
201
|
+
# @yield [result, err] Result & error if block supplied
|
202
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
|
203
|
+
# @yieldparam err [StandardError] error object if request failed
|
204
|
+
#
|
205
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
|
206
|
+
#
|
207
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
208
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
|
+
def get_organization_location_global_tenant_proxy_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
212
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
213
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
214
|
+
command.params['resource'] = resource unless resource.nil?
|
215
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
216
|
+
command.query['fields'] = fields unless fields.nil?
|
217
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
218
|
+
execute_or_queue_command(command, &block)
|
219
|
+
end
|
220
|
+
|
221
|
+
# Sets the access control policy on the specified resource. Replaces any
|
222
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
223
|
+
# PERMISSION_DENIED` errors.
|
224
|
+
# @param [String] resource
|
225
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
226
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
227
|
+
# appropriate value for this field.
|
228
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
229
|
+
# @param [String] fields
|
230
|
+
# Selector specifying which fields to include in a partial response.
|
231
|
+
# @param [String] quota_user
|
232
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
233
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
234
|
+
# @param [Google::Apis::RequestOptions] options
|
235
|
+
# Request-specific options
|
236
|
+
#
|
237
|
+
# @yield [result, err] Result & error if block supplied
|
238
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1Policy] parsed result object
|
239
|
+
# @yieldparam err [StandardError] error object if request failed
|
240
|
+
#
|
241
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1Policy]
|
242
|
+
#
|
243
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
244
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
245
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
246
|
+
def set_organization_location_global_tenant_proxy_config_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
247
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
248
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1SetIamPolicyRequest::Representation
|
249
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
250
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1Policy::Representation
|
251
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1Policy
|
252
|
+
command.params['resource'] = resource unless resource.nil?
|
253
|
+
command.query['fields'] = fields unless fields.nil?
|
254
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
255
|
+
execute_or_queue_command(command, &block)
|
256
|
+
end
|
257
|
+
|
258
|
+
# Returns permissions that a caller has on the specified resource. If the
|
259
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
260
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
261
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
262
|
+
# This operation may "fail open" without warning.
|
263
|
+
# @param [String] resource
|
264
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
265
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
266
|
+
# appropriate value for this field.
|
267
|
+
# @param [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
268
|
+
# @param [String] fields
|
269
|
+
# Selector specifying which fields to include in a partial response.
|
270
|
+
# @param [String] quota_user
|
271
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
272
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
273
|
+
# @param [Google::Apis::RequestOptions] options
|
274
|
+
# Request-specific options
|
275
|
+
#
|
276
|
+
# @yield [result, err] Result & error if block supplied
|
277
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
278
|
+
# @yieldparam err [StandardError] error object if request failed
|
279
|
+
#
|
280
|
+
# @return [Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse]
|
281
|
+
#
|
282
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
283
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
284
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
285
|
+
def test_organization_location_global_tenant_proxy_config_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
286
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
287
|
+
command.request_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
288
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
289
|
+
command.response_representation = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
290
|
+
command.response_class = Google::Apis::BeyondcorpV1::GoogleIamV1TestIamPermissionsResponse
|
291
|
+
command.params['resource'] = resource unless resource.nil?
|
292
|
+
command.query['fields'] = fields unless fields.nil?
|
293
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
294
|
+
execute_or_queue_command(command, &block)
|
295
|
+
end
|
296
|
+
|
55
297
|
# Gets information about a location.
|
56
298
|
# @param [String] name
|
57
299
|
# Resource name for the location.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.14.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: 2023-
|
11
|
+
date: 2023-05-14 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-beyondcorp_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1/v0.14.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|