google-cloud-ai_platform-v1 0.23.0 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +4 -2
  3. data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +3 -1
  4. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +4 -2
  5. data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +3 -1
  6. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +4 -2
  7. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +5 -3
  8. data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +3 -1
  9. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +4 -2
  10. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +3 -1
  11. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +4 -2
  12. data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +3 -1
  13. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +4 -2
  14. data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +3 -1
  15. data/lib/google/cloud/ai_platform/v1/match_service/client.rb +533 -0
  16. data/lib/google/cloud/ai_platform/v1/match_service/credentials.rb +47 -0
  17. data/lib/google/cloud/ai_platform/v1/match_service/paths.rb +52 -0
  18. data/lib/google/cloud/ai_platform/v1/match_service.rb +50 -0
  19. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +16 -5
  20. data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -1
  21. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +4 -2
  22. data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -1
  23. data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +424 -0
  24. data/lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb +47 -0
  25. data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +50 -0
  26. data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +49 -0
  27. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +4 -2
  28. data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -1
  29. data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +19 -0
  30. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +4 -2
  31. data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -1
  32. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +5 -4
  33. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +4 -2
  34. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -1
  35. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -2
  36. data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -1
  37. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  38. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +6 -3
  39. data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -1
  40. data/lib/google/cloud/ai_platform/v1.rb +2 -0
  41. data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +24 -14
  42. data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +27 -11
  43. data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +25 -8
  44. data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +26 -20
  45. data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +34 -57
  46. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +24 -7
  47. data/lib/google/cloud/aiplatform/v1/context_pb.rb +26 -14
  48. data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +31 -55
  49. data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +26 -9
  50. data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +29 -45
  51. data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +29 -37
  52. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +30 -121
  53. data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +24 -5
  54. data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +24 -5
  55. data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -4
  56. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +29 -44
  57. data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +27 -63
  58. data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +26 -11
  59. data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +24 -5
  60. data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +26 -36
  61. data/lib/google/cloud/aiplatform/v1/event_pb.rb +25 -13
  62. data/lib/google/cloud/aiplatform/v1/execution_pb.rb +26 -23
  63. data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +25 -78
  64. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +34 -92
  65. data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +25 -10
  66. data/lib/google/cloud/aiplatform/v1/feature_pb.rb +26 -33
  67. data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +24 -7
  68. data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +24 -33
  69. data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +27 -62
  70. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +26 -26
  71. data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +33 -249
  72. data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +29 -19
  73. data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +27 -41
  74. data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +27 -60
  75. data/lib/google/cloud/aiplatform/v1/index_pb.rb +27 -38
  76. data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +27 -73
  77. data/lib/google/cloud/aiplatform/v1/io_pb.rb +24 -28
  78. data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +33 -186
  79. data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +24 -14
  80. data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +27 -6
  81. data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +24 -37
  82. data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -4
  83. data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +55 -0
  84. data/lib/google/cloud/aiplatform/v1/match_service_services_pb.rb +49 -0
  85. data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +25 -15
  86. data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +32 -203
  87. data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +26 -12
  88. data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +25 -32
  89. data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +27 -66
  90. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +32 -78
  91. data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +27 -18
  92. data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -34
  93. data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +49 -0
  94. data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +45 -0
  95. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +25 -63
  96. data/lib/google/cloud/aiplatform/v1/model_pb.rb +31 -78
  97. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +32 -137
  98. data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
  99. data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
  100. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
  101. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
  102. data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
  103. data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
  104. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
  105. data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
  106. data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
  107. data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
  108. data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
  109. data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
  110. data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
  111. data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
  112. data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
  113. data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
  114. data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
  115. data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
  116. data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
  117. data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
  118. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
  119. data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
  120. data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
  121. data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
  122. data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
  123. data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
  124. data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
  125. data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
  126. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +89 -0
  127. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
  128. data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
  129. data/proto_docs/google/cloud/aiplatform/v1/match_service.rb +156 -0
  130. data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
  131. data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
  132. data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
  133. data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
  134. data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
  135. data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
  136. data/proto_docs/google/protobuf/any.rb +7 -4
  137. data/proto_docs/google/protobuf/struct.rb +1 -1
  138. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  139. metadata +20 -4
@@ -0,0 +1,61 @@
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::ModelGardenService::Client#get_publisher_model ModelGardenService.GetPublisherModel}
26
+ # @!attribute [rw] name
27
+ # @return [::String]
28
+ # Required. The name of the PublisherModel resource.
29
+ # Format:
30
+ # `publishers/{publisher}/models/{publisher_model}`
31
+ # @!attribute [rw] language_code
32
+ # @return [::String]
33
+ # Optional. The IETF BCP-47 language code representing the language in which
34
+ # the publisher model's text information should be written in (see go/bcp47).
35
+ # @!attribute [rw] view
36
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModelView]
37
+ # Optional. PublisherModel view specifying which fields to read.
38
+ class GetPublisherModelRequest
39
+ include ::Google::Protobuf::MessageExts
40
+ extend ::Google::Protobuf::MessageExts::ClassMethods
41
+ end
42
+
43
+ # View enumeration of PublisherModel.
44
+ module PublisherModelView
45
+ # The default / unset value. The API will default to the BASIC view.
46
+ PUBLISHER_MODEL_VIEW_UNSPECIFIED = 0
47
+
48
+ # Include basic metadata about the publisher model, but not the full
49
+ # contents.
50
+ PUBLISHER_MODEL_VIEW_BASIC = 1
51
+
52
+ # Include everything.
53
+ PUBLISHER_MODEL_VIEW_FULL = 2
54
+
55
+ # Include: VersionId, ModelVersionExternalName, and SupportedActions.
56
+ PUBLISHER_MODEL_VERSION_VIEW_BASIC = 3
57
+ end
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,235 @@
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
+ # A Model Garden Publisher Model.
25
+ # @!attribute [r] name
26
+ # @return [::String]
27
+ # Output only. The resource name of the PublisherModel.
28
+ # @!attribute [r] version_id
29
+ # @return [::String]
30
+ # Output only. Immutable. The version ID of the PublisherModel.
31
+ # A new version is committed when a new model version is uploaded under an
32
+ # existing model id. It is an auto-incrementing decimal number in string
33
+ # representation.
34
+ # @!attribute [rw] open_source_category
35
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::OpenSourceCategory]
36
+ # Required. Indicates the open source category of the publisher model.
37
+ # @!attribute [rw] supported_actions
38
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction]
39
+ # Optional. Supported call-to-action options.
40
+ # @!attribute [rw] frameworks
41
+ # @return [::Array<::String>]
42
+ # Optional. Additional information about the model's Frameworks.
43
+ # @!attribute [rw] launch_stage
44
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::LaunchStage]
45
+ # Optional. Indicates the launch stage of the model.
46
+ # @!attribute [r] publisher_model_template
47
+ # @return [::String]
48
+ # Optional. Output only. Immutable. Used to indicate this model has a
49
+ # publisher model and provide the template of the publisher model resource
50
+ # name.
51
+ # @!attribute [rw] predict_schemata
52
+ # @return [::Google::Cloud::AIPlatform::V1::PredictSchemata]
53
+ # Optional. The schemata that describes formats of the PublisherModel's
54
+ # predictions and explanations as given and returned via
55
+ # {::Google::Cloud::AIPlatform::V1::PredictionService::Client#predict PredictionService.Predict}.
56
+ class PublisherModel
57
+ include ::Google::Protobuf::MessageExts
58
+ extend ::Google::Protobuf::MessageExts::ClassMethods
59
+
60
+ # Reference to a resource.
61
+ # @!attribute [rw] uri
62
+ # @return [::String]
63
+ # The URI of the resource.
64
+ # @!attribute [rw] resource_name
65
+ # @return [::String]
66
+ # The resource name of the Google Cloud resource.
67
+ class ResourceReference
68
+ include ::Google::Protobuf::MessageExts
69
+ extend ::Google::Protobuf::MessageExts::ClassMethods
70
+ end
71
+
72
+ # A named piece of documentation.
73
+ # @!attribute [rw] title
74
+ # @return [::String]
75
+ # Required. E.g., OVERVIEW, USE CASES, DOCUMENTATION, SDK & SAMPLES, JAVA,
76
+ # NODE.JS, etc..
77
+ # @!attribute [rw] content
78
+ # @return [::String]
79
+ # Required. Content of this piece of document (in Markdown format).
80
+ class Documentation
81
+ include ::Google::Protobuf::MessageExts
82
+ extend ::Google::Protobuf::MessageExts::ClassMethods
83
+ end
84
+
85
+ # Actions could take on this Publisher Model.
86
+ # @!attribute [rw] view_rest_api
87
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::ViewRestApi]
88
+ # Optional. To view Rest API docs.
89
+ # @!attribute [rw] open_notebook
90
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
91
+ # Optional. Open notebook of the PublisherModel.
92
+ # @!attribute [rw] create_application
93
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
94
+ # Optional. Create application using the PublisherModel.
95
+ # @!attribute [rw] open_fine_tuning_pipeline
96
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
97
+ # Optional. Open fine-tuning pipeline of the PublisherModel.
98
+ # @!attribute [rw] open_prompt_tuning_pipeline
99
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
100
+ # Optional. Open prompt-tuning pipeline of the PublisherModel.
101
+ # @!attribute [rw] open_genie
102
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
103
+ # Optional. Open Genie / Playground.
104
+ # @!attribute [rw] deploy
105
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::Deploy]
106
+ # Optional. Deploy the PublisherModel to Vertex Endpoint.
107
+ # @!attribute [rw] open_generation_ai_studio
108
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
109
+ # Optional. Open in Generation AI Studio.
110
+ # @!attribute [rw] request_access
111
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::CallToAction::RegionalResourceReferences]
112
+ # Optional. Request for access.
113
+ class CallToAction
114
+ include ::Google::Protobuf::MessageExts
115
+ extend ::Google::Protobuf::MessageExts::ClassMethods
116
+
117
+ # The regional resource name or the URI. Key is region, e.g.,
118
+ # us-central1, europe-west2, global, etc..
119
+ # @!attribute [rw] references
120
+ # @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::PublisherModel::ResourceReference}]
121
+ # Required.
122
+ # @!attribute [rw] title
123
+ # @return [::String]
124
+ # Required. The title of the regional resource reference.
125
+ class RegionalResourceReferences
126
+ include ::Google::Protobuf::MessageExts
127
+ extend ::Google::Protobuf::MessageExts::ClassMethods
128
+
129
+ # @!attribute [rw] key
130
+ # @return [::String]
131
+ # @!attribute [rw] value
132
+ # @return [::Google::Cloud::AIPlatform::V1::PublisherModel::ResourceReference]
133
+ class ReferencesEntry
134
+ include ::Google::Protobuf::MessageExts
135
+ extend ::Google::Protobuf::MessageExts::ClassMethods
136
+ end
137
+ end
138
+
139
+ # Rest API docs.
140
+ # @!attribute [rw] documentations
141
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::PublisherModel::Documentation>]
142
+ # Required.
143
+ # @!attribute [rw] title
144
+ # @return [::String]
145
+ # Required. The title of the view rest API.
146
+ class ViewRestApi
147
+ include ::Google::Protobuf::MessageExts
148
+ extend ::Google::Protobuf::MessageExts::ClassMethods
149
+ end
150
+
151
+ # Model metadata that is needed for UploadModel or
152
+ # DeployModel/CreateEndpoint requests.
153
+ # @!attribute [rw] dedicated_resources
154
+ # @return [::Google::Cloud::AIPlatform::V1::DedicatedResources]
155
+ # A description of resources that are dedicated to the DeployedModel,
156
+ # and that need a higher degree of manual configuration.
157
+ # @!attribute [rw] automatic_resources
158
+ # @return [::Google::Cloud::AIPlatform::V1::AutomaticResources]
159
+ # A description of resources that to large degree are decided by Vertex
160
+ # AI, and require only a modest additional configuration.
161
+ # @!attribute [rw] shared_resources
162
+ # @return [::String]
163
+ # The resource name of the shared DeploymentResourcePool to deploy on.
164
+ # Format:
165
+ # `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
166
+ # @!attribute [rw] model_display_name
167
+ # @return [::String]
168
+ # Optional. Default model display name.
169
+ # @!attribute [rw] large_model_reference
170
+ # @return [::Google::Cloud::AIPlatform::V1::LargeModelReference]
171
+ # Optional. Large model reference. When this is set, model_artifact_spec
172
+ # is not needed.
173
+ # @!attribute [rw] container_spec
174
+ # @return [::Google::Cloud::AIPlatform::V1::ModelContainerSpec]
175
+ # Optional. The specification of the container that is to be used when
176
+ # deploying this Model in Vertex AI. Not present for Large Models.
177
+ # @!attribute [rw] artifact_uri
178
+ # @return [::String]
179
+ # Optional. The path to the directory containing the Model artifact and
180
+ # any of its supporting files.
181
+ # @!attribute [rw] title
182
+ # @return [::String]
183
+ # Required. The title of the regional resource reference.
184
+ class Deploy
185
+ include ::Google::Protobuf::MessageExts
186
+ extend ::Google::Protobuf::MessageExts::ClassMethods
187
+ end
188
+ end
189
+
190
+ # An enum representing the open source category of a PublisherModel.
191
+ module OpenSourceCategory
192
+ # The open source category is unspecified, which should not be used.
193
+ OPEN_SOURCE_CATEGORY_UNSPECIFIED = 0
194
+
195
+ # Used to indicate the PublisherModel is not open sourced.
196
+ PROPRIETARY = 1
197
+
198
+ # Used to indicate the PublisherModel is a Google-owned open source model
199
+ # w/ Google checkpoint.
200
+ GOOGLE_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 2
201
+
202
+ # Used to indicate the PublisherModel is a 3p-owned open source model w/
203
+ # Google checkpoint.
204
+ THIRD_PARTY_OWNED_OSS_WITH_GOOGLE_CHECKPOINT = 3
205
+
206
+ # Used to indicate the PublisherModel is a Google-owned pure open source
207
+ # model.
208
+ GOOGLE_OWNED_OSS = 4
209
+
210
+ # Used to indicate the PublisherModel is a 3p-owned pure open source model.
211
+ THIRD_PARTY_OWNED_OSS = 5
212
+ end
213
+
214
+ # An enum representing the launch stage of a PublisherModel.
215
+ module LaunchStage
216
+ # The model launch stage is unspecified.
217
+ LAUNCH_STAGE_UNSPECIFIED = 0
218
+
219
+ # Used to indicate the PublisherModel is at Experimental launch stage.
220
+ EXPERIMENTAL = 1
221
+
222
+ # Used to indicate the PublisherModel is at Private Preview launch stage.
223
+ PRIVATE_PREVIEW = 2
224
+
225
+ # Used to indicate the PublisherModel is at Public Preview launch stage.
226
+ PUBLIC_PREVIEW = 3
227
+
228
+ # Used to indicate the PublisherModel is at GA launch stage.
229
+ GA = 4
230
+ end
231
+ end
232
+ end
233
+ end
234
+ end
235
+ end
@@ -42,7 +42,8 @@ module Google
42
42
  # Output only. Timestamp when this TensorboardExperiment was last updated.
43
43
  # @!attribute [rw] labels
44
44
  # @return [::Google::Protobuf::Map{::String => ::String}]
45
- # The labels with user-defined metadata to organize your Datasets.
45
+ # The labels with user-defined metadata to organize your
46
+ # TensorboardExperiment.
46
47
  #
47
48
  # Label keys and values cannot be longer than 64 characters
48
49
  # (Unicode codepoints), can only contain lowercase letters, numeric
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -87,7 +87,7 @@ module Google
87
87
  # `NullValue` is a singleton enumeration to represent the null value for the
88
88
  # `Value` type union.
89
89
  #
90
- # The JSON representation for `NullValue` is JSON `null`.
90
+ # The JSON representation for `NullValue` is JSON `null`.
91
91
  module NullValue
92
92
  # Null value.
93
93
  NULL_VALUE = 0
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
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.23.0
4
+ version: 0.25.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-05-04 00:00:00.000000000 Z
11
+ date: 2023-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.1
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.1
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -246,6 +246,10 @@ files:
246
246
  - lib/google/cloud/ai_platform/v1/job_service/credentials.rb
247
247
  - lib/google/cloud/ai_platform/v1/job_service/operations.rb
248
248
  - lib/google/cloud/ai_platform/v1/job_service/paths.rb
249
+ - lib/google/cloud/ai_platform/v1/match_service.rb
250
+ - lib/google/cloud/ai_platform/v1/match_service/client.rb
251
+ - lib/google/cloud/ai_platform/v1/match_service/credentials.rb
252
+ - lib/google/cloud/ai_platform/v1/match_service/paths.rb
249
253
  - lib/google/cloud/ai_platform/v1/metadata_service.rb
250
254
  - lib/google/cloud/ai_platform/v1/metadata_service/client.rb
251
255
  - lib/google/cloud/ai_platform/v1/metadata_service/credentials.rb
@@ -256,6 +260,10 @@ files:
256
260
  - lib/google/cloud/ai_platform/v1/migration_service/credentials.rb
257
261
  - lib/google/cloud/ai_platform/v1/migration_service/operations.rb
258
262
  - lib/google/cloud/ai_platform/v1/migration_service/paths.rb
263
+ - lib/google/cloud/ai_platform/v1/model_garden_service.rb
264
+ - lib/google/cloud/ai_platform/v1/model_garden_service/client.rb
265
+ - lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb
266
+ - lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb
259
267
  - lib/google/cloud/ai_platform/v1/model_service.rb
260
268
  - lib/google/cloud/ai_platform/v1/model_service/client.rb
261
269
  - lib/google/cloud/ai_platform/v1/model_service/credentials.rb
@@ -335,6 +343,8 @@ files:
335
343
  - lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb
336
344
  - lib/google/cloud/aiplatform/v1/machine_resources_pb.rb
337
345
  - lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb
346
+ - lib/google/cloud/aiplatform/v1/match_service_pb.rb
347
+ - lib/google/cloud/aiplatform/v1/match_service_services_pb.rb
338
348
  - lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb
339
349
  - lib/google/cloud/aiplatform/v1/metadata_service_pb.rb
340
350
  - lib/google/cloud/aiplatform/v1/metadata_service_services_pb.rb
@@ -345,6 +355,8 @@ files:
345
355
  - lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb
346
356
  - lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb
347
357
  - lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb
358
+ - lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb
359
+ - lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb
348
360
  - lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb
349
361
  - lib/google/cloud/aiplatform/v1/model_pb.rb
350
362
  - lib/google/cloud/aiplatform/v1/model_service_pb.rb
@@ -358,6 +370,7 @@ files:
358
370
  - lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb
359
371
  - lib/google/cloud/aiplatform/v1/prediction_service_pb.rb
360
372
  - lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb
373
+ - lib/google/cloud/aiplatform/v1/publisher_model_pb.rb
361
374
  - lib/google/cloud/aiplatform/v1/saved_query_pb.rb
362
375
  - lib/google/cloud/aiplatform/v1/service_networking_pb.rb
363
376
  - lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb
@@ -426,6 +439,7 @@ files:
426
439
  - proto_docs/google/cloud/aiplatform/v1/lineage_subgraph.rb
427
440
  - proto_docs/google/cloud/aiplatform/v1/machine_resources.rb
428
441
  - proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb
442
+ - proto_docs/google/cloud/aiplatform/v1/match_service.rb
429
443
  - proto_docs/google/cloud/aiplatform/v1/metadata_schema.rb
430
444
  - proto_docs/google/cloud/aiplatform/v1/metadata_service.rb
431
445
  - proto_docs/google/cloud/aiplatform/v1/metadata_store.rb
@@ -435,6 +449,7 @@ files:
435
449
  - proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb
436
450
  - proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb
437
451
  - proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb
452
+ - proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb
438
453
  - proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb
439
454
  - proto_docs/google/cloud/aiplatform/v1/model_service.rb
440
455
  - proto_docs/google/cloud/aiplatform/v1/nas_job.rb
@@ -444,6 +459,7 @@ files:
444
459
  - proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb
445
460
  - proto_docs/google/cloud/aiplatform/v1/pipeline_state.rb
446
461
  - proto_docs/google/cloud/aiplatform/v1/prediction_service.rb
462
+ - proto_docs/google/cloud/aiplatform/v1/publisher_model.rb
447
463
  - proto_docs/google/cloud/aiplatform/v1/saved_query.rb
448
464
  - proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_classification.rb
449
465
  - proto_docs/google/cloud/aiplatform/v1/schema/predict/instance/image_object_detection.rb