@@ -46,10 +46,10 @@ message PublisherModel {
4646 string resource_name = 2 ;
4747
4848 // Use case (CUJ) of the resource.
49- string use_case = 3 ;
49+ string use_case = 3 [ deprecated = true ] ;
5050
5151 // Description of the resource.
52- string description = 4 ;
52+ string description = 4 [ deprecated = true ] ;
5353 }
5454 }
5555
@@ -72,8 +72,20 @@ message PublisherModel {
7272 map <string , ResourceReference > references = 1
7373 [(google.api.field_behavior ) = REQUIRED ];
7474
75- // Required. The title of the regional resource reference.
75+ // Required.
7676 string title = 2 [(google.api.field_behavior ) = REQUIRED ];
77+
78+ // Optional. Title of the resource.
79+ optional string resource_title = 3
80+ [(google.api.field_behavior ) = OPTIONAL ];
81+
82+ // Optional. Use case (CUJ) of the resource.
83+ optional string resource_use_case = 4
84+ [(google.api.field_behavior ) = OPTIONAL ];
85+
86+ // Optional. Description of the resource.
87+ optional string resource_description = 5
88+ [(google.api.field_behavior ) = OPTIONAL ];
7789 }
7890
7991 // Rest API docs.
@@ -86,6 +98,20 @@ message PublisherModel {
8698 string title = 2 [(google.api.field_behavior ) = REQUIRED ];
8799 }
88100
101+ // Open notebooks.
102+ message OpenNotebooks {
103+ // Required. Regional resource references to notebooks.
104+ repeated RegionalResourceReferences notebooks = 1
105+ [(google.api.field_behavior ) = REQUIRED ];
106+ }
107+
108+ // Open fine tuning pipelines.
109+ message OpenFineTuningPipelines {
110+ // Required. Regional resource references to fine tuning pipelines.
111+ repeated RegionalResourceReferences fine_tuning_pipelines = 1
112+ [(google.api.field_behavior ) = REQUIRED ];
113+ }
114+
89115 // Model metadata that is needed for UploadModel or
90116 // DeployModel/CreateEndpoint requests.
91117 message Deploy {
@@ -131,13 +157,24 @@ message PublisherModel {
131157 string public_artifact_uri = 9 [(google.api.field_behavior ) = OPTIONAL ];
132158 }
133159
160+ // Configurations for PublisherModel GKE deployment
161+ message DeployGke {
162+ // Optional. GKE deployment configuration in yaml format.
163+ repeated string gke_yaml_configs = 1
164+ [(google.api.field_behavior ) = OPTIONAL ];
165+ }
166+
134167 // Optional. To view Rest API docs.
135168 ViewRestApi view_rest_api = 1 [(google.api.field_behavior ) = OPTIONAL ];
136169
137170 // Optional. Open notebook of the PublisherModel.
138171 RegionalResourceReferences open_notebook = 2
139172 [(google.api.field_behavior ) = OPTIONAL ];
140173
174+ // Optional. Open notebooks of the PublisherModel.
175+ optional OpenNotebooks open_notebooks = 12
176+ [(google.api.field_behavior ) = OPTIONAL ];
177+
141178 // Optional. Create application using the PublisherModel.
142179 RegionalResourceReferences create_application = 3
143180 [(google.api.field_behavior ) = OPTIONAL ];
@@ -146,6 +183,10 @@ message PublisherModel {
146183 RegionalResourceReferences open_fine_tuning_pipeline = 4
147184 [(google.api.field_behavior ) = OPTIONAL ];
148185
186+ // Optional. Open fine-tuning pipelines of the PublisherModel.
187+ optional OpenFineTuningPipelines open_fine_tuning_pipelines = 13
188+ [(google.api.field_behavior ) = OPTIONAL ];
189+
149190 // Optional. Open prompt-tuning pipeline of the PublisherModel.
150191 RegionalResourceReferences open_prompt_tuning_pipeline = 5
151192 [(google.api.field_behavior ) = OPTIONAL ];
@@ -157,6 +198,9 @@ message PublisherModel {
157198 // Optional. Deploy the PublisherModel to Vertex Endpoint.
158199 Deploy deploy = 7 [(google.api.field_behavior ) = OPTIONAL ];
159200
201+ // Optional. Deploy PublisherModel to Google Kubernetes Engine.
202+ DeployGke deploy_gke = 14 [(google.api.field_behavior ) = OPTIONAL ];
203+
160204 // Optional. Open in Generation AI Studio.
161205 RegionalResourceReferences open_generation_ai_studio = 8
162206 [(google.api.field_behavior ) = OPTIONAL ];
0 commit comments