google-apis-agentidentity_v1 0.2.0 → 0.3.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: 194214c9585279d55cd9b94b963d3c37abdb7f20a7eff3ad54a83987fd4eead5
4
- data.tar.gz: 9c6d12fbb2b96c3a9ba5db6ef971ab29afb11474b188f4845243a539808b56a5
3
+ metadata.gz: 6b73a1f6164c1a24823be91eb6c4fd4e12bd038988fcbfef613ac9382d5ff2c4
4
+ data.tar.gz: 3f0b05645596b8c12222495d3b4674436ce8b88c3d52e0b313a71cd84c7e8a84
5
5
  SHA512:
6
- metadata.gz: 631f7f6fb5dde9ddb08ae82a8d0fe1c810d1abe577f68ce80fed56a88c712b4a10cdff85dcf26c152e3e3959549b4caaabc8389329a63f1c267c33becca390ef
7
- data.tar.gz: 99e19ede5e6658e29494793aff78b193328316446795b7c1562a7fc9cae1beb055a0b1b39c9861bc7264df2e0a827722a4dfa115f618c6109da6dd6a6f1b5110
6
+ metadata.gz: 5e932a8914d9a71104dac2d96c20b409f4d77dbca3503ca27b2e36aa16389e0a556fbe0c43c8f236a6ba6a2b3af611effa0ac5376be6c1b1f8649ebc9a6ae65a
7
+ data.tar.gz: b84e968b8044c3c556f2e6650e8e0268810fd46d6d08ffa7408f3a78d0142759da3e2e88c7768745b517b75b90688f1a656bf09dbf4bf9c4755b82c44a32fe3f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-agentidentity_v1
2
2
 
3
+ ### v0.3.0 (2026-10-04)
4
+
5
+ * Regenerated from discovery document revision 20260924
6
+
3
7
  ### v0.2.0 (2026-08-30)
4
8
 
5
9
  * Regenerated from discovery document revision 20260823
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AgentidentityV1
18
18
  # Version of the google-apis-agentidentity_v1 gem
19
- GEM_VERSION = "0.2.0"
19
+ GEM_VERSION = "0.3.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.19.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260823"
25
+ REVISION = "20260924"
26
26
  end
27
27
  end
28
28
  end
@@ -869,6 +869,51 @@ module Google
869
869
  execute_or_queue_command(command, &block)
870
870
  end
871
871
 
872
+ # Gets the access control policy for a resource. Returns an empty policy if the
873
+ # resource exists and does not have a policy set.
874
+ # @param [String] resource
875
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
876
+ # names](https://cloud.google.com/apis/design/resource_names) for the
877
+ # appropriate value for this field.
878
+ # @param [Fixnum] options_requested_policy_version
879
+ # Optional. The maximum policy version that will be used to format the policy.
880
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
881
+ # rejected. Requests for policies with any conditional role bindings must
882
+ # specify version 3. Policies with no conditional role bindings may specify any
883
+ # valid value or leave the field unset. The policy in the response might use the
884
+ # policy version that you specified, or it might use a lower policy version. For
885
+ # example, if you specify version 3, but the policy has no conditional role
886
+ # bindings, the response uses version 1. To learn which resources support
887
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
888
+ # google.com/iam/help/conditions/resource-policies).
889
+ # @param [String] fields
890
+ # Selector specifying which fields to include in a partial response.
891
+ # @param [String] quota_user
892
+ # Available to use for quota purposes for server-side applications. Can be any
893
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
894
+ # @param [Google::Apis::RequestOptions] options
895
+ # Request-specific options
896
+ #
897
+ # @yield [result, err] Result & error if block supplied
898
+ # @yieldparam result [Google::Apis::AgentidentityV1::Policy] parsed result object
899
+ # @yieldparam err [StandardError] error object if request failed
900
+ #
901
+ # @return [Google::Apis::AgentidentityV1::Policy]
902
+ #
903
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
904
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
905
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
906
+ def get_project_location_auth_provider_authorization_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
907
+ command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
908
+ command.response_representation = Google::Apis::AgentidentityV1::Policy::Representation
909
+ command.response_class = Google::Apis::AgentidentityV1::Policy
910
+ command.params['resource'] = resource unless resource.nil?
911
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
912
+ command.query['fields'] = fields unless fields.nil?
913
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
914
+ execute_or_queue_command(command, &block)
915
+ end
916
+
872
917
  # Lists authorizations in a given project and location.
873
918
  # @param [String] parent
874
919
  # Required. The parent resource where the search is performed. Format: projects/`
@@ -918,6 +963,82 @@ module Google
918
963
  command.query['quotaUser'] = quota_user unless quota_user.nil?
919
964
  execute_or_queue_command(command, &block)
920
965
  end
966
+
967
+ # Sets the access control policy on the specified resource. Replaces any
968
+ # existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
969
+ # PERMISSION_DENIED` errors.
970
+ # @param [String] resource
971
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
972
+ # names](https://cloud.google.com/apis/design/resource_names) for the
973
+ # appropriate value for this field.
974
+ # @param [Google::Apis::AgentidentityV1::SetIamPolicyRequest] set_iam_policy_request_object
975
+ # @param [String] fields
976
+ # Selector specifying which fields to include in a partial response.
977
+ # @param [String] quota_user
978
+ # Available to use for quota purposes for server-side applications. Can be any
979
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
980
+ # @param [Google::Apis::RequestOptions] options
981
+ # Request-specific options
982
+ #
983
+ # @yield [result, err] Result & error if block supplied
984
+ # @yieldparam result [Google::Apis::AgentidentityV1::Policy] parsed result object
985
+ # @yieldparam err [StandardError] error object if request failed
986
+ #
987
+ # @return [Google::Apis::AgentidentityV1::Policy]
988
+ #
989
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
990
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
991
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
992
+ def set_authorization_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
993
+ command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
994
+ command.request_representation = Google::Apis::AgentidentityV1::SetIamPolicyRequest::Representation
995
+ command.request_object = set_iam_policy_request_object
996
+ command.response_representation = Google::Apis::AgentidentityV1::Policy::Representation
997
+ command.response_class = Google::Apis::AgentidentityV1::Policy
998
+ command.params['resource'] = resource unless resource.nil?
999
+ command.query['fields'] = fields unless fields.nil?
1000
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1001
+ execute_or_queue_command(command, &block)
1002
+ end
1003
+
1004
+ # Returns permissions that a caller has on the specified resource. If the
1005
+ # resource does not exist, this will return an empty set of permissions, not a `
1006
+ # NOT_FOUND` error. Note: This operation is designed to be used for building
1007
+ # permission-aware UIs and command-line tools, not for authorization checking.
1008
+ # This operation may "fail open" without warning.
1009
+ # @param [String] resource
1010
+ # REQUIRED: The resource for which the policy detail is being requested. See [
1011
+ # Resource names](https://cloud.google.com/apis/design/resource_names) for the
1012
+ # appropriate value for this field.
1013
+ # @param [Google::Apis::AgentidentityV1::TestIamPermissionsRequest] test_iam_permissions_request_object
1014
+ # @param [String] fields
1015
+ # Selector specifying which fields to include in a partial response.
1016
+ # @param [String] quota_user
1017
+ # Available to use for quota purposes for server-side applications. Can be any
1018
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1019
+ # @param [Google::Apis::RequestOptions] options
1020
+ # Request-specific options
1021
+ #
1022
+ # @yield [result, err] Result & error if block supplied
1023
+ # @yieldparam result [Google::Apis::AgentidentityV1::TestIamPermissionsResponse] parsed result object
1024
+ # @yieldparam err [StandardError] error object if request failed
1025
+ #
1026
+ # @return [Google::Apis::AgentidentityV1::TestIamPermissionsResponse]
1027
+ #
1028
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1029
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1030
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1031
+ def test_authorization_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1032
+ command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
1033
+ command.request_representation = Google::Apis::AgentidentityV1::TestIamPermissionsRequest::Representation
1034
+ command.request_object = test_iam_permissions_request_object
1035
+ command.response_representation = Google::Apis::AgentidentityV1::TestIamPermissionsResponse::Representation
1036
+ command.response_class = Google::Apis::AgentidentityV1::TestIamPermissionsResponse
1037
+ command.params['resource'] = resource unless resource.nil?
1038
+ command.query['fields'] = fields unless fields.nil?
1039
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1040
+ execute_or_queue_command(command, &block)
1041
+ end
921
1042
 
922
1043
  protected
923
1044
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-agentidentity_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-agentidentity_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-agentidentity_v1/v0.2.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-agentidentity_v1/v0.3.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-agentidentity_v1
62
62
  rdoc_options: []
63
63
  require_paths: