google-apis-discoveryengine_v1alpha 0.77.0 → 0.78.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.
@@ -981,8 +981,8 @@ module Google
981
981
  # generate and return a new access token and its details. Takes the access token
982
982
  # from cache if available. Rotates the stored refresh token if needed. Uses the
983
983
  # end user identity to return the user specific access token. Does *not* return
984
- # the credentials configured by the administrator. Used by Agentspace action
985
- # execution and Agentspace UI.
984
+ # the credentials configured by the administrator. Used by action execution and
985
+ # UI.
986
986
  # @param [String] name
987
987
  # Required. The resource name of the connector for which a token is queried.
988
988
  # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaAcquireAccessTokenRequest] google_cloud_discoveryengine_v1alpha_acquire_access_token_request_object
@@ -1169,6 +1169,13 @@ module Google
1169
1169
  # The standard list page size.
1170
1170
  # @param [String] page_token
1171
1171
  # The standard list page token.
1172
+ # @param [Boolean] return_partial_success
1173
+ # When set to `true`, operations that are reachable are returned as normal, and
1174
+ # those that are unreachable are returned in the [ListOperationsResponse.
1175
+ # unreachable] field. This can only be `true` when reading across collections e.
1176
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1177
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1178
+ # explicitly documented otherwise in service or product specific documentation.
1172
1179
  # @param [String] fields
1173
1180
  # Selector specifying which fields to include in a partial response.
1174
1181
  # @param [String] quota_user
@@ -1186,7 +1193,7 @@ module Google
1186
1193
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1187
1194
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1188
1195
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1189
- def list_project_location_collection_data_connector_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1196
+ def list_project_location_collection_data_connector_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
1190
1197
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
1191
1198
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
1192
1199
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -1194,6 +1201,7 @@ module Google
1194
1201
  command.query['filter'] = filter unless filter.nil?
1195
1202
  command.query['pageSize'] = page_size unless page_size.nil?
1196
1203
  command.query['pageToken'] = page_token unless page_token.nil?
1204
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
1197
1205
  command.query['fields'] = fields unless fields.nil?
1198
1206
  command.query['quotaUser'] = quota_user unless quota_user.nil?
1199
1207
  execute_or_queue_command(command, &block)
@@ -1663,6 +1671,77 @@ module Google
1663
1671
  execute_or_queue_command(command, &block)
1664
1672
  end
1665
1673
 
1674
+ # Retrieves a Branch.
1675
+ # @param [String] name
1676
+ # Required. The name of the branch to retrieve. Format: `projects/*/locations/
1677
+ # global/dataStores/default_data_store/branches/some_branch_id`. "default_branch"
1678
+ # can be used as a special branch_id, it returns the default branch that has
1679
+ # been set for the document.
1680
+ # @param [String] view
1681
+ # The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC
1682
+ # if unspecified.
1683
+ # @param [String] fields
1684
+ # Selector specifying which fields to include in a partial response.
1685
+ # @param [String] quota_user
1686
+ # Available to use for quota purposes for server-side applications. Can be any
1687
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1688
+ # @param [Google::Apis::RequestOptions] options
1689
+ # Request-specific options
1690
+ #
1691
+ # @yield [result, err] Result & error if block supplied
1692
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch] parsed result object
1693
+ # @yieldparam err [StandardError] error object if request failed
1694
+ #
1695
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch]
1696
+ #
1697
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1698
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1699
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1700
+ def get_project_location_collection_data_store_branch(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1701
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
1702
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch::Representation
1703
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch
1704
+ command.params['name'] = name unless name.nil?
1705
+ command.query['view'] = view unless view.nil?
1706
+ command.query['fields'] = fields unless fields.nil?
1707
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1708
+ execute_or_queue_command(command, &block)
1709
+ end
1710
+
1711
+ # Lists all Branchs under the specified parent DataStore.
1712
+ # @param [String] parent
1713
+ # Required. The parent data store resource name.
1714
+ # @param [String] view
1715
+ # The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC
1716
+ # if unspecified.
1717
+ # @param [String] fields
1718
+ # Selector specifying which fields to include in a partial response.
1719
+ # @param [String] quota_user
1720
+ # Available to use for quota purposes for server-side applications. Can be any
1721
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1722
+ # @param [Google::Apis::RequestOptions] options
1723
+ # Request-specific options
1724
+ #
1725
+ # @yield [result, err] Result & error if block supplied
1726
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListBranchesResponse] parsed result object
1727
+ # @yieldparam err [StandardError] error object if request failed
1728
+ #
1729
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListBranchesResponse]
1730
+ #
1731
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1732
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1733
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1734
+ def list_project_location_collection_data_store_branches(parent, view: nil, fields: nil, quota_user: nil, options: nil, &block)
1735
+ command = make_simple_command(:get, 'v1alpha/{+parent}/branches', options)
1736
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListBranchesResponse::Representation
1737
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListBranchesResponse
1738
+ command.params['parent'] = parent unless parent.nil?
1739
+ command.query['view'] = view unless view.nil?
1740
+ command.query['fields'] = fields unless fields.nil?
1741
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1742
+ execute_or_queue_command(command, &block)
1743
+ end
1744
+
1666
1745
  # Creates a Document.
1667
1746
  # @param [String] parent
1668
1747
  # Required. The parent resource name, such as `projects/`project`/locations/`
@@ -2149,6 +2228,13 @@ module Google
2149
2228
  # The standard list page size.
2150
2229
  # @param [String] page_token
2151
2230
  # The standard list page token.
2231
+ # @param [Boolean] return_partial_success
2232
+ # When set to `true`, operations that are reachable are returned as normal, and
2233
+ # those that are unreachable are returned in the [ListOperationsResponse.
2234
+ # unreachable] field. This can only be `true` when reading across collections e.
2235
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2236
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2237
+ # explicitly documented otherwise in service or product specific documentation.
2152
2238
  # @param [String] fields
2153
2239
  # Selector specifying which fields to include in a partial response.
2154
2240
  # @param [String] quota_user
@@ -2166,7 +2252,7 @@ module Google
2166
2252
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2167
2253
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2168
2254
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2169
- def list_project_location_collection_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2255
+ def list_project_location_collection_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2170
2256
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
2171
2257
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
2172
2258
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -2174,6 +2260,7 @@ module Google
2174
2260
  command.query['filter'] = filter unless filter.nil?
2175
2261
  command.query['pageSize'] = page_size unless page_size.nil?
2176
2262
  command.query['pageToken'] = page_token unless page_token.nil?
2263
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2177
2264
  command.query['fields'] = fields unless fields.nil?
2178
2265
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2179
2266
  execute_or_queue_command(command, &block)
@@ -2778,6 +2865,13 @@ module Google
2778
2865
  # The standard list page size.
2779
2866
  # @param [String] page_token
2780
2867
  # The standard list page token.
2868
+ # @param [Boolean] return_partial_success
2869
+ # When set to `true`, operations that are reachable are returned as normal, and
2870
+ # those that are unreachable are returned in the [ListOperationsResponse.
2871
+ # unreachable] field. This can only be `true` when reading across collections e.
2872
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2873
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2874
+ # explicitly documented otherwise in service or product specific documentation.
2781
2875
  # @param [String] fields
2782
2876
  # Selector specifying which fields to include in a partial response.
2783
2877
  # @param [String] quota_user
@@ -2795,7 +2889,7 @@ module Google
2795
2889
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2796
2890
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2797
2891
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2798
- def list_project_location_collection_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2892
+ def list_project_location_collection_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2799
2893
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
2800
2894
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
2801
2895
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -2803,6 +2897,7 @@ module Google
2803
2897
  command.query['filter'] = filter unless filter.nil?
2804
2898
  command.query['pageSize'] = page_size unless page_size.nil?
2805
2899
  command.query['pageToken'] = page_token unless page_token.nil?
2900
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2806
2901
  command.query['fields'] = fields unless fields.nil?
2807
2902
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2808
2903
  execute_or_queue_command(command, &block)
@@ -2849,6 +2944,13 @@ module Google
2849
2944
  # The standard list page size.
2850
2945
  # @param [String] page_token
2851
2946
  # The standard list page token.
2947
+ # @param [Boolean] return_partial_success
2948
+ # When set to `true`, operations that are reachable are returned as normal, and
2949
+ # those that are unreachable are returned in the [ListOperationsResponse.
2950
+ # unreachable] field. This can only be `true` when reading across collections e.
2951
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2952
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2953
+ # explicitly documented otherwise in service or product specific documentation.
2852
2954
  # @param [String] fields
2853
2955
  # Selector specifying which fields to include in a partial response.
2854
2956
  # @param [String] quota_user
@@ -2866,7 +2968,7 @@ module Google
2866
2968
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2867
2969
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2868
2970
  # @raise [Google::Apis::AuthorizationError] Authorization is required
2869
- def list_project_location_collection_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
2971
+ def list_project_location_collection_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
2870
2972
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
2871
2973
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
2872
2974
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -2874,6 +2976,7 @@ module Google
2874
2976
  command.query['filter'] = filter unless filter.nil?
2875
2977
  command.query['pageSize'] = page_size unless page_size.nil?
2876
2978
  command.query['pageToken'] = page_token unless page_token.nil?
2979
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
2877
2980
  command.query['fields'] = fields unless fields.nil?
2878
2981
  command.query['quotaUser'] = quota_user unless quota_user.nil?
2879
2982
  execute_or_queue_command(command, &block)
@@ -3107,6 +3210,13 @@ module Google
3107
3210
  # The standard list page size.
3108
3211
  # @param [String] page_token
3109
3212
  # The standard list page token.
3213
+ # @param [Boolean] return_partial_success
3214
+ # When set to `true`, operations that are reachable are returned as normal, and
3215
+ # those that are unreachable are returned in the [ListOperationsResponse.
3216
+ # unreachable] field. This can only be `true` when reading across collections e.
3217
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3218
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3219
+ # explicitly documented otherwise in service or product specific documentation.
3110
3220
  # @param [String] fields
3111
3221
  # Selector specifying which fields to include in a partial response.
3112
3222
  # @param [String] quota_user
@@ -3124,7 +3234,7 @@ module Google
3124
3234
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3125
3235
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3126
3236
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3127
- def list_project_location_collection_data_store_schema_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
3237
+ def list_project_location_collection_data_store_schema_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
3128
3238
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
3129
3239
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
3130
3240
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -3132,6 +3242,7 @@ module Google
3132
3242
  command.query['filter'] = filter unless filter.nil?
3133
3243
  command.query['pageSize'] = page_size unless page_size.nil?
3134
3244
  command.query['pageToken'] = page_token unless page_token.nil?
3245
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
3135
3246
  command.query['fields'] = fields unless fields.nil?
3136
3247
  command.query['quotaUser'] = quota_user unless quota_user.nil?
3137
3248
  execute_or_queue_command(command, &block)
@@ -3971,6 +4082,13 @@ module Google
3971
4082
  # The standard list page size.
3972
4083
  # @param [String] page_token
3973
4084
  # The standard list page token.
4085
+ # @param [Boolean] return_partial_success
4086
+ # When set to `true`, operations that are reachable are returned as normal, and
4087
+ # those that are unreachable are returned in the [ListOperationsResponse.
4088
+ # unreachable] field. This can only be `true` when reading across collections e.
4089
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
4090
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
4091
+ # explicitly documented otherwise in service or product specific documentation.
3974
4092
  # @param [String] fields
3975
4093
  # Selector specifying which fields to include in a partial response.
3976
4094
  # @param [String] quota_user
@@ -3988,7 +4106,7 @@ module Google
3988
4106
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3989
4107
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3990
4108
  # @raise [Google::Apis::AuthorizationError] Authorization is required
3991
- def list_project_location_collection_data_store_site_search_engine_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4109
+ def list_project_location_collection_data_store_site_search_engine_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
3992
4110
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
3993
4111
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
3994
4112
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -3996,6 +4114,7 @@ module Google
3996
4114
  command.query['filter'] = filter unless filter.nil?
3997
4115
  command.query['pageSize'] = page_size unless page_size.nil?
3998
4116
  command.query['pageToken'] = page_token unless page_token.nil?
4117
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
3999
4118
  command.query['fields'] = fields unless fields.nil?
4000
4119
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4001
4120
  execute_or_queue_command(command, &block)
@@ -4367,6 +4486,13 @@ module Google
4367
4486
  # The standard list page size.
4368
4487
  # @param [String] page_token
4369
4488
  # The standard list page token.
4489
+ # @param [Boolean] return_partial_success
4490
+ # When set to `true`, operations that are reachable are returned as normal, and
4491
+ # those that are unreachable are returned in the [ListOperationsResponse.
4492
+ # unreachable] field. This can only be `true` when reading across collections e.
4493
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
4494
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
4495
+ # explicitly documented otherwise in service or product specific documentation.
4370
4496
  # @param [String] fields
4371
4497
  # Selector specifying which fields to include in a partial response.
4372
4498
  # @param [String] quota_user
@@ -4384,7 +4510,7 @@ module Google
4384
4510
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4385
4511
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4386
4512
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4387
- def list_project_location_collection_data_store_site_search_engine_target_site_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4513
+ def list_project_location_collection_data_store_site_search_engine_target_site_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
4388
4514
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
4389
4515
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
4390
4516
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -4392,6 +4518,7 @@ module Google
4392
4518
  command.query['filter'] = filter unless filter.nil?
4393
4519
  command.query['pageSize'] = page_size unless page_size.nil?
4394
4520
  command.query['pageToken'] = page_token unless page_token.nil?
4521
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
4395
4522
  command.query['fields'] = fields unless fields.nil?
4396
4523
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4397
4524
  execute_or_queue_command(command, &block)
@@ -5647,6 +5774,13 @@ module Google
5647
5774
  # The standard list page size.
5648
5775
  # @param [String] page_token
5649
5776
  # The standard list page token.
5777
+ # @param [Boolean] return_partial_success
5778
+ # When set to `true`, operations that are reachable are returned as normal, and
5779
+ # those that are unreachable are returned in the [ListOperationsResponse.
5780
+ # unreachable] field. This can only be `true` when reading across collections e.
5781
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5782
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5783
+ # explicitly documented otherwise in service or product specific documentation.
5650
5784
  # @param [String] fields
5651
5785
  # Selector specifying which fields to include in a partial response.
5652
5786
  # @param [String] quota_user
@@ -5664,7 +5798,7 @@ module Google
5664
5798
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5665
5799
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5666
5800
  # @raise [Google::Apis::AuthorizationError] Authorization is required
5667
- def list_project_location_collection_engine_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5801
+ def list_project_location_collection_engine_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
5668
5802
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
5669
5803
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
5670
5804
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -5672,6 +5806,7 @@ module Google
5672
5806
  command.query['filter'] = filter unless filter.nil?
5673
5807
  command.query['pageSize'] = page_size unless page_size.nil?
5674
5808
  command.query['pageToken'] = page_token unless page_token.nil?
5809
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
5675
5810
  command.query['fields'] = fields unless fields.nil?
5676
5811
  command.query['quotaUser'] = quota_user unless quota_user.nil?
5677
5812
  execute_or_queue_command(command, &block)
@@ -6373,6 +6508,13 @@ module Google
6373
6508
  # The standard list page size.
6374
6509
  # @param [String] page_token
6375
6510
  # The standard list page token.
6511
+ # @param [Boolean] return_partial_success
6512
+ # When set to `true`, operations that are reachable are returned as normal, and
6513
+ # those that are unreachable are returned in the [ListOperationsResponse.
6514
+ # unreachable] field. This can only be `true` when reading across collections e.
6515
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6516
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6517
+ # explicitly documented otherwise in service or product specific documentation.
6376
6518
  # @param [String] fields
6377
6519
  # Selector specifying which fields to include in a partial response.
6378
6520
  # @param [String] quota_user
@@ -6390,7 +6532,7 @@ module Google
6390
6532
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
6391
6533
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
6392
6534
  # @raise [Google::Apis::AuthorizationError] Authorization is required
6393
- def list_project_location_collection_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
6535
+ def list_project_location_collection_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
6394
6536
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
6395
6537
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
6396
6538
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -6398,6 +6540,7 @@ module Google
6398
6540
  command.query['filter'] = filter unless filter.nil?
6399
6541
  command.query['pageSize'] = page_size unless page_size.nil?
6400
6542
  command.query['pageToken'] = page_token unless page_token.nil?
6543
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
6401
6544
  command.query['fields'] = fields unless fields.nil?
6402
6545
  command.query['quotaUser'] = quota_user unless quota_user.nil?
6403
6546
  execute_or_queue_command(command, &block)
@@ -6832,6 +6975,77 @@ module Google
6832
6975
  execute_or_queue_command(command, &block)
6833
6976
  end
6834
6977
 
6978
+ # Retrieves a Branch.
6979
+ # @param [String] name
6980
+ # Required. The name of the branch to retrieve. Format: `projects/*/locations/
6981
+ # global/dataStores/default_data_store/branches/some_branch_id`. "default_branch"
6982
+ # can be used as a special branch_id, it returns the default branch that has
6983
+ # been set for the document.
6984
+ # @param [String] view
6985
+ # The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC
6986
+ # if unspecified.
6987
+ # @param [String] fields
6988
+ # Selector specifying which fields to include in a partial response.
6989
+ # @param [String] quota_user
6990
+ # Available to use for quota purposes for server-side applications. Can be any
6991
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
6992
+ # @param [Google::Apis::RequestOptions] options
6993
+ # Request-specific options
6994
+ #
6995
+ # @yield [result, err] Result & error if block supplied
6996
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch] parsed result object
6997
+ # @yieldparam err [StandardError] error object if request failed
6998
+ #
6999
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch]
7000
+ #
7001
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7002
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7003
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7004
+ def get_project_location_data_store_branch(name, view: nil, fields: nil, quota_user: nil, options: nil, &block)
7005
+ command = make_simple_command(:get, 'v1alpha/{+name}', options)
7006
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch::Representation
7007
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaBranch
7008
+ command.params['name'] = name unless name.nil?
7009
+ command.query['view'] = view unless view.nil?
7010
+ command.query['fields'] = fields unless fields.nil?
7011
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7012
+ execute_or_queue_command(command, &block)
7013
+ end
7014
+
7015
+ # Lists all Branchs under the specified parent DataStore.
7016
+ # @param [String] parent
7017
+ # Required. The parent data store resource name.
7018
+ # @param [String] view
7019
+ # The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC
7020
+ # if unspecified.
7021
+ # @param [String] fields
7022
+ # Selector specifying which fields to include in a partial response.
7023
+ # @param [String] quota_user
7024
+ # Available to use for quota purposes for server-side applications. Can be any
7025
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
7026
+ # @param [Google::Apis::RequestOptions] options
7027
+ # Request-specific options
7028
+ #
7029
+ # @yield [result, err] Result & error if block supplied
7030
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListBranchesResponse] parsed result object
7031
+ # @yieldparam err [StandardError] error object if request failed
7032
+ #
7033
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListBranchesResponse]
7034
+ #
7035
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7036
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7037
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
7038
+ def list_project_location_data_store_branches(parent, view: nil, fields: nil, quota_user: nil, options: nil, &block)
7039
+ command = make_simple_command(:get, 'v1alpha/{+parent}/branches', options)
7040
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListBranchesResponse::Representation
7041
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaListBranchesResponse
7042
+ command.params['parent'] = parent unless parent.nil?
7043
+ command.query['view'] = view unless view.nil?
7044
+ command.query['fields'] = fields unless fields.nil?
7045
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
7046
+ execute_or_queue_command(command, &block)
7047
+ end
7048
+
6835
7049
  # Creates a Document.
6836
7050
  # @param [String] parent
6837
7051
  # Required. The parent resource name, such as `projects/`project`/locations/`
@@ -7318,6 +7532,13 @@ module Google
7318
7532
  # The standard list page size.
7319
7533
  # @param [String] page_token
7320
7534
  # The standard list page token.
7535
+ # @param [Boolean] return_partial_success
7536
+ # When set to `true`, operations that are reachable are returned as normal, and
7537
+ # those that are unreachable are returned in the [ListOperationsResponse.
7538
+ # unreachable] field. This can only be `true` when reading across collections e.
7539
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
7540
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
7541
+ # explicitly documented otherwise in service or product specific documentation.
7321
7542
  # @param [String] fields
7322
7543
  # Selector specifying which fields to include in a partial response.
7323
7544
  # @param [String] quota_user
@@ -7335,7 +7556,7 @@ module Google
7335
7556
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7336
7557
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7337
7558
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7338
- def list_project_location_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
7559
+ def list_project_location_data_store_branch_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
7339
7560
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
7340
7561
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
7341
7562
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -7343,6 +7564,7 @@ module Google
7343
7564
  command.query['filter'] = filter unless filter.nil?
7344
7565
  command.query['pageSize'] = page_size unless page_size.nil?
7345
7566
  command.query['pageToken'] = page_token unless page_token.nil?
7567
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
7346
7568
  command.query['fields'] = fields unless fields.nil?
7347
7569
  command.query['quotaUser'] = quota_user unless quota_user.nil?
7348
7570
  execute_or_queue_command(command, &block)
@@ -7915,6 +8137,13 @@ module Google
7915
8137
  # The standard list page size.
7916
8138
  # @param [String] page_token
7917
8139
  # The standard list page token.
8140
+ # @param [Boolean] return_partial_success
8141
+ # When set to `true`, operations that are reachable are returned as normal, and
8142
+ # those that are unreachable are returned in the [ListOperationsResponse.
8143
+ # unreachable] field. This can only be `true` when reading across collections e.
8144
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8145
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8146
+ # explicitly documented otherwise in service or product specific documentation.
7918
8147
  # @param [String] fields
7919
8148
  # Selector specifying which fields to include in a partial response.
7920
8149
  # @param [String] quota_user
@@ -7932,7 +8161,7 @@ module Google
7932
8161
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
7933
8162
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
7934
8163
  # @raise [Google::Apis::AuthorizationError] Authorization is required
7935
- def list_project_location_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
8164
+ def list_project_location_data_store_model_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
7936
8165
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
7937
8166
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
7938
8167
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -7940,6 +8169,7 @@ module Google
7940
8169
  command.query['filter'] = filter unless filter.nil?
7941
8170
  command.query['pageSize'] = page_size unless page_size.nil?
7942
8171
  command.query['pageToken'] = page_token unless page_token.nil?
8172
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
7943
8173
  command.query['fields'] = fields unless fields.nil?
7944
8174
  command.query['quotaUser'] = quota_user unless quota_user.nil?
7945
8175
  execute_or_queue_command(command, &block)
@@ -7986,6 +8216,13 @@ module Google
7986
8216
  # The standard list page size.
7987
8217
  # @param [String] page_token
7988
8218
  # The standard list page token.
8219
+ # @param [Boolean] return_partial_success
8220
+ # When set to `true`, operations that are reachable are returned as normal, and
8221
+ # those that are unreachable are returned in the [ListOperationsResponse.
8222
+ # unreachable] field. This can only be `true` when reading across collections e.
8223
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8224
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8225
+ # explicitly documented otherwise in service or product specific documentation.
7989
8226
  # @param [String] fields
7990
8227
  # Selector specifying which fields to include in a partial response.
7991
8228
  # @param [String] quota_user
@@ -8003,7 +8240,7 @@ module Google
8003
8240
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
8004
8241
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
8005
8242
  # @raise [Google::Apis::AuthorizationError] Authorization is required
8006
- def list_project_location_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
8243
+ def list_project_location_data_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
8007
8244
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
8008
8245
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
8009
8246
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -8011,6 +8248,7 @@ module Google
8011
8248
  command.query['filter'] = filter unless filter.nil?
8012
8249
  command.query['pageSize'] = page_size unless page_size.nil?
8013
8250
  command.query['pageToken'] = page_token unless page_token.nil?
8251
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
8014
8252
  command.query['fields'] = fields unless fields.nil?
8015
8253
  command.query['quotaUser'] = quota_user unless quota_user.nil?
8016
8254
  execute_or_queue_command(command, &block)
@@ -9987,6 +10225,13 @@ module Google
9987
10225
  # The standard list page size.
9988
10226
  # @param [String] page_token
9989
10227
  # The standard list page token.
10228
+ # @param [Boolean] return_partial_success
10229
+ # When set to `true`, operations that are reachable are returned as normal, and
10230
+ # those that are unreachable are returned in the [ListOperationsResponse.
10231
+ # unreachable] field. This can only be `true` when reading across collections e.
10232
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
10233
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
10234
+ # explicitly documented otherwise in service or product specific documentation.
9990
10235
  # @param [String] fields
9991
10236
  # Selector specifying which fields to include in a partial response.
9992
10237
  # @param [String] quota_user
@@ -10004,7 +10249,7 @@ module Google
10004
10249
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10005
10250
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10006
10251
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10007
- def list_project_location_identity_mapping_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
10252
+ def list_project_location_identity_mapping_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
10008
10253
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
10009
10254
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
10010
10255
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -10012,6 +10257,7 @@ module Google
10012
10257
  command.query['filter'] = filter unless filter.nil?
10013
10258
  command.query['pageSize'] = page_size unless page_size.nil?
10014
10259
  command.query['pageToken'] = page_token unless page_token.nil?
10260
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10015
10261
  command.query['fields'] = fields unless fields.nil?
10016
10262
  command.query['quotaUser'] = quota_user unless quota_user.nil?
10017
10263
  execute_or_queue_command(command, &block)
@@ -10433,6 +10679,13 @@ module Google
10433
10679
  # The standard list page size.
10434
10680
  # @param [String] page_token
10435
10681
  # The standard list page token.
10682
+ # @param [Boolean] return_partial_success
10683
+ # When set to `true`, operations that are reachable are returned as normal, and
10684
+ # those that are unreachable are returned in the [ListOperationsResponse.
10685
+ # unreachable] field. This can only be `true` when reading across collections e.
10686
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
10687
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
10688
+ # explicitly documented otherwise in service or product specific documentation.
10436
10689
  # @param [String] fields
10437
10690
  # Selector specifying which fields to include in a partial response.
10438
10691
  # @param [String] quota_user
@@ -10450,7 +10703,7 @@ module Google
10450
10703
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
10451
10704
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
10452
10705
  # @raise [Google::Apis::AuthorizationError] Authorization is required
10453
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
10706
+ def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
10454
10707
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
10455
10708
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
10456
10709
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -10458,6 +10711,7 @@ module Google
10458
10711
  command.query['filter'] = filter unless filter.nil?
10459
10712
  command.query['pageSize'] = page_size unless page_size.nil?
10460
10713
  command.query['pageToken'] = page_token unless page_token.nil?
10714
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
10461
10715
  command.query['fields'] = fields unless fields.nil?
10462
10716
  command.query['quotaUser'] = quota_user unless quota_user.nil?
10463
10717
  execute_or_queue_command(command, &block)
@@ -11237,6 +11491,13 @@ module Google
11237
11491
  # The standard list page size.
11238
11492
  # @param [String] page_token
11239
11493
  # The standard list page token.
11494
+ # @param [Boolean] return_partial_success
11495
+ # When set to `true`, operations that are reachable are returned as normal, and
11496
+ # those that are unreachable are returned in the [ListOperationsResponse.
11497
+ # unreachable] field. This can only be `true` when reading across collections e.
11498
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
11499
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
11500
+ # explicitly documented otherwise in service or product specific documentation.
11240
11501
  # @param [String] fields
11241
11502
  # Selector specifying which fields to include in a partial response.
11242
11503
  # @param [String] quota_user
@@ -11254,7 +11515,7 @@ module Google
11254
11515
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11255
11516
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11256
11517
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11257
- def list_project_location_user_store_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
11518
+ def list_project_location_user_store_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
11258
11519
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
11259
11520
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
11260
11521
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -11262,6 +11523,7 @@ module Google
11262
11523
  command.query['filter'] = filter unless filter.nil?
11263
11524
  command.query['pageSize'] = page_size unless page_size.nil?
11264
11525
  command.query['pageToken'] = page_token unless page_token.nil?
11526
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
11265
11527
  command.query['fields'] = fields unless fields.nil?
11266
11528
  command.query['quotaUser'] = quota_user unless quota_user.nil?
11267
11529
  execute_or_queue_command(command, &block)
@@ -11360,6 +11622,13 @@ module Google
11360
11622
  # The standard list page size.
11361
11623
  # @param [String] page_token
11362
11624
  # The standard list page token.
11625
+ # @param [Boolean] return_partial_success
11626
+ # When set to `true`, operations that are reachable are returned as normal, and
11627
+ # those that are unreachable are returned in the [ListOperationsResponse.
11628
+ # unreachable] field. This can only be `true` when reading across collections e.
11629
+ # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
11630
+ # by default supported and will result in an `UNIMPLEMENTED` error if set unless
11631
+ # explicitly documented otherwise in service or product specific documentation.
11363
11632
  # @param [String] fields
11364
11633
  # Selector specifying which fields to include in a partial response.
11365
11634
  # @param [String] quota_user
@@ -11377,7 +11646,7 @@ module Google
11377
11646
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11378
11647
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11379
11648
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11380
- def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
11649
+ def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
11381
11650
  command = make_simple_command(:get, 'v1alpha/{+name}/operations', options)
11382
11651
  command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse::Representation
11383
11652
  command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningListOperationsResponse
@@ -11385,6 +11654,7 @@ module Google
11385
11654
  command.query['filter'] = filter unless filter.nil?
11386
11655
  command.query['pageSize'] = page_size unless page_size.nil?
11387
11656
  command.query['pageToken'] = page_token unless page_token.nil?
11657
+ command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
11388
11658
  command.query['fields'] = fields unless fields.nil?
11389
11659
  command.query['quotaUser'] = quota_user unless quota_user.nil?
11390
11660
  execute_or_queue_command(command, &block)