google-apis-discoveryengine_v1 0.58.0 → 0.59.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.
@@ -51,51 +51,6 @@ module Google
51
51
  @batch_path = 'batch'
52
52
  end
53
53
 
54
- # Downloads a file from the session.
55
- # @param [String] name
56
- # Required. The resource name of the Session. Format: `projects/`project`/
57
- # locations/`location`/collections/`collection`/engines/`engine`/sessions/`
58
- # session``
59
- # @param [String] file_id
60
- # Required. The ID of the file to be downloaded.
61
- # @param [String] view_id
62
- # Optional. The ID of the view to be downloaded.
63
- # @param [String] fields
64
- # Selector specifying which fields to include in a partial response.
65
- # @param [String] quota_user
66
- # Available to use for quota purposes for server-side applications. Can be any
67
- # arbitrary string assigned to a user, but should not exceed 40 characters.
68
- # @param [IO, String] download_dest
69
- # IO stream or filename to receive content download
70
- # @param [Google::Apis::RequestOptions] options
71
- # Request-specific options
72
- #
73
- # @yield [result, err] Result & error if block supplied
74
- # @yieldparam result [Google::Apis::DiscoveryengineV1::GdataMedia] parsed result object
75
- # @yieldparam err [StandardError] error object if request failed
76
- #
77
- # @return [Google::Apis::DiscoveryengineV1::GdataMedia]
78
- #
79
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
80
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
81
- # @raise [Google::Apis::AuthorizationError] Authorization is required
82
- def download_medium(name, file_id: nil, view_id: nil, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
83
- if download_dest.nil?
84
- command = make_simple_command(:get, 'v1/{+name}:downloadFile', options)
85
- else
86
- command = make_download_command(:get, 'v1/{+name}:downloadFile', options)
87
- command.download_dest = download_dest
88
- end
89
- command.response_representation = Google::Apis::DiscoveryengineV1::GdataMedia::Representation
90
- command.response_class = Google::Apis::DiscoveryengineV1::GdataMedia
91
- command.params['name'] = name unless name.nil?
92
- command.query['fileId'] = file_id unless file_id.nil?
93
- command.query['viewId'] = view_id unless view_id.nil?
94
- command.query['fields'] = fields unless fields.nil?
95
- command.query['quotaUser'] = quota_user unless quota_user.nil?
96
- execute_or_queue_command(command, &block)
97
- end
98
-
99
54
  # Provisions the project resource. During the process, related systems will get
100
55
  # prepared and initialized. Caller must read the [Terms for data use](https://
101
56
  # cloud.google.com/retail/data-use-terms), and optionally specify in request to
@@ -650,11 +605,12 @@ module Google
650
605
  # The standard list page token.
651
606
  # @param [Boolean] return_partial_success
652
607
  # When set to `true`, operations that are reachable are returned as normal, and
653
- # those that are unreachable are returned in the [ListOperationsResponse.
654
- # unreachable] field. This can only be `true` when reading across collections e.
655
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
656
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
657
- # explicitly documented otherwise in service or product specific documentation.
608
+ # those that are unreachable are returned in the ListOperationsResponse.
609
+ # unreachable field. This can only be `true` when reading across collections.
610
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
611
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
612
+ # if set unless explicitly documented otherwise in service or product specific
613
+ # documentation.
658
614
  # @param [String] fields
659
615
  # Selector specifying which fields to include in a partial response.
660
616
  # @param [String] quota_user
@@ -1440,11 +1396,12 @@ module Google
1440
1396
  # The standard list page token.
1441
1397
  # @param [Boolean] return_partial_success
1442
1398
  # When set to `true`, operations that are reachable are returned as normal, and
1443
- # those that are unreachable are returned in the [ListOperationsResponse.
1444
- # unreachable] field. This can only be `true` when reading across collections e.
1445
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1446
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1447
- # explicitly documented otherwise in service or product specific documentation.
1399
+ # those that are unreachable are returned in the ListOperationsResponse.
1400
+ # unreachable field. This can only be `true` when reading across collections.
1401
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1402
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1403
+ # if set unless explicitly documented otherwise in service or product specific
1404
+ # documentation.
1448
1405
  # @param [String] fields
1449
1406
  # Selector specifying which fields to include in a partial response.
1450
1407
  # @param [String] quota_user
@@ -2077,11 +2034,12 @@ module Google
2077
2034
  # The standard list page token.
2078
2035
  # @param [Boolean] return_partial_success
2079
2036
  # When set to `true`, operations that are reachable are returned as normal, and
2080
- # those that are unreachable are returned in the [ListOperationsResponse.
2081
- # unreachable] field. This can only be `true` when reading across collections e.
2082
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2083
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2084
- # explicitly documented otherwise in service or product specific documentation.
2037
+ # those that are unreachable are returned in the ListOperationsResponse.
2038
+ # unreachable field. This can only be `true` when reading across collections.
2039
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2040
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2041
+ # if set unless explicitly documented otherwise in service or product specific
2042
+ # documentation.
2085
2043
  # @param [String] fields
2086
2044
  # Selector specifying which fields to include in a partial response.
2087
2045
  # @param [String] quota_user
@@ -2156,11 +2114,12 @@ module Google
2156
2114
  # The standard list page token.
2157
2115
  # @param [Boolean] return_partial_success
2158
2116
  # When set to `true`, operations that are reachable are returned as normal, and
2159
- # those that are unreachable are returned in the [ListOperationsResponse.
2160
- # unreachable] field. This can only be `true` when reading across collections e.
2161
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2162
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2163
- # explicitly documented otherwise in service or product specific documentation.
2117
+ # those that are unreachable are returned in the ListOperationsResponse.
2118
+ # unreachable field. This can only be `true` when reading across collections.
2119
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2120
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2121
+ # if set unless explicitly documented otherwise in service or product specific
2122
+ # documentation.
2164
2123
  # @param [String] fields
2165
2124
  # Selector specifying which fields to include in a partial response.
2166
2125
  # @param [String] quota_user
@@ -2422,11 +2381,12 @@ module Google
2422
2381
  # The standard list page token.
2423
2382
  # @param [Boolean] return_partial_success
2424
2383
  # When set to `true`, operations that are reachable are returned as normal, and
2425
- # those that are unreachable are returned in the [ListOperationsResponse.
2426
- # unreachable] field. This can only be `true` when reading across collections e.
2427
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2428
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2429
- # explicitly documented otherwise in service or product specific documentation.
2384
+ # those that are unreachable are returned in the ListOperationsResponse.
2385
+ # unreachable field. This can only be `true` when reading across collections.
2386
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2387
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2388
+ # if set unless explicitly documented otherwise in service or product specific
2389
+ # documentation.
2430
2390
  # @param [String] fields
2431
2391
  # Selector specifying which fields to include in a partial response.
2432
2392
  # @param [String] quota_user
@@ -3227,11 +3187,12 @@ module Google
3227
3187
  # The standard list page token.
3228
3188
  # @param [Boolean] return_partial_success
3229
3189
  # When set to `true`, operations that are reachable are returned as normal, and
3230
- # those that are unreachable are returned in the [ListOperationsResponse.
3231
- # unreachable] field. This can only be `true` when reading across collections e.
3232
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3233
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3234
- # explicitly documented otherwise in service or product specific documentation.
3190
+ # those that are unreachable are returned in the ListOperationsResponse.
3191
+ # unreachable field. This can only be `true` when reading across collections.
3192
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
3193
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
3194
+ # if set unless explicitly documented otherwise in service or product specific
3195
+ # documentation.
3235
3196
  # @param [String] fields
3236
3197
  # Selector specifying which fields to include in a partial response.
3237
3198
  # @param [String] quota_user
@@ -3631,11 +3592,12 @@ module Google
3631
3592
  # The standard list page token.
3632
3593
  # @param [Boolean] return_partial_success
3633
3594
  # When set to `true`, operations that are reachable are returned as normal, and
3634
- # those that are unreachable are returned in the [ListOperationsResponse.
3635
- # unreachable] field. This can only be `true` when reading across collections e.
3636
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3637
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3638
- # explicitly documented otherwise in service or product specific documentation.
3595
+ # those that are unreachable are returned in the ListOperationsResponse.
3596
+ # unreachable field. This can only be `true` when reading across collections.
3597
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
3598
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
3599
+ # if set unless explicitly documented otherwise in service or product specific
3600
+ # documentation.
3639
3601
  # @param [String] fields
3640
3602
  # Selector specifying which fields to include in a partial response.
3641
3603
  # @param [String] quota_user
@@ -4176,6 +4138,80 @@ module Google
4176
4138
  execute_or_queue_command(command, &block)
4177
4139
  end
4178
4140
 
4141
+ # Creates an Assistant.
4142
+ # @param [String] parent
4143
+ # Required. The parent resource name. Format: `projects/`project`/locations/`
4144
+ # location`/collections/`collection`/engines/`engine``
4145
+ # @param [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant] google_cloud_discoveryengine_v1_assistant_object
4146
+ # @param [String] assistant_id
4147
+ # Required. The ID to use for the Assistant, which will become the final
4148
+ # component of the Assistant's resource name. This field must conform to [RFC-
4149
+ # 1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63
4150
+ # characters.
4151
+ # @param [String] fields
4152
+ # Selector specifying which fields to include in a partial response.
4153
+ # @param [String] quota_user
4154
+ # Available to use for quota purposes for server-side applications. Can be any
4155
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4156
+ # @param [Google::Apis::RequestOptions] options
4157
+ # Request-specific options
4158
+ #
4159
+ # @yield [result, err] Result & error if block supplied
4160
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant] parsed result object
4161
+ # @yieldparam err [StandardError] error object if request failed
4162
+ #
4163
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant]
4164
+ #
4165
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4166
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4167
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4168
+ def create_project_location_collection_engine_assistant(parent, google_cloud_discoveryengine_v1_assistant_object = nil, assistant_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4169
+ command = make_simple_command(:post, 'v1/{+parent}/assistants', options)
4170
+ command.request_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant::Representation
4171
+ command.request_object = google_cloud_discoveryengine_v1_assistant_object
4172
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant::Representation
4173
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1Assistant
4174
+ command.params['parent'] = parent unless parent.nil?
4175
+ command.query['assistantId'] = assistant_id unless assistant_id.nil?
4176
+ command.query['fields'] = fields unless fields.nil?
4177
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4178
+ execute_or_queue_command(command, &block)
4179
+ end
4180
+
4181
+ # Deletes an Assistant.
4182
+ # @param [String] name
4183
+ # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
4184
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant`` If
4185
+ # the caller does not have permission to delete the Assistant, regardless of
4186
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
4187
+ # Assistant to delete does not exist, a NOT_FOUND error is returned.
4188
+ # @param [String] fields
4189
+ # Selector specifying which fields to include in a partial response.
4190
+ # @param [String] quota_user
4191
+ # Available to use for quota purposes for server-side applications. Can be any
4192
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4193
+ # @param [Google::Apis::RequestOptions] options
4194
+ # Request-specific options
4195
+ #
4196
+ # @yield [result, err] Result & error if block supplied
4197
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty] parsed result object
4198
+ # @yieldparam err [StandardError] error object if request failed
4199
+ #
4200
+ # @return [Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty]
4201
+ #
4202
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4203
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4204
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4205
+ def delete_project_location_collection_engine_assistant(name, fields: nil, quota_user: nil, options: nil, &block)
4206
+ command = make_simple_command(:delete, 'v1/{+name}', options)
4207
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty::Representation
4208
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleProtobufEmpty
4209
+ command.params['name'] = name unless name.nil?
4210
+ command.query['fields'] = fields unless fields.nil?
4211
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4212
+ execute_or_queue_command(command, &block)
4213
+ end
4214
+
4179
4215
  # Gets an Assistant.
