google-cloud-ai_platform-v1 0.26.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +103 -2
  3. data/lib/google/cloud/ai_platform/v1/dataset_service.rb +1 -2
  4. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +2 -1
  5. data/lib/google/cloud/ai_platform/v1/schedule_service/client.rb +1094 -0
  6. data/lib/google/cloud/ai_platform/v1/schedule_service/credentials.rb +47 -0
  7. data/lib/google/cloud/ai_platform/v1/schedule_service/operations.rb +778 -0
  8. data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +187 -0
  9. data/lib/google/cloud/ai_platform/v1/schedule_service.rb +51 -0
  10. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +94 -94
  11. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  12. data/lib/google/cloud/ai_platform/v1.rb +1 -0
  13. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +1 -1
  14. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +2 -1
  15. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +3 -2
  16. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +1 -1
  17. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +1 -1
  18. data/lib/google/cloud/aiplatform/v1/model_pb.rb +1 -1
  19. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +2 -2
  20. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +1 -1
  21. data/lib/google/cloud/aiplatform/v1/schedule_pb.rb +51 -0
  22. data/lib/google/cloud/aiplatform/v1/schedule_service_pb.rb +61 -0
  23. data/lib/google/cloud/aiplatform/v1/schedule_service_services_pb.rb +74 -0
  24. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +5 -5
  25. data/lib/google/cloud/aiplatform/v1/tensorboard_service_services_pb.rb +2 -2
  26. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +5 -0
  27. data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +4 -0
  28. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +12 -0
  29. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +2 -1
  30. data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +3 -0
  31. data/proto_docs/google/cloud/aiplatform/v1/model.rb +2 -1
  32. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +8 -8
  33. data/proto_docs/google/cloud/aiplatform/v1/nas_job.rb +1 -1
  34. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +13 -0
  35. data/proto_docs/google/cloud/aiplatform/v1/schedule.rb +152 -0
  36. data/proto_docs/google/cloud/aiplatform/v1/schedule_service.rb +201 -0
  37. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +52 -51
  38. metadata +12 -2
@@ -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
@@ -47,57 +47,6 @@ module Google
47
47
  extend ::Google::Protobuf::MessageExts::ClassMethods
48
48
  end
49
49
 
50
- # Request message for [TensorboardService.GetTensorboardUsage][].
51
- # @!attribute [rw] tensorboard
52
- # @return [::String]
53
- # Required. The name of the Tensorboard resource.
54
- # Format:
55
- # `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
56
- class ReadTensorboardUsageRequest
57
- include ::Google::Protobuf::MessageExts
58
- extend ::Google::Protobuf::MessageExts::ClassMethods
59
- end
60
-
61
- # Response message for
62
- # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#read_tensorboard_usage TensorboardService.ReadTensorboardUsage}.
63
- # @!attribute [rw] monthly_usage_data
64
- # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse::PerMonthUsageData}]
65
- # Maps year-month (YYYYMM) string to per month usage data.
66
- class ReadTensorboardUsageResponse
67
- include ::Google::Protobuf::MessageExts
68
- extend ::Google::Protobuf::MessageExts::ClassMethods
69
-
70
- # Per user usage data.
71
- # @!attribute [rw] username
72
- # @return [::String]
73
- # User's username
74
- # @!attribute [rw] view_count
75
- # @return [::Integer]
76
- # Number of times the user has read data within the Tensorboard.
77
- class PerUserUsageData
78
- include ::Google::Protobuf::MessageExts
79
- extend ::Google::Protobuf::MessageExts::ClassMethods
80
- end
81
-
82
- # Per month usage data
83
- # @!attribute [rw] user_usage_data
84
- # @return [::Array<::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse::PerUserUsageData>]
85
- # Usage data for each user in the given month.
86
- class PerMonthUsageData
87
- include ::Google::Protobuf::MessageExts
88
- extend ::Google::Protobuf::MessageExts::ClassMethods
89
- end
90
-
91
- # @!attribute [rw] key
92
- # @return [::String]
93
- # @!attribute [rw] value
94
- # @return [::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse::PerMonthUsageData]
95
- class MonthlyUsageDataEntry
96
- include ::Google::Protobuf::MessageExts
97
- extend ::Google::Protobuf::MessageExts::ClassMethods
98
- end
99
- end
100
-
101
50
  # Request message for
102
51
  # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#list_tensorboards TensorboardService.ListTensorboards}.
103
52
  # @!attribute [rw] parent
@@ -182,6 +131,58 @@ module Google
182
131
  extend ::Google::Protobuf::MessageExts::ClassMethods
183
132
  end
184
133
 
134
+ # Request message for
135
+ # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#read_tensorboard_usage TensorboardService.ReadTensorboardUsage}.
136
+ # @!attribute [rw] tensorboard
137
+ # @return [::String]
138
+ # Required. The name of the Tensorboard resource.
139
+ # Format:
140
+ # `projects/{project}/locations/{location}/tensorboards/{tensorboard}`
141
+ class ReadTensorboardUsageRequest
142
+ include ::Google::Protobuf::MessageExts
143
+ extend ::Google::Protobuf::MessageExts::ClassMethods
144
+ end
145
+
146
+ # Response message for
147
+ # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#read_tensorboard_usage TensorboardService.ReadTensorboardUsage}.
148
+ # @!attribute [rw] monthly_usage_data
149
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse::PerMonthUsageData}]
150
+ # Maps year-month (YYYYMM) string to per month usage data.
151
+ class ReadTensorboardUsageResponse
152
+ include ::Google::Protobuf::MessageExts
153
+ extend ::Google::Protobuf::MessageExts::ClassMethods
154
+
155
+ # Per user usage data.
156
+ # @!attribute [rw] username
157
+ # @return [::String]
158
+ # User's username
159
+ # @!attribute [rw] view_count
160
+ # @return [::Integer]
161
+ # Number of times the user has read data within the Tensorboard.
162
+ class PerUserUsageData
163
+ include ::Google::Protobuf::MessageExts
164
+ extend ::Google::Protobuf::MessageExts::ClassMethods
165
+ end
166
+
167
+ # Per month usage data
168
+ # @!attribute [rw] user_usage_data
169
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse::PerUserUsageData>]
170
+ # Usage data for each user in the given month.
171
+ class PerMonthUsageData
172
+ include ::Google::Protobuf::MessageExts
173
+ extend ::Google::Protobuf::MessageExts::ClassMethods
174
+ end
175
+
176
+ # @!attribute [rw] key
177
+ # @return [::String]
178
+ # @!attribute [rw] value
179
+ # @return [::Google::Cloud::AIPlatform::V1::ReadTensorboardUsageResponse::PerMonthUsageData]
180
+ class MonthlyUsageDataEntry
181
+ include ::Google::Protobuf::MessageExts
182
+ extend ::Google::Protobuf::MessageExts::ClassMethods
183
+ end
184
+ end
185
+
185
186
  # Request message for
186
187
  # {::Google::Cloud::AIPlatform::V1::TensorboardService::Client#create_tensorboard_experiment TensorboardService.CreateTensorboardExperiment}.
187
188
  # @!attribute [rw] parent
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.26.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-06-20 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