google-apis-discoveryengine_v1beta 0.111.0 → 0.112.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: f6ab5df0f22ad0665796be526971a030fa36663dfc19a7b06848d1abc12f8f3c
4
- data.tar.gz: ed22a258b2b8b10aa457dcca1f4438651bc05ceafe7fb903df152ba8f8e5f8f9
3
+ metadata.gz: 65017b7ecfcf01b258eb42bdd70a6c9cf482e164945d61ce38c494187791f7c5
4
+ data.tar.gz: 9048faae0054baa30b14366ad1cccc6d10a82e020f4223870e803849fc28fedc
5
5
  SHA512:
6
- metadata.gz: cc879f62bac922f0d363debe55a1994b2aae18bdf3754a6c5e6d196113a6bf1378aff3c8126ecfe52e7251c3b4caa7f508ac71b5bce86130bc0da54d150e88f6
7
- data.tar.gz: 05b6cfb061e32ac3319c967a8b6846a43189a53c8effe8d71e2a4da3c75125f989c39b6a4863da0b6b8068c43534456e921a512bc26638be0b43f400482d14b9
6
+ metadata.gz: d9db9bbd3ff66d089ef481e83eef0088db930c571eb2935268b31662b9ff948cdfcff37f8183c4b70e3023ce263e9ec99e65c512f1c2dec2d3aebc6d0d11108d
7
+ data.tar.gz: 779729e44c872cf69400c54e9495c41a67ace9a9965d80f4153398e5e03e4f2c0a004d715263e7460ca1461a4c2bc3c991e3f38bf6509518a3d3aa6a8046c54a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-discoveryengine_v1beta
2
2
 
3
+ ### v0.112.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260831
6
+
3
7
  ### v0.111.0 (2026-08-23)
4
8
 
5
9
  * Regenerated from discovery document revision 20260815
@@ -4019,11 +4019,11 @@ module Google
4019
4019
  # `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
4020
4020
  # disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
4021
4021
  # content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
4022
- # canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-
4023
- # without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-
4024
- # sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
4025
- # orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-
4026
- # notifications`
4022
+ # canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
4023
+ # sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
4024
+ # * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
4025
+ # multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
4026
+ # `in-app-notifications`
4027
4027
  # Corresponds to the JSON property `features`
4028
4028
  # @return [Hash<String,String>]
4029
4029
  attr_accessor :features
@@ -9126,6 +9126,12 @@ module Google
9126
9126
  class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
9127
9127
  include Google::Apis::Core::Hashable
9128
9128
 
9129
+ # Output only. Generic structured chunk metadata from upstream data source
9130
+ # connectors.
9131
+ # Corresponds to the JSON property `chunkMetadata`
9132
+ # @return [Hash<String,Object>]
9133
+ attr_accessor :chunk_metadata
9134
+
9129
9135
  # Chunk of code snippet from the referenced document.
9130
9136
  # Corresponds to the JSON property `codeSnippet`
9131
9137
  # @return [String]
@@ -9147,6 +9153,7 @@ module Google
9147
9153
 
9148
9154
  # Update properties of this object
9149
9155
  def update!(**args)
9156
+ @chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
9150
9157
  @code_snippet = args[:code_snippet] if args.key?(:code_snippet)
9151
9158
  @content = args[:content] if args.key?(:content)
9152
9159
  @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
@@ -12525,11 +12532,11 @@ module Google
12525
12532
  # `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
12526
12533
  # disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
12527
12534
  # content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
12528
- # canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-
12529
- # without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-
12530
- # sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
12531
- # orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-
12532
- # notifications`
12535
+ # canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
12536
+ # sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
12537
+ # * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
12538
+ # multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
12539
+ # `in-app-notifications`
12533
12540
  # Corresponds to the JSON property `features`
12534
12541
  # @return [Hash<String,String>]
12535
12542
  attr_accessor :features
@@ -21593,6 +21600,12 @@ module Google
21593
21600
  class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
21594
21601
  include Google::Apis::Core::Hashable
21595
21602
 
21603
+ # Output only. Generic structured chunk metadata from upstream data source
21604
+ # connectors.
21605
+ # Corresponds to the JSON property `chunkMetadata`
21606
+ # @return [Hash<String,Object>]
21607
+ attr_accessor :chunk_metadata
21608
+
21596
21609
  # Chunk of code snippet from the referenced document.
21597
21610
  # Corresponds to the JSON property `codeSnippet`
21598
21611
  # @return [String]
@@ -21614,6 +21627,7 @@ module Google
21614
21627
 
21615
21628
  # Update properties of this object
21616
21629
  def update!(**args)
21630
+ @chunk_metadata = args[:chunk_metadata] if args.key?(:chunk_metadata)
21617
21631
  @code_snippet = args[:code_snippet] if args.key?(:code_snippet)
21618
21632
  @content = args[:content] if args.key?(:content)
21619
21633
  @document_metadata = args[:document_metadata] if args.key?(:document_metadata)
@@ -25507,11 +25521,11 @@ module Google
25507
25521
  # `mobile-app-access` * `disable-agent-sharing` * `disable-image-generation` * `
25508
25522
  # disable-video-generation` * `disable-onedrive-upload` * `disable-talk-to-
25509
25523
  # content` * `disable-google-drive-upload` * `disable-welcome-emails` * `disable-
25510
- # canvas` * `canvas-workspace` * `skills` * `skill-sharing` * `skill-sharing-
25511
- # without-admin-approval` * `disable-projects` * `sobi` * `enable-end-user-
25512
- # sharing-with-groups` * `single-agent-orchestration` * `multi-agent-
25513
- # orchestration` * `cross-product-intelligence` * `workflow-agents` * `in-app-
25514
- # notifications`
25524
+ # canvas` * `canvas-workspace` * `canvas-app-builder` * `skills` * `skill-
25525
+ # sharing` * `skill-sharing-without-admin-approval` * `disable-projects` * `sobi`
25526
+ # * `enable-end-user-sharing-with-groups` * `single-agent-orchestration` * `
25527
+ # multi-agent-orchestration` * `cross-product-intelligence` * `workflow-agents` *
25528
+ # `in-app-notifications`
25515
25529
  # Corresponds to the JSON property `features`
25516
25530
  # @return [Hash<String,String>]
25517
25531
  attr_accessor :features
@@ -33859,6 +33873,11 @@ module Google
33859
33873
  class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
33860
33874
  include Google::Apis::Core::Hashable
33861
33875
 
33876
+ # Specification of agents that are used to serve the request.
33877
+ # Corresponds to the JSON property `agentsSpec`
33878
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec]
33879
+ attr_accessor :agents_spec
33880
+
33862
33881
  # Assistant generation specification for the request. This allows to override
33863
33882
  # the default generation configuration at the engine level.
33864
33883
  # Corresponds to the JSON property `generationSpec`
@@ -33896,6 +33915,7 @@ module Google
33896
33915
 
33897
33916
  # Update properties of this object
33898
33917
  def update!(**args)
33918
+ @agents_spec = args[:agents_spec] if args.key?(:agents_spec)
33899
33919
  @generation_spec = args[:generation_spec] if args.key?(:generation_spec)
33900
33920
  @query = args[:query] if args.key?(:query)
33901
33921
  @session = args[:session] if args.key?(:session)
@@ -33904,6 +33924,46 @@ module Google
33904
33924
  end
33905
33925
  end
33906
33926
 
33927
+ # Specification of agents that are used to serve the request.
33928
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec
33929
+ include Google::Apis::Core::Hashable
33930
+
33931
+ # Optional. Specification of agents that are used to serve the request.
33932
+ # Corresponds to the JSON property `agentSpecs`
33933
+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec>]
33934
+ attr_accessor :agent_specs
33935
+
33936
+ def initialize(**args)
33937
+ update!(**args)
33938
+ end
33939
+
33940
+ # Update properties of this object
33941
+ def update!(**args)
33942
+ @agent_specs = args[:agent_specs] if args.key?(:agent_specs)
33943
+ end
33944
+ end
33945
+
33946
+ # Specification of an agent.
33947
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec
33948
+ include Google::Apis::Core::Hashable
33949
+
33950
+ # Required. ID to identify the agent resource serving the request. This field
33951
+ # must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034) with a length
33952
+ # limit of 63 characters.
33953
+ # Corresponds to the JSON property `agentId`
33954
+ # @return [String]
33955
+ attr_accessor :agent_id
33956
+
33957
+ def initialize(**args)
33958
+ update!(**args)
33959
+ end
33960
+
33961
+ # Update properties of this object
33962
+ def update!(**args)
33963
+ @agent_id = args[:agent_id] if args.key?(:agent_id)
33964
+ end
33965
+ end
33966
+
33907
33967
  # Assistant generation specification for the request. This allows to override
33908
33968
  # the default generation configuration at the engine level.
33909
33969
  class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DiscoveryengineV1beta
18
18
  # Version of the google-apis-discoveryengine_v1beta gem
19
- GEM_VERSION = "0.111.0"
19
+ GEM_VERSION = "0.112.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 = "20260815"
25
+ REVISION = "20260831"
26
26
  end
27
27
  end
28
28
  end
@@ -5308,6 +5308,18 @@ module Google
5308
5308
  include Google::Apis::Core::JsonObjectSupport
5309
5309
  end
5310
5310
 
5311
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec
5312
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5313
+
5314
+ include Google::Apis::Core::JsonObjectSupport
5315
+ end
5316
+
5317
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec
5318
+ class Representation < Google::Apis::Core::JsonRepresentation; end
5319
+
5320
+ include Google::Apis::Core::JsonObjectSupport
5321
+ end
5322
+
5311
5323
  class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
5312
5324
  class Representation < Google::Apis::Core::JsonRepresentation; end
5313
5325
 
@@ -8020,6 +8032,7 @@ module Google
8020
8032
  class GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReference
8021
8033
  # @private
8022
8034
  class Representation < Google::Apis::Core::JsonRepresentation
8035
+ hash :chunk_metadata, as: 'chunkMetadata'
8023
8036
  property :code_snippet, as: 'codeSnippet'
8024
8037
  property :content, as: 'content'
8025
8038
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata::Representation
@@ -11322,6 +11335,7 @@ module Google
11322
11335
  class GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReference
11323
11336
  # @private
11324
11337
  class Representation < Google::Apis::Core::JsonRepresentation
11338
+ hash :chunk_metadata, as: 'chunkMetadata'
11325
11339
  property :code_snippet, as: 'codeSnippet'
11326
11340
  property :content, as: 'content'
11327
11341
  property :document_metadata, as: 'documentMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistantGroundedContentTextGroundingMetadataReferenceDocumentMetadata::Representation
@@ -14647,6 +14661,8 @@ module Google
14647
14661
  class GoogleCloudDiscoveryengineV1betaStreamAssistRequest
14648
14662
  # @private
14649
14663
  class Representation < Google::Apis::Core::JsonRepresentation
14664
+ property :agents_spec, as: 'agentsSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec::Representation
14665
+
14650
14666
  property :generation_spec, as: 'generationSpec', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec::Representation
14651
14667
 
14652
14668
  property :query, as: 'query', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaQuery::Representation
@@ -14659,6 +14675,21 @@ module Google
14659
14675
  end
14660
14676
  end
14661
14677
 
14678
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpec
14679
+ # @private
14680
+ class Representation < Google::Apis::Core::JsonRepresentation
14681
+ collection :agent_specs, as: 'agentSpecs', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec::Representation
14682
+
14683
+ end
14684
+ end
14685
+
14686
+ class GoogleCloudDiscoveryengineV1betaStreamAssistRequestAgentsSpecAgentSpec
14687
+ # @private
14688
+ class Representation < Google::Apis::Core::JsonRepresentation
14689
+ property :agent_id, as: 'agentId'
14690
+ end
14691
+ end
14692
+
14662
14693
  class GoogleCloudDiscoveryengineV1betaStreamAssistRequestGenerationSpec
14663
14694
  # @private
14664
14695
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -864,6 +864,52 @@ module Google
864
864
  execute_or_queue_command(command, &block)
865
865
  end
866
866
 
867
+ # Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is
868
+ # returned if the resource does not exist. An empty policy is returned if the
869
+ # resource exists but does not have a policy set on it.
870
+ # @param [String] resource
871
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
872
+ # names](https://cloud.google.com/apis/design/resource_names) for the
873
+ # appropriate value for this field.
874
+ # @param [Fixnum] options_requested_policy_version
875
+ # Optional. The maximum policy version that will be used to format the policy.
876
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
877
+ # rejected. Requests for policies with any conditional role bindings must
878
+ # specify version 3. Policies with no conditional role bindings may specify any
879
+ # valid value or leave the field unset. The policy in the response might use the
880
+ # policy version that you specified, or it might use a lower policy version. For
881
+ # example, if you specify version 3, but the policy has no conditional role
882
+ # bindings, the response uses version 1. To learn which resources support
883
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
884
+ # google.com/iam/help/conditions/resource-policies).
885
+ # @param [String] fields
886
+ # Selector specifying which fields to include in a partial response.
887
+ # @param [String] quota_user
888
+ # Available to use for quota purposes for server-side applications. Can be any
889
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
890
+ # @param [Google::Apis::RequestOptions] options
891
+ # Request-specific options
892
+ #
893
+ # @yield [result, err] Result & error if block supplied
894
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy] parsed result object
895
+ # @yieldparam err [StandardError] error object if request failed
896
+ #
897
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy]
898
+ #
899
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
900
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
901
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
902
+ def get_project_location_collection_data_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
903
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
904
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy::Representation
905
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy
906
+ command.params['resource'] = resource unless resource.nil?
907
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
908
+ command.query['fields'] = fields unless fields.nil?
909
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
910
+ execute_or_queue_command(command, &block)
911
+ end
912
+
867
913
  # Gets the SiteSearchEngine.
868
914
  # @param [String] name
869
915
  # Required. Resource name of SiteSearchEngine, such as `projects/`project`/
@@ -987,6 +1033,47 @@ module Google
987
1033
  execute_or_queue_command(command, &block)
988
1034
  end
989
1035
 
1036
+ # Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is
1037
+ # returned if the resource does not exist. **Important:** When setting a policy
1038
+ # directly on a DataStore resource, the only recommended roles in the bindings
1039
+ # are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `
1040
+ # roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/
1041
+ # discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to
1042
+ # grant any other role will result in a warning in logging.
1043
+ # @param [String] resource
1044
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
1045
+ # names](https://cloud.google.com/apis/design/resource_names) for the
1046
+ # appropriate value for this field.
1047
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
1048
+ # @param [String] fields
1049
+ # Selector specifying which fields to include in a partial response.
1050
+ # @param [String] quota_user
1051
+ # Available to use for quota purposes for server-side applications. Can be any
1052
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1053
+ # @param [Google::Apis::RequestOptions] options
1054
+ # Request-specific options
1055
+ #
1056
+ # @yield [result, err] Result & error if block supplied
1057
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy] parsed result object
1058
+ # @yieldparam err [StandardError] error object if request failed
1059
+ #
1060
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy]
1061
+ #
1062
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1063
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1064
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1065
+ def set_project_location_collection_data_store_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
1066
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
1067
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1SetIamPolicyRequest::Representation
1068
+ command.request_object = google_iam_v1_set_iam_policy_request_object
1069
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy::Representation
1070
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy
1071
+ command.params['resource'] = resource unless resource.nil?
1072
+ command.query['fields'] = fields unless fields.nil?
1073
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1074
+ execute_or_queue_command(command, &block)
1075
+ end
1076
+
990
1077
  # Trains a custom model.
991
1078
  # @param [String] data_store
992
1079
  # Required. The resource name of the Data Store, such as `projects/*/locations/
@@ -6097,6 +6184,52 @@ module Google
6097
6184
  execute_or_queue_command(command, &block)
6098
6185
  end
6099
6186
 
6187
+ # Gets the IAM access control policy for a DataStore. A `NOT_FOUND` error is
6188
+ # returned if the resource does not exist. An empty policy is returned if the
6189
+ # resource exists but does not have a policy set on it.
6190
+ # @param [String] resource
6191
+ # REQUIRED: The resource for which the policy is being requested. See [Resource
6192
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6193
+ # appropriate value for this field.
6194
+ # @param [Fixnum] options_requested_policy_version
6195
+ # Optional. The maximum policy version that will be used to format the policy.
6196
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
6197
+ # rejected. Requests for policies with any conditional role bindings must
6198
+ # specify version 3. Policies with no conditional role bindings may specify any
6199
+ # valid value or leave the field unset. The policy in the response might use the
6200
+ # policy version that you specified, or it might use a lower policy version. For
6201
+ # example, if you specify version 3, but the policy has no conditional role
6202
+ # bindings, the response uses version 1. To learn which resources support
6203
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
6204
+ # google.com/iam/help/conditions/resource-policies).
6205
+ # @param [String] fields
6206
+ # Selector specifying which fields to include in a partial response.
6207
+ # @param [String] quota_user
6208
+ # Available to use for quota purposes for server-side applications. Can be any
6209
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6210
+ # @param [Google::Apis::RequestOptions] options
6211
+ # Request-specific options
6212
+ #
6213
+ # @yield [result, err] Result & error if block supplied
6214
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy] parsed result object
6215
+ # @yieldparam err [StandardError] error object if request failed
6216
+ #
6217
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy]
6218
+ #
6219
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6220
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6221
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6222
+ def get_project_location_data_store_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
6223
+ command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', options)
6224
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy::Representation
6225
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy
6226
+ command.params['resource'] = resource unless resource.nil?
6227
+ command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
6228
+ command.query['fields'] = fields unless fields.nil?
6229
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6230
+ execute_or_queue_command(command, &block)
6231
+ end
6232
+
6100
6233
  # Gets the SiteSearchEngine.
6101
6234
  # @param [String] name
6102
6235
  # Required. Resource name of SiteSearchEngine, such as `projects/`project`/
@@ -6220,6 +6353,47 @@ module Google
6220
6353
  execute_or_queue_command(command, &block)
6221
6354
  end
6222
6355
 
6356
+ # Sets the IAM access control policy for a DataStore. A `NOT_FOUND` error is
6357
+ # returned if the resource does not exist. **Important:** When setting a policy
6358
+ # directly on a DataStore resource, the only recommended roles in the bindings
6359
+ # are: `roles/discoveryengine.admin` `roles/discoveryengine.agentspaceAdmin` `
6360
+ # roles/discoveryengine.viewer` `roles/discoveryengine.agentspaceViewer` `roles/
6361
+ # discoveryengine.user` `roles/discoveryengine.agentspaceUser` Attempting to
6362
+ # grant any other role will result in a warning in logging.
6363
+ # @param [String] resource
6364
+ # REQUIRED: The resource for which the policy is being specified. See [Resource
6365
+ # names](https://cloud.google.com/apis/design/resource_names) for the
6366
+ # appropriate value for this field.
6367
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleIamV1SetIamPolicyRequest] google_iam_v1_set_iam_policy_request_object
6368
+ # @param [String] fields
6369
+ # Selector specifying which fields to include in a partial response.
6370
+ # @param [String] quota_user
6371
+ # Available to use for quota purposes for server-side applications. Can be any
6372
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6373
+ # @param [Google::Apis::RequestOptions] options
6374
+ # Request-specific options
6375
+ #
6376
+ # @yield [result, err] Result & error if block supplied
6377
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy] parsed result object
6378
+ # @yieldparam err [StandardError] error object if request failed
6379
+ #
6380
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy]
6381
+ #
6382
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6383
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6384
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
6385
+ def set_project_location_data_store_iam_policy(resource, google_iam_v1_set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
6386
+ command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', options)
6387
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1SetIamPolicyRequest::Representation
6388
+ command.request_object = google_iam_v1_set_iam_policy_request_object
6389
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy::Representation
6390
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleIamV1Policy
6391
+ command.params['resource'] = resource unless resource.nil?
6392
+ command.query['fields'] = fields unless fields.nil?
6393
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
6394
+ execute_or_queue_command(command, &block)
6395
+ end
6396
+
6223
6397
  # Gets index freshness metadata for Documents. Supported for website search only.
6224
6398
  # @param [String] parent
6225
6399
  # Required. The parent branch resource name, such as `projects/`project`/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.111.0
4
+ version: 0.112.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-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.111.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.112.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: