google-apis-discoveryengine_v1 0.55.0 → 0.57.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.
@@ -710,9 +710,9 @@ module Google
710
710
  # values: * `document` is the default model for regular dataStores. * `search-
711
711
  # history` is the default model for site search dataStores.
712
712
  # @param [String] user_pseudo_id
713
- # A unique identifier for tracking visitors. For example, this could be
714
- # implemented with an HTTP cookie, which should be able to uniquely identify a
715
- # visitor on a single device. This unique identifier should not change if the
713
+ # Optional. A unique identifier for tracking visitors. For example, this could
714
+ # be implemented with an HTTP cookie, which should be able to uniquely identify
715
+ # a visitor on a single device. This unique identifier should not change if the
716
716
  # visitor logs in or out of the website. This field should NOT have a fixed
717
717
  # value such as `unknown_visitor`. This should be the same identifier as
718
718
  # UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a
@@ -2496,6 +2496,78 @@ module Google
2496
2496
  execute_or_queue_command(command, &block)
2497
2497
  end
2498
2498
 
2499
+ # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
2500
+ # exist.
2501
+ # @param [String] name
2502
+ # Required. The resource name of the ServingConfig to get. Format: `projects/`
2503
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
2504
+ # servingConfigs/`serving_config_id``
2505
+ # @param [String] fields
2506
+ # Selector specifying which fields to include in a partial response.
2507
+ # @param [String] quota_user
2508
+ # Available to use for quota purposes for server-side applications. Can be any
2509
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2510
+ # @param [Google::Apis::RequestOptions] options
2511
+ # Request-specific options
2512
+ #
2513
+ # @yield [result, err] Result & error if block supplied
2514
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
2515
+ # @yieldparam err [StandardError] error object if request failed
2516
+ #
2517
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
2518
+ #
2519
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2520
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2521
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2522
+ def get_project_location_collection_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
2523
+ command = make_simple_command(:get, 'v1/{+name}', options)
2524
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
2525
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
2526
+ command.params['name'] = name unless name.nil?
2527
+ command.query['fields'] = fields unless fields.nil?
2528
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2529
+ execute_or_queue_command(command, &block)
2530
+ end
2531
+
2532
+ # Lists all ServingConfigs linked to this dataStore.
2533
+ # @param [String] parent
2534
+ # Required. Full resource name of the parent resource. Format: `projects/`
2535
+ # project`/locations/`location`/collections/`collection`/engines/`engine``
2536
+ # @param [Fixnum] page_size
2537
+ # Optional. Maximum number of results to return. If unspecified, defaults to 100.
2538
+ # If a value greater than 100 is provided, at most 100 results are returned.
2539
+ # @param [String] page_token
2540
+ # Optional. A page token, received from a previous `ListServingConfigs` call.
2541
+ # Provide this to retrieve the subsequent page.
2542
+ # @param [String] fields
2543
+ # Selector specifying which fields to include in a partial response.
2544
+ # @param [String] quota_user
2545
+ # Available to use for quota purposes for server-side applications. Can be any
2546
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2547
+ # @param [Google::Apis::RequestOptions] options
2548
+ # Request-specific options
2549
+ #
2550
+ # @yield [result, err] Result & error if block supplied
2551
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse] parsed result object
2552
+ # @yieldparam err [StandardError] error object if request failed
2553
+ #
2554
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse]
2555
+ #
2556
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2557
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2558
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2559
+ def list_project_location_collection_data_store_serving_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2560
+ command = make_simple_command(:get, 'v1/{+parent}/servingConfigs', options)
2561
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse::Representation
2562
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse
2563
+ command.params['parent'] = parent unless parent.nil?
2564
+ command.query['pageSize'] = page_size unless page_size.nil?
2565
+ command.query['pageToken'] = page_token unless page_token.nil?
2566
+ command.query['fields'] = fields unless fields.nil?
2567
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2568
+ execute_or_queue_command(command, &block)
2569
+ end
2570
+
2499
2571
  # Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
2500
2572
  # not exist.
2501
2573
  # @param [String] name
@@ -4739,6 +4811,78 @@ module Google
4739
4811
  execute_or_queue_command(command, &block)
4740
4812
  end
4741
4813
 
4814
+ # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
4815
+ # exist.
4816
+ # @param [String] name
4817
+ # Required. The resource name of the ServingConfig to get. Format: `projects/`
4818
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
4819
+ # servingConfigs/`serving_config_id``
4820
+ # @param [String] fields
4821
+ # Selector specifying which fields to include in a partial response.
4822
+ # @param [String] quota_user
4823
+ # Available to use for quota purposes for server-side applications. Can be any
4824
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4825
+ # @param [Google::Apis::RequestOptions] options
4826
+ # Request-specific options
4827
+ #
4828
+ # @yield [result, err] Result & error if block supplied
4829
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
4830
+ # @yieldparam err [StandardError] error object if request failed
4831
+ #
4832
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
4833
+ #
4834
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4835
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4836
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4837
+ def get_project_location_collection_engine_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
4838
+ command = make_simple_command(:get, 'v1/{+name}', options)
4839
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
4840
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
4841
+ command.params['name'] = name unless name.nil?
4842
+ command.query['fields'] = fields unless fields.nil?
4843
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4844
+ execute_or_queue_command(command, &block)
4845
+ end
4846
+
4847
+ # Lists all ServingConfigs linked to this dataStore.
4848
+ # @param [String] parent
4849
+ # Required. Full resource name of the parent resource. Format: `projects/`
4850
+ # project`/locations/`location`/collections/`collection`/engines/`engine``
4851
+ # @param [Fixnum] page_size
4852
+ # Optional. Maximum number of results to return. If unspecified, defaults to 100.
4853
+ # If a value greater than 100 is provided, at most 100 results are returned.
4854
+ # @param [String] page_token
4855
+ # Optional. A page token, received from a previous `ListServingConfigs` call.
4856
+ # Provide this to retrieve the subsequent page.
4857
+ # @param [String] fields
4858
+ # Selector specifying which fields to include in a partial response.
4859
+ # @param [String] quota_user
4860
+ # Available to use for quota purposes for server-side applications. Can be any
4861
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4862
+ # @param [Google::Apis::RequestOptions] options
4863
+ # Request-specific options
4864
+ #
4865
+ # @yield [result, err] Result & error if block supplied
4866
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse] parsed result object
4867
+ # @yieldparam err [StandardError] error object if request failed
4868
+ #
4869
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse]
4870
+ #
4871
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4872
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4873
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4874
+ def list_project_location_collection_engine_serving_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4875
+ command = make_simple_command(:get, 'v1/{+parent}/servingConfigs', options)
4876
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse::Representation
4877
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse
4878
+ command.params['parent'] = parent unless parent.nil?
4879
+ command.query['pageSize'] = page_size unless page_size.nil?
4880
+ command.query['pageToken'] = page_token unless page_token.nil?
4881
+ command.query['fields'] = fields unless fields.nil?
4882
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4883
+ execute_or_queue_command(command, &block)
4884
+ end
4885
+
4742
4886
  # Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
4743
4887
  # not exist.
4744
4888
  # @param [String] name
@@ -5275,9 +5419,9 @@ module Google
5275
5419
  # values: * `document` is the default model for regular dataStores. * `search-
5276
5420
  # history` is the default model for site search dataStores.
5277
5421
  # @param [String] user_pseudo_id
5278
- # A unique identifier for tracking visitors. For example, this could be
5279
- # implemented with an HTTP cookie, which should be able to uniquely identify a
5280
- # visitor on a single device. This unique identifier should not change if the
5422
+ # Optional. A unique identifier for tracking visitors. For example, this could
5423
+ # be implemented with an HTTP cookie, which should be able to uniquely identify
5424
+ # a visitor on a single device. This unique identifier should not change if the
5281
5425
  # visitor logs in or out of the website. This field should NOT have a fixed
5282
5426
  # value such as `unknown_visitor`. This should be the same identifier as
5283
5427
  # UserEvent.user_pseudo_id and SearchRequest.user_pseudo_id. The field must be a
@@ -6915,6 +7059,78 @@ module Google
6915
7059
  execute_or_queue_command(command, &block)
6916
7060
  end
6917
7061
 
7062
+ # Gets a ServingConfig. Returns a NotFound error if the ServingConfig does not
7063
+ # exist.
7064
+ # @param [String] name
7065
+ # Required. The resource name of the ServingConfig to get. Format: `projects/`
7066
+ # project`/locations/`location`/collections/`collection`/engines/`engine`/
7067
+ # servingConfigs/`serving_config_id``
7068
+ # @param [String] fields
7069
+ # Selector specifying which fields to include in a partial response.
7070
+ # @param [String] quota_user
7071
+ # Available to use for quota purposes for server-side applications. Can be any
7072
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7073
+ # @param [Google::Apis::RequestOptions] options
7074
+ # Request-specific options
7075
+ #
7076
+ # @yield [result, err] Result & error if block supplied
7077
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig] parsed result object
7078
+ # @yieldparam err [StandardError] error object if request failed
7079
+ #
7080
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig]
7081
+ #
7082
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7083
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7084
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7085
+ def get_project_location_data_store_serving_config(name, fields: nil, quota_user: nil, options: nil, &block)
7086
+ command = make_simple_command(:get, 'v1/{+name}', options)
7087
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig::Representation
7088
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ServingConfig
7089
+ command.params['name'] = name unless name.nil?
7090
+ command.query['fields'] = fields unless fields.nil?
7091
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7092
+ execute_or_queue_command(command, &block)
7093
+ end
7094
+
7095
+ # Lists all ServingConfigs linked to this dataStore.
7096
+ # @param [String] parent
7097
+ # Required. Full resource name of the parent resource. Format: `projects/`
7098
+ # project`/locations/`location`/collections/`collection`/engines/`engine``
7099
+ # @param [Fixnum] page_size
7100
+ # Optional. Maximum number of results to return. If unspecified, defaults to 100.
7101
+ # If a value greater than 100 is provided, at most 100 results are returned.
7102
+ # @param [String] page_token
7103
+ # Optional. A page token, received from a previous `ListServingConfigs` call.
7104
+ # Provide this to retrieve the subsequent page.
7105
+ # @param [String] fields
7106
+ # Selector specifying which fields to include in a partial response.
7107
+ # @param [String] quota_user
7108
+ # Available to use for quota purposes for server-side applications. Can be any
7109
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7110
+ # @param [Google::Apis::RequestOptions] options
7111
+ # Request-specific options
7112
+ #
7113
+ # @yield [result, err] Result & error if block supplied
7114
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse] parsed result object
7115
+ # @yieldparam err [StandardError] error object if request failed
7116
+ #
7117
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse]
7118
+ #
7119
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7120
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7121
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7122
+ def list_project_location_data_store_serving_configs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7123
+ command = make_simple_command(:get, 'v1/{+parent}/servingConfigs', options)
7124
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse::Representation
7125
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListServingConfigsResponse
7126
+ command.params['parent'] = parent unless parent.nil?
7127
+ command.query['pageSize'] = page_size unless page_size.nil?
7128
+ command.query['pageToken'] = page_token unless page_token.nil?
7129
+ command.query['fields'] = fields unless fields.nil?
7130
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7131
+ execute_or_queue_command(command, &block)
7132
+ end
7133
+
6918
7134
  # Updates a ServingConfig. Returns a NOT_FOUND error if the ServingConfig does
6919
7135
  # not exist.
6920
7136
  # @param [String] name
@@ -8817,6 +9033,145 @@ module Google
8817
9033
  execute_or_queue_command(command, &block)
8818
9034
  end
8819
9035
 
9036
+ # Creates a new User Store.
9037
+ # @param [String] parent
9038
+ # Required. The parent collection resource name, such as `projects/`project`/
9039
+ # locations/`location``.
9040
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] google_cloud_discoveryengine_v1_user_store_object
9041
+ # @param [String] user_store_id
9042
+ # Required. The ID of the User Store to create. The ID must contain only letters
9043
+ # (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum
9044
+ # length is 63 characters.
9045
+ # @param [String] fields
9046
+ # Selector specifying which fields to include in a partial response.
9047
+ # @param [String] quota_user
9048
+ # Available to use for quota purposes for server-side applications. Can be any
9049
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9050
+ # @param [Google::Apis::RequestOptions] options
9051
+ # Request-specific options
9052
+ #
9053
+ # @yield [result, err] Result & error if block supplied
9054
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object
9055
+ # @yieldparam err [StandardError] error object if request failed
9056
+ #
9057
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore]
9058
+ #
9059
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9060
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9061
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9062
+ def create_project_location_user_store(parent, google_cloud_discoveryengine_v1_user_store_object = nil, user_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
9063
+ command = make_simple_command(:post, 'v1/{+parent}/userStores', options)
9064
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
9065
+ command.request_object = google_cloud_discoveryengine_v1_user_store_object
9066
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
9067
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore
9068
+ command.params['parent'] = parent unless parent.nil?
9069
+ command.query['userStoreId'] = user_store_id unless user_store_id.nil?
9070
+ command.query['fields'] = fields unless fields.nil?
9071
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9072
+ execute_or_queue_command(command, &block)
9073
+ end
9074
+
9075
+ # Deletes the User Store.
9076
+ # @param [String] name
9077
+ # Required. The name of the User Store to delete. Format: `projects/`project`/
9078
+ # locations/`location`/userStores/`user_store_id``
9079
+ # @param [String] fields
9080
+ # Selector specifying which fields to include in a partial response.
9081
+ # @param [String] quota_user
9082
+ # Available to use for quota purposes for server-side applications. Can be any
9083
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9084
+ # @param [Google::Apis::RequestOptions] options
9085
+ # Request-specific options
9086
+ #
9087
+ # @yield [result, err] Result & error if block supplied
9088
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
9089
+ # @yieldparam err [StandardError] error object if request failed
9090
+ #
9091
+ # @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
9092
+ #
9093
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9094
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9095
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9096
+ def delete_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block)
9097
+ command = make_simple_command(:delete, 'v1/{+name}', options)
9098
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
9099
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
9100
+ command.params['name'] = name unless name.nil?
9101
+ command.query['fields'] = fields unless fields.nil?
9102
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9103
+ execute_or_queue_command(command, &block)
9104
+ end
9105
+
9106
+ # Gets the User Store.
9107
+ # @param [String] name
9108
+ # Required. The name of the User Store to get. Format: `projects/`project`/
9109
+ # locations/`location`/userStores/`user_store_id``
9110
+ # @param [String] fields
9111
+ # Selector specifying which fields to include in a partial response.
9112
+ # @param [String] quota_user
9113
+ # Available to use for quota purposes for server-side applications. Can be any
9114
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9115
+ # @param [Google::Apis::RequestOptions] options
9116
+ # Request-specific options
9117
+ #
9118
+ # @yield [result, err] Result & error if block supplied
9119
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object
9120
+ # @yieldparam err [StandardError] error object if request failed
9121
+ #
9122
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore]
9123
+ #
9124
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9125
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9126
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9127
+ def get_project_location_user_store(name, fields: nil, quota_user: nil, options: nil, &block)
9128
+ command = make_simple_command(:get, 'v1/{+name}', options)
9129
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
9130
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore
9131
+ command.params['name'] = name unless name.nil?
9132
+ command.query['fields'] = fields unless fields.nil?
9133
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9134
+ execute_or_queue_command(command, &block)
9135
+ end
9136
+
9137
+ # Updates the User Store.
9138
+ # @param [String] name
9139
+ # Immutable. The full resource name of the User Store, in the format of `
9140
+ # projects/`project`/locations/`location`/userStores/`user_store``. This field
9141
+ # must be a UTF-8 encoded string with a length limit of 1024 characters.
9142
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] google_cloud_discoveryengine_v1_user_store_object
9143
+ # @param [String] update_mask
9144
+ # Optional. The list of fields to update.
9145
+ # @param [String] fields
9146
+ # Selector specifying which fields to include in a partial response.
9147
+ # @param [String] quota_user
9148
+ # Available to use for quota purposes for server-side applications. Can be any
9149
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
9150
+ # @param [Google::Apis::RequestOptions] options
9151
+ # Request-specific options
9152
+ #
9153
+ # @yield [result, err] Result & error if block supplied
9154
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore] parsed result object
9155
+ # @yieldparam err [StandardError] error object if request failed
9156
+ #
9157
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore]
9158
+ #
9159
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9160
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9161
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
9162
+ def patch_project_location_user_store(name, google_cloud_discoveryengine_v1_user_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
9163
+ command = make_simple_command(:patch, 'v1/{+name}', options)
9164
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
9165
+ command.request_object = google_cloud_discoveryengine_v1_user_store_object
9166
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore::Representation
9167
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1UserStore
9168
+ command.params['name'] = name unless name.nil?
9169
+ command.query['updateMask'] = update_mask unless update_mask.nil?
9170
+ command.query['fields'] = fields unless fields.nil?
9171
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
9172
+ execute_or_queue_command(command, &block)
9173
+ end
9174
+
8820
9175
  # Lists the User Licenses.
8821
9176
  # @param [String] parent
8822
9177
  # Required. The parent UserStore resource name, format: `projects/`project`/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.55.0
4
+ version: 0.57.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_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.55.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.57.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1
62
62
  rdoc_options: []
63
63
  require_paths: