Skip to content

Commit 06d0d22

Browse files
1 parent 377819c commit 06d0d22

10 files changed

Lines changed: 234 additions & 8 deletions

src/Aiplatform/CloudAiLargeModelsVisionGenerateVideoExperiments.php

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@
1717

1818
namespace Google\Service\Aiplatform;
1919

20-
class CloudAiLargeModelsVisionGenerateVideoExperiments extends \Google\Model
20+
class CloudAiLargeModelsVisionGenerateVideoExperiments extends \Google\Collection
2121
{
22+
protected $collection_key = 'conditioningFrames';
23+
protected $conditioningFramesType = CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame::class;
24+
protected $conditioningFramesDataType = 'array';
2225
protected $humanPoseType = CloudAiLargeModelsVisionHumanPose::class;
2326
protected $humanPoseDataType = '';
2427
/**
@@ -49,6 +52,23 @@ class CloudAiLargeModelsVisionGenerateVideoExperiments extends \Google\Model
4952
*/
5053
public $videoTransformStrength;
5154

55+
/**
56+
* Conditioning frames for veo experimental models ONLY, not to be confused
57+
* with keyframes (ID:31) in GenerateVideoRequest.
58+
*
59+
* @param CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame[] $conditioningFrames
60+
*/
61+
public function setConditioningFrames($conditioningFrames)
62+
{
63+
$this->conditioningFrames = $conditioningFrames;
64+
}
65+
/**
66+
* @return CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame[]
67+
*/
68+
public function getConditioningFrames()
69+
{
70+
return $this->conditioningFrames;
71+
}
5272
/**
5373
* Human pose parameters for Pose Control
5474
*
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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 CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame extends \Google\Model
21+
{
22+
/**
23+
* The index of the frame, starts with zero and must be a multiple of 8.
24+
*
25+
* @var int
26+
*/
27+
public $frameNum;
28+
protected $imageType = CloudAiLargeModelsVisionGenerateVideoRequestImage::class;
29+
protected $imageDataType = '';
30+
31+
/**
32+
* The index of the frame, starts with zero and must be a multiple of 8.
33+
*
34+
* @param int $frameNum
35+
*/
36+
public function setFrameNum($frameNum)
37+
{
38+
$this->frameNum = $frameNum;
39+
}
40+
/**
41+
* @return int
42+
*/
43+
public function getFrameNum()
44+
{
45+
return $this->frameNum;
46+
}
47+
/**
48+
* The image data for this conditioning frame.
49+
*
50+
* @param CloudAiLargeModelsVisionGenerateVideoRequestImage $image
51+
*/
52+
public function setImage(CloudAiLargeModelsVisionGenerateVideoRequestImage $image)
53+
{
54+
$this->image = $image;
55+
}
56+
/**
57+
* @return CloudAiLargeModelsVisionGenerateVideoRequestImage
58+
*/
59+
public function getImage()
60+
{
61+
return $this->image;
62+
}
63+
}
64+
65+
// Adding a class alias for backwards compatibility with the previous class name.
66+
class_alias(CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame');
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
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 CloudAiLargeModelsVisionGenerateVideoRequestImage extends \Google\Model
21+
{
22+
/**
23+
* Blob ID of the image. This is used for storing the large images in the
24+
* request.
25+
*
26+
* @var string
27+
*/
28+
public $blobId;
29+
/**
30+
* Base64 encoded bytes string representing the image.
31+
*
32+
* @var string
33+
*/
34+
public $bytesBase64Encoded;
35+
/**
36+
* @var string
37+
*/
38+
public $gcsUri;
39+
/**
40+
* The MIME type of the content of the image. Only the images in below listed
41+
* MIME types are supported. - image/jpeg - image/png
42+
*
43+
* @var string
44+
*/
45+
public $mimeType;
46+
47+
/**
48+
* Blob ID of the image. This is used for storing the large images in the
49+
* request.
50+
*
51+
* @param string $blobId
52+
*/
53+
public function setBlobId($blobId)
54+
{
55+
$this->blobId = $blobId;
56+
}
57+
/**
58+
* @return string
59+
*/
60+
public function getBlobId()
61+
{
62+
return $this->blobId;
63+
}
64+
/**
65+
* Base64 encoded bytes string representing the image.
66+
*
67+
* @param string $bytesBase64Encoded
68+
*/
69+
public function setBytesBase64Encoded($bytesBase64Encoded)
70+
{
71+
$this->bytesBase64Encoded = $bytesBase64Encoded;
72+
}
73+
/**
74+
* @return string
75+
*/
76+
public function getBytesBase64Encoded()
77+
{
78+
return $this->bytesBase64Encoded;
79+
}
80+
/**
81+
* @param string $gcsUri
82+
*/
83+
public function setGcsUri($gcsUri)
84+
{
85+
$this->gcsUri = $gcsUri;
86+
}
87+
/**
88+
* @return string
89+
*/
90+
public function getGcsUri()
91+
{
92+
return $this->gcsUri;
93+
}
94+
/**
95+
* The MIME type of the content of the image. Only the images in below listed
96+
* MIME types are supported. - image/jpeg - image/png
97+
*
98+
* @param string $mimeType
99+
*/
100+
public function setMimeType($mimeType)
101+
{
102+
$this->mimeType = $mimeType;
103+
}
104+
/**
105+
* @return string
106+
*/
107+
public function getMimeType()
108+
{
109+
return $this->mimeType;
110+
}
111+
}
112+
113+
// Adding a class alias for backwards compatibility with the previous class name.
114+
class_alias(CloudAiLargeModelsVisionGenerateVideoRequestImage::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionGenerateVideoRequestImage');

src/Aiplatform/CloudAiLargeModelsVisionHumanPose.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ class CloudAiLargeModelsVisionHumanPose extends \Google\Model
3131
* @var string
3232
*/
3333
public $faceLandmarksGcsUri;
34+
/**
35+
* GCS URI of the performance mesh to condition video generation.
36+
*
37+
* @var string
38+
*/
39+
public $perfMeshGcsUri;
3440

3541
/**
3642
* GCS URI of the human pose video to condition video generation.
@@ -64,6 +70,22 @@ public function getFaceLandmarksGcsUri()
6470
{
6571
return $this->faceLandmarksGcsUri;
6672
}
73+
/**
74+
* GCS URI of the performance mesh to condition video generation.
75+
*
76+
* @param string $perfMeshGcsUri
77+
*/
78+
public function setPerfMeshGcsUri($perfMeshGcsUri)
79+
{
80+
$this->perfMeshGcsUri = $perfMeshGcsUri;
81+
}
82+
/**
83+
* @return string
84+
*/
85+
public function getPerfMeshGcsUri()
86+
{
87+
return $this->perfMeshGcsUri;
88+
}
6789
}
6890

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

src/Aiplatform/GoogleCloudAiplatformV1EvaluationRun.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ class GoogleCloudAiplatformV1EvaluationRun extends \Google\Model
5151
* The evaluation run is performing rubric generation.
5252
*/
5353
public const STATE_GENERATING_RUBRICS = 'GENERATING_RUBRICS';
54+
/**
55+
* The evaluation run is performing loss analysis.
56+
*/
57+
public const STATE_GENERATING_LOSS_CLUSTERS = 'GENERATING_LOSS_CLUSTERS';
5458
/**
5559
* Output only. Time when the evaluation run was completed.
5660
*
@@ -320,7 +324,7 @@ public function getName()
320324
* Output only. The state of the evaluation run.
321325
*
322326
* Accepted values: STATE_UNSPECIFIED, PENDING, RUNNING, SUCCEEDED, FAILED,
323-
* CANCELLED, INFERENCE, GENERATING_RUBRICS
327+
* CANCELLED, INFERENCE, GENERATING_RUBRICS, GENERATING_LOSS_CLUSTERS
324328
*
325329
* @param self::STATE_* $state
326330
*/

src/Aiplatform/GoogleCloudAiplatformV1Memory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class GoogleCloudAiplatformV1Memory extends \Google\Collection
5454
*/
5555
public $expireTime;
5656
/**
57-
* Required. Semantic knowledge extracted from the source content.
57+
* Optional. Semantic knowledge extracted from the source content.
5858
*
5959
* @var string
6060
*/
@@ -197,7 +197,7 @@ public function getExpireTime()
197197
return $this->expireTime;
198198
}
199199
/**
200-
* Required. Semantic knowledge extracted from the source content.
200+
* Optional. Semantic knowledge extracted from the source content.
201201
*
202202
* @param string $fact
203203
*/

src/Aiplatform/Resource/Endpoints.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public function generateContent($model, GoogleCloudAiplatformV1GenerateContentRe
111111
return $this->call('generateContent', [$params], GoogleCloudAiplatformV1GenerateContentResponse::class);
112112
}
113113
/**
114-
* Perform an online prediction. (endpoints.predict)
114+
* (endpoints.predict)
115115
*
116116
* @param string $endpoint Required. The name of the Endpoint requested to serve
117117
* the prediction. Format:

src/Aiplatform/Resource/ProjectsLocationsEndpoints.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ public function patch($name, GoogleCloudAiplatformV1Endpoint $postBody, $optPara
336336
return $this->call('patch', [$params], GoogleCloudAiplatformV1Endpoint::class);
337337
}
338338
/**
339-
* Perform an online prediction. (endpoints.predict)
339+
* (endpoints.predict)
340340
*
341341
* @param string $endpoint Required. The name of the Endpoint requested to serve
342342
* the prediction. Format:

src/Aiplatform/Resource/ProjectsLocationsPublishersModels.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function generateContent($model, GoogleCloudAiplatformV1GenerateContentRe
135135
return $this->call('generateContent', [$params], GoogleCloudAiplatformV1GenerateContentResponse::class);
136136
}
137137
/**
138-
* Perform an online prediction. (models.predict)
138+
* (models.predict)
139139
*
140140
* @param string $endpoint Required. The name of the Endpoint requested to serve
141141
* the prediction. Format:

src/Aiplatform/Resource/PublishersModels.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public function get($name, $optParams = [])
137137
return $this->call('get', [$params], GoogleCloudAiplatformV1PublisherModel::class);
138138
}
139139
/**
140-
* Perform an online prediction. (models.predict)
140+
* (models.predict)
141141
*
142142
* @param string $endpoint Required. The name of the Endpoint requested to serve
143143
* the prediction. Format:

0 commit comments

Comments
 (0)