4180
4216
  # @param [String] name
4181
4217
  # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
@@ -4207,6 +4243,48 @@ module Google
4207
4243
  execute_or_queue_command(command, &block)
4208
4244
  end
4209
4245
 
4246
+ # Lists all Assistants under an Engine.
4247
+ # @param [String] parent
4248
+ # Required. The parent resource name. Format: `projects/`project`/locations/`
4249
+ # location`/collections/`collection`/engines/`engine``
4250
+ # @param [Fixnum] page_size
4251
+ # Maximum number of Assistants to return. If unspecified, defaults to 100. The
4252
+ # maximum allowed value is 1000; anything above that will be coerced down to
4253
+ # 1000.
4254
+ # @param [String] page_token
4255
+ # A page token ListAssistantsResponse.next_page_token, received from a previous
4256
+ # AssistantService.ListAssistants call. Provide this to retrieve the subsequent
4257
+ # page. When paginating, all other parameters provided to ListAssistants must
4258
+ # match the call that provided the page token.
4259
+ # @param [String] fields
4260
+ # Selector specifying which fields to include in a partial response.
4261
+ # @param [String] quota_user
4262
+ # Available to use for quota purposes for server-side applications. Can be any
4263
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4264
+ # @param [Google::Apis::RequestOptions] options
4265
+ # Request-specific options
4266
+ #
4267
+ # @yield [result, err] Result & error if block supplied
4268
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListAssistantsResponse] parsed result object
4269
+ # @yieldparam err [StandardError] error object if request failed
4270
+ #
4271
+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListAssistantsResponse]
4272
+ #
4273
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4274
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4275
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4276
+ def list_project_location_collection_engine_assistants(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4277
+ command = make_simple_command(:get, 'v1/{+parent}/assistants', options)
4278
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListAssistantsResponse::Representation
4279
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListAssistantsResponse
4280
+ command.params['parent'] = parent unless parent.nil?
4281
+ command.query['pageSize'] = page_size unless page_size.nil?
4282
+ command.query['pageToken'] = page_token unless page_token.nil?
4283
+ command.query['fields'] = fields unless fields.nil?
4284
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4285
+ execute_or_queue_command(command, &block)
4286
+ end
4287
+
4210
4288
  # Updates an Assistant
4211
4289
  # @param [String] name
4212
4290
  # Immutable. Resource name of the assistant. Format: `projects/`project`/
@@ -4281,6 +4359,37 @@ module Google
4281
4359
  execute_or_queue_command(command, &block)
4282
4360
  end
4283
4361
 
4362
+ # Gets the latest state of a long-running operation. Clients can use this method
4363
+ # to poll the operation result at intervals as recommended by the API service.
4364
+ # @param [String] name
4365
+ # The name of the operation resource.
4366
+ # @param [String] fields
4367
+ # Selector specifying which fields to include in a partial response.
4368
+ # @param [String] quota_user
4369
+ # Available to use for quota purposes for server-side applications. Can be any
4370
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4371
+ # @param [Google::Apis::RequestOptions] options
4372
+ # Request-specific options
4373
+ #
4374
+ # @yield [result, err] Result & error if block supplied
4375
+ # @yieldparam result [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation] parsed result object
4376
+ # @yieldparam err [StandardError] error object if request failed
4377
+ #
4378
+ # @return [Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation]
4379
+ #
4380
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4381
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4382
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4383
+ def get_project_location_collection_engine_assistant_agent_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4384
+ command = make_simple_command(:get, 'v1/{+name}', options)
4385
+ command.response_representation = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation::Representation
4386
+ command.response_class = Google::Apis::DiscoveryengineV1::GoogleLongrunningOperation
4387
+ command.params['name'] = name unless name.nil?
4388
+ command.query['fields'] = fields unless fields.nil?
4389
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4390
+ execute_or_queue_command(command, &block)
4391
+ end
4392
+
4284
4393
  # Completes the user input with advanced keyword suggestions.
4285
4394
  # @param [String] completion_config
4286
4395
  # Required. The completion_config of the parent dataStore or engine resource
@@ -4821,11 +4930,12 @@ module Google
4821
4930
  # The standard list page token.
4822
4931
  # @param [Boolean] return_partial_success
4823
4932
  # When set to `true`, operations that are reachable are returned as normal, and
4824
- # those that are unreachable are returned in the [ListOperationsResponse.
4825
- # unreachable] field. This can only be `true` when reading across collections e.
4826
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
4827
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
4828
- # explicitly documented otherwise in service or product specific documentation.
4933
+ # those that are unreachable are returned in the ListOperationsResponse.
4934
+ # unreachable field. This can only be `true` when reading across collections.
4935
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
4936
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
4937
+ # if set unless explicitly documented otherwise in service or product specific
4938
+ # documentation.
4829
4939
  # @param [String] fields
4830
4940
  # Selector specifying which fields to include in a partial response.
4831
4941
  # @param [String] quota_user
@@ -5527,11 +5637,12 @@ module Google
5527
5637
  # The standard list page token.
5528
5638
  # @param [Boolean] return_partial_success
5529
5639
  # When set to `true`, operations that are reachable are returned as normal, and
5530
- # those that are unreachable are returned in the [ListOperationsResponse.
5531
- # unreachable] field. This can only be `true` when reading across collections e.
5532
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5533
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5534
- # explicitly documented otherwise in service or product specific documentation.
5640
+ # those that are unreachable are returned in the ListOperationsResponse.
5641
+ # unreachable field. This can only be `true` when reading across collections.
5642
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
5643
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
5644
+ # if set unless explicitly documented otherwise in service or product specific
5645
+ # documentation.
5535
5646
  # @param [String] fields
5536
5647
  # Selector specifying which fields to include in a partial response.
5537
5648
  # @param [String] quota_user
@@ -6282,11 +6393,12 @@ module Google
6282
6393
  # The standard list page token.
6283
6394
  # @param [Boolean] return_partial_success
6284
6395
  # When set to `true`, operations that are reachable are returned as normal, and
6285
- # those that are unreachable are returned in the [ListOperationsResponse.
6286
- # unreachable] field. This can only be `true` when reading across collections e.
6287
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6288
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6289
- # explicitly documented otherwise in service or product specific documentation.
6396
+ # those that are unreachable are returned in the ListOperationsResponse.
6397
+ # unreachable field. This can only be `true` when reading across collections.
6398
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
6399
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
6400
+ # if set unless explicitly documented otherwise in service or product specific
6401
+ # documentation.
6290
6402
  # @param [String] fields
6291
6403
  # Selector specifying which fields to include in a partial response.
6292
6404
  # @param [String] quota_user
@@ -6887,11 +6999,12 @@ module Google
6887
6999
  # The standard list page token.
6888
7000
  # @param [Boolean] return_partial_success
6889
7001
  # When set to `true`, operations that are reachable are returned as normal, and
6890
- # those that are unreachable are returned in the [ListOperationsResponse.
6891
- # unreachable] field. This can only be `true` when reading across collections e.
6892
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6893
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6894
- # explicitly documented otherwise in service or product specific documentation.
7002
+ # those that are unreachable are returned in the ListOperationsResponse.
7003
+ # unreachable field. This can only be `true` when reading across collections.
7004
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
7005
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
7006
+ # if set unless explicitly documented otherwise in service or product specific
7007
+ # documentation.
6895
7008
  # @param [String] fields
6896
7009
  # Selector specifying which fields to include in a partial response.
6897
7010
  # @param [String] quota_user
@@ -6966,11 +7079,12 @@ module Google
6966
7079
  # The standard list page token.
6967
7080
  # @param [Boolean] return_partial_success
6968
7081
  # When set to `true`, operations that are reachable are returned as normal, and
6969
- # those that are unreachable are returned in the [ListOperationsResponse.
6970
- # unreachable] field. This can only be `true` when reading across collections e.
6971
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6972
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6973
- # explicitly documented otherwise in service or product specific documentation.
7082
+ # those that are unreachable are returned in the ListOperationsResponse.
7083
+ # unreachable field. This can only be `true` when reading across collections.
7084
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
7085
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
7086
+ # if set unless explicitly documented otherwise in service or product specific
7087
+ # documentation.
6974
7088
  # @param [String] fields
6975
7089
  # Selector specifying which fields to include in a partial response.
6976
7090
  # @param [String] quota_user
@@ -8824,11 +8938,12 @@ module Google
8824
8938
  # The standard list page token.
8825
8939
  # @param [Boolean] return_partial_success
8826
8940
  # When set to `true`, operations that are reachable are returned as normal, and
8827
- # those that are unreachable are returned in the [ListOperationsResponse.
8828
- # unreachable] field. This can only be `true` when reading across collections e.
8829
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8830
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8831
- # explicitly documented otherwise in service or product specific documentation.
8941
+ # those that are unreachable are returned in the ListOperationsResponse.
8942
+ # unreachable field. This can only be `true` when reading across collections.
8943
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
8944
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
8945
+ # if set unless explicitly documented otherwise in service or product specific
8946
+ # documentation.
8832
8947
  # @param [String] fields
8833
8948
  # Selector specifying which fields to include in a partial response.
8834
8949
  # @param [String] quota_user
@@ -9017,11 +9132,12 @@ module Google
9017
9132
  # The standard list page token.
9018
9133
  # @param [Boolean] return_partial_success
9019
9134
  # When set to `true`, operations that are reachable are returned as normal, and
9020
- # those that are unreachable are returned in the [ListOperationsResponse.
9021
- # unreachable] field. This can only be `true` when reading across collections e.
9022
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
9023
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
9024
- # explicitly documented otherwise in service or product specific documentation.
9135
+ # those that are unreachable are returned in the ListOperationsResponse.
9136
+ # unreachable field. This can only be `true` when reading across collections.
9137
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
9138
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
9139
+ # if set unless explicitly documented otherwise in service or product specific
9140
+ # documentation.
9025
9141
  # @param [String] fields
9026
9142
  # Selector specifying which fields to include in a partial response.
9027
9143
  # @param [String] quota_user
@@ -9459,15 +9575,20 @@ module Google
9459
9575
  # @param [String] parent
9460
9576
  # Required. The parent UserStore resource name, format: `projects/`project`/
9461
9577
  # locations/`location`/userStores/`user_store_id``.
9462
- # @param [String] filter
9463
- # Optional. Filter for the list request. Supported fields: * `license`_`
9464
- # assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`
9465
- # assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`
9466
- # assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`
9467
- # assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted
9468
- # login but no license assigned. * `license`_`assignment`_`state !=
9469
- # NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no
9470
- # license assigned.
9578
+ # @param [String] order_by
9579
+ # Optional. The order in which the UserLicenses are listed. The value must be a
9580
+ # comma-separated list of fields. Default sorting order is ascending. To specify
9581
+ # descending order for a field, append a " desc" suffix. Redundant space
9582
+ # characters in the syntax are insignificant. Supported fields: * `
9583
+ # license_assignment_state` * `user_principal` * `user_profile` * `
9584
+ # last_login_date` * `update_time` If not set, the default ordering is by `
9585
+ # user_principal`. Examples: * `user_principal desc` to order by `user_principal`
9586
+ # in descending order. * `license_assignment_state` to order by `
9587
+ # license_assignment_state` in ascending order. * `last_login_date desc` to
9588
+ # order by `last_login_date` in descending order. * `update_time desc` to order
9589
+ # by `update_time` in descending order. * `last_login_date desc, user_principal`
9590
+ # to order by `last_login_date` in descending order and then by `user_principal`
9591
+ # in ascending order.
9471
9592
  # @param [Fixnum] page_size
9472
9593
  # Optional. Requested page size. Server may return fewer items than requested.
9473
9594
  # If unspecified, defaults to 10. The maximum value is 50; values above 50 will
@@ -9495,12 +9616,12 @@ module Google
9495
9616
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9496
9617
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9497
9618
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9498
- def list_project_location_user_store_user_licenses(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9619
+ def list_project_location_user_store_user_licenses(parent, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
9499
9620
  command = make_simple_command(:get, 'v1/{+parent}/userLicenses', options)
9500
9621
  command.response_representation = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListUserLicensesResponse::Representation
9501
9622
  command.response_class = Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1ListUserLicensesResponse
9502
9623
  command.params['parent'] = parent unless parent.nil?
9503
- command.query['filter'] = filter unless filter.nil?
9624
+ command.query['orderBy'] = order_by unless order_by.nil?
9504
9625
  command.query['pageSize'] = page_size unless page_size.nil?
9505
9626
  command.query['pageToken'] = page_token unless page_token.nil?
9506
9627
  command.query['fields'] = fields unless fields.nil?
@@ -9591,11 +9712,12 @@ module Google
9591
9712
  # The standard list page token.
9592
9713
  # @param [Boolean] return_partial_success
9593
9714
  # When set to `true`, operations that are reachable are returned as normal, and
9594
- # those that are unreachable are returned in the [ListOperationsResponse.
9595
- # unreachable] field. This can only be `true` when reading across collections e.
9596
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
9597
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
9598
- # explicitly documented otherwise in service or product specific documentation.
9715
+ # those that are unreachable are returned in the ListOperationsResponse.
9716
+ # unreachable field. This can only be `true` when reading across collections.
9717
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
9718
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
9719
+ # if set unless explicitly documented otherwise in service or product specific
9720
+ # documentation.
9599
9721
  # @param [String] fields
9600
9722
  # Selector specifying which fields to include in a partial response.
9601
9723
  # @param [String] quota_user
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.58.0
4
+ version: 0.59.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.58.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1/v0.59.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: