google-apis-beyondcorp_v1alpha 0.18.0 → 0.20.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: d3270aa9e72e09fec381f66248fc0342fdf3fa33d8dd335ce12dbef4af7cbd47
4
- data.tar.gz: bbe7aacbbffded9cd007f8fb173f2a55b6c08b9a6445709a3c7857e26b002f92
3
+ metadata.gz: 8566539250196ae6edc9646591ae4206ff2e56b94137a678c6d00dacb6a6986b
4
+ data.tar.gz: 2bfe9bb0c0ba73db0d3c7fbca27940a291242a5808927bbda14ae959f70e5d74
5
5
  SHA512:
6
- metadata.gz: 741356d13825c9573edd4d764b039f72dea8f92cbb94051b1de534688b739aaae9b573dc65d5fce9d8321a509a50e01f0a2df9571568e53dca247f7f234bf6c2
7
- data.tar.gz: 2ce3a6835536135d42a189c46384a520cd649204ee9e9c2aba0816e493a2c0a5c35b60361635bb7ac3c0d811965ddace1d3ddc7d30ae192b89e83506861052d2
6
+ metadata.gz: 0b91eb920002234520a7673749c7762c2ddddcf4e68b1ab90d4cbcbccff80cce4c109b2374913cef1a02bf5a02ccf386ff5ec256848fa622fcb876c7109c51f1
7
+ data.tar.gz: 4bb674e147e1967863f0bf0ab76a7f84189d2c1efd0d6e1f064f787bc39fa78305944a316a92d02ca5e2d32e046b28b4a76fd1f5485c8fccfbbdc20123ea3c29
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.20.0 (2023-05-28)
4
+
5
+ * Regenerated from discovery document revision 20230517
6
+
7
+ ### v0.19.0 (2023-05-21)
8
+
9
+ * Regenerated from discovery document revision 20230509
10
+
3
11
  ### v0.18.0 (2023-05-07)
4
12
 
5
13
  * Regenerated from discovery document revision 20230501
@@ -2121,16 +2121,52 @@ module Google
2121
2121
  end
2122
2122
  end
2123
2123
 
2124
- # Message contains the authentication information to validate against the proxy
2125
- # server.
2126
- class GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo
2124
+ # Browser DLP Rule for a PartnerTenant
2125
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule
2127
2126
  include Google::Apis::Core::Hashable
2128
2127
 
2129
- # Optional. Service Account for encrypting the JWT.
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
+
2156
+ # Message contains the JWT encryption information for the proxy server.
2157
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
2158
+ include Google::Apis::Core::Hashable
2159
+
2160
+ # Optional. Service Account for encryption key.
2130
2161
  # Corresponds to the JSON property `encryptionSaEmail`
2131
2162
  # @return [String]
2132
2163
  attr_accessor :encryption_sa_email
2133
2164
 
2165
+ # Optional. JWK in string.
2166
+ # Corresponds to the JSON property `jwk`
2167
+ # @return [String]
2168
+ attr_accessor :jwk
2169
+
2134
2170
  def initialize(**args)
2135
2171
  update!(**args)
2136
2172
  end
@@ -2138,15 +2174,73 @@ module Google
2138
2174
  # Update properties of this object
2139
2175
  def update!(**args)
2140
2176
  @encryption_sa_email = args[:encryption_sa_email] if args.key?(:encryption_sa_email)
2177
+ @jwk = args[:jwk] if args.key?(:jwk)
2178
+ end
2179
+ end
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)
2141
2203
  end
2142
2204
  end
2143
2205
 
2144
- # Metadata associated with Tenant and is provided by the Partner.
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
+
2238
+ # Metadata associated with PartnerTenant and is provided by the Partner.
2145
2239
  class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata
2146
2240
  include Google::Apis::Core::Hashable
2147
2241
 
2148
- # Optional. UUID used by the Partner to refer to the Tenant in their internal
2149
- # systems.
2242
+ # Optional. UUID used by the Partner to refer to the PartnerTenant in their
2243
+ # internal systems.
2150
2244
  # Corresponds to the JSON property `partnerTenantId`
2151
2245
  # @return [String]
2152
2246
  attr_accessor :partner_tenant_id
@@ -2220,16 +2314,67 @@ module Google
2220
2314
  end
2221
2315
  end
2222
2316
 
2317
+ # Information about a BeyoncCorp Enterprise PartnerTenant.
2318
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant
2319
+ include Google::Apis::Core::Hashable
2320
+
2321
+ # Output only. Timestamp when the resource was created.
2322
+ # Corresponds to the JSON property `createTime`
2323
+ # @return [String]
2324
+ attr_accessor :create_time
2325
+
2326
+ # Optional. An arbitrary caller-provided name for the PartnerTenant. Cannot
2327
+ # exceed 64 characters.
2328
+ # Corresponds to the JSON property `displayName`
2329
+ # @return [String]
2330
+ attr_accessor :display_name
2331
+
2332
+ # Optional. Google group email to which the PartnerTenant is enabled.
2333
+ # Corresponds to the JSON property `googleGroupEmail`
2334
+ # @return [String]
2335
+ attr_accessor :google_group_email
2336
+
2337
+ # Optional. Google group ID to which the PartnerTenant is enabled.
2338
+ # Corresponds to the JSON property `googleGroupId`
2339
+ # @return [String]
2340
+ attr_accessor :google_group_id
2341
+
2342
+ # Output only. Unique resource name of the PartnerTenant. The name is ignored
2343
+ # when creating PartnerTenant.
2344
+ # Corresponds to the JSON property `name`
2345
+ # @return [String]
2346
+ attr_accessor :name
2347
+
2348
+ # Metadata associated with PartnerTenant and is provided by the Partner.
2349
+ # Corresponds to the JSON property `partnerMetadata`
2350
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]
2351
+ attr_accessor :partner_metadata
2352
+
2353
+ # Output only. Timestamp when the resource was last modified.
2354
+ # Corresponds to the JSON property `updateTime`
2355
+ # @return [String]
2356
+ attr_accessor :update_time
2357
+
2358
+ def initialize(**args)
2359
+ update!(**args)
2360
+ end
2361
+
2362
+ # Update properties of this object
2363
+ def update!(**args)
2364
+ @create_time = args[:create_time] if args.key?(:create_time)
2365
+ @display_name = args[:display_name] if args.key?(:display_name)
2366
+ @google_group_email = args[:google_group_email] if args.key?(:google_group_email)
2367
+ @google_group_id = args[:google_group_id] if args.key?(:google_group_id)
2368
+ @name = args[:name] if args.key?(:name)
2369
+ @partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
2370
+ @update_time = args[:update_time] if args.key?(:update_time)
2371
+ end
2372
+ end
2373
+
2223
2374
  # Proxy Configuration of a Tenant.
2224
2375
  class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
2225
2376
  include Google::Apis::Core::Hashable
2226
2377
 
2227
- # Message contains the authentication information to validate against the proxy
2228
- # server.
2229
- # Corresponds to the JSON property `authenticationInfo`
2230
- # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo]
2231
- attr_accessor :authentication_info
2232
-
2233
2378
  # Output only. Timestamp when the resource was created.
2234
2379
  # Corresponds to the JSON property `createTime`
2235
2380
  # @return [String]
@@ -2241,6 +2386,11 @@ module Google
2241
2386
  # @return [String]
2242
2387
  attr_accessor :display_name
2243
2388
 
2389
+ # Message contains the JWT encryption information for the proxy server.
2390
+ # Corresponds to the JSON property `encryptionInfo`
2391
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo]
2392
+ attr_accessor :encryption_info
2393
+
2244
2394
  # Output only. ProxyConfig resource name.
2245
2395
  # Corresponds to the JSON property `name`
2246
2396
  # @return [String]
@@ -2272,9 +2422,9 @@ module Google
2272
2422
 
2273
2423
  # Update properties of this object
2274
2424
  def update!(**args)
2275
- @authentication_info = args[:authentication_info] if args.key?(:authentication_info)
2276
2425
  @create_time = args[:create_time] if args.key?(:create_time)
2277
2426
  @display_name = args[:display_name] if args.key?(:display_name)
2427
+ @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
2278
2428
  @name = args[:name] if args.key?(:name)
2279
2429
  @proxy_uri = args[:proxy_uri] if args.key?(:proxy_uri)
2280
2430
  @routing_info = args[:routing_info] if args.key?(:routing_info)
@@ -2302,6 +2452,31 @@ module Google
2302
2452
  end
2303
2453
  end
2304
2454
 
2455
+ # Message to capture settings for a BrowserDlpRule
2456
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
2457
+ include Google::Apis::Core::Hashable
2458
+
2459
+ # Required. Immutable. The type of the Setting. .
2460
+ # Corresponds to the JSON property `type`
2461
+ # @return [String]
2462
+ attr_accessor :type
2463
+
2464
+ # Required. The value of the Setting.
2465
+ # Corresponds to the JSON property `value`
2466
+ # @return [Hash<String,Object>]
2467
+ attr_accessor :value
2468
+
2469
+ def initialize(**args)
2470
+ update!(**args)
2471
+ end
2472
+
2473
+ # Update properties of this object
2474
+ def update!(**args)
2475
+ @type = args[:type] if args.key?(:type)
2476
+ @value = args[:value] if args.key?(:value)
2477
+ end
2478
+ end
2479
+
2305
2480
  # Information about a BeyoncCorp Enterprise Tenant.
2306
2481
  class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
2307
2482
  include Google::Apis::Core::Hashable
@@ -2333,7 +2508,7 @@ module Google
2333
2508
  # @return [String]
2334
2509
  attr_accessor :name
2335
2510
 
2336
- # Metadata associated with Tenant and is provided by the Partner.
2511
+ # Metadata associated with PartnerTenant and is provided by the Partner.
2337
2512
  # Corresponds to the JSON property `partnerMetadata`
2338
2513
  # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]
2339
2514
  attr_accessor :partner_metadata
@@ -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.18.0"
19
+ GEM_VERSION = "0.20.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 = "20230501"
25
+ REVISION = "20230517"
26
26
  end
27
27
  end
28
28
  end
@@ -328,7 +328,25 @@ module Google
328
328
  include Google::Apis::Core::JsonObjectSupport
329
329
  end
330
330
 
331
- class GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo
331
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
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
332
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
351
 
334
352
  include Google::Apis::Core::JsonObjectSupport
@@ -346,6 +364,12 @@ module Google
346
364
  include Google::Apis::Core::JsonObjectSupport
347
365
  end
348
366
 
367
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
349
373
  class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
350
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
351
375
 
@@ -358,6 +382,12 @@ module Google
358
382
  include Google::Apis::Core::JsonObjectSupport
359
383
  end
360
384
 
385
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
386
+ class Representation < Google::Apis::Core::JsonRepresentation; end
387
+
388
+ include Google::Apis::Core::JsonObjectSupport
389
+ end
390
+
361
391
  class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
362
392
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
393
 
@@ -1183,10 +1213,40 @@ module Google
1183
1213
  end
1184
1214
  end
1185
1215
 
1186
- class GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo
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
+
1227
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo
1187
1228
  # @private
1188
1229
  class Representation < Google::Apis::Core::JsonRepresentation
1189
1230
  property :encryption_sa_email, as: 'encryptionSaEmail'
1231
+ property :jwk, as: 'jwk'
1232
+ end
1233
+ end
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'
1190
1250
  end
1191
1251
  end
1192
1252
 
@@ -1210,13 +1270,27 @@ module Google
1210
1270
  end
1211
1271
  end
1212
1272
 
1213
- class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
1273
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant
1214
1274
  # @private
1215
1275
  class Representation < Google::Apis::Core::JsonRepresentation
1216
- property :authentication_info, as: 'authenticationInfo', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaAuthenticationInfo::Representation
1276
+ property :create_time, as: 'createTime'
1277
+ property :display_name, as: 'displayName'
1278
+ property :google_group_email, as: 'googleGroupEmail'
1279
+ property :google_group_id, as: 'googleGroupId'
1280
+ property :name, as: 'name'
1281
+ property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata::Representation
1217
1282
 
1283
+ property :update_time, as: 'updateTime'
1284
+ end
1285
+ end
1286
+
1287
+ class GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
1288
+ # @private
1289
+ class Representation < Google::Apis::Core::JsonRepresentation
1218
1290
  property :create_time, as: 'createTime'
1219
1291
  property :display_name, as: 'displayName'
1292
+ property :encryption_info, as: 'encryptionInfo', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaEncryptionInfo::Representation
1293
+
1220
1294
  property :name, as: 'name'
1221
1295
  property :proxy_uri, as: 'proxyUri'
1222
1296
  property :routing_info, as: 'routingInfo', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRoutingInfo::Representation
@@ -1234,6 +1308,14 @@ module Google
1234
1308
  end
1235
1309
  end
1236
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
+
1237
1319
  class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
1238
1320
  # @private
1239
1321
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -52,6 +52,704 @@ module Google
52
52
  @batch_path = 'batch'
53
53
  end
54
54
 
55
+ # Creates a new BeyondCorp Enterprise partnerTenant in a given organization and
56
+ # can only be called by onboarded BeyondCorp Enterprise partner.
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
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: `
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
+ # Sets the access control policy on the specified resource. Replaces any
277
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
278
+ # PERMISSION_DENIED` errors.
279
+ # @param [String] resource
280
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
281
+ # names](https://cloud.google.com/apis/design/resource_names) for the
282
+ # appropriate value for this field.
283
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
284
+ # @param [String] fields
285
+ # Selector specifying which fields to include in a partial response.
286
+ # @param [String] quota_user
287
+ # Available to use for quota purposes for server-side applications. Can be any
288
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
289
+ # @param [Google::Apis::RequestOptions] options
290
+ # Request-specific options
291
+ #
292
+ # @yield [result, err] Result & error if block supplied
293
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
294
+ # @yieldparam err [StandardError] error object if request failed
295
+ #
296
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
297
+ #
298
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
299
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
300
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
301
+ 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)
302
+ command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
303
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
304
+ command.request_object = google_iam_v1_set_iam_policy_request_object
305
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
306
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
307
+ command.params['resource'] = resource unless resource.nil?
308
+ command.query['fields'] = fields unless fields.nil?
309
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
310
+ execute_or_queue_command(command, &block)
311
+ end
312
+
313
+ # Returns permissions that a caller has on the specified resource. If the
314
+ # resource does not exist, this will return an empty set of permissions, not a `
315
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
316
+ # permission-aware UIs and command-line tools, not for authorization checking.
317
+ # This operation may "fail open" without warning.
318
+ # @param [String] resource
319
+ # REQUIRED: The resource for which the policy detail is being requested. See [
320
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
321
+ # appropriate value for this field.
322
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
323
+ # @param [String] fields
324
+ # Selector specifying which fields to include in a partial response.
325
+ # @param [String] quota_user
326
+ # Available to use for quota purposes for server-side applications. Can be any
327
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
328
+ # @param [Google::Apis::RequestOptions] options
329
+ # Request-specific options
330
+ #
331
+ # @yield [result, err] Result & error if block supplied
332
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
333
+ # @yieldparam err [StandardError] error object if request failed
334
+ #
335
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
336
+ #
337
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
338
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
339
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
340
+ 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)
341
+ command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
342
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
343
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
344
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
345
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
346
+ command.params['resource'] = resource unless resource.nil?
347
+ command.query['fields'] = fields unless fields.nil?
348
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
349
+ execute_or_queue_command(command, &block)
350
+ end
351
+
352
+ # Creates a new BrowserDlpRule in a given organization and PartnerTenant.
353
+ # @param [String] parent
354
+ # Required. The resource name of the BrowserDlpRule parent using the form: `
355
+ # organizations/`organization_id`/locations/global/partnerTenants/`
356
+ # partner_tenant_id``
357
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule] google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
358
+ # @param [String] request_id
359
+ # Optional. An optional request ID to identify requests. Specify a unique
360
+ # request ID so that if you must retry your request, the server will know to
361
+ # ignore the request if it has already been completed. The server will guarantee
362
+ # that for at least 60 minutes since the first request. For example, consider a
363
+ # situation where you make an initial request and the request times out. If you
364
+ # make the request again with the same request ID, the server can check if
365
+ # original operation with the same request ID was received, and if so, will
366
+ # ignore the second request. This prevents clients from accidentally creating
367
+ # duplicate commitments. The request ID must be a valid UUID with the exception
368
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
369
+ # @param [String] fields
370
+ # Selector specifying which fields to include in a partial response.
371
+ # @param [String] quota_user
372
+ # Available to use for quota purposes for server-side applications. Can be any
373
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
374
+ # @param [Google::Apis::RequestOptions] options
375
+ # Request-specific options
376
+ #
377
+ # @yield [result, err] Result & error if block supplied
378
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
379
+ # @yieldparam err [StandardError] error object if request failed
380
+ #
381
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
382
+ #
383
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
384
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
385
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
386
+ 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)
387
+ command = make_simple_command(:post, 'v1alpha/{+parent}/browserDlpRules', options)
388
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule::Representation
389
+ command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_browser_dlp_rule_object
390
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
391
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
392
+ command.params['parent'] = parent unless parent.nil?
393
+ command.query['requestId'] = request_id unless request_id.nil?
394
+ command.query['fields'] = fields unless fields.nil?
395
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
396
+ execute_or_queue_command(command, &block)
397
+ end
398
+
399
+ # Gets details of a single BrowserDlpRule.
400
+ # @param [String] name
401
+ # Required. The resource name of the BrowserDlpRule using the form: `
402
+ # organizations/`organization_id`/locations/global/partnerTenants/`
403
+ # partner_tenant_id`/browserDlpRules/`browser_dlp_rule_id``
404
+ # @param [String] fields
405
+ # Selector specifying which fields to include in a partial response.
406
+ # @param [String] quota_user
407
+ # Available to use for quota purposes for server-side applications. Can be any
408
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
409
+ # @param [Google::Apis::RequestOptions] options
410
+ # Request-specific options
411
+ #
412
+ # @yield [result, err] Result & error if block supplied
413
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule] parsed result object
414
+ # @yieldparam err [StandardError] error object if request failed
415
+ #
416
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule]
417
+ #
418
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
419
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
420
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
421
+ def get_organization_location_global_partner_tenant_browser_dlp_rule(name, fields: nil, quota_user: nil, options: nil, &block)
422
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
423
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule::Representation
424
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule
425
+ command.params['name'] = name unless name.nil?
426
+ command.query['fields'] = fields unless fields.nil?
427
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
428
+ execute_or_queue_command(command, &block)
429
+ end
430
+
431
+ # Gets the access control policy for a resource. Returns an empty policy if the
432
+ # resource exists and does not have a policy set.
433
+ # @param [String] resource
434
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
435
+ # names](https://cloud.google.com/apis/design/resource_names) for the
436
+ # appropriate value for this field.
437
+ # @param [Fixnum] options_requested_policy_version
438
+ # Optional. The maximum policy version that will be used to format the policy.
439
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
440
+ # rejected. Requests for policies with any conditional role bindings must
441
+ # specify version 3. Policies with no conditional role bindings may specify any
442
+ # valid value or leave the field unset. The policy in the response might use the
443
+ # policy version that you specified, or it might use a lower policy version. For
444
+ # example, if you specify version 3, but the policy has no conditional role
445
+ # bindings, the response uses version 1. To learn which resources support
446
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
447
+ # google.com/iam/help/conditions/resource-policies).
448
+ # @param [String] fields
449
+ # Selector specifying which fields to include in a partial response.
450
+ # @param [String] quota_user
451
+ # Available to use for quota purposes for server-side applications. Can be any
452
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
453
+ # @param [Google::Apis::RequestOptions] options
454
+ # Request-specific options
455
+ #
456
+ # @yield [result, err] Result & error if block supplied
457
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
458
+ # @yieldparam err [StandardError] error object if request failed
459
+ #
460
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
461
+ #
462
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
463
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
464
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
465
+ 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)
466
+ command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
467
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
468
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
469
+ command.params['resource'] = resource unless resource.nil?
470
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
471
+ command.query['fields'] = fields unless fields.nil?
472
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
473
+ execute_or_queue_command(command, &block)
474
+ end
475
+
476
+ # Sets the access control policy on the specified resource. Replaces any
477
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
478
+ # PERMISSION_DENIED` errors.
479
+ # @param [String] resource
480
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
481
+ # names](https://cloud.google.com/apis/design/resource_names) for the
482
+ # appropriate value for this field.
483
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
484
+ # @param [String] fields
485
+ # Selector specifying which fields to include in a partial response.
486
+ # @param [String] quota_user
487
+ # Available to use for quota purposes for server-side applications. Can be any
488
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
489
+ # @param [Google::Apis::RequestOptions] options
490
+ # Request-specific options
491
+ #
492
+ # @yield [result, err] Result & error if block supplied
493
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
494
+ # @yieldparam err [StandardError] error object if request failed
495
+ #
496
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
497
+ #
498
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
499
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
500
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
501
+ 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)
502
+ command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
503
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
504
+ command.request_object = google_iam_v1_set_iam_policy_request_object
505
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
506
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
507
+ command.params['resource'] = resource unless resource.nil?
508
+ command.query['fields'] = fields unless fields.nil?
509
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
510
+ execute_or_queue_command(command, &block)
511
+ end
512
+
513
+ # Returns permissions that a caller has on the specified resource. If the
514
+ # resource does not exist, this will return an empty set of permissions, not a `
515
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
516
+ # permission-aware UIs and command-line tools, not for authorization checking.
517
+ # This operation may "fail open" without warning.
518
+ # @param [String] resource
519
+ # REQUIRED: The resource for which the policy detail is being requested. See [
520
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
521
+ # appropriate value for this field.
522
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
523
+ # @param [String] fields
524
+ # Selector specifying which fields to include in a partial response.
525
+ # @param [String] quota_user
526
+ # Available to use for quota purposes for server-side applications. Can be any
527
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
528
+ # @param [Google::Apis::RequestOptions] options
529
+ # Request-specific options
530
+ #
531
+ # @yield [result, err] Result & error if block supplied
532
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
533
+ # @yieldparam err [StandardError] error object if request failed
534
+ #
535
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
536
+ #
537
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
538
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
539
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
540
+ 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)
541
+ command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
542
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
543
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
544
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
545
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
546
+ command.params['resource'] = resource unless resource.nil?
547
+ command.query['fields'] = fields unless fields.nil?
548
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
549
+ execute_or_queue_command(command, &block)
550
+ end
551
+
552
+ # Creates a new BeyondCorp Enterprise ProxyConfig in a given organization and
553
+ # PartnerTenant. Can only be called by on onboarded Beyondcorp Enterprise
554
+ # partner.
555
+ # @param [String] parent
556
+ # Required. The resource name of the Tenant using the form: `organizations/`
557
+ # organization_id`/locations/global/tenants/`tenant_id``
558
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
559
+ # @param [String] request_id
560
+ # Optional. An optional request ID to identify requests. Specify a unique
561
+ # request ID so that if you must retry your request, the server will know to
562
+ # ignore the request if it has already been completed. The server will guarantee
563
+ # that for at least 60 minutes since the first request. For example, consider a
564
+ # situation where you make an initial request and the request times out. If you
565
+ # make the request again with the same request ID, the server can check if
566
+ # original operation with the same request ID was received, and if so, will
567
+ # ignore the second request. This prevents clients from accidentally creating
568
+ # duplicate commitments. The request ID must be a valid UUID with the exception
569
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
570
+ # @param [String] fields
571
+ # Selector specifying which fields to include in a partial response.
572
+ # @param [String] quota_user
573
+ # Available to use for quota purposes for server-side applications. Can be any
574
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
575
+ # @param [Google::Apis::RequestOptions] options
576
+ # Request-specific options
577
+ #
578
+ # @yield [result, err] Result & error if block supplied
579
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
580
+ # @yieldparam err [StandardError] error object if request failed
581
+ #
582
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
583
+ #
584
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
585
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
586
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
587
+ 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)
588
+ command = make_simple_command(:post, 'v1alpha/{+parent}/proxyConfigs', options)
589
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
590
+ command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
591
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
592
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
593
+ command.params['parent'] = parent unless parent.nil?
594
+ command.query['requestId'] = request_id unless request_id.nil?
595
+ command.query['fields'] = fields unless fields.nil?
596
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
597
+ execute_or_queue_command(command, &block)
598
+ end
599
+
600
+ # Gets details of a single ProxyConfig.
601
+ # @param [String] name
602
+ # Required. The resource name of the ProxyConfig using the form: `organizations/`
603
+ # organization_id`/locations/global/tenants/`tenant_id`/proxyConfigs/`
604
+ # proxy_config_id``
605
+ # @param [String] fields
606
+ # Selector specifying which fields to include in a partial response.
607
+ # @param [String] quota_user
608
+ # Available to use for quota purposes for server-side applications. Can be any
609
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
610
+ # @param [Google::Apis::RequestOptions] options
611
+ # Request-specific options
612
+ #
613
+ # @yield [result, err] Result & error if block supplied
614
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] parsed result object
615
+ # @yieldparam err [StandardError] error object if request failed
616
+ #
617
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig]
618
+ #
619
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
620
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
621
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
622
+ def get_organization_location_global_partner_tenant_proxy_config(name, fields: nil, quota_user: nil, options: nil, &block)
623
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
624
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
625
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
626
+ command.params['name'] = name unless name.nil?
627
+ command.query['fields'] = fields unless fields.nil?
628
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
629
+ execute_or_queue_command(command, &block)
630
+ end
631
+
632
+ # Gets the access control policy for a resource. Returns an empty policy if the
633
+ # resource exists and does not have a policy set.
634
+ # @param [String] resource
635
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
636
+ # names](https://cloud.google.com/apis/design/resource_names) for the
637
+ # appropriate value for this field.
638
+ # @param [Fixnum] options_requested_policy_version
639
+ # Optional. The maximum policy version that will be used to format the policy.
640
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
641
+ # rejected. Requests for policies with any conditional role bindings must
642
+ # specify version 3. Policies with no conditional role bindings may specify any
643
+ # valid value or leave the field unset. The policy in the response might use the
644
+ # policy version that you specified, or it might use a lower policy version. For
645
+ # example, if you specify version 3, but the policy has no conditional role
646
+ # bindings, the response uses version 1. To learn which resources support
647
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
648
+ # google.com/iam/help/conditions/resource-policies).
649
+ # @param [String] fields
650
+ # Selector specifying which fields to include in a partial response.
651
+ # @param [String] quota_user
652
+ # Available to use for quota purposes for server-side applications. Can be any
653
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
654
+ # @param [Google::Apis::RequestOptions] options
655
+ # Request-specific options
656
+ #
657
+ # @yield [result, err] Result & error if block supplied
658
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
659
+ # @yieldparam err [StandardError] error object if request failed
660
+ #
661
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
662
+ #
663
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
664
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
665
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
666
+ 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)
667
+ command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
668
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
669
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
670
+ command.params['resource'] = resource unless resource.nil?
671
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
672
+ command.query['fields'] = fields unless fields.nil?
673
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
674
+ execute_or_queue_command(command, &block)
675
+ end
676
+
677
+ # Sets the access control policy on the specified resource. Replaces any
678
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
679
+ # PERMISSION_DENIED` errors.
680
+ # @param [String] resource
681
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
682
+ # names](https://cloud.google.com/apis/design/resource_names) for the
683
+ # appropriate value for this field.
684
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
685
+ # @param [String] fields
686
+ # Selector specifying which fields to include in a partial response.
687
+ # @param [String] quota_user
688
+ # Available to use for quota purposes for server-side applications. Can be any
689
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
690
+ # @param [Google::Apis::RequestOptions] options
691
+ # Request-specific options
692
+ #
693
+ # @yield [result, err] Result & error if block supplied
694
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
695
+ # @yieldparam err [StandardError] error object if request failed
696
+ #
697
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
698
+ #
699
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
700
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
701
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
702
+ 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)
703
+ command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
704
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
705
+ command.request_object = google_iam_v1_set_iam_policy_request_object
706
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
707
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
708
+ command.params['resource'] = resource unless resource.nil?
709
+ command.query['fields'] = fields unless fields.nil?
710
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
711
+ execute_or_queue_command(command, &block)
712
+ end
713
+
714
+ # Returns permissions that a caller has on the specified resource. If the
715
+ # resource does not exist, this will return an empty set of permissions, not a `
716
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
717
+ # permission-aware UIs and command-line tools, not for authorization checking.
718
+ # This operation may "fail open" without warning.
719
+ # @param [String] resource
720
+ # REQUIRED: The resource for which the policy detail is being requested. See [
721
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
722
+ # appropriate value for this field.
723
+ # @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
724
+ # @param [String] fields
725
+ # Selector specifying which fields to include in a partial response.
726
+ # @param [String] quota_user
727
+ # Available to use for quota purposes for server-side applications. Can be any
728
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
729
+ # @param [Google::Apis::RequestOptions] options
730
+ # Request-specific options
731
+ #
732
+ # @yield [result, err] Result & error if block supplied
733
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
734
+ # @yieldparam err [StandardError] error object if request failed
735
+ #
736
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
737
+ #
738
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
739
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
740
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
741
+ 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)
742
+ command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
743
+ command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
744
+ command.request_object = google_iam_v1_test_iam_permissions_request_object
745
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
746
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
747
+ command.params['resource'] = resource unless resource.nil?
748
+ command.query['fields'] = fields unless fields.nil?
749
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
750
+ execute_or_queue_command(command, &block)
751
+ end
752
+
55
753
  # Creates a new BeyondCorp Enterprise tenant in a given organization and can
56
754
  # only be called by onboarded BeyondCorp Enterprise partner.
57
755
  # @param [String] parent
@@ -99,6 +797,48 @@ module Google
99
797
  execute_or_queue_command(command, &block)
100
798
  end
101
799
 
800
+ # Deletes a single Tenant.
801
+ # @param [String] name
802
+ # Required. Name of the resource.
803
+ # @param [String] request_id
804
+ # Optional. An optional request ID to identify requests. Specify a unique
805
+ # request ID so that if you must retry your request, the server will know to
806
+ # ignore the request if it has already been completed. The server will guarantee
807
+ # that for at least 60 minutes after the first request. For example, consider a
808
+ # situation where you make an initial request and the request times out. If you
809
+ # make the request again with the same request ID, the server can check if
810
+ # original operation with the same request ID was received, and if so, will
811
+ # ignore the second request. This prevents clients from accidentally creating
812
+ # duplicate commitments. The request ID must be a valid UUID with the exception
813
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
814
+ # @param [String] fields
815
+ # Selector specifying which fields to include in a partial response.
816
+ # @param [String] quota_user
817
+ # Available to use for quota purposes for server-side applications. Can be any
818
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
819
+ # @param [Google::Apis::RequestOptions] options
820
+ # Request-specific options
821
+ #
822
+ # @yield [result, err] Result & error if block supplied
823
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
824
+ # @yieldparam err [StandardError] error object if request failed
825
+ #
826
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
827
+ #
828
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
829
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
830
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
831
+ def delete_organization_location_global_tenant(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
832
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
833
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
834
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
835
+ command.params['name'] = name unless name.nil?
836
+ command.query['requestId'] = request_id unless request_id.nil?
837
+ command.query['fields'] = fields unless fields.nil?
838
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
839
+ execute_or_queue_command(command, &block)
840
+ end
841
+
102
842
  # Gets details of a single Tenant.
103
843
  # @param [String] name
104
844
  # Required. The resource name of the Tenant using the form: `organizations/`
@@ -130,10 +870,10 @@ module Google
130
870
  execute_or_queue_command(command, &block)
131
871
  end
132
872
 
133
- # Creates a new BeyondCorp Enterprise ProxyConfiguration in a given organization
134
- # and tenant. Can only be called by on onboarded Beyondcorp Enterprise partner.
873
+ # Creates a new BeyondCorp Enterprise ProxyConfig in a given organization and
874
+ # Tenant. Can only be called by on onboarded Beyondcorp Enterprise partner.
135
875
  # @param [String] parent
136
- # Required. The resource name of the ProxyConfig using the form: `organizations/`
876
+ # Required. The resource name of the Tenant using the form: `organizations/`
137
877
  # organization_id`/locations/global/tenants/`tenant_id``
138
878
  # @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
139
879
  # @param [String] request_id
@@ -177,9 +917,51 @@ module Google
177
917
  execute_or_queue_command(command, &block)
178
918
  end
179
919
 
180
- # Gets details of a single Tenant.
920
+ # Deletes a single ProxyConfig.
181
921
  # @param [String] name
182
- # Required. The resource name of the Tenant using the form: `organizations/`
922
+ # Required. Name of the resource.
923
+ # @param [String] request_id
924
+ # Optional. An optional request ID to identify requests. Specify a unique
925
+ # request ID so that if you must retry your request, the server will know to
926
+ # ignore the request if it has already been completed. The server will guarantee
927
+ # that for at least 60 minutes after the first request. For example, consider a
928
+ # situation where you make an initial request and the request times out. If you
929
+ # make the request again with the same request ID, the server can check if
930
+ # original operation with the same request ID was received, and if so, will
931
+ # ignore the second request. This prevents clients from accidentally creating
932
+ # duplicate commitments. The request ID must be a valid UUID with the exception
933
+ # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
934
+ # @param [String] fields
935
+ # Selector specifying which fields to include in a partial response.
936
+ # @param [String] quota_user
937
+ # Available to use for quota purposes for server-side applications. Can be any
938
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
939
+ # @param [Google::Apis::RequestOptions] options
940
+ # Request-specific options
941
+ #
942
+ # @yield [result, err] Result & error if block supplied
943
+ # @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
944
+ # @yieldparam err [StandardError] error object if request failed
945
+ #
946
+ # @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
947
+ #
948
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
949
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
950
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
951
+ def delete_organization_location_global_tenant_proxy_config(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
952
+ command = make_simple_command(:delete, 'v1alpha/{+name}', options)
953
+ command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
954
+ command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
955
+ command.params['name'] = name unless name.nil?
956
+ command.query['requestId'] = request_id unless request_id.nil?
957
+ command.query['fields'] = fields unless fields.nil?
958
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
959
+ execute_or_queue_command(command, &block)
960
+ end
961
+
962
+ # Gets details of a single ProxyConfig.
963
+ # @param [String] name
964
+ # Required. The resource name of the ProxyConfig using the form: `organizations/`
183
965
  # organization_id`/locations/global/tenants/`tenant_id`/proxyConfigs/`
184
966
  # proxy_config_id``
185
967
  # @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.18.0
4
+ version: 0.20.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-05-14 00:00:00.000000000 Z
11
+ date: 2023-05-28 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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.20.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: []