google-apis-discoveryengine_v1beta 0.89.0 → 0.90.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::DiscoveryengineV1beta::GdataMedia] parsed result object
75
- # @yieldparam err [StandardError] error object if request failed
76
- #
77
- # @return [Google::Apis::DiscoveryengineV1beta::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, 'v1beta/{+name}:downloadFile', options)
85
- else
86
- command = make_download_command(:get, 'v1beta/{+name}:downloadFile', options)
87
- command.download_dest = download_dest
88
- end
89
- command.response_representation = Google::Apis::DiscoveryengineV1beta::GdataMedia::Representation
90
- command.response_class = Google::Apis::DiscoveryengineV1beta::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
@@ -571,11 +526,12 @@ module Google
571
526
  # The standard list page token.
572
527
  # @param [Boolean] return_partial_success
573
528
  # When set to `true`, operations that are reachable are returned as normal, and
574
- # those that are unreachable are returned in the [ListOperationsResponse.
575
- # unreachable] field. This can only be `true` when reading across collections e.
576
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
577
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
578
- # explicitly documented otherwise in service or product specific documentation.
529
+ # those that are unreachable are returned in the ListOperationsResponse.
530
+ # unreachable field. This can only be `true` when reading across collections.
531
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
532
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
533
+ # if set unless explicitly documented otherwise in service or product specific
534
+ # documentation.
579
535
  # @param [String] fields
580
536
  # Selector specifying which fields to include in a partial response.
581
537
  # @param [String] quota_user
@@ -1361,11 +1317,12 @@ module Google
1361
1317
  # The standard list page token.
1362
1318
  # @param [Boolean] return_partial_success
1363
1319
  # When set to `true`, operations that are reachable are returned as normal, and
1364
- # those that are unreachable are returned in the [ListOperationsResponse.
1365
- # unreachable] field. This can only be `true` when reading across collections e.
1366
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
1367
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
1368
- # explicitly documented otherwise in service or product specific documentation.
1320
+ # those that are unreachable are returned in the ListOperationsResponse.
1321
+ # unreachable field. This can only be `true` when reading across collections.
1322
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1323
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1324
+ # if set unless explicitly documented otherwise in service or product specific
1325
+ # documentation.
1369
1326
  # @param [String] fields
1370
1327
  # Selector specifying which fields to include in a partial response.
1371
1328
  # @param [String] quota_user
@@ -1998,11 +1955,12 @@ module Google
1998
1955
  # The standard list page token.
1999
1956
  # @param [Boolean] return_partial_success
2000
1957
  # When set to `true`, operations that are reachable are returned as normal, and
2001
- # those that are unreachable are returned in the [ListOperationsResponse.
2002
- # unreachable] field. This can only be `true` when reading across collections e.
2003
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2004
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2005
- # explicitly documented otherwise in service or product specific documentation.
1958
+ # those that are unreachable are returned in the ListOperationsResponse.
1959
+ # unreachable field. This can only be `true` when reading across collections.
1960
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
1961
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
1962
+ # if set unless explicitly documented otherwise in service or product specific
1963
+ # documentation.
2006
1964
  # @param [String] fields
2007
1965
  # Selector specifying which fields to include in a partial response.
2008
1966
  # @param [String] quota_user
@@ -2077,11 +2035,12 @@ module Google
2077
2035
  # The standard list page token.
2078
2036
  # @param [Boolean] return_partial_success
2079
2037
  # 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.
2038
+ # those that are unreachable are returned in the ListOperationsResponse.
2039
+ # unreachable field. This can only be `true` when reading across collections.
2040
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2041
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2042
+ # if set unless explicitly documented otherwise in service or product specific
2043
+ # documentation.
2085
2044
  # @param [String] fields
2086
2045
  # Selector specifying which fields to include in a partial response.
2087
2046
  # @param [String] quota_user
@@ -2343,11 +2302,12 @@ module Google
2343
2302
  # The standard list page token.
2344
2303
  # @param [Boolean] return_partial_success
2345
2304
  # When set to `true`, operations that are reachable are returned as normal, and
