google-apis-beyondcorp_v1alpha 0.24.0 → 0.26.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 +27 -84
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +2 -2
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +0 -20
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +121 -241
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3c80b7a9925984064b7705ff7345949f27b5d3de2cf83320479555ab38e2be64
|
4
|
+
data.tar.gz: ace76782e82a84121e2b78935a8e2ba89a37f359fe685ddf847528b33e01ab36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67ae64da08a66b4f680ee652f4161a114c56ae9d064225cc70b1bfbcfffef3b9a975332f9aa7fe1fa8c2dc0e347ae3da42d3998a2d6ef1b41bfe7b59c756e881
|
7
|
+
data.tar.gz: 59bc15f4786b123b0b9cf40fc53aca366059ed68b6cb2eabdc41da6ecfa085b96840716e9ca418a0979abab2f6b58f3c63564bd4cce3a533e51ca4ef85df92ea
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1alpha
|
2
2
|
|
3
|
+
### v0.26.0 (2023-09-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230823
|
6
|
+
|
7
|
+
### v0.25.0 (2023-08-13)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230802
|
10
|
+
|
3
11
|
### v0.24.0 (2023-08-06)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230726
|
@@ -2202,63 +2202,6 @@ module Google
|
|
2202
2202
|
end
|
2203
2203
|
end
|
2204
2204
|
|
2205
|
-
# Information about a BeyoncCorp Enterprise Tenant.
|
2206
|
-
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
2207
|
-
include Google::Apis::Core::Hashable
|
2208
|
-
|
2209
|
-
# Output only. Timestamp when the resource was created.
|
2210
|
-
# Corresponds to the JSON property `createTime`
|
2211
|
-
# @return [String]
|
2212
|
-
attr_accessor :create_time
|
2213
|
-
|
2214
|
-
# Optional. An arbitrary caller-provided name for the Tenant. Cannot exceed 64
|
2215
|
-
# characters.
|
2216
|
-
# Corresponds to the JSON property `displayName`
|
2217
|
-
# @return [String]
|
2218
|
-
attr_accessor :display_name
|
2219
|
-
|
2220
|
-
# Optional. Google group email to which the Tenant is enabled.
|
2221
|
-
# Corresponds to the JSON property `googleGroupEmail`
|
2222
|
-
# @return [String]
|
2223
|
-
attr_accessor :google_group_email
|
2224
|
-
|
2225
|
-
# Optional. Google group ID to which the Tenant is enabled.
|
2226
|
-
# Corresponds to the JSON property `googleGroupId`
|
2227
|
-
# @return [String]
|
2228
|
-
attr_accessor :google_group_id
|
2229
|
-
|
2230
|
-
# Output only. Unique resource name of the Tenant. The name is ignored when
|
2231
|
-
# creating Tenant.
|
2232
|
-
# Corresponds to the JSON property `name`
|
2233
|
-
# @return [String]
|
2234
|
-
attr_accessor :name
|
2235
|
-
|
2236
|
-
# Metadata associated with PartnerTenant and is provided by the Partner.
|
2237
|
-
# Corresponds to the JSON property `partnerMetadata`
|
2238
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata]
|
2239
|
-
attr_accessor :partner_metadata
|
2240
|
-
|
2241
|
-
# Output only. Timestamp when the resource was last modified.
|
2242
|
-
# Corresponds to the JSON property `updateTime`
|
2243
|
-
# @return [String]
|
2244
|
-
attr_accessor :update_time
|
2245
|
-
|
2246
|
-
def initialize(**args)
|
2247
|
-
update!(**args)
|
2248
|
-
end
|
2249
|
-
|
2250
|
-
# Update properties of this object
|
2251
|
-
def update!(**args)
|
2252
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
2253
|
-
@display_name = args[:display_name] if args.key?(:display_name)
|
2254
|
-
@google_group_email = args[:google_group_email] if args.key?(:google_group_email)
|
2255
|
-
@google_group_id = args[:google_group_id] if args.key?(:google_group_id)
|
2256
|
-
@name = args[:name] if args.key?(:name)
|
2257
|
-
@partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
|
2258
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
2259
|
-
end
|
2260
|
-
end
|
2261
|
-
|
2262
2205
|
# Message contains the transport layer information to verify the proxy server.
|
2263
2206
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo
|
2264
2207
|
include Google::Apis::Core::Hashable
|
@@ -3027,22 +2970,22 @@ module Google
|
|
3027
2970
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
3028
2971
|
# the request, the resource, or both. To learn which resources support
|
3029
2972
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3030
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
2973
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
3031
2974
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3032
2975
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3033
2976
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3034
2977
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3035
2978
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3036
2979
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3037
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
3038
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
3039
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
3040
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
3041
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
3042
|
-
# access description: Does not grant access after Sep 2020
|
3043
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3044
|
-
# a description of IAM and its features, see the
|
3045
|
-
# 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/).
|
3046
2989
|
class GoogleIamV1Policy
|
3047
2990
|
include Google::Apis::Core::Hashable
|
3048
2991
|
|
@@ -3126,22 +3069,22 @@ module Google
|
|
3126
3069
|
# evaluates to `true`. A condition can add constraints based on attributes of
|
3127
3070
|
# the request, the resource, or both. To learn which resources support
|
3128
3071
|
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
3129
|
-
# google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
|
3072
|
+
# google.com/iam/help/conditions/resource-policies). **JSON example:** ``` ` "
|
3130
3073
|
# bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
|
3131
3074
|
# "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
|
3132
3075
|
# serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
|
3133
3076
|
# roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
|
3134
3077
|
# ], "condition": ` "title": "expirable access", "description": "Does not grant
|
3135
3078
|
# access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
3136
|
-
# 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML
|
3137
|
-
# bindings: - members: - user:mike@example.com - group:admins@
|
3138
|
-
# domain:google.com - serviceAccount:my-project-id@appspot.
|
3139
|
-
# role: roles/resourcemanager.organizationAdmin - members: -
|
3140
|
-
# com role: roles/resourcemanager.organizationViewer condition:
|
3141
|
-
# access description: Does not grant access after Sep 2020
|
3142
|
-
# time < timestamp('2020-10-01T00:00:00.000Z') etag:
|
3143
|
-
# a description of IAM and its features, see the
|
3144
|
-
# 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/).
|
3145
3088
|
# Corresponds to the JSON property `policy`
|
3146
3089
|
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
3147
3090
|
attr_accessor :policy
|
@@ -3279,13 +3222,13 @@ module Google
|
|
3279
3222
|
# @return [String]
|
3280
3223
|
attr_accessor :name
|
3281
3224
|
|
3282
|
-
# The normal response of the operation
|
3283
|
-
#
|
3284
|
-
#
|
3285
|
-
#
|
3286
|
-
#
|
3287
|
-
#
|
3288
|
-
#
|
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`.
|
3289
3232
|
# Corresponds to the JSON property `response`
|
3290
3233
|
# @return [Hash<String,Object>]
|
3291
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.26.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 = "20230823"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -358,12 +358,6 @@ module Google
|
|
358
358
|
include Google::Apis::Core::JsonObjectSupport
|
359
359
|
end
|
360
360
|
|
361
|
-
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
362
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
363
|
-
|
364
|
-
include Google::Apis::Core::JsonObjectSupport
|
365
|
-
end
|
366
|
-
|
367
361
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo
|
368
362
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
363
|
|
@@ -1199,20 +1193,6 @@ module Google
|
|
1199
1193
|
end
|
1200
1194
|
end
|
1201
1195
|
|
1202
|
-
class GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
1203
|
-
# @private
|
1204
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
1205
|
-
property :create_time, as: 'createTime'
|
1206
|
-
property :display_name, as: 'displayName'
|
1207
|
-
property :google_group_email, as: 'googleGroupEmail'
|
1208
|
-
property :google_group_id, as: 'googleGroupId'
|
1209
|
-
property :name, as: 'name'
|
1210
|
-
property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata, decorator: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata::Representation
|
1211
|
-
|
1212
|
-
property :update_time, as: 'updateTime'
|
1213
|
-
end
|
1214
|
-
end
|
1215
|
-
|
1216
1196
|
class GoogleCloudBeyondcorpPartnerservicesV1alphaTransportInfo
|
1217
1197
|
# @private
|
1218
1198
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1027,247 +1027,6 @@ module Google
|
|
1027
1027
|
execute_or_queue_command(command, &block)
|
1028
1028
|
end
|
1029
1029
|
|
1030
|
-
# Creates a new BeyondCorp Enterprise tenant in a given organization and can
|
1031
|
-
# only be called by onboarded BeyondCorp Enterprise partner.
|
1032
|
-
# @param [String] parent
|
1033
|
-
# Required. The resource name of the Tenant using the form: `organizations/`
|
1034
|
-
# organization_id`/locations/global`
|
1035
|
-
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant] google_cloud_beyondcorp_partnerservices_v1alpha_tenant_object
|
1036
|
-
# @param [String] request_id
|
1037
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1038
|
-
# request ID so that if you must retry your request, the server will know to
|
1039
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1040
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
1041
|
-
# situation where you make an initial request and the request times out. If you
|
1042
|
-
# make the request again with the same request ID, the server can check if
|
1043
|
-
# original operation with the same request ID was received, and if so, will
|
1044
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1045
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1046
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1047
|
-
# @param [String] fields
|
1048
|
-
# Selector specifying which fields to include in a partial response.
|
1049
|
-
# @param [String] quota_user
|
1050
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1051
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1052
|
-
# @param [Google::Apis::RequestOptions] options
|
1053
|
-
# Request-specific options
|
1054
|
-
#
|
1055
|
-
# @yield [result, err] Result & error if block supplied
|
1056
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1057
|
-
# @yieldparam err [StandardError] error object if request failed
|
1058
|
-
#
|
1059
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1060
|
-
#
|
1061
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1062
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1063
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1064
|
-
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)
|
1065
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/tenants', options)
|
1066
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant::Representation
|
1067
|
-
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_tenant_object
|
1068
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1069
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1070
|
-
command.params['parent'] = parent unless parent.nil?
|
1071
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1072
|
-
command.query['fields'] = fields unless fields.nil?
|
1073
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1074
|
-
execute_or_queue_command(command, &block)
|
1075
|
-
end
|
1076
|
-
|
1077
|
-
# Deletes a single Tenant.
|
1078
|
-
# @param [String] name
|
1079
|
-
# Required. Name of the resource.
|
1080
|
-
# @param [String] request_id
|
1081
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1082
|
-
# request ID so that if you must retry your request, the server will know to
|
1083
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1084
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
1085
|
-
# situation where you make an initial request and the request times out. If you
|
1086
|
-
# make the request again with the same request ID, the server can check if
|
1087
|
-
# original operation with the same request ID was received, and if so, will
|
1088
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1089
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1090
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
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::GoogleLongrunningOperation] parsed result object
|
1101
|
-
# @yieldparam err [StandardError] error object if request failed
|
1102
|
-
#
|
1103
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
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 delete_organization_location_global_tenant(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1109
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1110
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1111
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1112
|
-
command.params['name'] = name unless name.nil?
|
1113
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1114
|
-
command.query['fields'] = fields unless fields.nil?
|
1115
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1116
|
-
execute_or_queue_command(command, &block)
|
1117
|
-
end
|
1118
|
-
|
1119
|
-
# Gets details of a single Tenant.
|
1120
|
-
# @param [String] name
|
1121
|
-
# Required. The resource name of the Tenant using the form: `organizations/`
|
1122
|
-
# organization_id`/locations/global/tenants/`tenant_id``
|
1123
|
-
# @param [String] fields
|
1124
|
-
# Selector specifying which fields to include in a partial response.
|
1125
|
-
# @param [String] quota_user
|
1126
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1127
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1128
|
-
# @param [Google::Apis::RequestOptions] options
|
1129
|
-
# Request-specific options
|
1130
|
-
#
|
1131
|
-
# @yield [result, err] Result & error if block supplied
|
1132
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant] parsed result object
|
1133
|
-
# @yieldparam err [StandardError] error object if request failed
|
1134
|
-
#
|
1135
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant]
|
1136
|
-
#
|
1137
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1138
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1139
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1140
|
-
def get_organization_location_global_tenant(name, fields: nil, quota_user: nil, options: nil, &block)
|
1141
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1142
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant::Representation
|
1143
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaTenant
|
1144
|
-
command.params['name'] = name unless name.nil?
|
1145
|
-
command.query['fields'] = fields unless fields.nil?
|
1146
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1147
|
-
execute_or_queue_command(command, &block)
|
1148
|
-
end
|
1149
|
-
|
1150
|
-
# Creates a new BeyondCorp Enterprise ProxyConfig in a given organization and
|
1151
|
-
# Tenant. Can only be called by on onboarded Beyondcorp Enterprise partner.
|
1152
|
-
# @param [String] parent
|
1153
|
-
# Required. The resource name of the Tenant using the form: `organizations/`
|
1154
|
-
# organization_id`/locations/global/tenants/`tenant_id``
|
1155
|
-
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
1156
|
-
# @param [String] request_id
|
1157
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1158
|
-
# request ID so that if you must retry your request, the server will know to
|
1159
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1160
|
-
# that for at least 60 minutes since the first request. For example, consider a
|
1161
|
-
# situation where you make an initial request and the request times out. If you
|
1162
|
-
# make the request again with the same request ID, the server can check if
|
1163
|
-
# original operation with the same request ID was received, and if so, will
|
1164
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1165
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1166
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1167
|
-
# @param [String] fields
|
1168
|
-
# Selector specifying which fields to include in a partial response.
|
1169
|
-
# @param [String] quota_user
|
1170
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1171
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1172
|
-
# @param [Google::Apis::RequestOptions] options
|
1173
|
-
# Request-specific options
|
1174
|
-
#
|
1175
|
-
# @yield [result, err] Result & error if block supplied
|
1176
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1177
|
-
# @yieldparam err [StandardError] error object if request failed
|
1178
|
-
#
|
1179
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1180
|
-
#
|
1181
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1182
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1183
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1184
|
-
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)
|
1185
|
-
command = make_simple_command(:post, 'v1alpha/{+parent}/proxyConfigs', options)
|
1186
|
-
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
|
1187
|
-
command.request_object = google_cloud_beyondcorp_partnerservices_v1alpha_proxy_config_object
|
1188
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1189
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1190
|
-
command.params['parent'] = parent unless parent.nil?
|
1191
|
-
command.query['requestId'] = request_id unless request_id.nil?
|
1192
|
-
command.query['fields'] = fields unless fields.nil?
|
1193
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1194
|
-
execute_or_queue_command(command, &block)
|
1195
|
-
end
|
1196
|
-
|
1197
|
-
# Deletes a single ProxyConfig.
|
1198
|
-
# @param [String] name
|
1199
|
-
# Required. Name of the resource.
|
1200
|
-
# @param [String] request_id
|
1201
|
-
# Optional. An optional request ID to identify requests. Specify a unique
|
1202
|
-
# request ID so that if you must retry your request, the server will know to
|
1203
|
-
# ignore the request if it has already been completed. The server will guarantee
|
1204
|
-
# that for at least 60 minutes after the first request. For example, consider a
|
1205
|
-
# situation where you make an initial request and the request times out. If you
|
1206
|
-
# make the request again with the same request ID, the server can check if
|
1207
|
-
# original operation with the same request ID was received, and if so, will
|
1208
|
-
# ignore the second request. This prevents clients from accidentally creating
|
1209
|
-
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1210
|
-
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1211
|
-
# @param [String] fields
|
1212
|
-
# Selector specifying which fields to include in a partial response.
|
1213
|
-
# @param [String] quota_user
|
1214
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1215
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1216
|
-
# @param [Google::Apis::RequestOptions] options
|
1217
|
-
# Request-specific options
|
1218
|
-
#
|
1219
|
-
# @yield [result, err] Result & error if block supplied
|
1220
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation] parsed result object
|
1221
|
-
# @yieldparam err [StandardError] error object if request failed
|
1222
|
-
#
|
1223
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation]
|
1224
|
-
#
|
1225
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1226
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1227
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1228
|
-
def delete_organization_location_global_tenant_proxy_config(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1229
|
-
command = make_simple_command(:delete, 'v1alpha/{+name}', options)
|
1230
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation::Representation
|
1231
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleLongrunningOperation
|
1232
|
-
command.params['name'] = name unless name.nil?
|
1233
|
-
command.query['requestId'] = request_id unless request_id.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
|
-
# Gets details of a single ProxyConfig.
|
1240
|
-
# @param [String] name
|
1241
|
-
# Required. The resource name of the ProxyConfig using the form: `organizations/`
|
1242
|
-
# organization_id`/locations/global/tenants/`tenant_id`/proxyConfigs/`
|
1243
|
-
# proxy_config_id``
|
1244
|
-
# @param [String] fields
|
1245
|
-
# Selector specifying which fields to include in a partial response.
|
1246
|
-
# @param [String] quota_user
|
1247
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1248
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1249
|
-
# @param [Google::Apis::RequestOptions] options
|
1250
|
-
# Request-specific options
|
1251
|
-
#
|
1252
|
-
# @yield [result, err] Result & error if block supplied
|
1253
|
-
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig] parsed result object
|
1254
|
-
# @yieldparam err [StandardError] error object if request failed
|
1255
|
-
#
|
1256
|
-
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig]
|
1257
|
-
#
|
1258
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1259
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1260
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1261
|
-
def get_organization_location_global_tenant_proxy_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1262
|
-
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
1263
|
-
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig::Representation
|
1264
|
-
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaProxyConfig
|
1265
|
-
command.params['name'] = name unless name.nil?
|
1266
|
-
command.query['fields'] = fields unless fields.nil?
|
1267
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1268
|
-
execute_or_queue_command(command, &block)
|
1269
|
-
end
|
1270
|
-
|
1271
1030
|
# Gets the value for a selected particular insight based on the provided filters.
|
1272
1031
|
# Use the organization level path for fetching at org level and project level
|
1273
1032
|
# path for fetching the insight value specific to a particular project.
|
@@ -2913,6 +2672,127 @@ module Google
|
|
2913
2672
|
execute_or_queue_command(command, &block)
|
2914
2673
|
end
|
2915
2674
|
|
2675
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
2676
|
+
# resource exists and does not have a policy set.
|
2677
|
+
# @param [String] resource
|
2678
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
2679
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2680
|
+
# appropriate value for this field.
|
2681
|
+
# @param [Fixnum] options_requested_policy_version
|
2682
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
2683
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
2684
|
+
# rejected. Requests for policies with any conditional role bindings must
|
2685
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
2686
|
+
# valid value or leave the field unset. The policy in the response might use the
|
2687
|
+
# policy version that you specified, or it might use a lower policy version. For
|
2688
|
+
# example, if you specify version 3, but the policy has no conditional role
|
2689
|
+
# bindings, the response uses version 1. To learn which resources support
|
2690
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
2691
|
+
# google.com/iam/help/conditions/resource-policies).
|
2692
|
+
# @param [String] fields
|
2693
|
+
# Selector specifying which fields to include in a partial response.
|
2694
|
+
# @param [String] quota_user
|
2695
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2696
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2697
|
+
# @param [Google::Apis::RequestOptions] options
|
2698
|
+
# Request-specific options
|
2699
|
+
#
|
2700
|
+
# @yield [result, err] Result & error if block supplied
|
2701
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
2702
|
+
# @yieldparam err [StandardError] error object if request failed
|
2703
|
+
#
|
2704
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
2705
|
+
#
|
2706
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2707
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2708
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2709
|
+
def get_project_location_application_domain_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2710
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
2711
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
2712
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
2713
|
+
command.params['resource'] = resource unless resource.nil?
|
2714
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
2715
|
+
command.query['fields'] = fields unless fields.nil?
|
2716
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2717
|
+
execute_or_queue_command(command, &block)
|
2718
|
+
end
|
2719
|
+
|
2720
|
+
# Sets the access control policy on the specified resource. Replaces any
|
2721
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
2722
|
+
# PERMISSION_DENIED` errors.
|
2723
|
+
# @param [String] resource
|
2724
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
2725
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
2726
|
+
# appropriate value for this field.
|
2727
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
2728
|
+
# @param [String] fields
|
2729
|
+
# Selector specifying which fields to include in a partial response.
|
2730
|
+
# @param [String] quota_user
|
2731
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2732
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2733
|
+
# @param [Google::Apis::RequestOptions] options
|
2734
|
+
# Request-specific options
|
2735
|
+
#
|
2736
|
+
# @yield [result, err] Result & error if block supplied
|
2737
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
2738
|
+
# @yieldparam err [StandardError] error object if request failed
|
2739
|
+
#
|
2740
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
2741
|
+
#
|
2742
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2743
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2744
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2745
|
+
def set_project_location_application_domain_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2746
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
2747
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
|
2748
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
2749
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
2750
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
2751
|
+
command.params['resource'] = resource unless resource.nil?
|
2752
|
+
command.query['fields'] = fields unless fields.nil?
|
2753
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2754
|
+
execute_or_queue_command(command, &block)
|
2755
|
+
end
|
2756
|
+
|
2757
|
+
# Returns permissions that a caller has on the specified resource. If the
|
2758
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
2759
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
2760
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
2761
|
+
# This operation may "fail open" without warning.
|
2762
|
+
# @param [String] resource
|
2763
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
2764
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
2765
|
+
# appropriate value for this field.
|
2766
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
2767
|
+
# @param [String] fields
|
2768
|
+
# Selector specifying which fields to include in a partial response.
|
2769
|
+
# @param [String] quota_user
|
2770
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2771
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2772
|
+
# @param [Google::Apis::RequestOptions] options
|
2773
|
+
# Request-specific options
|
2774
|
+
#
|
2775
|
+
# @yield [result, err] Result & error if block supplied
|
2776
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
2777
|
+
# @yieldparam err [StandardError] error object if request failed
|
2778
|
+
#
|
2779
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
|
2780
|
+
#
|
2781
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2782
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2783
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2784
|
+
def test_project_location_application_domain_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2785
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
2786
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
|
2787
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
2788
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
|
2789
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
|
2790
|
+
command.params['resource'] = resource unless resource.nil?
|
2791
|
+
command.query['fields'] = fields unless fields.nil?
|
2792
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2793
|
+
execute_or_queue_command(command, &block)
|
2794
|
+
end
|
2795
|
+
|
2916
2796
|
# Gets the access control policy for a resource. Returns an empty policy if the
|
2917
2797
|
# resource exists and does not have a policy set.
|
2918
2798
|
# @param [String] resource
|
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.26.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-09-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-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.26.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: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.4.
|
78
|
+
rubygems_version: 3.4.19
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for BeyondCorp API V1alpha
|