google-apis-discoveryengine_v1alpha 0.76.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.
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.76.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.76.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: