1 | <?php
|
---|
2 | /*
|
---|
3 | * Copyright 2014 Google Inc.
|
---|
4 | *
|
---|
5 | * Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
---|
6 | * use this file except in compliance with the License. You may obtain a copy of
|
---|
7 | * the License at
|
---|
8 | *
|
---|
9 | * http://www.apache.org/licenses/LICENSE-2.0
|
---|
10 | *
|
---|
11 | * Unless required by applicable law or agreed to in writing, software
|
---|
12 | * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
---|
13 | * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
---|
14 | * License for the specific language governing permissions and limitations under
|
---|
15 | * the License.
|
---|
16 | */
|
---|
17 |
|
---|
18 | namespace Google\Service\Aiplatform\Resource;
|
---|
19 |
|
---|
20 | use Google\Service\Aiplatform\GoogleCloudAiplatformV1FeatureViewSync;
|
---|
21 | use Google\Service\Aiplatform\GoogleCloudAiplatformV1ListFeatureViewSyncsResponse;
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * The "featureViewSyncs" collection of methods.
|
---|
25 | * Typical usage is:
|
---|
26 | * <code>
|
---|
27 | * $aiplatformService = new Google\Service\Aiplatform(...);
|
---|
28 | * $featureViewSyncs = $aiplatformService->projects_locations_featureOnlineStores_featureViews_featureViewSyncs;
|
---|
29 | * </code>
|
---|
30 | */
|
---|
31 | class ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs extends \Google\Service\Resource
|
---|
32 | {
|
---|
33 | /**
|
---|
34 | * Gets details of a single FeatureViewSync. (featureViewSyncs.get)
|
---|
35 | *
|
---|
36 | * @param string $name Required. The name of the FeatureViewSync resource.
|
---|
37 | * Format: `projects/{project}/locations/{location}/featureOnlineStores/{feature
|
---|
38 | * _online_store}/featureViews/{feature_view}/featureViewSyncs/{feature_view_syn
|
---|
39 | * c}`
|
---|
40 | * @param array $optParams Optional parameters.
|
---|
41 | * @return GoogleCloudAiplatformV1FeatureViewSync
|
---|
42 | * @throws \Google\Service\Exception
|
---|
43 | */
|
---|
44 | public function get($name, $optParams = [])
|
---|
45 | {
|
---|
46 | $params = ['name' => $name];
|
---|
47 | $params = array_merge($params, $optParams);
|
---|
48 | return $this->call('get', [$params], GoogleCloudAiplatformV1FeatureViewSync::class);
|
---|
49 | }
|
---|
50 | /**
|
---|
51 | * Lists FeatureViewSyncs in a given FeatureView. (featureViewSyncs.listProjects
|
---|
52 | * LocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs)
|
---|
53 | *
|
---|
54 | * @param string $parent Required. The resource name of the FeatureView to list
|
---|
55 | * FeatureViewSyncs. Format: `projects/{project}/locations/{location}/featureOnl
|
---|
56 | * ineStores/{feature_online_store}/featureViews/{feature_view}`
|
---|
57 | * @param array $optParams Optional parameters.
|
---|
58 | *
|
---|
59 | * @opt_param string filter Lists the FeatureViewSyncs that match the filter
|
---|
60 | * expression. The following filters are supported: * `create_time`: Supports
|
---|
61 | * `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. Values must be in RFC 3339
|
---|
62 | * format. Examples: * `create_time > \"2020-01-31T15:30:00.000000Z\"` -->
|
---|
63 | * FeatureViewSyncs created after 2020-01-31T15:30:00.000000Z.
|
---|
64 | * @opt_param string orderBy A comma-separated list of fields to order by,
|
---|
65 | * sorted in ascending order. Use "desc" after a field name for descending.
|
---|
66 | * Supported fields: * `create_time`
|
---|
67 | * @opt_param int pageSize The maximum number of FeatureViewSyncs to return. The
|
---|
68 | * service may return fewer than this value. If unspecified, at most 1000
|
---|
69 | * FeatureViewSyncs will be returned. The maximum value is 1000; any value
|
---|
70 | * greater than 1000 will be coerced to 1000.
|
---|
71 | * @opt_param string pageToken A page token, received from a previous
|
---|
72 | * FeatureOnlineStoreAdminService.ListFeatureViewSyncs call. Provide this to
|
---|
73 | * retrieve the subsequent page. When paginating, all other parameters provided
|
---|
74 | * to FeatureOnlineStoreAdminService.ListFeatureViewSyncs must match the call
|
---|
75 | * that provided the page token.
|
---|
76 | * @return GoogleCloudAiplatformV1ListFeatureViewSyncsResponse
|
---|
77 | * @throws \Google\Service\Exception
|
---|
78 | */
|
---|
79 | public function listProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs($parent, $optParams = [])
|
---|
80 | {
|
---|
81 | $params = ['parent' => $parent];
|
---|
82 | $params = array_merge($params, $optParams);
|
---|
83 | return $this->call('list', [$params], GoogleCloudAiplatformV1ListFeatureViewSyncsResponse::class);
|
---|
84 | }
|
---|
85 | }
|
---|
86 |
|
---|
87 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
88 | class_alias(ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs::class, 'Google_Service_Aiplatform_Resource_ProjectsLocationsFeatureOnlineStoresFeatureViewsFeatureViewSyncs');
|
---|