google-apis-beyondcorp_v1alpha 0.3.0 → 0.4.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 +5 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +105 -1
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +46 -0
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +128 -7
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc0d3ba6881ad1f9ebd377f09c6fe2c05991264862fcb57a841e8c14bd0418b1
|
4
|
+
data.tar.gz: 15650823d293cbfae128b2d7c0cb4a8328eb017dd33388be7574a604547eeb43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 798a22a739eaa3e71f5533cae4452ecac39073c2e0672678d9d43ed79446ea4c6b712468b75bc39519c959a48aafc127d56cad2d5d872beb9e2f546efecba17e
|
7
|
+
data.tar.gz: aaebd0b6057e3cf7c86fd29da81efcc67110baf3dd90063dab5e25e28600b5f03cf84ed443fa8b677cc9fd1dd1a078c180cdd45663c6819ab44cbf848342664a
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1alpha
|
2
2
|
|
3
|
+
### v0.4.0 (2022-07-02)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.8.0
|
6
|
+
* Regenerated from discovery document revision 20220616
|
7
|
+
|
3
8
|
### v0.3.0 (2022-06-19)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.7.0
|
@@ -1631,17 +1631,55 @@ module Google
|
|
1631
1631
|
end
|
1632
1632
|
end
|
1633
1633
|
|
1634
|
+
# ContainerHealthDetails reflects the health details of a container.
|
1635
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails
|
1636
|
+
include Google::Apis::Core::Hashable
|
1637
|
+
|
1638
|
+
# The version of the current config.
|
1639
|
+
# Corresponds to the JSON property `currentConfigVersion`
|
1640
|
+
# @return [String]
|
1641
|
+
attr_accessor :current_config_version
|
1642
|
+
|
1643
|
+
# The latest error message.
|
1644
|
+
# Corresponds to the JSON property `errorMsg`
|
1645
|
+
# @return [String]
|
1646
|
+
attr_accessor :error_msg
|
1647
|
+
|
1648
|
+
# The version of the expected config.
|
1649
|
+
# Corresponds to the JSON property `expectedConfigVersion`
|
1650
|
+
# @return [String]
|
1651
|
+
attr_accessor :expected_config_version
|
1652
|
+
|
1653
|
+
# The extended status. Such as ExitCode, StartedAt, FinishedAt, etc.
|
1654
|
+
# Corresponds to the JSON property `extendedStatus`
|
1655
|
+
# @return [Hash<String,String>]
|
1656
|
+
attr_accessor :extended_status
|
1657
|
+
|
1658
|
+
def initialize(**args)
|
1659
|
+
update!(**args)
|
1660
|
+
end
|
1661
|
+
|
1662
|
+
# Update properties of this object
|
1663
|
+
def update!(**args)
|
1664
|
+
@current_config_version = args[:current_config_version] if args.key?(:current_config_version)
|
1665
|
+
@error_msg = args[:error_msg] if args.key?(:error_msg)
|
1666
|
+
@expected_config_version = args[:expected_config_version] if args.key?(:expected_config_version)
|
1667
|
+
@extended_status = args[:extended_status] if args.key?(:extended_status)
|
1668
|
+
end
|
1669
|
+
end
|
1670
|
+
|
1634
1671
|
# ImageConfig defines the control plane images to run.
|
1635
1672
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
|
1636
1673
|
include Google::Apis::Core::Hashable
|
1637
1674
|
|
1638
1675
|
# The stable image that the remote agent will fallback to if the target image
|
1639
|
-
# fails.
|
1676
|
+
# fails. Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1
|
1640
1677
|
# Corresponds to the JSON property `stableImage`
|
1641
1678
|
# @return [String]
|
1642
1679
|
attr_accessor :stable_image
|
1643
1680
|
|
1644
1681
|
# The initial image the remote agent will attempt to run for the control plane.
|
1682
|
+
# Format would be a gcr image path, e.g.: gcr.io/PROJECT-ID/my-image:tag1
|
1645
1683
|
# Corresponds to the JSON property `targetImage`
|
1646
1684
|
# @return [String]
|
1647
1685
|
attr_accessor :target_image
|
@@ -1727,6 +1765,19 @@ module Google
|
|
1727
1765
|
end
|
1728
1766
|
end
|
1729
1767
|
|
1768
|
+
# RemoteAgentDetails reflects the details of a remote agent.
|
1769
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails
|
1770
|
+
include Google::Apis::Core::Hashable
|
1771
|
+
|
1772
|
+
def initialize(**args)
|
1773
|
+
update!(**args)
|
1774
|
+
end
|
1775
|
+
|
1776
|
+
# Update properties of this object
|
1777
|
+
def update!(**args)
|
1778
|
+
end
|
1779
|
+
end
|
1780
|
+
|
1730
1781
|
# Request report the connector status.
|
1731
1782
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest
|
1732
1783
|
include Google::Apis::Core::Hashable
|
@@ -1837,6 +1888,59 @@ module Google
|
|
1837
1888
|
end
|
1838
1889
|
end
|
1839
1890
|
|
1891
|
+
# Represents the metadata of the long-running operation.
|
1892
|
+
class GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata
|
1893
|
+
include Google::Apis::Core::Hashable
|
1894
|
+
|
1895
|
+
# Output only. The time the operation was created.
|
1896
|
+
# Corresponds to the JSON property `createTime`
|
1897
|
+
# @return [String]
|
1898
|
+
attr_accessor :create_time
|
1899
|
+
|
1900
|
+
# Output only. The time the operation finished running.
|
1901
|
+
# Corresponds to the JSON property `endTime`
|
1902
|
+
# @return [String]
|
1903
|
+
attr_accessor :end_time
|
1904
|
+
|
1905
|
+
# Output only. Identifies whether the user has requested cancellation of the
|
1906
|
+
# operation. Operations that have been cancelled successfully have Operation.
|
1907
|
+
# error value with a google.rpc.Status.code of 1, corresponding to `Code.
|
1908
|
+
# CANCELLED`.
|
1909
|
+
# Corresponds to the JSON property `requestedCancellation`
|
1910
|
+
# @return [Boolean]
|
1911
|
+
attr_accessor :requested_cancellation
|
1912
|
+
alias_method :requested_cancellation?, :requested_cancellation
|
1913
|
+
|
1914
|
+
# Output only. Human-readable status of the operation, if any.
|
1915
|
+
# Corresponds to the JSON property `statusMessage`
|
1916
|
+
# @return [String]
|
1917
|
+
attr_accessor :status_message
|
1918
|
+
|
1919
|
+
# Output only. Server-defined resource path for the target of the operation.
|
1920
|
+
# Corresponds to the JSON property `target`
|
1921
|
+
# @return [String]
|
1922
|
+
attr_accessor :target
|
1923
|
+
|
1924
|
+
# Output only. Name of the verb executed by the operation.
|
1925
|
+
# Corresponds to the JSON property `verb`
|
1926
|
+
# @return [String]
|
1927
|
+
attr_accessor :verb
|
1928
|
+
|
1929
|
+
def initialize(**args)
|
1930
|
+
update!(**args)
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# Update properties of this object
|
1934
|
+
def update!(**args)
|
1935
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1936
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
1937
|
+
@requested_cancellation = args[:requested_cancellation] if args.key?(:requested_cancellation)
|
1938
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
1939
|
+
@target = args[:target] if args.key?(:target)
|
1940
|
+
@verb = args[:verb] if args.key?(:verb)
|
1941
|
+
end
|
1942
|
+
end
|
1943
|
+
|
1840
1944
|
# The response message for Locations.ListLocations.
|
1841
1945
|
class GoogleCloudLocationListLocationsResponse
|
1842
1946
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module BeyondcorpV1alpha
|
18
18
|
# Version of the google-apis-beyondcorp_v1alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.4.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.8.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220616"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -244,6 +244,12 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
247
253
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
|
248
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
255
|
|
@@ -268,6 +274,12 @@ module Google
|
|
268
274
|
include Google::Apis::Core::JsonObjectSupport
|
269
275
|
end
|
270
276
|
|
277
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails
|
278
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
279
|
+
|
280
|
+
include Google::Apis::Core::JsonObjectSupport
|
281
|
+
end
|
282
|
+
|
271
283
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest
|
272
284
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
285
|
|
@@ -286,6 +298,12 @@ module Google
|
|
286
298
|
include Google::Apis::Core::JsonObjectSupport
|
287
299
|
end
|
288
300
|
|
301
|
+
class GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata
|
302
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
303
|
+
|
304
|
+
include Google::Apis::Core::JsonObjectSupport
|
305
|
+
end
|
306
|
+
|
289
307
|
class GoogleCloudLocationListLocationsResponse
|
290
308
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
309
|
|
@@ -892,6 +910,16 @@ module Google
|
|
892
910
|
end
|
893
911
|
end
|
894
912
|
|
913
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails
|
914
|
+
# @private
|
915
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
916
|
+
property :current_config_version, as: 'currentConfigVersion'
|
917
|
+
property :error_msg, as: 'errorMsg'
|
918
|
+
property :expected_config_version, as: 'expectedConfigVersion'
|
919
|
+
hash :extended_status, as: 'extendedStatus'
|
920
|
+
end
|
921
|
+
end
|
922
|
+
|
895
923
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig
|
896
924
|
# @private
|
897
925
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -925,6 +953,12 @@ module Google
|
|
925
953
|
end
|
926
954
|
end
|
927
955
|
|
956
|
+
class GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails
|
957
|
+
# @private
|
958
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
928
962
|
class GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest
|
929
963
|
# @private
|
930
964
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -955,6 +989,18 @@ module Google
|
|
955
989
|
end
|
956
990
|
end
|
957
991
|
|
992
|
+
class GoogleCloudBeyondcorpApplicationsV1alphaApplicationOperationMetadata
|
993
|
+
# @private
|
994
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
995
|
+
property :create_time, as: 'createTime'
|
996
|
+
property :end_time, as: 'endTime'
|
997
|
+
property :requested_cancellation, as: 'requestedCancellation'
|
998
|
+
property :status_message, as: 'statusMessage'
|
999
|
+
property :target, as: 'target'
|
1000
|
+
property :verb, as: 'verb'
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
958
1004
|
class GoogleCloudLocationListLocationsResponse
|
959
1005
|
# @private
|
960
1006
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -132,7 +132,7 @@ module Google
|
|
132
132
|
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection] google_cloud_beyondcorp_appconnections_v1alpha_app_connection_object
|
133
133
|
# @param [String] app_connection_id
|
134
134
|
# Optional. User-settable AppConnection resource ID. * Must start with a letter.
|
135
|
-
# * Must contain between 4-63 characters from
|
135
|
+
# * Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
136
136
|
# or a letter.
|
137
137
|
# @param [String] request_id
|
138
138
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -542,7 +542,7 @@ module Google
|
|
542
542
|
# @param [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector] google_cloud_beyondcorp_appconnectors_v1alpha_app_connector_object
|
543
543
|
# @param [String] app_connector_id
|
544
544
|
# Optional. User-settable AppConnector resource ID. * Must start with a letter. *
|
545
|
-
# Must contain between 4-63 characters from
|
545
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
546
546
|
# or a letter.
|
547
547
|
# @param [String] request_id
|
548
548
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -966,7 +966,7 @@ module Google
|
|
966
966
|
# @param [Google::Apis::BeyondcorpV1alpha::AppGateway] app_gateway_object
|
967
967
|
# @param [String] app_gateway_id
|
968
968
|
# Optional. User-settable AppGateway resource ID. * Must start with a letter. *
|
969
|
-
# Must contain between 4-63 characters from
|
969
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
970
970
|
# or a letter.
|
971
971
|
# @param [String] request_id
|
972
972
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -1262,13 +1262,134 @@ module Google
|
|
1262
1262
|
execute_or_queue_command(command, &block)
|
1263
1263
|
end
|
1264
1264
|
|
1265
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1266
|
+
# resource exists and does not have a policy set.
|
1267
|
+
# @param [String] resource
|
1268
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
1269
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1270
|
+
# appropriate value for this field.
|
1271
|
+
# @param [Fixnum] options_requested_policy_version
|
1272
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
1273
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
1274
|
+
# rejected. Requests for policies with any conditional role bindings must
|
1275
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
1276
|
+
# valid value or leave the field unset. The policy in the response might use the
|
1277
|
+
# policy version that you specified, or it might use a lower policy version. For
|
1278
|
+
# example, if you specify version 3, but the policy has no conditional role
|
1279
|
+
# bindings, the response uses version 1. To learn which resources support
|
1280
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
1281
|
+
# google.com/iam/help/conditions/resource-policies).
|
1282
|
+
# @param [String] fields
|
1283
|
+
# Selector specifying which fields to include in a partial response.
|
1284
|
+
# @param [String] quota_user
|
1285
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1286
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1287
|
+
# @param [Google::Apis::RequestOptions] options
|
1288
|
+
# Request-specific options
|
1289
|
+
#
|
1290
|
+
# @yield [result, err] Result & error if block supplied
|
1291
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
1292
|
+
# @yieldparam err [StandardError] error object if request failed
|
1293
|
+
#
|
1294
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
1295
|
+
#
|
1296
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1297
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1298
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1299
|
+
def get_project_location_application_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1300
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
1301
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
1302
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
1303
|
+
command.params['resource'] = resource unless resource.nil?
|
1304
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1305
|
+
command.query['fields'] = fields unless fields.nil?
|
1306
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1307
|
+
execute_or_queue_command(command, &block)
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1311
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1312
|
+
# PERMISSION_DENIED` errors.
|
1313
|
+
# @param [String] resource
|
1314
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
1315
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
1316
|
+
# appropriate value for this field.
|
1317
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
1318
|
+
# @param [String] fields
|
1319
|
+
# Selector specifying which fields to include in a partial response.
|
1320
|
+
# @param [String] quota_user
|
1321
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1322
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1323
|
+
# @param [Google::Apis::RequestOptions] options
|
1324
|
+
# Request-specific options
|
1325
|
+
#
|
1326
|
+
# @yield [result, err] Result & error if block supplied
|
1327
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
1328
|
+
# @yieldparam err [StandardError] error object if request failed
|
1329
|
+
#
|
1330
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
1331
|
+
#
|
1332
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1333
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1334
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1335
|
+
def set_project_location_application_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1336
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
1337
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
|
1338
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
1339
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
1340
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
1341
|
+
command.params['resource'] = resource unless resource.nil?
|
1342
|
+
command.query['fields'] = fields unless fields.nil?
|
1343
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1344
|
+
execute_or_queue_command(command, &block)
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1348
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1349
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1350
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1351
|
+
# This operation may "fail open" without warning.
|
1352
|
+
# @param [String] resource
|
1353
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
1354
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
1355
|
+
# appropriate value for this field.
|
1356
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
1357
|
+
# @param [String] fields
|
1358
|
+
# Selector specifying which fields to include in a partial response.
|
1359
|
+
# @param [String] quota_user
|
1360
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1361
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1362
|
+
# @param [Google::Apis::RequestOptions] options
|
1363
|
+
# Request-specific options
|
1364
|
+
#
|
1365
|
+
# @yield [result, err] Result & error if block supplied
|
1366
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
1367
|
+
# @yieldparam err [StandardError] error object if request failed
|
1368
|
+
#
|
1369
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
|
1370
|
+
#
|
1371
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1372
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1373
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1374
|
+
def test_project_location_application_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1375
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
1376
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
|
1377
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
1378
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
|
1379
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
|
1380
|
+
command.params['resource'] = resource unless resource.nil?
|
1381
|
+
command.query['fields'] = fields unless fields.nil?
|
1382
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1383
|
+
execute_or_queue_command(command, &block)
|
1384
|
+
end
|
1385
|
+
|
1265
1386
|
# Creates a new ClientConnectorService in a given project and location.
|
1266
1387
|
# @param [String] parent
|
1267
1388
|
# Required. Value for parent.
|
1268
1389
|
# @param [Google::Apis::BeyondcorpV1alpha::ClientConnectorService] client_connector_service_object
|
1269
1390
|
# @param [String] client_connector_service_id
|
1270
1391
|
# Optional. User-settable client connector service resource ID. * Must start
|
1271
|
-
# with a letter. * Must contain between 4-63 characters from
|
1392
|
+
# with a letter. * Must contain between 4-63 characters from `/a-z-/`. * Must
|
1272
1393
|
# end with a number or a letter. A random system generated name will be assigned
|
1273
1394
|
# if not specified by the user.
|
1274
1395
|
# @param [String] request_id
|
@@ -1622,7 +1743,7 @@ module Google
|
|
1622
1743
|
# @param [Google::Apis::BeyondcorpV1alpha::ClientGateway] client_gateway_object
|
1623
1744
|
# @param [String] client_gateway_id
|
1624
1745
|
# Optional. User-settable client gateway resource ID. * Must start with a letter.
|
1625
|
-
# * Must contain between 4-63 characters from
|
1746
|
+
# * Must contain between 4-63 characters from `/a-z-/`. * Must end with a
|
1626
1747
|
# number or a letter.
|
1627
1748
|
# @param [String] request_id
|
1628
1749
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -1917,7 +2038,7 @@ module Google
|
|
1917
2038
|
# @param [Google::Apis::BeyondcorpV1alpha::Connection] connection_object
|
1918
2039
|
# @param [String] connection_id
|
1919
2040
|
# Optional. User-settable connection resource ID. * Must start with a letter. *
|
1920
|
-
# Must contain between 4-63 characters from
|
2041
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
1921
2042
|
# or a letter.
|
1922
2043
|
# @param [String] request_id
|
1923
2044
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -2327,7 +2448,7 @@ module Google
|
|
2327
2448
|
# @param [Google::Apis::BeyondcorpV1alpha::Connector] connector_object
|
2328
2449
|
# @param [String] connector_id
|
2329
2450
|
# Optional. User-settable connector resource ID. * Must start with a letter. *
|
2330
|
-
# Must contain between 4-63 characters from
|
2451
|
+
# Must contain between 4-63 characters from `/a-z-/`. * Must end with a number
|
2331
2452
|
# or a letter.
|
2332
2453
|
# @param [String] request_id
|
2333
2454
|
# Optional. An optional request ID to identify requests. Specify a unique
|
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.4.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: 2022-
|
11
|
+
date: 2022-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.4.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: []
|