google-cloud-ai_platform-v1 0.27.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
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.27.0
4
+ version: 0.28.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-13 00:00:00.000000000 Z
11
+ date: 2023-07-25 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