google-apis-beyondcorp_v1alpha 0.37.0 → 0.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec6967dbd681ac2db1564368d0198dac55e506bbe8a42f2aa429f519acd8c366
4
- data.tar.gz: 4441d9b872599ed39b2add9cf9a89c994cca36f1f05fb2e410cb9861986b05b4
3
+ metadata.gz: 78ff25d1e8acd408ce80f5cef5664d5a360d13d445318f6e5b7f1ef2eeb62ec0
4
+ data.tar.gz: 1eb593a0c41066a2ef36ee95e378f56eb395f0b6029a2b15e669f6e4ea18ec7a
5
5
  SHA512:
6
- metadata.gz: 29b4a9f2081a6205962cf1c20f2e19f86c5b3df08a914124c2cea1a0196aaac16f44c1af4b8adc21327a88682722eef6b1f1de719715945427a8a3630487b07e
7
- data.tar.gz: 1e5b6753c36e3cfb6bb8e29a04c7776247f99ea961c16135d44800ea5f8bfe0b71a271d89c8b155eb8d07f30f0806db055f87ba73c4ceef7e1ea624acac5a910
6
+ metadata.gz: 71d1ca5ea064e43722e593e897e7374b7305771a491e3215475204d2099f4a6b78e5e9983c52639351b6bf210089ca5f14fd9504f889fe4a8dca17ea3840a1ce
7
+ data.tar.gz: '080226a21d4b178f0b767ac4c59fb9776afddf13f6b506c063dbc63ac8a007c703d9f1bffbae667e0cad39f4c988bba1a071600dc06597280b630ae7b420985c'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-beyondcorp_v1alpha
2
2
 
3
+ ### v0.38.0 (2024-05-19)
4
+
5
+ * Regenerated from discovery document revision 20240508
6
+ * Regenerated using generator version 0.15.0
7
+
3
8
  ### v0.37.0 (2024-05-05)
4
9
 
5
10
  * 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.
@@ -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.37.0"
19
+ GEM_VERSION = "0.38.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.14.0"
22
+ GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240424"
25
+ REVISION = "20240508"
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
@@ -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.37.0
4
+ version: 0.38.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-05-05 00:00:00.000000000 Z
11
+ date: 2024-05-26 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.14.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.14.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.37.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-beyondcorp_v1alpha/v0.38.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: []