gestione documentale avanzata 1 parte

This commit is contained in:
2026-05-28 09:34:28 +02:00
parent 3471befb1a
commit f2b0833b90
34482 changed files with 4312269 additions and 546 deletions
@@ -0,0 +1,89 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionFilteredText extends \Google\Model
{
/**
* @var string
*/
public $category;
/**
* @var string
*/
public $confidence;
/**
* @var string
*/
public $prompt;
public $score;
/**
* @param string
*/
public function setCategory($category)
{
$this->category = $category;
}
/**
* @return string
*/
public function getCategory()
{
return $this->category;
}
/**
* @param string
*/
public function setConfidence($confidence)
{
$this->confidence = $confidence;
}
/**
* @return string
*/
public function getConfidence()
{
return $this->confidence;
}
/**
* @param string
*/
public function setPrompt($prompt)
{
$this->prompt = $prompt;
}
/**
* @return string
*/
public function getPrompt()
{
return $this->prompt;
}
public function setScore($score)
{
$this->score = $score;
}
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionFilteredText::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionFilteredText');
@@ -0,0 +1,257 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionGenerateVideoExperiments extends \Google\Collection
{
public const CODEC_VIDEO_CODEC_UNSPECIFIED = 'VIDEO_CODEC_UNSPECIFIED';
public const CODEC_VIDEO_CODEC_H264 = 'VIDEO_CODEC_H264';
public const CODEC_VIDEO_CODEC_PRORES = 'VIDEO_CODEC_PRORES';
protected $collection_key = 'conditioningFrames';
/**
* Optional. Video codec to use for output.
*
* @var string
*/
public $codec;
protected $conditioningFramesType = CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame::class;
protected $conditioningFramesDataType = 'array';
protected $humanPoseType = CloudAiLargeModelsVisionHumanPose::class;
protected $humanPoseDataType = '';
/**
* Model names, as defined in: xyz
*
* @var string
*/
public $modelName;
/**
* Number of diffusion steps
*
* @var int
*/
public $numDiffusionSteps;
protected $promptInputsType = CloudAiLargeModelsVisionPromptInputs::class;
protected $promptInputsDataType = '';
/**
* Optional tag for tracking the source of this request. Allowed values:
* "colab", "comfyui", "curl", "flowresearch", "vertexstudio". Unrecognized
* tags are recorded as "unknown" in metrics. Tags do not affect video
* generation behavior. Up to 16 characters, ASCII alphanumeric, hyphens, and
* underscores only.
*
* @var string
*/
public $requestOriginTag;
/**
* If true (default), truncate input videos that exceed the model's maximum
* frame count by applying a frame_selection_config to __video_file__ inputs.
* Set to false to preserve the existing fail-fast behavior.
*
* @var bool
*/
public $truncateInputVideo;
/**
* GCS URI of the grayscale video mask for Differential Diffusion. Maps to
* sdedit_video_tmax_scale_map
*
* @var string
*/
public $videoTransformMaskGcsUri;
/**
* SDEdit: Scalar noise level (0.0 to 1.0) Maps to sdedit_tmax
*
* @var float
*/
public $videoTransformStrength;
/**
* Optional. Video codec to use for output.
*
* Accepted values: VIDEO_CODEC_UNSPECIFIED, VIDEO_CODEC_H264,
* VIDEO_CODEC_PRORES
*
* @param self::CODEC_* $codec
*/
public function setCodec($codec)
{
$this->codec = $codec;
}
/**
* @return self::CODEC_*
*/
public function getCodec()
{
return $this->codec;
}
/**
* Conditioning frames for veo experimental models ONLY, not to be confused
* with keyframes (ID:31) in GenerateVideoRequest.
*
* @param CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame[] $conditioningFrames
*/
public function setConditioningFrames($conditioningFrames)
{
$this->conditioningFrames = $conditioningFrames;
}
/**
* @return CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame[]
*/
public function getConditioningFrames()
{
return $this->conditioningFrames;
}
/**
* Human pose parameters for Pose Control
*
* @param CloudAiLargeModelsVisionHumanPose $humanPose
*/
public function setHumanPose(CloudAiLargeModelsVisionHumanPose $humanPose)
{
$this->humanPose = $humanPose;
}
/**
* @return CloudAiLargeModelsVisionHumanPose
*/
public function getHumanPose()
{
return $this->humanPose;
}
/**
* Model names, as defined in: xyz
*
* @param string $modelName
*/
public function setModelName($modelName)
{
$this->modelName = $modelName;
}
/**
* @return string
*/
public function getModelName()
{
return $this->modelName;
}
/**
* Number of diffusion steps
*
* @param int $numDiffusionSteps
*/
public function setNumDiffusionSteps($numDiffusionSteps)
{
$this->numDiffusionSteps = $numDiffusionSteps;
}
/**
* @return int
*/
public function getNumDiffusionSteps()
{
return $this->numDiffusionSteps;
}
/**
* Prompt chunks for "ProModel" prompting. If set, the prompt will not be
* rewritten, and top-level prompt ignored.
*
* @param CloudAiLargeModelsVisionPromptInputs $promptInputs
*/
public function setPromptInputs(CloudAiLargeModelsVisionPromptInputs $promptInputs)
{
$this->promptInputs = $promptInputs;
}
/**
* @return CloudAiLargeModelsVisionPromptInputs
*/
public function getPromptInputs()
{
return $this->promptInputs;
}
/**
* Optional tag for tracking the source of this request. Allowed values:
* "colab", "comfyui", "curl", "flowresearch", "vertexstudio". Unrecognized
* tags are recorded as "unknown" in metrics. Tags do not affect video
* generation behavior. Up to 16 characters, ASCII alphanumeric, hyphens, and
* underscores only.
*
* @param string $requestOriginTag
*/
public function setRequestOriginTag($requestOriginTag)
{
$this->requestOriginTag = $requestOriginTag;
}
/**
* @return string
*/
public function getRequestOriginTag()
{
return $this->requestOriginTag;
}
/**
* If true (default), truncate input videos that exceed the model's maximum
* frame count by applying a frame_selection_config to __video_file__ inputs.
* Set to false to preserve the existing fail-fast behavior.
*
* @param bool $truncateInputVideo
*/
public function setTruncateInputVideo($truncateInputVideo)
{
$this->truncateInputVideo = $truncateInputVideo;
}
/**
* @return bool
*/
public function getTruncateInputVideo()
{
return $this->truncateInputVideo;
}
/**
* GCS URI of the grayscale video mask for Differential Diffusion. Maps to
* sdedit_video_tmax_scale_map
*
* @param string $videoTransformMaskGcsUri
*/
public function setVideoTransformMaskGcsUri($videoTransformMaskGcsUri)
{
$this->videoTransformMaskGcsUri = $videoTransformMaskGcsUri;
}
/**
* @return string
*/
public function getVideoTransformMaskGcsUri()
{
return $this->videoTransformMaskGcsUri;
}
/**
* SDEdit: Scalar noise level (0.0 to 1.0) Maps to sdedit_tmax
*
* @param float $videoTransformStrength
*/
public function setVideoTransformStrength($videoTransformStrength)
{
$this->videoTransformStrength = $videoTransformStrength;
}
/**
* @return float
*/
public function getVideoTransformStrength()
{
return $this->videoTransformStrength;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionGenerateVideoExperiments::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionGenerateVideoExperiments');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame extends \Google\Model
{
/**
* The index of the frame, starts with zero and must be a multiple of 8.
*
* @var int
*/
public $frameNum;
protected $imageType = CloudAiLargeModelsVisionGenerateVideoRequestImage::class;
protected $imageDataType = '';
/**
* The index of the frame, starts with zero and must be a multiple of 8.
*
* @param int $frameNum
*/
public function setFrameNum($frameNum)
{
$this->frameNum = $frameNum;
}
/**
* @return int
*/
public function getFrameNum()
{
return $this->frameNum;
}
/**
* The image data for this conditioning frame.
*
* @param CloudAiLargeModelsVisionGenerateVideoRequestImage $image
*/
public function setImage(CloudAiLargeModelsVisionGenerateVideoRequestImage $image)
{
$this->image = $image;
}
/**
* @return CloudAiLargeModelsVisionGenerateVideoRequestImage
*/
public function getImage()
{
return $this->image;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionGenerateVideoExperimentsConditioningFrame');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionGenerateVideoRequestImage extends \Google\Model
{
/**
* Blob ID of the image. This is used for storing the large images in the
* request.
*
* @var string
*/
public $blobId;
/**
* Base64 encoded bytes string representing the image.
*
* @var string
*/
public $bytesBase64Encoded;
/**
* @var string
*/
public $gcsUri;
/**
* The MIME type of the content of the image. Only the images in below listed
* MIME types are supported. - image/jpeg - image/png
*
* @var string
*/
public $mimeType;
/**
* Blob ID of the image. This is used for storing the large images in the
* request.
*
* @param string $blobId
*/
public function setBlobId($blobId)
{
$this->blobId = $blobId;
}
/**
* @return string
*/
public function getBlobId()
{
return $this->blobId;
}
/**
* Base64 encoded bytes string representing the image.
*
* @param string $bytesBase64Encoded
*/
public function setBytesBase64Encoded($bytesBase64Encoded)
{
$this->bytesBase64Encoded = $bytesBase64Encoded;
}
/**
* @return string
*/
public function getBytesBase64Encoded()
{
return $this->bytesBase64Encoded;
}
/**
* @param string $gcsUri
*/
public function setGcsUri($gcsUri)
{
$this->gcsUri = $gcsUri;
}
/**
* @return string
*/
public function getGcsUri()
{
return $this->gcsUri;
}
/**
* The MIME type of the content of the image. Only the images in below listed
* MIME types are supported. - image/jpeg - image/png
*
* @param string $mimeType
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionGenerateVideoRequestImage::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionGenerateVideoRequestImage');
@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionGenerateVideoResponse extends \Google\Collection
{
protected $collection_key = 'videos';
protected $generatedSamplesType = CloudAiLargeModelsVisionMedia::class;
protected $generatedSamplesDataType = 'array';
/**
* Returns if any videos were filtered due to RAI policies.
*
* @var int
*/
public $raiMediaFilteredCount;
/**
* Returns rai failure reasons if any.
*
* @var string[]
*/
public $raiMediaFilteredReasons;
protected $videosType = CloudAiLargeModelsVisionGenerateVideoResponseVideo::class;
protected $videosDataType = 'array';
/**
* The generates samples.
*
* @param CloudAiLargeModelsVisionMedia[] $generatedSamples
*/
public function setGeneratedSamples($generatedSamples)
{
$this->generatedSamples = $generatedSamples;
}
/**
* @return CloudAiLargeModelsVisionMedia[]
*/
public function getGeneratedSamples()
{
return $this->generatedSamples;
}
/**
* Returns if any videos were filtered due to RAI policies.
*
* @param int $raiMediaFilteredCount
*/
public function setRaiMediaFilteredCount($raiMediaFilteredCount)
{
$this->raiMediaFilteredCount = $raiMediaFilteredCount;
}
/**
* @return int
*/
public function getRaiMediaFilteredCount()
{
return $this->raiMediaFilteredCount;
}
/**
* Returns rai failure reasons if any.
*
* @param string[] $raiMediaFilteredReasons
*/
public function setRaiMediaFilteredReasons($raiMediaFilteredReasons)
{
$this->raiMediaFilteredReasons = $raiMediaFilteredReasons;
}
/**
* @return string[]
*/
public function getRaiMediaFilteredReasons()
{
return $this->raiMediaFilteredReasons;
}
/**
* List of videos, used to align naming with the external response.
*
* @param CloudAiLargeModelsVisionGenerateVideoResponseVideo[] $videos
*/
public function setVideos($videos)
{
$this->videos = $videos;
}
/**
* @return CloudAiLargeModelsVisionGenerateVideoResponseVideo[]
*/
public function getVideos()
{
return $this->videos;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionGenerateVideoResponse::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionGenerateVideoResponse');
@@ -0,0 +1,111 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionGenerateVideoResponseVideo extends \Google\Model
{
/**
* Base64 encoded bytes string representing the video.
*
* @var string
*/
public $bytesBase64Encoded;
protected $experimentsMetadataType = CloudAiLargeModelsVisionGenerateVideoExperiments::class;
protected $experimentsMetadataDataType = '';
/**
* Cloud Storage URI where the generated video is written.
*
* @var string
*/
public $gcsUri;
/**
* The MIME type of the content of the video. - video/mp4
*
* @var string
*/
public $mimeType;
/**
* Base64 encoded bytes string representing the video.
*
* @param string $bytesBase64Encoded
*/
public function setBytesBase64Encoded($bytesBase64Encoded)
{
$this->bytesBase64Encoded = $bytesBase64Encoded;
}
/**
* @return string
*/
public function getBytesBase64Encoded()
{
return $this->bytesBase64Encoded;
}
/**
* Optional metadata returned from experimental requests. Likely only includes
* the rewritten prompt chunks.
*
* @param CloudAiLargeModelsVisionGenerateVideoExperiments $experimentsMetadata
*/
public function setExperimentsMetadata(CloudAiLargeModelsVisionGenerateVideoExperiments $experimentsMetadata)
{
$this->experimentsMetadata = $experimentsMetadata;
}
/**
* @return CloudAiLargeModelsVisionGenerateVideoExperiments
*/
public function getExperimentsMetadata()
{
return $this->experimentsMetadata;
}
/**
* Cloud Storage URI where the generated video is written.
*
* @param string $gcsUri
*/
public function setGcsUri($gcsUri)
{
$this->gcsUri = $gcsUri;
}
/**
* @return string
*/
public function getGcsUri()
{
return $this->gcsUri;
}
/**
* The MIME type of the content of the video. - video/mp4
*
* @param string $mimeType
*/
public function setMimeType($mimeType)
{
$this->mimeType = $mimeType;
}
/**
* @return string
*/
public function getMimeType()
{
return $this->mimeType;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionGenerateVideoResponseVideo::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionGenerateVideoResponseVideo');
@@ -0,0 +1,98 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionHumanPose extends \Google\Model
{
/**
* GCS URI of the human pose video to condition video generation.
*
* @deprecated
* @var string
*/
public $bodyLandmarksGcsUri;
/**
* GCS URI of the face landmarks video to condition video generation.
*
* @deprecated
* @var string
*/
public $faceLandmarksGcsUri;
/**
* GCS URI of the performance mesh to condition video generation.
*
* @var string
*/
public $perfMeshGcsUri;
/**
* GCS URI of the human pose video to condition video generation.
*
* @deprecated
* @param string $bodyLandmarksGcsUri
*/
public function setBodyLandmarksGcsUri($bodyLandmarksGcsUri)
{
$this->bodyLandmarksGcsUri = $bodyLandmarksGcsUri;
}
/**
* @deprecated
* @return string
*/
public function getBodyLandmarksGcsUri()
{
return $this->bodyLandmarksGcsUri;
}
/**
* GCS URI of the face landmarks video to condition video generation.
*
* @deprecated
* @param string $faceLandmarksGcsUri
*/
public function setFaceLandmarksGcsUri($faceLandmarksGcsUri)
{
$this->faceLandmarksGcsUri = $faceLandmarksGcsUri;
}
/**
* @deprecated
* @return string
*/
public function getFaceLandmarksGcsUri()
{
return $this->faceLandmarksGcsUri;
}
/**
* GCS URI of the performance mesh to condition video generation.
*
* @param string $perfMeshGcsUri
*/
public function setPerfMeshGcsUri($perfMeshGcsUri)
{
$this->perfMeshGcsUri = $perfMeshGcsUri;
}
/**
* @return string
*/
public function getPerfMeshGcsUri()
{
return $this->perfMeshGcsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionHumanPose::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionHumanPose');
@@ -0,0 +1,215 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionImage extends \Google\Model
{
/**
* Image encoding, encoded as "image/png" or "image/jpg".
*
* @var string
*/
public $encoding;
/**
* Generation seed for the sampled image. This parameter is exposed to the
* user only if one of the following is true: 1. The user specified per-
* example seeds in the request. 2. The user doesn't specify the generation
* seed in the request.
*
* @var int
*/
public $generationSeed;
/**
* Raw bytes.
*
* @var string
*/
public $image;
protected $imageRaiScoresType = CloudAiLargeModelsVisionImageRAIScores::class;
protected $imageRaiScoresDataType = '';
protected $imageSizeType = CloudAiLargeModelsVisionImageImageSize::class;
protected $imageSizeDataType = '';
protected $raiInfoType = CloudAiLargeModelsVisionRaiInfo::class;
protected $raiInfoDataType = '';
protected $semanticFilterResponseType = CloudAiLargeModelsVisionSemanticFilterResponse::class;
protected $semanticFilterResponseDataType = '';
/**
* Text/Expanded text input for imagen.
*
* @var string
*/
public $text;
/**
* Path to another storage (typically Google Cloud Storage).
*
* @var string
*/
public $uri;
/**
* Image encoding, encoded as "image/png" or "image/jpg".
*
* @param string $encoding
*/
public function setEncoding($encoding)
{
$this->encoding = $encoding;
}
/**
* @return string
*/
public function getEncoding()
{
return $this->encoding;
}
/**
* Generation seed for the sampled image. This parameter is exposed to the
* user only if one of the following is true: 1. The user specified per-
* example seeds in the request. 2. The user doesn't specify the generation
* seed in the request.
*
* @param int $generationSeed
*/
public function setGenerationSeed($generationSeed)
{
$this->generationSeed = $generationSeed;
}
/**
* @return int
*/
public function getGenerationSeed()
{
return $this->generationSeed;
}
/**
* Raw bytes.
*
* @param string $image
*/
public function setImage($image)
{
$this->image = $image;
}
/**
* @return string
*/
public function getImage()
{
return $this->image;
}
/**
* RAI scores for generated image.
*
* @param CloudAiLargeModelsVisionImageRAIScores $imageRaiScores
*/
public function setImageRaiScores(CloudAiLargeModelsVisionImageRAIScores $imageRaiScores)
{
$this->imageRaiScores = $imageRaiScores;
}
/**
* @return CloudAiLargeModelsVisionImageRAIScores
*/
public function getImageRaiScores()
{
return $this->imageRaiScores;
}
/**
* Image size. The size of the image. Can be self reported, or computed from
* the image bytes.
*
* @param CloudAiLargeModelsVisionImageImageSize $imageSize
*/
public function setImageSize(CloudAiLargeModelsVisionImageImageSize $imageSize)
{
$this->imageSize = $imageSize;
}
/**
* @return CloudAiLargeModelsVisionImageImageSize
*/
public function getImageSize()
{
return $this->imageSize;
}
/**
* RAI info for image.
*
* @param CloudAiLargeModelsVisionRaiInfo $raiInfo
*/
public function setRaiInfo(CloudAiLargeModelsVisionRaiInfo $raiInfo)
{
$this->raiInfo = $raiInfo;
}
/**
* @return CloudAiLargeModelsVisionRaiInfo
*/
public function getRaiInfo()
{
return $this->raiInfo;
}
/**
* Semantic filter info for image.
*
* @param CloudAiLargeModelsVisionSemanticFilterResponse $semanticFilterResponse
*/
public function setSemanticFilterResponse(CloudAiLargeModelsVisionSemanticFilterResponse $semanticFilterResponse)
{
$this->semanticFilterResponse = $semanticFilterResponse;
}
/**
* @return CloudAiLargeModelsVisionSemanticFilterResponse
*/
public function getSemanticFilterResponse()
{
return $this->semanticFilterResponse;
}
/**
* Text/Expanded text input for imagen.
*
* @param string $text
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
/**
* Path to another storage (typically Google Cloud Storage).
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionImage::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionImage');
@@ -0,0 +1,80 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionImageImageSize extends \Google\Model
{
/**
* @var int
*/
public $channels;
/**
* @var int
*/
public $height;
/**
* @var int
*/
public $width;
/**
* @param int $channels
*/
public function setChannels($channels)
{
$this->channels = $channels;
}
/**
* @return int
*/
public function getChannels()
{
return $this->channels;
}
/**
* @param int $height
*/
public function setHeight($height)
{
$this->height = $height;
}
/**
* @return int
*/
public function getHeight()
{
return $this->height;
}
/**
* @param int $width
*/
public function setWidth($width)
{
$this->width = $width;
}
/**
* @return int
*/
public function getWidth()
{
return $this->width;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionImageImageSize::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionImageImageSize');
@@ -0,0 +1,40 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionImageRAIScores extends \Google\Model
{
/**
* Agile watermark score for image.
*
* @var
*/
public $agileWatermarkDetectionScore;
public function setAgileWatermarkDetectionScore($agileWatermarkDetectionScore)
{
$this->agileWatermarkDetectionScore = $agileWatermarkDetectionScore;
}
public function getAgileWatermarkDetectionScore()
{
return $this->agileWatermarkDetectionScore;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionImageRAIScores::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionImageRAIScores');
@@ -0,0 +1,62 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionMedia extends \Google\Model
{
protected $imageType = CloudAiLargeModelsVisionImage::class;
protected $imageDataType = '';
protected $videoType = CloudAiLargeModelsVisionVideo::class;
protected $videoDataType = '';
/**
* Image.
*
* @param CloudAiLargeModelsVisionImage $image
*/
public function setImage(CloudAiLargeModelsVisionImage $image)
{
$this->image = $image;
}
/**
* @return CloudAiLargeModelsVisionImage
*/
public function getImage()
{
return $this->image;
}
/**
* Video
*
* @param CloudAiLargeModelsVisionVideo $video
*/
public function setVideo(CloudAiLargeModelsVisionVideo $video)
{
$this->video = $video;
}
/**
* @return CloudAiLargeModelsVisionVideo
*/
public function getVideo()
{
return $this->video;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionMedia::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionMedia');
@@ -0,0 +1,153 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionNamedBoundingBox extends \Google\Collection
{
protected $collection_key = 'scores';
/**
* @var string[]
*/
public $classes;
/**
* @var string[]
*/
public $entities;
/**
* @var float[]
*/
public $scores;
/**
* @var float
*/
public $x1;
/**
* @var float
*/
public $x2;
/**
* @var float
*/
public $y1;
/**
* @var float
*/
public $y2;
/**
* @param string[] $classes
*/
public function setClasses($classes)
{
$this->classes = $classes;
}
/**
* @return string[]
*/
public function getClasses()
{
return $this->classes;
}
/**
* @param string[] $entities
*/
public function setEntities($entities)
{
$this->entities = $entities;
}
/**
* @return string[]
*/
public function getEntities()
{
return $this->entities;
}
/**
* @param float[] $scores
*/
public function setScores($scores)
{
$this->scores = $scores;
}
/**
* @return float[]
*/
public function getScores()
{
return $this->scores;
}
/**
* @param float $x1
*/
public function setX1($x1)
{
$this->x1 = $x1;
}
/**
* @return float
*/
public function getX1()
{
return $this->x1;
}
/**
* @param float $x2
*/
public function setX2($x2)
{
$this->x2 = $x2;
}
/**
* @return float
*/
public function getX2()
{
return $this->x2;
}
/**
* @param float $y1
*/
public function setY1($y1)
{
$this->y1 = $y1;
}
/**
* @return float
*/
public function getY1()
{
return $this->y1;
}
/**
* @param float $y2
*/
public function setY2($y2)
{
$this->y2 = $y2;
}
/**
* @return float
*/
public function getY2()
{
return $this->y2;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionNamedBoundingBox::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionNamedBoundingBox');
@@ -0,0 +1,137 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionPromptInputs extends \Google\Collection
{
protected $collection_key = 'promptChunks';
/**
* Description of audio content in the video, without speech.
*
* @var string
*/
public $audioPrompt;
/**
* Negative description of audio content in the video.
*
* @var string
*/
public $negativeAudioPrompt;
/**
* Single negative prompt for what not to generate.
*
* @var string
*/
public $negativePrompt;
/**
* 2s, 256 tokens per chunk, 4 total chunks. Required.
*
* @var string[]
*/
public $promptChunks;
/**
* Spoken transcript of the video for characters.
*
* @var string
*/
public $transcript;
/**
* Description of audio content in the video, without speech.
*
* @param string $audioPrompt
*/
public function setAudioPrompt($audioPrompt)
{
$this->audioPrompt = $audioPrompt;
}
/**
* @return string
*/
public function getAudioPrompt()
{
return $this->audioPrompt;
}
/**
* Negative description of audio content in the video.
*
* @param string $negativeAudioPrompt
*/
public function setNegativeAudioPrompt($negativeAudioPrompt)
{
$this->negativeAudioPrompt = $negativeAudioPrompt;
}
/**
* @return string
*/
public function getNegativeAudioPrompt()
{
return $this->negativeAudioPrompt;
}
/**
* Single negative prompt for what not to generate.
*
* @param string $negativePrompt
*/
public function setNegativePrompt($negativePrompt)
{
$this->negativePrompt = $negativePrompt;
}
/**
* @return string
*/
public function getNegativePrompt()
{
return $this->negativePrompt;
}
/**
* 2s, 256 tokens per chunk, 4 total chunks. Required.
*
* @param string[] $promptChunks
*/
public function setPromptChunks($promptChunks)
{
$this->promptChunks = $promptChunks;
}
/**
* @return string[]
*/
public function getPromptChunks()
{
return $this->promptChunks;
}
/**
* Spoken transcript of the video for characters.
*
* @param string $transcript
*/
public function setTranscript($transcript)
{
$this->transcript = $transcript;
}
/**
* @return string
*/
public function getTranscript()
{
return $this->transcript;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionPromptInputs::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionPromptInputs');
@@ -0,0 +1,141 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionRaiInfo extends \Google\Collection
{
protected $collection_key = 'scores';
/**
* List of blocked entities from the blocklist if it is detected.
*
* @var string[]
*/
public $blockedEntities;
protected $detectedLabelsType = CloudAiLargeModelsVisionRaiInfoDetectedLabels::class;
protected $detectedLabelsDataType = 'array';
/**
* The model name used to indexing into the RaiFilterConfig map. Would either
* be one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or
* internal names used for mapping to different filter configs (genselfie,
* ai_watermark) than its api endpoint.
*
* @var string
*/
public $modelName;
/**
* List of rai categories' information to return
*
* @var string[]
*/
public $raiCategories;
/**
* List of rai scores mapping to the rai categories. Rounded to 1 decimal
* place.
*
* @var float[]
*/
public $scores;
/**
* List of blocked entities from the blocklist if it is detected.
*
* @param string[] $blockedEntities
*/
public function setBlockedEntities($blockedEntities)
{
$this->blockedEntities = $blockedEntities;
}
/**
* @return string[]
*/
public function getBlockedEntities()
{
return $this->blockedEntities;
}
/**
* The list of detected labels for different rai categories.
*
* @param CloudAiLargeModelsVisionRaiInfoDetectedLabels[] $detectedLabels
*/
public function setDetectedLabels($detectedLabels)
{
$this->detectedLabels = $detectedLabels;
}
/**
* @return CloudAiLargeModelsVisionRaiInfoDetectedLabels[]
*/
public function getDetectedLabels()
{
return $this->detectedLabels;
}
/**
* The model name used to indexing into the RaiFilterConfig map. Would either
* be one of imagegeneration@002-006, imagen-3.0-... api endpoint names, or
* internal names used for mapping to different filter configs (genselfie,
* ai_watermark) than its api endpoint.
*
* @param string $modelName
*/
public function setModelName($modelName)
{
$this->modelName = $modelName;
}
/**
* @return string
*/
public function getModelName()
{
return $this->modelName;
}
/**
* List of rai categories' information to return
*
* @param string[] $raiCategories
*/
public function setRaiCategories($raiCategories)
{
$this->raiCategories = $raiCategories;
}
/**
* @return string[]
*/
public function getRaiCategories()
{
return $this->raiCategories;
}
/**
* List of rai scores mapping to the rai categories. Rounded to 1 decimal
* place.
*
* @param float[] $scores
*/
public function setScores($scores)
{
$this->scores = $scores;
}
/**
* @return float[]
*/
public function getScores()
{
return $this->scores;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionRaiInfo::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionRaiInfo');
@@ -0,0 +1,67 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionRaiInfoDetectedLabels extends \Google\Collection
{
protected $collection_key = 'entities';
protected $entitiesType = CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity::class;
protected $entitiesDataType = 'array';
/**
* The RAI category for the deteceted labels.
*
* @var string
*/
public $raiCategory;
/**
* The list of detected entities for the rai signal.
*
* @param CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity[] $entities
*/
public function setEntities($entities)
{
$this->entities = $entities;
}
/**
* @return CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity[]
*/
public function getEntities()
{
return $this->entities;
}
/**
* The RAI category for the deteceted labels.
*
* @param string $raiCategory
*/
public function setRaiCategory($raiCategory)
{
$this->raiCategory = $raiCategory;
}
/**
* @return string
*/
public function getRaiCategory()
{
return $this->raiCategory;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionRaiInfoDetectedLabels::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabels');
@@ -0,0 +1,114 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox extends \Google\Model
{
/**
* The X coordinate of the top-left corner, in pixels.
*
* @var int
*/
public $x1;
/**
* The X coordinate of the bottom-right corner, in pixels.
*
* @var int
*/
public $x2;
/**
* The Y coordinate of the top-left corner, in pixels.
*
* @var int
*/
public $y1;
/**
* The Y coordinate of the bottom-right corner, in pixels.
*
* @var int
*/
public $y2;
/**
* The X coordinate of the top-left corner, in pixels.
*
* @param int $x1
*/
public function setX1($x1)
{
$this->x1 = $x1;
}
/**
* @return int
*/
public function getX1()
{
return $this->x1;
}
/**
* The X coordinate of the bottom-right corner, in pixels.
*
* @param int $x2
*/
public function setX2($x2)
{
$this->x2 = $x2;
}
/**
* @return int
*/
public function getX2()
{
return $this->x2;
}
/**
* The Y coordinate of the top-left corner, in pixels.
*
* @param int $y1
*/
public function setY1($y1)
{
$this->y1 = $y1;
}
/**
* @return int
*/
public function getY1()
{
return $this->y1;
}
/**
* The Y coordinate of the bottom-right corner, in pixels.
*
* @param int $y2
*/
public function setY2($y2)
{
$this->y2 = $y2;
}
/**
* @return int
*/
public function getY2()
{
return $this->y2;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox');
@@ -0,0 +1,132 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity extends \Google\Model
{
protected $boundingBoxType = CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox::class;
protected $boundingBoxDataType = '';
/**
* Description of the label
*
* @var string
*/
public $description;
/**
* The intersection ratio between the detection bounding box and the mask.
*
* @var float
*/
public $iouScore;
/**
* MID of the label
*
* @var string
*/
public $mid;
/**
* Confidence score of the label
*
* @var float
*/
public $score;
/**
* Bounding box of the label
*
* @param CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox $boundingBox
*/
public function setBoundingBox(CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox $boundingBox)
{
$this->boundingBox = $boundingBox;
}
/**
* @return CloudAiLargeModelsVisionRaiInfoDetectedLabelsBoundingBox
*/
public function getBoundingBox()
{
return $this->boundingBox;
}
/**
* Description of the label
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* The intersection ratio between the detection bounding box and the mask.
*
* @param float $iouScore
*/
public function setIouScore($iouScore)
{
$this->iouScore = $iouScore;
}
/**
* @return float
*/
public function getIouScore()
{
return $this->iouScore;
}
/**
* MID of the label
*
* @param string $mid
*/
public function setMid($mid)
{
$this->mid = $mid;
}
/**
* @return string
*/
public function getMid()
{
return $this->mid;
}
/**
* Confidence score of the label
*
* @param float $score
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionRaiInfoDetectedLabelsEntity');
@@ -0,0 +1,74 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionSemanticFilterResponse extends \Google\Collection
{
protected $collection_key = 'namedBoundingBoxes';
protected $namedBoundingBoxesType = CloudAiLargeModelsVisionNamedBoundingBox::class;
protected $namedBoundingBoxesDataType = 'array';
/**
* This response is added when semantic filter config is turned on in
* EditConfig. It reports if this image is passed semantic filter response. If
* passed_semantic_filter is false, the bounding box information will be
* populated for user to check what caused the semantic filter to fail.
*
* @var bool
*/
public $passedSemanticFilter;
/**
* Class labels of the bounding boxes that failed the semantic filtering.
* Bounding box coordinates.
*
* @param CloudAiLargeModelsVisionNamedBoundingBox[] $namedBoundingBoxes
*/
public function setNamedBoundingBoxes($namedBoundingBoxes)
{
$this->namedBoundingBoxes = $namedBoundingBoxes;
}
/**
* @return CloudAiLargeModelsVisionNamedBoundingBox[]
*/
public function getNamedBoundingBoxes()
{
return $this->namedBoundingBoxes;
}
/**
* This response is added when semantic filter config is turned on in
* EditConfig. It reports if this image is passed semantic filter response. If
* passed_semantic_filter is false, the bounding box information will be
* populated for user to check what caused the semantic filter to fail.
*
* @param bool $passedSemanticFilter
*/
public function setPassedSemanticFilter($passedSemanticFilter)
{
$this->passedSemanticFilter = $passedSemanticFilter;
}
/**
* @return bool
*/
public function getPassedSemanticFilter()
{
return $this->passedSemanticFilter;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionSemanticFilterResponse::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionSemanticFilterResponse');
@@ -0,0 +1,136 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiLargeModelsVisionVideo extends \Google\Model
{
/**
* Base 64 encoded video bytes.
*
* @var string
*/
public $encodedVideo;
/**
* Video encoding, for example "video/mp4".
*
* @var string
*/
public $encoding;
/**
* Text/Expanded text input for Help Me Write.
*
* @var string
*/
public $text;
/**
* Path to another storage (typically Google Cloud Storage).
*
* @var string
*/
public $uri;
/**
* Raw bytes.
*
* @var string
*/
public $video;
/**
* Base 64 encoded video bytes.
*
* @param string $encodedVideo
*/
public function setEncodedVideo($encodedVideo)
{
$this->encodedVideo = $encodedVideo;
}
/**
* @return string
*/
public function getEncodedVideo()
{
return $this->encodedVideo;
}
/**
* Video encoding, for example "video/mp4".
*
* @param string $encoding
*/
public function setEncoding($encoding)
{
$this->encoding = $encoding;
}
/**
* @return string
*/
public function getEncoding()
{
return $this->encoding;
}
/**
* Text/Expanded text input for Help Me Write.
*
* @param string $text
*/
public function setText($text)
{
$this->text = $text;
}
/**
* @return string
*/
public function getText()
{
return $this->text;
}
/**
* Path to another storage (typically Google Cloud Storage).
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
/**
* Raw bytes.
*
* @param string $video
*/
public function setVideo($video)
{
$this->video = $video;
}
/**
* @return string
*/
public function getVideo()
{
return $this->video;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiLargeModelsVisionVideo::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionVideo');
@@ -0,0 +1,180 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class CloudAiPlatformCommonCreatePipelineJobApiErrorDetail extends \Google\Model
{
/**
* Should never be used.
*/
public const ERROR_CAUSE_ERROR_CAUSE_UNSPECIFIED = 'ERROR_CAUSE_UNSPECIFIED';
/**
* IR Pipeline Spec can not been parsed to yaml or json format.
*/
public const ERROR_CAUSE_INVALID_PIPELINE_SPEC_FORMAT = 'INVALID_PIPELINE_SPEC_FORMAT';
/**
* A pipeline spec is invalid.
*/
public const ERROR_CAUSE_INVALID_PIPELINE_SPEC = 'INVALID_PIPELINE_SPEC';
/**
* A deployment config is invalid.
*/
public const ERROR_CAUSE_INVALID_DEPLOYMENT_CONFIG = 'INVALID_DEPLOYMENT_CONFIG';
/**
* A deployment spec is invalid.
*/
public const ERROR_CAUSE_INVALID_DEPLOYMENT_SPEC = 'INVALID_DEPLOYMENT_SPEC';
/**
* An instance schema is invalid.
*/
public const ERROR_CAUSE_INVALID_INSTANCE_SCHEMA = 'INVALID_INSTANCE_SCHEMA';
/**
* A custom job is invalid.
*/
public const ERROR_CAUSE_INVALID_CUSTOM_JOB = 'INVALID_CUSTOM_JOB';
/**
* A container spec is invalid.
*/
public const ERROR_CAUSE_INVALID_CONTAINER_SPEC = 'INVALID_CONTAINER_SPEC';
/**
* Notification email setup is invalid.
*/
public const ERROR_CAUSE_INVALID_NOTIFICATION_EMAIL_SETUP = 'INVALID_NOTIFICATION_EMAIL_SETUP';
/**
* Service account setup is invalid.
*/
public const ERROR_CAUSE_INVALID_SERVICE_ACCOUNT_SETUP = 'INVALID_SERVICE_ACCOUNT_SETUP';
/**
* KMS setup is invalid.
*/
public const ERROR_CAUSE_INVALID_KMS_SETUP = 'INVALID_KMS_SETUP';
/**
* Network setup is invalid.
*/
public const ERROR_CAUSE_INVALID_NETWORK_SETUP = 'INVALID_NETWORK_SETUP';
/**
* Task spec is invalid.
*/
public const ERROR_CAUSE_INVALID_PIPELINE_TASK_SPEC = 'INVALID_PIPELINE_TASK_SPEC';
/**
* Task artifact is invalid.
*/
public const ERROR_CAUSE_INVALID_PIPELINE_TASK_ARTIFACT = 'INVALID_PIPELINE_TASK_ARTIFACT';
/**
* Importer spec is invalid.
*/
public const ERROR_CAUSE_INVALID_IMPORTER_SPEC = 'INVALID_IMPORTER_SPEC';
/**
* Resolver spec is invalid.
*/
public const ERROR_CAUSE_INVALID_RESOLVER_SPEC = 'INVALID_RESOLVER_SPEC';
/**
* Runtime Parameters are invalid.
*/
public const ERROR_CAUSE_INVALID_RUNTIME_PARAMETERS = 'INVALID_RUNTIME_PARAMETERS';
/**
* Cloud API not enabled.
*/
public const ERROR_CAUSE_CLOUD_API_NOT_ENABLED = 'CLOUD_API_NOT_ENABLED';
/**
* Invalid Cloud Storage input uri
*/
public const ERROR_CAUSE_INVALID_GCS_INPUT_URI = 'INVALID_GCS_INPUT_URI';
/**
* Invalid Cloud Storage output uri
*/
public const ERROR_CAUSE_INVALID_GCS_OUTPUT_URI = 'INVALID_GCS_OUTPUT_URI';
/**
* Component spec of pipeline is invalid.
*/
public const ERROR_CAUSE_INVALID_COMPONENT_SPEC = 'INVALID_COMPONENT_SPEC';
/**
* DagOutputsSpec is invalid.
*/
public const ERROR_CAUSE_INVALID_DAG_OUTPUTS_SPEC = 'INVALID_DAG_OUTPUTS_SPEC';
/**
* DagSpec is invalid.
*/
public const ERROR_CAUSE_INVALID_DAG_SPEC = 'INVALID_DAG_SPEC';
/**
* Project does not have enough quota.
*/
public const ERROR_CAUSE_INSUFFICIENT_QUOTA = 'INSUFFICIENT_QUOTA';
/**
* An internal error with unknown cause.
*/
public const ERROR_CAUSE_INTERNAL = 'INTERNAL';
/**
* The error root cause returned by CreatePipelineJob API.
*
* @var string
*/
public $errorCause;
/**
* Public messages contains actionable items for the error cause.
*
* @var string
*/
public $publicMessage;
/**
* The error root cause returned by CreatePipelineJob API.
*
* Accepted values: ERROR_CAUSE_UNSPECIFIED, INVALID_PIPELINE_SPEC_FORMAT,
* INVALID_PIPELINE_SPEC, INVALID_DEPLOYMENT_CONFIG, INVALID_DEPLOYMENT_SPEC,
* INVALID_INSTANCE_SCHEMA, INVALID_CUSTOM_JOB, INVALID_CONTAINER_SPEC,
* INVALID_NOTIFICATION_EMAIL_SETUP, INVALID_SERVICE_ACCOUNT_SETUP,
* INVALID_KMS_SETUP, INVALID_NETWORK_SETUP, INVALID_PIPELINE_TASK_SPEC,
* INVALID_PIPELINE_TASK_ARTIFACT, INVALID_IMPORTER_SPEC,
* INVALID_RESOLVER_SPEC, INVALID_RUNTIME_PARAMETERS, CLOUD_API_NOT_ENABLED,
* INVALID_GCS_INPUT_URI, INVALID_GCS_OUTPUT_URI, INVALID_COMPONENT_SPEC,
* INVALID_DAG_OUTPUTS_SPEC, INVALID_DAG_SPEC, INSUFFICIENT_QUOTA, INTERNAL
*
* @param self::ERROR_CAUSE_* $errorCause
*/
public function setErrorCause($errorCause)
{
$this->errorCause = $errorCause;
}
/**
* @return self::ERROR_CAUSE_*
*/
public function getErrorCause()
{
return $this->errorCause;
}
/**
* Public messages contains actionable items for the error cause.
*
* @param string $publicMessage
*/
public function setPublicMessage($publicMessage)
{
$this->publicMessage = $publicMessage;
}
/**
* @return string
*/
public function getPublicMessage()
{
return $this->publicMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(CloudAiPlatformCommonCreatePipelineJobApiErrorDetail::class, 'Google_Service_Aiplatform_CloudAiPlatformCommonCreatePipelineJobApiErrorDetail');
@@ -0,0 +1,95 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleApiHttpBody extends \Google\Collection
{
protected $collection_key = 'extensions';
/**
* The HTTP Content-Type header value specifying the content type of the body.
*
* @var string
*/
public $contentType;
/**
* The HTTP request/response body as raw binary.
*
* @var string
*/
public $data;
/**
* Application specific response metadata. Must be set in the first response
* for streaming APIs.
*
* @var array[]
*/
public $extensions;
/**
* The HTTP Content-Type header value specifying the content type of the body.
*
* @param string $contentType
*/
public function setContentType($contentType)
{
$this->contentType = $contentType;
}
/**
* @return string
*/
public function getContentType()
{
return $this->contentType;
}
/**
* The HTTP request/response body as raw binary.
*
* @param string $data
*/
public function setData($data)
{
$this->data = $data;
}
/**
* @return string
*/
public function getData()
{
return $this->data;
}
/**
* Application specific response metadata. Must be set in the first response
* for streaming APIs.
*
* @param array[] $extensions
*/
public function setExtensions($extensions)
{
$this->extensions = $extensions;
}
/**
* @return array[]
*/
public function getExtensions()
{
return $this->extensions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleApiHttpBody::class, 'Google_Service_Aiplatform_GoogleApiHttpBody');
@@ -0,0 +1,109 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1ActiveLearningConfig extends \Google\Model
{
/**
* Max number of human labeled DataItems.
*
* @var string
*/
public $maxDataItemCount;
/**
* Max percent of total DataItems for human labeling.
*
* @var int
*/
public $maxDataItemPercentage;
protected $sampleConfigType = GoogleCloudAiplatformV1SampleConfig::class;
protected $sampleConfigDataType = '';
protected $trainingConfigType = GoogleCloudAiplatformV1TrainingConfig::class;
protected $trainingConfigDataType = '';
/**
* Max number of human labeled DataItems.
*
* @param string $maxDataItemCount
*/
public function setMaxDataItemCount($maxDataItemCount)
{
$this->maxDataItemCount = $maxDataItemCount;
}
/**
* @return string
*/
public function getMaxDataItemCount()
{
return $this->maxDataItemCount;
}
/**
* Max percent of total DataItems for human labeling.
*
* @param int $maxDataItemPercentage
*/
public function setMaxDataItemPercentage($maxDataItemPercentage)
{
$this->maxDataItemPercentage = $maxDataItemPercentage;
}
/**
* @return int
*/
public function getMaxDataItemPercentage()
{
return $this->maxDataItemPercentage;
}
/**
* Active learning data sampling config. For every active learning labeling
* iteration, it will select a batch of data based on the sampling strategy.
*
* @param GoogleCloudAiplatformV1SampleConfig $sampleConfig
*/
public function setSampleConfig(GoogleCloudAiplatformV1SampleConfig $sampleConfig)
{
$this->sampleConfig = $sampleConfig;
}
/**
* @return GoogleCloudAiplatformV1SampleConfig
*/
public function getSampleConfig()
{
return $this->sampleConfig;
}
/**
* CMLE training config. For every active learning labeling iteration, system
* will train a machine learning model on CMLE. The trained model will be used
* by data sampling algorithm to select DataItems.
*
* @param GoogleCloudAiplatformV1TrainingConfig $trainingConfig
*/
public function setTrainingConfig(GoogleCloudAiplatformV1TrainingConfig $trainingConfig)
{
$this->trainingConfig = $trainingConfig;
}
/**
* @return GoogleCloudAiplatformV1TrainingConfig
*/
public function getTrainingConfig()
{
return $this->trainingConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1ActiveLearningConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1ActiveLearningConfig');
@@ -0,0 +1,79 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest extends \Google\Collection
{
protected $collection_key = 'executions';
/**
* The resource names of the Artifacts to attribute to the Context. Format: `p
* rojects/{project}/locations/{location}/metadataStores/{metadatastore}/artif
* acts/{artifact}`
*
* @var string[]
*/
public $artifacts;
/**
* The resource names of the Executions to associate with the Context. Format:
* `projects/{project}/locations/{location}/metadataStores/{metadatastore}/exe
* cutions/{execution}`
*
* @var string[]
*/
public $executions;
/**
* The resource names of the Artifacts to attribute to the Context. Format: `p
* rojects/{project}/locations/{location}/metadataStores/{metadatastore}/artif
* acts/{artifact}`
*
* @param string[] $artifacts
*/
public function setArtifacts($artifacts)
{
$this->artifacts = $artifacts;
}
/**
* @return string[]
*/
public function getArtifacts()
{
return $this->artifacts;
}
/**
* The resource names of the Executions to associate with the Context. Format:
* `projects/{project}/locations/{location}/metadataStores/{metadatastore}/exe
* cutions/{execution}`
*
* @param string[] $executions
*/
public function setExecutions($executions)
{
$this->executions = $executions;
}
/**
* @return string[]
*/
public function getExecutions()
{
return $this->executions;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AddContextArtifactsAndExecutionsResponse');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AddContextChildrenRequest extends \Google\Collection
{
protected $collection_key = 'childContexts';
/**
* The resource names of the child Contexts.
*
* @var string[]
*/
public $childContexts;
/**
* The resource names of the child Contexts.
*
* @param string[] $childContexts
*/
public function setChildContexts($childContexts)
{
$this->childContexts = $childContexts;
}
/**
* @return string[]
*/
public function getChildContexts()
{
return $this->childContexts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AddContextChildrenRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AddContextChildrenRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AddContextChildrenResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AddContextChildrenResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AddContextChildrenResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AddExecutionEventsRequest extends \Google\Collection
{
protected $collection_key = 'events';
protected $eventsType = GoogleCloudAiplatformV1Event::class;
protected $eventsDataType = 'array';
/**
* The Events to create and add.
*
* @param GoogleCloudAiplatformV1Event[] $events
*/
public function setEvents($events)
{
$this->events = $events;
}
/**
* @return GoogleCloudAiplatformV1Event[]
*/
public function getEvents()
{
return $this->events;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AddExecutionEventsRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AddExecutionEventsRequest');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AddExecutionEventsResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AddExecutionEventsResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AddExecutionEventsResponse');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AddTrialMeasurementRequest extends \Google\Model
{
protected $measurementType = GoogleCloudAiplatformV1Measurement::class;
protected $measurementDataType = '';
/**
* Required. The measurement to be added to a Trial.
*
* @param GoogleCloudAiplatformV1Measurement $measurement
*/
public function setMeasurement(GoogleCloudAiplatformV1Measurement $measurement)
{
$this->measurement = $measurement;
}
/**
* @return GoogleCloudAiplatformV1Measurement
*/
public function getMeasurement()
{
return $this->measurement;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AddTrialMeasurementRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AddTrialMeasurementRequest');
@@ -0,0 +1,175 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AgentConfig extends \Google\Collection
{
protected $collection_key = 'tools';
/**
* Required. Unique identifier of the agent. This ID is used to refer to this
* agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be
* unique within the `agents` map.
*
* @var string
*/
public $agentId;
/**
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent",
* "ToolUseAgent"). Useful for the autorater to understand the expected
* behavior of the agent.
*
* @var string
*/
public $agentType;
/**
* Optional. A high-level description of the agent's role and
* responsibilities. Critical for evaluating if the agent is routing tasks
* correctly.
*
* @var string
*/
public $description;
/**
* Optional. Provides instructions for the LLM model, guiding the agent's
* behavior. Can be static or dynamic. Dynamic instructions can contain
* placeholders like {variable_name} that will be resolved at runtime using
* the `AgentEvent.state_delta` field.
*
* @var string
*/
public $instruction;
/**
* Optional. The list of valid agent IDs that this agent can delegate to. This
* defines the directed edges in the multi-agent system graph topology.
*
* @var string[]
*/
public $subAgents;
protected $toolsType = GoogleCloudAiplatformV1Tool::class;
protected $toolsDataType = 'array';
/**
* Required. Unique identifier of the agent. This ID is used to refer to this
* agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be
* unique within the `agents` map.
*
* @param string $agentId
*/
public function setAgentId($agentId)
{
$this->agentId = $agentId;
}
/**
* @return string
*/
public function getAgentId()
{
return $this->agentId;
}
/**
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent",
* "ToolUseAgent"). Useful for the autorater to understand the expected
* behavior of the agent.
*
* @param string $agentType
*/
public function setAgentType($agentType)
{
$this->agentType = $agentType;
}
/**
* @return string
*/
public function getAgentType()
{
return $this->agentType;
}
/**
* Optional. A high-level description of the agent's role and
* responsibilities. Critical for evaluating if the agent is routing tasks
* correctly.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Provides instructions for the LLM model, guiding the agent's
* behavior. Can be static or dynamic. Dynamic instructions can contain
* placeholders like {variable_name} that will be resolved at runtime using
* the `AgentEvent.state_delta` field.
*
* @param string $instruction
*/
public function setInstruction($instruction)
{
$this->instruction = $instruction;
}
/**
* @return string
*/
public function getInstruction()
{
return $this->instruction;
}
/**
* Optional. The list of valid agent IDs that this agent can delegate to. This
* defines the directed edges in the multi-agent system graph topology.
*
* @param string[] $subAgents
*/
public function setSubAgents($subAgents)
{
$this->subAgents = $subAgents;
}
/**
* @return string[]
*/
public function getSubAgents()
{
return $this->subAgents;
}
/**
* Optional. The list of tools available to this agent.
*
* @param GoogleCloudAiplatformV1Tool[] $tools
*/
public function setTools($tools)
{
$this->tools = $tools;
}
/**
* @return GoogleCloudAiplatformV1Tool[]
*/
public function getTools()
{
return $this->tools;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AgentConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AgentConfig');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AgentData extends \Google\Collection
{
protected $collection_key = 'turns';
protected $agentsType = GoogleCloudAiplatformV1AgentDataAgentConfig::class;
protected $agentsDataType = 'map';
protected $turnsType = GoogleCloudAiplatformV1AgentDataConversationTurn::class;
protected $turnsDataType = 'array';
/**
* Optional. The static agent spec. This map defines the graph structure of
* the agent system. Key: agent_id (matches the `author` field in events).
* Value: The static configuration of the agents.
*
* @param GoogleCloudAiplatformV1AgentDataAgentConfig[] $agents
*/
public function setAgents($agents)
{
$this->agents = $agents;
}
/**
* @return GoogleCloudAiplatformV1AgentDataAgentConfig[]
*/
public function getAgents()
{
return $this->agents;
}
/**
* Optional. A chronological list of conversation turns. Each turn represents
* a logical execution cycle (e.g., User Input -> Agent Response).
*
* @param GoogleCloudAiplatformV1AgentDataConversationTurn[] $turns
*/
public function setTurns($turns)
{
$this->turns = $turns;
}
/**
* @return GoogleCloudAiplatformV1AgentDataConversationTurn[]
*/
public function getTurns()
{
return $this->turns;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AgentData::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AgentData');
@@ -0,0 +1,171 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AgentDataAgentConfig extends \Google\Collection
{
protected $collection_key = 'tools';
/**
* Required. Unique identifier of the agent. This ID is used to refer to this
* agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be
* unique within the `agents` map.
*
* @var string
*/
public $agentId;
/**
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent",
* "ToolUseAgent"). Useful for the autorater to understand the expected
* behavior of the agent.
*
* @var string
*/
public $agentType;
/**
* Optional. A high-level description of the agent's role and
* responsibilities. Critical for evaluating if the agent is routing tasks
* correctly.
*
* @var string
*/
public $description;
/**
* Optional. Instructions from the developer for the agent. Can be static or a
* dynamic prompt template used with the `AgentEvent.state_delta` field.
*
* @var string
*/
public $developerInstruction;
/**
* Optional. The list of valid agent IDs that this agent can delegate to. This
* defines the directed edges in the agent system graph topology.
*
* @var string[]
*/
public $subAgents;
protected $toolsType = GoogleCloudAiplatformV1Tool::class;
protected $toolsDataType = 'array';
/**
* Required. Unique identifier of the agent. This ID is used to refer to this
* agent, e.g., in AgentEvent.author, or in the `sub_agents` field. It must be
* unique within the `agents` map.
*
* @param string $agentId
*/
public function setAgentId($agentId)
{
$this->agentId = $agentId;
}
/**
* @return string
*/
public function getAgentId()
{
return $this->agentId;
}
/**
* Optional. The type or class of the agent (e.g., "LlmAgent", "RouterAgent",
* "ToolUseAgent"). Useful for the autorater to understand the expected
* behavior of the agent.
*
* @param string $agentType
*/
public function setAgentType($agentType)
{
$this->agentType = $agentType;
}
/**
* @return string
*/
public function getAgentType()
{
return $this->agentType;
}
/**
* Optional. A high-level description of the agent's role and
* responsibilities. Critical for evaluating if the agent is routing tasks
* correctly.
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Optional. Instructions from the developer for the agent. Can be static or a
* dynamic prompt template used with the `AgentEvent.state_delta` field.
*
* @param string $developerInstruction
*/
public function setDeveloperInstruction($developerInstruction)
{
$this->developerInstruction = $developerInstruction;
}
/**
* @return string
*/
public function getDeveloperInstruction()
{
return $this->developerInstruction;
}
/**
* Optional. The list of valid agent IDs that this agent can delegate to. This
* defines the directed edges in the agent system graph topology.
*
* @param string[] $subAgents
*/
public function setSubAgents($subAgents)
{
$this->subAgents = $subAgents;
}
/**
* @return string[]
*/
public function getSubAgents()
{
return $this->subAgents;
}
/**
* Optional. The list of tools available to this agent.
*
* @param GoogleCloudAiplatformV1Tool[] $tools
*/
public function setTools($tools)
{
$this->tools = $tools;
}
/**
* @return GoogleCloudAiplatformV1Tool[]
*/
public function getTools()
{
return $this->tools;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AgentDataAgentConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AgentDataAgentConfig');
@@ -0,0 +1,135 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AgentDataAgentEvent extends \Google\Collection
{
protected $collection_key = 'activeTools';
protected $activeToolsType = GoogleCloudAiplatformV1Tool::class;
protected $activeToolsDataType = 'array';
/**
* Required. The ID of the agent or entity that generated this event. Use
* "user" to denote events generated by the end-user.
*
* @var string
*/
public $author;
protected $contentType = GoogleCloudAiplatformV1Content::class;
protected $contentDataType = '';
/**
* Optional. The timestamp when the event occurred.
*
* @var string
*/
public $eventTime;
/**
* Optional. The change in the session state caused by this event. This is a
* key-value map of fields that were modified or added by the event.
*
* @var array[]
*/
public $stateDelta;
/**
* Optional. The list of tools that were active/available to the agent at the
* time of this event. This overrides the `AgentConfig.tools` if set.
*
* @param GoogleCloudAiplatformV1Tool[] $activeTools
*/
public function setActiveTools($activeTools)
{
$this->activeTools = $activeTools;
}
/**
* @return GoogleCloudAiplatformV1Tool[]
*/
public function getActiveTools()
{
return $this->activeTools;
}
/**
* Required. The ID of the agent or entity that generated this event. Use
* "user" to denote events generated by the end-user.
*
* @param string $author
*/
public function setAuthor($author)
{
$this->author = $author;
}
/**
* @return string
*/
public function getAuthor()
{
return $this->author;
}
/**
* Optional. The content of the event (e.g., text response, tool call, tool
* response).
*
* @param GoogleCloudAiplatformV1Content $content
*/
public function setContent(GoogleCloudAiplatformV1Content $content)
{
$this->content = $content;
}
/**
* @return GoogleCloudAiplatformV1Content
*/
public function getContent()
{
return $this->content;
}
/**
* Optional. The timestamp when the event occurred.
*
* @param string $eventTime
*/
public function setEventTime($eventTime)
{
$this->eventTime = $eventTime;
}
/**
* @return string
*/
public function getEventTime()
{
return $this->eventTime;
}
/**
* Optional. The change in the session state caused by this event. This is a
* key-value map of fields that were modified or added by the event.
*
* @param array[] $stateDelta
*/
public function setStateDelta($stateDelta)
{
$this->stateDelta = $stateDelta;
}
/**
* @return array[]
*/
public function getStateDelta()
{
return $this->stateDelta;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AgentDataAgentEvent::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AgentDataAgentEvent');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AgentDataConversationTurn extends \Google\Collection
{
protected $collection_key = 'events';
protected $eventsType = GoogleCloudAiplatformV1AgentDataAgentEvent::class;
protected $eventsDataType = 'array';
/**
* Optional. A unique identifier for the turn. Useful for referencing specific
* turns across systems.
*
* @var string
*/
public $turnId;
/**
* Optional. The 0-based index of the turn in the conversation sequence.
*
* @var int
*/
public $turnIndex;
/**
* Optional. The list of events that occurred during this turn.
*
* @param GoogleCloudAiplatformV1AgentDataAgentEvent[] $events
*/
public function setEvents($events)
{
$this->events = $events;
}
/**
* @return GoogleCloudAiplatformV1AgentDataAgentEvent[]
*/
public function getEvents()
{
return $this->events;
}
/**
* Optional. A unique identifier for the turn. Useful for referencing specific
* turns across systems.
*
* @param string $turnId
*/
public function setTurnId($turnId)
{
$this->turnId = $turnId;
}
/**
* @return string
*/
public function getTurnId()
{
return $this->turnId;
}
/**
* Optional. The 0-based index of the turn in the conversation sequence.
*
* @param int $turnIndex
*/
public function setTurnIndex($turnIndex)
{
$this->turnIndex = $turnIndex;
}
/**
* @return int
*/
public function getTurnIndex()
{
return $this->turnIndex;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AgentDataConversationTurn::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AgentDataConversationTurn');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AggregationOutput extends \Google\Collection
{
protected $collection_key = 'aggregationResults';
protected $aggregationResultsType = GoogleCloudAiplatformV1AggregationResult::class;
protected $aggregationResultsDataType = 'array';
protected $datasetType = GoogleCloudAiplatformV1EvaluationDataset::class;
protected $datasetDataType = '';
/**
* One AggregationResult per metric.
*
* @param GoogleCloudAiplatformV1AggregationResult[] $aggregationResults
*/
public function setAggregationResults($aggregationResults)
{
$this->aggregationResults = $aggregationResults;
}
/**
* @return GoogleCloudAiplatformV1AggregationResult[]
*/
public function getAggregationResults()
{
return $this->aggregationResults;
}
/**
* The dataset used for evaluation & aggregation.
*
* @param GoogleCloudAiplatformV1EvaluationDataset $dataset
*/
public function setDataset(GoogleCloudAiplatformV1EvaluationDataset $dataset)
{
$this->dataset = $dataset;
}
/**
* @return GoogleCloudAiplatformV1EvaluationDataset
*/
public function getDataset()
{
return $this->dataset;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AggregationOutput::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AggregationOutput');
@@ -0,0 +1,204 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AggregationResult extends \Google\Model
{
/**
* Unspecified aggregation metric.
*/
public const AGGREGATION_METRIC_AGGREGATION_METRIC_UNSPECIFIED = 'AGGREGATION_METRIC_UNSPECIFIED';
/**
* Average aggregation metric. Not supported for Pairwise metric.
*/
public const AGGREGATION_METRIC_AVERAGE = 'AVERAGE';
/**
* Mode aggregation metric.
*/
public const AGGREGATION_METRIC_MODE = 'MODE';
/**
* Standard deviation aggregation metric. Not supported for pairwise metric.
*/
public const AGGREGATION_METRIC_STANDARD_DEVIATION = 'STANDARD_DEVIATION';
/**
* Variance aggregation metric. Not supported for pairwise metric.
*/
public const AGGREGATION_METRIC_VARIANCE = 'VARIANCE';
/**
* Minimum aggregation metric. Not supported for pairwise metric.
*/
public const AGGREGATION_METRIC_MINIMUM = 'MINIMUM';
/**
* Maximum aggregation metric. Not supported for pairwise metric.
*/
public const AGGREGATION_METRIC_MAXIMUM = 'MAXIMUM';
/**
* Median aggregation metric. Not supported for pairwise metric.
*/
public const AGGREGATION_METRIC_MEDIAN = 'MEDIAN';
/**
* 90th percentile aggregation metric. Not supported for pairwise metric.
*/
public const AGGREGATION_METRIC_PERCENTILE_P90 = 'PERCENTILE_P90';
/**
* 95th percentile aggregation metric. Not supported for pairwise metric.
*/
public const AGGREGATION_METRIC_PERCENTILE_P95 = 'PERCENTILE_P95';
/**
* 99th percentile aggregation metric. Not supported for pairwise metric.
*/
public const AGGREGATION_METRIC_PERCENTILE_P99 = 'PERCENTILE_P99';
/**
* Aggregation metric.
*
* @var string
*/
public $aggregationMetric;
protected $bleuMetricValueType = GoogleCloudAiplatformV1BleuMetricValue::class;
protected $bleuMetricValueDataType = '';
protected $customCodeExecutionResultType = GoogleCloudAiplatformV1CustomCodeExecutionResult::class;
protected $customCodeExecutionResultDataType = '';
protected $exactMatchMetricValueType = GoogleCloudAiplatformV1ExactMatchMetricValue::class;
protected $exactMatchMetricValueDataType = '';
protected $pairwiseMetricResultType = GoogleCloudAiplatformV1PairwiseMetricResult::class;
protected $pairwiseMetricResultDataType = '';
protected $pointwiseMetricResultType = GoogleCloudAiplatformV1PointwiseMetricResult::class;
protected $pointwiseMetricResultDataType = '';
protected $rougeMetricValueType = GoogleCloudAiplatformV1RougeMetricValue::class;
protected $rougeMetricValueDataType = '';
/**
* Aggregation metric.
*
* Accepted values: AGGREGATION_METRIC_UNSPECIFIED, AVERAGE, MODE,
* STANDARD_DEVIATION, VARIANCE, MINIMUM, MAXIMUM, MEDIAN, PERCENTILE_P90,
* PERCENTILE_P95, PERCENTILE_P99
*
* @param self::AGGREGATION_METRIC_* $aggregationMetric
*/
public function setAggregationMetric($aggregationMetric)
{
$this->aggregationMetric = $aggregationMetric;
}
/**
* @return self::AGGREGATION_METRIC_*
*/
public function getAggregationMetric()
{
return $this->aggregationMetric;
}
/**
* Results for bleu metric.
*
* @param GoogleCloudAiplatformV1BleuMetricValue $bleuMetricValue
*/
public function setBleuMetricValue(GoogleCloudAiplatformV1BleuMetricValue $bleuMetricValue)
{
$this->bleuMetricValue = $bleuMetricValue;
}
/**
* @return GoogleCloudAiplatformV1BleuMetricValue
*/
public function getBleuMetricValue()
{
return $this->bleuMetricValue;
}
/**
* Result for code execution metric.
*
* @param GoogleCloudAiplatformV1CustomCodeExecutionResult $customCodeExecutionResult
*/
public function setCustomCodeExecutionResult(GoogleCloudAiplatformV1CustomCodeExecutionResult $customCodeExecutionResult)
{
$this->customCodeExecutionResult = $customCodeExecutionResult;
}
/**
* @return GoogleCloudAiplatformV1CustomCodeExecutionResult
*/
public function getCustomCodeExecutionResult()
{
return $this->customCodeExecutionResult;
}
/**
* Results for exact match metric.
*
* @param GoogleCloudAiplatformV1ExactMatchMetricValue $exactMatchMetricValue
*/
public function setExactMatchMetricValue(GoogleCloudAiplatformV1ExactMatchMetricValue $exactMatchMetricValue)
{
$this->exactMatchMetricValue = $exactMatchMetricValue;
}
/**
* @return GoogleCloudAiplatformV1ExactMatchMetricValue
*/
public function getExactMatchMetricValue()
{
return $this->exactMatchMetricValue;
}
/**
* Result for pairwise metric.
*
* @param GoogleCloudAiplatformV1PairwiseMetricResult $pairwiseMetricResult
*/
public function setPairwiseMetricResult(GoogleCloudAiplatformV1PairwiseMetricResult $pairwiseMetricResult)
{
$this->pairwiseMetricResult = $pairwiseMetricResult;
}
/**
* @return GoogleCloudAiplatformV1PairwiseMetricResult
*/
public function getPairwiseMetricResult()
{
return $this->pairwiseMetricResult;
}
/**
* Result for pointwise metric.
*
* @param GoogleCloudAiplatformV1PointwiseMetricResult $pointwiseMetricResult
*/
public function setPointwiseMetricResult(GoogleCloudAiplatformV1PointwiseMetricResult $pointwiseMetricResult)
{
$this->pointwiseMetricResult = $pointwiseMetricResult;
}
/**
* @return GoogleCloudAiplatformV1PointwiseMetricResult
*/
public function getPointwiseMetricResult()
{
return $this->pointwiseMetricResult;
}
/**
* Results for rouge metric.
*
* @param GoogleCloudAiplatformV1RougeMetricValue $rougeMetricValue
*/
public function setRougeMetricValue(GoogleCloudAiplatformV1RougeMetricValue $rougeMetricValue)
{
$this->rougeMetricValue = $rougeMetricValue;
}
/**
* @return GoogleCloudAiplatformV1RougeMetricValue
*/
public function getRougeMetricValue()
{
return $this->rougeMetricValue;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AggregationResult::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AggregationResult');
@@ -0,0 +1,236 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1Annotation extends \Google\Model
{
protected $annotationSourceType = GoogleCloudAiplatformV1UserActionReference::class;
protected $annotationSourceDataType = '';
/**
* Output only. Timestamp when this Annotation was created.
*
* @var string
*/
public $createTime;
/**
* Optional. Used to perform consistent read-modify-write updates. If not set,
* a blind "overwrite" update happens.
*
* @var string
*/
public $etag;
/**
* Optional. The labels with user-defined metadata to organize your
* Annotations. Label keys and values can be no longer than 64 characters
* (Unicode codepoints), can only contain lowercase letters, numeric
* characters, underscores and dashes. International characters are allowed.
* No more than 64 user labels can be associated with one Annotation(System
* labels are excluded). See https://goo.gl/xmQnxf for more information and
* examples of labels. System reserved label keys are prefixed with
* "aiplatform.googleapis.com/" and are immutable. Following system labels
* exist for each Annotation: *
* "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's
* annotation set this Annotation belongs to. If not set, the Annotation is
* not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output
* only, its value is the payload_schema's title.
*
* @var string[]
*/
public $labels;
/**
* Output only. Resource name of the Annotation.
*
* @var string
*/
public $name;
/**
* Required. The schema of the payload can be found in payload_schema.
*
* @var array
*/
public $payload;
/**
* Required. Google Cloud Storage URI points to a YAML file describing
* payload. The schema is defined as an [OpenAPI 3.0.2 Schema
* Object](https://github.com/OAI/OpenAPI-
* Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files
* that can be used here are found in gs://google-cloud-
* aiplatform/schema/dataset/annotation/, note that the chosen schema must be
* consistent with the parent Dataset's metadata.
*
* @var string
*/
public $payloadSchemaUri;
/**
* Output only. Timestamp when this Annotation was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. The source of the Annotation.
*
* @param GoogleCloudAiplatformV1UserActionReference $annotationSource
*/
public function setAnnotationSource(GoogleCloudAiplatformV1UserActionReference $annotationSource)
{
$this->annotationSource = $annotationSource;
}
/**
* @return GoogleCloudAiplatformV1UserActionReference
*/
public function getAnnotationSource()
{
return $this->annotationSource;
}
/**
* Output only. Timestamp when this Annotation was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Optional. Used to perform consistent read-modify-write updates. If not set,
* a blind "overwrite" update happens.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Optional. The labels with user-defined metadata to organize your
* Annotations. Label keys and values can be no longer than 64 characters
* (Unicode codepoints), can only contain lowercase letters, numeric
* characters, underscores and dashes. International characters are allowed.
* No more than 64 user labels can be associated with one Annotation(System
* labels are excluded). See https://goo.gl/xmQnxf for more information and
* examples of labels. System reserved label keys are prefixed with
* "aiplatform.googleapis.com/" and are immutable. Following system labels
* exist for each Annotation: *
* "aiplatform.googleapis.com/annotation_set_name": optional, name of the UI's
* annotation set this Annotation belongs to. If not set, the Annotation is
* not visible in the UI. * "aiplatform.googleapis.com/payload_schema": output
* only, its value is the payload_schema's title.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Output only. Resource name of the Annotation.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The schema of the payload can be found in payload_schema.
*
* @param array $payload
*/
public function setPayload($payload)
{
$this->payload = $payload;
}
/**
* @return array
*/
public function getPayload()
{
return $this->payload;
}
/**
* Required. Google Cloud Storage URI points to a YAML file describing
* payload. The schema is defined as an [OpenAPI 3.0.2 Schema
* Object](https://github.com/OAI/OpenAPI-
* Specification/blob/main/versions/3.0.2.md#schemaObject). The schema files
* that can be used here are found in gs://google-cloud-
* aiplatform/schema/dataset/annotation/, note that the chosen schema must be
* consistent with the parent Dataset's metadata.
*
* @param string $payloadSchemaUri
*/
public function setPayloadSchemaUri($payloadSchemaUri)
{
$this->payloadSchemaUri = $payloadSchemaUri;
}
/**
* @return string
*/
public function getPayloadSchemaUri()
{
return $this->payloadSchemaUri;
}
/**
* Output only. Timestamp when this Annotation was last updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1Annotation::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Annotation');
@@ -0,0 +1,140 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AnnotationSpec extends \Google\Model
{
/**
* Output only. Timestamp when this AnnotationSpec was created.
*
* @var string
*/
public $createTime;
/**
* Required. The user-defined name of the AnnotationSpec. The name can be up
* to 128 characters long and can consist of any UTF-8 characters.
*
* @var string
*/
public $displayName;
/**
* Optional. Used to perform consistent read-modify-write updates. If not set,
* a blind "overwrite" update happens.
*
* @var string
*/
public $etag;
/**
* Output only. Resource name of the AnnotationSpec.
*
* @var string
*/
public $name;
/**
* Output only. Timestamp when AnnotationSpec was last updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. Timestamp when this AnnotationSpec was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Required. The user-defined name of the AnnotationSpec. The name can be up
* to 128 characters long and can consist of any UTF-8 characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Optional. Used to perform consistent read-modify-write updates. If not set,
* a blind "overwrite" update happens.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* Output only. Resource name of the AnnotationSpec.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Output only. Timestamp when AnnotationSpec was last updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AnnotationSpec::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AnnotationSpec');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1ApiAuth extends \Google\Model
{
protected $apiKeyConfigType = GoogleCloudAiplatformV1ApiAuthApiKeyConfig::class;
protected $apiKeyConfigDataType = '';
/**
* The API secret.
*
* @param GoogleCloudAiplatformV1ApiAuthApiKeyConfig $apiKeyConfig
*/
public function setApiKeyConfig(GoogleCloudAiplatformV1ApiAuthApiKeyConfig $apiKeyConfig)
{
$this->apiKeyConfig = $apiKeyConfig;
}
/**
* @return GoogleCloudAiplatformV1ApiAuthApiKeyConfig
*/
public function getApiKeyConfig()
{
return $this->apiKeyConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1ApiAuth::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1ApiAuth');
@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1ApiAuthApiKeyConfig extends \Google\Model
{
/**
* Required. The SecretManager secret version resource name storing API key.
* e.g. projects/{project}/secrets/{secret}/versions/{version}
*
* @var string
*/
public $apiKeySecretVersion;
/**
* The API key string. Either this or `api_key_secret_version` must be set.
*
* @var string
*/
public $apiKeyString;
/**
* Required. The SecretManager secret version resource name storing API key.
* e.g. projects/{project}/secrets/{secret}/versions/{version}
*
* @param string $apiKeySecretVersion
*/
public function setApiKeySecretVersion($apiKeySecretVersion)
{
$this->apiKeySecretVersion = $apiKeySecretVersion;
}
/**
* @return string
*/
public function getApiKeySecretVersion()
{
return $this->apiKeySecretVersion;
}
/**
* The API key string. Either this or `api_key_secret_version` must be set.
*
* @param string $apiKeyString
*/
public function setApiKeyString($apiKeyString)
{
$this->apiKeyString = $apiKeyString;
}
/**
* @return string
*/
public function getApiKeyString()
{
return $this->apiKeyString;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1ApiAuthApiKeyConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1ApiAuthApiKeyConfig');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AppendEventResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AppendEventResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AppendEventResponse');
@@ -0,0 +1,340 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1Artifact extends \Google\Model
{
/**
* Unspecified state for the Artifact.
*/
public const STATE_STATE_UNSPECIFIED = 'STATE_UNSPECIFIED';
/**
* A state used by systems like Vertex AI Pipelines to indicate that the
* underlying data item represented by this Artifact is being created.
*/
public const STATE_PENDING = 'PENDING';
/**
* A state indicating that the Artifact should exist, unless something
* external to the system deletes it.
*/
public const STATE_LIVE = 'LIVE';
/**
* Output only. Timestamp when this Artifact was created.
*
* @var string
*/
public $createTime;
/**
* Description of the Artifact
*
* @var string
*/
public $description;
/**
* User provided display name of the Artifact. May be up to 128 Unicode
* characters.
*
* @var string
*/
public $displayName;
/**
* An eTag used to perform consistent read-modify-write updates. If not set, a
* blind "overwrite" update happens.
*
* @var string
*/
public $etag;
/**
* The labels with user-defined metadata to organize your Artifacts. Label
* keys and values can be no longer than 64 characters (Unicode codepoints),
* can only contain lowercase letters, numeric characters, underscores and
* dashes. International characters are allowed. No more than 64 user labels
* can be associated with one Artifact (System labels are excluded).
*
* @var string[]
*/
public $labels;
/**
* Properties of the Artifact. Top level metadata keys' heading and trailing
* spaces will be trimmed. The size of this field should not exceed 200KB.
*
* @var array[]
*/
public $metadata;
/**
* Output only. The resource name of the Artifact.
*
* @var string
*/
public $name;
/**
* The title of the schema describing the metadata. Schema title and version
* is expected to be registered in earlier Create Schema calls. And both are
* used together as unique identifiers to identify schemas within the local
* metadata store.
*
* @var string
*/
public $schemaTitle;
/**
* The version of the schema in schema_name to use. Schema title and version
* is expected to be registered in earlier Create Schema calls. And both are
* used together as unique identifiers to identify schemas within the local
* metadata store.
*
* @var string
*/
public $schemaVersion;
/**
* The state of this Artifact. This is a property of the Artifact, and does
* not imply or capture any ongoing process. This property is managed by
* clients (such as Vertex AI Pipelines), and the system does not prescribe or
* check the validity of state transitions.
*
* @var string
*/
public $state;
/**
* Output only. Timestamp when this Artifact was last updated.
*
* @var string
*/
public $updateTime;
/**
* The uniform resource identifier of the artifact file. May be empty if there
* is no actual artifact file.
*
* @var string
*/
public $uri;
/**
* Output only. Timestamp when this Artifact was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* Description of the Artifact
*
* @param string $description
*/
public function setDescription($description)
{
$this->description = $description;
}
/**
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* User provided display name of the Artifact. May be up to 128 Unicode
* characters.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* An eTag used to perform consistent read-modify-write updates. If not set, a
* blind "overwrite" update happens.
*
* @param string $etag
*/
public function setEtag($etag)
{
$this->etag = $etag;
}
/**
* @return string
*/
public function getEtag()
{
return $this->etag;
}
/**
* The labels with user-defined metadata to organize your Artifacts. Label
* keys and values can be no longer than 64 characters (Unicode codepoints),
* can only contain lowercase letters, numeric characters, underscores and
* dashes. International characters are allowed. No more than 64 user labels
* can be associated with one Artifact (System labels are excluded).
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Properties of the Artifact. Top level metadata keys' heading and trailing
* spaces will be trimmed. The size of this field should not exceed 200KB.
*
* @param array[] $metadata
*/
public function setMetadata($metadata)
{
$this->metadata = $metadata;
}
/**
* @return array[]
*/
public function getMetadata()
{
return $this->metadata;
}
/**
* Output only. The resource name of the Artifact.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* The title of the schema describing the metadata. Schema title and version
* is expected to be registered in earlier Create Schema calls. And both are
* used together as unique identifiers to identify schemas within the local
* metadata store.
*
* @param string $schemaTitle
*/
public function setSchemaTitle($schemaTitle)
{
$this->schemaTitle = $schemaTitle;
}
/**
* @return string
*/
public function getSchemaTitle()
{
return $this->schemaTitle;
}
/**
* The version of the schema in schema_name to use. Schema title and version
* is expected to be registered in earlier Create Schema calls. And both are
* used together as unique identifiers to identify schemas within the local
* metadata store.
*
* @param string $schemaVersion
*/
public function setSchemaVersion($schemaVersion)
{
$this->schemaVersion = $schemaVersion;
}
/**
* @return string
*/
public function getSchemaVersion()
{
return $this->schemaVersion;
}
/**
* The state of this Artifact. This is a property of the Artifact, and does
* not imply or capture any ongoing process. This property is managed by
* clients (such as Vertex AI Pipelines), and the system does not prescribe or
* check the validity of state transitions.
*
* Accepted values: STATE_UNSPECIFIED, PENDING, LIVE
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Output only. Timestamp when this Artifact was last updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
/**
* The uniform resource identifier of the artifact file. May be empty if there
* is no actual artifact file.
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1Artifact::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Artifact');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AskContextsRequest extends \Google\Collection
{
protected $collection_key = 'tools';
protected $queryType = GoogleCloudAiplatformV1RagQuery::class;
protected $queryDataType = '';
protected $toolsType = GoogleCloudAiplatformV1Tool::class;
protected $toolsDataType = 'array';
/**
* Required. Single RAG retrieve query.
*
* @param GoogleCloudAiplatformV1RagQuery $query
*/
public function setQuery(GoogleCloudAiplatformV1RagQuery $query)
{
$this->query = $query;
}
/**
* @return GoogleCloudAiplatformV1RagQuery
*/
public function getQuery()
{
return $this->query;
}
/**
* Optional. The tools to use for AskContexts.
*
* @param GoogleCloudAiplatformV1Tool[] $tools
*/
public function setTools($tools)
{
$this->tools = $tools;
}
/**
* @return GoogleCloudAiplatformV1Tool[]
*/
public function getTools()
{
return $this->tools;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AskContextsRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AskContextsRequest');
@@ -0,0 +1,66 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AskContextsResponse extends \Google\Model
{
protected $contextsType = GoogleCloudAiplatformV1RagContexts::class;
protected $contextsDataType = '';
/**
* The Retrieval Response.
*
* @var string
*/
public $response;
/**
* The contexts of the query.
*
* @param GoogleCloudAiplatformV1RagContexts $contexts
*/
public function setContexts(GoogleCloudAiplatformV1RagContexts $contexts)
{
$this->contexts = $contexts;
}
/**
* @return GoogleCloudAiplatformV1RagContexts
*/
public function getContexts()
{
return $this->contexts;
}
/**
* The Retrieval Response.
*
* @param string $response
*/
public function setResponse($response)
{
$this->response = $response;
}
/**
* @return string
*/
public function getResponse()
{
return $this->response;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AskContextsResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AskContextsResponse');
@@ -0,0 +1,68 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata extends \Google\Model
{
protected $genericMetadataType = GoogleCloudAiplatformV1GenericOperationMetadata::class;
protected $genericMetadataDataType = '';
/**
* A human-readable message that shows the intermediate progress details of
* NotebookRuntime.
*
* @var string
*/
public $progressMessage;
/**
* The operation generic information.
*
* @param GoogleCloudAiplatformV1GenericOperationMetadata $genericMetadata
*/
public function setGenericMetadata(GoogleCloudAiplatformV1GenericOperationMetadata $genericMetadata)
{
$this->genericMetadata = $genericMetadata;
}
/**
* @return GoogleCloudAiplatformV1GenericOperationMetadata
*/
public function getGenericMetadata()
{
return $this->genericMetadata;
}
/**
* A human-readable message that shows the intermediate progress details of
* NotebookRuntime.
*
* @param string $progressMessage
*/
public function setProgressMessage($progressMessage)
{
$this->progressMessage = $progressMessage;
}
/**
* @return string
*/
public function getProgressMessage()
{
return $this->progressMessage;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AssignNotebookRuntimeOperationMetadata');
@@ -0,0 +1,91 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AssignNotebookRuntimeRequest extends \Google\Model
{
protected $notebookRuntimeType = GoogleCloudAiplatformV1NotebookRuntime::class;
protected $notebookRuntimeDataType = '';
/**
* Optional. User specified ID for the notebook runtime.
*
* @var string
*/
public $notebookRuntimeId;
/**
* Required. The resource name of the NotebookRuntimeTemplate based on which a
* NotebookRuntime will be assigned (reuse or create a new one).
*
* @var string
*/
public $notebookRuntimeTemplate;
/**
* Required. Provide runtime specific information (e.g. runtime owner,
* notebook id) used for NotebookRuntime assignment.
*
* @param GoogleCloudAiplatformV1NotebookRuntime $notebookRuntime
*/
public function setNotebookRuntime(GoogleCloudAiplatformV1NotebookRuntime $notebookRuntime)
{
$this->notebookRuntime = $notebookRuntime;
}
/**
* @return GoogleCloudAiplatformV1NotebookRuntime
*/
public function getNotebookRuntime()
{
return $this->notebookRuntime;
}
/**
* Optional. User specified ID for the notebook runtime.
*
* @param string $notebookRuntimeId
*/
public function setNotebookRuntimeId($notebookRuntimeId)
{
$this->notebookRuntimeId = $notebookRuntimeId;
}
/**
* @return string
*/
public function getNotebookRuntimeId()
{
return $this->notebookRuntimeId;
}
/**
* Required. The resource name of the NotebookRuntimeTemplate based on which a
* NotebookRuntime will be assigned (reuse or create a new one).
*
* @param string $notebookRuntimeTemplate
*/
public function setNotebookRuntimeTemplate($notebookRuntimeTemplate)
{
$this->notebookRuntimeTemplate = $notebookRuntimeTemplate;
}
/**
* @return string
*/
public function getNotebookRuntimeTemplate()
{
return $this->notebookRuntimeTemplate;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AssignNotebookRuntimeRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AssignNotebookRuntimeRequest');
@@ -0,0 +1,82 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest extends \Google\Model
{
/**
* Optional. Input Cloud Storage URI for the Async query. If you are not
* bringing your own container (BYOC), the content of the file should be a
* JSON object with an `input` field matching the `input` field of
* `QueryReasoningEngineRequest` (e.g. `{ "input": { "user_id": "hello",
* "message":"$QUERY"} }`). For BYOC, the content of the file depends on the
* the agent application.
*
* @var string
*/
public $inputGcsUri;
/**
* Optional. Output Cloud Storage URI for the Async query. This contains the
* final response of the query.
*
* @var string
*/
public $outputGcsUri;
/**
* Optional. Input Cloud Storage URI for the Async query. If you are not
* bringing your own container (BYOC), the content of the file should be a
* JSON object with an `input` field matching the `input` field of
* `QueryReasoningEngineRequest` (e.g. `{ "input": { "user_id": "hello",
* "message":"$QUERY"} }`). For BYOC, the content of the file depends on the
* the agent application.
*
* @param string $inputGcsUri
*/
public function setInputGcsUri($inputGcsUri)
{
$this->inputGcsUri = $inputGcsUri;
}
/**
* @return string
*/
public function getInputGcsUri()
{
return $this->inputGcsUri;
}
/**
* Optional. Output Cloud Storage URI for the Async query. This contains the
* final response of the query.
*
* @param string $outputGcsUri
*/
public function setOutputGcsUri($outputGcsUri)
{
$this->outputGcsUri = $outputGcsUri;
}
/**
* @return string
*/
public function getOutputGcsUri()
{
return $this->outputGcsUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AsyncQueryReasoningEngineRequest');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AsyncRetrieveContextsRequest extends \Google\Collection
{
protected $collection_key = 'tools';
protected $queryType = GoogleCloudAiplatformV1RagQuery::class;
protected $queryDataType = '';
protected $toolsType = GoogleCloudAiplatformV1Tool::class;
protected $toolsDataType = 'array';
/**
* Required. Single RAG retrieve query.
*
* @param GoogleCloudAiplatformV1RagQuery $query
*/
public function setQuery(GoogleCloudAiplatformV1RagQuery $query)
{
$this->query = $query;
}
/**
* @return GoogleCloudAiplatformV1RagQuery
*/
public function getQuery()
{
return $this->query;
}
/**
* Optional. The tools to use for AskContexts.
*
* @param GoogleCloudAiplatformV1Tool[] $tools
*/
public function setTools($tools)
{
$this->tools = $tools;
}
/**
* @return GoogleCloudAiplatformV1Tool[]
*/
public function getTools()
{
return $this->tools;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AsyncRetrieveContextsRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AsyncRetrieveContextsRequest');
@@ -0,0 +1,222 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1Attribution extends \Google\Collection
{
protected $collection_key = 'outputIndex';
/**
* Output only. Error of feature_attributions caused by approximation used in
* the explanation method. Lower value means more precise attributions. * For
* Sampled Shapley attribution, increasing path_count might reduce the error.
* * For Integrated Gradients attribution, increasing step_count might reduce
* the error. * For XRAI attribution, increasing step_count might reduce the
* error. See [this introduction](/vertex-ai/docs/explainable-ai/overview) for
* more information.
*
* @var
*/
public $approximationError;
/**
* Output only. Model predicted output if the input instance is constructed
* from the baselines of all the features defined in
* ExplanationMetadata.inputs. The field name of the output is determined by
* the key in ExplanationMetadata.outputs. If the Model's predicted output has
* multiple dimensions (rank > 1), this is the value in the output located by
* output_index. If there are multiple baselines, their output values are
* averaged.
*
* @var
*/
public $baselineOutputValue;
/**
* Output only. Attributions of each explained feature. Features are extracted
* from the prediction instances according to explanation metadata for inputs.
* The value is a struct, whose keys are the name of the feature. The values
* are how much the feature in the instance contributed to the predicted
* result. The format of the value is determined by the feature's input
* format: * If the feature is a scalar value, the attribution value is a
* floating number. * If the feature is an array of scalar values, the
* attribution value is an array. * If the feature is a struct, the
* attribution value is a struct. The keys in the attribution value struct are
* the same as the keys in the feature struct. The formats of the values in
* the attribution struct are determined by the formats of the values in the
* feature struct. The ExplanationMetadata.feature_attributions_schema_uri
* field, pointed to by the ExplanationSpec field of the
* Endpoint.deployed_models object, points to the schema file that describes
* the features and their attribution values (if it is populated).
*
* @var array
*/
public $featureAttributions;
/**
* Output only. Model predicted output on the corresponding explanation
* instance. The field name of the output is determined by the key in
* ExplanationMetadata.outputs. If the Model predicted output has multiple
* dimensions, this is the value in the output located by output_index.
*
* @var
*/
public $instanceOutputValue;
/**
* Output only. The display name of the output identified by output_index. For
* example, the predicted class name by a multi-classification Model. This
* field is only populated iff the Model predicts display names as a separate
* field along with the explained output. The predicted display name must has
* the same shape of the explained output, and can be located using
* output_index.
*
* @var string
*/
public $outputDisplayName;
/**
* Output only. The index that locates the explained prediction output. If the
* prediction output is a scalar value, output_index is not populated. If the
* prediction output has multiple dimensions, the length of the output_index
* list is the same as the number of dimensions of the output. The i-th
* element in output_index is the element index of the i-th dimension of the
* output vector. Indices start from 0.
*
* @var int[]
*/
public $outputIndex;
/**
* Output only. Name of the explain output. Specified as the key in
* ExplanationMetadata.outputs.
*
* @var string
*/
public $outputName;
public function setApproximationError($approximationError)
{
$this->approximationError = $approximationError;
}
public function getApproximationError()
{
return $this->approximationError;
}
public function setBaselineOutputValue($baselineOutputValue)
{
$this->baselineOutputValue = $baselineOutputValue;
}
public function getBaselineOutputValue()
{
return $this->baselineOutputValue;
}
/**
* Output only. Attributions of each explained feature. Features are extracted
* from the prediction instances according to explanation metadata for inputs.
* The value is a struct, whose keys are the name of the feature. The values
* are how much the feature in the instance contributed to the predicted
* result. The format of the value is determined by the feature's input
* format: * If the feature is a scalar value, the attribution value is a
* floating number. * If the feature is an array of scalar values, the
* attribution value is an array. * If the feature is a struct, the
* attribution value is a struct. The keys in the attribution value struct are
* the same as the keys in the feature struct. The formats of the values in
* the attribution struct are determined by the formats of the values in the
* feature struct. The ExplanationMetadata.feature_attributions_schema_uri
* field, pointed to by the ExplanationSpec field of the
* Endpoint.deployed_models object, points to the schema file that describes
* the features and their attribution values (if it is populated).
*
* @param array $featureAttributions
*/
public function setFeatureAttributions($featureAttributions)
{
$this->featureAttributions = $featureAttributions;
}
/**
* @return array
*/
public function getFeatureAttributions()
{
return $this->featureAttributions;
}
public function setInstanceOutputValue($instanceOutputValue)
{
$this->instanceOutputValue = $instanceOutputValue;
}
public function getInstanceOutputValue()
{
return $this->instanceOutputValue;
}
/**
* Output only. The display name of the output identified by output_index. For
* example, the predicted class name by a multi-classification Model. This
* field is only populated iff the Model predicts display names as a separate
* field along with the explained output. The predicted display name must has
* the same shape of the explained output, and can be located using
* output_index.
*
* @param string $outputDisplayName
*/
public function setOutputDisplayName($outputDisplayName)
{
$this->outputDisplayName = $outputDisplayName;
}
/**
* @return string
*/
public function getOutputDisplayName()
{
return $this->outputDisplayName;
}
/**
* Output only. The index that locates the explained prediction output. If the
* prediction output is a scalar value, output_index is not populated. If the
* prediction output has multiple dimensions, the length of the output_index
* list is the same as the number of dimensions of the output. The i-th
* element in output_index is the element index of the i-th dimension of the
* output vector. Indices start from 0.
*
* @param int[] $outputIndex
*/
public function setOutputIndex($outputIndex)
{
$this->outputIndex = $outputIndex;
}
/**
* @return int[]
*/
public function getOutputIndex()
{
return $this->outputIndex;
}
/**
* Output only. Name of the explain output. Specified as the key in
* ExplanationMetadata.outputs.
*
* @param string $outputName
*/
public function setOutputName($outputName)
{
$this->outputName = $outputName;
}
/**
* @return string
*/
public function getOutputName()
{
return $this->outputName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1Attribution::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1Attribution');
@@ -0,0 +1,81 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AugmentPromptRequest extends \Google\Collection
{
protected $collection_key = 'contents';
protected $contentsType = GoogleCloudAiplatformV1Content::class;
protected $contentsDataType = 'array';
protected $modelType = GoogleCloudAiplatformV1AugmentPromptRequestModel::class;
protected $modelDataType = '';
protected $vertexRagStoreType = GoogleCloudAiplatformV1VertexRagStore::class;
protected $vertexRagStoreDataType = '';
/**
* Optional. Input content to augment, only text format is supported for now.
*
* @param GoogleCloudAiplatformV1Content[] $contents
*/
public function setContents($contents)
{
$this->contents = $contents;
}
/**
* @return GoogleCloudAiplatformV1Content[]
*/
public function getContents()
{
return $this->contents;
}
/**
* Optional. Metadata of the backend deployed model.
*
* @param GoogleCloudAiplatformV1AugmentPromptRequestModel $model
*/
public function setModel(GoogleCloudAiplatformV1AugmentPromptRequestModel $model)
{
$this->model = $model;
}
/**
* @return GoogleCloudAiplatformV1AugmentPromptRequestModel
*/
public function getModel()
{
return $this->model;
}
/**
* Optional. Retrieves contexts from the Vertex RagStore.
*
* @param GoogleCloudAiplatformV1VertexRagStore $vertexRagStore
*/
public function setVertexRagStore(GoogleCloudAiplatformV1VertexRagStore $vertexRagStore)
{
$this->vertexRagStore = $vertexRagStore;
}
/**
* @return GoogleCloudAiplatformV1VertexRagStore
*/
public function getVertexRagStore()
{
return $this->vertexRagStore;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AugmentPromptRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AugmentPromptRequest');
@@ -0,0 +1,72 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AugmentPromptRequestModel extends \Google\Model
{
/**
* Optional. The model that the user will send the augmented prompt for
* content generation.
*
* @var string
*/
public $model;
/**
* Optional. The model version of the backend deployed model.
*
* @var string
*/
public $modelVersion;
/**
* Optional. The model that the user will send the augmented prompt for
* content generation.
*
* @param string $model
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* Optional. The model version of the backend deployed model.
*
* @param string $modelVersion
*/
public function setModelVersion($modelVersion)
{
$this->modelVersion = $modelVersion;
}
/**
* @return string
*/
public function getModelVersion()
{
return $this->modelVersion;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AugmentPromptRequestModel::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AugmentPromptRequestModel');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AugmentPromptResponse extends \Google\Collection
{
protected $collection_key = 'facts';
protected $augmentedPromptType = GoogleCloudAiplatformV1Content::class;
protected $augmentedPromptDataType = 'array';
protected $factsType = GoogleCloudAiplatformV1Fact::class;
protected $factsDataType = 'array';
/**
* Augmented prompt, only text format is supported for now.
*
* @param GoogleCloudAiplatformV1Content[] $augmentedPrompt
*/
public function setAugmentedPrompt($augmentedPrompt)
{
$this->augmentedPrompt = $augmentedPrompt;
}
/**
* @return GoogleCloudAiplatformV1Content[]
*/
public function getAugmentedPrompt()
{
return $this->augmentedPrompt;
}
/**
* Retrieved facts from RAG data sources.
*
* @param GoogleCloudAiplatformV1Fact[] $facts
*/
public function setFacts($facts)
{
$this->facts = $facts;
}
/**
* @return GoogleCloudAiplatformV1Fact[]
*/
public function getFacts()
{
return $this->facts;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AugmentPromptResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AugmentPromptResponse');
@@ -0,0 +1,166 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AuthConfig extends \Google\Model
{
public const AUTH_TYPE_AUTH_TYPE_UNSPECIFIED = 'AUTH_TYPE_UNSPECIFIED';
/**
* No Auth.
*/
public const AUTH_TYPE_NO_AUTH = 'NO_AUTH';
/**
* API Key Auth.
*/
public const AUTH_TYPE_API_KEY_AUTH = 'API_KEY_AUTH';
/**
* HTTP Basic Auth.
*/
public const AUTH_TYPE_HTTP_BASIC_AUTH = 'HTTP_BASIC_AUTH';
/**
* Google Service Account Auth.
*/
public const AUTH_TYPE_GOOGLE_SERVICE_ACCOUNT_AUTH = 'GOOGLE_SERVICE_ACCOUNT_AUTH';
/**
* OAuth auth.
*/
public const AUTH_TYPE_OAUTH = 'OAUTH';
/**
* OpenID Connect (OIDC) Auth.
*/
public const AUTH_TYPE_OIDC_AUTH = 'OIDC_AUTH';
protected $apiKeyConfigType = GoogleCloudAiplatformV1AuthConfigApiKeyConfig::class;
protected $apiKeyConfigDataType = '';
/**
* Type of auth scheme.
*
* @var string
*/
public $authType;
protected $googleServiceAccountConfigType = GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig::class;
protected $googleServiceAccountConfigDataType = '';
protected $httpBasicAuthConfigType = GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig::class;
protected $httpBasicAuthConfigDataType = '';
protected $oauthConfigType = GoogleCloudAiplatformV1AuthConfigOauthConfig::class;
protected $oauthConfigDataType = '';
protected $oidcConfigType = GoogleCloudAiplatformV1AuthConfigOidcConfig::class;
protected $oidcConfigDataType = '';
/**
* Config for API key auth.
*
* @param GoogleCloudAiplatformV1AuthConfigApiKeyConfig $apiKeyConfig
*/
public function setApiKeyConfig(GoogleCloudAiplatformV1AuthConfigApiKeyConfig $apiKeyConfig)
{
$this->apiKeyConfig = $apiKeyConfig;
}
/**
* @return GoogleCloudAiplatformV1AuthConfigApiKeyConfig
*/
public function getApiKeyConfig()
{
return $this->apiKeyConfig;
}
/**
* Type of auth scheme.
*
* Accepted values: AUTH_TYPE_UNSPECIFIED, NO_AUTH, API_KEY_AUTH,
* HTTP_BASIC_AUTH, GOOGLE_SERVICE_ACCOUNT_AUTH, OAUTH, OIDC_AUTH
*
* @param self::AUTH_TYPE_* $authType
*/
public function setAuthType($authType)
{
$this->authType = $authType;
}
/**
* @return self::AUTH_TYPE_*
*/
public function getAuthType()
{
return $this->authType;
}
/**
* Config for Google Service Account auth.
*
* @param GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig $googleServiceAccountConfig
*/
public function setGoogleServiceAccountConfig(GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig $googleServiceAccountConfig)
{
$this->googleServiceAccountConfig = $googleServiceAccountConfig;
}
/**
* @return GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig
*/
public function getGoogleServiceAccountConfig()
{
return $this->googleServiceAccountConfig;
}
/**
* Config for HTTP Basic auth.
*
* @param GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig $httpBasicAuthConfig
*/
public function setHttpBasicAuthConfig(GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig $httpBasicAuthConfig)
{
$this->httpBasicAuthConfig = $httpBasicAuthConfig;
}
/**
* @return GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig
*/
public function getHttpBasicAuthConfig()
{
return $this->httpBasicAuthConfig;
}
/**
* Config for user oauth.
*
* @param GoogleCloudAiplatformV1AuthConfigOauthConfig $oauthConfig
*/
public function setOauthConfig(GoogleCloudAiplatformV1AuthConfigOauthConfig $oauthConfig)
{
$this->oauthConfig = $oauthConfig;
}
/**
* @return GoogleCloudAiplatformV1AuthConfigOauthConfig
*/
public function getOauthConfig()
{
return $this->oauthConfig;
}
/**
* Config for user OIDC auth.
*
* @param GoogleCloudAiplatformV1AuthConfigOidcConfig $oidcConfig
*/
public function setOidcConfig(GoogleCloudAiplatformV1AuthConfigOidcConfig $oidcConfig)
{
$this->oidcConfig = $oidcConfig;
}
/**
* @return GoogleCloudAiplatformV1AuthConfigOidcConfig
*/
public function getOidcConfig()
{
return $this->oidcConfig;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AuthConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfig');
@@ -0,0 +1,152 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AuthConfigApiKeyConfig extends \Google\Model
{
public const HTTP_ELEMENT_LOCATION_HTTP_IN_UNSPECIFIED = 'HTTP_IN_UNSPECIFIED';
/**
* Element is in the HTTP request query.
*/
public const HTTP_ELEMENT_LOCATION_HTTP_IN_QUERY = 'HTTP_IN_QUERY';
/**
* Element is in the HTTP request header.
*/
public const HTTP_ELEMENT_LOCATION_HTTP_IN_HEADER = 'HTTP_IN_HEADER';
/**
* Element is in the HTTP request path.
*/
public const HTTP_ELEMENT_LOCATION_HTTP_IN_PATH = 'HTTP_IN_PATH';
/**
* Element is in the HTTP request body.
*/
public const HTTP_ELEMENT_LOCATION_HTTP_IN_BODY = 'HTTP_IN_BODY';
/**
* Element is in the HTTP request cookie.
*/
public const HTTP_ELEMENT_LOCATION_HTTP_IN_COOKIE = 'HTTP_IN_COOKIE';
/**
* Optional. The name of the SecretManager secret version resource storing the
* API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}`
* - If both `api_key_secret` and `api_key_string` are specified, this field
* takes precedence over `api_key_string`. - If specified, the
* `secretmanager.versions.access` permission should be granted to Vertex AI
* Extension Service Agent (https://cloud.google.com/vertex-
* ai/docs/general/access-control#service-agents) on the specified resource.
*
* @var string
*/
public $apiKeySecret;
/**
* Optional. The API key to be used in the request directly.
*
* @var string
*/
public $apiKeyString;
/**
* Optional. The location of the API key.
*
* @var string
*/
public $httpElementLocation;
/**
* Optional. The parameter name of the API key. E.g. If the API request is
* "https://example.com/act?api_key=", "api_key" would be the parameter name.
*
* @var string
*/
public $name;
/**
* Optional. The name of the SecretManager secret version resource storing the
* API key. Format: `projects/{project}/secrets/{secrete}/versions/{version}`
* - If both `api_key_secret` and `api_key_string` are specified, this field
* takes precedence over `api_key_string`. - If specified, the
* `secretmanager.versions.access` permission should be granted to Vertex AI
* Extension Service Agent (https://cloud.google.com/vertex-
* ai/docs/general/access-control#service-agents) on the specified resource.
*
* @param string $apiKeySecret
*/
public function setApiKeySecret($apiKeySecret)
{
$this->apiKeySecret = $apiKeySecret;
}
/**
* @return string
*/
public function getApiKeySecret()
{
return $this->apiKeySecret;
}
/**
* Optional. The API key to be used in the request directly.
*
* @param string $apiKeyString
*/
public function setApiKeyString($apiKeyString)
{
$this->apiKeyString = $apiKeyString;
}
/**
* @return string
*/
public function getApiKeyString()
{
return $this->apiKeyString;
}
/**
* Optional. The location of the API key.
*
* Accepted values: HTTP_IN_UNSPECIFIED, HTTP_IN_QUERY, HTTP_IN_HEADER,
* HTTP_IN_PATH, HTTP_IN_BODY, HTTP_IN_COOKIE
*
* @param self::HTTP_ELEMENT_LOCATION_* $httpElementLocation
*/
public function setHttpElementLocation($httpElementLocation)
{
$this->httpElementLocation = $httpElementLocation;
}
/**
* @return self::HTTP_ELEMENT_LOCATION_*
*/
public function getHttpElementLocation()
{
return $this->httpElementLocation;
}
/**
* Optional. The parameter name of the API key. E.g. If the API request is
* "https://example.com/act?api_key=", "api_key" would be the parameter name.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AuthConfigApiKeyConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfigApiKeyConfig');
@@ -0,0 +1,60 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig extends \Google\Model
{
/**
* Optional. The service account that the extension execution service runs as.
* - If the service account is specified, the
* `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex
* AI Extension Service Agent (https://cloud.google.com/vertex-
* ai/docs/general/access-control#service-agents) on the specified service
* account. - If not specified, the Vertex AI Extension Service Agent will be
* used to execute the Extension.
*
* @var string
*/
public $serviceAccount;
/**
* Optional. The service account that the extension execution service runs as.
* - If the service account is specified, the
* `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex
* AI Extension Service Agent (https://cloud.google.com/vertex-
* ai/docs/general/access-control#service-agents) on the specified service
* account. - If not specified, the Vertex AI Extension Service Agent will be
* used to execute the Extension.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfigGoogleServiceAccountConfig');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig extends \Google\Model
{
/**
* Required. The name of the SecretManager secret version resource storing the
* base64 encoded credentials. Format:
* `projects/{project}/secrets/{secrete}/versions/{version}` - If specified,
* the `secretmanager.versions.access` permission should be granted to Vertex
* AI Extension Service Agent (https://cloud.google.com/vertex-
* ai/docs/general/access-control#service-agents) on the specified resource.
*
* @var string
*/
public $credentialSecret;
/**
* Required. The name of the SecretManager secret version resource storing the
* base64 encoded credentials. Format:
* `projects/{project}/secrets/{secrete}/versions/{version}` - If specified,
* the `secretmanager.versions.access` permission should be granted to Vertex
* AI Extension Service Agent (https://cloud.google.com/vertex-
* ai/docs/general/access-control#service-agents) on the specified resource.
*
* @param string $credentialSecret
*/
public function setCredentialSecret($credentialSecret)
{
$this->credentialSecret = $credentialSecret;
}
/**
* @return string
*/
public function getCredentialSecret()
{
return $this->credentialSecret;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfigHttpBasicAuthConfig');
@@ -0,0 +1,82 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AuthConfigOauthConfig extends \Google\Model
{
/**
* Access token for extension endpoint. Only used to propagate token from
* [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
*
* @var string
*/
public $accessToken;
/**
* The service account used to generate access tokens for executing the
* Extension. - If the service account is specified, the
* `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex
* AI Extension Service Agent (https://cloud.google.com/vertex-
* ai/docs/general/access-control#service-agents) on the provided service
* account.
*
* @var string
*/
public $serviceAccount;
/**
* Access token for extension endpoint. Only used to propagate token from
* [[ExecuteExtensionRequest.runtime_auth_config]] at request time.
*
* @param string $accessToken
*/
public function setAccessToken($accessToken)
{
$this->accessToken = $accessToken;
}
/**
* @return string
*/
public function getAccessToken()
{
return $this->accessToken;
}
/**
* The service account used to generate access tokens for executing the
* Extension. - If the service account is specified, the
* `iam.serviceAccounts.getAccessToken` permission should be granted to Vertex
* AI Extension Service Agent (https://cloud.google.com/vertex-
* ai/docs/general/access-control#service-agents) on the provided service
* account.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AuthConfigOauthConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfigOauthConfig');
@@ -0,0 +1,90 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AuthConfigOidcConfig extends \Google\Model
{
/**
* OpenID Connect formatted ID token for extension endpoint. Only used to
* propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at
* request time.
*
* @var string
*/
public $idToken;
/**
* The service account used to generate an OpenID Connect (OIDC)-compatible
* JWT token signed by the Google OIDC Provider (accounts.google.com) for
* extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-
* credentials-direct#sa-credentials-oidc). - The audience for the token will
* be set to the URL in the server url defined in the OpenApi spec. - If the
* service account is provided, the service account should grant
* `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension
* Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-
* control#service-agents).
*
* @var string
*/
public $serviceAccount;
/**
* OpenID Connect formatted ID token for extension endpoint. Only used to
* propagate token from [[ExecuteExtensionRequest.runtime_auth_config]] at
* request time.
*
* @param string $idToken
*/
public function setIdToken($idToken)
{
$this->idToken = $idToken;
}
/**
* @return string
*/
public function getIdToken()
{
return $this->idToken;
}
/**
* The service account used to generate an OpenID Connect (OIDC)-compatible
* JWT token signed by the Google OIDC Provider (accounts.google.com) for
* extension endpoint (https://cloud.google.com/iam/docs/create-short-lived-
* credentials-direct#sa-credentials-oidc). - The audience for the token will
* be set to the URL in the server url defined in the OpenApi spec. - If the
* service account is provided, the service account should grant
* `iam.serviceAccounts.getOpenIdToken` permission to Vertex AI Extension
* Service Agent (https://cloud.google.com/vertex-ai/docs/general/access-
* control#service-agents).
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AuthConfigOidcConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AuthConfigOidcConfig');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AutomaticResources extends \Google\Model
{
/**
* Immutable. The maximum number of replicas that may be deployed on when the
* traffic against it increases. If the requested value is too large, the
* deployment will error, but if deployment succeeds then the ability to scale
* to that many replicas is guaranteed (barring service outages). If traffic
* increases beyond what its replicas at maximum may handle, a portion of the
* traffic will be dropped. If this value is not provided, a no upper bound
* for scaling under heavy traffic will be assume, though Vertex AI may be
* unable to scale beyond certain replica number.
*
* @var int
*/
public $maxReplicaCount;
/**
* Immutable. The minimum number of replicas that will be always deployed on.
* If traffic against it increases, it may dynamically be deployed onto more
* replicas up to max_replica_count, and as traffic decreases, some of these
* extra replicas may be freed. If the requested value is too large, the
* deployment will error.
*
* @var int
*/
public $minReplicaCount;
/**
* Immutable. The maximum number of replicas that may be deployed on when the
* traffic against it increases. If the requested value is too large, the
* deployment will error, but if deployment succeeds then the ability to scale
* to that many replicas is guaranteed (barring service outages). If traffic
* increases beyond what its replicas at maximum may handle, a portion of the
* traffic will be dropped. If this value is not provided, a no upper bound
* for scaling under heavy traffic will be assume, though Vertex AI may be
* unable to scale beyond certain replica number.
*
* @param int $maxReplicaCount
*/
public function setMaxReplicaCount($maxReplicaCount)
{
$this->maxReplicaCount = $maxReplicaCount;
}
/**
* @return int
*/
public function getMaxReplicaCount()
{
return $this->maxReplicaCount;
}
/**
* Immutable. The minimum number of replicas that will be always deployed on.
* If traffic against it increases, it may dynamically be deployed onto more
* replicas up to max_replica_count, and as traffic decreases, some of these
* extra replicas may be freed. If the requested value is too large, the
* deployment will error.
*
* @param int $minReplicaCount
*/
public function setMinReplicaCount($minReplicaCount)
{
$this->minReplicaCount = $minReplicaCount;
}
/**
* @return int
*/
public function getMinReplicaCount()
{
return $this->minReplicaCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AutomaticResources::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AutomaticResources');
@@ -0,0 +1,130 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AutoraterConfig extends \Google\Model
{
/**
* Optional. The fully qualified name of the publisher model or tuned
* autorater endpoint to use. Publisher model format:
* `projects/{project}/locations/{location}/publishers/models` Tuned model
* endpoint format:
* `projects/{project}/locations/{location}/endpoints/{endpoint}`
*
* @var string
*/
public $autoraterModel;
/**
* Optional. Default is true. Whether to flip the candidate and baseline
* responses. This is only applicable to the pairwise metric. If enabled, also
* provide PairwiseMetricSpec.candidate_response_field_name and
* PairwiseMetricSpec.baseline_response_field_name. When rendering
* PairwiseMetricSpec.metric_prompt_template, the candidate and baseline
* fields will be flipped for half of the samples to reduce bias.
*
* @var bool
*/
public $flipEnabled;
protected $generationConfigType = GoogleCloudAiplatformV1GenerationConfig::class;
protected $generationConfigDataType = '';
/**
* Optional. Number of samples for each instance in the dataset. If not
* specified, the default is 4. Minimum value is 1, maximum value is 32.
*
* @var int
*/
public $samplingCount;
/**
* Optional. The fully qualified name of the publisher model or tuned
* autorater endpoint to use. Publisher model format:
* `projects/{project}/locations/{location}/publishers/models` Tuned model
* endpoint format:
* `projects/{project}/locations/{location}/endpoints/{endpoint}`
*
* @param string $autoraterModel
*/
public function setAutoraterModel($autoraterModel)
{
$this->autoraterModel = $autoraterModel;
}
/**
* @return string
*/
public function getAutoraterModel()
{
return $this->autoraterModel;
}
/**
* Optional. Default is true. Whether to flip the candidate and baseline
* responses. This is only applicable to the pairwise metric. If enabled, also
* provide PairwiseMetricSpec.candidate_response_field_name and
* PairwiseMetricSpec.baseline_response_field_name. When rendering
* PairwiseMetricSpec.metric_prompt_template, the candidate and baseline
* fields will be flipped for half of the samples to reduce bias.
*
* @param bool $flipEnabled
*/
public function setFlipEnabled($flipEnabled)
{
$this->flipEnabled = $flipEnabled;
}
/**
* @return bool
*/
public function getFlipEnabled()
{
return $this->flipEnabled;
}
/**
* Optional. Configuration options for model generation and outputs.
*
* @param GoogleCloudAiplatformV1GenerationConfig $generationConfig
*/
public function setGenerationConfig(GoogleCloudAiplatformV1GenerationConfig $generationConfig)
{
$this->generationConfig = $generationConfig;
}
/**
* @return GoogleCloudAiplatformV1GenerationConfig
*/
public function getGenerationConfig()
{
return $this->generationConfig;
}
/**
* Optional. Number of samples for each instance in the dataset. If not
* specified, the default is 4. Minimum value is 1, maximum value is 32.
*
* @param int $samplingCount
*/
public function setSamplingCount($samplingCount)
{
$this->samplingCount = $samplingCount;
}
/**
* @return int
*/
public function getSamplingCount()
{
return $this->samplingCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AutoraterConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AutoraterConfig');
@@ -0,0 +1,92 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AutoscalingMetricSpec extends \Google\Model
{
/**
* Required. The resource metric name. Supported metrics: * For Online
* Prediction: *
* `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` *
* `aiplatform.googleapis.com/prediction/online/cpu/utilization` *
* `aiplatform.googleapis.com/prediction/online/request_count` *
* `pubsub.googleapis.com/subscription/num_undelivered_messages` *
* `prometheus.googleapis.com/vertex_dcgm_fi_dev_gpu_util` *
* `prometheus.googleapis.com/vertex_vllm_gpu_cache_usage_perc` *
* `prometheus.googleapis.com/vertex_vllm_num_requests_waiting`
*
* @var string
*/
public $metricName;
/**
* The target resource utilization in percentage (1% - 100%) for the given
* metric; once the real usage deviates from the target by a certain
* percentage, the machine replicas change. The default value is 60
* (representing 60%) if not provided.
*
* @var int
*/
public $target;
/**
* Required. The resource metric name. Supported metrics: * For Online
* Prediction: *
* `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` *
* `aiplatform.googleapis.com/prediction/online/cpu/utilization` *
* `aiplatform.googleapis.com/prediction/online/request_count` *
* `pubsub.googleapis.com/subscription/num_undelivered_messages` *
* `prometheus.googleapis.com/vertex_dcgm_fi_dev_gpu_util` *
* `prometheus.googleapis.com/vertex_vllm_gpu_cache_usage_perc` *
* `prometheus.googleapis.com/vertex_vllm_num_requests_waiting`
*
* @param string $metricName
*/
public function setMetricName($metricName)
{
$this->metricName = $metricName;
}
/**
* @return string
*/
public function getMetricName()
{
return $this->metricName;
}
/**
* The target resource utilization in percentage (1% - 100%) for the given
* metric; once the real usage deviates from the target by a certain
* percentage, the machine replicas change. The default value is 60
* (representing 60%) if not provided.
*
* @param int $target
*/
public function setTarget($target)
{
$this->target = $target;
}
/**
* @return int
*/
public function getTarget()
{
return $this->target;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AutoscalingMetricSpec::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AutoscalingMetricSpec');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1AvroSource extends \Google\Model
{
protected $gcsSourceType = GoogleCloudAiplatformV1GcsSource::class;
protected $gcsSourceDataType = '';
/**
* Required. Google Cloud Storage location.
*
* @param GoogleCloudAiplatformV1GcsSource $gcsSource
*/
public function setGcsSource(GoogleCloudAiplatformV1GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return GoogleCloudAiplatformV1GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1AvroSource::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1AvroSource');
@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest extends \Google\Collection
{
protected $collection_key = 'names';
/**
* Required. The names of the PipelineJobs to cancel. A maximum of 32
* PipelineJobs can be cancelled in a batch. Format:
* `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
*
* @var string[]
*/
public $names;
/**
* Required. The names of the PipelineJobs to cancel. A maximum of 32
* PipelineJobs can be cancelled in a batch. Format:
* `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
*
* @param string[] $names
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchCancelPipelineJobsRequest');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata extends \Google\Model
{
protected $genericMetadataType = GoogleCloudAiplatformV1GenericOperationMetadata::class;
protected $genericMetadataDataType = '';
/**
* Operation metadata for Feature.
*
* @param GoogleCloudAiplatformV1GenericOperationMetadata $genericMetadata
*/
public function setGenericMetadata(GoogleCloudAiplatformV1GenericOperationMetadata $genericMetadata)
{
$this->genericMetadata = $genericMetadata;
}
/**
* @return GoogleCloudAiplatformV1GenericOperationMetadata
*/
public function getGenericMetadata()
{
return $this->genericMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchCreateFeaturesOperationMetadata');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchCreateFeaturesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleCloudAiplatformV1CreateFeatureRequest::class;
protected $requestsDataType = 'array';
/**
* Required. The request message specifying the Features to create. All
* Features must be created under the same parent EntityType / FeatureGroup.
* The `parent` field in each child request message can be omitted. If
* `parent` is set in a child request, then the value must match the `parent`
* value in this request message.
*
* @param GoogleCloudAiplatformV1CreateFeatureRequest[] $requests
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleCloudAiplatformV1CreateFeatureRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchCreateFeaturesRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchCreateFeaturesRequest');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchCreateFeaturesResponse extends \Google\Collection
{
protected $collection_key = 'features';
protected $featuresType = GoogleCloudAiplatformV1Feature::class;
protected $featuresDataType = 'array';
/**
* The Features created.
*
* @param GoogleCloudAiplatformV1Feature[] $features
*/
public function setFeatures($features)
{
$this->features = $features;
}
/**
* @return GoogleCloudAiplatformV1Feature[]
*/
public function getFeatures()
{
return $this->features;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchCreateFeaturesResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchCreateFeaturesResponse');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleCloudAiplatformV1CreateTensorboardRunRequest::class;
protected $requestsDataType = 'array';
/**
* Required. The request message specifying the TensorboardRuns to create. A
* maximum of 1000 TensorboardRuns can be created in a batch.
*
* @param GoogleCloudAiplatformV1CreateTensorboardRunRequest[] $requests
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleCloudAiplatformV1CreateTensorboardRunRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardRunsRequest');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse extends \Google\Collection
{
protected $collection_key = 'tensorboardRuns';
protected $tensorboardRunsType = GoogleCloudAiplatformV1TensorboardRun::class;
protected $tensorboardRunsDataType = 'array';
/**
* The created TensorboardRuns.
*
* @param GoogleCloudAiplatformV1TensorboardRun[] $tensorboardRuns
*/
public function setTensorboardRuns($tensorboardRuns)
{
$this->tensorboardRuns = $tensorboardRuns;
}
/**
* @return GoogleCloudAiplatformV1TensorboardRun[]
*/
public function getTensorboardRuns()
{
return $this->tensorboardRuns;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardRunsResponse');
@@ -0,0 +1,46 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest extends \Google\Collection
{
protected $collection_key = 'requests';
protected $requestsType = GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest::class;
protected $requestsDataType = 'array';
/**
* Required. The request message specifying the TensorboardTimeSeries to
* create. A maximum of 1000 TensorboardTimeSeries can be created in a batch.
*
* @param GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest[] $requests
*/
public function setRequests($requests)
{
$this->requests = $requests;
}
/**
* @return GoogleCloudAiplatformV1CreateTensorboardTimeSeriesRequest[]
*/
public function getRequests()
{
return $this->requests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesRequest');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse extends \Google\Collection
{
protected $collection_key = 'tensorboardTimeSeries';
protected $tensorboardTimeSeriesType = GoogleCloudAiplatformV1TensorboardTimeSeries::class;
protected $tensorboardTimeSeriesDataType = 'array';
/**
* The created TensorboardTimeSeries.
*
* @param GoogleCloudAiplatformV1TensorboardTimeSeries[] $tensorboardTimeSeries
*/
public function setTensorboardTimeSeries($tensorboardTimeSeries)
{
$this->tensorboardTimeSeries = $tensorboardTimeSeries;
}
/**
* @return GoogleCloudAiplatformV1TensorboardTimeSeries[]
*/
public function getTensorboardTimeSeries()
{
return $this->tensorboardTimeSeries;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchCreateTensorboardTimeSeriesResponse');
@@ -0,0 +1,94 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchDedicatedResources extends \Google\Model
{
protected $machineSpecType = GoogleCloudAiplatformV1MachineSpec::class;
protected $machineSpecDataType = '';
/**
* Immutable. The maximum number of machine replicas the batch operation may
* be scaled to. The default value is 10.
*
* @var int
*/
public $maxReplicaCount;
/**
* Immutable. The number of machine replicas used at the start of the batch
* operation. If not set, Vertex AI decides starting number, not greater than
* max_replica_count
*
* @var int
*/
public $startingReplicaCount;
/**
* Required. Immutable. The specification of a single machine.
*
* @param GoogleCloudAiplatformV1MachineSpec $machineSpec
*/
public function setMachineSpec(GoogleCloudAiplatformV1MachineSpec $machineSpec)
{
$this->machineSpec = $machineSpec;
}
/**
* @return GoogleCloudAiplatformV1MachineSpec
*/
public function getMachineSpec()
{
return $this->machineSpec;
}
/**
* Immutable. The maximum number of machine replicas the batch operation may
* be scaled to. The default value is 10.
*
* @param int $maxReplicaCount
*/
public function setMaxReplicaCount($maxReplicaCount)
{
$this->maxReplicaCount = $maxReplicaCount;
}
/**
* @return int
*/
public function getMaxReplicaCount()
{
return $this->maxReplicaCount;
}
/**
* Immutable. The number of machine replicas used at the start of the batch
* operation. If not set, Vertex AI decides starting number, not greater than
* max_replica_count
*
* @param int $startingReplicaCount
*/
public function setStartingReplicaCount($startingReplicaCount)
{
$this->startingReplicaCount = $startingReplicaCount;
}
/**
* @return int
*/
public function getStartingReplicaCount()
{
return $this->startingReplicaCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchDedicatedResources::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchDedicatedResources');
@@ -0,0 +1,53 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest extends \Google\Collection
{
protected $collection_key = 'names';
/**
* Required. The names of the PipelineJobs to delete. A maximum of 32
* PipelineJobs can be deleted in a batch. Format:
* `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
*
* @var string[]
*/
public $names;
/**
* Required. The names of the PipelineJobs to delete. A maximum of 32
* PipelineJobs can be deleted in a batch. Format:
* `projects/{project}/locations/{location}/pipelineJobs/{pipelineJob}`
*
* @param string[] $names
*/
public function setNames($names)
{
$this->names = $names;
}
/**
* @return string[]
*/
public function getNames()
{
return $this->names;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchDeletePipelineJobsRequest');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest extends \Google\Collection
{
protected $collection_key = 'evaluatedAnnotations';
protected $evaluatedAnnotationsType = GoogleCloudAiplatformV1EvaluatedAnnotation::class;
protected $evaluatedAnnotationsDataType = 'array';
/**
* Required. Evaluated annotations resource to be imported.
*
* @param GoogleCloudAiplatformV1EvaluatedAnnotation[] $evaluatedAnnotations
*/
public function setEvaluatedAnnotations($evaluatedAnnotations)
{
$this->evaluatedAnnotations = $evaluatedAnnotations;
}
/**
* @return GoogleCloudAiplatformV1EvaluatedAnnotation[]
*/
public function getEvaluatedAnnotations()
{
return $this->evaluatedAnnotations;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsRequest');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse extends \Google\Model
{
/**
* Output only. Number of EvaluatedAnnotations imported.
*
* @var int
*/
public $importedEvaluatedAnnotationsCount;
/**
* Output only. Number of EvaluatedAnnotations imported.
*
* @param int $importedEvaluatedAnnotationsCount
*/
public function setImportedEvaluatedAnnotationsCount($importedEvaluatedAnnotationsCount)
{
$this->importedEvaluatedAnnotationsCount = $importedEvaluatedAnnotationsCount;
}
/**
* @return int
*/
public function getImportedEvaluatedAnnotationsCount()
{
return $this->importedEvaluatedAnnotationsCount;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchImportEvaluatedAnnotationsResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest extends \Google\Collection
{
protected $collection_key = 'modelEvaluationSlices';
protected $modelEvaluationSlicesType = GoogleCloudAiplatformV1ModelEvaluationSlice::class;
protected $modelEvaluationSlicesDataType = 'array';
/**
* Required. Model evaluation slice resource to be imported.
*
* @param GoogleCloudAiplatformV1ModelEvaluationSlice[] $modelEvaluationSlices
*/
public function setModelEvaluationSlices($modelEvaluationSlices)
{
$this->modelEvaluationSlices = $modelEvaluationSlices;
}
/**
* @return GoogleCloudAiplatformV1ModelEvaluationSlice[]
*/
public function getModelEvaluationSlices()
{
return $this->modelEvaluationSlices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesRequest');
@@ -0,0 +1,49 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse extends \Google\Collection
{
protected $collection_key = 'importedModelEvaluationSlices';
/**
* Output only. List of imported ModelEvaluationSlice.name.
*
* @var string[]
*/
public $importedModelEvaluationSlices;
/**
* Output only. List of imported ModelEvaluationSlice.name.
*
* @param string[] $importedModelEvaluationSlices
*/
public function setImportedModelEvaluationSlices($importedModelEvaluationSlices)
{
$this->importedModelEvaluationSlices = $importedModelEvaluationSlices;
}
/**
* @return string[]
*/
public function getImportedModelEvaluationSlices()
{
return $this->importedModelEvaluationSlices;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchImportModelEvaluationSlicesResponse');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata extends \Google\Collection
{
protected $collection_key = 'partialResults';
protected $genericMetadataType = GoogleCloudAiplatformV1GenericOperationMetadata::class;
protected $genericMetadataDataType = '';
protected $partialResultsType = GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult::class;
protected $partialResultsDataType = 'array';
/**
* The common part of the operation metadata.
*
* @param GoogleCloudAiplatformV1GenericOperationMetadata $genericMetadata
*/
public function setGenericMetadata(GoogleCloudAiplatformV1GenericOperationMetadata $genericMetadata)
{
$this->genericMetadata = $genericMetadata;
}
/**
* @return GoogleCloudAiplatformV1GenericOperationMetadata
*/
public function getGenericMetadata()
{
return $this->genericMetadata;
}
/**
* Partial results that reflect the latest migration operation progress.
*
* @param GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult[] $partialResults
*/
public function setPartialResults($partialResults)
{
$this->partialResults = $partialResults;
}
/**
* @return GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult[]
*/
public function getPartialResults()
{
return $this->partialResults;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadata');
@@ -0,0 +1,107 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult extends \Google\Model
{
/**
* Migrated dataset resource name.
*
* @var string
*/
public $dataset;
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
/**
* Migrated model resource name.
*
* @var string
*/
public $model;
protected $requestType = GoogleCloudAiplatformV1MigrateResourceRequest::class;
protected $requestDataType = '';
/**
* Migrated dataset resource name.
*
* @param string $dataset
*/
public function setDataset($dataset)
{
$this->dataset = $dataset;
}
/**
* @return string
*/
public function getDataset()
{
return $this->dataset;
}
/**
* The error result of the migration request in case of failure.
*
* @param GoogleRpcStatus $error
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* Migrated model resource name.
*
* @param string $model
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* It's the same as the value in
* BatchMigrateResourcesRequest.migrate_resource_requests.
*
* @param GoogleCloudAiplatformV1MigrateResourceRequest $request
*/
public function setRequest(GoogleCloudAiplatformV1MigrateResourceRequest $request)
{
$this->request = $request;
}
/**
* @return GoogleCloudAiplatformV1MigrateResourceRequest
*/
public function getRequest()
{
return $this->request;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchMigrateResourcesOperationMetadataPartialResult');
@@ -0,0 +1,47 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchMigrateResourcesRequest extends \Google\Collection
{
protected $collection_key = 'migrateResourceRequests';
protected $migrateResourceRequestsType = GoogleCloudAiplatformV1MigrateResourceRequest::class;
protected $migrateResourceRequestsDataType = 'array';
/**
* Required. The request messages specifying the resources to migrate. They
* must be in the same location as the destination. Up to 50 resources can be
* migrated in one batch.
*
* @param GoogleCloudAiplatformV1MigrateResourceRequest[] $migrateResourceRequests
*/
public function setMigrateResourceRequests($migrateResourceRequests)
{
$this->migrateResourceRequests = $migrateResourceRequests;
}
/**
* @return GoogleCloudAiplatformV1MigrateResourceRequest[]
*/
public function getMigrateResourceRequests()
{
return $this->migrateResourceRequests;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchMigrateResourcesRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchMigrateResourcesRequest');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchMigrateResourcesResponse extends \Google\Collection
{
protected $collection_key = 'migrateResourceResponses';
protected $migrateResourceResponsesType = GoogleCloudAiplatformV1MigrateResourceResponse::class;
protected $migrateResourceResponsesDataType = 'array';
/**
* Successfully migrated resources.
*
* @param GoogleCloudAiplatformV1MigrateResourceResponse[] $migrateResourceResponses
*/
public function setMigrateResourceResponses($migrateResourceResponses)
{
$this->migrateResourceResponses = $migrateResourceResponses;
}
/**
* @return GoogleCloudAiplatformV1MigrateResourceResponse[]
*/
public function getMigrateResourceResponses()
{
return $this->migrateResourceResponses;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchMigrateResourcesResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchMigrateResourcesResponse');
@@ -0,0 +1,767 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchPredictionJob extends \Google\Collection
{
/**
* The job state is unspecified.
*/
public const STATE_JOB_STATE_UNSPECIFIED = 'JOB_STATE_UNSPECIFIED';
/**
* The job has been just created or resumed and processing has not yet begun.
*/
public const STATE_JOB_STATE_QUEUED = 'JOB_STATE_QUEUED';
/**
* The service is preparing to run the job.
*/
public const STATE_JOB_STATE_PENDING = 'JOB_STATE_PENDING';
/**
* The job is in progress.
*/
public const STATE_JOB_STATE_RUNNING = 'JOB_STATE_RUNNING';
/**
* The job completed successfully.
*/
public const STATE_JOB_STATE_SUCCEEDED = 'JOB_STATE_SUCCEEDED';
/**
* The job failed.
*/
public const STATE_JOB_STATE_FAILED = 'JOB_STATE_FAILED';
/**
* The job is being cancelled. From this state the job may only go to either
* `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`.
*/
public const STATE_JOB_STATE_CANCELLING = 'JOB_STATE_CANCELLING';
/**
* The job has been cancelled.
*/
public const STATE_JOB_STATE_CANCELLED = 'JOB_STATE_CANCELLED';
/**
* The job has been stopped, and can be resumed.
*/
public const STATE_JOB_STATE_PAUSED = 'JOB_STATE_PAUSED';
/**
* The job has expired.
*/
public const STATE_JOB_STATE_EXPIRED = 'JOB_STATE_EXPIRED';
/**
* The job is being updated. Only jobs in the `RUNNING` state can be updated.
* After updating, the job goes back to the `RUNNING` state.
*/
public const STATE_JOB_STATE_UPDATING = 'JOB_STATE_UPDATING';
/**
* The job is partially succeeded, some results may be missing due to errors.
*/
public const STATE_JOB_STATE_PARTIALLY_SUCCEEDED = 'JOB_STATE_PARTIALLY_SUCCEEDED';
protected $collection_key = 'partialFailures';
protected $completionStatsType = GoogleCloudAiplatformV1CompletionStats::class;
protected $completionStatsDataType = '';
/**
* Output only. Time when the BatchPredictionJob was created.
*
* @var string
*/
public $createTime;
protected $dedicatedResourcesType = GoogleCloudAiplatformV1BatchDedicatedResources::class;
protected $dedicatedResourcesDataType = '';
/**
* For custom-trained Models and AutoML Tabular Models, the container of the
* DeployedModel instances will send `stderr` and `stdout` streams to Cloud
* Logging by default. Please note that the logs incur cost, which are subject
* to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User
* can disable container logging by setting this flag to true.
*
* @var bool
*/
public $disableContainerLogging;
/**
* Required. The user-defined name of this BatchPredictionJob.
*
* @var string
*/
public $displayName;
protected $encryptionSpecType = GoogleCloudAiplatformV1EncryptionSpec::class;
protected $encryptionSpecDataType = '';
/**
* Output only. Time when the BatchPredictionJob entered any of the following
* states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
*
* @var string
*/
public $endTime;
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
protected $explanationSpecType = GoogleCloudAiplatformV1ExplanationSpec::class;
protected $explanationSpecDataType = '';
/**
* Generate explanation with the batch prediction results. When set to `true`,
* the batch prediction output changes based on the `predictions_format` field
* of the BatchPredictionJob.output_config object: * `bigquery`: output
* includes a column named `explanation`. The value is a struct that conforms
* to the Explanation object. * `jsonl`: The JSON objects on each line include
* an additional entry keyed `explanation`. The value of the entry is a JSON
* object that conforms to the Explanation object. * `csv`: Generating
* explanations for CSV format is not supported. If this field is set to true,
* either the Model.explanation_spec or explanation_spec must be populated.
*
* @var bool
*/
public $generateExplanation;
protected $inputConfigType = GoogleCloudAiplatformV1BatchPredictionJobInputConfig::class;
protected $inputConfigDataType = '';
protected $instanceConfigType = GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig::class;
protected $instanceConfigDataType = '';
/**
* The labels with user-defined metadata to organize BatchPredictionJobs.
* Label keys and values can be no longer than 64 characters (Unicode
* codepoints), can only contain lowercase letters, numeric characters,
* underscores and dashes. International characters are allowed. See
* https://goo.gl/xmQnxf for more information and examples of labels.
*
* @var string[]
*/
public $labels;
protected $manualBatchTuningParametersType = GoogleCloudAiplatformV1ManualBatchTuningParameters::class;
protected $manualBatchTuningParametersDataType = '';
/**
* The name of the Model resource that produces the predictions via this job,
* must share the same ancestor Location. Starting this job has no impact on
* any existing deployments of the Model and their resources. Exactly one of
* model, unmanaged_container_model, or endpoint must be set. The model
* resource name may contain version id or version alias to specify the
* version. Example:
* `projects/{project}/locations/{location}/models/{model}@2` or
* `projects/{project}/locations/{location}/models/{model}@golden` if no
* version is specified, the default version will be deployed. The model
* resource could also be a publisher model. Example:
* `publishers/{publisher}/models/{model}` or `projects/{project}/locations/{l
* ocation}/publishers/{publisher}/models/{model}`
*
* @var string
*/
public $model;
/**
* The parameters that govern the predictions. The schema of the parameters
* may be specified via the Model's PredictSchemata's parameters_schema_uri.
*
* @var array
*/
public $modelParameters;
/**
* Output only. The version ID of the Model that produces the predictions via
* this job.
*
* @var string
*/
public $modelVersionId;
/**
* Output only. Resource name of the BatchPredictionJob.
*
* @var string
*/
public $name;
protected $outputConfigType = GoogleCloudAiplatformV1BatchPredictionJobOutputConfig::class;
protected $outputConfigDataType = '';
protected $outputInfoType = GoogleCloudAiplatformV1BatchPredictionJobOutputInfo::class;
protected $outputInfoDataType = '';
protected $partialFailuresType = GoogleRpcStatus::class;
protected $partialFailuresDataType = 'array';
protected $resourcesConsumedType = GoogleCloudAiplatformV1ResourcesConsumed::class;
protected $resourcesConsumedDataType = '';
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzi;
/**
* Output only. Reserved for future use.
*
* @var bool
*/
public $satisfiesPzs;
/**
* The service account that the DeployedModel's container runs as. If not
* specified, a system generated one will be used, which has minimal
* permissions and the custom container, if used, may not have enough
* permission to access other Google Cloud resources. Users deploying the
* Model must have the `iam.serviceAccounts.actAs` permission on this service
* account.
*
* @var string
*/
public $serviceAccount;
/**
* Output only. Time when the BatchPredictionJob for the first time entered
* the `JOB_STATE_RUNNING` state.
*
* @var string
*/
public $startTime;
/**
* Output only. The detailed state of the job.
*
* @var string
*/
public $state;
protected $unmanagedContainerModelType = GoogleCloudAiplatformV1UnmanagedContainerModel::class;
protected $unmanagedContainerModelDataType = '';
/**
* Output only. Time when the BatchPredictionJob was most recently updated.
*
* @var string
*/
public $updateTime;
/**
* Output only. Statistics on completed and failed prediction instances.
*
* @param GoogleCloudAiplatformV1CompletionStats $completionStats
*/
public function setCompletionStats(GoogleCloudAiplatformV1CompletionStats $completionStats)
{
$this->completionStats = $completionStats;
}
/**
* @return GoogleCloudAiplatformV1CompletionStats
*/
public function getCompletionStats()
{
return $this->completionStats;
}
/**
* Output only. Time when the BatchPredictionJob was created.
*
* @param string $createTime
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* The config of resources used by the Model during the batch prediction. If
* the Model supports DEDICATED_RESOURCES this config may be provided (and the
* job will use these resources), if the Model doesn't support
* AUTOMATIC_RESOURCES, this config must be provided.
*
* @param GoogleCloudAiplatformV1BatchDedicatedResources $dedicatedResources
*/
public function setDedicatedResources(GoogleCloudAiplatformV1BatchDedicatedResources $dedicatedResources)
{
$this->dedicatedResources = $dedicatedResources;
}
/**
* @return GoogleCloudAiplatformV1BatchDedicatedResources
*/
public function getDedicatedResources()
{
return $this->dedicatedResources;
}
/**
* For custom-trained Models and AutoML Tabular Models, the container of the
* DeployedModel instances will send `stderr` and `stdout` streams to Cloud
* Logging by default. Please note that the logs incur cost, which are subject
* to [Cloud Logging pricing](https://cloud.google.com/logging/pricing). User
* can disable container logging by setting this flag to true.
*
* @param bool $disableContainerLogging
*/
public function setDisableContainerLogging($disableContainerLogging)
{
$this->disableContainerLogging = $disableContainerLogging;
}
/**
* @return bool
*/
public function getDisableContainerLogging()
{
return $this->disableContainerLogging;
}
/**
* Required. The user-defined name of this BatchPredictionJob.
*
* @param string $displayName
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* Customer-managed encryption key options for a BatchPredictionJob. If this
* is set, then all resources created by the BatchPredictionJob will be
* encrypted with the provided encryption key.
*
* @param GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec
*/
public function setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec)
{
$this->encryptionSpec = $encryptionSpec;
}
/**
* @return GoogleCloudAiplatformV1EncryptionSpec
*/
public function getEncryptionSpec()
{
return $this->encryptionSpec;
}
/**
* Output only. Time when the BatchPredictionJob entered any of the following
* states: `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`.
*
* @param string $endTime
*/
public function setEndTime($endTime)
{
$this->endTime = $endTime;
}
/**
* @return string
*/
public function getEndTime()
{
return $this->endTime;
}
/**
* Output only. Only populated when the job's state is JOB_STATE_FAILED or
* JOB_STATE_CANCELLED.
*
* @param GoogleRpcStatus $error
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* Explanation configuration for this BatchPredictionJob. Can be specified
* only if generate_explanation is set to `true`. This value overrides the
* value of Model.explanation_spec. All fields of explanation_spec are
* optional in the request. If a field of the explanation_spec object is not
* populated, the corresponding field of the Model.explanation_spec object is
* inherited.
*
* @param GoogleCloudAiplatformV1ExplanationSpec $explanationSpec
*/
public function setExplanationSpec(GoogleCloudAiplatformV1ExplanationSpec $explanationSpec)
{
$this->explanationSpec = $explanationSpec;
}
/**
* @return GoogleCloudAiplatformV1ExplanationSpec
*/
public function getExplanationSpec()
{
return $this->explanationSpec;
}
/**
* Generate explanation with the batch prediction results. When set to `true`,
* the batch prediction output changes based on the `predictions_format` field
* of the BatchPredictionJob.output_config object: * `bigquery`: output
* includes a column named `explanation`. The value is a struct that conforms
* to the Explanation object. * `jsonl`: The JSON objects on each line include
* an additional entry keyed `explanation`. The value of the entry is a JSON
* object that conforms to the Explanation object. * `csv`: Generating
* explanations for CSV format is not supported. If this field is set to true,
* either the Model.explanation_spec or explanation_spec must be populated.
*
* @param bool $generateExplanation
*/
public function setGenerateExplanation($generateExplanation)
{
$this->generateExplanation = $generateExplanation;
}
/**
* @return bool
*/
public function getGenerateExplanation()
{
return $this->generateExplanation;
}
/**
* Required. Input configuration of the instances on which predictions are
* performed. The schema of any single instance may be specified via the
* Model's PredictSchemata's instance_schema_uri.
*
* @param GoogleCloudAiplatformV1BatchPredictionJobInputConfig $inputConfig
*/
public function setInputConfig(GoogleCloudAiplatformV1BatchPredictionJobInputConfig $inputConfig)
{
$this->inputConfig = $inputConfig;
}
/**
* @return GoogleCloudAiplatformV1BatchPredictionJobInputConfig
*/
public function getInputConfig()
{
return $this->inputConfig;
}
/**
* Configuration for how to convert batch prediction input instances to the
* prediction instances that are sent to the Model.
*
* @param GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig $instanceConfig
*/
public function setInstanceConfig(GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig $instanceConfig)
{
$this->instanceConfig = $instanceConfig;
}
/**
* @return GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig
*/
public function getInstanceConfig()
{
return $this->instanceConfig;
}
/**
* The labels with user-defined metadata to organize BatchPredictionJobs.
* Label keys and values can be no longer than 64 characters (Unicode
* codepoints), can only contain lowercase letters, numeric characters,
* underscores and dashes. International characters are allowed. See
* https://goo.gl/xmQnxf for more information and examples of labels.
*
* @param string[] $labels
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* Immutable. Parameters configuring the batch behavior. Currently only
* applicable when dedicated_resources are used (in other cases Vertex AI does
* the tuning itself).
*
* @param GoogleCloudAiplatformV1ManualBatchTuningParameters $manualBatchTuningParameters
*/
public function setManualBatchTuningParameters(GoogleCloudAiplatformV1ManualBatchTuningParameters $manualBatchTuningParameters)
{
$this->manualBatchTuningParameters = $manualBatchTuningParameters;
}
/**
* @return GoogleCloudAiplatformV1ManualBatchTuningParameters
*/
public function getManualBatchTuningParameters()
{
return $this->manualBatchTuningParameters;
}
/**
* The name of the Model resource that produces the predictions via this job,
* must share the same ancestor Location. Starting this job has no impact on
* any existing deployments of the Model and their resources. Exactly one of
* model, unmanaged_container_model, or endpoint must be set. The model
* resource name may contain version id or version alias to specify the
* version. Example:
* `projects/{project}/locations/{location}/models/{model}@2` or
* `projects/{project}/locations/{location}/models/{model}@golden` if no
* version is specified, the default version will be deployed. The model
* resource could also be a publisher model. Example:
* `publishers/{publisher}/models/{model}` or `projects/{project}/locations/{l
* ocation}/publishers/{publisher}/models/{model}`
*
* @param string $model
*/
public function setModel($model)
{
$this->model = $model;
}
/**
* @return string
*/
public function getModel()
{
return $this->model;
}
/**
* The parameters that govern the predictions. The schema of the parameters
* may be specified via the Model's PredictSchemata's parameters_schema_uri.
*
* @param array $modelParameters
*/
public function setModelParameters($modelParameters)
{
$this->modelParameters = $modelParameters;
}
/**
* @return array
*/
public function getModelParameters()
{
return $this->modelParameters;
}
/**
* Output only. The version ID of the Model that produces the predictions via
* this job.
*
* @param string $modelVersionId
*/
public function setModelVersionId($modelVersionId)
{
$this->modelVersionId = $modelVersionId;
}
/**
* @return string
*/
public function getModelVersionId()
{
return $this->modelVersionId;
}
/**
* Output only. Resource name of the BatchPredictionJob.
*
* @param string $name
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* Required. The Configuration specifying where output predictions should be
* written. The schema of any single prediction may be specified as a
* concatenation of Model's PredictSchemata's instance_schema_uri and
* prediction_schema_uri.
*
* @param GoogleCloudAiplatformV1BatchPredictionJobOutputConfig $outputConfig
*/
public function setOutputConfig(GoogleCloudAiplatformV1BatchPredictionJobOutputConfig $outputConfig)
{
$this->outputConfig = $outputConfig;
}
/**
* @return GoogleCloudAiplatformV1BatchPredictionJobOutputConfig
*/
public function getOutputConfig()
{
return $this->outputConfig;
}
/**
* Output only. Information further describing the output of this job.
*
* @param GoogleCloudAiplatformV1BatchPredictionJobOutputInfo $outputInfo
*/
public function setOutputInfo(GoogleCloudAiplatformV1BatchPredictionJobOutputInfo $outputInfo)
{
$this->outputInfo = $outputInfo;
}
/**
* @return GoogleCloudAiplatformV1BatchPredictionJobOutputInfo
*/
public function getOutputInfo()
{
return $this->outputInfo;
}
/**
* Output only. Partial failures encountered. For example, single files that
* can't be read. This field never exceeds 20 entries. Status details fields
* contain standard Google Cloud error details.
*
* @param GoogleRpcStatus[] $partialFailures
*/
public function setPartialFailures($partialFailures)
{
$this->partialFailures = $partialFailures;
}
/**
* @return GoogleRpcStatus[]
*/
public function getPartialFailures()
{
return $this->partialFailures;
}
/**
* Output only. Information about resources that had been consumed by this
* job. Provided in real time at best effort basis, as well as a final value
* once the job completes. Note: This field currently may be not populated for
* batch predictions that use AutoML Models.
*
* @param GoogleCloudAiplatformV1ResourcesConsumed $resourcesConsumed
*/
public function setResourcesConsumed(GoogleCloudAiplatformV1ResourcesConsumed $resourcesConsumed)
{
$this->resourcesConsumed = $resourcesConsumed;
}
/**
* @return GoogleCloudAiplatformV1ResourcesConsumed
*/
public function getResourcesConsumed()
{
return $this->resourcesConsumed;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzi
*/
public function setSatisfiesPzi($satisfiesPzi)
{
$this->satisfiesPzi = $satisfiesPzi;
}
/**
* @return bool
*/
public function getSatisfiesPzi()
{
return $this->satisfiesPzi;
}
/**
* Output only. Reserved for future use.
*
* @param bool $satisfiesPzs
*/
public function setSatisfiesPzs($satisfiesPzs)
{
$this->satisfiesPzs = $satisfiesPzs;
}
/**
* @return bool
*/
public function getSatisfiesPzs()
{
return $this->satisfiesPzs;
}
/**
* The service account that the DeployedModel's container runs as. If not
* specified, a system generated one will be used, which has minimal
* permissions and the custom container, if used, may not have enough
* permission to access other Google Cloud resources. Users deploying the
* Model must have the `iam.serviceAccounts.actAs` permission on this service
* account.
*
* @param string $serviceAccount
*/
public function setServiceAccount($serviceAccount)
{
$this->serviceAccount = $serviceAccount;
}
/**
* @return string
*/
public function getServiceAccount()
{
return $this->serviceAccount;
}
/**
* Output only. Time when the BatchPredictionJob for the first time entered
* the `JOB_STATE_RUNNING` state.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
/**
* Output only. The detailed state of the job.
*
* Accepted values: JOB_STATE_UNSPECIFIED, JOB_STATE_QUEUED,
* JOB_STATE_PENDING, JOB_STATE_RUNNING, JOB_STATE_SUCCEEDED,
* JOB_STATE_FAILED, JOB_STATE_CANCELLING, JOB_STATE_CANCELLED,
* JOB_STATE_PAUSED, JOB_STATE_EXPIRED, JOB_STATE_UPDATING,
* JOB_STATE_PARTIALLY_SUCCEEDED
*
* @param self::STATE_* $state
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return self::STATE_*
*/
public function getState()
{
return $this->state;
}
/**
* Contains model information necessary to perform batch prediction without
* requiring uploading to model registry. Exactly one of model,
* unmanaged_container_model, or endpoint must be set.
*
* @param GoogleCloudAiplatformV1UnmanagedContainerModel $unmanagedContainerModel
*/
public function setUnmanagedContainerModel(GoogleCloudAiplatformV1UnmanagedContainerModel $unmanagedContainerModel)
{
$this->unmanagedContainerModel = $unmanagedContainerModel;
}
/**
* @return GoogleCloudAiplatformV1UnmanagedContainerModel
*/
public function getUnmanagedContainerModel()
{
return $this->unmanagedContainerModel;
}
/**
* Output only. Time when the BatchPredictionJob was most recently updated.
*
* @param string $updateTime
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchPredictionJob::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchPredictionJob');
@@ -0,0 +1,108 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchPredictionJobInputConfig extends \Google\Model
{
protected $bigquerySourceType = GoogleCloudAiplatformV1BigQuerySource::class;
protected $bigquerySourceDataType = '';
protected $gcsSourceType = GoogleCloudAiplatformV1GcsSource::class;
protected $gcsSourceDataType = '';
/**
* Required. The format in which instances are given, must be one of the
* Model's supported_input_storage_formats.
*
* @var string
*/
public $instancesFormat;
protected $vertexMultimodalDatasetSourceType = GoogleCloudAiplatformV1VertexMultimodalDatasetSource::class;
protected $vertexMultimodalDatasetSourceDataType = '';
/**
* The BigQuery location of the input table. The schema of the table should be
* in the format described by the given context OpenAPI Schema, if one is
* provided. The table may contain additional columns that are not described
* by the schema, and they will be ignored.
*
* @param GoogleCloudAiplatformV1BigQuerySource $bigquerySource
*/
public function setBigquerySource(GoogleCloudAiplatformV1BigQuerySource $bigquerySource)
{
$this->bigquerySource = $bigquerySource;
}
/**
* @return GoogleCloudAiplatformV1BigQuerySource
*/
public function getBigquerySource()
{
return $this->bigquerySource;
}
/**
* The Cloud Storage location for the input instances.
*
* @param GoogleCloudAiplatformV1GcsSource $gcsSource
*/
public function setGcsSource(GoogleCloudAiplatformV1GcsSource $gcsSource)
{
$this->gcsSource = $gcsSource;
}
/**
* @return GoogleCloudAiplatformV1GcsSource
*/
public function getGcsSource()
{
return $this->gcsSource;
}
/**
* Required. The format in which instances are given, must be one of the
* Model's supported_input_storage_formats.
*
* @param string $instancesFormat
*/
public function setInstancesFormat($instancesFormat)
{
$this->instancesFormat = $instancesFormat;
}
/**
* @return string
*/
public function getInstancesFormat()
{
return $this->instancesFormat;
}
/**
* A Vertex Managed Dataset. Currently, only datasets of type Multimodal are
* supported.
*
* @param GoogleCloudAiplatformV1VertexMultimodalDatasetSource $vertexMultimodalDatasetSource
*/
public function setVertexMultimodalDatasetSource(GoogleCloudAiplatformV1VertexMultimodalDatasetSource $vertexMultimodalDatasetSource)
{
$this->vertexMultimodalDatasetSource = $vertexMultimodalDatasetSource;
}
/**
* @return GoogleCloudAiplatformV1VertexMultimodalDatasetSource
*/
public function getVertexMultimodalDatasetSource()
{
return $this->vertexMultimodalDatasetSource;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchPredictionJobInputConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchPredictionJobInputConfig');
@@ -0,0 +1,191 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig extends \Google\Collection
{
protected $collection_key = 'includedFields';
/**
* Fields that will be excluded in the prediction instance that is sent to the
* Model. Excluded will be attached to the batch prediction output if
* key_field is not specified. When excluded_fields is populated,
* included_fields must be empty. The input must be JSONL with objects at each
* line, BigQuery or TfRecord.
*
* @var string[]
*/
public $excludedFields;
/**
* Fields that will be included in the prediction instance that is sent to the
* Model. If instance_type is `array`, the order of field names in
* included_fields also determines the order of the values in the array. When
* included_fields is populated, excluded_fields must be empty. The input must
* be JSONL with objects at each line, BigQuery or TfRecord.
*
* @var string[]
*/
public $includedFields;
/**
* The format of the instance that the Model accepts. Vertex AI will convert
* compatible batch prediction input instance formats to the specified format.
* Supported values are: * `object`: Each input is converted to JSON object
* format. * For `bigquery`, each row is converted to an object. * For
* `jsonl`, each line of the JSONL input must be an object. * Does not apply
* to `csv`, `file-list`, `tf-record`, or `tf-record-gzip`. * `array`: Each
* input is converted to JSON array format. * For `bigquery`, each row is
* converted to an array. The order of columns is determined by the BigQuery
* column order, unless included_fields is populated. included_fields must be
* populated for specifying field orders. * For `jsonl`, if each line of the
* JSONL input is an object, included_fields must be populated for specifying
* field orders. * Does not apply to `csv`, `file-list`, `tf-record`, or `tf-
* record-gzip`. If not specified, Vertex AI converts the batch prediction
* input as follows: * For `bigquery` and `csv`, the behavior is the same as
* `array`. The order of columns is the same as defined in the file or table,
* unless included_fields is populated. * For `jsonl`, the prediction instance
* format is determined by each line of the input. * For `tf-record`/`tf-
* record-gzip`, each record will be converted to an object in the format of
* `{"b64": }`, where `` is the Base64-encoded string of the content of the
* record. * For `file-list`, each file in the list will be converted to an
* object in the format of `{"b64": }`, where `` is the Base64-encoded string
* of the content of the file.
*
* @var string
*/
public $instanceType;
/**
* The name of the field that is considered as a key. The values identified by
* the key field is not included in the transformed instances that is sent to
* the Model. This is similar to specifying this name of the field in
* excluded_fields. In addition, the batch prediction output will not include
* the instances. Instead the output will only include the value of the key
* field, in a field named `key` in the output: * For `jsonl` output format,
* the output will have a `key` field instead of the `instance` field. * For
* `csv`/`bigquery` output format, the output will have have a `key` column
* instead of the instance feature columns. The input must be JSONL with
* objects at each line, CSV, BigQuery or TfRecord.
*
* @var string
*/
public $keyField;
/**
* Fields that will be excluded in the prediction instance that is sent to the
* Model. Excluded will be attached to the batch prediction output if
* key_field is not specified. When excluded_fields is populated,
* included_fields must be empty. The input must be JSONL with objects at each
* line, BigQuery or TfRecord.
*
* @param string[] $excludedFields
*/
public function setExcludedFields($excludedFields)
{
$this->excludedFields = $excludedFields;
}
/**
* @return string[]
*/
public function getExcludedFields()
{
return $this->excludedFields;
}
/**
* Fields that will be included in the prediction instance that is sent to the
* Model. If instance_type is `array`, the order of field names in
* included_fields also determines the order of the values in the array. When
* included_fields is populated, excluded_fields must be empty. The input must
* be JSONL with objects at each line, BigQuery or TfRecord.
*
* @param string[] $includedFields
*/
public function setIncludedFields($includedFields)
{
$this->includedFields = $includedFields;
}
/**
* @return string[]
*/
public function getIncludedFields()
{
return $this->includedFields;
}
/**
* The format of the instance that the Model accepts. Vertex AI will convert
* compatible batch prediction input instance formats to the specified format.
* Supported values are: * `object`: Each input is converted to JSON object
* format. * For `bigquery`, each row is converted to an object. * For
* `jsonl`, each line of the JSONL input must be an object. * Does not apply
* to `csv`, `file-list`, `tf-record`, or `tf-record-gzip`. * `array`: Each
* input is converted to JSON array format. * For `bigquery`, each row is
* converted to an array. The order of columns is determined by the BigQuery
* column order, unless included_fields is populated. included_fields must be
* populated for specifying field orders. * For `jsonl`, if each line of the
* JSONL input is an object, included_fields must be populated for specifying
* field orders. * Does not apply to `csv`, `file-list`, `tf-record`, or `tf-
* record-gzip`. If not specified, Vertex AI converts the batch prediction
* input as follows: * For `bigquery` and `csv`, the behavior is the same as
* `array`. The order of columns is the same as defined in the file or table,
* unless included_fields is populated. * For `jsonl`, the prediction instance
* format is determined by each line of the input. * For `tf-record`/`tf-
* record-gzip`, each record will be converted to an object in the format of
* `{"b64": }`, where `` is the Base64-encoded string of the content of the
* record. * For `file-list`, each file in the list will be converted to an
* object in the format of `{"b64": }`, where `` is the Base64-encoded string
* of the content of the file.
*
* @param string $instanceType
*/
public function setInstanceType($instanceType)
{
$this->instanceType = $instanceType;
}
/**
* @return string
*/
public function getInstanceType()
{
return $this->instanceType;
}
/**
* The name of the field that is considered as a key. The values identified by
* the key field is not included in the transformed instances that is sent to
* the Model. This is similar to specifying this name of the field in
* excluded_fields. In addition, the batch prediction output will not include
* the instances. Instead the output will only include the value of the key
* field, in a field named `key` in the output: * For `jsonl` output format,
* the output will have a `key` field instead of the `instance` field. * For
* `csv`/`bigquery` output format, the output will have have a `key` column
* instead of the instance feature columns. The input must be JSONL with
* objects at each line, CSV, BigQuery or TfRecord.
*
* @param string $keyField
*/
public function setKeyField($keyField)
{
$this->keyField = $keyField;
}
/**
* @return string
*/
public function getKeyField()
{
return $this->keyField;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchPredictionJobInstanceConfig');
@@ -0,0 +1,131 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchPredictionJobOutputConfig extends \Google\Model
{
protected $bigqueryDestinationType = GoogleCloudAiplatformV1BigQueryDestination::class;
protected $bigqueryDestinationDataType = '';
protected $gcsDestinationType = GoogleCloudAiplatformV1GcsDestination::class;
protected $gcsDestinationDataType = '';
/**
* Required. The format in which Vertex AI gives the predictions, must be one
* of the Model's supported_output_storage_formats.
*
* @var string
*/
public $predictionsFormat;
protected $vertexMultimodalDatasetDestinationType = GoogleCloudAiplatformV1VertexMultimodalDatasetDestination::class;
protected $vertexMultimodalDatasetDestinationDataType = '';
/**
* The BigQuery project or dataset location where the output is to be written
* to. If project is provided, a new dataset is created with name
* `prediction__` where is made BigQuery-dataset-name compatible (for example,
* most special characters become underscores), and timestamp is in
* YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset two
* tables will be created, `predictions`, and `errors`. If the Model has both
* instance and prediction schemata defined then the tables have columns as
* follows: The `predictions` table contains instances for which the
* prediction succeeded, it has columns as per a concatenation of the Model's
* instance and prediction schemata. The `errors` table contains rows for
* which the prediction has failed, it has instance columns, as per the
* instance schema, followed by a single "errors" column, which as values has
* google.rpc.Status represented as a STRUCT, and containing only `code` and
* `message`.
*
* @param GoogleCloudAiplatformV1BigQueryDestination $bigqueryDestination
*/
public function setBigqueryDestination(GoogleCloudAiplatformV1BigQueryDestination $bigqueryDestination)
{
$this->bigqueryDestination = $bigqueryDestination;
}
/**
* @return GoogleCloudAiplatformV1BigQueryDestination
*/
public function getBigqueryDestination()
{
return $this->bigqueryDestination;
}
/**
* The Cloud Storage location of the directory where the output is to be
* written to. In the given directory a new directory is created. Its name is
* `prediction--`, where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601
* format. Inside of it files `predictions_0001.`, `predictions_0002.`, ...,
* `predictions_N.` are created where `` depends on chosen predictions_format,
* and N may equal 0001 and depends on the total number of successfully
* predicted instances. If the Model has both instance and prediction schemata
* defined then each such file contains predictions as per the
* predictions_format. If prediction for any instance failed (partially or
* completely), then an additional `errors_0001.`, `errors_0002.`,...,
* `errors_N.` files are created (N depends on total number of failed
* predictions). These files contain the failed instances, as per their
* schema, followed by an additional `error` field which as value has
* google.rpc.Status containing only `code` and `message` fields.
*
* @param GoogleCloudAiplatformV1GcsDestination $gcsDestination
*/
public function setGcsDestination(GoogleCloudAiplatformV1GcsDestination $gcsDestination)
{
$this->gcsDestination = $gcsDestination;
}
/**
* @return GoogleCloudAiplatformV1GcsDestination
*/
public function getGcsDestination()
{
return $this->gcsDestination;
}
/**
* Required. The format in which Vertex AI gives the predictions, must be one
* of the Model's supported_output_storage_formats.
*
* @param string $predictionsFormat
*/
public function setPredictionsFormat($predictionsFormat)
{
$this->predictionsFormat = $predictionsFormat;
}
/**
* @return string
*/
public function getPredictionsFormat()
{
return $this->predictionsFormat;
}
/**
* The details for a Vertex Multimodal Dataset that will be created for the
* output.
*
* @param GoogleCloudAiplatformV1VertexMultimodalDatasetDestination $vertexMultimodalDatasetDestination
*/
public function setVertexMultimodalDatasetDestination(GoogleCloudAiplatformV1VertexMultimodalDatasetDestination $vertexMultimodalDatasetDestination)
{
$this->vertexMultimodalDatasetDestination = $vertexMultimodalDatasetDestination;
}
/**
* @return GoogleCloudAiplatformV1VertexMultimodalDatasetDestination
*/
public function getVertexMultimodalDatasetDestination()
{
return $this->vertexMultimodalDatasetDestination;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchPredictionJobOutputConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchPredictionJobOutputConfig');
@@ -0,0 +1,128 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchPredictionJobOutputInfo extends \Google\Model
{
/**
* Output only. The path of the BigQuery dataset created, in
* `bq://projectId.bqDatasetId` format, into which the prediction output is
* written.
*
* @var string
*/
public $bigqueryOutputDataset;
/**
* Output only. The name of the BigQuery table created, in `predictions_`
* format, into which the prediction output is written. Can be used by UI to
* generate the BigQuery output path, for example.
*
* @var string
*/
public $bigqueryOutputTable;
/**
* Output only. The full path of the Cloud Storage directory created, into
* which the prediction output is written.
*
* @var string
*/
public $gcsOutputDirectory;
/**
* Output only. The resource name of the Vertex Managed Dataset created, into
* which the prediction output is written. Format:
* `projects/{project}/locations/{location}/datasets/{dataset}`
*
* @var string
*/
public $vertexMultimodalDatasetName;
/**
* Output only. The path of the BigQuery dataset created, in
* `bq://projectId.bqDatasetId` format, into which the prediction output is
* written.
*
* @param string $bigqueryOutputDataset
*/
public function setBigqueryOutputDataset($bigqueryOutputDataset)
{
$this->bigqueryOutputDataset = $bigqueryOutputDataset;
}
/**
* @return string
*/
public function getBigqueryOutputDataset()
{
return $this->bigqueryOutputDataset;
}
/**
* Output only. The name of the BigQuery table created, in `predictions_`
* format, into which the prediction output is written. Can be used by UI to
* generate the BigQuery output path, for example.
*
* @param string $bigqueryOutputTable
*/
public function setBigqueryOutputTable($bigqueryOutputTable)
{
$this->bigqueryOutputTable = $bigqueryOutputTable;
}
/**
* @return string
*/
public function getBigqueryOutputTable()
{
return $this->bigqueryOutputTable;
}
/**
* Output only. The full path of the Cloud Storage directory created, into
* which the prediction output is written.
*
* @param string $gcsOutputDirectory
*/
public function setGcsOutputDirectory($gcsOutputDirectory)
{
$this->gcsOutputDirectory = $gcsOutputDirectory;
}
/**
* @return string
*/
public function getGcsOutputDirectory()
{
return $this->gcsOutputDirectory;
}
/**
* Output only. The resource name of the Vertex Managed Dataset created, into
* which the prediction output is written. Format:
* `projects/{project}/locations/{location}/datasets/{dataset}`
*
* @param string $vertexMultimodalDatasetName
*/
public function setVertexMultimodalDatasetName($vertexMultimodalDatasetName)
{
$this->vertexMultimodalDatasetName = $vertexMultimodalDatasetName;
}
/**
* @return string
*/
public function getVertexMultimodalDatasetName()
{
return $this->vertexMultimodalDatasetName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchPredictionJobOutputInfo::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchPredictionJobOutputInfo');
@@ -0,0 +1,44 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata extends \Google\Model
{
protected $genericMetadataType = GoogleCloudAiplatformV1GenericOperationMetadata::class;
protected $genericMetadataDataType = '';
/**
* Operation metadata for Featurestore batch read Features values.
*
* @param GoogleCloudAiplatformV1GenericOperationMetadata $genericMetadata
*/
public function setGenericMetadata(GoogleCloudAiplatformV1GenericOperationMetadata $genericMetadata)
{
$this->genericMetadata = $genericMetadata;
}
/**
* @return GoogleCloudAiplatformV1GenericOperationMetadata
*/
public function getGenericMetadata()
{
return $this->genericMetadata;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchReadFeatureValuesOperationMetadata');
@@ -0,0 +1,160 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchReadFeatureValuesRequest extends \Google\Collection
{
protected $collection_key = 'passThroughFields';
protected $bigqueryReadInstancesType = GoogleCloudAiplatformV1BigQuerySource::class;
protected $bigqueryReadInstancesDataType = '';
protected $csvReadInstancesType = GoogleCloudAiplatformV1CsvSource::class;
protected $csvReadInstancesDataType = '';
protected $destinationType = GoogleCloudAiplatformV1FeatureValueDestination::class;
protected $destinationDataType = '';
protected $entityTypeSpecsType = GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec::class;
protected $entityTypeSpecsDataType = 'array';
protected $passThroughFieldsType = GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField::class;
protected $passThroughFieldsDataType = 'array';
/**
* Optional. Excludes Feature values with feature generation timestamp before
* this timestamp. If not set, retrieve oldest values kept in Feature Store.
* Timestamp, if present, must not have higher than millisecond precision.
*
* @var string
*/
public $startTime;
/**
* Similar to csv_read_instances, but from BigQuery source.
*
* @param GoogleCloudAiplatformV1BigQuerySource $bigqueryReadInstances
*/
public function setBigqueryReadInstances(GoogleCloudAiplatformV1BigQuerySource $bigqueryReadInstances)
{
$this->bigqueryReadInstances = $bigqueryReadInstances;
}
/**
* @return GoogleCloudAiplatformV1BigQuerySource
*/
public function getBigqueryReadInstances()
{
return $this->bigqueryReadInstances;
}
/**
* Each read instance consists of exactly one read timestamp and one or more
* entity IDs identifying entities of the corresponding EntityTypes whose
* Features are requested. Each output instance contains Feature values of
* requested entities concatenated together as of the read time. An example
* read instance may be `foo_entity_id, bar_entity_id,
* 2020-01-01T10:00:00.123Z`. An example output instance may be
* `foo_entity_id, bar_entity_id, 2020-01-01T10:00:00.123Z,
* foo_entity_feature1_value, bar_entity_feature2_value`. Timestamp in each
* read instance must be millisecond-aligned. `csv_read_instances` are read
* instances stored in a plain-text CSV file. The header should be:
* [ENTITY_TYPE_ID1], [ENTITY_TYPE_ID2], ..., timestamp The columns can be in
* any order. Values in the timestamp column must use the RFC 3339 format,
* e.g. `2012-07-30T10:43:17.123Z`.
*
* @param GoogleCloudAiplatformV1CsvSource $csvReadInstances
*/
public function setCsvReadInstances(GoogleCloudAiplatformV1CsvSource $csvReadInstances)
{
$this->csvReadInstances = $csvReadInstances;
}
/**
* @return GoogleCloudAiplatformV1CsvSource
*/
public function getCsvReadInstances()
{
return $this->csvReadInstances;
}
/**
* Required. Specifies output location and format.
*
* @param GoogleCloudAiplatformV1FeatureValueDestination $destination
*/
public function setDestination(GoogleCloudAiplatformV1FeatureValueDestination $destination)
{
$this->destination = $destination;
}
/**
* @return GoogleCloudAiplatformV1FeatureValueDestination
*/
public function getDestination()
{
return $this->destination;
}
/**
* Required. Specifies EntityType grouping Features to read values of and
* settings.
*
* @param GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec[] $entityTypeSpecs
*/
public function setEntityTypeSpecs($entityTypeSpecs)
{
$this->entityTypeSpecs = $entityTypeSpecs;
}
/**
* @return GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec[]
*/
public function getEntityTypeSpecs()
{
return $this->entityTypeSpecs;
}
/**
* When not empty, the specified fields in the *_read_instances source will be
* joined as-is in the output, in addition to those fields from the
* Featurestore Entity. For BigQuery source, the type of the pass-through
* values will be automatically inferred. For CSV source, the pass-through
* values will be passed as opaque bytes.
*
* @param GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField[] $passThroughFields
*/
public function setPassThroughFields($passThroughFields)
{
$this->passThroughFields = $passThroughFields;
}
/**
* @return GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField[]
*/
public function getPassThroughFields()
{
return $this->passThroughFields;
}
/**
* Optional. Excludes Feature values with feature generation timestamp before
* this timestamp. If not set, retrieve oldest values kept in Feature Store.
* Timestamp, if present, must not have higher than millisecond precision.
*
* @param string $startTime
*/
public function setStartTime($startTime)
{
$this->startTime = $startTime;
}
/**
* @return string
*/
public function getStartTime()
{
return $this->startTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchReadFeatureValuesRequest::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchReadFeatureValuesRequest');
@@ -0,0 +1,88 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec extends \Google\Collection
{
protected $collection_key = 'settings';
/**
* Required. ID of the EntityType to select Features. The EntityType id is the
* entity_type_id specified during EntityType creation.
*
* @var string
*/
public $entityTypeId;
protected $featureSelectorType = GoogleCloudAiplatformV1FeatureSelector::class;
protected $featureSelectorDataType = '';
protected $settingsType = GoogleCloudAiplatformV1DestinationFeatureSetting::class;
protected $settingsDataType = 'array';
/**
* Required. ID of the EntityType to select Features. The EntityType id is the
* entity_type_id specified during EntityType creation.
*
* @param string $entityTypeId
*/
public function setEntityTypeId($entityTypeId)
{
$this->entityTypeId = $entityTypeId;
}
/**
* @return string
*/
public function getEntityTypeId()
{
return $this->entityTypeId;
}
/**
* Required. Selectors choosing which Feature values to read from the
* EntityType.
*
* @param GoogleCloudAiplatformV1FeatureSelector $featureSelector
*/
public function setFeatureSelector(GoogleCloudAiplatformV1FeatureSelector $featureSelector)
{
$this->featureSelector = $featureSelector;
}
/**
* @return GoogleCloudAiplatformV1FeatureSelector
*/
public function getFeatureSelector()
{
return $this->featureSelector;
}
/**
* Per-Feature settings for the batch read.
*
* @param GoogleCloudAiplatformV1DestinationFeatureSetting[] $settings
*/
public function setSettings($settings)
{
$this->settings = $settings;
}
/**
* @return GoogleCloudAiplatformV1DestinationFeatureSetting[]
*/
public function getSettings()
{
return $this->settings;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchReadFeatureValuesRequestEntityTypeSpec');
@@ -0,0 +1,50 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField extends \Google\Model
{
/**
* Required. The name of the field in the CSV header or the name of the column
* in BigQuery table. The naming restriction is the same as Feature.name.
*
* @var string
*/
public $fieldName;
/**
* Required. The name of the field in the CSV header or the name of the column
* in BigQuery table. The naming restriction is the same as Feature.name.
*
* @param string $fieldName
*/
public function setFieldName($fieldName)
{
$this->fieldName = $fieldName;
}
/**
* @return string
*/
public function getFieldName()
{
return $this->fieldName;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchReadFeatureValuesRequestPassThroughField');
@@ -0,0 +1,25 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchReadFeatureValuesResponse extends \Google\Model
{
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchReadFeatureValuesResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchReadFeatureValuesResponse');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse extends \Google\Collection
{
protected $collection_key = 'timeSeriesData';
protected $timeSeriesDataType = GoogleCloudAiplatformV1TimeSeriesData::class;
protected $timeSeriesDataDataType = 'array';
/**
* The returned time series data.
*
* @param GoogleCloudAiplatformV1TimeSeriesData[] $timeSeriesData
*/
public function setTimeSeriesData($timeSeriesData)
{
$this->timeSeriesData = $timeSeriesData;
}
/**
* @return GoogleCloudAiplatformV1TimeSeriesData[]
*/
public function getTimeSeriesData()
{
return $this->timeSeriesData;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BatchReadTensorboardTimeSeriesDataResponse');
@@ -0,0 +1,58 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BigQueryDestination extends \Google\Model
{
/**
* Required. BigQuery URI to a project or table, up to 2000 characters long.
* When only the project is specified, the Dataset and Table is created. When
* the full table reference is specified, the Dataset must exist and table
* must not exist. Accepted forms: * BigQuery path. For example:
* `bq://projectId` or `bq://projectId.bqDatasetId` or
* `bq://projectId.bqDatasetId.bqTableId`.
*
* @var string
*/
public $outputUri;
/**
* Required. BigQuery URI to a project or table, up to 2000 characters long.
* When only the project is specified, the Dataset and Table is created. When
* the full table reference is specified, the Dataset must exist and table
* must not exist. Accepted forms: * BigQuery path. For example:
* `bq://projectId` or `bq://projectId.bqDatasetId` or
* `bq://projectId.bqDatasetId.bqTableId`.
*
* @param string $outputUri
*/
public function setOutputUri($outputUri)
{
$this->outputUri = $outputUri;
}
/**
* @return string
*/
public function getOutputUri()
{
return $this->outputUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BigQueryDestination::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BigQueryDestination');
@@ -0,0 +1,140 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BigQueryRequestSet extends \Google\Model
{
/**
* Optional. Map of candidate name to candidate response column name. The
* column will be in evaluation_item.CandidateResponse format.
*
* @var string[]
*/
public $candidateResponseColumns;
/**
* Optional. The name of the column that contains the requests to evaluate.
* This will be in evaluation_item.EvalPrompt format.
*
* @var string
*/
public $promptColumn;
/**
* Optional. The name of the column that contains the rubrics. This is in
* evaluation_rubric.RubricGroup format.
*
* @var string
*/
public $rubricsColumn;
protected $samplingConfigType = GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig::class;
protected $samplingConfigDataType = '';
/**
* Required. The URI of a BigQuery table. e.g.
* bq://projectId.bqDatasetId.bqTableId
*
* @var string
*/
public $uri;
/**
* Optional. Map of candidate name to candidate response column name. The
* column will be in evaluation_item.CandidateResponse format.
*
* @param string[] $candidateResponseColumns
*/
public function setCandidateResponseColumns($candidateResponseColumns)
{
$this->candidateResponseColumns = $candidateResponseColumns;
}
/**
* @return string[]
*/
public function getCandidateResponseColumns()
{
return $this->candidateResponseColumns;
}
/**
* Optional. The name of the column that contains the requests to evaluate.
* This will be in evaluation_item.EvalPrompt format.
*
* @param string $promptColumn
*/
public function setPromptColumn($promptColumn)
{
$this->promptColumn = $promptColumn;
}
/**
* @return string
*/
public function getPromptColumn()
{
return $this->promptColumn;
}
/**
* Optional. The name of the column that contains the rubrics. This is in
* evaluation_rubric.RubricGroup format.
*
* @param string $rubricsColumn
*/
public function setRubricsColumn($rubricsColumn)
{
$this->rubricsColumn = $rubricsColumn;
}
/**
* @return string
*/
public function getRubricsColumn()
{
return $this->rubricsColumn;
}
/**
* Optional. The sampling config for the bigquery resource.
*
* @param GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig $samplingConfig
*/
public function setSamplingConfig(GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig $samplingConfig)
{
$this->samplingConfig = $samplingConfig;
}
/**
* @return GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig
*/
public function getSamplingConfig()
{
return $this->samplingConfig;
}
/**
* Required. The URI of a BigQuery table. e.g.
* bq://projectId.bqDatasetId.bqTableId
*
* @param string $uri
*/
public function setUri($uri)
{
$this->uri = $uri;
}
/**
* @return string
*/
public function getUri()
{
return $this->uri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BigQueryRequestSet::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BigQueryRequestSet');
@@ -0,0 +1,106 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig extends \Google\Model
{
/**
* Unspecified sampling method.
*/
public const SAMPLING_METHOD_SAMPLING_METHOD_UNSPECIFIED = 'SAMPLING_METHOD_UNSPECIFIED';
/**
* Random sampling.
*/
public const SAMPLING_METHOD_RANDOM = 'RANDOM';
/**
* Optional. The total number of logged data to import. If available data is
* less than the sampling count, all data will be imported. Default is 100.
*
* @var int
*/
public $samplingCount;
/**
* Optional. How long to wait before sampling data from the BigQuery table. If
* not specified, defaults to 0.
*
* @var string
*/
public $samplingDuration;
/**
* Optional. The sampling method to use.
*
* @var string
*/
public $samplingMethod;
/**
* Optional. The total number of logged data to import. If available data is
* less than the sampling count, all data will be imported. Default is 100.
*
* @param int $samplingCount
*/
public function setSamplingCount($samplingCount)
{
$this->samplingCount = $samplingCount;
}
/**
* @return int
*/
public function getSamplingCount()
{
return $this->samplingCount;
}
/**
* Optional. How long to wait before sampling data from the BigQuery table. If
* not specified, defaults to 0.
*
* @param string $samplingDuration
*/
public function setSamplingDuration($samplingDuration)
{
$this->samplingDuration = $samplingDuration;
}
/**
* @return string
*/
public function getSamplingDuration()
{
return $this->samplingDuration;
}
/**
* Optional. The sampling method to use.
*
* Accepted values: SAMPLING_METHOD_UNSPECIFIED, RANDOM
*
* @param self::SAMPLING_METHOD_* $samplingMethod
*/
public function setSamplingMethod($samplingMethod)
{
$this->samplingMethod = $samplingMethod;
}
/**
* @return self::SAMPLING_METHOD_*
*/
public function getSamplingMethod()
{
return $this->samplingMethod;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BigQueryRequestSetSamplingConfig');
@@ -0,0 +1,52 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BigQuerySource extends \Google\Model
{
/**
* Required. BigQuery URI to a table, up to 2000 characters long. Accepted
* forms: * BigQuery path. For example:
* `bq://projectId.bqDatasetId.bqTableId`.
*
* @var string
*/
public $inputUri;
/**
* Required. BigQuery URI to a table, up to 2000 characters long. Accepted
* forms: * BigQuery path. For example:
* `bq://projectId.bqDatasetId.bqTableId`.
*
* @param string $inputUri
*/
public function setInputUri($inputUri)
{
$this->inputUri = $inputUri;
}
/**
* @return string
*/
public function getInputUri()
{
return $this->inputUri;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BigQuerySource::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BigQuerySource');
@@ -0,0 +1,63 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BleuInput extends \Google\Collection
{
protected $collection_key = 'instances';
protected $instancesType = GoogleCloudAiplatformV1BleuInstance::class;
protected $instancesDataType = 'array';
protected $metricSpecType = GoogleCloudAiplatformV1BleuSpec::class;
protected $metricSpecDataType = '';
/**
* Required. Repeated bleu instances.
*
* @param GoogleCloudAiplatformV1BleuInstance[] $instances
*/
public function setInstances($instances)
{
$this->instances = $instances;
}
/**
* @return GoogleCloudAiplatformV1BleuInstance[]
*/
public function getInstances()
{
return $this->instances;
}
/**
* Required. Spec for bleu score metric.
*
* @param GoogleCloudAiplatformV1BleuSpec $metricSpec
*/
public function setMetricSpec(GoogleCloudAiplatformV1BleuSpec $metricSpec)
{
$this->metricSpec = $metricSpec;
}
/**
* @return GoogleCloudAiplatformV1BleuSpec
*/
public function getMetricSpec()
{
return $this->metricSpec;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BleuInput::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BleuInput');
@@ -0,0 +1,70 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BleuInstance extends \Google\Model
{
/**
* Required. Output of the evaluated model.
*
* @var string
*/
public $prediction;
/**
* Required. Ground truth used to compare against the prediction.
*
* @var string
*/
public $reference;
/**
* Required. Output of the evaluated model.
*
* @param string $prediction
*/
public function setPrediction($prediction)
{
$this->prediction = $prediction;
}
/**
* @return string
*/
public function getPrediction()
{
return $this->prediction;
}
/**
* Required. Ground truth used to compare against the prediction.
*
* @param string $reference
*/
public function setReference($reference)
{
$this->reference = $reference;
}
/**
* @return string
*/
public function getReference()
{
return $this->reference;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BleuInstance::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BleuInstance');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BleuMetricValue extends \Google\Model
{
/**
* Output only. Bleu score.
*
* @var float
*/
public $score;
/**
* Output only. Bleu score.
*
* @param float $score
*/
public function setScore($score)
{
$this->score = $score;
}
/**
* @return float
*/
public function getScore()
{
return $this->score;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BleuMetricValue::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BleuMetricValue');
@@ -0,0 +1,45 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BleuResults extends \Google\Collection
{
protected $collection_key = 'bleuMetricValues';
protected $bleuMetricValuesType = GoogleCloudAiplatformV1BleuMetricValue::class;
protected $bleuMetricValuesDataType = 'array';
/**
* Output only. Bleu metric values.
*
* @param GoogleCloudAiplatformV1BleuMetricValue[] $bleuMetricValues
*/
public function setBleuMetricValues($bleuMetricValues)
{
$this->bleuMetricValues = $bleuMetricValues;
}
/**
* @return GoogleCloudAiplatformV1BleuMetricValue[]
*/
public function getBleuMetricValues()
{
return $this->bleuMetricValues;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BleuResults::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BleuResults');
@@ -0,0 +1,48 @@
<?php
/*
* Copyright 2014 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1BleuSpec extends \Google\Model
{
/**
* Optional. Whether to use_effective_order to compute bleu score.
*
* @var bool
*/
public $useEffectiveOrder;
/**
* Optional. Whether to use_effective_order to compute bleu score.
*
* @param bool $useEffectiveOrder
*/
public function setUseEffectiveOrder($useEffectiveOrder)
{
$this->useEffectiveOrder = $useEffectiveOrder;
}
/**
* @return bool
*/
public function getUseEffectiveOrder()
{
return $this->useEffectiveOrder;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1BleuSpec::class, 'Google_Service_Aiplatform_GoogleCloudAiplatformV1BleuSpec');

Some files were not shown because too many files have changed in this diff Show More