code
stringlengths
17
296k
docstring
stringlengths
30
30.3k
func_name
stringlengths
1
89
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
153
url
stringlengths
51
209
license
stringclasses
4 values
public function setResourceSettings($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings::class); $this->resource_settings = $arr; return $this; }
Input only. Resource properties that are used to customize workload resources. These properties (such as custom project id) will be used to create workload resources if possible. This field is optional. Generated from protobuf field <code>repeated .google.cloud.assuredworkloads.v1beta1.Workload.ResourceSettings resource_settings = 15 [(.google.api.field_behavior) = INPUT_ONLY];</code> @param array<\Google\Cloud\AssuredWorkloads\V1beta1\Workload\ResourceSettings>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setResourceSettings
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function getKajEnrollmentState() { return $this->kaj_enrollment_state; }
Output only. Represents the KAJ enrollment state of the given workload. Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return int
getKajEnrollmentState
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function setKajEnrollmentState($var) { GPBUtil::checkEnum($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\KajEnrollmentState::class); $this->kaj_enrollment_state = $var; return $this; }
Output only. Represents the KAJ enrollment state of the given workload. Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.KajEnrollmentState kaj_enrollment_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setKajEnrollmentState
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function getEnableSovereignControls() { return $this->enable_sovereign_controls; }
Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers. Generated from protobuf field <code>bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getEnableSovereignControls
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function setEnableSovereignControls($var) { GPBUtil::checkBool($var); $this->enable_sovereign_controls = $var; return $this; }
Optional. Indicates the sovereignty status of the given workload. Currently meant to be used by Europe/Canada customers. Generated from protobuf field <code>bool enable_sovereign_controls = 18 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setEnableSovereignControls
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function getSaaEnrollmentResponse() { return $this->saa_enrollment_response; }
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page. Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Cloud\AssuredWorkloads\V1beta1\Workload\SaaEnrollmentResponse|null
getSaaEnrollmentResponse
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function setSaaEnrollmentResponse($var) { GPBUtil::checkMessage($var, \Google\Cloud\AssuredWorkloads\V1beta1\Workload\SaaEnrollmentResponse::class); $this->saa_enrollment_response = $var; return $this; }
Output only. Represents the SAA enrollment response of the given workload. SAA enrollment response is queried during GetWorkload call. In failure cases, user friendly error message is shown in SAA details page. Generated from protobuf field <code>.google.cloud.assuredworkloads.v1beta1.Workload.SaaEnrollmentResponse saa_enrollment_response = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Cloud\AssuredWorkloads\V1beta1\Workload\SaaEnrollmentResponse $var @return $this
setSaaEnrollmentResponse
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function getCompliantButDisallowedServices() { return $this->compliant_but_disallowed_services; }
Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment." Generated from protobuf field <code>repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Internal\RepeatedField
getCompliantButDisallowedServices
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function setCompliantButDisallowedServices($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->compliant_but_disallowed_services = $arr; return $this; }
Output only. Urls for services which are compliant for this Assured Workload, but which are currently disallowed by the ResourceUsageRestriction org policy. Invoke RestrictAllowedResources endpoint to allow your project developers to use these services in their environment." Generated from protobuf field <code>repeated string compliant_but_disallowed_services = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setCompliantButDisallowedServices
php
googleapis/google-cloud-php
AssuredWorkloads/src/V1beta1/Workload.php
https://github.com/googleapis/google-cloud-php/blob/master/AssuredWorkloads/src/V1beta1/Workload.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
Output only. The time the operation was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. The time the operation was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function getEndTime() { return $this->end_time; }
Output only. The time the operation finished running. Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getEndTime
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function setEndTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->end_time = $var; return $this; }
Output only. The time the operation finished running. Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setEndTime
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function getUpdateTime() { return $this->update_time; }
Output only. The time the operation was last modified. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getUpdateTime
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function setUpdateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->update_time = $var; return $this; }
Output only. The time the operation was last modified. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setUpdateTime
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function getType() { return $this->type; }
Output only. The type of operation invoked. Generated from protobuf field <code>string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getType
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; }
Output only. The type of operation invoked. Generated from protobuf field <code>string type = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setType
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function getRequestedCancellation() { return $this->requested_cancellation; }
Output only. Identifies whether the user has requested cancellation. Generated from protobuf field <code>bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return bool
getRequestedCancellation
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function setRequestedCancellation($var) { GPBUtil::checkBool($var); $this->requested_cancellation = $var; return $this; }
Output only. Identifies whether the user has requested cancellation. Generated from protobuf field <code>bool requested_cancellation = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param bool $var @return $this
setRequestedCancellation
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function getProgressPercent() { return $this->progress_percent; }
Output only. The estimated progress of the operation in percentage [0, 100]. The value -1 means the progress is unknown. Generated from protobuf field <code>int32 progress_percent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return int
getProgressPercent
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function setProgressPercent($var) { GPBUtil::checkInt32($var); $this->progress_percent = $var; return $this; }
Output only. The estimated progress of the operation in percentage [0, 100]. The value -1 means the progress is unknown. Generated from protobuf field <code>int32 progress_percent = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param int $var @return $this
setProgressPercent
php
googleapis/google-cloud-php
StorageControl/src/V2/CommonLongRunningOperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/StorageControl/src/V2/CommonLongRunningOperationMetadata.php
Apache-2.0
public function getText() { return $this->text; }
The mention text. Generated from protobuf field <code>.google.cloud.language.v1.TextSpan text = 1;</code> @return \Google\Cloud\Language\V1\TextSpan|null
getText
php
googleapis/google-cloud-php
Language/src/V1/EntityMention.php
https://github.com/googleapis/google-cloud-php/blob/master/Language/src/V1/EntityMention.php
Apache-2.0
public function setText($var) { GPBUtil::checkMessage($var, \Google\Cloud\Language\V1\TextSpan::class); $this->text = $var; return $this; }
The mention text. Generated from protobuf field <code>.google.cloud.language.v1.TextSpan text = 1;</code> @param \Google\Cloud\Language\V1\TextSpan $var @return $this
setText
php
googleapis/google-cloud-php
Language/src/V1/EntityMention.php
https://github.com/googleapis/google-cloud-php/blob/master/Language/src/V1/EntityMention.php
Apache-2.0
public function getType() { return $this->type; }
The type of the entity mention. Generated from protobuf field <code>.google.cloud.language.v1.EntityMention.Type type = 2;</code> @return int
getType
php
googleapis/google-cloud-php
Language/src/V1/EntityMention.php
https://github.com/googleapis/google-cloud-php/blob/master/Language/src/V1/EntityMention.php
Apache-2.0
public function setType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Language\V1\EntityMention\Type::class); $this->type = $var; return $this; }
The type of the entity mention. Generated from protobuf field <code>.google.cloud.language.v1.EntityMention.Type type = 2;</code> @param int $var @return $this
setType
php
googleapis/google-cloud-php
Language/src/V1/EntityMention.php
https://github.com/googleapis/google-cloud-php/blob/master/Language/src/V1/EntityMention.php
Apache-2.0
public function getSentiment() { return $this->sentiment; }
For calls to [AnalyzeEntitySentiment][] or if [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document. Generated from protobuf field <code>.google.cloud.language.v1.Sentiment sentiment = 3;</code> @return \Google\Cloud\Language\V1\Sentiment|null
getSentiment
php
googleapis/google-cloud-php
Language/src/V1/EntityMention.php
https://github.com/googleapis/google-cloud-php/blob/master/Language/src/V1/EntityMention.php
Apache-2.0
public function setSentiment($var) { GPBUtil::checkMessage($var, \Google\Cloud\Language\V1\Sentiment::class); $this->sentiment = $var; return $this; }
For calls to [AnalyzeEntitySentiment][] or if [AnnotateTextRequest.Features.extract_entity_sentiment][google.cloud.language.v1.AnnotateTextRequest.Features.extract_entity_sentiment] is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document. Generated from protobuf field <code>.google.cloud.language.v1.Sentiment sentiment = 3;</code> @param \Google\Cloud\Language\V1\Sentiment $var @return $this
setSentiment
php
googleapis/google-cloud-php
Language/src/V1/EntityMention.php
https://github.com/googleapis/google-cloud-php/blob/master/Language/src/V1/EntityMention.php
Apache-2.0
public function getRolloutRestriction() { return $this->readOneof(2); }
Optional. Rollout restrictions. Generated from protobuf field <code>.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return \Google\Cloud\Deploy\V1\RolloutRestriction|null
getRolloutRestriction
php
googleapis/google-cloud-php
Deploy/src/V1/PolicyRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/PolicyRule.php
Apache-2.0
public function setRolloutRestriction($var) { GPBUtil::checkMessage($var, \Google\Cloud\Deploy\V1\RolloutRestriction::class); $this->writeOneof(2, $var); return $this; }
Optional. Rollout restrictions. Generated from protobuf field <code>.google.cloud.deploy.v1.RolloutRestriction rollout_restriction = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param \Google\Cloud\Deploy\V1\RolloutRestriction $var @return $this
setRolloutRestriction
php
googleapis/google-cloud-php
Deploy/src/V1/PolicyRule.php
https://github.com/googleapis/google-cloud-php/blob/master/Deploy/src/V1/PolicyRule.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. Resource name for the access policy to list [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] from. Format: `accessPolicies/{policy_id}` Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getParent
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ListAccessLevelsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ListAccessLevelsRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. Resource name for the access policy to list [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] from. Format: `accessPolicies/{policy_id}` Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ListAccessLevelsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ListAccessLevelsRequest.php
Apache-2.0
public function getPageSize() { return $this->page_size; }
Number of [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] to include in the list. Default 100. Generated from protobuf field <code>int32 page_size = 2;</code> @return int
getPageSize
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ListAccessLevelsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ListAccessLevelsRequest.php
Apache-2.0
public function setPageSize($var) { GPBUtil::checkInt32($var); $this->page_size = $var; return $this; }
Number of [Access Levels] [google.identity.accesscontextmanager.v1.AccessLevel] to include in the list. Default 100. Generated from protobuf field <code>int32 page_size = 2;</code> @param int $var @return $this
setPageSize
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ListAccessLevelsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ListAccessLevelsRequest.php
Apache-2.0
public function getPageToken() { return $this->page_token; }
Next page token for the next batch of [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] instances. Defaults to the first page of results. Generated from protobuf field <code>string page_token = 3;</code> @return string
getPageToken
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ListAccessLevelsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ListAccessLevelsRequest.php
Apache-2.0
public function setPageToken($var) { GPBUtil::checkString($var, True); $this->page_token = $var; return $this; }
Next page token for the next batch of [Access Level] [google.identity.accesscontextmanager.v1.AccessLevel] instances. Defaults to the first page of results. Generated from protobuf field <code>string page_token = 3;</code> @param string $var @return $this
setPageToken
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ListAccessLevelsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ListAccessLevelsRequest.php
Apache-2.0
public function getAccessLevelFormat() { return $this->access_level_format; }
Whether to return `BasicLevels` in the Cloud Common Expression language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they were defined. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.LevelFormat access_level_format = 4;</code> @return int
getAccessLevelFormat
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ListAccessLevelsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ListAccessLevelsRequest.php
Apache-2.0
public function setAccessLevelFormat($var) { GPBUtil::checkEnum($var, \Google\Identity\AccessContextManager\V1\LevelFormat::class); $this->access_level_format = $var; return $this; }
Whether to return `BasicLevels` in the Cloud Common Expression language, as `CustomLevels`, rather than as `BasicLevels`. Defaults to returning `AccessLevels` in the format they were defined. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.LevelFormat access_level_format = 4;</code> @param int $var @return $this
setAccessLevelFormat
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ListAccessLevelsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ListAccessLevelsRequest.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
Output only. The time the operation was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. The time the operation was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function getEndTime() { return $this->end_time; }
Output only. The time the operation finished running. Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getEndTime
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function setEndTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->end_time = $var; return $this; }
Output only. The time the operation finished running. Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setEndTime
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function getTarget() { return $this->target; }
Output only. Server-defined resource path for the target of the operation. Generated from protobuf field <code>string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getTarget
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function setTarget($var) { GPBUtil::checkString($var, True); $this->target = $var; return $this; }
Output only. Server-defined resource path for the target of the operation. Generated from protobuf field <code>string target = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setTarget
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function getVerb() { return $this->verb; }
Output only. Name of the verb executed by the operation. Generated from protobuf field <code>string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getVerb
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function setVerb($var) { GPBUtil::checkString($var, True); $this->verb = $var; return $this; }
Output only. Name of the verb executed by the operation. Generated from protobuf field <code>string verb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setVerb
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function getStatusMessage() { return $this->status_message; }
Output only. Human-readable status of the operation, if any. Generated from protobuf field <code>string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getStatusMessage
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function setStatusMessage($var) { GPBUtil::checkString($var, True); $this->status_message = $var; return $this; }
Output only. Human-readable status of the operation, if any. Generated from protobuf field <code>string status_message = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setStatusMessage
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function getRequestedCancellation() { return $this->requested_cancellation; }
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. Generated from protobuf field <code>bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return bool
getRequestedCancellation
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function setRequestedCancellation($var) { GPBUtil::checkBool($var); $this->requested_cancellation = $var; return $this; }
Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to `Code.CANCELLED`. Generated from protobuf field <code>bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param bool $var @return $this
setRequestedCancellation
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function getApiVersion() { return $this->api_version; }
Output only. API version used to start the operation. Generated from protobuf field <code>string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getApiVersion
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function setApiVersion($var) { GPBUtil::checkString($var, True); $this->api_version = $var; return $this; }
Output only. API version used to start the operation. Generated from protobuf field <code>string api_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setApiVersion
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/OperationMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/OperationMetadata.php
Apache-2.0
public function getValue() { return $this->readOneof(1); }
Feature value if a single value is requested. Generated from protobuf field <code>.google.cloud.aiplatform.v1.FeatureValue value = 1;</code> @return \Google\Cloud\AIPlatform\V1\FeatureValue|null
getValue
php
googleapis/google-cloud-php
AiPlatform/src/V1/ReadFeatureValuesResponse/EntityView/Data.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ReadFeatureValuesResponse/EntityView/Data.php
Apache-2.0
public function setValue($var) { GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureValue::class); $this->writeOneof(1, $var); return $this; }
Feature value if a single value is requested. Generated from protobuf field <code>.google.cloud.aiplatform.v1.FeatureValue value = 1;</code> @param \Google\Cloud\AIPlatform\V1\FeatureValue $var @return $this
setValue
php
googleapis/google-cloud-php
AiPlatform/src/V1/ReadFeatureValuesResponse/EntityView/Data.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ReadFeatureValuesResponse/EntityView/Data.php
Apache-2.0
public function getValues() { return $this->readOneof(2); }
Feature values list if values, successive in time, are requested. If the requested number of values is greater than the number of existing Feature values, nonexistent values are omitted instead of being returned as empty. Generated from protobuf field <code>.google.cloud.aiplatform.v1.FeatureValueList values = 2;</code> @return \Google\Cloud\AIPlatform\V1\FeatureValueList|null
getValues
php
googleapis/google-cloud-php
AiPlatform/src/V1/ReadFeatureValuesResponse/EntityView/Data.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ReadFeatureValuesResponse/EntityView/Data.php
Apache-2.0
public function setValues($var) { GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\FeatureValueList::class); $this->writeOneof(2, $var); return $this; }
Feature values list if values, successive in time, are requested. If the requested number of values is greater than the number of existing Feature values, nonexistent values are omitted instead of being returned as empty. Generated from protobuf field <code>.google.cloud.aiplatform.v1.FeatureValueList values = 2;</code> @param \Google\Cloud\AIPlatform\V1\FeatureValueList $var @return $this
setValues
php
googleapis/google-cloud-php
AiPlatform/src/V1/ReadFeatureValuesResponse/EntityView/Data.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ReadFeatureValuesResponse/EntityView/Data.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The parent resource of the view. Required. The location to create a view for. Format: `projects/<Project ID>/locations/<Location ID>` or `projects/<Project Number>/locations/<Location ID>` Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getParent
php
googleapis/google-cloud-php
ContactCenterInsights/src/V1/CreateViewRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/CreateViewRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The parent resource of the view. Required. The location to create a view for. Format: `projects/<Project ID>/locations/<Location ID>` or `projects/<Project Number>/locations/<Location ID>` Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
ContactCenterInsights/src/V1/CreateViewRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/CreateViewRequest.php
Apache-2.0
public function getView() { return $this->view; }
Required. The view resource to create. Generated from protobuf field <code>.google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\ContactCenterInsights\V1\View|null
getView
php
googleapis/google-cloud-php
ContactCenterInsights/src/V1/CreateViewRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/CreateViewRequest.php
Apache-2.0
public function setView($var) { GPBUtil::checkMessage($var, \Google\Cloud\ContactCenterInsights\V1\View::class); $this->view = $var; return $this; }
Required. The view resource to create. Generated from protobuf field <code>.google.cloud.contactcenterinsights.v1.View view = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\ContactCenterInsights\V1\View $var @return $this
setView
php
googleapis/google-cloud-php
ContactCenterInsights/src/V1/CreateViewRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/CreateViewRequest.php
Apache-2.0
public function getWorkflow() { return $this->workflow; }
Required. Workflow to be created. Generated from protobuf field <code>.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Workflows\V1\Workflow|null
getWorkflow
php
googleapis/google-cloud-php
Workflows/src/V1/CreateWorkflowRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/V1/CreateWorkflowRequest.php
Apache-2.0
public function setWorkflow($var) { GPBUtil::checkMessage($var, \Google\Cloud\Workflows\V1\Workflow::class); $this->workflow = $var; return $this; }
Required. Workflow to be created. Generated from protobuf field <code>.google.cloud.workflows.v1.Workflow workflow = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Workflows\V1\Workflow $var @return $this
setWorkflow
php
googleapis/google-cloud-php
Workflows/src/V1/CreateWorkflowRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/V1/CreateWorkflowRequest.php
Apache-2.0
public function getWorkflowId() { return $this->workflow_id; }
Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location. Generated from protobuf field <code>string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getWorkflowId
php
googleapis/google-cloud-php
Workflows/src/V1/CreateWorkflowRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/V1/CreateWorkflowRequest.php
Apache-2.0
public function setWorkflowId($var) { GPBUtil::checkString($var, True); $this->workflow_id = $var; return $this; }
Required. The ID of the workflow to be created. It has to fulfill the following requirements: * Must contain only letters, numbers, underscores and hyphens. * Must start with a letter. * Must be between 1-64 characters. * Must end with a number or a letter. * Must be unique within the customer project and location. Generated from protobuf field <code>string workflow_id = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setWorkflowId
php
googleapis/google-cloud-php
Workflows/src/V1/CreateWorkflowRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Workflows/src/V1/CreateWorkflowRequest.php
Apache-2.0
public function getName() { return $this->name; }
Required. Resource name of the `TranscriptEntry`. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getName
php
googleapis/google-cloud-php
AppsMeet/src/V2beta/GetTranscriptEntryRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsMeet/src/V2beta/GetTranscriptEntryRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Required. Resource name of the `TranscriptEntry`. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
AppsMeet/src/V2beta/GetTranscriptEntryRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/AppsMeet/src/V2beta/GetTranscriptEntryRequest.php
Apache-2.0
public function getProjectId() { return $this->project_id; }
Required. The ID of the Google Cloud Platform project the cluster belongs to. Generated from protobuf field <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getProjectId
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function setProjectId($var) { GPBUtil::checkString($var, True); $this->project_id = $var; return $this; }
Required. The ID of the Google Cloud Platform project the cluster belongs to. Generated from protobuf field <code>string project_id = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setProjectId
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function getRegion() { return $this->region; }
Required. The Dataproc region in which to handle the request. Generated from protobuf field <code>string region = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getRegion
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function setRegion($var) { GPBUtil::checkString($var, True); $this->region = $var; return $this; }
Required. The Dataproc region in which to handle the request. Generated from protobuf field <code>string region = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setRegion
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function getClusterName() { return $this->cluster_name; }
Required. The cluster name. Generated from protobuf field <code>string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getClusterName
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function setClusterName($var) { GPBUtil::checkString($var, True); $this->cluster_name = $var; return $this; }
Required. The cluster name. Generated from protobuf field <code>string cluster_name = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setClusterName
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function getClusterUuid() { return $this->cluster_uuid; }
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist. Generated from protobuf field <code>string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getClusterUuid
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function setClusterUuid($var) { GPBUtil::checkString($var, True); $this->cluster_uuid = $var; return $this; }
Optional. Specifying the `cluster_uuid` means the RPC will fail (with error NOT_FOUND) if a cluster with the specified UUID does not exist. Generated from protobuf field <code>string cluster_uuid = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setClusterUuid
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function getRequestId() { return $this->request_id; }
Optional. A unique ID used to identify the request. If the server receives two [StartClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s with the same id, then the second request will be ignored and the first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend is returned. Recommendation: Set this value to a [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. Generated from protobuf field <code>string request_id = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getRequestId
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function setRequestId($var) { GPBUtil::checkString($var, True); $this->request_id = $var; return $this; }
Optional. A unique ID used to identify the request. If the server receives two [StartClusterRequest](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1#google.cloud.dataproc.v1.StartClusterRequest)s with the same id, then the second request will be ignored and the first [google.longrunning.Operation][google.longrunning.Operation] created and stored in the backend is returned. Recommendation: Set this value to a [UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier). The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters. Generated from protobuf field <code>string request_id = 5 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setRequestId
php
googleapis/google-cloud-php
Dataproc/src/V1/StartClusterRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataproc/src/V1/StartClusterRequest.php
Apache-2.0
public function getName() { return $this->name; }
Output only. Identifier. The resource name of the DatasetVersion. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];</code> @return string
getName
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Output only. Identifier. The resource name of the DatasetVersion. Generated from protobuf field <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];</code> @param string $var @return $this
setName
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getCreateTime() { return $this->create_time; }
Output only. Timestamp when this DatasetVersion was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getCreateTime
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setCreateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->create_time = $var; return $this; }
Output only. Timestamp when this DatasetVersion was created. Generated from protobuf field <code>.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setCreateTime
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getUpdateTime() { return $this->update_time; }
Output only. Timestamp when this DatasetVersion was last updated. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return \Google\Protobuf\Timestamp|null
getUpdateTime
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setUpdateTime($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class); $this->update_time = $var; return $this; }
Output only. Timestamp when this DatasetVersion was last updated. Generated from protobuf field <code>.google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param \Google\Protobuf\Timestamp $var @return $this
setUpdateTime
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getEtag() { return $this->etag; }
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. Generated from protobuf field <code>string etag = 3;</code> @return string
getEtag
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setEtag($var) { GPBUtil::checkString($var, True); $this->etag = $var; return $this; }
Used to perform consistent read-modify-write updates. If not set, a blind "overwrite" update happens. Generated from protobuf field <code>string etag = 3;</code> @param string $var @return $this
setEtag
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getBigQueryDatasetName() { return $this->big_query_dataset_name; }
Output only. Name of the associated BigQuery dataset. Generated from protobuf field <code>string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getBigQueryDatasetName
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setBigQueryDatasetName($var) { GPBUtil::checkString($var, True); $this->big_query_dataset_name = $var; return $this; }
Output only. Name of the associated BigQuery dataset. Generated from protobuf field <code>string big_query_dataset_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setBigQueryDatasetName
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getDisplayName() { return $this->display_name; }
The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters. Generated from protobuf field <code>string display_name = 7;</code> @return string
getDisplayName
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setDisplayName($var) { GPBUtil::checkString($var, True); $this->display_name = $var; return $this; }
The user-defined name of the DatasetVersion. The name can be up to 128 characters long and can consist of any UTF-8 characters. Generated from protobuf field <code>string display_name = 7;</code> @param string $var @return $this
setDisplayName
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getMetadata() { return $this->metadata; }
Required. Output only. Additional information about the DatasetVersion. Generated from protobuf field <code>.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];</code> @return \Google\Protobuf\Value|null
getMetadata
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setMetadata($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); $this->metadata = $var; return $this; }
Required. Output only. Additional information about the DatasetVersion. Generated from protobuf field <code>.google.protobuf.Value metadata = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = REQUIRED];</code> @param \Google\Protobuf\Value $var @return $this
setMetadata
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getModelReference() { return $this->model_reference; }
Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. Generated from protobuf field <code>string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getModelReference
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setModelReference($var) { GPBUtil::checkString($var, True); $this->model_reference = $var; return $this; }
Output only. Reference to the public base model last used by the dataset version. Only set for prompt dataset versions. Generated from protobuf field <code>string model_reference = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setModelReference
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getSatisfiesPzs() { return $this->satisfies_pzs; }
Output only. Reserved for future use. Generated from protobuf field <code>bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return bool
getSatisfiesPzs
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setSatisfiesPzs($var) { GPBUtil::checkBool($var); $this->satisfies_pzs = $var; return $this; }
Output only. Reserved for future use. Generated from protobuf field <code>bool satisfies_pzs = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param bool $var @return $this
setSatisfiesPzs
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getSatisfiesPzi() { return $this->satisfies_pzi; }
Output only. Reserved for future use. Generated from protobuf field <code>bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return bool
getSatisfiesPzi
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function setSatisfiesPzi($var) { GPBUtil::checkBool($var); $this->satisfies_pzi = $var; return $this; }
Output only. Reserved for future use. Generated from protobuf field <code>bool satisfies_pzi = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param bool $var @return $this
setSatisfiesPzi
php
googleapis/google-cloud-php
AiPlatform/src/V1/DatasetVersion.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/DatasetVersion.php
Apache-2.0
public function getParent() { return $this->parent; }
Required. The parent resource name. If the collect user event action is applied in [DataStore][google.cloud.discoveryengine.v1.DataStore] level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in [Location][google.cloud.location.Location] level, for example, the event with [Document][google.cloud.discoveryengine.v1.Document] across multiple [DataStore][google.cloud.discoveryengine.v1.DataStore], the format is: `projects/{project}/locations/{location}`. Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @return string
getParent
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/CollectUserEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CollectUserEventRequest.php
Apache-2.0
public function setParent($var) { GPBUtil::checkString($var, True); $this->parent = $var; return $this; }
Required. The parent resource name. If the collect user event action is applied in [DataStore][google.cloud.discoveryengine.v1.DataStore] level, the format is: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}`. If the collect user event action is applied in [Location][google.cloud.location.Location] level, for example, the event with [Document][google.cloud.discoveryengine.v1.Document] across multiple [DataStore][google.cloud.discoveryengine.v1.DataStore], the format is: `projects/{project}/locations/{location}`. Generated from protobuf field <code>string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {</code> @param string $var @return $this
setParent
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/CollectUserEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CollectUserEventRequest.php
Apache-2.0
public function getUserEvent() { return $this->user_event; }
Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters. Generated from protobuf field <code>string user_event = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getUserEvent
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/CollectUserEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CollectUserEventRequest.php
Apache-2.0
public function setUserEvent($var) { GPBUtil::checkString($var, True); $this->user_event = $var; return $this; }
Required. URL encoded UserEvent proto with a length limit of 2,000,000 characters. Generated from protobuf field <code>string user_event = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setUserEvent
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/CollectUserEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CollectUserEventRequest.php
Apache-2.0
public function getUri() { return isset($this->uri) ? $this->uri : ''; }
The URL including cgi-parameters but excluding the hash fragment with a length limit of 5,000 characters. This is often more useful than the referer URL, because many browsers only send the domain for third-party requests. Generated from protobuf field <code>optional string uri = 3;</code> @return string
getUri
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/CollectUserEventRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/CollectUserEventRequest.php
Apache-2.0