google-apis-beyondcorp_v1alpha 0.25.0 → 0.26.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: 23cbcec6b90415165c1581a32bcb3620274d65771cce3ce686471c753b6ad18b
4
- data.tar.gz: bb2c11d866694eeaccb64159bcfa3fab31a93d0fabdd436f49833131685cde42
3
+ metadata.gz: 3c80b7a9925984064b7705ff7345949f27b5d3de2cf83320479555ab38e2be64
4
+ data.tar.gz: ace76782e82a84121e2b78935a8e2ba89a37f359fe685ddf847528b33e01ab36
5
5
  SHA512:
6
- metadata.gz: 7dc19fbafc52f8c23c30c4f6ed69aa4d74a3603fef4e889c44b1f983498b529e03cc9059f5cc3f0be032730c41ba5e74f1f023b69c8be7eb97085e131ab8357d
7
- data.tar.gz: c5df02374db5fa00d3b809ce44c32c6a8b2244b5b6f289b9b76fd33c96f89345e1e71f6482f545d250fe9c93903ce63c219d89437825b381191182609c4ef7ec
6
+ metadata.gz: 67ae64da08a66b4f680ee652f4161a114c56ae9d064225cc70b1bfbcfffef3b9a975332f9aa7fe1fa8c2dc0e347ae3da42d3998a2d6ef1b41bfe7b59c756e881
7
+ data.tar.gz: 59bc15f4786b123b0b9cf40fc53aca366059ed68b6cb2eabdc41da6ecfa085b96840716e9ca418a0979abab2f6b58f3c63564bd4cce3a533e51ca4ef85df92ea
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
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
+
3
7
  ### v0.25.0 (2023-08-13)
4
8
 
5
9
  * Regenerated from discovery document revision 20230802
@@ -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.25.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 = "20230802"
25
+ REVISION = "20230823"
26
26
  end
27
27
  end
28
28
  end
@@ -2672,6 +2672,127 @@ module Google
2672
2672
  execute_or_queue_command(command, &block)
2673
2673
  end
2674
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
+
2675
2796
  # Gets the access control policy for a resource. Returns an empty policy if the
2676
2797
  # resource exists and does not have a policy set.
2677
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.25.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-08-13 00:00:00.000000000 Z
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.25.0
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.2
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