google-cloud-ai_platform-v1 0.32.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +516 -0
- data/lib/google/cloud/ai_platform/v1/dataset_service/paths.rb +21 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/client.rb +1796 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/operations.rb +787 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service/paths.rb +111 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_admin_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +431 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/paths.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/client.rb +1498 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/operations.rb +787 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service/paths.rb +139 -0
- data/lib/google/cloud/ai_platform/v1/feature_registry_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +20 -7
- data/lib/google/cloud/ai_platform/v1/featurestore_service/paths.rb +53 -8
- data/lib/google/cloud/ai_platform/v1/job_service/paths.rb +17 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +2 -2
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +3 -0
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +9 -1
- data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +10 -0
- data/lib/google/cloud/aiplatform/v1/dataset_version_pb.rb +47 -0
- data/lib/google/cloud/aiplatform/v1/feature_group_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_pb.rb +79 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_admin_service_services_pb.rb +71 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_pb.rb +50 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +56 -0
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +44 -0
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_pb.rb +66 -0
- data/lib/google/cloud/aiplatform/v1/feature_registry_service_services_pb.rb +64 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/feature_view_sync_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +6 -0
- data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +99 -2
- data/proto_docs/google/cloud/aiplatform/v1/dataset_version.rb +48 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/feature.rb +21 -10
- data/proto_docs/google/cloud/aiplatform/v1/feature_group.rb +91 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store.rb +124 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_admin_service.rb +458 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +102 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_registry_service.rb +208 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view.rb +131 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_view_sync.rb +48 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +32 -7
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +58 -5
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +9 -5
- data/proto_docs/google/cloud/aiplatform/v1/machine_resources.rb +21 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +5 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +3 -1
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +28 -0
- data/proto_docs/google/cloud/aiplatform/v1/study.rb +75 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -2
- metadata +35 -2
@@ -0,0 +1,139 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://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,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AIPlatform
|
23
|
+
module V1
|
24
|
+
module FeatureRegistryService
|
25
|
+
# Path helper methods for the FeatureRegistryService API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified EntityType resource string.
|
29
|
+
#
|
30
|
+
# The resource will be in the following format:
|
31
|
+
#
|
32
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
33
|
+
#
|
34
|
+
# @param project [String]
|
35
|
+
# @param location [String]
|
36
|
+
# @param featurestore [String]
|
37
|
+
# @param entity_type [String]
|
38
|
+
#
|
39
|
+
# @return [::String]
|
40
|
+
def entity_type_path project:, location:, featurestore:, entity_type:
|
41
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
42
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
43
|
+
raise ::ArgumentError, "featurestore cannot contain /" if featurestore.to_s.include? "/"
|
44
|
+
|
45
|
+
"projects/#{project}/locations/#{location}/featurestores/#{featurestore}/entityTypes/#{entity_type}"
|
46
|
+
end
|
47
|
+
|
48
|
+
##
|
49
|
+
# Create a fully-qualified Feature resource string.
|
50
|
+
#
|
51
|
+
# @overload feature_path(project:, location:, featurestore:, entity_type:, feature:)
|
52
|
+
# The resource will be in the following format:
|
53
|
+
#
|
54
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
55
|
+
#
|
56
|
+
# @param project [String]
|
57
|
+
# @param location [String]
|
58
|
+
# @param featurestore [String]
|
59
|
+
# @param entity_type [String]
|
60
|
+
# @param feature [String]
|
61
|
+
#
|
62
|
+
# @overload feature_path(project:, location:, feature_group:, feature:)
|
63
|
+
# The resource will be in the following format:
|
64
|
+
#
|
65
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
66
|
+
#
|
67
|
+
# @param project [String]
|
68
|
+
# @param location [String]
|
69
|
+
# @param feature_group [String]
|
70
|
+
# @param feature [String]
|
71
|
+
#
|
72
|
+
# @return [::String]
|
73
|
+
def feature_path **args
|
74
|
+
resources = {
|
75
|
+
"entity_type:feature:featurestore:location:project" => (proc do |project:, location:, featurestore:, entity_type:, feature:|
|
76
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
77
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
78
|
+
raise ::ArgumentError, "featurestore cannot contain /" if featurestore.to_s.include? "/"
|
79
|
+
raise ::ArgumentError, "entity_type cannot contain /" if entity_type.to_s.include? "/"
|
80
|
+
|
81
|
+
"projects/#{project}/locations/#{location}/featurestores/#{featurestore}/entityTypes/#{entity_type}/features/#{feature}"
|
82
|
+
end),
|
83
|
+
"feature:feature_group:location:project" => (proc do |project:, location:, feature_group:, feature:|
|
84
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
85
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
86
|
+
raise ::ArgumentError, "feature_group cannot contain /" if feature_group.to_s.include? "/"
|
87
|
+
|
88
|
+
"projects/#{project}/locations/#{location}/featureGroups/#{feature_group}/features/#{feature}"
|
89
|
+
end)
|
90
|
+
}
|
91
|
+
|
92
|
+
resource = resources[args.keys.sort.join(":")]
|
93
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
94
|
+
resource.call(**args)
|
95
|
+
end
|
96
|
+
|
97
|
+
##
|
98
|
+
# Create a fully-qualified FeatureGroup resource string.
|
99
|
+
#
|
100
|
+
# The resource will be in the following format:
|
101
|
+
#
|
102
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
103
|
+
#
|
104
|
+
# @param project [String]
|
105
|
+
# @param location [String]
|
106
|
+
# @param feature_group [String]
|
107
|
+
#
|
108
|
+
# @return [::String]
|
109
|
+
def feature_group_path project:, location:, feature_group:
|
110
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
111
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
112
|
+
|
113
|
+
"projects/#{project}/locations/#{location}/featureGroups/#{feature_group}"
|
114
|
+
end
|
115
|
+
|
116
|
+
##
|
117
|
+
# Create a fully-qualified Location resource string.
|
118
|
+
#
|
119
|
+
# The resource will be in the following format:
|
120
|
+
#
|
121
|
+
# `projects/{project}/locations/{location}`
|
122
|
+
#
|
123
|
+
# @param project [String]
|
124
|
+
# @param location [String]
|
125
|
+
#
|
126
|
+
# @return [::String]
|
127
|
+
def location_path project:, location:
|
128
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
129
|
+
|
130
|
+
"projects/#{project}/locations/#{location}"
|
131
|
+
end
|
132
|
+
|
133
|
+
extend self
|
134
|
+
end
|
135
|
+
end
|
136
|
+
end
|
137
|
+
end
|
138
|
+
end
|
139
|
+
end
|
@@ -0,0 +1,51 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://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,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/ai_platform/v1/version"
|
24
|
+
|
25
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/credentials"
|
26
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/paths"
|
27
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/operations"
|
28
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module AIPlatform
|
33
|
+
module V1
|
34
|
+
##
|
35
|
+
# The service that handles CRUD and List for resources for
|
36
|
+
# FeatureRegistry.
|
37
|
+
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
39
|
+
#
|
40
|
+
# require "google/cloud/ai_platform/v1/feature_registry_service"
|
41
|
+
# client = ::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client.new
|
42
|
+
#
|
43
|
+
module FeatureRegistryService
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
helper_path = ::File.join __dir__, "feature_registry_service", "helpers.rb"
|
51
|
+
require "google/cloud/ai_platform/v1/feature_registry_service/helpers" if ::File.file? helper_path
|
@@ -1274,9 +1274,11 @@ module Google
|
|
1274
1274
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
1275
1275
|
#
|
1276
1276
|
# @param parent [::String]
|
1277
|
-
# Required. The resource name of the EntityType to create a
|
1278
|
-
# Format:
|
1277
|
+
# Required. The resource name of the EntityType or FeatureGroup to create a
|
1278
|
+
# Feature. Format for entity_type as parent:
|
1279
1279
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
1280
|
+
# Format for feature_group as parent:
|
1281
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
1280
1282
|
# @param feature [::Google::Cloud::AIPlatform::V1::Feature, ::Hash]
|
1281
1283
|
# Required. The Feature to create.
|
1282
1284
|
# @param feature_id [::String]
|
@@ -1286,7 +1288,7 @@ module Google
|
|
1286
1288
|
# This value may be up to 128 characters, and valid characters are
|
1287
1289
|
# `[a-z0-9_]`. The first character cannot be a number.
|
1288
1290
|
#
|
1289
|
-
# The value must be unique within an EntityType.
|
1291
|
+
# The value must be unique within an EntityType/FeatureGroup.
|
1290
1292
|
#
|
1291
1293
|
# @yield [response, operation] Access the result along with the RPC operation
|
1292
1294
|
# @yieldparam response [::Gapic::Operation]
|
@@ -1481,8 +1483,10 @@ module Google
|
|
1481
1483
|
#
|
1482
1484
|
# @param name [::String]
|
1483
1485
|
# Required. The name of the Feature resource.
|
1484
|
-
# Format:
|
1486
|
+
# Format for entity_type as parent:
|
1485
1487
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
1488
|
+
# Format for feature_group as parent:
|
1489
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
1486
1490
|
#
|
1487
1491
|
# @yield [response, operation] Access the result along with the RPC operation
|
1488
1492
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::Feature]
|
@@ -1568,8 +1572,10 @@ module Google
|
|
1568
1572
|
#
|
1569
1573
|
# @param parent [::String]
|
1570
1574
|
# Required. The resource name of the Location to list Features.
|
1571
|
-
# Format:
|
1575
|
+
# Format for entity_type as parent:
|
1572
1576
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}`
|
1577
|
+
# Format for feature_group as parent:
|
1578
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
1573
1579
|
# @param filter [::String]
|
1574
1580
|
# Lists the Features that match the filter expression. The following
|
1575
1581
|
# filters are supported:
|
@@ -1599,10 +1605,14 @@ module Google
|
|
1599
1605
|
# @param page_token [::String]
|
1600
1606
|
# A page token, received from a previous
|
1601
1607
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#list_features FeaturestoreService.ListFeatures}
|
1608
|
+
# call or
|
1609
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_features FeatureRegistryService.ListFeatures}
|
1602
1610
|
# call. Provide this to retrieve the subsequent page.
|
1603
1611
|
#
|
1604
1612
|
# When paginating, all other parameters provided to
|
1605
1613
|
# {::Google::Cloud::AIPlatform::V1::FeaturestoreService::Client#list_features FeaturestoreService.ListFeatures}
|
1614
|
+
# or or
|
1615
|
+
# {::Google::Cloud::AIPlatform::V1::FeatureRegistryService::Client#list_features FeatureRegistryService.ListFeatures}
|
1606
1616
|
# must match the call that provided the page token.
|
1607
1617
|
# @param order_by [::String]
|
1608
1618
|
# A comma-separated list of fields to order by, sorted in ascending order.
|
@@ -1610,12 +1620,13 @@ module Google
|
|
1610
1620
|
# Supported fields:
|
1611
1621
|
#
|
1612
1622
|
# * `feature_id`
|
1613
|
-
# * `value_type`
|
1623
|
+
# * `value_type` (Not supported for FeatureRegistry Feature)
|
1614
1624
|
# * `create_time`
|
1615
1625
|
# * `update_time`
|
1616
1626
|
# @param read_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1617
1627
|
# Mask specifying which fields to read.
|
1618
1628
|
# @param latest_stats_count [::Integer]
|
1629
|
+
# Only applicable for Vertex AI Feature Store (Legacy).
|
1619
1630
|
# If set, return the most recent
|
1620
1631
|
# {::Google::Cloud::AIPlatform::V1::ListFeaturesRequest#latest_stats_count ListFeaturesRequest.latest_stats_count}
|
1621
1632
|
# of stats for each Feature in response. Valid value is [0, 10]. If number of
|
@@ -1715,6 +1726,7 @@ module Google
|
|
1715
1726
|
# updated.
|
1716
1727
|
# Format:
|
1717
1728
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
1729
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
1718
1730
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
1719
1731
|
# Field mask is used to specify the fields to be overwritten in the
|
1720
1732
|
# Features resource by the update.
|
@@ -1728,7 +1740,7 @@ module Google
|
|
1728
1740
|
#
|
1729
1741
|
# * `description`
|
1730
1742
|
# * `labels`
|
1731
|
-
# * `disable_monitoring`
|
1743
|
+
# * `disable_monitoring` (Not supported for FeatureRegistry Feature)
|
1732
1744
|
#
|
1733
1745
|
# @yield [response, operation] Access the result along with the RPC operation
|
1734
1746
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::Feature]
|
@@ -1816,6 +1828,7 @@ module Google
|
|
1816
1828
|
# Required. The name of the Features to be deleted.
|
1817
1829
|
# Format:
|
1818
1830
|
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
1831
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
1819
1832
|
#
|
1820
1833
|
# @yield [response, operation] Access the result along with the RPC operation
|
1821
1834
|
# @yieldparam response [::Gapic::Operation]
|
@@ -48,24 +48,69 @@ module Google
|
|
48
48
|
##
|
49
49
|
# Create a fully-qualified Feature resource string.
|
50
50
|
#
|
51
|
+
# @overload feature_path(project:, location:, featurestore:, entity_type:, feature:)
|
52
|
+
# The resource will be in the following format:
|
53
|
+
#
|
54
|
+
# `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}`
|
55
|
+
#
|
56
|
+
# @param project [String]
|
57
|
+
# @param location [String]
|
58
|
+
# @param featurestore [String]
|
59
|
+
# @param entity_type [String]
|
60
|
+
# @param feature [String]
|
61
|
+
#
|
62
|
+
# @overload feature_path(project:, location:, feature_group:, feature:)
|
63
|
+
# The resource will be in the following format:
|
64
|
+
#
|
65
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}/features/{feature}`
|
66
|
+
#
|
67
|
+
# @param project [String]
|
68
|
+
# @param location [String]
|
69
|
+
# @param feature_group [String]
|
70
|
+
# @param feature [String]
|
71
|
+
#
|
72
|
+
# @return [::String]
|
73
|
+
def feature_path **args
|
74
|
+
resources = {
|
75
|
+
"entity_type:feature:featurestore:location:project" => (proc do |project:, location:, featurestore:, entity_type:, feature:|
|
76
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
77
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
78
|
+
raise ::ArgumentError, "featurestore cannot contain /" if featurestore.to_s.include? "/"
|
79
|
+
raise ::ArgumentError, "entity_type cannot contain /" if entity_type.to_s.include? "/"
|
80
|
+
|
81
|
+
"projects/#{project}/locations/#{location}/featurestores/#{featurestore}/entityTypes/#{entity_type}/features/#{feature}"
|
82
|
+
end),
|
83
|
+
"feature:feature_group:location:project" => (proc do |project:, location:, feature_group:, feature:|
|
84
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
85
|
+
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
86
|
+
raise ::ArgumentError, "feature_group cannot contain /" if feature_group.to_s.include? "/"
|
87
|
+
|
88
|
+
"projects/#{project}/locations/#{location}/featureGroups/#{feature_group}/features/#{feature}"
|
89
|
+
end)
|
90
|
+
}
|
91
|
+
|
92
|
+
resource = resources[args.keys.sort.join(":")]
|
93
|
+
raise ::ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
94
|
+
resource.call(**args)
|
95
|
+
end
|
96
|
+
|
97
|
+
##
|
98
|
+
# Create a fully-qualified FeatureGroup resource string.
|
99
|
+
#
|
51
100
|
# The resource will be in the following format:
|
52
101
|
#
|
53
|
-
# `projects/{project}/locations/{location}/
|
102
|
+
# `projects/{project}/locations/{location}/featureGroups/{feature_group}`
|
54
103
|
#
|
55
104
|
# @param project [String]
|
56
105
|
# @param location [String]
|
57
|
-
# @param
|
58
|
-
# @param entity_type [String]
|
59
|
-
# @param feature [String]
|
106
|
+
# @param feature_group [String]
|
60
107
|
#
|
61
108
|
# @return [::String]
|
62
|
-
def
|
109
|
+
def feature_group_path project:, location:, feature_group:
|
63
110
|
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
64
111
|
raise ::ArgumentError, "location cannot contain /" if location.to_s.include? "/"
|
65
|
-
raise ::ArgumentError, "featurestore cannot contain /" if featurestore.to_s.include? "/"
|
66
|
-
raise ::ArgumentError, "entity_type cannot contain /" if entity_type.to_s.include? "/"
|
67
112
|
|
68
|
-
"projects/#{project}/locations/#{location}/
|
113
|
+
"projects/#{project}/locations/#{location}/featureGroups/#{feature_group}"
|
69
114
|
end
|
70
115
|
|
71
116
|
##
|
@@ -297,6 +297,23 @@ module Google
|
|
297
297
|
"projects/#{project}/global/networks/#{network}"
|
298
298
|
end
|
299
299
|
|
300
|
+
##
|
301
|
+
# Create a fully-qualified NotificationChannel resource string.
|
302
|
+
#
|
303
|
+
# The resource will be in the following format:
|
304
|
+
#
|
305
|
+
# `projects/{project}/notificationChannels/{notification_channel}`
|
306
|
+
#
|
307
|
+
# @param project [String]
|
308
|
+
# @param notification_channel [String]
|
309
|
+
#
|
310
|
+
# @return [::String]
|
311
|
+
def notification_channel_path project:, notification_channel:
|
312
|
+
raise ::ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
313
|
+
|
314
|
+
"projects/#{project}/notificationChannels/#{notification_channel}"
|
315
|
+
end
|
316
|
+
|
300
317
|
##
|
301
318
|
# Create a fully-qualified Tensorboard resource string.
|
302
319
|
#
|
@@ -711,7 +711,7 @@ module Google
|
|
711
711
|
# generated.
|
712
712
|
#
|
713
713
|
# This value should be less than 128 characters, and valid characters
|
714
|
-
# are
|
714
|
+
# are `/[a-z][0-9]-/`.
|
715
715
|
#
|
716
716
|
# @yield [response, operation] Access the result along with the RPC operation
|
717
717
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::PipelineJob]
|
@@ -880,7 +880,7 @@ module Google
|
|
880
880
|
# final component of the Tensorboard experiment's resource name.
|
881
881
|
#
|
882
882
|
# This value should be 1-128 characters, and valid characters
|
883
|
-
# are
|
883
|
+
# are `/[a-z][0-9]-/`.
|
884
884
|
#
|
885
885
|
# @yield [response, operation] Access the result along with the RPC operation
|
886
886
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::TensorboardExperiment]
|
@@ -1362,7 +1362,7 @@ module Google
|
|
1362
1362
|
# component of the Tensorboard run's resource name.
|
1363
1363
|
#
|
1364
1364
|
# This value should be 1-128 characters, and valid characters
|
1365
|
-
# are
|
1365
|
+
# are `/[a-z][0-9]-/`.
|
1366
1366
|
#
|
1367
1367
|
# @yield [response, operation] Access the result along with the RPC operation
|
1368
1368
|
# @yieldparam response [::Google::Cloud::AIPlatform::V1::TensorboardRun]
|
@@ -18,8 +18,11 @@
|
|
18
18
|
|
19
19
|
require "google/cloud/ai_platform/v1/dataset_service"
|
20
20
|
require "google/cloud/ai_platform/v1/endpoint_service"
|
21
|
+
require "google/cloud/ai_platform/v1/feature_online_store_admin_service"
|
21
22
|
require "google/cloud/ai_platform/v1/featurestore_online_serving_service"
|
23
|
+
require "google/cloud/ai_platform/v1/feature_online_store_service"
|
22
24
|
require "google/cloud/ai_platform/v1/featurestore_service"
|
25
|
+
require "google/cloud/ai_platform/v1/feature_registry_service"
|
23
26
|
require "google/cloud/ai_platform/v1/index_endpoint_service"
|
24
27
|
require "google/cloud/ai_platform/v1/index_service"
|
25
28
|
require "google/cloud/ai_platform/v1/job_service"
|
@@ -16,7 +16,7 @@ require 'google/protobuf/timestamp_pb'
|
|
16
16
|
require 'google/rpc/status_pb'
|
17
17
|
|
18
18
|
|
19
|
-
descriptor_data = "\n+google/cloud/aiplatform/v1/custom_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xe1\x06\n\tCustomJob\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x08job_spec\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xe0\x41\x02\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x0b \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.CustomJob.LabelsEntry\x12\x43\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12V\n\x0fweb_access_uris\x18\x10 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.CustomJob.WebAccessUrisEntryB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12WebAccessUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:i\xea\x41\x66\n#aiplatform.googleapis.com/CustomJob\x12?projects/{project}/locations/{location}/customJobs/{custom_job}\"\
|
19
|
+
descriptor_data = "\n+google/cloud/aiplatform/v1/custom_job.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a(google/cloud/aiplatform/v1/env_var.proto\x1a#google/cloud/aiplatform/v1/io.proto\x1a*google/cloud/aiplatform/v1/job_state.proto\x1a\x32google/cloud/aiplatform/v1/machine_resources.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\"\xe1\x06\n\tCustomJob\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12@\n\x08job_spec\x18\x04 \x01(\x0b\x32).google.cloud.aiplatform.v1.CustomJobSpecB\x03\xe0\x41\x02\x12\x38\n\x05state\x18\x05 \x01(\x0e\x32$.google.cloud.aiplatform.v1.JobStateB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12&\n\x05\x65rror\x18\n \x01(\x0b\x32\x12.google.rpc.StatusB\x03\xe0\x41\x03\x12\x41\n\x06labels\x18\x0b \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.CustomJob.LabelsEntry\x12\x43\n\x0f\x65ncryption_spec\x18\x0c \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpec\x12V\n\x0fweb_access_uris\x18\x10 \x03(\x0b\x32\x38.google.cloud.aiplatform.v1.CustomJob.WebAccessUrisEntryB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x34\n\x12WebAccessUrisEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:i\xea\x41\x66\n#aiplatform.googleapis.com/CustomJob\x12?projects/{project}/locations/{location}/customJobs/{custom_job}\"\x89\x05\n\rCustomJobSpec\x12J\n\x11worker_pool_specs\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.WorkerPoolSpecB\x03\xe0\x41\x02\x12:\n\nscheduling\x18\x03 \x01(\x0b\x32&.google.cloud.aiplatform.v1.Scheduling\x12\x17\n\x0fservice_account\x18\x04 \x01(\t\x12\x37\n\x07network\x18\x05 \x01(\tB&\xe0\x41\x01\xfa\x41 \n\x1e\x63ompute.googleapis.com/Network\x12\x1f\n\x12reserved_ip_ranges\x18\r \x03(\tB\x03\xe0\x41\x01\x12I\n\x15\x62\x61se_output_directory\x18\x06 \x01(\x0b\x32*.google.cloud.aiplatform.v1.GcsDestination\x12&\n\x1eprotected_artifact_location_id\x18\x13 \x01(\t\x12\x42\n\x0btensorboard\x18\x07 \x01(\tB-\xe0\x41\x01\xfa\x41\'\n%aiplatform.googleapis.com/Tensorboard\x12\x1e\n\x11\x65nable_web_access\x18\n \x01(\x08\x42\x03\xe0\x41\x01\x12$\n\x17\x65nable_dashboard_access\x18\x10 \x01(\x08\x42\x03\xe0\x41\x01\x12=\n\nexperiment\x18\x11 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!aiplatform.googleapis.com/Context\x12\x41\n\x0e\x65xperiment_run\x18\x12 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!aiplatform.googleapis.com/Context\"\x86\x03\n\x0eWorkerPoolSpec\x12\x43\n\x0e\x63ontainer_spec\x18\x06 \x01(\x0b\x32).google.cloud.aiplatform.v1.ContainerSpecH\x00\x12L\n\x13python_package_spec\x18\x07 \x01(\x0b\x32-.google.cloud.aiplatform.v1.PythonPackageSpecH\x00\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x01\xe0\x41\x05\x12\x1a\n\rreplica_count\x18\x02 \x01(\x03\x42\x03\xe0\x41\x01\x12=\n\nnfs_mounts\x18\x04 \x03(\x0b\x32$.google.cloud.aiplatform.v1.NfsMountB\x03\xe0\x41\x01\x12\x37\n\tdisk_spec\x18\x05 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DiskSpecB\x06\n\x04task\"w\n\rContainerSpec\x12\x16\n\timage_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0f\n\x07\x63ommand\x18\x02 \x03(\t\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12/\n\x03\x65nv\x18\x04 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVar\"\xaa\x01\n\x11PythonPackageSpec\x12\x1f\n\x12\x65xecutor_image_uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0cpackage_uris\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12\x1a\n\rpython_module\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x0c\n\x04\x61rgs\x18\x04 \x03(\t\x12/\n\x03\x65nv\x18\x05 \x03(\x0b\x32\".google.cloud.aiplatform.v1.EnvVar\"}\n\nScheduling\x12*\n\x07timeout\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12%\n\x1drestart_job_on_worker_restart\x18\x03 \x01(\x08\x12\x1c\n\x0f\x64isable_retries\x18\x05 \x01(\x08\x42\x03\xe0\x41\x01\x42\xcc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x0e\x43ustomJobProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
20
20
|
|
21
21
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
22
22
|
|
@@ -12,6 +12,7 @@ require 'google/cloud/aiplatform/v1/annotation_pb'
|
|
12
12
|
require 'google/cloud/aiplatform/v1/annotation_spec_pb'
|
13
13
|
require 'google/cloud/aiplatform/v1/data_item_pb'
|
14
14
|
require 'google/cloud/aiplatform/v1/dataset_pb'
|
15
|
+
require 'google/cloud/aiplatform/v1/dataset_version_pb'
|
15
16
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
16
17
|
require 'google/cloud/aiplatform/v1/saved_query_pb'
|
17
18
|
require 'google/longrunning/operations_pb'
|
@@ -19,7 +20,7 @@ require 'google/protobuf/empty_pb'
|
|
19
20
|
require 'google/protobuf/field_mask_pb'
|
20
21
|
|
21
22
|
|
22
|
-
descriptor_data = "\n0google/cloud/aiplatform/v1/dataset_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/aiplatform/v1/annotation.proto\x1a\x30google/cloud/aiplatform/v1/annotation_spec.proto\x1a*google/cloud/aiplatform/v1/data_item.proto\x1a(google/cloud/aiplatform/v1/dataset.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a,google/cloud/aiplatform/v1/saved_query.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x8c\x01\n\x14\x43reateDatasetRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x39\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\"p\n\x1e\x43reateDatasetOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n\x11GetDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x87\x01\n\x14UpdateDatasetRequest\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xc8\x01\n\x13ListDatasetsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"f\n\x14ListDatasetsResponse\x12\x35\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.Dataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x14\x44\x65leteDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\"\x97\x01\n\x11ImportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12I\n\x0eimport_configs\x18\x02 \x03(\x0b\x32,.google.cloud.aiplatform.v1.ImportDataConfigB\x03\xe0\x41\x02\"\x14\n\x12ImportDataResponse\"m\n\x1bImportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x96\x01\n\x11\x45xportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12H\n\rexport_config\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ExportDataConfigB\x03\xe0\x41\x02\",\n\x12\x45xportDataResponse\x12\x16\n\x0e\x65xported_files\x18\x01 \x03(\t\"\x8b\x01\n\x1b\x45xportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x1c\n\x14gcs_output_directory\x18\x02 \x01(\t\"w\n%CreateDatasetVersionOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"x\n&RestoreDatasetVersionOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xc9\x01\n\x14ListDataItemsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"j\n\x15ListDataItemsResponse\x12\x38\n\ndata_items\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdc\x04\n\x16SearchDataItemsRequest\x12\x1c\n\x12order_by_data_item\x18\x0c \x01(\tH\x00\x12\x63\n\x13order_by_annotation\x18\r \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotationH\x00\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12@\n\x0bsaved_query\x18\x02 \x01(\tB+\x18\x01\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\x12\x19\n\x11\x64\x61ta_labeling_job\x18\x03 \x01(\t\x12\x18\n\x10\x64\x61ta_item_filter\x18\x04 \x01(\t\x12\x1e\n\x12\x61nnotations_filter\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61nnotation_filters\x18\x0b \x03(\t\x12.\n\nfield_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61nnotations_limit\x18\x07 \x01(\x05\x12\x11\n\tpage_size\x18\x08 \x01(\x05\x12\x14\n\x08order_by\x18\t \x01(\tB\x02\x18\x01\x12\x12\n\npage_token\x18\n \x01(\t\x1a?\n\x11OrderByAnnotation\x12\x18\n\x0bsaved_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08order_by\x18\x02 \x01(\tB\x07\n\x05order\"u\n\x17SearchDataItemsResponse\x12\x41\n\x0f\x64\x61ta_item_views\x18\x01 \x03(\x0b\x32(.google.cloud.aiplatform.v1.DataItemView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x0c\x44\x61taItemView\x12\x37\n\tdata_item\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12;\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12!\n\x19has_truncated_annotations\x18\x03 \x01(\x08\"\xcc\x01\n\x17ListSavedQueriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"r\n\x18ListSavedQueriesResponse\x12=\n\rsaved_queries\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.SavedQuery\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x17\x44\x65leteSavedQueryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\"\x89\x01\n\x18GetAnnotationSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/AnnotationSpec\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xcc\x01\n\x16ListAnnotationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/DataItem\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"o\n\x17ListAnnotationsResponse\x12;\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xd4\x15\n\x0e\x44\x61tasetService\x12\xdc\x01\n\rCreateDataset\x12\x30.google.cloud.aiplatform.v1.CreateDatasetRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/datasets:\x07\x64\x61taset\xda\x41\x0eparent,dataset\xca\x41)\n\x07\x44\x61taset\x12\x1e\x43reateDatasetOperationMetadata\x12\x9d\x01\n\nGetDataset\x12-.google.cloud.aiplatform.v1.GetDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\x12\xc3\x01\n\rUpdateDataset\x12\x30.google.cloud.aiplatform.v1.UpdateDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\"[\x82\xd3\xe4\x93\x02?24/v1/{dataset.name=projects/*/locations/*/datasets/*}:\x07\x64\x61taset\xda\x41\x13\x64\x61taset,update_mask\x12\xb0\x01\n\x0cListDatasets\x12/.google.cloud.aiplatform.v1.ListDatasetsRequest\x1a\x30.google.cloud.aiplatform.v1.ListDatasetsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/datasets\xda\x41\x06parent\x12\xd0\x01\n\rDeleteDataset\x12\x30.google.cloud.aiplatform.v1.DeleteDatasetRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xe5\x01\n\nImportData\x12-.google.cloud.aiplatform.v1.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:import:\x01*\xda\x41\x13name,import_configs\xca\x41\x31\n\x12ImportDataResponse\x12\x1bImportDataOperationMetadata\x12\xe4\x01\n\nExportData\x12-.google.cloud.aiplatform.v1.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:export:\x01*\xda\x41\x12name,export_config\xca\x41\x31\n\x12\x45xportDataResponse\x12\x1b\x45xportDataOperationMetadata\x12\xbf\x01\n\rListDataItems\x12\x30.google.cloud.aiplatform.v1.ListDataItemsRequest\x1a\x31.google.cloud.aiplatform.v1.ListDataItemsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/datasets/*}/dataItems\xda\x41\x06parent\x12\xc3\x01\n\x0fSearchDataItems\x12\x32.google.cloud.aiplatform.v1.SearchDataItemsRequest\x1a\x33.google.cloud.aiplatform.v1.SearchDataItemsResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/v1/{dataset=projects/*/locations/*/datasets/*}:searchDataItems\x12\xcb\x01\n\x10ListSavedQueries\x12\x33.google.cloud.aiplatform.v1.ListSavedQueriesRequest\x1a\x34.google.cloud.aiplatform.v1.ListSavedQueriesResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/datasets/*}/savedQueries\xda\x41\x06parent\x12\xe5\x01\n\x10\x44\x65leteSavedQuery\x12\x33.google.cloud.aiplatform.v1.DeleteSavedQueryRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc4\x01\n\x11GetAnnotationSpec\x12\x34.google.cloud.aiplatform.v1.GetAnnotationSpecRequest\x1a*.google.cloud.aiplatform.v1.AnnotationSpec\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}\xda\x41\x04name\x12\xd3\x01\n\x0fListAnnotations\x12\x32.google.cloud.aiplatform.v1.ListAnnotationsRequest\x1a\x33.google.cloud.aiplatform.v1.ListAnnotationsResponse\"W\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations\xda\x41\x06parent\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13\x44\x61tasetServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
23
|
+
descriptor_data = "\n0google/cloud/aiplatform/v1/dataset_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a+google/cloud/aiplatform/v1/annotation.proto\x1a\x30google/cloud/aiplatform/v1/annotation_spec.proto\x1a*google/cloud/aiplatform/v1/data_item.proto\x1a(google/cloud/aiplatform/v1/dataset.proto\x1a\x30google/cloud/aiplatform/v1/dataset_version.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a,google/cloud/aiplatform/v1/saved_query.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x8c\x01\n\x14\x43reateDatasetRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x39\n\x07\x64\x61taset\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\"p\n\x1e\x43reateDatasetOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"{\n\x11GetDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\x87\x01\n\x14UpdateDatasetRequest\x12\x39\n\x07\x64\x61taset\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.DatasetB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x02\"\xc8\x01\n\x13ListDatasetsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"f\n\x14ListDatasetsResponse\x12\x35\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.Dataset\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"O\n\x14\x44\x65leteDatasetRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\"\x97\x01\n\x11ImportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12I\n\x0eimport_configs\x18\x02 \x03(\x0b\x32,.google.cloud.aiplatform.v1.ImportDataConfigB\x03\xe0\x41\x02\"\x14\n\x12ImportDataResponse\"m\n\x1bImportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x96\x01\n\x11\x45xportDataRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12H\n\rexport_config\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.ExportDataConfigB\x03\xe0\x41\x02\",\n\x12\x45xportDataResponse\x12\x16\n\x0e\x65xported_files\x18\x01 \x03(\t\"\x8b\x01\n\x1b\x45xportDataOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\x12\x1c\n\x14gcs_output_directory\x18\x02 \x01(\t\"\xa2\x01\n\x1b\x43reateDatasetVersionRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12H\n\x0f\x64\x61taset_version\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.DatasetVersionB\x03\xe0\x41\x02\"w\n%CreateDatasetVersionOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"]\n\x1b\x44\x65leteDatasetVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/DatasetVersion\"\x89\x01\n\x18GetDatasetVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/DatasetVersion\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xe8\x01\n\x1aListDatasetVersionsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12\x32\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\x08order_by\x18\x06 \x01(\tB\x03\xe0\x41\x01\"|\n\x1bListDatasetVersionsResponse\x12\x44\n\x10\x64\x61taset_versions\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.DatasetVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"^\n\x1cRestoreDatasetVersionRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/DatasetVersion\"x\n&RestoreDatasetVersionOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xc9\x01\n\x14ListDataItemsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"j\n\x15ListDataItemsResponse\x12\x38\n\ndata_items\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdc\x04\n\x16SearchDataItemsRequest\x12\x1c\n\x12order_by_data_item\x18\x0c \x01(\tH\x00\x12\x63\n\x13order_by_annotation\x18\r \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.SearchDataItemsRequest.OrderByAnnotationH\x00\x12:\n\x07\x64\x61taset\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12@\n\x0bsaved_query\x18\x02 \x01(\tB+\x18\x01\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\x12\x19\n\x11\x64\x61ta_labeling_job\x18\x03 \x01(\t\x12\x18\n\x10\x64\x61ta_item_filter\x18\x04 \x01(\t\x12\x1e\n\x12\x61nnotations_filter\x18\x05 \x01(\tB\x02\x18\x01\x12\x1a\n\x12\x61nnotation_filters\x18\x0b \x03(\t\x12.\n\nfield_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x19\n\x11\x61nnotations_limit\x18\x07 \x01(\x05\x12\x11\n\tpage_size\x18\x08 \x01(\x05\x12\x14\n\x08order_by\x18\t \x01(\tB\x02\x18\x01\x12\x12\n\npage_token\x18\n \x01(\t\x1a?\n\x11OrderByAnnotation\x12\x18\n\x0bsaved_query\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08order_by\x18\x02 \x01(\tB\x07\n\x05order\"u\n\x17SearchDataItemsResponse\x12\x41\n\x0f\x64\x61ta_item_views\x18\x01 \x03(\x0b\x32(.google.cloud.aiplatform.v1.DataItemView\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa7\x01\n\x0c\x44\x61taItemView\x12\x37\n\tdata_item\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.DataItem\x12;\n\x0b\x61nnotations\x18\x02 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12!\n\x19has_truncated_annotations\x18\x03 \x01(\x08\"\xcc\x01\n\x17ListSavedQueriesRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Dataset\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"r\n\x18ListSavedQueriesResponse\x12=\n\rsaved_queries\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.SavedQuery\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"U\n\x17\x44\x65leteSavedQueryRequest\x12:\n\x04name\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/SavedQuery\"\x89\x01\n\x18GetAnnotationSpecRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/AnnotationSpec\x12-\n\tread_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"\xcc\x01\n\x16ListAnnotationsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/DataItem\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t\x12-\n\tread_mask\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x10\n\x08order_by\x18\x06 \x01(\t\"o\n\x17ListAnnotationsResponse\x12;\n\x0b\x61nnotations\x18\x01 \x03(\x0b\x32&.google.cloud.aiplatform.v1.Annotation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x8d\x1f\n\x0e\x44\x61tasetService\x12\xdc\x01\n\rCreateDataset\x12\x30.google.cloud.aiplatform.v1.CreateDatasetRequest\x1a\x1d.google.longrunning.Operation\"z\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/datasets:\x07\x64\x61taset\xda\x41\x0eparent,dataset\xca\x41)\n\x07\x44\x61taset\x12\x1e\x43reateDatasetOperationMetadata\x12\x9d\x01\n\nGetDataset\x12-.google.cloud.aiplatform.v1.GetDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\";\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\x12\xc3\x01\n\rUpdateDataset\x12\x30.google.cloud.aiplatform.v1.UpdateDatasetRequest\x1a#.google.cloud.aiplatform.v1.Dataset\"[\x82\xd3\xe4\x93\x02?24/v1/{dataset.name=projects/*/locations/*/datasets/*}:\x07\x64\x61taset\xda\x41\x13\x64\x61taset,update_mask\x12\xb0\x01\n\x0cListDatasets\x12/.google.cloud.aiplatform.v1.ListDatasetsRequest\x1a\x30.google.cloud.aiplatform.v1.ListDatasetsResponse\"=\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/datasets\xda\x41\x06parent\x12\xd0\x01\n\rDeleteDataset\x12\x30.google.cloud.aiplatform.v1.DeleteDatasetRequest\x1a\x1d.google.longrunning.Operation\"n\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/datasets/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xe5\x01\n\nImportData\x12-.google.cloud.aiplatform.v1.ImportDataRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:import:\x01*\xda\x41\x13name,import_configs\xca\x41\x31\n\x12ImportDataResponse\x12\x1bImportDataOperationMetadata\x12\xe4\x01\n\nExportData\x12-.google.cloud.aiplatform.v1.ExportDataRequest\x1a\x1d.google.longrunning.Operation\"\x87\x01\x82\xd3\xe4\x93\x02\x38\"3/v1/{name=projects/*/locations/*/datasets/*}:export:\x01*\xda\x41\x12name,export_config\xca\x41\x31\n\x12\x45xportDataResponse\x12\x1b\x45xportDataOperationMetadata\x12\x9b\x02\n\x14\x43reateDatasetVersion\x12\x37.google.cloud.aiplatform.v1.CreateDatasetVersionRequest\x1a\x1d.google.longrunning.Operation\"\xaa\x01\x82\xd3\xe4\x93\x02Q\">/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions:\x0f\x64\x61taset_version\xda\x41\x16parent,dataset_version\xca\x41\x37\n\x0e\x44\x61tasetVersion\x12%CreateDatasetVersionOperationMetadata\x12\xf1\x01\n\x14\x44\x65leteDatasetVersion\x12\x37.google.cloud.aiplatform.v1.DeleteDatasetVersionRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc4\x01\n\x11GetDatasetVersion\x12\x34.google.cloud.aiplatform.v1.GetDatasetVersionRequest\x1a*.google.cloud.aiplatform.v1.DatasetVersion\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}\xda\x41\x04name\x12\xd7\x01\n\x13ListDatasetVersions\x12\x36.google.cloud.aiplatform.v1.ListDatasetVersionsRequest\x1a\x37.google.cloud.aiplatform.v1.ListDatasetVersionsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/datasets/*}/datasetVersions\xda\x41\x06parent\x12\x83\x02\n\x15RestoreDatasetVersion\x12\x38.google.cloud.aiplatform.v1.RestoreDatasetVersionRequest\x1a\x1d.google.longrunning.Operation\"\x90\x01\x82\xd3\xe4\x93\x02H\x12\x46/v1/{name=projects/*/locations/*/datasets/*/datasetVersions/*}:restore\xda\x41\x04name\xca\x41\x38\n\x0e\x44\x61tasetVersion\x12&RestoreDatasetVersionOperationMetadata\x12\xbf\x01\n\rListDataItems\x12\x30.google.cloud.aiplatform.v1.ListDataItemsRequest\x1a\x31.google.cloud.aiplatform.v1.ListDataItemsResponse\"I\x82\xd3\xe4\x93\x02:\x12\x38/v1/{parent=projects/*/locations/*/datasets/*}/dataItems\xda\x41\x06parent\x12\xc3\x01\n\x0fSearchDataItems\x12\x32.google.cloud.aiplatform.v1.SearchDataItemsRequest\x1a\x33.google.cloud.aiplatform.v1.SearchDataItemsResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/v1/{dataset=projects/*/locations/*/datasets/*}:searchDataItems\x12\xcb\x01\n\x10ListSavedQueries\x12\x33.google.cloud.aiplatform.v1.ListSavedQueriesRequest\x1a\x34.google.cloud.aiplatform.v1.ListSavedQueriesResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/datasets/*}/savedQueries\xda\x41\x06parent\x12\xe5\x01\n\x10\x44\x65leteSavedQuery\x12\x33.google.cloud.aiplatform.v1.DeleteSavedQueryRequest\x1a\x1d.google.longrunning.Operation\"}\x82\xd3\xe4\x93\x02=*;/v1/{name=projects/*/locations/*/datasets/*/savedQueries/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xc4\x01\n\x11GetAnnotationSpec\x12\x34.google.cloud.aiplatform.v1.GetAnnotationSpecRequest\x1a*.google.cloud.aiplatform.v1.AnnotationSpec\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/datasets/*/annotationSpecs/*}\xda\x41\x04name\x12\xd3\x01\n\x0fListAnnotations\x12\x32.google.cloud.aiplatform.v1.ListAnnotationsRequest\x1a\x33.google.cloud.aiplatform.v1.ListAnnotationsResponse\"W\x82\xd3\xe4\x93\x02H\x12\x46/v1/{parent=projects/*/locations/*/datasets/*/dataItems/*}/annotations\xda\x41\x06parent\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13\x44\x61tasetServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
23
24
|
|
24
25
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
26
|
|
@@ -37,6 +38,7 @@ rescue TypeError => e
|
|
37
38
|
["google.cloud.aiplatform.v1.Dataset", "google/cloud/aiplatform/v1/dataset.proto"],
|
38
39
|
["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
|
39
40
|
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
41
|
+
["google.cloud.aiplatform.v1.DatasetVersion", "google/cloud/aiplatform/v1/dataset_version.proto"],
|
40
42
|
["google.cloud.aiplatform.v1.DataItem", "google/cloud/aiplatform/v1/data_item.proto"],
|
41
43
|
["google.cloud.aiplatform.v1.Annotation", "google/cloud/aiplatform/v1/annotation.proto"],
|
42
44
|
["google.cloud.aiplatform.v1.SavedQuery", "google/cloud/aiplatform/v1/saved_query.proto"],
|
@@ -68,7 +70,13 @@ module Google
|
|
68
70
|
ExportDataRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportDataRequest").msgclass
|
69
71
|
ExportDataResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportDataResponse").msgclass
|
70
72
|
ExportDataOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportDataOperationMetadata").msgclass
|
73
|
+
CreateDatasetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateDatasetVersionRequest").msgclass
|
71
74
|
CreateDatasetVersionOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateDatasetVersionOperationMetadata").msgclass
|
75
|
+
DeleteDatasetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteDatasetVersionRequest").msgclass
|
76
|
+
GetDatasetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetDatasetVersionRequest").msgclass
|
77
|
+
ListDatasetVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDatasetVersionsRequest").msgclass
|
78
|
+
ListDatasetVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDatasetVersionsResponse").msgclass
|
79
|
+
RestoreDatasetVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RestoreDatasetVersionRequest").msgclass
|
72
80
|
RestoreDatasetVersionOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.RestoreDatasetVersionOperationMetadata").msgclass
|
73
81
|
ListDataItemsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDataItemsRequest").msgclass
|
74
82
|
ListDataItemsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDataItemsResponse").msgclass
|
@@ -47,6 +47,16 @@ module Google
|
|
47
47
|
rpc :ImportData, ::Google::Cloud::AIPlatform::V1::ImportDataRequest, ::Google::Longrunning::Operation
|
48
48
|
# Exports data from a Dataset.
|
49
49
|
rpc :ExportData, ::Google::Cloud::AIPlatform::V1::ExportDataRequest, ::Google::Longrunning::Operation
|
50
|
+
# Create a version from a Dataset.
|
51
|
+
rpc :CreateDatasetVersion, ::Google::Cloud::AIPlatform::V1::CreateDatasetVersionRequest, ::Google::Longrunning::Operation
|
52
|
+
# Deletes a Dataset version.
|
53
|
+
rpc :DeleteDatasetVersion, ::Google::Cloud::AIPlatform::V1::DeleteDatasetVersionRequest, ::Google::Longrunning::Operation
|
54
|
+
# Gets a Dataset version.
|
55
|
+
rpc :GetDatasetVersion, ::Google::Cloud::AIPlatform::V1::GetDatasetVersionRequest, ::Google::Cloud::AIPlatform::V1::DatasetVersion
|
56
|
+
# Lists DatasetVersions in a Dataset.
|
57
|
+
rpc :ListDatasetVersions, ::Google::Cloud::AIPlatform::V1::ListDatasetVersionsRequest, ::Google::Cloud::AIPlatform::V1::ListDatasetVersionsResponse
|
58
|
+
# Restores a dataset version.
|
59
|
+
rpc :RestoreDatasetVersion, ::Google::Cloud::AIPlatform::V1::RestoreDatasetVersionRequest, ::Google::Longrunning::Operation
|
50
60
|
# Lists DataItems in a Dataset.
|
51
61
|
rpc :ListDataItems, ::Google::Cloud::AIPlatform::V1::ListDataItemsRequest, ::Google::Cloud::AIPlatform::V1::ListDataItemsResponse
|
52
62
|
# Searches DataItems in a Dataset.
|