2346
- # those that are unreachable are returned in the [ListOperationsResponse.
2347
- # unreachable] field. This can only be `true` when reading across collections e.
2348
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
2349
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
2350
- # explicitly documented otherwise in service or product specific documentation.
2305
+ # those that are unreachable are returned in the ListOperationsResponse.
2306
+ # unreachable field. This can only be `true` when reading across collections.
2307
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
2308
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
2309
+ # if set unless explicitly documented otherwise in service or product specific
2310
+ # documentation.
2351
2311
  # @param [String] fields
2352
2312
  # Selector specifying which fields to include in a partial response.
2353
2313
  # @param [String] quota_user
@@ -3148,11 +3108,12 @@ module Google
3148
3108
  # The standard list page token.
3149
3109
  # @param [Boolean] return_partial_success
3150
3110
  # When set to `true`, operations that are reachable are returned as normal, and
3151
- # those that are unreachable are returned in the [ListOperationsResponse.
3152
- # unreachable] field. This can only be `true` when reading across collections e.
3153
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3154
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3155
- # explicitly documented otherwise in service or product specific documentation.
3111
+ # those that are unreachable are returned in the ListOperationsResponse.
3112
+ # unreachable field. This can only be `true` when reading across collections.
3113
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
3114
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
3115
+ # if set unless explicitly documented otherwise in service or product specific
3116
+ # documentation.
3156
3117
  # @param [String] fields
3157
3118
  # Selector specifying which fields to include in a partial response.
3158
3119
  # @param [String] quota_user
@@ -3552,11 +3513,12 @@ module Google
3552
3513
  # The standard list page token.
3553
3514
  # @param [Boolean] return_partial_success
3554
3515
  # When set to `true`, operations that are reachable are returned as normal, and
3555
- # those that are unreachable are returned in the [ListOperationsResponse.
3556
- # unreachable] field. This can only be `true` when reading across collections e.
3557
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
3558
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
3559
- # explicitly documented otherwise in service or product specific documentation.
3516
+ # those that are unreachable are returned in the ListOperationsResponse.
3517
+ # unreachable field. This can only be `true` when reading across collections.
3518
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
3519
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
3520
+ # if set unless explicitly documented otherwise in service or product specific
3521
+ # documentation.
3560
3522
  # @param [String] fields
3561
3523
  # Selector specifying which fields to include in a partial response.
3562
3524
  # @param [String] quota_user
@@ -4118,6 +4080,80 @@ module Google
4118
4080
  execute_or_queue_command(command, &block)
4119
4081
  end
4120
4082
 
