google-cloud-ai_platform-v1 0.27.0 → 0.29.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/prediction_service/client.rb +102 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +1094 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +778 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +187 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service.rb +51 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +5 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +3 -0
- data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +51 -0
- data/lib/google/cloud/aiplatform/v1/schedule_service_pb.rb +61 -0
- data/lib/google/cloud/aiplatform/v1/schedule_service_services_pb.rb +74 -0
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +3 -1
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +39 -0
- data/proto_docs/google/cloud/aiplatform/v1/schedule.rb +152 -0
- data/proto_docs/google/cloud/aiplatform/v1/schedule_service.rb +201 -0
- data/proto_docs/google/cloud/aiplatform/v1/types.rb +99 -0
- metadata +12 -2
@@ -0,0 +1,152 @@
|
|
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
|
+
# An instance of a Schedule periodically schedules runs to make API calls based
|
25
|
+
# on user specified time specification and API request type.
|
26
|
+
# @!attribute [rw] cron
|
27
|
+
# @return [::String]
|
28
|
+
# Cron schedule (https://en.wikipedia.org/wiki/Cron) to launch scheduled
|
29
|
+
# runs. To explicitly set a timezone to the cron tab, apply a prefix in the
|
30
|
+
# cron tab: "CRON_TZ=$\\{IANA_TIME_ZONE}" or "TZ=$\\{IANA_TIME_ZONE}".
|
31
|
+
# The $\\{IANA_TIME_ZONE} may only be a valid string from IANA time zone
|
32
|
+
# database. For example, "CRON_TZ=America/New_York 1 * * * *", or
|
33
|
+
# "TZ=America/New_York 1 * * * *".
|
34
|
+
# @!attribute [rw] create_pipeline_job_request
|
35
|
+
# @return [::Google::Cloud::AIPlatform::V1::CreatePipelineJobRequest]
|
36
|
+
# Request for
|
37
|
+
# {::Google::Cloud::AIPlatform::V1::PipelineService::Client#create_pipeline_job PipelineService.CreatePipelineJob}.
|
38
|
+
# CreatePipelineJobRequest.parent field is required (format:
|
39
|
+
# projects/\\{project}/locations/\\{location}).
|
40
|
+
# @!attribute [r] name
|
41
|
+
# @return [::String]
|
42
|
+
# Output only. The resource name of the Schedule.
|
43
|
+
# @!attribute [rw] display_name
|
44
|
+
# @return [::String]
|
45
|
+
# Required. User provided name of the Schedule.
|
46
|
+
# The name can be up to 128 characters long and can consist of any UTF-8
|
47
|
+
# characters.
|
48
|
+
# @!attribute [rw] start_time
|
49
|
+
# @return [::Google::Protobuf::Timestamp]
|
50
|
+
# Optional. Timestamp after which the first run can be scheduled.
|
51
|
+
# Default to Schedule create time if not specified.
|
52
|
+
# @!attribute [rw] end_time
|
53
|
+
# @return [::Google::Protobuf::Timestamp]
|
54
|
+
# Optional. Timestamp after which no new runs can be scheduled.
|
55
|
+
# If specified, The schedule will be completed when either
|
56
|
+
# end_time is reached or when scheduled_run_count >= max_run_count.
|
57
|
+
# If not specified, new runs will keep getting scheduled until this Schedule
|
58
|
+
# is paused or deleted. Already scheduled runs will be allowed to complete.
|
59
|
+
# Unset if not specified.
|
60
|
+
# @!attribute [rw] max_run_count
|
61
|
+
# @return [::Integer]
|
62
|
+
# Optional. Maximum run count of the schedule.
|
63
|
+
# If specified, The schedule will be completed when either
|
64
|
+
# started_run_count >= max_run_count or when end_time is reached.
|
65
|
+
# If not specified, new runs will keep getting scheduled until this Schedule
|
66
|
+
# is paused or deleted. Already scheduled runs will be allowed to complete.
|
67
|
+
# Unset if not specified.
|
68
|
+
# @!attribute [r] started_run_count
|
69
|
+
# @return [::Integer]
|
70
|
+
# Output only. The number of runs started by this schedule.
|
71
|
+
# @!attribute [r] state
|
72
|
+
# @return [::Google::Cloud::AIPlatform::V1::Schedule::State]
|
73
|
+
# Output only. The state of this Schedule.
|
74
|
+
# @!attribute [r] create_time
|
75
|
+
# @return [::Google::Protobuf::Timestamp]
|
76
|
+
# Output only. Timestamp when this Schedule was created.
|
77
|
+
# @!attribute [r] update_time
|
78
|
+
# @return [::Google::Protobuf::Timestamp]
|
79
|
+
# Output only. Timestamp when this Schedule was updated.
|
80
|
+
# @!attribute [r] next_run_time
|
81
|
+
# @return [::Google::Protobuf::Timestamp]
|
82
|
+
# Output only. Timestamp when this Schedule should schedule the next run.
|
83
|
+
# Having a next_run_time in the past means the runs are being started
|
84
|
+
# behind schedule.
|
85
|
+
# @!attribute [r] last_pause_time
|
86
|
+
# @return [::Google::Protobuf::Timestamp]
|
87
|
+
# Output only. Timestamp when this Schedule was last paused.
|
88
|
+
# Unset if never paused.
|
89
|
+
# @!attribute [r] last_resume_time
|
90
|
+
# @return [::Google::Protobuf::Timestamp]
|
91
|
+
# Output only. Timestamp when this Schedule was last resumed.
|
92
|
+
# Unset if never resumed from pause.
|
93
|
+
# @!attribute [rw] max_concurrent_run_count
|
94
|
+
# @return [::Integer]
|
95
|
+
# Required. Maximum number of runs that can be started concurrently for this
|
96
|
+
# Schedule. This is the limit for starting the scheduled requests and not the
|
97
|
+
# execution of the operations/jobs created by the requests (if applicable).
|
98
|
+
# @!attribute [rw] allow_queueing
|
99
|
+
# @return [::Boolean]
|
100
|
+
# Optional. Whether new scheduled runs can be queued when max_concurrent_runs
|
101
|
+
# limit is reached. If set to true, new runs will be queued instead of
|
102
|
+
# skipped. Default to false.
|
103
|
+
# @!attribute [r] catch_up
|
104
|
+
# @return [::Boolean]
|
105
|
+
# Output only. Whether to backfill missed runs when the schedule is resumed
|
106
|
+
# from PAUSED state. If set to true, all missed runs will be scheduled. New
|
107
|
+
# runs will be scheduled after the backfill is complete. Default to false.
|
108
|
+
# @!attribute [r] last_scheduled_run_response
|
109
|
+
# @return [::Google::Cloud::AIPlatform::V1::Schedule::RunResponse]
|
110
|
+
# Output only. Response of the last scheduled run.
|
111
|
+
# This is the response for starting the scheduled requests and not the
|
112
|
+
# execution of the operations/jobs created by the requests (if applicable).
|
113
|
+
# Unset if no run has been scheduled yet.
|
114
|
+
class Schedule
|
115
|
+
include ::Google::Protobuf::MessageExts
|
116
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
117
|
+
|
118
|
+
# Status of a scheduled run.
|
119
|
+
# @!attribute [rw] scheduled_run_time
|
120
|
+
# @return [::Google::Protobuf::Timestamp]
|
121
|
+
# The scheduled run time based on the user-specified schedule.
|
122
|
+
# @!attribute [rw] run_response
|
123
|
+
# @return [::String]
|
124
|
+
# The response of the scheduled run.
|
125
|
+
class RunResponse
|
126
|
+
include ::Google::Protobuf::MessageExts
|
127
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
128
|
+
end
|
129
|
+
|
130
|
+
# Possible state of the schedule.
|
131
|
+
module State
|
132
|
+
# Unspecified.
|
133
|
+
STATE_UNSPECIFIED = 0
|
134
|
+
|
135
|
+
# The Schedule is active. Runs are being scheduled on the user-specified
|
136
|
+
# timespec.
|
137
|
+
ACTIVE = 1
|
138
|
+
|
139
|
+
# The schedule is paused. No new runs will be created until the schedule
|
140
|
+
# is resumed. Already started runs will be allowed to complete.
|
141
|
+
PAUSED = 2
|
142
|
+
|
143
|
+
# The Schedule is completed. No new runs will be scheduled. Already started
|
144
|
+
# runs will be allowed to complete. Schedules in completed state cannot be
|
145
|
+
# paused or resumed.
|
146
|
+
COMPLETED = 3
|
147
|
+
end
|
148
|
+
end
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
152
|
+
end
|
@@ -0,0 +1,201 @@
|
|
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
|
+
# Request message for
|
25
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#create_schedule ScheduleService.CreateSchedule}.
|
26
|
+
# @!attribute [rw] parent
|
27
|
+
# @return [::String]
|
28
|
+
# Required. The resource name of the Location to create the Schedule in.
|
29
|
+
# Format: `projects/{project}/locations/{location}`
|
30
|
+
# @!attribute [rw] schedule
|
31
|
+
# @return [::Google::Cloud::AIPlatform::V1::Schedule]
|
32
|
+
# Required. The Schedule to create.
|
33
|
+
class CreateScheduleRequest
|
34
|
+
include ::Google::Protobuf::MessageExts
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
|
+
end
|
37
|
+
|
38
|
+
# Request message for
|
39
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#get_schedule ScheduleService.GetSchedule}.
|
40
|
+
# @!attribute [rw] name
|
41
|
+
# @return [::String]
|
42
|
+
# Required. The name of the Schedule resource.
|
43
|
+
# Format:
|
44
|
+
# `projects/{project}/locations/{location}/schedules/{schedule}`
|
45
|
+
class GetScheduleRequest
|
46
|
+
include ::Google::Protobuf::MessageExts
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
48
|
+
end
|
49
|
+
|
50
|
+
# Request message for
|
51
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#list_schedules ScheduleService.ListSchedules}.
|
52
|
+
# @!attribute [rw] parent
|
53
|
+
# @return [::String]
|
54
|
+
# Required. The resource name of the Location to list the Schedules from.
|
55
|
+
# Format: `projects/{project}/locations/{location}`
|
56
|
+
# @!attribute [rw] filter
|
57
|
+
# @return [::String]
|
58
|
+
# Lists the Schedules that match the filter expression. The following
|
59
|
+
# fields are supported:
|
60
|
+
#
|
61
|
+
# * `display_name`: Supports `=`, `!=` comparisons, and `:` wildcard.
|
62
|
+
# * `state`: Supports `=` and `!=` comparisons.
|
63
|
+
# * `request`: Supports existence of the <request_type> check.
|
64
|
+
# (e.g. `create_pipeline_job_request:*` --> Schedule has
|
65
|
+
# create_pipeline_job_request).
|
66
|
+
# * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons.
|
67
|
+
# Values must be in RFC 3339 format.
|
68
|
+
# * `start_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons.
|
69
|
+
# Values must be in RFC 3339 format.
|
70
|
+
# * `end_time`: Supports `=`, `!=`, `<`, `>`, `<=`, `>=` comparisons and `:*`
|
71
|
+
# existence check. Values must be in RFC 3339 format.
|
72
|
+
# * `next_run_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=`
|
73
|
+
# comparisons. Values must be in RFC 3339 format.
|
74
|
+
#
|
75
|
+
#
|
76
|
+
# Filter expressions can be combined together using logical operators
|
77
|
+
# (`NOT`, `AND` & `OR`).
|
78
|
+
# The syntax to define filter expression is based on
|
79
|
+
# https://google.aip.dev/160.
|
80
|
+
#
|
81
|
+
# Examples:
|
82
|
+
#
|
83
|
+
# * `state="ACTIVE" AND display_name:"my_schedule_*"`
|
84
|
+
# * `NOT display_name="my_schedule"`
|
85
|
+
# * `create_time>"2021-05-18T00:00:00Z"`
|
86
|
+
# * `end_time>"2021-05-18T00:00:00Z" OR NOT end_time:*`
|
87
|
+
# * `create_pipeline_job_request:*`
|
88
|
+
# @!attribute [rw] page_size
|
89
|
+
# @return [::Integer]
|
90
|
+
# The standard list page size.
|
91
|
+
# Default to 100 if not specified.
|
92
|
+
# @!attribute [rw] page_token
|
93
|
+
# @return [::String]
|
94
|
+
# The standard list page token.
|
95
|
+
# Typically obtained via
|
96
|
+
# {::Google::Cloud::AIPlatform::V1::ListSchedulesResponse#next_page_token ListSchedulesResponse.next_page_token}
|
97
|
+
# of the previous
|
98
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#list_schedules ScheduleService.ListSchedules}
|
99
|
+
# call.
|
100
|
+
# @!attribute [rw] order_by
|
101
|
+
# @return [::String]
|
102
|
+
# A comma-separated list of fields to order by. The default sort order is in
|
103
|
+
# ascending order. Use "desc" after a field name for descending. You can have
|
104
|
+
# multiple order_by fields provided.
|
105
|
+
#
|
106
|
+
# For example, using "create_time desc, end_time" will order results by
|
107
|
+
# create time in descending order, and if there are multiple schedules having
|
108
|
+
# the same create time, order them by the end time in ascending order.
|
109
|
+
#
|
110
|
+
# If order_by is not specified, it will order by default with create_time in
|
111
|
+
# descending order.
|
112
|
+
#
|
113
|
+
# Supported fields:
|
114
|
+
# * `create_time`
|
115
|
+
# * `start_time`
|
116
|
+
# * `end_time`
|
117
|
+
# * `next_run_time`
|
118
|
+
class ListSchedulesRequest
|
119
|
+
include ::Google::Protobuf::MessageExts
|
120
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
121
|
+
end
|
122
|
+
|
123
|
+
# Response message for
|
124
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#list_schedules ScheduleService.ListSchedules}
|
125
|
+
# @!attribute [rw] schedules
|
126
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Schedule>]
|
127
|
+
# List of Schedules in the requested page.
|
128
|
+
# @!attribute [rw] next_page_token
|
129
|
+
# @return [::String]
|
130
|
+
# A token to retrieve the next page of results.
|
131
|
+
# Pass to
|
132
|
+
# {::Google::Cloud::AIPlatform::V1::ListSchedulesRequest#page_token ListSchedulesRequest.page_token}
|
133
|
+
# to obtain that page.
|
134
|
+
class ListSchedulesResponse
|
135
|
+
include ::Google::Protobuf::MessageExts
|
136
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
137
|
+
end
|
138
|
+
|
139
|
+
# Request message for
|
140
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#delete_schedule ScheduleService.DeleteSchedule}.
|
141
|
+
# @!attribute [rw] name
|
142
|
+
# @return [::String]
|
143
|
+
# Required. The name of the Schedule resource to be deleted.
|
144
|
+
# Format:
|
145
|
+
# `projects/{project}/locations/{location}/schedules/{schedule}`
|
146
|
+
class DeleteScheduleRequest
|
147
|
+
include ::Google::Protobuf::MessageExts
|
148
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
149
|
+
end
|
150
|
+
|
151
|
+
# Request message for
|
152
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#pause_schedule ScheduleService.PauseSchedule}.
|
153
|
+
# @!attribute [rw] name
|
154
|
+
# @return [::String]
|
155
|
+
# Required. The name of the Schedule resource to be paused.
|
156
|
+
# Format:
|
157
|
+
# `projects/{project}/locations/{location}/schedules/{schedule}`
|
158
|
+
class PauseScheduleRequest
|
159
|
+
include ::Google::Protobuf::MessageExts
|
160
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
161
|
+
end
|
162
|
+
|
163
|
+
# Request message for
|
164
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#resume_schedule ScheduleService.ResumeSchedule}.
|
165
|
+
# @!attribute [rw] name
|
166
|
+
# @return [::String]
|
167
|
+
# Required. The name of the Schedule resource to be resumed.
|
168
|
+
# Format:
|
169
|
+
# `projects/{project}/locations/{location}/schedules/{schedule}`
|
170
|
+
# @!attribute [rw] catch_up
|
171
|
+
# @return [::Boolean]
|
172
|
+
# Optional. Whether to backfill missed runs when the schedule is resumed from
|
173
|
+
# PAUSED state. If set to true, all missed runs will be scheduled. New runs
|
174
|
+
# will be scheduled after the backfill is complete. This will also update
|
175
|
+
# {::Google::Cloud::AIPlatform::V1::Schedule#catch_up Schedule.catch_up} field.
|
176
|
+
# Default to false.
|
177
|
+
class ResumeScheduleRequest
|
178
|
+
include ::Google::Protobuf::MessageExts
|
179
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
180
|
+
end
|
181
|
+
|
182
|
+
# Request message for
|
183
|
+
# {::Google::Cloud::AIPlatform::V1::ScheduleService::Client#update_schedule ScheduleService.UpdateSchedule}.
|
184
|
+
# @!attribute [rw] schedule
|
185
|
+
# @return [::Google::Cloud::AIPlatform::V1::Schedule]
|
186
|
+
# Required. The Schedule which replaces the resource on the server.
|
187
|
+
# The following restrictions will be applied:
|
188
|
+
# * The scheduled request type cannot be changed.
|
189
|
+
# * The output_only fields will be ignored if specified.
|
190
|
+
# @!attribute [rw] update_mask
|
191
|
+
# @return [::Google::Protobuf::FieldMask]
|
192
|
+
# Required. The update mask applies to the resource. See
|
193
|
+
# {::Google::Protobuf::FieldMask google.protobuf.FieldMask}.
|
194
|
+
class UpdateScheduleRequest
|
195
|
+
include ::Google::Protobuf::MessageExts
|
196
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
end
|
201
|
+
end
|
@@ -56,6 +56,105 @@ module Google
|
|
56
56
|
include ::Google::Protobuf::MessageExts
|
57
57
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
58
58
|
end
|
59
|
+
|
60
|
+
# A tensor value type.
|
61
|
+
# @!attribute [rw] dtype
|
62
|
+
# @return [::Google::Cloud::AIPlatform::V1::Tensor::DataType]
|
63
|
+
# The data type of tensor.
|
64
|
+
# @!attribute [rw] shape
|
65
|
+
# @return [::Array<::Integer>]
|
66
|
+
# Shape of the tensor.
|
67
|
+
# @!attribute [rw] bool_val
|
68
|
+
# @return [::Array<::Boolean>]
|
69
|
+
# Type specific representations that make it easy to create tensor protos in
|
70
|
+
# all languages. Only the representation corresponding to "dtype" can
|
71
|
+
# be set. The values hold the flattened representation of the tensor in
|
72
|
+
# row major order.
|
73
|
+
#
|
74
|
+
# [BOOL][google.aiplatform.master.Tensor.DataType.BOOL]
|
75
|
+
# @!attribute [rw] string_val
|
76
|
+
# @return [::Array<::String>]
|
77
|
+
# [STRING][google.aiplatform.master.Tensor.DataType.STRING]
|
78
|
+
# @!attribute [rw] bytes_val
|
79
|
+
# @return [::Array<::String>]
|
80
|
+
# [STRING][google.aiplatform.master.Tensor.DataType.STRING]
|
81
|
+
# @!attribute [rw] float_val
|
82
|
+
# @return [::Array<::Float>]
|
83
|
+
# [FLOAT][google.aiplatform.master.Tensor.DataType.FLOAT]
|
84
|
+
# @!attribute [rw] double_val
|
85
|
+
# @return [::Array<::Float>]
|
86
|
+
# [DOUBLE][google.aiplatform.master.Tensor.DataType.DOUBLE]
|
87
|
+
# @!attribute [rw] int_val
|
88
|
+
# @return [::Array<::Integer>]
|
89
|
+
# [INT_8][google.aiplatform.master.Tensor.DataType.INT8]
|
90
|
+
# [INT_16][google.aiplatform.master.Tensor.DataType.INT16]
|
91
|
+
# [INT_32][google.aiplatform.master.Tensor.DataType.INT32]
|
92
|
+
# @!attribute [rw] int64_val
|
93
|
+
# @return [::Array<::Integer>]
|
94
|
+
# [INT64][google.aiplatform.master.Tensor.DataType.INT64]
|
95
|
+
# @!attribute [rw] uint_val
|
96
|
+
# @return [::Array<::Integer>]
|
97
|
+
# [UINT8][google.aiplatform.master.Tensor.DataType.UINT8]
|
98
|
+
# [UINT16][google.aiplatform.master.Tensor.DataType.UINT16]
|
99
|
+
# [UINT32][google.aiplatform.master.Tensor.DataType.UINT32]
|
100
|
+
# @!attribute [rw] uint64_val
|
101
|
+
# @return [::Array<::Integer>]
|
102
|
+
# [UINT64][google.aiplatform.master.Tensor.DataType.UINT64]
|
103
|
+
# @!attribute [rw] list_val
|
104
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Tensor>]
|
105
|
+
# A list of tensor values.
|
106
|
+
# @!attribute [rw] struct_val
|
107
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::Tensor}]
|
108
|
+
# A map of string to tensor.
|
109
|
+
# @!attribute [rw] tensor_val
|
110
|
+
# @return [::String]
|
111
|
+
# Serialized raw tensor content.
|
112
|
+
class Tensor
|
113
|
+
include ::Google::Protobuf::MessageExts
|
114
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
115
|
+
|
116
|
+
# @!attribute [rw] key
|
117
|
+
# @return [::String]
|
118
|
+
# @!attribute [rw] value
|
119
|
+
# @return [::Google::Cloud::AIPlatform::V1::Tensor]
|
120
|
+
class StructValEntry
|
121
|
+
include ::Google::Protobuf::MessageExts
|
122
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
123
|
+
end
|
124
|
+
|
125
|
+
# Data type of the tensor.
|
126
|
+
module DataType
|
127
|
+
# Not a legal value for DataType. Used to indicate a DataType field has not
|
128
|
+
# been set.
|
129
|
+
DATA_TYPE_UNSPECIFIED = 0
|
130
|
+
|
131
|
+
# Data types that all computation devices are expected to be
|
132
|
+
# capable to support.
|
133
|
+
BOOL = 1
|
134
|
+
|
135
|
+
STRING = 2
|
136
|
+
|
137
|
+
FLOAT = 3
|
138
|
+
|
139
|
+
DOUBLE = 4
|
140
|
+
|
141
|
+
INT8 = 5
|
142
|
+
|
143
|
+
INT16 = 6
|
144
|
+
|
145
|
+
INT32 = 7
|
146
|
+
|
147
|
+
INT64 = 8
|
148
|
+
|
149
|
+
UINT8 = 9
|
150
|
+
|
151
|
+
UINT16 = 10
|
152
|
+
|
153
|
+
UINT32 = 11
|
154
|
+
|
155
|
+
UINT64 = 12
|
156
|
+
end
|
157
|
+
end
|
59
158
|
end
|
60
159
|
end
|
61
160
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -278,6 +278,11 @@ files:
|
|
278
278
|
- lib/google/cloud/ai_platform/v1/prediction_service/client.rb
|
279
279
|
- lib/google/cloud/ai_platform/v1/prediction_service/credentials.rb
|
280
280
|
- lib/google/cloud/ai_platform/v1/prediction_service/paths.rb
|
281
|
+
- lib/google/cloud/ai_platform/v1/schedule_service.rb
|
282
|
+
- lib/google/cloud/ai_platform/v1/schedule_service/client.rb
|
283
|
+
- lib/google/cloud/ai_platform/v1/schedule_service/credentials.rb
|
284
|
+
- lib/google/cloud/ai_platform/v1/schedule_service/operations.rb
|
285
|
+
- lib/google/cloud/ai_platform/v1/schedule_service/paths.rb
|
281
286
|
- lib/google/cloud/ai_platform/v1/specialist_pool_service.rb
|
282
287
|
- lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb
|
283
288
|
- lib/google/cloud/ai_platform/v1/specialist_pool_service/credentials.rb
|
@@ -372,6 +377,9 @@ files:
|
|
372
377
|
- lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb
|
373
378
|
- lib/google/cloud/aiplatform/v1/publisher_model_pb.rb
|
374
379
|
- lib/google/cloud/aiplatform/v1/saved_query_pb.rb
|
380
|
+
- lib/google/cloud/aiplatform/v1/schedule_pb.rb
|
381
|
+
- lib/google/cloud/aiplatform/v1/schedule_service_pb.rb
|
382
|
+
- lib/google/cloud/aiplatform/v1/schedule_service_services_pb.rb
|
375
383
|
- lib/google/cloud/aiplatform/v1/service_networking_pb.rb
|
376
384
|
- lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb
|
377
385
|
- lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb
|
@@ -461,6 +469,8 @@ files:
|
|
461
469
|
- proto_docs/google/cloud/aiplatform/v1/prediction_service.rb
|
462
470
|
- proto_docs/google/cloud/aiplatform/v1/publisher_model.rb
|
463
471
|
- proto_docs/google/cloud/aiplatform/v1/saved_query.rb
|
472
|
+
- proto_docs/google/cloud/aiplatform/v1/schedule.rb
|
473
|
+
- proto_docs/google/cloud/aiplatform/v1/schedule_service.rb
|
464
474
|
- proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb
|
465
475
|
- proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.rb
|
466
476
|
- proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_segmentation.rb
|