google-apis-discoveryengine_v1alpha 0.75.0 → 0.77.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.
@@ -127,6 +127,45 @@ module Google
127
127
  execute_or_queue_command(command, &block)
128
128
  end
129
129
 
130
+ # Updates the editable settings of a Discovery Engine Project.
131
+ # @param [String] name
132
+ # Output only. Full resource name of the project, for example `projects/`project`
133
+ # `. Note that when making requests, project number and project id are both
134
+ # acceptable, but the server will always respond in project number.
135
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject] google_cloud_discoveryengine_v1alpha_project_object
136
+ # @param [String] update_mask
137
+ # Optional. The list of fields to update. Supported fields: * `
138
+ # customer_provided_config`
139
+ # @param [String] fields
140
+ # Selector specifying which fields to include in a partial response.
141
+ # @param [String] quota_user
142
+ # Available to use for quota purposes for server-side applications. Can be any
143
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
144
+ # @param [Google::Apis::RequestOptions] options
145
+ # Request-specific options
146
+ #
147
+ # @yield [result, err] Result & error if block supplied
148
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject] parsed result object
149
+ # @yieldparam err [StandardError] error object if request failed
150
+ #
151
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject]
152
+ #
153
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
156
+ def patch_project(name, google_cloud_discoveryengine_v1alpha_project_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
157
+ command = make_simple_command(:patch, 'v1alpha/{+name}', options)
158
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject::Representation
159
+ command.request_object = google_cloud_discoveryengine_v1alpha_project_object
160
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject::Representation
161
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaProject
162
+ command.params['name'] = name unless name.nil?
163
+ command.query['updateMask'] = update_mask unless update_mask.nil?
164
+ command.query['fields'] = fields unless fields.nil?
165
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
166
+ execute_or_queue_command(command, &block)
167
+ end
168
+
130
169
  # Provisions the project resource. During the process, related systems will get
131
170
  # prepared and initialized. Caller must read the [Terms for data use](https://
132
171
  # cloud.google.com/retail/data-use-terms), and optionally specify in request to
@@ -448,6 +487,54 @@ module Google
448
487
  execute_or_queue_command(command, &block)
449
488
  end
450
489
 
490
+ # Creates a Collection and sets up the DataConnector for it. To stop a
491
+ # DataConnector after setup, use the CollectionService.DeleteCollection method.
492
+ # @param [String] parent
493
+ # Required. The parent of Collection, in the format of `projects/`project`/
494
+ # locations/`location``.
495
+ # @param [Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnector] google_cloud_discoveryengine_v1alpha_data_connector_object
496
+ # @param [String] collection_display_name
497
+ # Required. The display name of the Collection. Should be human readable, used
498
+ # to display collections in the Console Dashboard. UTF-8 encoded string with
499
+ # limit of 1024 characters.
500
+ # @param [String] collection_id
501
+ # Required. The ID to use for the Collection, which will become the final
502
+ # component of the Collection's resource name. A new Collection is created as
503
+ # part of the DataConnector setup. DataConnector is a singleton resource under
504
+ # Collection, managing all DataStores of the Collection. This field must conform
505
+ # to [RFC-1034](https://tools.ietf.org/html/rfc1034) standard with a length
506
+ # limit of 63 characters. Otherwise, an INVALID_ARGUMENT error is returned.
507
+ # @param [String] fields
508
+ # Selector specifying which fields to include in a partial response.
509
+ # @param [String] quota_user
510
+ # Available to use for quota purposes for server-side applications. Can be any
511
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
512
+ # @param [Google::Apis::RequestOptions] options
513
+ # Request-specific options
514
+ #
515
+ # @yield [result, err] Result & error if block supplied
516
+ # @yieldparam result [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation] parsed result object
517
+ # @yieldparam err [StandardError] error object if request failed
518
+ #
519
+ # @return [Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation]
520
+ #
521
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
522
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
523
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
524
+ def set_project_location_up_data_connector_v2(parent, google_cloud_discoveryengine_v1alpha_data_connector_object = nil, collection_display_name: nil, collection_id: nil, fields: nil, quota_user: nil, options: nil, &block)
525
+ command = make_simple_command(:post, 'v1alpha/{+parent}:setUpDataConnectorV2', options)
526
+ command.request_representation = Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaDataConnector::Representation
527
+ command.request_object = google_cloud_discoveryengine_v1alpha_data_connector_object
528
+ command.response_representation = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation::Representation
529
+ command.response_class = Google::Apis::DiscoveryengineV1alpha::GoogleLongrunningOperation
530
+ command.params['parent'] = parent unless parent.nil?
531
+ command.query['collectionDisplayName'] = collection_display_name unless collection_display_name.nil?
532
+ command.query['collectionId'] = collection_id unless collection_id.nil?
533
+ command.query['fields'] = fields unless fields.nil?
534
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
535
+ execute_or_queue_command(command, &block)
536
+ end
537
+
451
538
  # Default ACL configuration for use in a location of a customer's project.
452
539
  # Updates will only reflect to new data stores. Existing data stores will still
453
540
  # use the old value.
@@ -9930,7 +10017,7 @@ module Google
9930
10017
  execute_or_queue_command(command, &block)
9931
10018
  end
9932
10019
 
9933
- # Batch deletes Notebooks. Needs a side channel with the user's EUC.
10020
+ # Batch deletes Notebooks.
9934
10021
  # @param [String] parent
9935
10022
  # Required. The parent branch resource name, such as `projects/`project`/
9936
10023
  # locations/`location``.
@@ -9964,7 +10051,7 @@ module Google
9964
10051
  execute_or_queue_command(command, &block)
9965
10052
  end
9966
10053
 
9967
- # Creates a notebook. Needs a side channel with the user's EUC.
10054
+ # Creates a notebook.
9968
10055
  # @param [String] parent
9969
10056
  # Required. The parent resource name, such as `projects/`project`/locations/`
9970
10057
  # location``.
@@ -9998,7 +10085,7 @@ module Google
9998
10085
  execute_or_queue_command(command, &block)
9999
10086
  end
10000
10087
 
10001
- # Gets a notebook. Needs a side channel with the user's EUC.
10088
+ # Gets a notebook.
10002
10089
  # @param [String] name
10003
10090
  # Required. Full resource name of Notebook, such as `projects/`project`/
10004
10091
  # locations/`location`/notebooks/`notebook_id``.
@@ -10029,13 +10116,13 @@ module Google
10029
10116
  execute_or_queue_command(command, &block)
10030
10117
  end
10031
10118
 
10032
- # Lists the recently viewed notebooks. Needs a side channel with the user's EUC.
10119
+ # Lists the notebooks ordered by last view time.
10033
10120
  # @param [String] parent
10034
10121
  # Required. The parent branch resource name, such as `projects/`project`/
10035
10122
  # locations/`location``.
10036
10123
  # @param [Fixnum] page_size
10037
10124
  # Optional. Maximum number of Notebooks to return. If unspecified, defaults to "
10038
- # 200". The maximum allowed value is "500". If this field is negative, will use
10125
+ # 500". The maximum allowed value is "500". If this field is negative, will use
10039
10126
  # the default value.
10040
10127
  # @param [String] page_token
10041
10128
  # Optional. The page token, provide this to retrieve the subsequent page.
@@ -10068,7 +10155,7 @@ module Google
10068
10155
  execute_or_queue_command(command, &block)
10069
10156
  end
10070
10157
 
10071
- # Shares a notebook to other accounts. Needs a side channel with the user's EUC.
10158
+ # Shares a notebook to other accounts.
10072
10159
  # @param [String] name
10073
10160
  # Required. Full resource name of Notebook, such as `projects/`project`/
10074
10161
  # locations/`location`/notebooks/`notebook_id``.
@@ -10102,7 +10189,7 @@ module Google
10102
10189
  execute_or_queue_command(command, &block)
10103
10190
  end
10104
10191
 
10105
- # Generates a new audio overview. Needs a side channel with the user's EUC.
10192
+ # Generates a new audio overview.
10106
10193
  # @param [String] parent
10107
10194
  # Required. The parent resource where this notebook will be created. Format:
10108
10195
  # projects/`project`/locations/`location`/notebooks/`notebook`
@@ -10136,7 +10223,7 @@ module Google
10136
10223
  execute_or_queue_command(command, &block)
10137
10224
  end
10138
10225
 
10139
- # Deletes an audio overview. Needs a side channel with the user's EUC.
10226
+ # Deletes an audio overview.
10140
10227
  # @param [String] name
10141
10228
  # Required. The full resource name of the AudioOverview, such as `projects/`
10142
10229
  # project`/locations/`location`/notebooks/`notebook`/audioOverviews/`
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-discoveryengine_v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.75.0
4
+ version: 0.77.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_v1alpha/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.75.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-discoveryengine_v1alpha/v0.77.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-discoveryengine_v1alpha
62
62
  rdoc_options: []
63
63
  require_paths: