google-apis-aiplatform_v1beta1 0.4.0 → 0.5.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.
@@ -2086,6 +2086,185 @@ module Google
2086
2086
  execute_or_queue_command(command, &block)
2087
2087
  end
2088
2088
 
2089
+ # Create a version from a Dataset.
2090
+ # @param [String] parent
2091
+ # Required. The name of the Dataset resource. Format: `projects/`project`/
2092
+ # locations/`location`/datasets/`dataset``
2093
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion] google_cloud_aiplatform_v1beta1_dataset_version_object
2094
+ # @param [String] fields
2095
+ # Selector specifying which fields to include in a partial response.
2096
+ # @param [String] quota_user
2097
+ # Available to use for quota purposes for server-side applications. Can be any
2098
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2099
+ # @param [Google::Apis::RequestOptions] options
2100
+ # Request-specific options
2101
+ #
2102
+ # @yield [result, err] Result & error if block supplied
2103
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
2104
+ # @yieldparam err [StandardError] error object if request failed
2105
+ #
2106
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
2107
+ #
2108
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2109
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2110
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2111
+ def create_project_location_dataset_dataset_version(parent, google_cloud_aiplatform_v1beta1_dataset_version_object = nil, fields: nil, quota_user: nil, options: nil, &block)
2112
+ command = make_simple_command(:post, 'v1beta1/{+parent}/datasetVersions', options)
2113
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion::Representation
2114
+ command.request_object = google_cloud_aiplatform_v1beta1_dataset_version_object
2115
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
2116
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
2117
+ command.params['parent'] = parent unless parent.nil?
2118
+ command.query['fields'] = fields unless fields.nil?
2119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2120
+ execute_or_queue_command(command, &block)
2121
+ end
2122
+
2123
+ # Deletes a Dataset version.
2124
+ # @param [String] name
2125
+ # Required. The resource name of the Dataset version to delete. Format: `
2126
+ # projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
2127
+ # dataset_version``
2128
+ # @param [String] fields
2129
+ # Selector specifying which fields to include in a partial response.
2130
+ # @param [String] quota_user
2131
+ # Available to use for quota purposes for server-side applications. Can be any
2132
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2133
+ # @param [Google::Apis::RequestOptions] options
2134
+ # Request-specific options
2135
+ #
2136
+ # @yield [result, err] Result & error if block supplied
2137
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
2138
+ # @yieldparam err [StandardError] error object if request failed
2139
+ #
2140
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
2141
+ #
2142
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2143
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2144
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2145
+ def delete_project_location_dataset_dataset_version(name, fields: nil, quota_user: nil, options: nil, &block)
2146
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
2147
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
2148
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
2149
+ command.params['name'] = name unless name.nil?
2150
+ command.query['fields'] = fields unless fields.nil?
2151
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2152
+ execute_or_queue_command(command, &block)
2153
+ end
2154
+
2155
+ # Gets a Dataset version.
2156
+ # @param [String] name
2157
+ # Required. The resource name of the Dataset version to delete. Format: `
2158
+ # projects/`project`/locations/`location`/datasets/`dataset`/datasetVersions/`
2159
+ # dataset_version``
2160
+ # @param [String] read_mask
2161
+ # Mask specifying which fields to read.
2162
+ # @param [String] fields
2163
+ # Selector specifying which fields to include in a partial response.
2164
+ # @param [String] quota_user
2165
+ # Available to use for quota purposes for server-side applications. Can be any
2166
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2167
+ # @param [Google::Apis::RequestOptions] options
2168
+ # Request-specific options
2169
+ #
2170
+ # @yield [result, err] Result & error if block supplied
2171
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion] parsed result object
2172
+ # @yieldparam err [StandardError] error object if request failed
2173
+ #
2174
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion]
2175
+ #
2176
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2177
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2178
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2179
+ def get_project_location_dataset_dataset_version(name, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2180
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
2181
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion::Representation
2182
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1DatasetVersion
2183
+ command.params['name'] = name unless name.nil?
2184
+ command.query['readMask'] = read_mask unless read_mask.nil?
2185
+ command.query['fields'] = fields unless fields.nil?
2186
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2187
+ execute_or_queue_command(command, &block)
2188
+ end
2189
+
2190
+ # Lists DatasetVersions in a Dataset.
2191
+ # @param [String] parent
2192
+ # Required. The resource name of the Dataset to list DatasetVersions from.
2193
+ # Format: `projects/`project`/locations/`location`/datasets/`dataset``
2194
+ # @param [String] filter
2195
+ # Optional. The standard list filter.
2196
+ # @param [String] order_by
2197
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
2198
+ # order. Use "desc" after a field name for descending.
2199
+ # @param [Fixnum] page_size
2200
+ # Optional. The standard list page size.
2201
+ # @param [String] page_token
2202
+ # Optional. The standard list page token.
2203
+ # @param [String] read_mask
2204
+ # Optional. Mask specifying which fields to read.
2205
+ # @param [String] fields
2206
+ # Selector specifying which fields to include in a partial response.
2207
+ # @param [String] quota_user
2208
+ # Available to use for quota purposes for server-side applications. Can be any
2209
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2210
+ # @param [Google::Apis::RequestOptions] options
2211
+ # Request-specific options
2212
+ #
2213
+ # @yield [result, err] Result & error if block supplied
2214
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse] parsed result object
2215
+ # @yieldparam err [StandardError] error object if request failed
2216
+ #
2217
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse]
2218
+ #
2219
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2220
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2221
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2222
+ def list_project_location_dataset_dataset_versions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
2223
+ command = make_simple_command(:get, 'v1beta1/{+parent}/datasetVersions', options)
2224
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse::Representation
2225
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListDatasetVersionsResponse
2226
+ command.params['parent'] = parent unless parent.nil?
2227
+ command.query['filter'] = filter unless filter.nil?
2228
+ command.query['orderBy'] = order_by unless order_by.nil?
2229
+ command.query['pageSize'] = page_size unless page_size.nil?
2230
+ command.query['pageToken'] = page_token unless page_token.nil?
2231
+ command.query['readMask'] = read_mask unless read_mask.nil?
2232
+ command.query['fields'] = fields unless fields.nil?
2233
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2234
+ execute_or_queue_command(command, &block)
2235
+ end
2236
+
2237
+ # Restores a dataset version.
2238
+ # @param [String] name
2239
+ # Required. The name of the DatasetVersion resource. Format: `projects/`project`/
2240
+ # locations/`location`/datasets/`dataset`/datasetVersions/`dataset_version``
2241
+ # @param [String] fields
2242
+ # Selector specifying which fields to include in a partial response.
2243
+ # @param [String] quota_user
2244
+ # Available to use for quota purposes for server-side applications. Can be any
2245
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
2246
+ # @param [Google::Apis::RequestOptions] options
2247
+ # Request-specific options
2248
+ #
2249
+ # @yield [result, err] Result & error if block supplied
2250
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
2251
+ # @yieldparam err [StandardError] error object if request failed
2252
+ #
2253
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
2254
+ #
2255
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
2256
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
2257
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
2258
+ def restore_project_location_dataset_dataset_version(name, fields: nil, quota_user: nil, options: nil, &block)
2259
+ command = make_simple_command(:get, 'v1beta1/{+name}:restore', options)
2260
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
2261
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
2262
+ command.params['name'] = name unless name.nil?
2263
+ command.query['fields'] = fields unless fields.nil?
2264
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
2265
+ execute_or_queue_command(command, &block)
2266
+ end
2267
+
2089
2268
  # Starts asynchronous cancellation on a long-running operation. The server makes
2090
2269
  # a best effort to cancel the operation, but success is not guaranteed. If the
2091
2270
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -4299,10 +4478,1015 @@ module Google
4299
4478
  execute_or_queue_command(command, &block)
4300
4479
  end
4301
4480
 
4302
- # Gets the latest state of a long-running operation. Clients can use this method
4303
- # to poll the operation result at intervals as recommended by the API service.
4481
+ # Gets the latest state of a long-running operation. Clients can use this method
4482
+ # to poll the operation result at intervals as recommended by the API service.
4483
+ # @param [String] name
4484
+ # The name of the operation resource.
4485
+ # @param [String] fields
4486
+ # Selector specifying which fields to include in a partial response.
4487
+ # @param [String] quota_user
4488
+ # Available to use for quota purposes for server-side applications. Can be any
4489
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4490
+ # @param [Google::Apis::RequestOptions] options
4491
+ # Request-specific options
4492
+ #
4493
+ # @yield [result, err] Result & error if block supplied
4494
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4495
+ # @yieldparam err [StandardError] error object if request failed
4496
+ #
4497
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4498
+ #
4499
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4500
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4501
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4502
+ def get_project_location_extension_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4503
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
4504
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4505
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4506
+ command.params['name'] = name unless name.nil?
4507
+ command.query['fields'] = fields unless fields.nil?
4508
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4509
+ execute_or_queue_command(command, &block)
4510
+ end
4511
+
4512
+ # Lists operations that match the specified filter in the request. If the server
4513
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
4514
+ # @param [String] name
4515
+ # The name of the operation's parent resource.
4516
+ # @param [String] filter
4517
+ # The standard list filter.
4518
+ # @param [Fixnum] page_size
4519
+ # The standard list page size.
4520
+ # @param [String] page_token
4521
+ # The standard list page token.
4522
+ # @param [String] fields
4523
+ # Selector specifying which fields to include in a partial response.
4524
+ # @param [String] quota_user
4525
+ # Available to use for quota purposes for server-side applications. Can be any
4526
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4527
+ # @param [Google::Apis::RequestOptions] options
4528
+ # Request-specific options
4529
+ #
4530
+ # @yield [result, err] Result & error if block supplied
4531
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
4532
+ # @yieldparam err [StandardError] error object if request failed
4533
+ #
4534
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
4535
+ #
4536
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4537
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4538
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4539
+ def list_project_location_extension_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4540
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
4541
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
4542
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
4543
+ command.params['name'] = name unless name.nil?
4544
+ command.query['filter'] = filter unless filter.nil?
4545
+ command.query['pageSize'] = page_size unless page_size.nil?
4546
+ command.query['pageToken'] = page_token unless page_token.nil?
4547
+ command.query['fields'] = fields unless fields.nil?
4548
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4549
+ execute_or_queue_command(command, &block)
4550
+ end
4551
+
4552
+ # Waits until the specified long-running operation is done or reaches at most a
4553
+ # specified timeout, returning the latest state. If the operation is already
4554
+ # done, the latest state is immediately returned. If the timeout specified is
4555
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4556
+ # the server does not support this method, it returns `google.rpc.Code.
4557
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4558
+ # the latest state before the specified timeout (including immediately), meaning
4559
+ # even an immediate response is no guarantee that the operation is done.
4560
+ # @param [String] name
4561
+ # The name of the operation resource to wait on.
4562
+ # @param [String] timeout
4563
+ # The maximum duration to wait before timing out. If left blank, the wait will
4564
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4565
+ # context deadline is also specified, the shorter one will be used.
4566
+ # @param [String] fields
4567
+ # Selector specifying which fields to include in a partial response.
4568
+ # @param [String] quota_user
4569
+ # Available to use for quota purposes for server-side applications. Can be any
4570
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4571
+ # @param [Google::Apis::RequestOptions] options
4572
+ # Request-specific options
4573
+ #
4574
+ # @yield [result, err] Result & error if block supplied
4575
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4576
+ # @yieldparam err [StandardError] error object if request failed
4577
+ #
4578
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4579
+ #
4580
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4581
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4582
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4583
+ def wait_project_location_extension_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4584
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
4585
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4586
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4587
+ command.params['name'] = name unless name.nil?
4588
+ command.query['timeout'] = timeout unless timeout.nil?
4589
+ command.query['fields'] = fields unless fields.nil?
4590
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4591
+ execute_or_queue_command(command, &block)
4592
+ end
4593
+
4594
+ # Creates a new FeatureGroup in a given project and location.
4595
+ # @param [String] parent
4596
+ # Required. The resource name of the Location to create FeatureGroups. Format: `
4597
+ # projects/`project`/locations/`location`'`
4598
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup] google_cloud_aiplatform_v1beta1_feature_group_object
4599
+ # @param [String] feature_group_id
4600
+ # Required. The ID to use for this FeatureGroup, which will become the final
4601
+ # component of the FeatureGroup's resource name. This value may be up to 60
4602
+ # characters, and valid characters are `[a-z0-9_]`. The first character cannot
4603
+ # be a number. The value must be unique within the project and location.
4604
+ # @param [String] fields
4605
+ # Selector specifying which fields to include in a partial response.
4606
+ # @param [String] quota_user
4607
+ # Available to use for quota purposes for server-side applications. Can be any
4608
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4609
+ # @param [Google::Apis::RequestOptions] options
4610
+ # Request-specific options
4611
+ #
4612
+ # @yield [result, err] Result & error if block supplied
4613
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4614
+ # @yieldparam err [StandardError] error object if request failed
4615
+ #
4616
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4617
+ #
4618
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4619
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4620
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4621
+ def create_project_location_feature_group(parent, google_cloud_aiplatform_v1beta1_feature_group_object = nil, feature_group_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4622
+ command = make_simple_command(:post, 'v1beta1/{+parent}/featureGroups', options)
4623
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup::Representation
4624
+ command.request_object = google_cloud_aiplatform_v1beta1_feature_group_object
4625
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4626
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4627
+ command.params['parent'] = parent unless parent.nil?
4628
+ command.query['featureGroupId'] = feature_group_id unless feature_group_id.nil?
4629
+ command.query['fields'] = fields unless fields.nil?
4630
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4631
+ execute_or_queue_command(command, &block)
4632
+ end
4633
+
4634
+ # Deletes a single FeatureGroup.
4635
+ # @param [String] name
4636
+ # Required. The name of the FeatureGroup to be deleted. Format: `projects/`
4637
+ # project`/locations/`location`/featureGroups/`feature_group``
4638
+ # @param [Boolean] force
4639
+ # If set to true, any Features under this FeatureGroup will also be deleted. (
4640
+ # Otherwise, the request will only work if the FeatureGroup has no Features.)
4641
+ # @param [String] fields
4642
+ # Selector specifying which fields to include in a partial response.
4643
+ # @param [String] quota_user
4644
+ # Available to use for quota purposes for server-side applications. Can be any
4645
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4646
+ # @param [Google::Apis::RequestOptions] options
4647
+ # Request-specific options
4648
+ #
4649
+ # @yield [result, err] Result & error if block supplied
4650
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4651
+ # @yieldparam err [StandardError] error object if request failed
4652
+ #
4653
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4654
+ #
4655
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4656
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4657
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4658
+ def delete_project_location_feature_group(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
4659
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
4660
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4661
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4662
+ command.params['name'] = name unless name.nil?
4663
+ command.query['force'] = force unless force.nil?
4664
+ command.query['fields'] = fields unless fields.nil?
4665
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4666
+ execute_or_queue_command(command, &block)
4667
+ end
4668
+
4669
+ # Gets details of a single FeatureGroup.
4670
+ # @param [String] name
4671
+ # Required. The name of the FeatureGroup resource.
4672
+ # @param [String] fields
4673
+ # Selector specifying which fields to include in a partial response.
4674
+ # @param [String] quota_user
4675
+ # Available to use for quota purposes for server-side applications. Can be any
4676
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4677
+ # @param [Google::Apis::RequestOptions] options
4678
+ # Request-specific options
4679
+ #
4680
+ # @yield [result, err] Result & error if block supplied
4681
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup] parsed result object
4682
+ # @yieldparam err [StandardError] error object if request failed
4683
+ #
4684
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup]
4685
+ #
4686
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4687
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4688
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4689
+ def get_project_location_feature_group(name, fields: nil, quota_user: nil, options: nil, &block)
4690
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
4691
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup::Representation
4692
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup
4693
+ command.params['name'] = name unless name.nil?
4694
+ command.query['fields'] = fields unless fields.nil?
4695
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4696
+ execute_or_queue_command(command, &block)
4697
+ end
4698
+
4699
+ # Lists FeatureGroups in a given project and location.
4700
+ # @param [String] parent
4701
+ # Required. The resource name of the Location to list FeatureGroups. Format: `
4702
+ # projects/`project`/locations/`location``
4703
+ # @param [String] filter
4704
+ # Lists the FeatureGroups that match the filter expression. The following fields
4705
+ # are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=`
4706
+ # comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`,
4707
+ # `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339 format.
4708
+ # * `labels`: Supports key-value equality and key presence. Examples: * `
4709
+ # create_time > "2020-01-01" OR update_time > "2020-01-01"` FeatureGroups
4710
+ # created or updated after 2020-01-01. * `labels.env = "prod"` FeatureGroups
4711
+ # with label "env" set to "prod".
4712
+ # @param [String] order_by
4713
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
4714
+ # desc" after a field name for descending. Supported Fields: * `create_time` * `
4715
+ # update_time`
4716
+ # @param [Fixnum] page_size
4717
+ # The maximum number of FeatureGroups to return. The service may return fewer
4718
+ # than this value. If unspecified, at most 100 FeatureGroups will be returned.
4719
+ # The maximum value is 100; any value greater than 100 will be coerced to 100.
4720
+ # @param [String] page_token
4721
+ # A page token, received from a previous FeatureGroupAdminService.
4722
+ # ListFeatureGroups call. Provide this to retrieve the subsequent page. When
4723
+ # paginating, all other parameters provided to FeatureGroupAdminService.
4724
+ # ListFeatureGroups must match the call that provided the page token.
4725
+ # @param [String] fields
4726
+ # Selector specifying which fields to include in a partial response.
4727
+ # @param [String] quota_user
4728
+ # Available to use for quota purposes for server-side applications. Can be any
4729
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4730
+ # @param [Google::Apis::RequestOptions] options
4731
+ # Request-specific options
4732
+ #
4733
+ # @yield [result, err] Result & error if block supplied
4734
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse] parsed result object
4735
+ # @yieldparam err [StandardError] error object if request failed
4736
+ #
4737
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse]
4738
+ #
4739
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4740
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4741
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4742
+ def list_project_location_feature_groups(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4743
+ command = make_simple_command(:get, 'v1beta1/{+parent}/featureGroups', options)
4744
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse::Representation
4745
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureGroupsResponse
4746
+ command.params['parent'] = parent unless parent.nil?
4747
+ command.query['filter'] = filter unless filter.nil?
4748
+ command.query['orderBy'] = order_by unless order_by.nil?
4749
+ command.query['pageSize'] = page_size unless page_size.nil?
4750
+ command.query['pageToken'] = page_token unless page_token.nil?
4751
+ command.query['fields'] = fields unless fields.nil?
4752
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4753
+ execute_or_queue_command(command, &block)
4754
+ end
4755
+
4756
+ # Updates the parameters of a single FeatureGroup.
4757
+ # @param [String] name
4758
+ # Output only. Name of the FeatureGroup. Format: `projects/`project`/locations/`
4759
+ # location`/featureGroups/`featureGroup``
4760
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup] google_cloud_aiplatform_v1beta1_feature_group_object
4761
+ # @param [String] update_mask
4762
+ # Field mask is used to specify the fields to be overwritten in the FeatureGroup
4763
+ # resource by the update. The fields specified in the update_mask are relative
4764
+ # to the resource, not the full request. A field will be overwritten if it is in
4765
+ # the mask. If the user does not provide a mask then only the non-empty fields
4766
+ # present in the request will be overwritten. Set the update_mask to `*` to
4767
+ # override all fields. Updatable fields: * `labels`
4768
+ # @param [String] fields
4769
+ # Selector specifying which fields to include in a partial response.
4770
+ # @param [String] quota_user
4771
+ # Available to use for quota purposes for server-side applications. Can be any
4772
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4773
+ # @param [Google::Apis::RequestOptions] options
4774
+ # Request-specific options
4775
+ #
4776
+ # @yield [result, err] Result & error if block supplied
4777
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4778
+ # @yieldparam err [StandardError] error object if request failed
4779
+ #
4780
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4781
+ #
4782
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4783
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4784
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4785
+ def patch_project_location_feature_group(name, google_cloud_aiplatform_v1beta1_feature_group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4786
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
4787
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureGroup::Representation
4788
+ command.request_object = google_cloud_aiplatform_v1beta1_feature_group_object
4789
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4790
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4791
+ command.params['name'] = name unless name.nil?
4792
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4793
+ command.query['fields'] = fields unless fields.nil?
4794
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4795
+ execute_or_queue_command(command, &block)
4796
+ end
4797
+
4798
+ # Creates a new Feature in a given FeatureGroup.
4799
+ # @param [String] parent
4800
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature] google_cloud_aiplatform_v1beta1_feature_object
4801
+ # @param [String] feature_id
4802
+ # Required. The ID to use for the Feature, which will become the final component
4803
+ # of the Feature's resource name. This value may be up to 128 characters, and
4804
+ # valid characters are `[a-z0-9_]`. The first character cannot be a number. The
4805
+ # value must be unique within an EntityType/FeatureGroup.
4806
+ # @param [String] fields
4807
+ # Selector specifying which fields to include in a partial response.
4808
+ # @param [String] quota_user
4809
+ # Available to use for quota purposes for server-side applications. Can be any
4810
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4811
+ # @param [Google::Apis::RequestOptions] options
4812
+ # Request-specific options
4813
+ #
4814
+ # @yield [result, err] Result & error if block supplied
4815
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4816
+ # @yieldparam err [StandardError] error object if request failed
4817
+ #
4818
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4819
+ #
4820
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4821
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4822
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4823
+ def create_project_location_feature_group_feature(parent, google_cloud_aiplatform_v1beta1_feature_object = nil, feature_id: nil, fields: nil, quota_user: nil, options: nil, &block)
4824
+ command = make_simple_command(:post, 'v1beta1/{+parent}/features', options)
4825
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature::Representation
4826
+ command.request_object = google_cloud_aiplatform_v1beta1_feature_object
4827
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4828
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4829
+ command.params['parent'] = parent unless parent.nil?
4830
+ command.query['featureId'] = feature_id unless feature_id.nil?
4831
+ command.query['fields'] = fields unless fields.nil?
4832
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4833
+ execute_or_queue_command(command, &block)
4834
+ end
4835
+
4836
+ # Deletes a single Feature.
4837
+ # @param [String] name
4838
+ # Required. The name of the Features to be deleted. Format: `projects/`project`/
4839
+ # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`/
4840
+ # features/`feature`` `projects/`project`/locations/`location`/featureGroups/`
4841
+ # feature_group`/features/`feature``
4842
+ # @param [String] fields
4843
+ # Selector specifying which fields to include in a partial response.
4844
+ # @param [String] quota_user
4845
+ # Available to use for quota purposes for server-side applications. Can be any
4846
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4847
+ # @param [Google::Apis::RequestOptions] options
4848
+ # Request-specific options
4849
+ #
4850
+ # @yield [result, err] Result & error if block supplied
4851
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4852
+ # @yieldparam err [StandardError] error object if request failed
4853
+ #
4854
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4855
+ #
4856
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4857
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4858
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4859
+ def delete_project_location_feature_group_feature(name, fields: nil, quota_user: nil, options: nil, &block)
4860
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
4861
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4862
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4863
+ command.params['name'] = name unless name.nil?
4864
+ command.query['fields'] = fields unless fields.nil?
4865
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4866
+ execute_or_queue_command(command, &block)
4867
+ end
4868
+
4869
+ # Gets details of a single Feature.
4870
+ # @param [String] name
4871
+ # Required. The name of the Feature resource. Format: `projects/`project`/
4872
+ # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`` `
4873
+ # projects/`project`/locations/`location`/featureGroups/`feature_group``
4874
+ # @param [String] fields
4875
+ # Selector specifying which fields to include in a partial response.
4876
+ # @param [String] quota_user
4877
+ # Available to use for quota purposes for server-side applications. Can be any
4878
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4879
+ # @param [Google::Apis::RequestOptions] options
4880
+ # Request-specific options
4881
+ #
4882
+ # @yield [result, err] Result & error if block supplied
4883
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature] parsed result object
4884
+ # @yieldparam err [StandardError] error object if request failed
4885
+ #
4886
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature]
4887
+ #
4888
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4889
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4890
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4891
+ def get_project_location_feature_group_feature(name, fields: nil, quota_user: nil, options: nil, &block)
4892
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
4893
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature::Representation
4894
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature
4895
+ command.params['name'] = name unless name.nil?
4896
+ command.query['fields'] = fields unless fields.nil?
4897
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4898
+ execute_or_queue_command(command, &block)
4899
+ end
4900
+
4901
+ # Lists Features in a given FeatureGroup.
4902
+ # @param [String] parent
4903
+ # Required. The resource name of the Location to list Features. Format: `
4904
+ # projects/`project`/locations/`location`/featurestores/`featurestore`/
4905
+ # entityTypes/`entity_type`` `projects/`project`/locations/`location`/
4906
+ # featureGroups/`feature_group``
4907
+ # @param [String] filter
4908
+ # Lists the Features that match the filter expression. The following filters are
4909
+ # supported: * `value_type`: Supports = and != comparisons. * `create_time`:
4910
+ # Supports =, !=, <, >, >=, and <= comparisons. Values must be in RFC 3339
4911
+ # format. * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values
4912
+ # must be in RFC 3339 format. * `labels`: Supports key-value equality as well as
4913
+ # key presence. Examples: * `value_type = DOUBLE` --> Features whose type is
4914
+ # DOUBLE. * `create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"
4915
+ # 2020-01-31T15:30:00.000000Z\"` --> EntityTypes created or updated after 2020-
4916
+ # 01-31T15:30:00.000000Z. * `labels.active = yes AND labels.env = prod` -->
4917
+ # Features having both (active: yes) and (env: prod) labels. * `labels.env: *` --
4918
+ # > Any Feature which has a label with 'env' as the key.
4919
+ # @param [Fixnum] latest_stats_count
4920
+ # If set, return the most recent ListFeaturesRequest.latest_stats_count of stats
4921
+ # for each Feature in response. Valid value is [0, 10]. If number of stats
4922
+ # exists < ListFeaturesRequest.latest_stats_count, return all existing stats.
4923
+ # @param [String] order_by
4924
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
4925
+ # desc" after a field name for descending. Supported fields: * `feature_id` * `
4926
+ # value_type` (Not supported for FeatureRegistry Feature) * `create_time` * `
4927
+ # update_time`
4928
+ # @param [Fixnum] page_size
4929
+ # The maximum number of Features to return. The service may return fewer than
4930
+ # this value. If unspecified, at most 1000 Features will be returned. The
4931
+ # maximum value is 1000; any value greater than 1000 will be coerced to 1000.
4932
+ # @param [String] page_token
4933
+ # A page token, received from a previous FeaturestoreService.ListFeatures call.
4934
+ # Provide this to retrieve the subsequent page. When paginating, all other
4935
+ # parameters provided to FeaturestoreService.ListFeatures must match the call
4936
+ # that provided the page token.
4937
+ # @param [String] read_mask
4938
+ # Mask specifying which fields to read.
4939
+ # @param [String] fields
4940
+ # Selector specifying which fields to include in a partial response.
4941
+ # @param [String] quota_user
4942
+ # Available to use for quota purposes for server-side applications. Can be any
4943
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4944
+ # @param [Google::Apis::RequestOptions] options
4945
+ # Request-specific options
4946
+ #
4947
+ # @yield [result, err] Result & error if block supplied
4948
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeaturesResponse] parsed result object
4949
+ # @yieldparam err [StandardError] error object if request failed
4950
+ #
4951
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeaturesResponse]
4952
+ #
4953
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4954
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4955
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
4956
+ def list_project_location_feature_group_features(parent, filter: nil, latest_stats_count: nil, order_by: nil, page_size: nil, page_token: nil, read_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
4957
+ command = make_simple_command(:get, 'v1beta1/{+parent}/features', options)
4958
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeaturesResponse::Representation
4959
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeaturesResponse
4960
+ command.params['parent'] = parent unless parent.nil?
4961
+ command.query['filter'] = filter unless filter.nil?
4962
+ command.query['latestStatsCount'] = latest_stats_count unless latest_stats_count.nil?
4963
+ command.query['orderBy'] = order_by unless order_by.nil?
4964
+ command.query['pageSize'] = page_size unless page_size.nil?
4965
+ command.query['pageToken'] = page_token unless page_token.nil?
4966
+ command.query['readMask'] = read_mask unless read_mask.nil?
4967
+ command.query['fields'] = fields unless fields.nil?
4968
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
4969
+ execute_or_queue_command(command, &block)
4970
+ end
4971
+
4972
+ # Updates the parameters of a single Feature.
4973
+ # @param [String] name
4974
+ # Immutable. Name of the Feature. Format: `projects/`project`/locations/`
4975
+ # location`/featurestores/`featurestore`/entityTypes/`entity_type`/features/`
4976
+ # feature`` The last part feature is assigned by the client. The feature can be
4977
+ # up to 64 characters long and can consist only of ASCII Latin letters A-Z and a-
4978
+ # z, underscore(_), and ASCII digits 0-9 starting with a letter. The value will
4979
+ # be unique given an entity type.
4980
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature] google_cloud_aiplatform_v1beta1_feature_object
4981
+ # @param [String] update_mask
4982
+ # Field mask is used to specify the fields to be overwritten in the Features
4983
+ # resource by the update. The fields specified in the update_mask are relative
4984
+ # to the resource, not the full request. A field will be overwritten if it is in
4985
+ # the mask. If the user does not provide a mask then only the non-empty fields
4986
+ # present in the request will be overwritten. Set the update_mask to `*` to
4987
+ # override all fields. Updatable fields: * `description` * `labels` * `
4988
+ # disable_monitoring`
4989
+ # @param [String] fields
4990
+ # Selector specifying which fields to include in a partial response.
4991
+ # @param [String] quota_user
4992
+ # Available to use for quota purposes for server-side applications. Can be any
4993
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
4994
+ # @param [Google::Apis::RequestOptions] options
4995
+ # Request-specific options
4996
+ #
4997
+ # @yield [result, err] Result & error if block supplied
4998
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4999
+ # @yieldparam err [StandardError] error object if request failed
5000
+ #
5001
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5002
+ #
5003
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5004
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5005
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5006
+ def patch_project_location_feature_group_feature(name, google_cloud_aiplatform_v1beta1_feature_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5007
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
5008
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature::Representation
5009
+ command.request_object = google_cloud_aiplatform_v1beta1_feature_object
5010
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
5011
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5012
+ command.params['name'] = name unless name.nil?
5013
+ command.query['updateMask'] = update_mask unless update_mask.nil?
5014
+ command.query['fields'] = fields unless fields.nil?
5015
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5016
+ execute_or_queue_command(command, &block)
5017
+ end
5018
+
5019
+ # Deletes a long-running operation. This method indicates that the client is no
5020
+ # longer interested in the operation result. It does not cancel the operation.
5021
+ # If the server doesn't support this method, it returns `google.rpc.Code.
5022
+ # UNIMPLEMENTED`.
5023
+ # @param [String] name
5024
+ # The name of the operation resource to be deleted.
5025
+ # @param [String] fields
5026
+ # Selector specifying which fields to include in a partial response.
5027
+ # @param [String] quota_user
5028
+ # Available to use for quota purposes for server-side applications. Can be any
5029
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5030
+ # @param [Google::Apis::RequestOptions] options
5031
+ # Request-specific options
5032
+ #
5033
+ # @yield [result, err] Result & error if block supplied
5034
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
5035
+ # @yieldparam err [StandardError] error object if request failed
5036
+ #
5037
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
5038
+ #
5039
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5040
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5041
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5042
+ def delete_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5043
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
5044
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
5045
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
5046
+ command.params['name'] = name unless name.nil?
5047
+ command.query['fields'] = fields unless fields.nil?
5048
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5049
+ execute_or_queue_command(command, &block)
5050
+ end
5051
+
5052
+ # Gets the latest state of a long-running operation. Clients can use this method
5053
+ # to poll the operation result at intervals as recommended by the API service.
5054
+ # @param [String] name
5055
+ # The name of the operation resource.
5056
+ # @param [String] fields
5057
+ # Selector specifying which fields to include in a partial response.
5058
+ # @param [String] quota_user
5059
+ # Available to use for quota purposes for server-side applications. Can be any
5060
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5061
+ # @param [Google::Apis::RequestOptions] options
5062
+ # Request-specific options
5063
+ #
5064
+ # @yield [result, err] Result & error if block supplied
5065
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5066
+ # @yieldparam err [StandardError] error object if request failed
5067
+ #
5068
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5069
+ #
5070
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5071
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5072
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5073
+ def get_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5074
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
5075
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
5076
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5077
+ command.params['name'] = name unless name.nil?
5078
+ command.query['fields'] = fields unless fields.nil?
5079
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5080
+ execute_or_queue_command(command, &block)
5081
+ end
5082
+
5083
+ # Lists operations that match the specified filter in the request. If the server
5084
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
5085
+ # @param [String] name
5086
+ # The name of the operation's parent resource.
5087
+ # @param [String] filter
5088
+ # The standard list filter.
5089
+ # @param [Fixnum] page_size
5090
+ # The standard list page size.
5091
+ # @param [String] page_token
5092
+ # The standard list page token.
5093
+ # @param [String] fields
5094
+ # Selector specifying which fields to include in a partial response.
5095
+ # @param [String] quota_user
5096
+ # Available to use for quota purposes for server-side applications. Can be any
5097
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5098
+ # @param [Google::Apis::RequestOptions] options
5099
+ # Request-specific options
5100
+ #
5101
+ # @yield [result, err] Result & error if block supplied
5102
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
5103
+ # @yieldparam err [StandardError] error object if request failed
5104
+ #
5105
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
5106
+ #
5107
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5108
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5109
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5110
+ def list_project_location_feature_group_feature_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5111
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
5112
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
5113
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
5114
+ command.params['name'] = name unless name.nil?
5115
+ command.query['filter'] = filter unless filter.nil?
5116
+ command.query['pageSize'] = page_size unless page_size.nil?
5117
+ command.query['pageToken'] = page_token unless page_token.nil?
5118
+ command.query['fields'] = fields unless fields.nil?
5119
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5120
+ execute_or_queue_command(command, &block)
5121
+ end
5122
+
5123
+ # Waits until the specified long-running operation is done or reaches at most a
5124
+ # specified timeout, returning the latest state. If the operation is already
5125
+ # done, the latest state is immediately returned. If the timeout specified is
5126
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
5127
+ # the server does not support this method, it returns `google.rpc.Code.
5128
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
5129
+ # the latest state before the specified timeout (including immediately), meaning
5130
+ # even an immediate response is no guarantee that the operation is done.
5131
+ # @param [String] name
5132
+ # The name of the operation resource to wait on.
5133
+ # @param [String] timeout
5134
+ # The maximum duration to wait before timing out. If left blank, the wait will
5135
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
5136
+ # context deadline is also specified, the shorter one will be used.
5137
+ # @param [String] fields
5138
+ # Selector specifying which fields to include in a partial response.
5139
+ # @param [String] quota_user
5140
+ # Available to use for quota purposes for server-side applications. Can be any
5141
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5142
+ # @param [Google::Apis::RequestOptions] options
5143
+ # Request-specific options
5144
+ #
5145
+ # @yield [result, err] Result & error if block supplied
5146
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5147
+ # @yieldparam err [StandardError] error object if request failed
5148
+ #
5149
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5150
+ #
5151
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5152
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5153
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5154
+ def wait_project_location_feature_group_feature_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
5155
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
5156
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
5157
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5158
+ command.params['name'] = name unless name.nil?
5159
+ command.query['timeout'] = timeout unless timeout.nil?
5160
+ command.query['fields'] = fields unless fields.nil?
5161
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5162
+ execute_or_queue_command(command, &block)
5163
+ end
5164
+
5165
+ # Deletes a long-running operation. This method indicates that the client is no
5166
+ # longer interested in the operation result. It does not cancel the operation.
5167
+ # If the server doesn't support this method, it returns `google.rpc.Code.
5168
+ # UNIMPLEMENTED`.
5169
+ # @param [String] name
5170
+ # The name of the operation resource to be deleted.
5171
+ # @param [String] fields
5172
+ # Selector specifying which fields to include in a partial response.
5173
+ # @param [String] quota_user
5174
+ # Available to use for quota purposes for server-side applications. Can be any
5175
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5176
+ # @param [Google::Apis::RequestOptions] options
5177
+ # Request-specific options
5178
+ #
5179
+ # @yield [result, err] Result & error if block supplied
5180
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
5181
+ # @yieldparam err [StandardError] error object if request failed
5182
+ #
5183
+ # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
5184
+ #
5185
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5186
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5187
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5188
+ def delete_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5189
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
5190
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
5191
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
5192
+ command.params['name'] = name unless name.nil?
5193
+ command.query['fields'] = fields unless fields.nil?
5194
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5195
+ execute_or_queue_command(command, &block)
5196
+ end
5197
+
5198
+ # Gets the latest state of a long-running operation. Clients can use this method
5199
+ # to poll the operation result at intervals as recommended by the API service.
5200
+ # @param [String] name
5201
+ # The name of the operation resource.
5202
+ # @param [String] fields
5203
+ # Selector specifying which fields to include in a partial response.
5204
+ # @param [String] quota_user
5205
+ # Available to use for quota purposes for server-side applications. Can be any
5206
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5207
+ # @param [Google::Apis::RequestOptions] options
5208
+ # Request-specific options
5209
+ #
5210
+ # @yield [result, err] Result & error if block supplied
5211
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5212
+ # @yieldparam err [StandardError] error object if request failed
5213
+ #
5214
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5215
+ #
5216
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5217
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5218
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5219
+ def get_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5220
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
5221
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
5222
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5223
+ command.params['name'] = name unless name.nil?
5224
+ command.query['fields'] = fields unless fields.nil?
5225
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5226
+ execute_or_queue_command(command, &block)
5227
+ end
5228
+
5229
+ # Lists operations that match the specified filter in the request. If the server
5230
+ # doesn't support this method, it returns `UNIMPLEMENTED`.
5231
+ # @param [String] name
5232
+ # The name of the operation's parent resource.
5233
+ # @param [String] filter
5234
+ # The standard list filter.
5235
+ # @param [Fixnum] page_size
5236
+ # The standard list page size.
5237
+ # @param [String] page_token
5238
+ # The standard list page token.
5239
+ # @param [String] fields
5240
+ # Selector specifying which fields to include in a partial response.
5241
+ # @param [String] quota_user
5242
+ # Available to use for quota purposes for server-side applications. Can be any
5243
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5244
+ # @param [Google::Apis::RequestOptions] options
5245
+ # Request-specific options
5246
+ #
5247
+ # @yield [result, err] Result & error if block supplied
5248
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
5249
+ # @yieldparam err [StandardError] error object if request failed
5250
+ #
5251
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
5252
+ #
5253
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5254
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5255
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5256
+ def list_project_location_feature_group_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5257
+ command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
5258
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
5259
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
5260
+ command.params['name'] = name unless name.nil?
5261
+ command.query['filter'] = filter unless filter.nil?
5262
+ command.query['pageSize'] = page_size unless page_size.nil?
5263
+ command.query['pageToken'] = page_token unless page_token.nil?
5264
+ command.query['fields'] = fields unless fields.nil?
5265
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5266
+ execute_or_queue_command(command, &block)
5267
+ end
5268
+
5269
+ # Waits until the specified long-running operation is done or reaches at most a
5270
+ # specified timeout, returning the latest state. If the operation is already
5271
+ # done, the latest state is immediately returned. If the timeout specified is
5272
+ # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
5273
+ # the server does not support this method, it returns `google.rpc.Code.
5274
+ # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
5275
+ # the latest state before the specified timeout (including immediately), meaning
5276
+ # even an immediate response is no guarantee that the operation is done.
5277
+ # @param [String] name
5278
+ # The name of the operation resource to wait on.
5279
+ # @param [String] timeout
5280
+ # The maximum duration to wait before timing out. If left blank, the wait will
5281
+ # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
5282
+ # context deadline is also specified, the shorter one will be used.
5283
+ # @param [String] fields
5284
+ # Selector specifying which fields to include in a partial response.
5285
+ # @param [String] quota_user
5286
+ # Available to use for quota purposes for server-side applications. Can be any
5287
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5288
+ # @param [Google::Apis::RequestOptions] options
5289
+ # Request-specific options
5290
+ #
5291
+ # @yield [result, err] Result & error if block supplied
5292
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5293
+ # @yieldparam err [StandardError] error object if request failed
5294
+ #
5295
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5296
+ #
5297
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5298
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5299
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5300
+ def wait_project_location_feature_group_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
5301
+ command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
5302
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
5303
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5304
+ command.params['name'] = name unless name.nil?
5305
+ command.query['timeout'] = timeout unless timeout.nil?
5306
+ command.query['fields'] = fields unless fields.nil?
5307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5308
+ execute_or_queue_command(command, &block)
5309
+ end
5310
+
5311
+ # Creates a new FeatureOnlineStore in a given project and location.
5312
+ # @param [String] parent
5313
+ # Required. The resource name of the Location to create FeatureOnlineStores.
5314
+ # Format: `projects/`project`/locations/`location`'`
5315
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore] google_cloud_aiplatform_v1beta1_feature_online_store_object
5316
+ # @param [String] feature_online_store_id
5317
+ # Required. The ID to use for this FeatureOnlineStore, which will become the
5318
+ # final component of the FeatureOnlineStore's resource name. This value may be
5319
+ # up to 60 characters, and valid characters are `[a-z0-9_]`. The first character
5320
+ # cannot be a number. The value must be unique within the project and location.
5321
+ # @param [String] fields
5322
+ # Selector specifying which fields to include in a partial response.
5323
+ # @param [String] quota_user
5324
+ # Available to use for quota purposes for server-side applications. Can be any
5325
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5326
+ # @param [Google::Apis::RequestOptions] options
5327
+ # Request-specific options
5328
+ #
5329
+ # @yield [result, err] Result & error if block supplied
5330
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5331
+ # @yieldparam err [StandardError] error object if request failed
5332
+ #
5333
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5334
+ #
5335
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5336
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5337
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5338
+ def create_project_location_feature_online_store(parent, google_cloud_aiplatform_v1beta1_feature_online_store_object = nil, feature_online_store_id: nil, fields: nil, quota_user: nil, options: nil, &block)
5339
+ command = make_simple_command(:post, 'v1beta1/{+parent}/featureOnlineStores', options)
5340
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore::Representation
5341
+ command.request_object = google_cloud_aiplatform_v1beta1_feature_online_store_object
5342
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
5343
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5344
+ command.params['parent'] = parent unless parent.nil?
5345
+ command.query['featureOnlineStoreId'] = feature_online_store_id unless feature_online_store_id.nil?
5346
+ command.query['fields'] = fields unless fields.nil?
5347
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5348
+ execute_or_queue_command(command, &block)
5349
+ end
5350
+
5351
+ # Deletes a single FeatureOnlineStore. The FeatureOnlineStore must not contain
5352
+ # any FeatureViews.
5353
+ # @param [String] name
5354
+ # Required. The name of the FeatureOnlineStore to be deleted. Format: `projects/`
5355
+ # project`/locations/`location`/featureOnlineStores/`feature_online_store``
5356
+ # @param [Boolean] force
5357
+ # If set to true, any FeatureViews and Features for this FeatureOnlineStore will
5358
+ # also be deleted. (Otherwise, the request will only work if the
5359
+ # FeatureOnlineStore has no FeatureViews.)
5360
+ # @param [String] fields
5361
+ # Selector specifying which fields to include in a partial response.
5362
+ # @param [String] quota_user
5363
+ # Available to use for quota purposes for server-side applications. Can be any
5364
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5365
+ # @param [Google::Apis::RequestOptions] options
5366
+ # Request-specific options
5367
+ #
5368
+ # @yield [result, err] Result & error if block supplied
5369
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5370
+ # @yieldparam err [StandardError] error object if request failed
5371
+ #
5372
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5373
+ #
5374
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5375
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5376
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5377
+ def delete_project_location_feature_online_store(name, force: nil, fields: nil, quota_user: nil, options: nil, &block)
5378
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
5379
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
5380
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5381
+ command.params['name'] = name unless name.nil?
5382
+ command.query['force'] = force unless force.nil?
5383
+ command.query['fields'] = fields unless fields.nil?
5384
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5385
+ execute_or_queue_command(command, &block)
5386
+ end
5387
+
5388
+ # Gets details of a single FeatureOnlineStore.
5389
+ # @param [String] name
5390
+ # Required. The name of the FeatureOnlineStore resource.
5391
+ # @param [String] fields
5392
+ # Selector specifying which fields to include in a partial response.
5393
+ # @param [String] quota_user
5394
+ # Available to use for quota purposes for server-side applications. Can be any
5395
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5396
+ # @param [Google::Apis::RequestOptions] options
5397
+ # Request-specific options
5398
+ #
5399
+ # @yield [result, err] Result & error if block supplied
5400
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore] parsed result object
5401
+ # @yieldparam err [StandardError] error object if request failed
5402
+ #
5403
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore]
5404
+ #
5405
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5406
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5407
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5408
+ def get_project_location_feature_online_store(name, fields: nil, quota_user: nil, options: nil, &block)
5409
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
5410
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore::Representation
5411
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore
5412
+ command.params['name'] = name unless name.nil?
5413
+ command.query['fields'] = fields unless fields.nil?
5414
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5415
+ execute_or_queue_command(command, &block)
5416
+ end
5417
+
5418
+ # Lists FeatureOnlineStores in a given project and location.
5419
+ # @param [String] parent
5420
+ # Required. The resource name of the Location to list FeatureOnlineStores.
5421
+ # Format: `projects/`project`/locations/`location``
5422
+ # @param [String] filter
5423
+ # Lists the FeatureOnlineStores that match the filter expression. The following
5424
+ # fields are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and
5425
+ # `>=` comparisons. Values must be in RFC 3339 format. * `update_time`: Supports
5426
+ # `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. Values must be in RFC 3339
5427
+ # format. * `labels`: Supports key-value equality and key presence. Examples: * `
5428
+ # create_time > "2020-01-01" OR update_time > "2020-01-01"` FeatureOnlineStores
5429
+ # created or updated after 2020-01-01. * `labels.env = "prod"`
5430
+ # FeatureOnlineStores with label "env" set to "prod".
5431
+ # @param [String] order_by
5432
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
5433
+ # desc" after a field name for descending. Supported Fields: * `create_time` * `
5434
+ # update_time`
5435
+ # @param [Fixnum] page_size
5436
+ # The maximum number of FeatureOnlineStores to return. The service may return
5437
+ # fewer than this value. If unspecified, at most 100 FeatureOnlineStores will be
5438
+ # returned. The maximum value is 100; any value greater than 100 will be coerced
5439
+ # to 100.
5440
+ # @param [String] page_token
5441
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
5442
+ # ListFeatureOnlineStores call. Provide this to retrieve the subsequent page.
5443
+ # When paginating, all other parameters provided to
5444
+ # FeatureOnlineStoreAdminService.ListFeatureOnlineStores must match the call
5445
+ # that provided the page token.
5446
+ # @param [String] fields
5447
+ # Selector specifying which fields to include in a partial response.
5448
+ # @param [String] quota_user
5449
+ # Available to use for quota purposes for server-side applications. Can be any
5450
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
5451
+ # @param [Google::Apis::RequestOptions] options
5452
+ # Request-specific options
5453
+ #
5454
+ # @yield [result, err] Result & error if block supplied
5455
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponse] parsed result object
5456
+ # @yieldparam err [StandardError] error object if request failed
5457
+ #
5458
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponse]
5459
+ #
5460
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
5461
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
5462
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
5463
+ def list_project_location_feature_online_stores(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5464
+ command = make_simple_command(:get, 'v1beta1/{+parent}/featureOnlineStores', options)
5465
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponse::Representation
5466
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureOnlineStoresResponse
5467
+ command.params['parent'] = parent unless parent.nil?
5468
+ command.query['filter'] = filter unless filter.nil?
5469
+ command.query['orderBy'] = order_by unless order_by.nil?
5470
+ command.query['pageSize'] = page_size unless page_size.nil?
5471
+ command.query['pageToken'] = page_token unless page_token.nil?
5472
+ command.query['fields'] = fields unless fields.nil?
5473
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
5474
+ execute_or_queue_command(command, &block)
5475
+ end
5476
+
5477
+ # Updates the parameters of a single FeatureOnlineStore.
4304
5478
  # @param [String] name
4305
- # The name of the operation resource.
5479
+ # Output only. Name of the FeatureOnlineStore. Format: `projects/`project`/
5480
+ # locations/`location`/featureOnlineStores/`featureOnlineStore``
5481
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore] google_cloud_aiplatform_v1beta1_feature_online_store_object
5482
+ # @param [String] update_mask
5483
+ # Field mask is used to specify the fields to be overwritten in the
5484
+ # FeatureOnlineStore resource by the update. The fields specified in the
5485
+ # update_mask are relative to the resource, not the full request. A field will
5486
+ # be overwritten if it is in the mask. If the user does not provide a mask then
5487
+ # only the non-empty fields present in the request will be overwritten. Set the
5488
+ # update_mask to `*` to override all fields. Updatable fields: * `
5489
+ # big_query_source` * `labels` * `sync_config`
4306
5490
  # @param [String] fields
4307
5491
  # Selector specifying which fields to include in a partial response.
4308
5492
  # @param [String] quota_user
@@ -4320,26 +5504,33 @@ module Google
4320
5504
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4321
5505
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4322
5506
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4323
- def get_project_location_extension_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4324
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
5507
+ def patch_project_location_feature_online_store(name, google_cloud_aiplatform_v1beta1_feature_online_store_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5508
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
5509
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureOnlineStore::Representation
5510
+ command.request_object = google_cloud_aiplatform_v1beta1_feature_online_store_object
4325
5511
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4326
5512
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4327
5513
  command.params['name'] = name unless name.nil?
5514
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4328
5515
  command.query['fields'] = fields unless fields.nil?
4329
5516
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4330
5517
  execute_or_queue_command(command, &block)
4331
5518
  end
4332
5519
 
4333
- # Lists operations that match the specified filter in the request. If the server
4334
- # doesn't support this method, it returns `UNIMPLEMENTED`.
4335
- # @param [String] name
4336
- # The name of the operation's parent resource.
4337
- # @param [String] filter
4338
- # The standard list filter.
4339
- # @param [Fixnum] page_size
4340
- # The standard list page size.
4341
- # @param [String] page_token
4342
- # The standard list page token.
5520
+ # Creates a new FeatureView in a given FeatureOnlineStore.
5521
+ # @param [String] parent
5522
+ # Required. The resource name of the FeatureOnlineStore to create FeatureViews.
5523
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
5524
+ # feature_online_store``
5525
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView] google_cloud_aiplatform_v1beta1_feature_view_object
5526
+ # @param [String] feature_view_id
5527
+ # Required. The ID to use for the FeatureView, which will become the final
5528
+ # component of the FeatureView's resource name. This value may be up to 60
5529
+ # characters, and valid characters are `[a-z0-9_]`. The first character cannot
5530
+ # be a number. The value must be unique within a FeatureOnlineStore.
5531
+ # @param [Boolean] run_sync_immediately
5532
+ # Immutable. If set to true, one on demand sync will be run immediately,
5533
+ # regardless whether the FeatureView.sync_config is configured or not.
4343
5534
  # @param [String] fields
4344
5535
  # Selector specifying which fields to include in a partial response.
4345
5536
  # @param [String] quota_user
@@ -4349,41 +5540,33 @@ module Google
4349
5540
  # Request-specific options
4350
5541
  #
4351
5542
  # @yield [result, err] Result & error if block supplied
4352
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
5543
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
4353
5544
  # @yieldparam err [StandardError] error object if request failed
4354
5545
  #
4355
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
5546
+ # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
4356
5547
  #
4357
5548
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4358
5549
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4359
5550
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4360
- def list_project_location_extension_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4361
- command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
4362
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
4363
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
4364
- command.params['name'] = name unless name.nil?
4365
- command.query['filter'] = filter unless filter.nil?
4366
- command.query['pageSize'] = page_size unless page_size.nil?
4367
- command.query['pageToken'] = page_token unless page_token.nil?
5551
+ def create_project_location_feature_online_store_feature_view(parent, google_cloud_aiplatform_v1beta1_feature_view_object = nil, feature_view_id: nil, run_sync_immediately: nil, fields: nil, quota_user: nil, options: nil, &block)
5552
+ command = make_simple_command(:post, 'v1beta1/{+parent}/featureViews', options)
5553
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView::Representation
5554
+ command.request_object = google_cloud_aiplatform_v1beta1_feature_view_object
5555
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
5556
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5557
+ command.params['parent'] = parent unless parent.nil?
5558
+ command.query['featureViewId'] = feature_view_id unless feature_view_id.nil?
5559
+ command.query['runSyncImmediately'] = run_sync_immediately unless run_sync_immediately.nil?
4368
5560
  command.query['fields'] = fields unless fields.nil?
4369
5561
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4370
5562
  execute_or_queue_command(command, &block)
4371
5563
  end
4372
5564
 
4373
- # Waits until the specified long-running operation is done or reaches at most a
4374
- # specified timeout, returning the latest state. If the operation is already
4375
- # done, the latest state is immediately returned. If the timeout specified is
4376
- # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4377
- # the server does not support this method, it returns `google.rpc.Code.
4378
- # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4379
- # the latest state before the specified timeout (including immediately), meaning
4380
- # even an immediate response is no guarantee that the operation is done.
5565
+ # Deletes a single FeatureView.
4381
5566
  # @param [String] name
4382
- # The name of the operation resource to wait on.
4383
- # @param [String] timeout
4384
- # The maximum duration to wait before timing out. If left blank, the wait will
4385
- # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4386
- # context deadline is also specified, the shorter one will be used.
5567
+ # Required. The name of the FeatureView to be deleted. Format: `projects/`
5568
+ # project`/locations/`location`/featureOnlineStores/`feature_online_store`/
5569
+ # featureViews/`feature_view``
4387
5570
  # @param [String] fields
4388
5571
  # Selector specifying which fields to include in a partial response.
4389
5572
  # @param [String] quota_user
@@ -4401,23 +5584,21 @@ module Google
4401
5584
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4402
5585
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4403
5586
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4404
- def wait_project_location_extension_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4405
- command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
5587
+ def delete_project_location_feature_online_store_feature_view(name, fields: nil, quota_user: nil, options: nil, &block)
5588
+ command = make_simple_command(:delete, 'v1beta1/{+name}', options)
4406
5589
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4407
5590
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4408
5591
  command.params['name'] = name unless name.nil?
4409
- command.query['timeout'] = timeout unless timeout.nil?
4410
5592
  command.query['fields'] = fields unless fields.nil?
4411
5593
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4412
5594
  execute_or_queue_command(command, &block)
4413
5595
  end
4414
5596
 
4415
- # Deletes a long-running operation. This method indicates that the client is no
4416
- # longer interested in the operation result. It does not cancel the operation.
4417
- # If the server doesn't support this method, it returns `google.rpc.Code.
4418
- # UNIMPLEMENTED`.
4419
- # @param [String] name
4420
- # The name of the operation resource to be deleted.
5597
+ # Fetch feature values under a FeatureView.
5598
+ # @param [String] feature_view
5599
+ # Required. FeatureView resource format `projects/`project`/locations/`location`/
5600
+ # featureOnlineStores/`featureOnlineStore`/featureViews/`featureView``
5601
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest] google_cloud_aiplatform_v1beta1_fetch_feature_values_request_object
4421
5602
  # @param [String] fields
4422
5603
  # Selector specifying which fields to include in a partial response.
4423
5604
  # @param [String] quota_user
@@ -4427,28 +5608,31 @@ module Google
4427
5608
  # Request-specific options
4428
5609
  #
4429
5610
  # @yield [result, err] Result & error if block supplied
4430
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
5611
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse] parsed result object
4431
5612
  # @yieldparam err [StandardError] error object if request failed
4432
5613
  #
4433
- # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
5614
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse]
4434
5615
  #
4435
5616
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4436
5617
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4437
5618
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4438
- def delete_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4439
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
4440
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
4441
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
4442
- command.params['name'] = name unless name.nil?
5619
+ def fetch_project_location_feature_online_store_feature_view_feature_values(feature_view, google_cloud_aiplatform_v1beta1_fetch_feature_values_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5620
+ command = make_simple_command(:post, 'v1beta1/{+featureView}:fetchFeatureValues', options)
5621
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesRequest::Representation
5622
+ command.request_object = google_cloud_aiplatform_v1beta1_fetch_feature_values_request_object
5623
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse::Representation
5624
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FetchFeatureValuesResponse
5625
+ command.params['featureView'] = feature_view unless feature_view.nil?
4443
5626
  command.query['fields'] = fields unless fields.nil?
4444
5627
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4445
5628
  execute_or_queue_command(command, &block)
4446
5629
  end
4447
5630
 
4448
- # Gets the latest state of a long-running operation. Clients can use this method
4449
- # to poll the operation result at intervals as recommended by the API service.
5631
+ # Gets details of a single FeatureView.
4450
5632
  # @param [String] name
4451
- # The name of the operation resource.
5633
+ # Required. The name of the FeatureView resource. Format: `projects/`project`/
5634
+ # locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
5635
+ # feature_view``
4452
5636
  # @param [String] fields
4453
5637
  # Selector specifying which fields to include in a partial response.
4454
5638
  # @param [String] quota_user
@@ -4458,34 +5642,53 @@ module Google
4458
5642
  # Request-specific options
4459
5643
  #
4460
5644
  # @yield [result, err] Result & error if block supplied
4461
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5645
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView] parsed result object
4462
5646
  # @yieldparam err [StandardError] error object if request failed
4463
5647
  #
4464
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5648
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView]
4465
5649
  #
4466
5650
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4467
5651
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4468
5652
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4469
- def get_project_location_feature_group_feature_operation(name, fields: nil, quota_user: nil, options: nil, &block)
5653
+ def get_project_location_feature_online_store_feature_view(name, fields: nil, quota_user: nil, options: nil, &block)
4470
5654
  command = make_simple_command(:get, 'v1beta1/{+name}', options)
4471
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4472
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
5655
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView::Representation
5656
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView
4473
5657
  command.params['name'] = name unless name.nil?
4474
5658
  command.query['fields'] = fields unless fields.nil?
4475
5659
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4476
5660
  execute_or_queue_command(command, &block)
4477
5661
  end
4478
5662
 
4479
- # Lists operations that match the specified filter in the request. If the server
4480
- # doesn't support this method, it returns `UNIMPLEMENTED`.
4481
- # @param [String] name
4482
- # The name of the operation's parent resource.
5663
+ # Lists FeatureViews in a given FeatureOnlineStore.
5664
+ # @param [String] parent
5665
+ # Required. The resource name of the FeatureOnlineStore to list FeatureViews.
5666
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
5667
+ # feature_online_store``
4483
5668
  # @param [String] filter
4484
- # The standard list filter.
5669
+ # Lists the FeatureViews that match the filter expression. The following filters
5670
+ # are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=`
5671
+ # comparisons. Values must be in RFC 3339 format. * `update_time`: Supports `=`,
5672
+ # `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339 format.
5673
+ # * `labels`: Supports key-value equality as well as key presence. Examples: * `
5674
+ # create_time > \"2020-01-31T15:30:00.000000Z\" OR update_time > \"2020-01-31T15:
5675
+ # 30:00.000000Z\"` --> FeatureViews created or updated after 2020-01-31T15:30:00.
5676
+ # 000000Z. * `labels.active = yes AND labels.env = prod` --> FeatureViews having
5677
+ # both (active: yes) and (env: prod) labels. * `labels.env: *` --> Any
5678
+ # FeatureView which has a label with 'env' as the key.
5679
+ # @param [String] order_by
5680
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
5681
+ # desc" after a field name for descending. Supported fields: * `feature_view_id`
5682
+ # * `create_time` * `update_time`
4485
5683
  # @param [Fixnum] page_size
4486
- # The standard list page size.
5684
+ # The maximum number of FeatureViews to return. The service may return fewer
5685
+ # than this value. If unspecified, at most 1000 FeatureViews will be returned.
5686
+ # The maximum value is 1000; any value greater than 1000 will be coerced to 1000.
4487
5687
  # @param [String] page_token
4488
- # The standard list page token.
5688
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
5689
+ # ListFeatureViews call. Provide this to retrieve the subsequent page. When
5690
+ # paginating, all other parameters provided to FeatureOnlineStoreAdminService.
5691
+ # ListFeatureViews must match the call that provided the page token.
4489
5692
  # @param [String] fields
4490
5693
  # Selector specifying which fields to include in a partial response.
4491
5694
  # @param [String] quota_user
@@ -4495,20 +5698,21 @@ module Google
4495
5698
  # Request-specific options
4496
5699
  #
4497
5700
  # @yield [result, err] Result & error if block supplied
4498
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
5701
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureViewsResponse] parsed result object
4499
5702
  # @yieldparam err [StandardError] error object if request failed
4500
5703
  #
4501
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
5704
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureViewsResponse]
4502
5705
  #
4503
5706
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4504
5707
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4505
5708
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4506
- def list_project_location_feature_group_feature_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4507
- command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
4508
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
4509
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
4510
- command.params['name'] = name unless name.nil?
5709
+ def list_project_location_feature_online_store_feature_views(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5710
+ command = make_simple_command(:get, 'v1beta1/{+parent}/featureViews', options)
5711
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureViewsResponse::Representation
5712
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureViewsResponse
5713
+ command.params['parent'] = parent unless parent.nil?
4511
5714
  command.query['filter'] = filter unless filter.nil?
5715
+ command.query['orderBy'] = order_by unless order_by.nil?
4512
5716
  command.query['pageSize'] = page_size unless page_size.nil?
4513
5717
  command.query['pageToken'] = page_token unless page_token.nil?
4514
5718
  command.query['fields'] = fields unless fields.nil?
@@ -4516,20 +5720,19 @@ module Google
4516
5720
  execute_or_queue_command(command, &block)
4517
5721
  end
4518
5722
 
4519
- # Waits until the specified long-running operation is done or reaches at most a
4520
- # specified timeout, returning the latest state. If the operation is already
4521
- # done, the latest state is immediately returned. If the timeout specified is
4522
- # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4523
- # the server does not support this method, it returns `google.rpc.Code.
4524
- # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4525
- # the latest state before the specified timeout (including immediately), meaning
4526
- # even an immediate response is no guarantee that the operation is done.
5723
+ # Updates the parameters of a single FeatureView.
4527
5724
  # @param [String] name
4528
- # The name of the operation resource to wait on.
4529
- # @param [String] timeout
4530
- # The maximum duration to wait before timing out. If left blank, the wait will
4531
- # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4532
- # context deadline is also specified, the shorter one will be used.
5725
+ # Output only. Name of the FeatureView. Format: `projects/`project`/locations/`
5726
+ # location`/featureOnlineStores/`feature_online_store`/featureViews/`
5727
+ # feature_view``
5728
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView] google_cloud_aiplatform_v1beta1_feature_view_object
5729
+ # @param [String] update_mask
5730
+ # Field mask is used to specify the fields to be overwritten in the FeatureView
5731
+ # resource by the update. The fields specified in the update_mask are relative
5732
+ # to the resource, not the full request. A field will be overwritten if it is in
5733
+ # the mask. If the user does not provide a mask then only the non-empty fields
5734
+ # present in the request will be overwritten. Set the update_mask to `*` to
5735
+ # override all fields. Updatable fields: * `labels`
4533
5736
  # @param [String] fields
4534
5737
  # Selector specifying which fields to include in a partial response.
4535
5738
  # @param [String] quota_user
@@ -4547,23 +5750,26 @@ module Google
4547
5750
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4548
5751
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4549
5752
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4550
- def wait_project_location_feature_group_feature_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4551
- command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
5753
+ def patch_project_location_feature_online_store_feature_view(name, google_cloud_aiplatform_v1beta1_feature_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
5754
+ command = make_simple_command(:patch, 'v1beta1/{+name}', options)
5755
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureView::Representation
5756
+ command.request_object = google_cloud_aiplatform_v1beta1_feature_view_object
4552
5757
  command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4553
5758
  command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4554
5759
  command.params['name'] = name unless name.nil?
4555
- command.query['timeout'] = timeout unless timeout.nil?
5760
+ command.query['updateMask'] = update_mask unless update_mask.nil?
4556
5761
  command.query['fields'] = fields unless fields.nil?
4557
5762
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4558
5763
  execute_or_queue_command(command, &block)
4559
5764
  end
4560
5765
 
4561
- # Deletes a long-running operation. This method indicates that the client is no
4562
- # longer interested in the operation result. It does not cancel the operation.
4563
- # If the server doesn't support this method, it returns `google.rpc.Code.
4564
- # UNIMPLEMENTED`.
4565
- # @param [String] name
4566
- # The name of the operation resource to be deleted.
5766
+ # Search the nearest entities under a FeatureView. Search only works for
5767
+ # indexable feature view; if a feature view isn't indexable, returns Invalid
5768
+ # argument response.
5769
+ # @param [String] feature_view
5770
+ # Required. FeatureView resource format `projects/`project`/locations/`location`/
5771
+ # featureOnlineStores/`featureOnlineStore`/featureViews/`featureView``
5772
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest] google_cloud_aiplatform_v1beta1_search_nearest_entities_request_object
4567
5773
  # @param [String] fields
4568
5774
  # Selector specifying which fields to include in a partial response.
4569
5775
  # @param [String] quota_user
@@ -4573,28 +5779,31 @@ module Google
4573
5779
  # Request-specific options
4574
5780
  #
4575
5781
  # @yield [result, err] Result & error if block supplied
4576
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty] parsed result object
5782
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse] parsed result object
4577
5783
  # @yieldparam err [StandardError] error object if request failed
4578
5784
  #
4579
- # @return [Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty]
5785
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse]
4580
5786
  #
4581
5787
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4582
5788
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4583
5789
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4584
- def delete_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4585
- command = make_simple_command(:delete, 'v1beta1/{+name}', options)
4586
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty::Representation
4587
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleProtobufEmpty
4588
- command.params['name'] = name unless name.nil?
5790
+ def search_project_location_feature_online_store_feature_view_nearest_entities(feature_view, google_cloud_aiplatform_v1beta1_search_nearest_entities_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5791
+ command = make_simple_command(:post, 'v1beta1/{+featureView}:searchNearestEntities', options)
5792
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchNearestEntitiesRequest::Representation
5793
+ command.request_object = google_cloud_aiplatform_v1beta1_search_nearest_entities_request_object
5794
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse::Representation
5795
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SearchNearestEntitiesResponse
5796
+ command.params['featureView'] = feature_view unless feature_view.nil?
4589
5797
  command.query['fields'] = fields unless fields.nil?
4590
5798
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4591
5799
  execute_or_queue_command(command, &block)
4592
5800
  end
4593
5801
 
4594
- # Gets the latest state of a long-running operation. Clients can use this method
4595
- # to poll the operation result at intervals as recommended by the API service.
4596
- # @param [String] name
4597
- # The name of the operation resource.
5802
+ # Triggers on-demand sync for the FeatureView.
5803
+ # @param [String] feature_view
5804
+ # Required. Format: `projects/`project`/locations/`location`/featureOnlineStores/
5805
+ # `feature_online_store`/featureViews/`feature_view``
5806
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyncFeatureViewRequest] google_cloud_aiplatform_v1beta1_sync_feature_view_request_object
4598
5807
  # @param [String] fields
4599
5808
  # Selector specifying which fields to include in a partial response.
4600
5809
  # @param [String] quota_user
@@ -4604,34 +5813,31 @@ module Google
4604
5813
  # Request-specific options
4605
5814
  #
4606
5815
  # @yield [result, err] Result & error if block supplied
4607
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5816
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyncFeatureViewResponse] parsed result object
4608
5817
  # @yieldparam err [StandardError] error object if request failed
4609
5818
  #
4610
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5819
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyncFeatureViewResponse]
4611
5820
  #
4612
5821
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4613
5822
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4614
5823
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4615
- def get_project_location_feature_group_operation(name, fields: nil, quota_user: nil, options: nil, &block)
4616
- command = make_simple_command(:get, 'v1beta1/{+name}', options)
4617
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4618
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4619
- command.params['name'] = name unless name.nil?
5824
+ def sync_project_location_feature_online_store_feature_view(feature_view, google_cloud_aiplatform_v1beta1_sync_feature_view_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
5825
+ command = make_simple_command(:post, 'v1beta1/{+featureView}:sync', options)
5826
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyncFeatureViewRequest::Representation
5827
+ command.request_object = google_cloud_aiplatform_v1beta1_sync_feature_view_request_object
5828
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyncFeatureViewResponse::Representation
5829
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SyncFeatureViewResponse
5830
+ command.params['featureView'] = feature_view unless feature_view.nil?
4620
5831
  command.query['fields'] = fields unless fields.nil?
4621
5832
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4622
5833
  execute_or_queue_command(command, &block)
4623
5834
  end
4624
5835
 
4625
- # Lists operations that match the specified filter in the request. If the server
4626
- # doesn't support this method, it returns `UNIMPLEMENTED`.
5836
+ # Gets details of a single FeatureViewSync.
4627
5837
  # @param [String] name
4628
- # The name of the operation's parent resource.
4629
- # @param [String] filter
4630
- # The standard list filter.
4631
- # @param [Fixnum] page_size
4632
- # The standard list page size.
4633
- # @param [String] page_token
4634
- # The standard list page token.
5838
+ # Required. The name of the FeatureViewSync resource. Format: `projects/`project`
5839
+ # /locations/`location`/featureOnlineStores/`feature_online_store`/featureViews/`
5840
+ # feature_view`/featureViewSyncs/`feature_view_sync``
4635
5841
  # @param [String] fields
4636
5842
  # Selector specifying which fields to include in a partial response.
4637
5843
  # @param [String] quota_user
@@ -4641,41 +5847,48 @@ module Google
4641
5847
  # Request-specific options
4642
5848
  #
4643
5849
  # @yield [result, err] Result & error if block supplied
4644
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse] parsed result object
5850
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSync] parsed result object
4645
5851
  # @yieldparam err [StandardError] error object if request failed
4646
5852
  #
4647
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse]
5853
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSync]
4648
5854
  #
4649
5855
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4650
5856
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4651
5857
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4652
- def list_project_location_feature_group_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
4653
- command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
4654
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse::Representation
4655
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningListOperationsResponse
5858
+ def get_project_location_feature_online_store_feature_view_feature_view_sync(name, fields: nil, quota_user: nil, options: nil, &block)
5859
+ command = make_simple_command(:get, 'v1beta1/{+name}', options)
5860
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSync::Representation
5861
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1FeatureViewSync
4656
5862
  command.params['name'] = name unless name.nil?
4657
- command.query['filter'] = filter unless filter.nil?
4658
- command.query['pageSize'] = page_size unless page_size.nil?
4659
- command.query['pageToken'] = page_token unless page_token.nil?
4660
5863
  command.query['fields'] = fields unless fields.nil?
4661
5864
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4662
5865
  execute_or_queue_command(command, &block)
4663
5866
  end
4664
5867
 
4665
- # Waits until the specified long-running operation is done or reaches at most a
4666
- # specified timeout, returning the latest state. If the operation is already
4667
- # done, the latest state is immediately returned. If the timeout specified is
4668
- # greater than the default HTTP/RPC timeout, the HTTP/RPC timeout is used. If
4669
- # the server does not support this method, it returns `google.rpc.Code.
4670
- # UNIMPLEMENTED`. Note that this method is on a best-effort basis. It may return
4671
- # the latest state before the specified timeout (including immediately), meaning
4672
- # even an immediate response is no guarantee that the operation is done.
4673
- # @param [String] name
4674
- # The name of the operation resource to wait on.
4675
- # @param [String] timeout
4676
- # The maximum duration to wait before timing out. If left blank, the wait will
4677
- # be at most the time permitted by the underlying HTTP/RPC protocol. If RPC
4678
- # context deadline is also specified, the shorter one will be used.
5868
+ # Lists FeatureViewSyncs in a given FeatureView.
5869
+ # @param [String] parent
5870
+ # Required. The resource name of the FeatureView to list FeatureViewSyncs.
5871
+ # Format: `projects/`project`/locations/`location`/featureOnlineStores/`
5872
+ # feature_online_store`/featureViews/`feature_view``
5873
+ # @param [String] filter
5874
+ # Lists the FeatureViewSyncs that match the filter expression. The following
5875
+ # filters are supported: * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`,
5876
+ # and `<=` comparisons. Values must be in RFC 3339 format. Examples: * `
5877
+ # create_time > \"2020-01-31T15:30:00.000000Z\"` --> FeatureViewSyncs created
5878
+ # after 2020-01-31T15:30:00.000000Z.
5879
+ # @param [String] order_by
5880
+ # A comma-separated list of fields to order by, sorted in ascending order. Use "
5881
+ # desc" after a field name for descending. Supported fields: * `create_time`
5882
+ # @param [Fixnum] page_size
5883
+ # The maximum number of FeatureViewSyncs to return. The service may return fewer
5884
+ # than this value. If unspecified, at most 1000 FeatureViewSyncs will be
5885
+ # returned. The maximum value is 1000; any value greater than 1000 will be
5886
+ # coerced to 1000.
5887
+ # @param [String] page_token
5888
+ # A page token, received from a previous FeatureOnlineStoreAdminService.
5889
+ # ListFeatureViewSyncs call. Provide this to retrieve the subsequent page. When
5890
+ # paginating, all other parameters provided to FeatureOnlineStoreAdminService.
5891
+ # ListFeatureViewSyncs must match the call that provided the page token.
4679
5892
  # @param [String] fields
4680
5893
  # Selector specifying which fields to include in a partial response.
4681
5894
  # @param [String] quota_user
@@ -4685,20 +5898,23 @@ module Google
4685
5898
  # Request-specific options
4686
5899
  #
4687
5900
  # @yield [result, err] Result & error if block supplied
4688
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation] parsed result object
5901
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse] parsed result object
4689
5902
  # @yieldparam err [StandardError] error object if request failed
4690
5903
  #
4691
- # @return [Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation]
5904
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse]
4692
5905
  #
4693
5906
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
4694
5907
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
4695
5908
  # @raise [Google::Apis::AuthorizationError] Authorization is required
4696
- def wait_project_location_feature_group_operation(name, timeout: nil, fields: nil, quota_user: nil, options: nil, &block)
4697
- command = make_simple_command(:post, 'v1beta1/{+name}:wait', options)
4698
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation::Representation
4699
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleLongrunningOperation
4700
- command.params['name'] = name unless name.nil?
4701
- command.query['timeout'] = timeout unless timeout.nil?
5909
+ def list_project_location_feature_online_store_feature_view_feature_view_syncs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
5910
+ command = make_simple_command(:get, 'v1beta1/{+parent}/featureViewSyncs', options)
5911
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse::Representation
5912
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListFeatureViewSyncsResponse
5913
+ command.params['parent'] = parent unless parent.nil?
5914
+ command.query['filter'] = filter unless filter.nil?
5915
+ command.query['orderBy'] = order_by unless order_by.nil?
5916
+ command.query['pageSize'] = page_size unless page_size.nil?
5917
+ command.query['pageToken'] = page_token unless page_token.nil?
4702
5918
  command.query['fields'] = fields unless fields.nil?
4703
5919
  command.query['quotaUser'] = quota_user unless quota_user.nil?
4704
5920
  execute_or_queue_command(command, &block)
@@ -6052,15 +7268,12 @@ module Google
6052
7268
 
6053
7269
  # Creates a new Feature in a given EntityType.
6054
7270
  # @param [String] parent
6055
- # Required. The resource name of the EntityType to create a Feature. Format: `
6056
- # projects/`project`/locations/`location`/featurestores/`featurestore`/
6057
- # entityTypes/`entity_type``
6058
7271
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Feature] google_cloud_aiplatform_v1beta1_feature_object
6059
7272
  # @param [String] feature_id
6060
7273
  # Required. The ID to use for the Feature, which will become the final component
6061
7274
  # of the Feature's resource name. This value may be up to 128 characters, and
6062
7275
  # valid characters are `[a-z0-9_]`. The first character cannot be a number. The
6063
- # value must be unique within an EntityType .
7276
+ # value must be unique within an EntityType/FeatureGroup.
6064
7277
  # @param [String] fields
6065
7278
  # Selector specifying which fields to include in a partial response.
6066
7279
  # @param [String] quota_user
@@ -6095,7 +7308,8 @@ module Google
6095
7308
  # @param [String] name
6096
7309
  # Required. The name of the Features to be deleted. Format: `projects/`project`/
6097
7310
  # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`/
6098
- # features/`feature``
7311
+ # features/`feature`` `projects/`project`/locations/`location`/featureGroups/`
7312
+ # feature_group`/features/`feature``
6099
7313
  # @param [String] fields
6100
7314
  # Selector specifying which fields to include in a partial response.
6101
7315
  # @param [String] quota_user
@@ -6126,7 +7340,8 @@ module Google
6126
7340
  # Gets details of a single Feature.
6127
7341
  # @param [String] name
6128
7342
  # Required. The name of the Feature resource. Format: `projects/`project`/
6129
- # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type``
7343
+ # locations/`location`/featurestores/`featurestore`/entityTypes/`entity_type`` `
7344
+ # projects/`project`/locations/`location`/featureGroups/`feature_group``
6130
7345
  # @param [String] fields
6131
7346
  # Selector specifying which fields to include in a partial response.
6132
7347
  # @param [String] quota_user
@@ -6158,7 +7373,8 @@ module Google
6158
7373
  # @param [String] parent
6159
7374
  # Required. The resource name of the Location to list Features. Format: `
6160
7375
  # projects/`project`/locations/`location`/featurestores/`featurestore`/
6161
- # entityTypes/`entity_type``
7376
+ # entityTypes/`entity_type`` `projects/`project`/locations/`location`/
7377
+ # featureGroups/`feature_group``
6162
7378
  # @param [String] filter
6163
7379
  # Lists the Features that match the filter expression. The following filters are
6164
7380
  # supported: * `value_type`: Supports = and != comparisons. * `create_time`:
@@ -11810,8 +13026,10 @@ module Google
11810
13026
  # Anonymous access: authenticates caller using VM identity JWT. Design doc: go/
11811
13027
  # colab-on-vertex-euc-dd
11812
13028
  # @param [String] name
11813
- # Required. The name of the NotebookRuntime resource. Format: `projects/`project`
11814
- # /locations/`location`/notebookRuntimes/`notebook_runtime``
13029
+ # Required. The name of the resource requesting the OAuth2 token. Format: `
13030
+ # projects/`project`/locations/`location`/notebookRuntimes/`notebook_runtime`` `
13031
+ # projects/`project`/locations/`location`/notebookExecutionJobs/`
13032
+ # notebook_execution_job``
11815
13033
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest] google_cloud_aiplatform_v1beta1_generate_access_token_request_object
11816
13034
  # @param [String] fields
11817
13035
  # Selector specifying which fields to include in a partial response.
@@ -11844,9 +13062,9 @@ module Google
11844
13062
 
11845
13063
  #
11846
13064
  # @param [String] name
11847
- # Required. The name of the NotebookRuntime resource. Format: `projects/`project`
11848
- # /locations/`location`/notebookRuntimes/`notebook_runtime``
11849
- # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest] google_cloud_aiplatform_v1beta1_report_runtime_event_request_object
13065
+ # Required. The name of the NotebookExecutionJob resource. Format: `projects/`
13066
+ # project`/locations/`location`/notebookExecutionJobs/`notebook_execution_jobs``
13067
+ # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportExecutionEventRequest] google_cloud_aiplatform_v1beta1_report_execution_event_request_object
11850
13068
  # @param [String] fields
11851
13069
  # Selector specifying which fields to include in a partial response.
11852
13070
  # @param [String] quota_user
@@ -11856,20 +13074,20 @@ module Google
11856
13074
  # Request-specific options
11857
13075
  #
11858
13076
  # @yield [result, err] Result & error if block supplied
11859
- # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse] parsed result object
13077
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportExecutionEventResponse] parsed result object
11860
13078
  # @yieldparam err [StandardError] error object if request failed
11861
13079
  #
11862
- # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse]
13080
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportExecutionEventResponse]
11863
13081
  #
11864
13082
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
11865
13083
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
11866
13084
  # @raise [Google::Apis::AuthorizationError] Authorization is required
11867
- def report_project_location_notebook_execution_job_event(name, google_cloud_aiplatform_v1beta1_report_runtime_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
13085
+ def report_project_location_notebook_execution_job_event(name, google_cloud_aiplatform_v1beta1_report_execution_event_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
11868
13086
  command = make_simple_command(:post, 'v1beta1/{+name}:reportEvent', options)
11869
- command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventRequest::Representation
11870
- command.request_object = google_cloud_aiplatform_v1beta1_report_runtime_event_request_object
11871
- command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse::Representation
11872
- command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportRuntimeEventResponse
13087
+ command.request_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportExecutionEventRequest::Representation
13088
+ command.request_object = google_cloud_aiplatform_v1beta1_report_execution_event_request_object
13089
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportExecutionEventResponse::Representation
13090
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ReportExecutionEventResponse
11873
13091
  command.params['name'] = name unless name.nil?
11874
13092
  command.query['fields'] = fields unless fields.nil?
11875
13093
  command.query['quotaUser'] = quota_user unless quota_user.nil?
@@ -12034,9 +13252,10 @@ module Google
12034
13252
  # NotebookRuntimeTemplate's resource name. * `display_name` supports = and != * `
12035
13253
  # labels` supports general map functions that is: * `labels.key=value` - key:
12036
13254
  # value equality * `labels.key:* or labels:key - key existence * A key including
12037
- # a space must be quoted. `labels."a key"`. Some examples: * `
13255
+ # a space must be quoted. `labels."a key"`. * `notebookRuntimeType` supports =
13256
+ # and !=. notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `
12038
13257
  # notebookRuntimeTemplate=notebookRuntimeTemplate123` * `displayName="
12039
- # myDisplayName"` * `labels.myKey="myValue"`
13258
+ # myDisplayName"` * `labels.myKey="myValue"` * `notebookRuntimeType=USER_DEFINED`
12040
13259
  # @param [String] order_by
12041
13260
  # Optional. A comma-separated list of fields to order by, sorted in ascending
12042
13261
  # order. Use "desc" after a field name for descending. Supported fields: * `
@@ -12232,8 +13451,10 @@ module Google
12232
13451
  # Anonymous access: authenticates caller using VM identity JWT. Design doc: go/
12233
13452
  # colab-on-vertex-euc-dd
12234
13453
  # @param [String] name
12235
- # Required. The name of the NotebookRuntime resource. Format: `projects/`project`
12236
- # /locations/`location`/notebookRuntimes/`notebook_runtime``
13454
+ # Required. The name of the resource requesting the OAuth2 token. Format: `
13455
+ # projects/`project`/locations/`location`/notebookRuntimes/`notebook_runtime`` `
13456
+ # projects/`project`/locations/`location`/notebookExecutionJobs/`
13457
+ # notebook_execution_job``
12237
13458
  # @param [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GenerateAccessTokenRequest] google_cloud_aiplatform_v1beta1_generate_access_token_request_object
12238
13459
  # @param [String] fields
12239
13460
  # Selector specifying which fields to include in a partial response.
@@ -12315,11 +13536,13 @@ module Google
12315
13536
  # UI only: `uiState` supports = and !=. uiState enum: [
12316
13537
  # UI_RESOURCE_STATE_UNSPECIFIED, UI_RESOURCE_STATE_BEING_CREATED,
12317
13538
  # UI_RESOURCE_STATE_ACTIVE, UI_RESOURCE_STATE_BEING_DELETED,
12318
- # UI_RESOURCE_STATE_CREATION_FAILED]. Some examples: * `notebookRuntime="
12319
- # notebookRuntime123"` * `displayName="myDisplayName"` and `displayName=~"
12320
- # myDisplayNameRegex"` * `notebookRuntimeTemplate="notebookRuntimeTemplate321"` *
12321
- # `healthState=HEALTHY` * `runtimeState=RUNNING` * `runtimeUser="test@google.
12322
- # com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED`
13539
+ # UI_RESOURCE_STATE_CREATION_FAILED]. * `notebookRuntimeType` supports = and !=.
13540
+ # notebookRuntimeType enum: [USER_DEFINED, ONE_CLICK]. Some examples: * `
13541
+ # notebookRuntime="notebookRuntime123"` * `displayName="myDisplayName"` and `
13542
+ # displayName=~"myDisplayNameRegex"` * `notebookRuntimeTemplate="
13543
+ # notebookRuntimeTemplate321"` * `healthState=HEALTHY` * `runtimeState=RUNNING` *
13544
+ # `runtimeUser="test@google.com"` * `uiState=UI_RESOURCE_STATE_BEING_DELETED` *
13545
+ # `notebookRuntimeType=USER_DEFINED`
12323
13546
  # @param [String] order_by
12324
13547
  # Optional. A comma-separated list of fields to order by, sorted in ascending
12325
13548
  # order. Use "desc" after a field name for descending. Supported fields: * `
@@ -17618,6 +18841,60 @@ module Google
17618
18841
  command.query['quotaUser'] = quota_user unless quota_user.nil?
17619
18842
  execute_or_queue_command(command, &block)
17620
18843
  end
18844
+
18845
+ # Lists publisher models in Model Garden.
18846
+ # @param [String] parent
18847
+ # Required. The name of the Publisher from which to list the PublisherModels.
18848
+ # Format: `publishers/`publisher``
18849
+ # @param [String] filter
18850
+ # Optional. The standard list filter.
18851
+ # @param [String] language_code
18852
+ # Optional. The IETF BCP-47 language code representing the language in which the
18853
+ # publisher models' text information should be written in (see go/bcp47). If not
18854
+ # set, by default English (en).
18855
+ # @param [String] order_by
18856
+ # Optional. A comma-separated list of fields to order by, sorted in ascending
18857
+ # order. Use "desc" after a field name for descending.
18858
+ # @param [Fixnum] page_size
18859
+ # Optional. The standard list page size.
18860
+ # @param [String] page_token
18861
+ # Optional. The standard list page token. Typically obtained via
18862
+ # ListPublisherModelsResponse.next_page_token of the previous ModelGardenService.
18863
+ # ListPublisherModels call.
18864
+ # @param [String] view
18865
+ # Optional. PublisherModel view specifying which fields to read.
18866
+ # @param [String] fields
18867
+ # Selector specifying which fields to include in a partial response.
18868
+ # @param [String] quota_user
18869
+ # Available to use for quota purposes for server-side applications. Can be any
18870
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
18871
+ # @param [Google::Apis::RequestOptions] options
18872
+ # Request-specific options
18873
+ #
18874
+ # @yield [result, err] Result & error if block supplied
18875
+ # @yieldparam result [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListPublisherModelsResponse] parsed result object
18876
+ # @yieldparam err [StandardError] error object if request failed
18877
+ #
18878
+ # @return [Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListPublisherModelsResponse]
18879
+ #
18880
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
18881
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
18882
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
18883
+ def list_publisher_models(parent, filter: nil, language_code: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
18884
+ command = make_simple_command(:get, 'v1beta1/{+parent}/models', options)
18885
+ command.response_representation = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListPublisherModelsResponse::Representation
18886
+ command.response_class = Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ListPublisherModelsResponse
18887
+ command.params['parent'] = parent unless parent.nil?
18888
+ command.query['filter'] = filter unless filter.nil?
18889
+ command.query['languageCode'] = language_code unless language_code.nil?
18890
+ command.query['orderBy'] = order_by unless order_by.nil?
18891
+ command.query['pageSize'] = page_size unless page_size.nil?
18892
+ command.query['pageToken'] = page_token unless page_token.nil?
18893
+ command.query['view'] = view unless view.nil?
18894
+ command.query['fields'] = fields unless fields.nil?
18895
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
18896
+ execute_or_queue_command(command, &block)
18897
+ end
17621
18898
 
17622
18899
  protected
17623
18900