Skip to content

Commit aae9ec3

Browse files
1 parent 6322ae9 commit aae9ec3

8 files changed

Lines changed: 234 additions & 3 deletions

src/Aiplatform/CloudAiLargeModelsVisionGenerateVideoExperiments.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ class CloudAiLargeModelsVisionGenerateVideoExperiments extends \Google\Collectio
3838
public $numDiffusionSteps;
3939
protected $promptInputsType = CloudAiLargeModelsVisionPromptInputs::class;
4040
protected $promptInputsDataType = '';
41+
/**
42+
* Optional tag for tracking the source of this request. Allowed values:
43+
* "colab", "comfyui", "curl", "flowresearch", "vertexstudio". Unrecognized
44+
* tags are recorded as "unknown" in metrics. Tags do not affect video
45+
* generation behavior. Up to 16 characters, ASCII alphanumeric, hyphens, and
46+
* underscores only.
47+
*
48+
* @var string
49+
*/
50+
public $requestOriginTag;
4151
/**
4252
* GCS URI of the grayscale video mask for Differential Diffusion. Maps to
4353
* sdedit_video_tmax_scale_map
@@ -134,6 +144,26 @@ public function getPromptInputs()
134144
{
135145
return $this->promptInputs;
136146
}
147+
/**
148+
* Optional tag for tracking the source of this request. Allowed values:
149+
* "colab", "comfyui", "curl", "flowresearch", "vertexstudio". Unrecognized
150+
* tags are recorded as "unknown" in metrics. Tags do not affect video
151+
* generation behavior. Up to 16 characters, ASCII alphanumeric, hyphens, and
152+
* underscores only.
153+
*
154+
* @param string $requestOriginTag
155+
*/
156+
public function setRequestOriginTag($requestOriginTag)
157+
{
158+
$this->requestOriginTag = $requestOriginTag;
159+
}
160+
/**
161+
* @return string
162+
*/
163+
public function getRequestOriginTag()
164+
{
165+
return $this->requestOriginTag;
166+
}
137167
/**
138168
* GCS URI of the grayscale video mask for Differential Diffusion. Maps to
139169
* sdedit_video_tmax_scale_map

src/Aiplatform/CloudAiLargeModelsVisionHumanPose.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ class CloudAiLargeModelsVisionHumanPose extends \Google\Model
2222
/**
2323
* GCS URI of the human pose video to condition video generation.
2424
*
25+
* @deprecated
2526
* @var string
2627
*/
2728
public $bodyLandmarksGcsUri;
2829
/**
2930
* GCS URI of the face landmarks video to condition video generation.
3031
*
32+
* @deprecated
3133
* @var string
3234
*/
3335
public $faceLandmarksGcsUri;
@@ -41,13 +43,15 @@ class CloudAiLargeModelsVisionHumanPose extends \Google\Model
4143
/**
4244
* GCS URI of the human pose video to condition video generation.
4345
*
46+
* @deprecated
4447
* @param string $bodyLandmarksGcsUri
4548
*/
4649
public function setBodyLandmarksGcsUri($bodyLandmarksGcsUri)
4750
{
4851
$this->bodyLandmarksGcsUri = $bodyLandmarksGcsUri;
4952
}
5053
/**
54+
* @deprecated
5155
* @return string
5256
*/
5357
public function getBodyLandmarksGcsUri()
@@ -57,13 +61,15 @@ public function getBodyLandmarksGcsUri()
5761
/**
5862
* GCS URI of the face landmarks video to condition video generation.
5963
*
64+
* @deprecated
6065
* @param string $faceLandmarksGcsUri
6166
*/
6267
public function setFaceLandmarksGcsUri($faceLandmarksGcsUri)
6368
{
6469
$this->faceLandmarksGcsUri = $faceLandmarksGcsUri;
6570
}
6671
/**
72+
* @deprecated
6773
* @return string
6874
*/
6975
public function getFaceLandmarksGcsUri()

src/Aiplatform/GoogleCloudAiplatformV1MigratableResource.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,18 @@ public function getAutomlModel()
7575
return $this->automlModel;
7676
}
7777
/**
78-
* Output only. Represents one Dataset in datalabeling.googleapis.com.
78+
* Output only. Deprecated: Data Labeling Dataset migration is no longer
79+
* supported. Represents one Dataset in datalabeling.googleapis.com.
7980
*
81+
* @deprecated
8082
* @param GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset $dataLabelingDataset
8183
*/
8284
public function setDataLabelingDataset(GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset $dataLabelingDataset)
8385
{
8486
$this->dataLabelingDataset = $dataLabelingDataset;
8587
}
8688
/**
89+
* @deprecated
8790
* @return GoogleCloudAiplatformV1MigratableResourceDataLabelingDataset
8891
*/
8992
public function getDataLabelingDataset()

src/Aiplatform/GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec extends \Google\C
4141
public $maxInstances;
4242
/**
4343
* Optional. The minimum number of application instances that will be kept
44-
* running at all times. Defaults to 1. Range: [0, 10].
44+
* running at all times. Defaults to 1. Range: [0, 75].
4545
*
4646
* @var int
4747
*/
@@ -136,7 +136,7 @@ public function getMaxInstances()
136136
}
137137
/**
138138
* Optional. The minimum number of application instances that will be kept
139-
* running at all times. Defaults to 1. Range: [0, 10].
139+
* running at all times. Defaults to 1. Range: [0, 75].
140140
*
141141
* @param int $minInstances
142142
*/

src/Aiplatform/GoogleCloudAiplatformV1SandboxEnvironment.php

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,44 @@ class GoogleCloudAiplatformV1SandboxEnvironment extends \Google\Model
6565
* @var string
6666
*/
6767
public $expireTime;
68+
/**
69+
* Output only. The resource name of the latest snapshot taken for this
70+
* SandboxEnvironment.
71+
*
72+
* @var string
73+
*/
74+
public $latestSandboxEnvironmentSnapshot;
6875
/**
6976
* Identifier. The name of the SandboxEnvironment.
7077
*
7178
* @var string
7279
*/
7380
public $name;
81+
/**
82+
* Optional. Owner information for this sandbox environment. A Sandbox can
83+
* only be restored from a snapshot that belongs to the same owner. If not
84+
* set, sandbox will be created as the default owner.
85+
*
86+
* @var string
87+
*/
88+
public $owner;
89+
/**
90+
* Optional. The resource name of the SandboxEnvironmentSnapshot to use for
91+
* creating this SandboxEnvironment. Format: `projects/{project}/locations/{lo
92+
* cation}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sa
93+
* ndbox_environment_snapshot}`
94+
*
95+
* @var string
96+
*/
97+
public $sandboxEnvironmentSnapshot;
98+
/**
99+
* Optional. The name of the SandboxEnvironmentTemplate specified in the
100+
* parent Agent Engine resource that this SandboxEnvironment is created from.
101+
* Only one of `sandbox_environment_template` and `spec` should be set.
102+
*
103+
* @var string
104+
*/
105+
public $sandboxEnvironmentTemplate;
74106
protected $specType = GoogleCloudAiplatformV1SandboxEnvironmentSpec::class;
75107
protected $specDataType = '';
76108
/**
@@ -160,6 +192,23 @@ public function getExpireTime()
160192
{
161193
return $this->expireTime;
162194
}
195+
/**
196+
* Output only. The resource name of the latest snapshot taken for this
197+
* SandboxEnvironment.
198+
*
199+
* @param string $latestSandboxEnvironmentSnapshot
200+
*/
201+
public function setLatestSandboxEnvironmentSnapshot($latestSandboxEnvironmentSnapshot)
202+
{
203+
$this->latestSandboxEnvironmentSnapshot = $latestSandboxEnvironmentSnapshot;
204+
}
205+
/**
206+
* @return string
207+
*/
208+
public function getLatestSandboxEnvironmentSnapshot()
209+
{
210+
return $this->latestSandboxEnvironmentSnapshot;
211+
}
163212
/**
164213
* Identifier. The name of the SandboxEnvironment.
165214
*
@@ -176,6 +225,61 @@ public function getName()
176225
{
177226
return $this->name;
178227
}
228+
/**
229+
* Optional. Owner information for this sandbox environment. A Sandbox can
230+
* only be restored from a snapshot that belongs to the same owner. If not
231+
* set, sandbox will be created as the default owner.
232+
*
233+
* @param string $owner
234+
*/
235+
public function setOwner($owner)
236+
{
237+
$this->owner = $owner;
238+
}
239+
/**
240+
* @return string
241+
*/
242+
public function getOwner()
243+
{
244+
return $this->owner;
245+
}
246+
/**
247+
* Optional. The resource name of the SandboxEnvironmentSnapshot to use for
248+
* creating this SandboxEnvironment. Format: `projects/{project}/locations/{lo
249+
* cation}/reasoningEngines/{reasoning_engine}/sandboxEnvironmentSnapshots/{sa
250+
* ndbox_environment_snapshot}`
251+
*
252+
* @param string $sandboxEnvironmentSnapshot
253+
*/
254+
public function setSandboxEnvironmentSnapshot($sandboxEnvironmentSnapshot)
255+
{
256+
$this->sandboxEnvironmentSnapshot = $sandboxEnvironmentSnapshot;
257+
}
258+
/**
259+
* @return string
260+
*/
261+
public function getSandboxEnvironmentSnapshot()
262+
{
263+
return $this->sandboxEnvironmentSnapshot;
264+
}
265+
/**
266+
* Optional. The name of the SandboxEnvironmentTemplate specified in the
267+
* parent Agent Engine resource that this SandboxEnvironment is created from.
268+
* Only one of `sandbox_environment_template` and `spec` should be set.
269+
*
270+
* @param string $sandboxEnvironmentTemplate
271+
*/
272+
public function setSandboxEnvironmentTemplate($sandboxEnvironmentTemplate)
273+
{
274+
$this->sandboxEnvironmentTemplate = $sandboxEnvironmentTemplate;
275+
}
276+
/**
277+
* @return string
278+
*/
279+
public function getSandboxEnvironmentTemplate()
280+
{
281+
return $this->sandboxEnvironmentTemplate;
282+
}
179283
/**
180284
* Optional. The configuration of the SandboxEnvironment.
181285
*

src/Aiplatform/GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ class GoogleCloudAiplatformV1SandboxEnvironmentConnectionInfo extends \Google\Mo
3131
* @var string
3232
*/
3333
public $loadBalancerIp;
34+
/**
35+
* Output only. The routing token for the SandboxEnvironment.
36+
*
37+
* @var string
38+
*/
39+
public $routingToken;
3440
/**
3541
* Output only. The hostname of the SandboxEnvironment.
3642
*
@@ -76,6 +82,22 @@ public function getLoadBalancerIp()
7682
{
7783
return $this->loadBalancerIp;
7884
}
85+
/**
86+
* Output only. The routing token for the SandboxEnvironment.
87+
*
88+
* @param string $routingToken
89+
*/
90+
public function setRoutingToken($routingToken)
91+
{
92+
$this->routingToken = $routingToken;
93+
}
94+
/**
95+
* @return string
96+
*/
97+
public function getRoutingToken()
98+
{
99+
return $this->routingToken;
100+
}
79101
/**
80102
* Output only. The hostname of the SandboxEnvironment.
81103
*

src/Aiplatform/GoogleCloudAiplatformV1SandboxEnvironmentTemplate.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ class GoogleCloudAiplatformV1SandboxEnvironmentTemplate extends \Google\Model
6060
* @var string
6161
*/
6262
public $displayName;
63+
protected $egressControlConfigType = GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig::class;
64+
protected $egressControlConfigDataType = '';
6365
/**
6466
* Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `p
6567
* rojects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/
@@ -149,6 +151,22 @@ public function getDisplayName()
149151
{
150152
return $this->displayName;
151153
}
154+
/**
155+
* Optional. The configuration for egress control of this template.
156+
*
157+
* @param GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig $egressControlConfig
158+
*/
159+
public function setEgressControlConfig(GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig $egressControlConfig)
160+
{
161+
$this->egressControlConfig = $egressControlConfig;
162+
}
163+
/**
164+
* @return GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
165+
*/
166+
public function getEgressControlConfig()
167+
{
168+
return $this->egressControlConfig;
169+
}
152170
/**
153171
* Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `p
154172
* rojects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}/
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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 GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig extends \Google\Model
21+
{
22+
/**
23+
* Optional. Whether to allow internet access.
24+
*
25+
* @var bool
26+
*/
27+
public $internetAccess;
28+
29+
/**
30+
* Optional. Whether to allow internet access.
31+
*
32+
* @param bool $internetAccess
33+
*/
34+
public function setInternetAccess($internetAccess)
35+
{
36+
$this->internetAccess = $internetAccess;
37+
}
38+
/**
39+
* @return bool
40+
*/
41+
public function getInternetAccess()
42+
{
43+
return $this->internetAccess;
44+
}
45+
}
46+
47+
// Adding a class alias for backwards compatibility with the previous class name.
48+
class_alias(GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig');

0 commit comments

Comments
 (0)