4083
+ # Creates an Assistant.
4084
+ # @param [String] parent
4085
+ # Required. The parent resource name. Format: `projects/`project`/locations/`
4086
+ # location`/collections/`collection`/engines/`engine``
4087
+ # @param [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant] google_cloud_discoveryengine_v1beta_assistant_object
4088
+ # @param [String] assistant_id
4089
+ # Required. The ID to use for the Assistant, which will become the final
4090
+ # component of the Assistant's resource name. This field must conform to [RFC-
4091
+ # 1034](https://tools.ietf.org/html/rfc1034) with a length limit of 63
4092
+ # characters.
4093
+ # @param [String] fields
4094
+ # Selector specifying which fields to include in a partial response.
4095
+ # @param [String] quota_user
4096
+ # Available to use for quota purposes for server-side applications. Can be any
4097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4098
+ # @param [Google::Apis::RequestOptions] options
4099
+ # Request-specific options
4100
+ #
4101
+ # @yield [result, err] Result & error if block supplied
4102
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant] parsed result object
4103
+ # @yieldparam err [StandardError] error object if request failed
4104
+ #
4105
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant]
4106
+ #
4107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4110
+ def create_project_location_collection_engine_assistant(parent, google_cloud_discoveryengine_v1beta_assistant_object = nil, assistant_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4111
+ command = make_simple_command(:post, 'v1beta/{+parent}/assistants', options)
4112
+ command.request_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant::Representation
4113
+ command.request_object = google_cloud_discoveryengine_v1beta_assistant_object
4114
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant::Representation
4115
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAssistant
4116
+ command.params['parent'] = parent unless parent.nil?
4117
+ command.query['assistantId'] = assistant_id unless assistant_id.nil?
4118
+ command.query['fields'] = fields unless fields.nil?
4119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4120
+ execute_or_queue_command(command, &block)
4121
+ end
4122
+
4123
+ # Deletes an Assistant.
4124
+ # @param [String] name
4125
+ # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
4126
+ # location`/collections/`collection`/engines/`engine`/assistants/`assistant`` If
4127
+ # the caller does not have permission to delete the Assistant, regardless of
4128
+ # whether or not it exists, a PERMISSION_DENIED error is returned. If the
4129
+ # Assistant to delete does not exist, a NOT_FOUND error is returned.
4130
+ # @param [String] fields
4131
+ # Selector specifying which fields to include in a partial response.
4132
+ # @param [String] quota_user
4133
+ # Available to use for quota purposes for server-side applications. Can be any
4134
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4135
+ # @param [Google::Apis::RequestOptions] options
4136
+ # Request-specific options
4137
+ #
4138
+ # @yield [result, err] Result & error if block supplied
4139
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty] parsed result object
4140
+ # @yieldparam err [StandardError] error object if request failed
4141
+ #
4142
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty]
4143
+ #
4144
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4145
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4146
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4147
+ def delete_project_location_collection_engine_assistant(name, fields: nil, quota_user: nil, options: nil, &block)
4148
+ command = make_simple_command(:delete, 'v1beta/{+name}', options)
4149
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty::Representation
4150
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleProtobufEmpty
4151
+ command.params['name'] = name unless name.nil?
4152
+ command.query['fields'] = fields unless fields.nil?
4153
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4154
+ execute_or_queue_command(command, &block)
4155
+ end
4156
+
4121
4157
  # Gets an Assistant.
4122
4158
  # @param [String] name
4123
4159
  # Required. Resource name of Assistant. Format: `projects/`project`/locations/`
@@ -4149,6 +4185,48 @@ module Google
4149
4185
  execute_or_queue_command(command, &block)
4150
4186
  end
4151
4187
 
4188
+ # Lists all Assistants under an Engine.
4189
+ # @param [String] parent
4190
+ # Required. The parent resource name. Format: `projects/`project`/locations/`
4191
+ # location`/collections/`collection`/engines/`engine``
4192
+ # @param [Fixnum] page_size
4193
+ # Maximum number of Assistants to return. If unspecified, defaults to 100. The
4194
+ # maximum allowed value is 1000; anything above that will be coerced down to
4195
+ # 1000.
4196
+ # @param [String] page_token
4197
+ # A page token ListAssistantsResponse.next_page_token, received from a previous
4198
+ # AssistantService.ListAssistants call. Provide this to retrieve the subsequent
4199
+ # page. When paginating, all other parameters provided to ListAssistants must
4200
+ # match the call that provided the page token.
4201
+ # @param [String] fields
4202
+ # Selector specifying which fields to include in a partial response.
4203
+ # @param [String] quota_user
4204
+ # Available to use for quota purposes for server-side applications. Can be any
4205
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4206
+ # @param [Google::Apis::RequestOptions] options
4207
+ # Request-specific options
4208
+ #
4209
+ # @yield [result, err] Result & error if block supplied
4210
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListAssistantsResponse] parsed result object
4211
+ # @yieldparam err [StandardError] error object if request failed
4212
+ #
4213
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListAssistantsResponse]
4214
+ #
4215
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4216
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4217
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4218
+ def list_project_location_collection_engine_assistants(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4219
+ command = make_simple_command(:get, 'v1beta/{+parent}/assistants', options)
4220
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListAssistantsResponse::Representation
4221
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListAssistantsResponse
4222
+ command.params['parent'] = parent unless parent.nil?
4223
+ command.query['pageSize'] = page_size unless page_size.nil?
4224
+ command.query['pageToken'] = page_token unless page_token.nil?
4225
+ command.query['fields'] = fields unless fields.nil?
4226
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4227
+ execute_or_queue_command(command, &block)
4228
+ end
4229
+
4152
4230
  # Updates an Assistant
4153
4231
  # @param [String] name
4154
4232
  # Immutable. Resource name of the assistant. Format: `projects/`project`/
@@ -4223,6 +4301,37 @@ module Google
4223
4301
  execute_or_queue_command(command, &block)
4224
4302
  end
4225
4303
 
4304
+ # Gets the latest state of a long-running operation. Clients can use this method
4305
+ # to poll the operation result at intervals as recommended by the API service.
4306
+ # @param [String] name
4307
+ # The name of the operation resource.
4308
+ # @param [String] fields
4309
+ # Selector specifying which fields to include in a partial response.
4310
+ # @param [String] quota_user
4311
+ # Available to use for quota purposes for server-side applications. Can be any
4312
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4313
+ # @param [Google::Apis::RequestOptions] options
4314
+ # Request-specific options
4315
+ #
4316
+ # @yield [result, err] Result & error if block supplied
4317
+ # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation] parsed result object
4318
+ # @yieldparam err [StandardError] error object if request failed
4319
+ #
4320
+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation]
4321
+ #
4322
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4323
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4324
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4325
+ def get_project_location_collection_engine_assistant_agent_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4326
+ command = make_simple_command(:get, 'v1beta/{+name}', options)
4327
+ command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation::Representation
4328
+ command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleLongrunningOperation
4329
+ command.params['name'] = name unless name.nil?
4330
+ command.query['fields'] = fields unless fields.nil?
4331
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4332
+ execute_or_queue_command(command, &block)
4333
+ end
4334
+
4226
4335
  # Completes the user input with advanced keyword suggestions.
4227
4336
  # @param [String] completion_config
4228
4337
  # Required. The completion_config of the parent dataStore or engine resource
@@ -4762,11 +4871,12 @@ module Google
4762
4871
  # The standard list page token.
4763
4872
  # @param [Boolean] return_partial_success
4764
4873
  # When set to `true`, operations that are reachable are returned as normal, and
4765
- # those that are unreachable are returned in the [ListOperationsResponse.
4766
- # unreachable] field. This can only be `true` when reading across collections e.
4767
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
4768
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
4769
- # explicitly documented otherwise in service or product specific documentation.
4874
+ # those that are unreachable are returned in the ListOperationsResponse.
4875
+ # unreachable field. This can only be `true` when reading across collections.
4876
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
4877
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
4878
+ # if set unless explicitly documented otherwise in service or product specific
4879
+ # documentation.
4770
4880
  # @param [String] fields
4771
4881
  # Selector specifying which fields to include in a partial response.
4772
4882
  # @param [String] quota_user
@@ -5384,11 +5494,12 @@ module Google
5384
5494
  # The standard list page token.
5385
5495
  # @param [Boolean] return_partial_success
5386
5496
  # When set to `true`, operations that are reachable are returned as normal, and
5387
- # those that are unreachable are returned in the [ListOperationsResponse.
5388
- # unreachable] field. This can only be `true` when reading across collections e.
5389
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
5390
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
5391
- # explicitly documented otherwise in service or product specific documentation.
5497
+ # those that are unreachable are returned in the ListOperationsResponse.
5498
+ # unreachable field. This can only be `true` when reading across collections.
5499
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
5500
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
5501
+ # if set unless explicitly documented otherwise in service or product specific
5502
+ # documentation.
5392
5503
  # @param [String] fields
5393
5504
  # Selector specifying which fields to include in a partial response.
5394
5505
  # @param [String] quota_user
@@ -6139,11 +6250,12 @@ module Google
6139
6250
  # The standard list page token.
6140
6251
  # @param [Boolean] return_partial_success
6141
6252
  # When set to `true`, operations that are reachable are returned as normal, and
6142
- # those that are unreachable are returned in the [ListOperationsResponse.
6143
- # unreachable] field. This can only be `true` when reading across collections e.
6144
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6145
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6146
- # explicitly documented otherwise in service or product specific documentation.
6253
+ # those that are unreachable are returned in the ListOperationsResponse.
6254
+ # unreachable field. This can only be `true` when reading across collections.
6255
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
6256
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
6257
+ # if set unless explicitly documented otherwise in service or product specific
6258
+ # documentation.
6147
6259
  # @param [String] fields
6148
6260
  # Selector specifying which fields to include in a partial response.
6149
6261
  # @param [String] quota_user
@@ -6744,11 +6856,12 @@ module Google
6744
6856
  # The standard list page token.
6745
6857
  # @param [Boolean] return_partial_success
6746
6858
  # When set to `true`, operations that are reachable are returned as normal, and
6747
- # those that are unreachable are returned in the [ListOperationsResponse.
6748
- # unreachable] field. This can only be `true` when reading across collections e.
6749
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6750
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6751
- # explicitly documented otherwise in service or product specific documentation.
6859
+ # those that are unreachable are returned in the ListOperationsResponse.
6860
+ # unreachable field. This can only be `true` when reading across collections.
6861
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
6862
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
6863
+ # if set unless explicitly documented otherwise in service or product specific
6864
+ # documentation.
6752
6865
  # @param [String] fields
6753
6866
  # Selector specifying which fields to include in a partial response.
6754
6867
  # @param [String] quota_user
@@ -6823,11 +6936,12 @@ module Google
6823
6936
  # The standard list page token.
6824
6937
  # @param [Boolean] return_partial_success
6825
6938
  # When set to `true`, operations that are reachable are returned as normal, and
6826
- # those that are unreachable are returned in the [ListOperationsResponse.
6827
- # unreachable] field. This can only be `true` when reading across collections e.
6828
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
6829
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
6830
- # explicitly documented otherwise in service or product specific documentation.
6939
+ # those that are unreachable are returned in the ListOperationsResponse.
6940
+ # unreachable field. This can only be `true` when reading across collections.
6941
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
6942
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
6943
+ # if set unless explicitly documented otherwise in service or product specific
6944
+ # documentation.
6831
6945
  # @param [String] fields
6832
6946
  # Selector specifying which fields to include in a partial response.
6833
6947
  # @param [String] quota_user
@@ -8789,11 +8903,12 @@ module Google
8789
8903
  # The standard list page token.
8790
8904
  # @param [Boolean] return_partial_success
8791
8905
  # When set to `true`, operations that are reachable are returned as normal, and
8792
- # those that are unreachable are returned in the [ListOperationsResponse.
8793
- # unreachable] field. This can only be `true` when reading across collections e.
8794
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8795
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8796
- # explicitly documented otherwise in service or product specific documentation.
8906
+ # those that are unreachable are returned in the ListOperationsResponse.
8907
+ # unreachable field. This can only be `true` when reading across collections.
8908
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
8909
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
8910
+ # if set unless explicitly documented otherwise in service or product specific
8911
+ # documentation.
8797
8912
  # @param [String] fields
8798
8913
  # Selector specifying which fields to include in a partial response.
8799
8914
  # @param [String] quota_user
@@ -8982,11 +9097,12 @@ module Google
8982
9097
  # The standard list page token.
8983
9098
  # @param [Boolean] return_partial_success
8984
9099
  # When set to `true`, operations that are reachable are returned as normal, and
8985
- # those that are unreachable are returned in the [ListOperationsResponse.
8986
- # unreachable] field. This can only be `true` when reading across collections e.
8987
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
8988
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
8989
- # explicitly documented otherwise in service or product specific documentation.
9100
+ # those that are unreachable are returned in the ListOperationsResponse.
9101
+ # unreachable field. This can only be `true` when reading across collections.
9102
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
9103
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
9104
+ # if set unless explicitly documented otherwise in service or product specific
9105
+ # documentation.
8990
9106
  # @param [String] fields
8991
9107
  # Selector specifying which fields to include in a partial response.
8992
9108
  # @param [String] quota_user
@@ -9891,15 +10007,20 @@ module Google
9891
10007
  # @param [String] parent
9892
10008
  # Required. The parent UserStore resource name, format: `projects/`project`/
9893
10009
  # locations/`location`/userStores/`user_store_id``.
9894
- # @param [String] filter
9895
- # Optional. Filter for the list request. Supported fields: * `license`_`
9896
- # assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_`
9897
- # assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_`
9898
- # assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_`
9899
- # assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted
9900
- # login but no license assigned. * `license`_`assignment`_`state !=
9901
- # NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no
9902
- # license assigned.
10010
+ # @param [String] order_by
10011
+ # Optional. The order in which the UserLicenses are listed. The value must be a
10012
+ # comma-separated list of fields. Default sorting order is ascending. To specify
10013
+ # descending order for a field, append a " desc" suffix. Redundant space
10014
+ # characters in the syntax are insignificant. Supported fields: * `
10015
+ # license_assignment_state` * `user_principal` * `user_profile` * `
10016
+ # last_login_date` * `update_time` If not set, the default ordering is by `
10017
+ # user_principal`. Examples: * `user_principal desc` to order by `user_principal`
10018
+ # in descending order. * `license_assignment_state` to order by `
10019
+ # license_assignment_state` in ascending order. * `last_login_date desc` to
10020
+ # order by `last_login_date` in descending order. * `update_time desc` to order
10021
+ # by `update_time` in descending order. * `last_login_date desc, user_principal`
10022
+ # to order by `last_login_date` in descending order and then by `user_principal`
10023
+ # in ascending order.
9903
10024
  # @param [Fixnum] page_size
9904
10025
  # Optional. Requested page size. Server may return fewer items than requested.
9905
10026
  # If unspecified, defaults to 10. The maximum value is 50; values above 50 will
@@ -9927,12 +10048,12 @@ module Google
9927
10048
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
9928
10049
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
9929
10050
  # @raise [Google::Apis::AuthorizationError] Authorization is required
9930
- 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)
10051
+ 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)
9931
10052
  command = make_simple_command(:get, 'v1beta/{+parent}/userLicenses', options)
9932
10053
  command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse::Representation
9933
10054
  command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListUserLicensesResponse
9934
10055
  command.params['parent'] = parent unless parent.nil?
9935
- command.query['filter'] = filter unless filter.nil?
10056
+ command.query['orderBy'] = order_by unless order_by.nil?
9936
10057
  command.query['pageSize'] = page_size unless page_size.nil?
9937
10058
  command.query['pageToken'] = page_token unless page_token.nil?
9938
10059
  command.query['fields'] = fields unless fields.nil?
@@ -9983,11 +10104,12 @@ module Google
9983
10104
  # The standard list page token.
9984
10105
  # @param [Boolean] return_partial_success
9985
10106
  # When set to `true`, operations that are reachable are returned as normal, and
9986
- # those that are unreachable are returned in the [ListOperationsResponse.
9987
- # unreachable] field. This can only be `true` when reading across collections e.
9988
- # g. when `parent` is set to `"projects/example/locations/-"`. This field is not
9989
- # by default supported and will result in an `UNIMPLEMENTED` error if set unless
9990
- # explicitly documented otherwise in service or product specific documentation.
10107
+ # those that are unreachable are returned in the ListOperationsResponse.
10108
+ # unreachable field. This can only be `true` when reading across collections.
10109
+ # For example, when `parent` is set to `"projects/example/locations/-"`. This
10110
+ # field is not supported by default and will result in an `UNIMPLEMENTED` error
10111
+ # if set unless explicitly documented otherwise in service or product specific
10112
+ # documentation.
9991
10113
  # @param [String] fields
9992
10114
  # Selector specifying which fields to include in a partial response.
9993
10115
  # @param [String] quota_user
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1beta
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.89.0
4
+ version: 0.90.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.89.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1beta/v0.90.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1beta
62
62
  rdoc_options: []
63
63
  require_paths: