google-apis-beyondcorp_v1alpha 0.37.0 → 0.39.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 +9 -0
- data/lib/google/apis/beyondcorp_v1alpha/classes.rb +19 -0
- data/lib/google/apis/beyondcorp_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/beyondcorp_v1alpha/representations.rb +13 -0
- data/lib/google/apis/beyondcorp_v1alpha/service.rb +166 -0
- 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: 5cfe620262232199bc5d486e117efce2f942052f3ca6909b72f56fabe4171c88
|
4
|
+
data.tar.gz: f2419556b6ddffd57b317d0805ea8893be677dfe5c459e944dca8948c587d384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51474d954f434829a217c8671a4595942f982710538f486cf1944748a545e886938db53b40deb0d014a775789ca0fbd0fc33219f304fc3dd7d67cfb380c33e35
|
7
|
+
data.tar.gz: 884edd8407792c03903b2e87f16fc41c18bcc2690d10ab569acd1e0cf4e4222b2fafd6f7e2cacd85d3a0db7ab17f46de6d5ca7beed83412c73900b00b7806ebd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-beyondcorp_v1alpha
|
2
2
|
|
3
|
+
### v0.39.0 (2024-06-23)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240612
|
6
|
+
|
7
|
+
### v0.38.0 (2024-05-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240508
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.37.0 (2024-05-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240424
|
@@ -2729,6 +2729,19 @@ module Google
|
|
2729
2729
|
end
|
2730
2730
|
end
|
2731
2731
|
|
2732
|
+
# Response message for BeyondCorp.RestartSubscription
|
2733
|
+
class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse
|
2734
|
+
include Google::Apis::Core::Hashable
|
2735
|
+
|
2736
|
+
def initialize(**args)
|
2737
|
+
update!(**args)
|
2738
|
+
end
|
2739
|
+
|
2740
|
+
# Update properties of this object
|
2741
|
+
def update!(**args)
|
2742
|
+
end
|
2743
|
+
end
|
2744
|
+
|
2732
2745
|
# A BeyondCorp Subscription resource represents BeyondCorp Enterprise
|
2733
2746
|
# Subscription. BeyondCorp Enterprise Subscription enables BeyondCorp Enterprise
|
2734
2747
|
# permium features for an organization.
|
@@ -2784,6 +2797,11 @@ module Google
|
|
2784
2797
|
# @return [String]
|
2785
2798
|
attr_accessor :state
|
2786
2799
|
|
2800
|
+
# Output only. Type of subscriber.
|
2801
|
+
# Corresponds to the JSON property `subscriberType`
|
2802
|
+
# @return [String]
|
2803
|
+
attr_accessor :subscriber_type
|
2804
|
+
|
2787
2805
|
# Required. Type of subscription.
|
2788
2806
|
# Corresponds to the JSON property `type`
|
2789
2807
|
# @return [String]
|
@@ -2804,6 +2822,7 @@ module Google
|
|
2804
2822
|
@sku = args[:sku] if args.key?(:sku)
|
2805
2823
|
@start_time = args[:start_time] if args.key?(:start_time)
|
2806
2824
|
@state = args[:state] if args.key?(:state)
|
2825
|
+
@subscriber_type = args[:subscriber_type] if args.key?(:subscriber_type)
|
2807
2826
|
@type = args[:type] if args.key?(:type)
|
2808
2827
|
end
|
2809
2828
|
end
|
@@ -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.39.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240612"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -436,6 +436,12 @@ module Google
|
|
436
436
|
include Google::Apis::Core::JsonObjectSupport
|
437
437
|
end
|
438
438
|
|
439
|
+
class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse
|
440
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
|
+
|
442
|
+
include Google::Apis::Core::JsonObjectSupport
|
443
|
+
end
|
444
|
+
|
439
445
|
class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
|
440
446
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
441
447
|
|
@@ -1358,6 +1364,12 @@ module Google
|
|
1358
1364
|
end
|
1359
1365
|
end
|
1360
1366
|
|
1367
|
+
class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse
|
1368
|
+
# @private
|
1369
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1370
|
+
end
|
1371
|
+
end
|
1372
|
+
|
1361
1373
|
class GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription
|
1362
1374
|
# @private
|
1363
1375
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1370,6 +1382,7 @@ module Google
|
|
1370
1382
|
property :sku, as: 'sku'
|
1371
1383
|
property :start_time, as: 'startTime'
|
1372
1384
|
property :state, as: 'state'
|
1385
|
+
property :subscriber_type, as: 'subscriberType'
|
1373
1386
|
property :type, as: 'type'
|
1374
1387
|
end
|
1375
1388
|
end
|
@@ -1616,6 +1616,51 @@ module Google
|
|
1616
1616
|
execute_or_queue_command(command, &block)
|
1617
1617
|
end
|
1618
1618
|
|
1619
|
+
# Restarts an existing BeyondCorp Enterprise Subscription in a given
|
1620
|
+
# organization, that is scheduled for cancellation. Location will always be
|
1621
|
+
# global as BeyondCorp subscriptions are per organization. Returns the timestamp
|
1622
|
+
# for when the cancellation will become effective
|
1623
|
+
# @param [String] name
|
1624
|
+
# Required. Name of the resource.
|
1625
|
+
# @param [String] request_id
|
1626
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1627
|
+
# request ID so that if you must retry your request, the server will know to
|
1628
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1629
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
1630
|
+
# situation where you make an initial request and the request times out. If you
|
1631
|
+
# make the request again with the same request ID, the server can check if
|
1632
|
+
# original operation with the same request ID was received, and if so, will
|
1633
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1634
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1635
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1636
|
+
# @param [String] fields
|
1637
|
+
# Selector specifying which fields to include in a partial response.
|
1638
|
+
# @param [String] quota_user
|
1639
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1640
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1641
|
+
# @param [Google::Apis::RequestOptions] options
|
1642
|
+
# Request-specific options
|
1643
|
+
#
|
1644
|
+
# @yield [result, err] Result & error if block supplied
|
1645
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse] parsed result object
|
1646
|
+
# @yieldparam err [StandardError] error object if request failed
|
1647
|
+
#
|
1648
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse]
|
1649
|
+
#
|
1650
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1651
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1652
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1653
|
+
def restart_organization_location_subscription(name, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1654
|
+
command = make_simple_command(:get, 'v1alpha/{+name}:restart', options)
|
1655
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse::Representation
|
1656
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse
|
1657
|
+
command.params['name'] = name unless name.nil?
|
1658
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1659
|
+
command.query['fields'] = fields unless fields.nil?
|
1660
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1661
|
+
execute_or_queue_command(command, &block)
|
1662
|
+
end
|
1663
|
+
|
1619
1664
|
# Gets information about a location.
|
1620
1665
|
# @param [String] name
|
1621
1666
|
# Resource name for the location.
|
@@ -4714,6 +4759,51 @@ module Google
|
|
4714
4759
|
execute_or_queue_command(command, &block)
|
4715
4760
|
end
|
4716
4761
|
|
4762
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
4763
|
+
# resource exists and does not have a policy set.
|
4764
|
+
# @param [String] resource
|
4765
|
+
# REQUIRED: The resource for which the policy is being requested. See [Resource
|
4766
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
4767
|
+
# appropriate value for this field.
|
4768
|
+
# @param [Fixnum] options_requested_policy_version
|
4769
|
+
# Optional. The maximum policy version that will be used to format the policy.
|
4770
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
4771
|
+
# rejected. Requests for policies with any conditional role bindings must
|
4772
|
+
# specify version 3. Policies with no conditional role bindings may specify any
|
4773
|
+
# valid value or leave the field unset. The policy in the response might use the
|
4774
|
+
# policy version that you specified, or it might use a lower policy version. For
|
4775
|
+
# example, if you specify version 3, but the policy has no conditional role
|
4776
|
+
# bindings, the response uses version 1. To learn which resources support
|
4777
|
+
# conditions in their IAM policies, see the [IAM documentation](https://cloud.
|
4778
|
+
# google.com/iam/help/conditions/resource-policies).
|
4779
|
+
# @param [String] fields
|
4780
|
+
# Selector specifying which fields to include in a partial response.
|
4781
|
+
# @param [String] quota_user
|
4782
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4783
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4784
|
+
# @param [Google::Apis::RequestOptions] options
|
4785
|
+
# Request-specific options
|
4786
|
+
#
|
4787
|
+
# @yield [result, err] Result & error if block supplied
|
4788
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
4789
|
+
# @yieldparam err [StandardError] error object if request failed
|
4790
|
+
#
|
4791
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
4792
|
+
#
|
4793
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4794
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4795
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4796
|
+
def get_project_location_security_gateway_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4797
|
+
command = make_simple_command(:get, 'v1alpha/{+resource}:getIamPolicy', options)
|
4798
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
4799
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
4800
|
+
command.params['resource'] = resource unless resource.nil?
|
4801
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
4802
|
+
command.query['fields'] = fields unless fields.nil?
|
4803
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4804
|
+
execute_or_queue_command(command, &block)
|
4805
|
+
end
|
4806
|
+
|
4717
4807
|
# Lists SecurityGateways in a given project and location.
|
4718
4808
|
# @param [String] parent
|
4719
4809
|
# Required. The parent location to which the resources belong. `projects/`
|
@@ -4813,6 +4903,82 @@ module Google
|
|
4813
4903
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4814
4904
|
execute_or_queue_command(command, &block)
|
4815
4905
|
end
|
4906
|
+
|
4907
|
+
# Sets the access control policy on the specified resource. Replaces any
|
4908
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
4909
|
+
# PERMISSION_DENIED` errors.
|
4910
|
+
# @param [String] resource
|
4911
|
+
# REQUIRED: The resource for which the policy is being specified. See [Resource
|
4912
|
+
# names](https://cloud.google.com/apis/design/resource_names) for the
|
4913
|
+
# appropriate value for this field.
|
4914
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
|
4915
|
+
# @param [String] fields
|
4916
|
+
# Selector specifying which fields to include in a partial response.
|
4917
|
+
# @param [String] quota_user
|
4918
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4919
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4920
|
+
# @param [Google::Apis::RequestOptions] options
|
4921
|
+
# Request-specific options
|
4922
|
+
#
|
4923
|
+
# @yield [result, err] Result & error if block supplied
|
4924
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy] parsed result object
|
4925
|
+
# @yieldparam err [StandardError] error object if request failed
|
4926
|
+
#
|
4927
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy]
|
4928
|
+
#
|
4929
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4930
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4931
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4932
|
+
def set_project_location_security_gateway_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4933
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:setIamPolicy', options)
|
4934
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1SetIamPolicyRequest::Representation
|
4935
|
+
command.request_object = google_iam_v1_set_iam_policy_request_object
|
4936
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy::Representation
|
4937
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1Policy
|
4938
|
+
command.params['resource'] = resource unless resource.nil?
|
4939
|
+
command.query['fields'] = fields unless fields.nil?
|
4940
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4941
|
+
execute_or_queue_command(command, &block)
|
4942
|
+
end
|
4943
|
+
|
4944
|
+
# Returns permissions that a caller has on the specified resource. If the
|
4945
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
4946
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
4947
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
4948
|
+
# This operation may "fail open" without warning.
|
4949
|
+
# @param [String] resource
|
4950
|
+
# REQUIRED: The resource for which the policy detail is being requested. See [
|
4951
|
+
# Resource names](https://cloud.google.com/apis/design/resource_names) for the
|
4952
|
+
# appropriate value for this field.
|
4953
|
+
# @param [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest] google_iam_v1_test_iam_permissions_request_object
|
4954
|
+
# @param [String] fields
|
4955
|
+
# Selector specifying which fields to include in a partial response.
|
4956
|
+
# @param [String] quota_user
|
4957
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4958
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4959
|
+
# @param [Google::Apis::RequestOptions] options
|
4960
|
+
# Request-specific options
|
4961
|
+
#
|
4962
|
+
# @yield [result, err] Result & error if block supplied
|
4963
|
+
# @yieldparam result [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
4964
|
+
# @yieldparam err [StandardError] error object if request failed
|
4965
|
+
#
|
4966
|
+
# @return [Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse]
|
4967
|
+
#
|
4968
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4969
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4970
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4971
|
+
def test_project_location_security_gateway_iam_permissions(resource, google_iam_v1_test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4972
|
+
command = make_simple_command(:post, 'v1alpha/{+resource}:testIamPermissions', options)
|
4973
|
+
command.request_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsRequest::Representation
|
4974
|
+
command.request_object = google_iam_v1_test_iam_permissions_request_object
|
4975
|
+
command.response_representation = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse::Representation
|
4976
|
+
command.response_class = Google::Apis::BeyondcorpV1alpha::GoogleIamV1TestIamPermissionsResponse
|
4977
|
+
command.params['resource'] = resource unless resource.nil?
|
4978
|
+
command.query['fields'] = fields unless fields.nil?
|
4979
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4980
|
+
execute_or_queue_command(command, &block)
|
4981
|
+
end
|
4816
4982
|
|
4817
4983
|
protected
|
4818
4984
|
|
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.39.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: 2024-
|
11
|
+
date: 2024-06-23 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.15.0
|
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.15.0
|
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.39.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: []
|