google-apis-beyondcorp_v1alpha 0.23.0 → 0.25.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 +46 -84
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +14 -20
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +32 -241
- 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: 23cbcec6b90415165c1581a32bcb3620274d65771cce3ce686471c753b6ad18b
|
4
|
+
data.tar.gz: bb2c11d866694eeaccb64159bcfa3fab31a93d0fabdd436f49833131685cde42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dc19fbafc52f8c23c30c4f6ed69aa4d74a3603fef4e889c44b1f983498b529e03cc9059f5cc3f0be032730c41ba5e74f1f023b69c8be7eb97085e131ab8357d
|
7
|
+
data.tar.gz: c5df02374db5fa00d3b809ce44c32c6a8b2244b5b6f289b9b76fd33c96f89345e1e71f6482f545d250fe9c93903ce63c219d89437825b381191182609c4ef7ec
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1alpha
|
2
2
|
|
3
|
+
### v0.25.0 (2023-08-13)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230802
|
6
|
+
|
7
|
+
### v0.24.0 (2023-08-06)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230726
|
10
|
+
|
3
11
|
### v0.23.0 (2023-06-25)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230616
|
@@ -1902,6 +1902,25 @@ module Google
|
|
1902
1902
|
end
|
1903
1903
|
end
|
1904
1904
|
|
1905
|
+
# Message for response to listing BrowserDlpRules.
|
1906
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse
|
1907
|
+
include Google::Apis::Core::Hashable
|
1908
|
+
|
1909
|
+
# The list of BrowserDlpRule objects.
|
1910
|
+
# Corresponds to the JSON property `browserDlpRules`
|
1911
|
+
# @return [Array<Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule>]
|
1912
|
+
attr_accessor :browser_dlp_rules
|
1913
|
+
|
1914
|
+
def initialize(**args)
|
1915
|
+
update!(**args)
|
1916
|
+
end
|
1917
|
+
|
1918
|
+
# Update properties of this object
|
1919
|
+
def update!(**args)
|
1920
|
+
@browser_dlp_rules = args[:browser_dlp_rules] if args.key?(:browser_dlp_rules)
|
1921
|
+
end
|
1922
|
+
end
|
1923
|
+
|
1905
1924
|
# Message for response to listing PartnerTenants.
|
1906
1925
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
|
1907
1926
|
include Google::Apis::Core::Hashable
|
@@ -2183,63 +2202,6 @@ module Google
|
|
2183
2202
|
end
|
2184
2203
|
end
|
2185
2204
|
|
2186
|
-
# Information about a BeyoncCorp Enterprise Tenant.
|
2187
|
-
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
2188
|
-
include Google::Apis::Core::Hashable
|
2189
|
-
|
2190
|
-
# Output only. Timestamp when the resource was created.
|
2191
|
-
# Corresponds to the JSON property `createTime`
|
2192
|
-
# @return [String]
|
2193
|
-
attr_accessor :create_time
|
2194
|
-
|
2195
|
-
# Optional. An arbitrary caller-provided name for the Tenant. Cannot exceed 64
|
2196
|
-
# characters.
|
2197
|
-
# Corresponds to the JSON property `displayName`
|
2198
|
-
# @return [String]
|
2199
|
-
attr_accessor :display_name
|
2200
|
-
|
2201
|
-
# Optional. Google group email to which the Tenant is enabled.
|
2202
|
-
# Corresponds to the JSON property `googleGroupEmail`
|
2203
|
-
# @return [String]
|
2204
|
-
attr_accessor :google_group_email
|
2205
|
-
|
2206
|
-
# Optional. Google group ID to which the Tenant is enabled.
|
2207
|
-
# Corresponds to the JSON property `googleGroupId`
|
2208
|
-
# @return [String]
|
2209
|
-
attr_accessor :google_group_id
|
2210
|
-
|
2211
|
-
# Output only. Unique resource name of the Tenant. The name is ignored when
|
2212
|
-
# creating Tenant.
|
2213
|
-
# Corresponds to the JSON property `name`
|
2214
|
-
# @return [String]
|
2215
|
-
attr_accessor :name
|
2216
|
-
|
2217
|
-
# Metadata associated with PartnerTenant and is provided by the Partner.
|
2218
|
-
# Corresponds to the JSON property `partnerMetadata`
|
2219
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]
|
2220
|
-
attr_accessor :partner_metadata
|
2221
|
-
|
2222
|
-
# Output only. Timestamp when the resource was last modified.
|
2223
|
-
# Corresponds to the JSON property `updateTime`
|
2224
|
-
# @return [String]
|
2225
|
-
attr_accessor :update_time
|
2226
|
-
|
2227
|
-
def initialize(**args)
|
2228
|
-
update!(**args)
|
2229
|
-
end
|
2230
|
-
|
2231
|
-
# Update properties of this object
|
2232
|
-
def update!(**args)
|
2233
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
2234
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2235
|
-
@google_group_email = args[:google_group_email] if args.key?(:google_group_email)
|
2236
|
-
@google_group_id = args[:google_group_id] if args.key?(:google_group_id)
|
2237
|
-
@name = args[:name] if args.key?(:name)
|
2238
|
-
@partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
|
2239
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
2240
|
-
end
|
2241
|
-
end
|
2242
|
-
|
2243
2205
|
# Message contains the transport layer information to verify the proxy server.
|
2244
2206
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo
|
2245
2207
|
include Google::Apis::Core::Hashable
|
@@ -3008,22 +2970,22 @@ module Google
|
|
3008
2970
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
3009
2971
|
# the request, the resource, or both. To learn which resources support
|
3010
2972
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3011
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2973
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
3012
2974
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3013
2975
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3014
2976
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3015
2977
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3016
2978
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3017
2979
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3018
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
3019
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
3020
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
3021
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
3022
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
3023
|
-
# access description: Does not grant access after Sep 2020
|
3024
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3025
|
-
# a description of IAM and its features, see the
|
3026
|
-
# cloud.google.com/iam/docs/).
|
2980
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
2981
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
2982
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
2983
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
2984
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
2985
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
2986
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
2987
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
2988
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3027
2989
|
class GoogleIamV1Policy
|
3028
2990
|
include Google::Apis::Core::Hashable
|
3029
2991
|
|
@@ -3107,22 +3069,22 @@ module Google
|
|
3107
3069
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
3108
3070
|
# the request, the resource, or both. To learn which resources support
|
3109
3071
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3110
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3072
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
3111
3073
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3112
3074
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3113
3075
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3114
3076
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3115
3077
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3116
3078
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3117
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
3118
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
3119
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
3120
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
3121
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
3122
|
-
# access description: Does not grant access after Sep 2020
|
3123
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3124
|
-
# a description of IAM and its features, see the
|
3125
|
-
# cloud.google.com/iam/docs/).
|
3079
|
+
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` ``` **YAML
|
3080
|
+
# example:** ``` bindings: - members: - user:mike@example.com - group:admins@
|
3081
|
+
# example.com - domain:google.com - serviceAccount:my-project-id@appspot.
|
3082
|
+
# gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: -
|
3083
|
+
# user:eve@example.com role: roles/resourcemanager.organizationViewer condition:
|
3084
|
+
# title: expirable access description: Does not grant access after Sep 2020
|
3085
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3086
|
+
# BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the
|
3087
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
3126
3088
|
# Corresponds to the JSON property `policy`
|
3127
3089
|
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
3128
3090
|
attr_accessor :policy
|
@@ -3260,13 +3222,13 @@ module Google
|
|
3260
3222
|
# @return [String]
|
3261
3223
|
attr_accessor :name
|
3262
3224
|
|
3263
|
-
# The normal response of the operation
|
3264
|
-
#
|
3265
|
-
#
|
3266
|
-
#
|
3267
|
-
#
|
3268
|
-
#
|
3269
|
-
#
|
3225
|
+
# The normal, successful response of the operation. If the original method
|
3226
|
+
# returns no data on success, such as `Delete`, the response is `google.protobuf.
|
3227
|
+
# Empty`. If the original method is standard `Get`/`Create`/`Update`, the
|
3228
|
+
# response should be the resource. For other methods, the response should have
|
3229
|
+
# the type `XxxResponse`, where `Xxx` is the original method name. For example,
|
3230
|
+
# if the original method name is `TakeSnapshot()`, the inferred response type is
|
3231
|
+
# `TakeSnapshotResponse`.
|
3270
3232
|
# Corresponds to the JSON property `response`
|
3271
3233
|
# @return [Hash<String,Object>]
|
3272
3234
|
attr_accessor :response
|
@@ -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.25.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 = "20230802"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -304,6 +304,12 @@ module Google
|
|
304
304
|
include Google::Apis::Core::JsonObjectSupport
|
305
305
|
end
|
306
306
|
|
307
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse
|
308
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
|
+
|
310
|
+
include Google::Apis::Core::JsonObjectSupport
|
311
|
+
end
|
312
|
+
|
307
313
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
|
308
314
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
315
|
|
@@ -352,12 +358,6 @@ module Google
|
|
352
358
|
include Google::Apis::Core::JsonObjectSupport
|
353
359
|
end
|
354
360
|
|
355
|
-
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
356
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
357
|
-
|
358
|
-
include Google::Apis::Core::JsonObjectSupport
|
359
|
-
end
|
360
|
-
|
361
361
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo
|
362
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
363
|
|
@@ -1102,6 +1102,14 @@ module Google
|
|
1102
1102
|
end
|
1103
1103
|
end
|
1104
1104
|
|
1105
|
+
class GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse
|
1106
|
+
# @private
|
1107
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1108
|
+
collection :browser_dlp_rules, as: 'browserDlpRules', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule::Representation
|
1109
|
+
|
1110
|
+
end
|
1111
|
+
end
|
1112
|
+
|
1105
1113
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse
|
1106
1114
|
# @private
|
1107
1115
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1185,20 +1193,6 @@ module Google
|
|
1185
1193
|
end
|
1186
1194
|
end
|
1187
1195
|
|
1188
|
-
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
1189
|
-
# @private
|
1190
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1191
|
-
property :create_time, as: 'createTime'
|
1192
|
-
property :display_name, as: 'displayName'
|
1193
|
-
property :google_group_email, as: 'googleGroupEmail'
|
1194
|
-
property :google_group_id, as: 'googleGroupId'
|
1195
|
-
property :name, as: 'name'
|
1196
|
-
property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata::Representation
|
1197
|
-
|
1198
|
-
property :update_time, as: 'updateTime'
|
1199
|
-
end
|
1200
|
-
end
|
1201
|
-
|
1202
1196
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo
|
1203
1197
|
# @private
|
1204
1198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -546,6 +546,38 @@ module Google
|
|
546
546
|
execute_or_queue_command(command, &block)
|
547
547
|
end
|
548
548
|
|
549
|
+
# Lists BrowserDlpRules for PartnerTenant in a given organization.
|
550
|
+
# @param [String] parent
|
551
|
+
# Required. The parent partnerTenant to which the BrowserDlpRules belong. Format:
|
552
|
+
# `organizations/`organization_id`/locations/global/partnerTenants/`
|
553
|
+
# partner_tenant_id``
|
554
|
+
# @param [String] fields
|
555
|
+
# Selector specifying which fields to include in a partial response.
|
556
|
+
# @param [String] quota_user
|
557
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
558
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
559
|
+
# @param [Google::Apis::RequestOptions] options
|
560
|
+
# Request-specific options
|
561
|
+
#
|
562
|
+
# @yield [result, err] Result & error if block supplied
|
563
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse] parsed result object
|
564
|
+
# @yieldparam err [StandardError] error object if request failed
|
565
|
+
#
|
566
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse]
|
567
|
+
#
|
568
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
569
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
570
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
571
|
+
def list_organization_location_global_partner_tenant_browser_dlp_rules(parent, fields: nil, quota_user: nil, options: nil, &block)
|
572
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/browserDlpRules', options)
|
573
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse::Representation
|
574
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaListBrowserDlpRulesResponse
|
575
|
+
command.params['parent'] = parent unless parent.nil?
|
576
|
+
command.query['fields'] = fields unless fields.nil?
|
577
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
578
|
+
execute_or_queue_command(command, &block)
|
579
|
+
end
|
580
|
+
|
549
581
|
# Update an existing BrowserDlpRule in a given organization and PartnerTenant.
|
550
582
|
# @param [String] name
|
551
583
|
# Output only. Unique resource name. The name is ignored when creating
|
@@ -995,247 +1027,6 @@ module Google
|
|
995
1027
|
execute_or_queue_command(command, &block)
|
996
1028
|
end
|
997
1029
|
|
998
|
-
# Creates a new BeyondCorp Enterprise tenant in a given organization and can
|
999
|
-
# only be called by onboarded BeyondCorp Enterprise partner.
|
1000
|
-
# @param [String] parent
|
1001
|
-
# Required. The resource name of the Tenant using the form: `organizations/`
|
1002
|
-
# organization_id`/locations/global`
|
1003
|
-
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant] google_cloud_beyondcorp_partnerservices_v1alpha_tenant_object
|
1004
|
-
# @param [String] request_id
|
1005
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1006
|
-
# request ID so that if you must retry your request, the server will know to
|
1007
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1008
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
1009
|
-
# situation where you make an initial request and the request times out. If you
|
1010
|
-
# make the request again with the same request ID, the server can check if
|
1011
|
-
# original operation with the same request ID was received, and if so, will
|
1012
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1013
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1014
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1015
|
-
# @param [String] fields
|
1016
|
-
# Selector specifying which fields to include in a partial response.
|
1017
|
-
# @param [String] quota_user
|
1018
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1019
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1020
|
-
# @param [Google::Apis::RequestOptions] options
|
1021
|
-
# Request-specific options
|
1022
|
-
#
|
1023
|
-
# @yield [result, err] Result & error if block supplied
|
1024
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1025
|
-
# @yieldparam err [StandardError] error object if request failed
|
1026
|
-
#
|
1027
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1028
|
-
#
|
1029
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1030
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1031
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1032
|
-
def create_organization_location_global_tenant(parent, google_cloud_beyondcorp_partnerservices_v1alpha_tenant_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1033
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/tenants', options)
|
1034
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant::Representation
|
1035
|
-
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_tenant_object
|
1036
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1037
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1038
|
-
command.params['parent'] = parent unless parent.nil?
|
1039
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1040
|
-
command.query['fields'] = fields unless fields.nil?
|
1041
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1042
|
-
execute_or_queue_command(command, &block)
|
1043
|
-
end
|
1044
|
-
|
1045
|
-
# Deletes a single Tenant.
|
1046
|
-
# @param [String] name
|
1047
|
-
# Required. Name of the resource.
|
1048
|
-
# @param [String] request_id
|
1049
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1050
|
-
# request ID so that if you must retry your request, the server will know to
|
1051
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1052
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
1053
|
-
# situation where you make an initial request and the request times out. If you
|
1054
|
-
# make the request again with the same request ID, the server can check if
|
1055
|
-
# original operation with the same request ID was received, and if so, will
|
1056
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1057
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1058
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1059
|
-
# @param [String] fields
|
1060
|
-
# Selector specifying which fields to include in a partial response.
|
1061
|
-
# @param [String] quota_user
|
1062
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1063
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1064
|
-
# @param [Google::Apis::RequestOptions] options
|
1065
|
-
# Request-specific options
|
1066
|
-
#
|
1067
|
-
# @yield [result, err] Result & error if block supplied
|
1068
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1069
|
-
# @yieldparam err [StandardError] error object if request failed
|
1070
|
-
#
|
1071
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1072
|
-
#
|
1073
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1074
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1075
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1076
|
-
def delete_organization_location_global_tenant(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1077
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1078
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1079
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1080
|
-
command.params['name'] = name unless name.nil?
|
1081
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1082
|
-
command.query['fields'] = fields unless fields.nil?
|
1083
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1084
|
-
execute_or_queue_command(command, &block)
|
1085
|
-
end
|
1086
|
-
|
1087
|
-
# Gets details of a single Tenant.
|
1088
|
-
# @param [String] name
|
1089
|
-
# Required. The resource name of the Tenant using the form: `organizations/`
|
1090
|
-
# organization_id`/locations/global/tenants/`tenant_id``
|
1091
|
-
# @param [String] fields
|
1092
|
-
# Selector specifying which fields to include in a partial response.
|
1093
|
-
# @param [String] quota_user
|
1094
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1095
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1096
|
-
# @param [Google::Apis::RequestOptions] options
|
1097
|
-
# Request-specific options
|
1098
|
-
#
|
1099
|
-
# @yield [result, err] Result & error if block supplied
|
1100
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant] parsed result object
|
1101
|
-
# @yieldparam err [StandardError] error object if request failed
|
1102
|
-
#
|
1103
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant]
|
1104
|
-
#
|
1105
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1106
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1107
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1108
|
-
def get_organization_location_global_tenant(name, fields: nil, quota_user: nil, options: nil, &block)
|
1109
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1110
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant::Representation
|
1111
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
1112
|
-
command.params['name'] = name unless name.nil?
|
1113
|
-
command.query['fields'] = fields unless fields.nil?
|
1114
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1115
|
-
execute_or_queue_command(command, &block)
|
1116
|
-
end
|
1117
|
-
|
1118
|
-
# Creates a new BeyondCorp Enterprise ProxyConfig in a given organization and
|
1119
|
-
# Tenant. Can only be called by on onboarded Beyondcorp Enterprise partner.
|
1120
|
-
# @param [String] parent
|
1121
|
-
# Required. The resource name of the Tenant using the form: `organizations/`
|
1122
|
-
# organization_id`/locations/global/tenants/`tenant_id``
|
1123
|
-
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
1124
|
-
# @param [String] request_id
|
1125
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1126
|
-
# request ID so that if you must retry your request, the server will know to
|
1127
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1128
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
1129
|
-
# situation where you make an initial request and the request times out. If you
|
1130
|
-
# make the request again with the same request ID, the server can check if
|
1131
|
-
# original operation with the same request ID was received, and if so, will
|
1132
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1133
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1134
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1135
|
-
# @param [String] fields
|
1136
|
-
# Selector specifying which fields to include in a partial response.
|
1137
|
-
# @param [String] quota_user
|
1138
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1139
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1140
|
-
# @param [Google::Apis::RequestOptions] options
|
1141
|
-
# Request-specific options
|
1142
|
-
#
|
1143
|
-
# @yield [result, err] Result & error if block supplied
|
1144
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1145
|
-
# @yieldparam err [StandardError] error object if request failed
|
1146
|
-
#
|
1147
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1148
|
-
#
|
1149
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1150
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1151
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1152
|
-
def create_organization_location_global_tenant_proxy_config(parent, google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object = nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1153
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/proxyConfigs', options)
|
1154
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
|
1155
|
-
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
1156
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1157
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1158
|
-
command.params['parent'] = parent unless parent.nil?
|
1159
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1160
|
-
command.query['fields'] = fields unless fields.nil?
|
1161
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1162
|
-
execute_or_queue_command(command, &block)
|
1163
|
-
end
|
1164
|
-
|
1165
|
-
# Deletes a single ProxyConfig.
|
1166
|
-
# @param [String] name
|
1167
|
-
# Required. Name of the resource.
|
1168
|
-
# @param [String] request_id
|
1169
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1170
|
-
# request ID so that if you must retry your request, the server will know to
|
1171
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1172
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
1173
|
-
# situation where you make an initial request and the request times out. If you
|
1174
|
-
# make the request again with the same request ID, the server can check if
|
1175
|
-
# original operation with the same request ID was received, and if so, will
|
1176
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1177
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1178
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1179
|
-
# @param [String] fields
|
1180
|
-
# Selector specifying which fields to include in a partial response.
|
1181
|
-
# @param [String] quota_user
|
1182
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1183
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1184
|
-
# @param [Google::Apis::RequestOptions] options
|
1185
|
-
# Request-specific options
|
1186
|
-
#
|
1187
|
-
# @yield [result, err] Result & error if block supplied
|
1188
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1189
|
-
# @yieldparam err [StandardError] error object if request failed
|
1190
|
-
#
|
1191
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1192
|
-
#
|
1193
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1194
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1195
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1196
|
-
def delete_organization_location_global_tenant_proxy_config(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1197
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1198
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1199
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1200
|
-
command.params['name'] = name unless name.nil?
|
1201
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1202
|
-
command.query['fields'] = fields unless fields.nil?
|
1203
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1204
|
-
execute_or_queue_command(command, &block)
|
1205
|
-
end
|
1206
|
-
|
1207
|
-
# Gets details of a single ProxyConfig.
|
1208
|
-
# @param [String] name
|
1209
|
-
# Required. The resource name of the ProxyConfig using the form: `organizations/`
|
1210
|
-
# organization_id`/locations/global/tenants/`tenant_id`/proxyConfigs/`
|
1211
|
-
# proxy_config_id``
|
1212
|
-
# @param [String] fields
|
1213
|
-
# Selector specifying which fields to include in a partial response.
|
1214
|
-
# @param [String] quota_user
|
1215
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1216
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1217
|
-
# @param [Google::Apis::RequestOptions] options
|
1218
|
-
# Request-specific options
|
1219
|
-
#
|
1220
|
-
# @yield [result, err] Result & error if block supplied
|
1221
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] parsed result object
|
1222
|
-
# @yieldparam err [StandardError] error object if request failed
|
1223
|
-
#
|
1224
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig]
|
1225
|
-
#
|
1226
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1227
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1228
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1229
|
-
def get_organization_location_global_tenant_proxy_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1230
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1231
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
|
1232
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
|
1233
|
-
command.params['name'] = name unless name.nil?
|
1234
|
-
command.query['fields'] = fields unless fields.nil?
|
1235
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1236
|
-
execute_or_queue_command(command, &block)
|
1237
|
-
end
|
1238
|
-
|
1239
1030
|
# Gets the value for a selected particular insight based on the provided filters.
|
1240
1031
|
# Use the organization level path for fetching at org level and project level
|
1241
1032
|
# path for fetching the insight value specific to a particular project.
|
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.25.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-08-13 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.25.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: []
|