Skip to content

Commit cbc03fa

Browse files
1 parent cf384b9 commit cbc03fa

8 files changed

Lines changed: 198 additions & 3 deletions

src/Aiplatform/GoogleCloudAiplatformV1BatchPredictionJobInputConfig.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ class GoogleCloudAiplatformV1BatchPredictionJobInputConfig extends \Google\Model
3030
* @var string
3131
*/
3232
public $instancesFormat;
33+
protected $vertexMultimodalDatasetSourceType = GoogleCloudAiplatformV1VertexMultimodalDatasetSource::class;
34+
protected $vertexMultimodalDatasetSourceDataType = '';
3335

3436
/**
3537
* The BigQuery location of the input table. The schema of the table should be
@@ -83,6 +85,23 @@ public function getInstancesFormat()
8385
{
8486
return $this->instancesFormat;
8587
}
88+
/**
89+
* A Vertex Managed Dataset. Currently, only datasets of type Multimodal are
90+
* supported.
91+
*
92+
* @param GoogleCloudAiplatformV1VertexMultimodalDatasetSource $vertexMultimodalDatasetSource
93+
*/
94+
public function setVertexMultimodalDatasetSource(GoogleCloudAiplatformV1VertexMultimodalDatasetSource $vertexMultimodalDatasetSource)
95+
{
96+
$this->vertexMultimodalDatasetSource = $vertexMultimodalDatasetSource;
97+
}
98+
/**
99+
* @return GoogleCloudAiplatformV1VertexMultimodalDatasetSource
100+
*/
101+
public function getVertexMultimodalDatasetSource()
102+
{
103+
return $this->vertexMultimodalDatasetSource;
104+
}
86105
}
87106

88107
// Adding a class alias for backwards compatibility with the previous class name.

src/Aiplatform/GoogleCloudAiplatformV1BatchPredictionJobOutputConfig.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ class GoogleCloudAiplatformV1BatchPredictionJobOutputConfig extends \Google\Mode
3030
* @var string
3131
*/
3232
public $predictionsFormat;
33+
protected $vertexMultimodalDatasetDestinationType = GoogleCloudAiplatformV1VertexMultimodalDatasetDestination::class;
34+
protected $vertexMultimodalDatasetDestinationDataType = '';
3335

3436
/**
3537
* The BigQuery project or dataset location where the output is to be written
@@ -106,6 +108,23 @@ public function getPredictionsFormat()
106108
{
107109
return $this->predictionsFormat;
108110
}
111+
/**
112+
* The details for a Vertex Multimodal Dataset that will be created for the
113+
* output.
114+
*
115+
* @param GoogleCloudAiplatformV1VertexMultimodalDatasetDestination $vertexMultimodalDatasetDestination
116+
*/
117+
public function setVertexMultimodalDatasetDestination(GoogleCloudAiplatformV1VertexMultimodalDatasetDestination $vertexMultimodalDatasetDestination)
118+
{
119+
$this->vertexMultimodalDatasetDestination = $vertexMultimodalDatasetDestination;
120+
}
121+
/**
122+
* @return GoogleCloudAiplatformV1VertexMultimodalDatasetDestination
123+
*/
124+
public function getVertexMultimodalDatasetDestination()
125+
{
126+
return $this->vertexMultimodalDatasetDestination;
127+
}
109128
}
110129

111130
// Adding a class alias for backwards compatibility with the previous class name.

src/Aiplatform/GoogleCloudAiplatformV1BatchPredictionJobOutputInfo.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ class GoogleCloudAiplatformV1BatchPredictionJobOutputInfo extends \Google\Model
4242
* @var string
4343
*/
4444
public $gcsOutputDirectory;
45+
/**
46+
* Output only. The resource name of the Vertex Managed Dataset created, into
47+
* which the prediction output is written. Format:
48+
* `projects/{project}/locations/{location}/datasets/{dataset}`
49+
*
50+
* @var string
51+
*/
52+
public $vertexMultimodalDatasetName;
4553

4654
/**
4755
* Output only. The path of the BigQuery dataset created, in
@@ -96,6 +104,24 @@ public function getGcsOutputDirectory()
96104
{
97105
return $this->gcsOutputDirectory;
98106
}
107+
/**
108+
* Output only. The resource name of the Vertex Managed Dataset created, into
109+
* which the prediction output is written. Format:
110+
* `projects/{project}/locations/{location}/datasets/{dataset}`
111+
*
112+
* @param string $vertexMultimodalDatasetName
113+
*/
114+
public function setVertexMultimodalDatasetName($vertexMultimodalDatasetName)
115+
{
116+
$this->vertexMultimodalDatasetName = $vertexMultimodalDatasetName;
117+
}
118+
/**
119+
* @return string
120+
*/
121+
public function getVertexMultimodalDatasetName()
122+
{
123+
return $this->vertexMultimodalDatasetName;
124+
}
99125
}
100126

101127
// Adding a class alias for backwards compatibility with the previous class name.

src/Aiplatform/GoogleCloudAiplatformV1GenerationConfigThinkingConfig.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,18 @@ class GoogleCloudAiplatformV1GenerationConfigThinkingConfig extends \Google\Mode
2727
* Low thinking level.
2828
*/
2929
public const THINKING_LEVEL_LOW = 'LOW';
30+
/**
31+
* Medium thinking level.
32+
*/
33+
public const THINKING_LEVEL_MEDIUM = 'MEDIUM';
3034
/**
3135
* High thinking level.
3236
*/
3337
public const THINKING_LEVEL_HIGH = 'HIGH';
38+
/**
39+
* MINIMAL thinking level.
40+
*/
41+
public const THINKING_LEVEL_MINIMAL = 'MINIMAL';
3442
/**
3543
* Optional. If true, the model will include its thoughts in the response.
3644
* "Thoughts" are the intermediate steps the model takes to arrive at the
@@ -97,7 +105,7 @@ public function getThinkingBudget()
97105
/**
98106
* Optional. The number of thoughts tokens that the model should generate.
99107
*
100-
* Accepted values: THINKING_LEVEL_UNSPECIFIED, LOW, HIGH
108+
* Accepted values: THINKING_LEVEL_UNSPECIFIED, LOW, MEDIUM, HIGH, MINIMAL
101109
*
102110
* @param self::THINKING_LEVEL_* $thinkingLevel
103111
*/

src/Aiplatform/GoogleCloudAiplatformV1PartMediaResolution.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class GoogleCloudAiplatformV1PartMediaResolution extends \Google\Model
3535
* Media resolution set to high.
3636
*/
3737
public const LEVEL_MEDIA_RESOLUTION_HIGH = 'MEDIA_RESOLUTION_HIGH';
38+
/**
39+
* Media resolution set to ultra high. This is for image only.
40+
*/
41+
public const LEVEL_MEDIA_RESOLUTION_ULTRA_HIGH = 'MEDIA_RESOLUTION_ULTRA_HIGH';
3842
/**
3943
* The tokenization quality used for given media.
4044
*
@@ -46,7 +50,7 @@ class GoogleCloudAiplatformV1PartMediaResolution extends \Google\Model
4650
* The tokenization quality used for given media.
4751
*
4852
* Accepted values: MEDIA_RESOLUTION_UNSPECIFIED, MEDIA_RESOLUTION_LOW,
49-
* MEDIA_RESOLUTION_MEDIUM, MEDIA_RESOLUTION_HIGH
53+
* MEDIA_RESOLUTION_MEDIUM, MEDIA_RESOLUTION_HIGH, MEDIA_RESOLUTION_ULTRA_HIGH
5054
*
5155
* @param self::LEVEL_* $level
5256
*/
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://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, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Aiplatform;
19+
20+
class GoogleCloudAiplatformV1VertexMultimodalDatasetDestination extends \Google\Model
21+
{
22+
protected $bigqueryDestinationType = GoogleCloudAiplatformV1BigQueryDestination::class;
23+
protected $bigqueryDestinationDataType = '';
24+
/**
25+
* Optional. Display name of the output dataset.
26+
*
27+
* @var string
28+
*/
29+
public $displayName;
30+
31+
/**
32+
* Optional. The destination of the underlying BigQuery table that will be
33+
* created for the output Multimodal Dataset. If not specified, the BigQuery
34+
* table will be created in a default BigQuery dataset.
35+
*
36+
* @param GoogleCloudAiplatformV1BigQueryDestination $bigqueryDestination
37+
*/
38+
public function setBigqueryDestination(GoogleCloudAiplatformV1BigQueryDestination $bigqueryDestination)
39+
{
40+
$this->bigqueryDestination = $bigqueryDestination;
41+
}
42+
/**
43+
* @return GoogleCloudAiplatformV1BigQueryDestination
44+
*/
45+
public function getBigqueryDestination()
46+
{
47+
return $this->bigqueryDestination;
48+
}
49+
/**
50+
* Optional. Display name of the output dataset.
51+
*
52+
* @param string $displayName
53+
*/
54+
public function setDisplayName($displayName)
55+
{
56+
$this->displayName = $displayName;
57+
}
58+
/**
59+
* @return string
60+
*/
61+
public function getDisplayName()
62+
{
63+
return $this->displayName;
64+
}
65+
}
66+
67+
// Adding a class alias for backwards compatibility with the previous class name.
68+
class_alias(GoogleCloudAiplatformV1VertexMultimodalDatasetDestination::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1VertexMultimodalDatasetDestination');
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<?php
2+
/*
3+
* Copyright 2014 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
6+
* use this file except in compliance with the License. You may obtain a copy of
7+
* the License at
8+
*
9+
* http://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, WITHOUT
13+
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14+
* License for the specific language governing permissions and limitations under
15+
* the License.
16+
*/
17+
18+
namespace Google\Service\Aiplatform;
19+
20+
class GoogleCloudAiplatformV1VertexMultimodalDatasetSource extends \Google\Model
21+
{
22+
/**
23+
* Required. The resource name of the Vertex Dataset. Format:
24+
* `projects/{project}/locations/{location}/datasets/{dataset}`
25+
*
26+
* @var string
27+
*/
28+
public $datasetName;
29+
30+
/**
31+
* Required. The resource name of the Vertex Dataset. Format:
32+
* `projects/{project}/locations/{location}/datasets/{dataset}`
33+
*
34+
* @param string $datasetName
35+
*/
36+
public function setDatasetName($datasetName)
37+
{
38+
$this->datasetName = $datasetName;
39+
}
40+
/**
41+
* @return string
42+
*/
43+
public function getDatasetName()
44+
{
45+
return $this->datasetName;
46+
}
47+
}
48+
49+
// Adding a class alias for backwards compatibility with the previous class name.
50+
class_alias(GoogleCloudAiplatformV1VertexMultimodalDatasetSource::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1VertexMultimodalDatasetSource');

src/Aiplatform/Resource/ProjectsLocationsNotebookRuntimeTemplates.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,8 @@ public function listProjectsLocationsNotebookRuntimeTemplates($parent, $optParam
173173
* `software_config.post_startup_script_config.post_startup_script` *
174174
* `software_config.post_startup_script_config.post_startup_script_url` *
175175
* `software_config.post_startup_script_config.post_startup_script_behavior` *
176-
* `software_config.env` * `software_config.colab_image.release_name`
176+
* `software_config.env` * `software_config.colab_image.release_name` *
177+
* `software_config.custom_container_config.image_uri`
177178
* @return GoogleCloudAiplatformV1NotebookRuntimeTemplate
178179
* @throws \Google\Service\Exception
179180
*/

0 commit comments

Comments
 (0)