google-apis-beyondcorp_v1alpha 0.19.0 → 0.21.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 +8 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +119 -11
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +63 -2
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +817 -20
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 189c62461b095c08002d4dce0db339a893ffe3fbde2f5d686260bcbc72669b38
|
4
|
+
data.tar.gz: 963708c750fb06ba49e5b645b9931f4315c738b6b7992dff86248f537d0b4d25
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1c444de1a7d3d68c5ba128d365b3d4764d5e679c7bf0d97e5c9ecb95ad48631add76906745804ecfa691456adc2adc282fbcadf2dd9e26d4bad69150ceb692
|
7
|
+
data.tar.gz: 9603319112c1a9be76cc7a12bf975b7e285a6ee730d94e51f3901f5460d67c37a895c66a4241ec3806fc14dbb16e8f0076383ac0f6c9d6271c3437da6cf5868f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1alpha
|
2
2
|
|
3
|
+
### v0.21.0 (2023-06-11)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230531
|
6
|
+
|
7
|
+
### v0.20.0 (2023-05-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230517
|
10
|
+
|
3
11
|
### v0.19.0 (2023-05-21)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230509
|
@@ -2121,6 +2121,38 @@ module Google
|
|
2121
2121
|
end
|
2122
2122
|
end
|
2123
2123
|
|
2124
|
+
# Browser DLP Rule for a PartnerTenant
|
2125
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule
|
2126
|
+
include Google::Apis::Core::Hashable
|
2127
|
+
|
2128
|
+
# Message to capture group information
|
2129
|
+
# Corresponds to the JSON property `group`
|
2130
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup]
|
2131
|
+
attr_accessor :group
|
2132
|
+
|
2133
|
+
# Output only. Unique resource name. The name is ignored when creating
|
2134
|
+
# BrowserDlpRule.
|
2135
|
+
# Corresponds to the JSON property `name`
|
2136
|
+
# @return [String]
|
2137
|
+
attr_accessor :name
|
2138
|
+
|
2139
|
+
# Message to capture settings for a BrowserDlpRule
|
2140
|
+
# Corresponds to the JSON property `ruleSetting`
|
2141
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting]
|
2142
|
+
attr_accessor :rule_setting
|
2143
|
+
|
2144
|
+
def initialize(**args)
|
2145
|
+
update!(**args)
|
2146
|
+
end
|
2147
|
+
|
2148
|
+
# Update properties of this object
|
2149
|
+
def update!(**args)
|
2150
|
+
@group = args[:group] if args.key?(:group)
|
2151
|
+
@name = args[:name] if args.key?(:name)
|
2152
|
+
@rule_setting = args[:rule_setting] if args.key?(:rule_setting)
|
2153
|
+
end
|
2154
|
+
end
|
2155
|
+
|
2124
2156
|
# Message contains the JWT encryption information for the proxy server.
|
2125
2157
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
|
2126
2158
|
include Google::Apis::Core::Hashable
|
@@ -2146,6 +2178,63 @@ module Google
|
|
2146
2178
|
end
|
2147
2179
|
end
|
2148
2180
|
|
2181
|
+
# Message to capture group information
|
2182
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaGroup
|
2183
|
+
include Google::Apis::Core::Hashable
|
2184
|
+
|
2185
|
+
# The group email id
|
2186
|
+
# Corresponds to the JSON property `email`
|
2187
|
+
# @return [String]
|
2188
|
+
attr_accessor :email
|
2189
|
+
|
2190
|
+
# Google group id
|
2191
|
+
# Corresponds to the JSON property `id`
|
2192
|
+
# @return [String]
|
2193
|
+
attr_accessor :id
|
2194
|
+
|
2195
|
+
def initialize(**args)
|
2196
|
+
update!(**args)
|
2197
|
+
end
|
2198
|
+
|
2199
|
+
# Update properties of this object
|
2200
|
+
def update!(**args)
|
2201
|
+
@email = args[:email] if args.key?(:email)
|
2202
|
+
@id = args[:id] if args.key?(:id)
|
2203
|
+
end
|
2204
|
+
end
|
2205
|
+
|
2206
|
+
# Message for response to listing PartnerTenants.
|
2207
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
|
2208
|
+
include Google::Apis::Core::Hashable
|
2209
|
+
|
2210
|
+
# A token which can be sent as `page_token` to retrieve the next page. If this
|
2211
|
+
# field is omitted, there are no subsequent pages.
|
2212
|
+
# Corresponds to the JSON property `nextPageToken`
|
2213
|
+
# @return [String]
|
2214
|
+
attr_accessor :next_page_token
|
2215
|
+
|
2216
|
+
# The list of PartnerTenant objects.
|
2217
|
+
# Corresponds to the JSON property `partnerTenants`
|
2218
|
+
# @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant>]
|
2219
|
+
attr_accessor :partner_tenants
|
2220
|
+
|
2221
|
+
# Locations that could not be reached.
|
2222
|
+
# Corresponds to the JSON property `unreachable`
|
2223
|
+
# @return [Array<String>]
|
2224
|
+
attr_accessor :unreachable
|
2225
|
+
|
2226
|
+
def initialize(**args)
|
2227
|
+
update!(**args)
|
2228
|
+
end
|
2229
|
+
|
2230
|
+
# Update properties of this object
|
2231
|
+
def update!(**args)
|
2232
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
2233
|
+
@partner_tenants = args[:partner_tenants] if args.key?(:partner_tenants)
|
2234
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
2235
|
+
end
|
2236
|
+
end
|
2237
|
+
|
2149
2238
|
# Metadata associated with PartnerTenant and is provided by the Partner.
|
2150
2239
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata
|
2151
2240
|
include Google::Apis::Core::Hashable
|
@@ -2240,15 +2329,10 @@ module Google
|
|
2240
2329
|
# @return [String]
|
2241
2330
|
attr_accessor :display_name
|
2242
2331
|
|
2243
|
-
#
|
2244
|
-
# Corresponds to the JSON property `
|
2245
|
-
# @return [
|
2246
|
-
attr_accessor :
|
2247
|
-
|
2248
|
-
# Optional. Google group ID to which the PartnerTenant is enabled.
|
2249
|
-
# Corresponds to the JSON property `googleGroupId`
|
2250
|
-
# @return [String]
|
2251
|
-
attr_accessor :google_group_id
|
2332
|
+
# Message to capture group information
|
2333
|
+
# Corresponds to the JSON property `group`
|
2334
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup]
|
2335
|
+
attr_accessor :group
|
2252
2336
|
|
2253
2337
|
# Output only. Unique resource name of the PartnerTenant. The name is ignored
|
2254
2338
|
# when creating PartnerTenant.
|
@@ -2274,8 +2358,7 @@ module Google
|
|
2274
2358
|
def update!(**args)
|
2275
2359
|
@create_time = args[:create_time] if args.key?(:create_time)
|
2276
2360
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2277
|
-
@
|
2278
|
-
@google_group_id = args[:google_group_id] if args.key?(:google_group_id)
|
2361
|
+
@group = args[:group] if args.key?(:group)
|
2279
2362
|
@name = args[:name] if args.key?(:name)
|
2280
2363
|
@partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
|
2281
2364
|
@update_time = args[:update_time] if args.key?(:update_time)
|
@@ -2363,6 +2446,31 @@ module Google
|
|
2363
2446
|
end
|
2364
2447
|
end
|
2365
2448
|
|
2449
|
+
# Message to capture settings for a BrowserDlpRule
|
2450
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
|
2451
|
+
include Google::Apis::Core::Hashable
|
2452
|
+
|
2453
|
+
# Required. Immutable. The type of the Setting. .
|
2454
|
+
# Corresponds to the JSON property `type`
|
2455
|
+
# @return [String]
|
2456
|
+
attr_accessor :type
|
2457
|
+
|
2458
|
+
# Required. The value of the Setting.
|
2459
|
+
# Corresponds to the JSON property `value`
|
2460
|
+
# @return [Hash<String,Object>]
|
2461
|
+
attr_accessor :value
|
2462
|
+
|
2463
|
+
def initialize(**args)
|
2464
|
+
update!(**args)
|
2465
|
+
end
|
2466
|
+
|
2467
|
+
# Update properties of this object
|
2468
|
+
def update!(**args)
|
2469
|
+
@type = args[:type] if args.key?(:type)
|
2470
|
+
@value = args[:value] if args.key?(:value)
|
2471
|
+
end
|
2472
|
+
end
|
2473
|
+
|
2366
2474
|
# Information about a BeyoncCorp Enterprise Tenant.
|
2367
2475
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
2368
2476
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BeyondcorpV1alpha
|
18
18
|
# Version of the google-apis-beyondcorp_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.21.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 = "20230531"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -328,12 +328,30 @@ module Google
|
|
328
328
|
include Google::Apis::Core::JsonObjectSupport
|
329
329
|
end
|
330
330
|
|
331
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
331
337
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
|
332
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
339
|
|
334
340
|
include Google::Apis::Core::JsonObjectSupport
|
335
341
|
end
|
336
342
|
|
343
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaGroup
|
344
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
345
|
+
|
346
|
+
include Google::Apis::Core::JsonObjectSupport
|
347
|
+
end
|
348
|
+
|
349
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
|
350
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
|
+
|
352
|
+
include Google::Apis::Core::JsonObjectSupport
|
353
|
+
end
|
354
|
+
|
337
355
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata
|
338
356
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
357
|
|
@@ -364,6 +382,12 @@ module Google
|
|
364
382
|
include Google::Apis::Core::JsonObjectSupport
|
365
383
|
end
|
366
384
|
|
385
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
|
386
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
387
|
+
|
388
|
+
include Google::Apis::Core::JsonObjectSupport
|
389
|
+
end
|
390
|
+
|
367
391
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
368
392
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
393
|
|
@@ -1189,6 +1213,17 @@ module Google
|
|
1189
1213
|
end
|
1190
1214
|
end
|
1191
1215
|
|
1216
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule
|
1217
|
+
# @private
|
1218
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1219
|
+
property :group, as: 'group', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup::Representation
|
1220
|
+
|
1221
|
+
property :name, as: 'name'
|
1222
|
+
property :rule_setting, as: 'ruleSetting', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting::Representation
|
1223
|
+
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
|
1192
1227
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
|
1193
1228
|
# @private
|
1194
1229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1197,6 +1232,24 @@ module Google
|
|
1197
1232
|
end
|
1198
1233
|
end
|
1199
1234
|
|
1235
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaGroup
|
1236
|
+
# @private
|
1237
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1238
|
+
property :email, as: 'email'
|
1239
|
+
property :id, as: 'id'
|
1240
|
+
end
|
1241
|
+
end
|
1242
|
+
|
1243
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
|
1244
|
+
# @private
|
1245
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1246
|
+
property :next_page_token, as: 'nextPageToken'
|
1247
|
+
collection :partner_tenants, as: 'partnerTenants', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
|
1248
|
+
|
1249
|
+
collection :unreachable, as: 'unreachable'
|
1250
|
+
end
|
1251
|
+
end
|
1252
|
+
|
1200
1253
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata
|
1201
1254
|
# @private
|
1202
1255
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1222,8 +1275,8 @@ module Google
|
|
1222
1275
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1223
1276
|
property :create_time, as: 'createTime'
|
1224
1277
|
property :display_name, as: 'displayName'
|
1225
|
-
property :
|
1226
|
-
|
1278
|
+
property :group, as: 'group', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup::Representation
|
1279
|
+
|
1227
1280
|
property :name, as: 'name'
|
1228
1281
|
property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata::Representation
|
1229
1282
|
|
@@ -1255,6 +1308,14 @@ module Google
|
|
1255
1308
|
end
|
1256
1309
|
end
|
1257
1310
|
|
1311
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
|
1312
|
+
# @private
|
1313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1314
|
+
property :type, as: 'type'
|
1315
|
+
hash :value, as: 'value'
|
1316
|
+
end
|
1317
|
+
end
|
1318
|
+
|
1258
1319
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
1259
1320
|
# @private
|
1260
1321
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -55,14 +55,609 @@ module Google
|
|
55
55
|
# Creates a new BeyondCorp Enterprise partnerTenant in a given organization and
|
56
56
|
# can only be called by onboarded BeyondCorp Enterprise partner.
|
57
57
|
# @param [String] parent
|
58
|
+
# Required. The resource name of the parent organization using the form: `
|
59
|
+
# organizations/`organization_id`/locations/global`
|
60
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
|
61
|
+
# @param [String] request_id
|
62
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
63
|
+
# request ID so that if you must retry your request, the server will know to
|
64
|
+
# ignore the request if it has already been completed. The server will guarantee
|
65
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
66
|
+
# situation where you make an initial request and the request times out. If you
|
67
|
+
# make the request again with the same request ID, the server can check if
|
68
|
+
# original operation with the same request ID was received, and if so, will
|
69
|
+
# ignore the second request. This prevents clients from accidentally creating
|
70
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
71
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
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::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
82
|
+
# @yieldparam err [StandardError] error object if request failed
|
83
|
+
#
|
84
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
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 create_organization_location_global_partner_tenant(parent, google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
90
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/partnerTenants', options)
|
91
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
|
92
|
+
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
|
93
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
94
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
95
|
+
command.params['parent'] = parent unless parent.nil?
|
96
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
97
|
+
command.query['fields'] = fields unless fields.nil?
|
98
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
99
|
+
execute_or_queue_command(command, &block)
|
100
|
+
end
|
101
|
+
|
102
|
+
# Deletes a single PartnerTenant.
|
103
|
+
# @param [String] name
|
104
|
+
# Required. Name of the resource.
|
105
|
+
# @param [String] request_id
|
106
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
107
|
+
# request ID so that if you must retry your request, the server will know to
|
108
|
+
# ignore the request if it has already been completed. The server will guarantee
|
109
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
110
|
+
# situation where you make an initial request and the request times out. If you
|
111
|
+
# make the request again with the same request ID, the server can check if
|
112
|
+
# original operation with the same request ID was received, and if so, will
|
113
|
+
# ignore the second request. This prevents clients from accidentally creating
|
114
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
115
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
116
|
+
# @param [String] fields
|
117
|
+
# Selector specifying which fields to include in a partial response.
|
118
|
+
# @param [String] quota_user
|
119
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
120
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
121
|
+
# @param [Google::Apis::RequestOptions] options
|
122
|
+
# Request-specific options
|
123
|
+
#
|
124
|
+
# @yield [result, err] Result & error if block supplied
|
125
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
126
|
+
# @yieldparam err [StandardError] error object if request failed
|
127
|
+
#
|
128
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
129
|
+
#
|
130
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
131
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
132
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
133
|
+
def delete_organization_location_global_partner_tenant(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
134
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
135
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
136
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
137
|
+
command.params['name'] = name unless name.nil?
|
138
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
139
|
+
command.query['fields'] = fields unless fields.nil?
|
140
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
141
|
+
execute_or_queue_command(command, &block)
|
142
|
+
end
|
143
|
+
|
144
|
+
# Gets details of a single PartnerTenant.
|
145
|
+
# @param [String] name
|
58
146
|
# Required. The resource name of the PartnerTenant using the form: `
|
147
|
+
# organizations/`organization_id`/locations/global/partnerTenants/`
|
148
|
+
# partner_tenant_id``
|
149
|
+
# @param [String] fields
|
150
|
+
# Selector specifying which fields to include in a partial response.
|
151
|
+
# @param [String] quota_user
|
152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
154
|
+
# @param [Google::Apis::RequestOptions] options
|
155
|
+
# Request-specific options
|
156
|
+
#
|
157
|
+
# @yield [result, err] Result & error if block supplied
|
158
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] parsed result object
|
159
|
+
# @yieldparam err [StandardError] error object if request failed
|
160
|
+
#
|
161
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant]
|
162
|
+
#
|
163
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
164
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
165
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
166
|
+
def get_organization_location_global_partner_tenant(name, fields: nil, quota_user: nil, options: nil, &block)
|
167
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
168
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
|
169
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant
|
170
|
+
command.params['name'] = name unless name.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::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
203
|
+
# @yieldparam err [StandardError] error object if request failed
|
204
|
+
#
|
205
|
+
# @return [Google::Apis::BeyondcorpV1alpha::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_partner_tenant_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
212
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
213
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::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
|
+
# Lists PartnerTenants in a given organization.
|
222
|
+
# @param [String] parent
|
223
|
+
# Required. The parent organization to which the PartnerTenants belong. Format: `
|
59
224
|
# organizations/`organization_id`/locations/global`
|
225
|
+
# @param [String] filter
|
226
|
+
# Optional. Filter partnerTenants to be returned. See [List Sub-Collections] (
|
227
|
+
# https://cloud.google.com/apis/design/design_patterns#list_sub-collections) for
|
228
|
+
# more details. All fields can be used in the filter. Usage: field_filter="
|
229
|
+
# fieldName1=fieldVal1 AND fieldName2=fieldVal2". NOTE: Only `AND` conditions
|
230
|
+
# are allowed.
|
231
|
+
# @param [String] order_by
|
232
|
+
# Optional. Specifies the ordering of results. Currently, only ordering by the "
|
233
|
+
# name" and "create_time" fields are supported. See [Sorting order](https://
|
234
|
+
# cloud.google.com/apis/design/design_patterns#sorting_order) for more
|
235
|
+
# information.
|
236
|
+
# @param [Fixnum] page_size
|
237
|
+
# Optional. The maximum number of items to return. The service may return fewer
|
238
|
+
# than this value. If unspecified, at most 50 items will be returned. The
|
239
|
+
# maximum value is 1000; values above 1000 are coerced to 1000. Regardless of
|
240
|
+
# the page_size value, the response may include a partial list and a caller
|
241
|
+
# should only rely on response's next_page_token to determine if there are more
|
242
|
+
# instances left to be queried.
|
243
|
+
# @param [String] page_token
|
244
|
+
# Optional. A token identifying a page of results the server should return.
|
245
|
+
# @param [String] fields
|
246
|
+
# Selector specifying which fields to include in a partial response.
|
247
|
+
# @param [String] quota_user
|
248
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
249
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
250
|
+
# @param [Google::Apis::RequestOptions] options
|
251
|
+
# Request-specific options
|
252
|
+
#
|
253
|
+
# @yield [result, err] Result & error if block supplied
|
254
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse] parsed result object
|
255
|
+
# @yieldparam err [StandardError] error object if request failed
|
256
|
+
#
|
257
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse]
|
258
|
+
#
|
259
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
260
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
261
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
262
|
+
def list_organization_location_global_partner_tenants(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
263
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/partnerTenants', options)
|
264
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse::Representation
|
265
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
|
266
|
+
command.params['parent'] = parent unless parent.nil?
|
267
|
+
command.query['filter'] = filter unless filter.nil?
|
268
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
269
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
270
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
271
|
+
command.query['fields'] = fields unless fields.nil?
|
272
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
273
|
+
execute_or_queue_command(command, &block)
|
274
|
+
end
|
275
|
+
|
276
|
+
# Updates a single PartnerTenant.
|
277
|
+
# @param [String] name
|
278
|
+
# Output only. Unique resource name of the PartnerTenant. The name is ignored
|
279
|
+
# when creating PartnerTenant.
|
60
280
|
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant] google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
|
61
281
|
# @param [String] request_id
|
62
282
|
# Optional. An optional request ID to identify requests. Specify a unique
|
63
283
|
# request ID so that if you must retry your request, the server will know to
|
64
284
|
# ignore the request if it has already been completed. The server will guarantee
|
65
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
285
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
286
|
+
# situation where you make an initial request and the request times out. If you
|
287
|
+
# make the request again with the same request ID, the server can check if
|
288
|
+
# original operation with the same request ID was received, and if so, will
|
289
|
+
# ignore the second request. This prevents clients from accidentally creating
|
290
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
291
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
292
|
+
# @param [String] update_mask
|
293
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
294
|
+
# PartnerTenant resource by the update. The fields specified in the update_mask
|
295
|
+
# are relative to the resource, not the full request. A field will be
|
296
|
+
# overwritten if it is in the mask. If the user does not provide a mask then all
|
297
|
+
# fields will be overwritten.
|
298
|
+
# @param [String] fields
|
299
|
+
# Selector specifying which fields to include in a partial response.
|
300
|
+
# @param [String] quota_user
|
301
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
302
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
303
|
+
# @param [Google::Apis::RequestOptions] options
|
304
|
+
# Request-specific options
|
305
|
+
#
|
306
|
+
# @yield [result, err] Result & error if block supplied
|
307
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
308
|
+
# @yieldparam err [StandardError] error object if request failed
|
309
|
+
#
|
310
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
311
|
+
#
|
312
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
313
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
314
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
315
|
+
def patch_organization_location_global_partner_tenant(name, google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
316
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
317
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
|
318
|
+
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
|
319
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
320
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
321
|
+
command.params['name'] = name unless name.nil?
|
322
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
323
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
324
|
+
command.query['fields'] = fields unless fields.nil?
|
325
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
326
|
+
execute_or_queue_command(command, &block)
|
327
|
+
end
|
328
|
+
|
329
|
+
# Sets the access control policy on the specified resource. Replaces any
|
330
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
331
|
+
# PERMISSION_DENIED` errors.
|
332
|
+
# @param [String] resource
|
333
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
334
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
335
|
+
# appropriate value for this field.
|
336
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
337
|
+
# @param [String] fields
|
338
|
+
# Selector specifying which fields to include in a partial response.
|
339
|
+
# @param [String] quota_user
|
340
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
341
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
342
|
+
# @param [Google::Apis::RequestOptions] options
|
343
|
+
# Request-specific options
|
344
|
+
#
|
345
|
+
# @yield [result, err] Result & error if block supplied
|
346
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
347
|
+
# @yieldparam err [StandardError] error object if request failed
|
348
|
+
#
|
349
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
350
|
+
#
|
351
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
352
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
353
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
354
|
+
def set_organization_location_global_partner_tenant_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
355
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
356
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
|
357
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
358
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
359
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
360
|
+
command.params['resource'] = resource unless resource.nil?
|
361
|
+
command.query['fields'] = fields unless fields.nil?
|
362
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
363
|
+
execute_or_queue_command(command, &block)
|
364
|
+
end
|
365
|
+
|
366
|
+
# Returns permissions that a caller has on the specified resource. If the
|
367
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
368
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
369
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
370
|
+
# This operation may "fail open" without warning.
|
371
|
+
# @param [String] resource
|
372
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
373
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
374
|
+
# appropriate value for this field.
|
375
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
376
|
+
# @param [String] fields
|
377
|
+
# Selector specifying which fields to include in a partial response.
|
378
|
+
# @param [String] quota_user
|
379
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
380
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
381
|
+
# @param [Google::Apis::RequestOptions] options
|
382
|
+
# Request-specific options
|
383
|
+
#
|
384
|
+
# @yield [result, err] Result & error if block supplied
|
385
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
386
|
+
# @yieldparam err [StandardError] error object if request failed
|
387
|
+
#
|
388
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
|
389
|
+
#
|
390
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
391
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
392
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
393
|
+
def test_organization_location_global_partner_tenant_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
394
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
395
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
|
396
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
397
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
|
398
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
|
399
|
+
command.params['resource'] = resource unless resource.nil?
|
400
|
+
command.query['fields'] = fields unless fields.nil?
|
401
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
402
|
+
execute_or_queue_command(command, &block)
|
403
|
+
end
|
404
|
+
|
405
|
+
# Creates a new BrowserDlpRule in a given organization and PartnerTenant.
|
406
|
+
# @param [String] parent
|
407
|
+
# Required. The resource name of the BrowserDlpRule parent using the form: `
|
408
|
+
# organizations/`organization_id`/locations/global/partnerTenants/`
|
409
|
+
# partner_tenant_id``
|
410
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule] google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
|
411
|
+
# @param [String] request_id
|
412
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
413
|
+
# request ID so that if you must retry your request, the server will know to
|
414
|
+
# ignore the request if it has already been completed. The server will guarantee
|
415
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
416
|
+
# situation where you make an initial request and the request times out. If you
|
417
|
+
# make the request again with the same request ID, the server can check if
|
418
|
+
# original operation with the same request ID was received, and if so, will
|
419
|
+
# ignore the second request. This prevents clients from accidentally creating
|
420
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
421
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
422
|
+
# @param [String] fields
|
423
|
+
# Selector specifying which fields to include in a partial response.
|
424
|
+
# @param [String] quota_user
|
425
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
426
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
427
|
+
# @param [Google::Apis::RequestOptions] options
|
428
|
+
# Request-specific options
|
429
|
+
#
|
430
|
+
# @yield [result, err] Result & error if block supplied
|
431
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
432
|
+
# @yieldparam err [StandardError] error object if request failed
|
433
|
+
#
|
434
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
435
|
+
#
|
436
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
437
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
438
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
439
|
+
def create_organization_location_global_partner_tenant_browser_dlp_rule(parent, google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
440
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/browserDlpRules', options)
|
441
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule::Representation
|
442
|
+
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
|
443
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
444
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
445
|
+
command.params['parent'] = parent unless parent.nil?
|
446
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
447
|
+
command.query['fields'] = fields unless fields.nil?
|
448
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
449
|
+
execute_or_queue_command(command, &block)
|
450
|
+
end
|
451
|
+
|
452
|
+
# Gets details of a single BrowserDlpRule.
|
453
|
+
# @param [String] name
|
454
|
+
# Required. The resource name of the BrowserDlpRule using the form: `
|
455
|
+
# organizations/`organization_id`/locations/global/partnerTenants/`
|
456
|
+
# partner_tenant_id`/browserDlpRules/`browser_dlp_rule_id``
|
457
|
+
# @param [String] fields
|
458
|
+
# Selector specifying which fields to include in a partial response.
|
459
|
+
# @param [String] quota_user
|
460
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
461
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
462
|
+
# @param [Google::Apis::RequestOptions] options
|
463
|
+
# Request-specific options
|
464
|
+
#
|
465
|
+
# @yield [result, err] Result & error if block supplied
|
466
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule] parsed result object
|
467
|
+
# @yieldparam err [StandardError] error object if request failed
|
468
|
+
#
|
469
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule]
|
470
|
+
#
|
471
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
472
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
473
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
474
|
+
def get_organization_location_global_partner_tenant_browser_dlp_rule(name, fields: nil, quota_user: nil, options: nil, &block)
|
475
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
476
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule::Representation
|
477
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule
|
478
|
+
command.params['name'] = name unless name.nil?
|
479
|
+
command.query['fields'] = fields unless fields.nil?
|
480
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
481
|
+
execute_or_queue_command(command, &block)
|
482
|
+
end
|
483
|
+
|
484
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
485
|
+
# resource exists and does not have a policy set.
|
486
|
+
# @param [String] resource
|
487
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
488
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
489
|
+
# appropriate value for this field.
|
490
|
+
# @param [Fixnum] options_requested_policy_version
|
491
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
492
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
493
|
+
# rejected. Requests for policies with any conditional role bindings must
|
494
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
495
|
+
# valid value or leave the field unset. The policy in the response might use the
|
496
|
+
# policy version that you specified, or it might use a lower policy version. For
|
497
|
+
# example, if you specify version 3, but the policy has no conditional role
|
498
|
+
# bindings, the response uses version 1. To learn which resources support
|
499
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
500
|
+
# google.com/iam/help/conditions/resource-policies).
|
501
|
+
# @param [String] fields
|
502
|
+
# Selector specifying which fields to include in a partial response.
|
503
|
+
# @param [String] quota_user
|
504
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
505
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
506
|
+
# @param [Google::Apis::RequestOptions] options
|
507
|
+
# Request-specific options
|
508
|
+
#
|
509
|
+
# @yield [result, err] Result & error if block supplied
|
510
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
511
|
+
# @yieldparam err [StandardError] error object if request failed
|
512
|
+
#
|
513
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
514
|
+
#
|
515
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
516
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
517
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
518
|
+
def get_organization_location_global_partner_tenant_browser_dlp_rule_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
519
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
520
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
521
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
522
|
+
command.params['resource'] = resource unless resource.nil?
|
523
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
524
|
+
command.query['fields'] = fields unless fields.nil?
|
525
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
526
|
+
execute_or_queue_command(command, &block)
|
527
|
+
end
|
528
|
+
|
529
|
+
# Sets the access control policy on the specified resource. Replaces any
|
530
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
531
|
+
# PERMISSION_DENIED` errors.
|
532
|
+
# @param [String] resource
|
533
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
534
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
535
|
+
# appropriate value for this field.
|
536
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
537
|
+
# @param [String] fields
|
538
|
+
# Selector specifying which fields to include in a partial response.
|
539
|
+
# @param [String] quota_user
|
540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
542
|
+
# @param [Google::Apis::RequestOptions] options
|
543
|
+
# Request-specific options
|
544
|
+
#
|
545
|
+
# @yield [result, err] Result & error if block supplied
|
546
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
547
|
+
# @yieldparam err [StandardError] error object if request failed
|
548
|
+
#
|
549
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
550
|
+
#
|
551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
554
|
+
def set_organization_location_global_partner_tenant_browser_dlp_rule_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
555
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
556
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
|
557
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
558
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
559
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
560
|
+
command.params['resource'] = resource unless resource.nil?
|
561
|
+
command.query['fields'] = fields unless fields.nil?
|
562
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
563
|
+
execute_or_queue_command(command, &block)
|
564
|
+
end
|
565
|
+
|
566
|
+
# Returns permissions that a caller has on the specified resource. If the
|
567
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
568
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
569
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
570
|
+
# This operation may "fail open" without warning.
|
571
|
+
# @param [String] resource
|
572
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
573
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
574
|
+
# appropriate value for this field.
|
575
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
576
|
+
# @param [String] fields
|
577
|
+
# Selector specifying which fields to include in a partial response.
|
578
|
+
# @param [String] quota_user
|
579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
581
|
+
# @param [Google::Apis::RequestOptions] options
|
582
|
+
# Request-specific options
|
583
|
+
#
|
584
|
+
# @yield [result, err] Result & error if block supplied
|
585
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
586
|
+
# @yieldparam err [StandardError] error object if request failed
|
587
|
+
#
|
588
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
|
589
|
+
#
|
590
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
591
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
592
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
593
|
+
def test_organization_location_global_partner_tenant_browser_dlp_rule_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
594
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
595
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
|
596
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
597
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
|
598
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
|
599
|
+
command.params['resource'] = resource unless resource.nil?
|
600
|
+
command.query['fields'] = fields unless fields.nil?
|
601
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
602
|
+
execute_or_queue_command(command, &block)
|
603
|
+
end
|
604
|
+
|
605
|
+
# Creates a new BeyondCorp Enterprise ProxyConfig in a given organization and
|
606
|
+
# PartnerTenant. Can only be called by on onboarded Beyondcorp Enterprise
|
607
|
+
# partner.
|
608
|
+
# @param [String] parent
|
609
|
+
# Required. The resource name of the Tenant using the form: `organizations/`
|
610
|
+
# organization_id`/locations/global/tenants/`tenant_id``
|
611
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
612
|
+
# @param [String] request_id
|
613
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
614
|
+
# request ID so that if you must retry your request, the server will know to
|
615
|
+
# ignore the request if it has already been completed. The server will guarantee
|
616
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
617
|
+
# situation where you make an initial request and the request times out. If you
|
618
|
+
# make the request again with the same request ID, the server can check if
|
619
|
+
# original operation with the same request ID was received, and if so, will
|
620
|
+
# ignore the second request. This prevents clients from accidentally creating
|
621
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
622
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
623
|
+
# @param [String] fields
|
624
|
+
# Selector specifying which fields to include in a partial response.
|
625
|
+
# @param [String] quota_user
|
626
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
627
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
628
|
+
# @param [Google::Apis::RequestOptions] options
|
629
|
+
# Request-specific options
|
630
|
+
#
|
631
|
+
# @yield [result, err] Result & error if block supplied
|
632
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
633
|
+
# @yieldparam err [StandardError] error object if request failed
|
634
|
+
#
|
635
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
636
|
+
#
|
637
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
638
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
639
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
640
|
+
def create_organization_location_global_partner_tenant_proxy_config(parent, google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
641
|
+
command = make_simple_command(:post, 'v1alpha/{+parent}/proxyConfigs', options)
|
642
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
|
643
|
+
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
644
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
645
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
646
|
+
command.params['parent'] = parent unless parent.nil?
|
647
|
+
command.query['requestId'] = request_id unless request_id.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
|
+
# Deletes a single ProxyConfig.
|
654
|
+
# @param [String] name
|
655
|
+
# Required. Name of the resource.
|
656
|
+
# @param [String] request_id
|
657
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
658
|
+
# request ID so that if you must retry your request, the server will know to
|
659
|
+
# ignore the request if it has already been completed. The server will guarantee
|
660
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
66
661
|
# situation where you make an initial request and the request times out. If you
|
67
662
|
# make the request again with the same request ID, the server can check if
|
68
663
|
# original operation with the same request ID was received, and if so, will
|
@@ -86,24 +681,22 @@ module Google
|
|
86
681
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
87
682
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
88
683
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
89
|
-
def
|
90
|
-
command = make_simple_command(:
|
91
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant::Representation
|
92
|
-
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_partner_tenant_object
|
684
|
+
def delete_organization_location_global_partner_tenant_proxy_config(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
685
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
93
686
|
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
94
687
|
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
95
|
-
command.params['
|
688
|
+
command.params['name'] = name unless name.nil?
|
96
689
|
command.query['requestId'] = request_id unless request_id.nil?
|
97
690
|
command.query['fields'] = fields unless fields.nil?
|
98
691
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
99
692
|
execute_or_queue_command(command, &block)
|
100
693
|
end
|
101
694
|
|
102
|
-
# Gets details of a single
|
695
|
+
# Gets details of a single ProxyConfig.
|
103
696
|
# @param [String] name
|
104
|
-
# Required. The resource name of the
|
105
|
-
#
|
106
|
-
#
|
697
|
+
# Required. The resource name of the ProxyConfig using the form: `organizations/`
|
698
|
+
# organization_id`/locations/global/tenants/`tenant_id`/proxyConfigs/`
|
699
|
+
# proxy_config_id``
|
107
700
|
# @param [String] fields
|
108
701
|
# Selector specifying which fields to include in a partial response.
|
109
702
|
# @param [String] quota_user
|
@@ -113,24 +706,145 @@ module Google
|
|
113
706
|
# Request-specific options
|
114
707
|
#
|
115
708
|
# @yield [result, err] Result & error if block supplied
|
116
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::
|
709
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] parsed result object
|
117
710
|
# @yieldparam err [StandardError] error object if request failed
|
118
711
|
#
|
119
|
-
# @return [Google::Apis::BeyondcorpV1alpha::
|
712
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig]
|
120
713
|
#
|
121
714
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
122
715
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
123
716
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
124
|
-
def
|
717
|
+
def get_organization_location_global_partner_tenant_proxy_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
125
718
|
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
126
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::
|
127
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::
|
719
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
|
720
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
|
128
721
|
command.params['name'] = name unless name.nil?
|
129
722
|
command.query['fields'] = fields unless fields.nil?
|
130
723
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
131
724
|
execute_or_queue_command(command, &block)
|
132
725
|
end
|
133
726
|
|
727
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
728
|
+
# resource exists and does not have a policy set.
|
729
|
+
# @param [String] resource
|
730
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
731
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
732
|
+
# appropriate value for this field.
|
733
|
+
# @param [Fixnum] options_requested_policy_version
|
734
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
735
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
736
|
+
# rejected. Requests for policies with any conditional role bindings must
|
737
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
738
|
+
# valid value or leave the field unset. The policy in the response might use the
|
739
|
+
# policy version that you specified, or it might use a lower policy version. For
|
740
|
+
# example, if you specify version 3, but the policy has no conditional role
|
741
|
+
# bindings, the response uses version 1. To learn which resources support
|
742
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
743
|
+
# google.com/iam/help/conditions/resource-policies).
|
744
|
+
# @param [String] fields
|
745
|
+
# Selector specifying which fields to include in a partial response.
|
746
|
+
# @param [String] quota_user
|
747
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
748
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
749
|
+
# @param [Google::Apis::RequestOptions] options
|
750
|
+
# Request-specific options
|
751
|
+
#
|
752
|
+
# @yield [result, err] Result & error if block supplied
|
753
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
754
|
+
# @yieldparam err [StandardError] error object if request failed
|
755
|
+
#
|
756
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
757
|
+
#
|
758
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
759
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
760
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
761
|
+
def get_organization_location_global_partner_tenant_proxy_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
762
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
763
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
764
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
765
|
+
command.params['resource'] = resource unless resource.nil?
|
766
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
767
|
+
command.query['fields'] = fields unless fields.nil?
|
768
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
769
|
+
execute_or_queue_command(command, &block)
|
770
|
+
end
|
771
|
+
|
772
|
+
# Sets the access control policy on the specified resource. Replaces any
|
773
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
774
|
+
# PERMISSION_DENIED` errors.
|
775
|
+
# @param [String] resource
|
776
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
777
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
778
|
+
# appropriate value for this field.
|
779
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
780
|
+
# @param [String] fields
|
781
|
+
# Selector specifying which fields to include in a partial response.
|
782
|
+
# @param [String] quota_user
|
783
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
784
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
785
|
+
# @param [Google::Apis::RequestOptions] options
|
786
|
+
# Request-specific options
|
787
|
+
#
|
788
|
+
# @yield [result, err] Result & error if block supplied
|
789
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
790
|
+
# @yieldparam err [StandardError] error object if request failed
|
791
|
+
#
|
792
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
793
|
+
#
|
794
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
795
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
796
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
797
|
+
def set_organization_location_global_partner_tenant_proxy_config_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
798
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
799
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
|
800
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
801
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
802
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
803
|
+
command.params['resource'] = resource unless resource.nil?
|
804
|
+
command.query['fields'] = fields unless fields.nil?
|
805
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
806
|
+
execute_or_queue_command(command, &block)
|
807
|
+
end
|
808
|
+
|
809
|
+
# Returns permissions that a caller has on the specified resource. If the
|
810
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
811
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
812
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
813
|
+
# This operation may "fail open" without warning.
|
814
|
+
# @param [String] resource
|
815
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
816
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
817
|
+
# appropriate value for this field.
|
818
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
819
|
+
# @param [String] fields
|
820
|
+
# Selector specifying which fields to include in a partial response.
|
821
|
+
# @param [String] quota_user
|
822
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
823
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
824
|
+
# @param [Google::Apis::RequestOptions] options
|
825
|
+
# Request-specific options
|
826
|
+
#
|
827
|
+
# @yield [result, err] Result & error if block supplied
|
828
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
829
|
+
# @yieldparam err [StandardError] error object if request failed
|
830
|
+
#
|
831
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
|
832
|
+
#
|
833
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
834
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
835
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
836
|
+
def test_organization_location_global_partner_tenant_proxy_config_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
837
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
838
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
|
839
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
840
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
|
841
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
|
842
|
+
command.params['resource'] = resource unless resource.nil?
|
843
|
+
command.query['fields'] = fields unless fields.nil?
|
844
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
845
|
+
execute_or_queue_command(command, &block)
|
846
|
+
end
|
847
|
+
|
134
848
|
# Creates a new BeyondCorp Enterprise tenant in a given organization and can
|
135
849
|
# only be called by onboarded BeyondCorp Enterprise partner.
|
136
850
|
# @param [String] parent
|
@@ -178,6 +892,48 @@ module Google
|
|
178
892
|
execute_or_queue_command(command, &block)
|
179
893
|
end
|
180
894
|
|
895
|
+
# Deletes a single Tenant.
|
896
|
+
# @param [String] name
|
897
|
+
# Required. Name of the resource.
|
898
|
+
# @param [String] request_id
|
899
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
900
|
+
# request ID so that if you must retry your request, the server will know to
|
901
|
+
# ignore the request if it has already been completed. The server will guarantee
|
902
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
903
|
+
# situation where you make an initial request and the request times out. If you
|
904
|
+
# make the request again with the same request ID, the server can check if
|
905
|
+
# original operation with the same request ID was received, and if so, will
|
906
|
+
# ignore the second request. This prevents clients from accidentally creating
|
907
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
908
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
909
|
+
# @param [String] fields
|
910
|
+
# Selector specifying which fields to include in a partial response.
|
911
|
+
# @param [String] quota_user
|
912
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
913
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
914
|
+
# @param [Google::Apis::RequestOptions] options
|
915
|
+
# Request-specific options
|
916
|
+
#
|
917
|
+
# @yield [result, err] Result & error if block supplied
|
918
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
919
|
+
# @yieldparam err [StandardError] error object if request failed
|
920
|
+
#
|
921
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
922
|
+
#
|
923
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
924
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
925
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
926
|
+
def delete_organization_location_global_tenant(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
927
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
928
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
929
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
930
|
+
command.params['name'] = name unless name.nil?
|
931
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
932
|
+
command.query['fields'] = fields unless fields.nil?
|
933
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
934
|
+
execute_or_queue_command(command, &block)
|
935
|
+
end
|
936
|
+
|
181
937
|
# Gets details of a single Tenant.
|
182
938
|
# @param [String] name
|
183
939
|
# Required. The resource name of the Tenant using the form: `organizations/`
|
@@ -209,11 +965,10 @@ module Google
|
|
209
965
|
execute_or_queue_command(command, &block)
|
210
966
|
end
|
211
967
|
|
212
|
-
# Creates a new BeyondCorp Enterprise
|
213
|
-
#
|
214
|
-
# partner.
|
968
|
+
# Creates a new BeyondCorp Enterprise ProxyConfig in a given organization and
|
969
|
+
# Tenant. Can only be called by on onboarded Beyondcorp Enterprise partner.
|
215
970
|
# @param [String] parent
|
216
|
-
# Required. The resource name of the
|
971
|
+
# Required. The resource name of the Tenant using the form: `organizations/`
|
217
972
|
# organization_id`/locations/global/tenants/`tenant_id``
|
218
973
|
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
219
974
|
# @param [String] request_id
|
@@ -257,9 +1012,51 @@ module Google
|
|
257
1012
|
execute_or_queue_command(command, &block)
|
258
1013
|
end
|
259
1014
|
|
1015
|
+
# Deletes a single ProxyConfig.
|
1016
|
+
# @param [String] name
|
1017
|
+
# Required. Name of the resource.
|
1018
|
+
# @param [String] request_id
|
1019
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1020
|
+
# request ID so that if you must retry your request, the server will know to
|
1021
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1022
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
1023
|
+
# situation where you make an initial request and the request times out. If you
|
1024
|
+
# make the request again with the same request ID, the server can check if
|
1025
|
+
# original operation with the same request ID was received, and if so, will
|
1026
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1027
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1028
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1029
|
+
# @param [String] fields
|
1030
|
+
# Selector specifying which fields to include in a partial response.
|
1031
|
+
# @param [String] quota_user
|
1032
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1033
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1034
|
+
# @param [Google::Apis::RequestOptions] options
|
1035
|
+
# Request-specific options
|
1036
|
+
#
|
1037
|
+
# @yield [result, err] Result & error if block supplied
|
1038
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1039
|
+
# @yieldparam err [StandardError] error object if request failed
|
1040
|
+
#
|
1041
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1042
|
+
#
|
1043
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1044
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1045
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1046
|
+
def delete_organization_location_global_tenant_proxy_config(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1047
|
+
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1048
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1049
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1050
|
+
command.params['name'] = name unless name.nil?
|
1051
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1052
|
+
command.query['fields'] = fields unless fields.nil?
|
1053
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1054
|
+
execute_or_queue_command(command, &block)
|
1055
|
+
end
|
1056
|
+
|
260
1057
|
# Gets details of a single ProxyConfig.
|
261
1058
|
# @param [String] name
|
262
|
-
# Required. The resource name of the
|
1059
|
+
# Required. The resource name of the ProxyConfig using the form: `organizations/`
|
263
1060
|
# organization_id`/locations/global/tenants/`tenant_id`/proxyConfigs/`
|
264
1061
|
# proxy_config_id``
|
265
1062
|
# @param [String] fields
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-beyondcorp_v1alpha
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.21.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-06-11 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_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.21.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-beyondcorp_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|