code
stringlengths
17
247k
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 getNotebook() { return $this->readOneof(8); }
The notebook executed by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;</code> @return \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Notebook|null
getNotebook
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setNotebook($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Notebook::class); $this->writeOneof(8, $var); return $this; }
The notebook executed by this action. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.CompilationResultAction.Notebook notebook = 8;</code> @param \Google\Cloud\Dataform\V1beta1\CompilationResultAction\Notebook $var @return $this
setNotebook
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setTarget($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\Target::class); $this->target = $var; return $this; }
This action's identifier. Unique within the compilation result. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target target = 1;</code> @param \Google\Cloud\Dataform\V1beta1\Target $var @return $this
setTarget
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getCanonicalTarget() { return $this->canonical_target; }
The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target canonical_target = 2;</code> @return \Google\Cloud\Dataform\V1beta1\Target|null
getCanonicalTarget
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setCanonicalTarget($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dataform\V1beta1\Target::class); $this->canonical_target = $var; return $this; }
The action's identifier if the project had been compiled without any overrides configured. Unique within the compilation result. Generated from protobuf field <code>.google.cloud.dataform.v1beta1.Target canonical_target = 2;</code> @param \Google\Cloud\Dataform\V1beta1\Target $var @return $this
setCanonicalTarget
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function getInternalMetadata() { return isset($this->internal_metadata) ? $this->internal_metadata : ''; }
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. Generated from protobuf field <code>optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @return string
getInternalMetadata
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setInternalMetadata($var) { GPBUtil::checkString($var, True); $this->internal_metadata = $var; return $this; }
Output only. All the metadata information that is used internally to serve the resource. For example: timestamps, flags, status fields, etc. The format of this field is a JSON string. Generated from protobuf field <code>optional string internal_metadata = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];</code> @param string $var @return $this
setInternalMetadata
php
googleapis/google-cloud-php
Dataform/src/V1beta1/CompilationResultAction.php
https://github.com/googleapis/google-cloud-php/blob/master/Dataform/src/V1beta1/CompilationResultAction.php
Apache-2.0
public function setOperation($var) { GPBUtil::checkEnum($var, \Google\Analytics\Admin\V1alpha\AccessNumericFilter\Operation::class); $this->operation = $var; return $this; }
The operation type for this filter. Generated from protobuf field <code>.google.analytics.admin.v1alpha.AccessNumericFilter.Operation operation = 1;</code> @param int $var @return $this
setOperation
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
Apache-2.0
public function setValue($var) { GPBUtil::checkMessage($var, \Google\Analytics\Admin\V1alpha\NumericValue::class); $this->value = $var; return $this; }
A numeric value or a date value. Generated from protobuf field <code>.google.analytics.admin.v1alpha.NumericValue value = 2;</code> @param \Google\Analytics\Admin\V1alpha\NumericValue $var @return $this
setValue
php
googleapis/google-cloud-php
AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
https://github.com/googleapis/google-cloud-php/blob/master/AnalyticsAdmin/src/V1alpha/AccessNumericFilter.php
Apache-2.0
public function setView($var) { GPBUtil::checkEnum($var, \Google\Cloud\Bigtable\Admin\V2\AuthorizedView\ResponseView::class); $this->view = $var; return $this; }
Optional. The resource_view to be applied to the returned views' fields. Default to NAME_ONLY. Generated from protobuf field <code>.google.bigtable.admin.v2.AuthorizedView.ResponseView view = 4 [(.google.api.field_behavior) = OPTIONAL];</code> @param int $var @return $this
setView
php
googleapis/google-cloud-php
Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Bigtable/src/Admin/V2/ListAuthorizedViewsRequest.php
Apache-2.0
public function getRegionSetPolicyRequestResource() { return $this->region_set_policy_request_resource; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Compute\V1\RegionSetPolicyRequest|null
getRegionSetPolicyRequestResource
php
googleapis/google-cloud-php
Compute/src/V1/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function setRegionSetPolicyRequestResource($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\RegionSetPolicyRequest::class); $this->region_set_policy_request_resource = $var; return $this; }
The body resource for this request Generated from protobuf field <code>.google.cloud.compute.v1.RegionSetPolicyRequest region_set_policy_request_resource = 276489091 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Compute\V1\RegionSetPolicyRequest $var @return $this
setRegionSetPolicyRequestResource
php
googleapis/google-cloud-php
Compute/src/V1/SetIamPolicyRegionDiskRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/SetIamPolicyRegionDiskRequest.php
Apache-2.0
public function setProject($var) { GPBUtil::checkMessage($var, \Google\Cloud\ResourceManager\V3\Project::class); $this->project = $var; return $this; }
Required. The new definition of the project. Generated from protobuf field <code>.google.cloud.resourcemanager.v3.Project project = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\ResourceManager\V3\Project $var @return $this
setProject
php
googleapis/google-cloud-php
ResourceManager/src/V3/UpdateProjectRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ResourceManager/src/V3/UpdateProjectRequest.php
Apache-2.0
public function setVersion($var) { GPBUtil::checkMessage($var, \Google\Cloud\ArtifactRegistry\V1\Version::class); $this->version = $var; return $this; }
Required. The Version that replaces the resource on the server. Generated from protobuf field <code>.google.devtools.artifactregistry.v1.Version version = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\ArtifactRegistry\V1\Version $var @return $this
setVersion
php
googleapis/google-cloud-php
ArtifactRegistry/src/V1/UpdateVersionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/ArtifactRegistry/src/V1/UpdateVersionRequest.php
Apache-2.0
public function getDocumentCounters() { return $this->document_counters; }
Counters for the documents used in the evaluation. Generated from protobuf field <code>.google.cloud.documentai.v1.Evaluation.Counters document_counters = 5;</code> @return \Google\Cloud\DocumentAI\V1\Evaluation\Counters|null
getDocumentCounters
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function setDocumentCounters($var) { GPBUtil::checkMessage($var, \Google\Cloud\DocumentAI\V1\Evaluation\Counters::class); $this->document_counters = $var; return $this; }
Counters for the documents used in the evaluation. Generated from protobuf field <code>.google.cloud.documentai.v1.Evaluation.Counters document_counters = 5;</code> @param \Google\Cloud\DocumentAI\V1\Evaluation\Counters $var @return $this
setDocumentCounters
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function getAllEntitiesMetrics() { return $this->all_entities_metrics; }
Metrics for all the entities in aggregate. Generated from protobuf field <code>.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;</code> @return \Google\Cloud\DocumentAI\V1\Evaluation\MultiConfidenceMetrics|null
getAllEntitiesMetrics
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function setAllEntitiesMetrics($var) { GPBUtil::checkMessage($var, \Google\Cloud\DocumentAI\V1\Evaluation\MultiConfidenceMetrics::class); $this->all_entities_metrics = $var; return $this; }
Metrics for all the entities in aggregate. Generated from protobuf field <code>.google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics all_entities_metrics = 3;</code> @param \Google\Cloud\DocumentAI\V1\Evaluation\MultiConfidenceMetrics $var @return $this
setAllEntitiesMetrics
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function getEntityMetrics() { return $this->entity_metrics; }
Metrics across confidence levels, for different entities. Generated from protobuf field <code>map<string, .google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;</code> @return \Google\Protobuf\Internal\MapField
getEntityMetrics
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function setEntityMetrics($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\DocumentAI\V1\Evaluation\MultiConfidenceMetrics::class); $this->entity_metrics = $arr; return $this; }
Metrics across confidence levels, for different entities. Generated from protobuf field <code>map<string, .google.cloud.documentai.v1.Evaluation.MultiConfidenceMetrics> entity_metrics = 4;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setEntityMetrics
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function getKmsKeyVersionName() { return $this->kms_key_version_name; }
The KMS key version with which data is encrypted. Generated from protobuf field <code>string kms_key_version_name = 7;</code> @return string
getKmsKeyVersionName
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function setKmsKeyVersionName($var) { GPBUtil::checkString($var, True); $this->kms_key_version_name = $var; return $this; }
The KMS key version with which data is encrypted. Generated from protobuf field <code>string kms_key_version_name = 7;</code> @param string $var @return $this
setKmsKeyVersionName
php
googleapis/google-cloud-php
DocumentAi/src/V1/Evaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/DocumentAi/src/V1/Evaluation.php
Apache-2.0
public function getMetricsSchemaUri() { return $this->metrics_schema_uri; }
Points to a YAML file stored on Google Cloud Storage describing the [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. 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). Generated from protobuf field <code>string metrics_schema_uri = 2;</code> @return string
getMetricsSchemaUri
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function setMetricsSchemaUri($var) { GPBUtil::checkString($var, True); $this->metrics_schema_uri = $var; return $this; }
Points to a YAML file stored on Google Cloud Storage describing the [metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics] of this ModelEvaluation. 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). Generated from protobuf field <code>string metrics_schema_uri = 2;</code> @param string $var @return $this
setMetricsSchemaUri
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function setMetrics($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); $this->metrics = $var; return $this; }
Evaluation metrics of the Model. The schema of the metrics is stored in [metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri] Generated from protobuf field <code>.google.protobuf.Value metrics = 3;</code> @param \Google\Protobuf\Value $var @return $this
setMetrics
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function getSliceDimensions() { return $this->slice_dimensions; }
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices. The dimensions can be used as the filter of the [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of `slice.dimension = <dimension>`. Generated from protobuf field <code>repeated string slice_dimensions = 5;</code> @return \Google\Protobuf\Internal\RepeatedField
getSliceDimensions
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function setSliceDimensions($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->slice_dimensions = $arr; return $this; }
All possible [dimensions][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.dimension] of ModelEvaluationSlices. The dimensions can be used as the filter of the [ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices] request, in the form of `slice.dimension = <dimension>`. Generated from protobuf field <code>repeated string slice_dimensions = 5;</code> @param array<string>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSliceDimensions
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function getDataItemSchemaUri() { return $this->data_item_schema_uri; }
Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.data_item_payload][] and [EvaluatedAnnotation.data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_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). This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation. Generated from protobuf field <code>string data_item_schema_uri = 6;</code> @return string
getDataItemSchemaUri
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function setDataItemSchemaUri($var) { GPBUtil::checkString($var, True); $this->data_item_schema_uri = $var; return $this; }
Points to a YAML file stored on Google Cloud Storage describing [EvaluatedDataItemView.data_item_payload][] and [EvaluatedAnnotation.data_item_payload][google.cloud.aiplatform.v1.EvaluatedAnnotation.data_item_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). This field is not populated if there are neither EvaluatedDataItemViews nor EvaluatedAnnotations under this ModelEvaluation. Generated from protobuf field <code>string data_item_schema_uri = 6;</code> @param string $var @return $this
setDataItemSchemaUri
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function getModelExplanation() { return $this->model_explanation; }
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models. Generated from protobuf field <code>.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;</code> @return \Google\Cloud\AIPlatform\V1\ModelExplanation|null
getModelExplanation
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function setModelExplanation($var) { GPBUtil::checkMessage($var, \Google\Cloud\AIPlatform\V1\ModelExplanation::class); $this->model_explanation = $var; return $this; }
Aggregated explanation metrics for the Model's prediction output over the data this ModelEvaluation uses. This field is populated only if the Model is evaluated with explanations, and only for AutoML tabular Models. Generated from protobuf field <code>.google.cloud.aiplatform.v1.ModelExplanation model_explanation = 8;</code> @param \Google\Cloud\AIPlatform\V1\ModelExplanation $var @return $this
setModelExplanation
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function getExplanationSpecs() { return $this->explanation_specs; }
Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data. Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;</code> @return \Google\Protobuf\Internal\RepeatedField
getExplanationSpecs
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function setExplanationSpecs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\AIPlatform\V1\ModelEvaluation\ModelEvaluationExplanationSpec::class); $this->explanation_specs = $arr; return $this; }
Describes the values of [ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec] that are used for explaining the predicted values on the evaluated data. Generated from protobuf field <code>repeated .google.cloud.aiplatform.v1.ModelEvaluation.ModelEvaluationExplanationSpec explanation_specs = 9;</code> @param array<\Google\Cloud\AIPlatform\V1\ModelEvaluation\ModelEvaluationExplanationSpec>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setExplanationSpecs
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function setMetadata($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Value::class); $this->metadata = $var; return $this; }
The metadata of the ModelEvaluation. For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a structured value with keys of "pipeline_job_id", "evaluation_dataset_type", "evaluation_dataset_path", "row_based_metrics_path". Generated from protobuf field <code>.google.protobuf.Value metadata = 11;</code> @param \Google\Protobuf\Value $var @return $this
setMetadata
php
googleapis/google-cloud-php
AiPlatform/src/V1/ModelEvaluation.php
https://github.com/googleapis/google-cloud-php/blob/master/AiPlatform/src/V1/ModelEvaluation.php
Apache-2.0
public function getDetectIntentResponseId() { return $this->detect_intent_response_id; }
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] that will be returned to the API caller. Generated from protobuf field <code>string detect_intent_response_id = 1;</code> @return string
getDetectIntentResponseId
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setDetectIntentResponseId($var) { GPBUtil::checkString($var, True); $this->detect_intent_response_id = $var; return $this; }
Always present. The unique identifier of the [DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse] that will be returned to the API caller. Generated from protobuf field <code>string detect_intent_response_id = 1;</code> @param string $var @return $this
setDetectIntentResponseId
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getText() { return $this->readOneof(10); }
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text. Generated from protobuf field <code>string text = 10;</code> @return string
getText
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setText($var) { GPBUtil::checkString($var, True); $this->writeOneof(10, $var); return $this; }
If [natural language text][google.cloud.dialogflow.cx.v3.TextInput] was provided as input, this field will contain a copy of the text. Generated from protobuf field <code>string text = 10;</code> @param string $var @return $this
setText
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getTriggerIntent() { return $this->readOneof(11); }
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. Generated from protobuf field <code>string trigger_intent = 11 [(.google.api.resource_reference) = {</code> @return string
getTriggerIntent
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setTriggerIntent($var) { GPBUtil::checkString($var, True); $this->writeOneof(11, $var); return $this; }
If an [intent][google.cloud.dialogflow.cx.v3.IntentInput] was provided as input, this field will contain a copy of the intent identifier. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/intents/<IntentID>`. Generated from protobuf field <code>string trigger_intent = 11 [(.google.api.resource_reference) = {</code> @param string $var @return $this
setTriggerIntent
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getTranscript() { return $this->readOneof(12); }
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio. Generated from protobuf field <code>string transcript = 12;</code> @return string
getTranscript
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setTranscript($var) { GPBUtil::checkString($var, True); $this->writeOneof(12, $var); return $this; }
If [natural language speech audio][google.cloud.dialogflow.cx.v3.AudioInput] was provided as input, this field will contain the transcript for the audio. Generated from protobuf field <code>string transcript = 12;</code> @param string $var @return $this
setTranscript
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getTriggerEvent() { return $this->readOneof(14); }
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event. Generated from protobuf field <code>string trigger_event = 14;</code> @return string
getTriggerEvent
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setTriggerEvent($var) { GPBUtil::checkString($var, True); $this->writeOneof(14, $var); return $this; }
If an [event][google.cloud.dialogflow.cx.v3.EventInput] was provided as input, this field will contain the name of the event. Generated from protobuf field <code>string trigger_event = 14;</code> @param string $var @return $this
setTriggerEvent
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getDtmfDigits() { return $this->readOneof(17); }
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits. Generated from protobuf field <code>string dtmf_digits = 17;</code> @return string
getDtmfDigits
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setDtmfDigits($var) { GPBUtil::checkString($var, True); $this->writeOneof(17, $var); return $this; }
If [DTMF][google.cloud.dialogflow.cx.v3.DtmfInput] was provided as input, this field will contain the DTMF digits. Generated from protobuf field <code>string dtmf_digits = 17;</code> @param string $var @return $this
setDtmfDigits
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getFulfillmentInfo() { return $this->fulfillment_info; }
Always present. Information about the fulfillment that triggered this webhook call. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo fulfillment_info = 6;</code> @return \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\FulfillmentInfo|null
getFulfillmentInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setFulfillmentInfo($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\FulfillmentInfo::class); $this->fulfillment_info = $var; return $this; }
Always present. Information about the fulfillment that triggered this webhook call. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.WebhookRequest.FulfillmentInfo fulfillment_info = 6;</code> @param \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\FulfillmentInfo $var @return $this
setFulfillmentInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getIntentInfo() { return $this->intent_info; }
Information about the last matched intent. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;</code> @return \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\IntentInfo|null
getIntentInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setIntentInfo($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\IntentInfo::class); $this->intent_info = $var; return $this; }
Information about the last matched intent. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.WebhookRequest.IntentInfo intent_info = 3;</code> @param \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\IntentInfo $var @return $this
setIntentInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getPageInfo() { return $this->page_info; }
Information about page status. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;</code> @return \Google\Cloud\Dialogflow\Cx\V3\PageInfo|null
getPageInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setPageInfo($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\PageInfo::class); $this->page_info = $var; return $this; }
Information about page status. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.PageInfo page_info = 4;</code> @param \Google\Cloud\Dialogflow\Cx\V3\PageInfo $var @return $this
setPageInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getSessionInfo() { return $this->session_info; }
Information about session status. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;</code> @return \Google\Cloud\Dialogflow\Cx\V3\SessionInfo|null
getSessionInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setSessionInfo($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\SessionInfo::class); $this->session_info = $var; return $this; }
Information about session status. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.SessionInfo session_info = 5;</code> @param \Google\Cloud\Dialogflow\Cx\V3\SessionInfo $var @return $this
setSessionInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setPayload($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Struct::class); $this->payload = $var; return $this; }
Custom data set in [QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload]. Generated from protobuf field <code>.google.protobuf.Struct payload = 8;</code> @param \Google\Protobuf\Struct $var @return $this
setPayload
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getSentimentAnalysisResult() { return $this->sentiment_analysis_result; }
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;</code> @return \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\SentimentAnalysisResult|null
getSentimentAnalysisResult
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setSentimentAnalysisResult($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\SentimentAnalysisResult::class); $this->sentiment_analysis_result = $var; return $this; }
The sentiment analysis result of the current user request. The field is filled when sentiment analysis is configured to be enabled for the request. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.WebhookRequest.SentimentAnalysisResult sentiment_analysis_result = 9;</code> @param \Google\Cloud\Dialogflow\Cx\V3\WebhookRequest\SentimentAnalysisResult $var @return $this
setSentimentAnalysisResult
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getLanguageInfo() { return $this->language_info; }
Information about the language of the request. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.LanguageInfo language_info = 18;</code> @return \Google\Cloud\Dialogflow\Cx\V3\LanguageInfo|null
getLanguageInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function setLanguageInfo($var) { GPBUtil::checkMessage($var, \Google\Cloud\Dialogflow\Cx\V3\LanguageInfo::class); $this->language_info = $var; return $this; }
Information about the language of the request. Generated from protobuf field <code>.google.cloud.dialogflow.cx.v3.LanguageInfo language_info = 18;</code> @param \Google\Cloud\Dialogflow\Cx\V3\LanguageInfo $var @return $this
setLanguageInfo
php
googleapis/google-cloud-php
DialogflowCx/src/V3/WebhookRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/DialogflowCx/src/V3/WebhookRequest.php
Apache-2.0
public function getUsedWidgets() { return $this->used_widgets; }
The list of widgets used in an add-on. Generated from protobuf field <code>repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getUsedWidgets
php
googleapis/google-cloud-php
GSuiteAddOns/external/protos/AddOnWidgetSet.php
https://github.com/googleapis/google-cloud-php/blob/master/GSuiteAddOns/external/protos/AddOnWidgetSet.php
Apache-2.0
public function setUsedWidgets($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Apps\Script\Type\AddOnWidgetSet\WidgetType::class); $this->used_widgets = $arr; return $this; }
The list of widgets used in an add-on. Generated from protobuf field <code>repeated .google.apps.script.type.AddOnWidgetSet.WidgetType used_widgets = 1;</code> @param array<int>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setUsedWidgets
php
googleapis/google-cloud-php
GSuiteAddOns/external/protos/AddOnWidgetSet.php
https://github.com/googleapis/google-cloud-php/blob/master/GSuiteAddOns/external/protos/AddOnWidgetSet.php
Apache-2.0
public function setResource($var) { GPBUtil::checkMessage($var, \Google\Cloud\Compute\V1\Router::class); $this->resource = $var; return $this; }
Preview of given router. Generated from protobuf field <code>optional .google.cloud.compute.v1.Router resource = 195806222;</code> @param \Google\Cloud\Compute\V1\Router $var @return $this
setResource
php
googleapis/google-cloud-php
Compute/src/V1/RoutersPreviewResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/RoutersPreviewResponse.php
Apache-2.0
public function getResourceValueConfigs() { return $this->resource_value_configs; }
The resource value configs created Generated from protobuf field <code>repeated .google.cloud.securitycenter.v1.ResourceValueConfig resource_value_configs = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getResourceValueConfigs
php
googleapis/google-cloud-php
SecurityCenter/src/V1/BatchCreateResourceValueConfigsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/BatchCreateResourceValueConfigsResponse.php
Apache-2.0
public function setResourceValueConfigs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\SecurityCenter\V1\ResourceValueConfig::class); $this->resource_value_configs = $arr; return $this; }
The resource value configs created Generated from protobuf field <code>repeated .google.cloud.securitycenter.v1.ResourceValueConfig resource_value_configs = 1;</code> @param array<\Google\Cloud\SecurityCenter\V1\ResourceValueConfig>|\Google\Protobuf\Internal\RepeatedField $var @return $this
setResourceValueConfigs
php
googleapis/google-cloud-php
SecurityCenter/src/V1/BatchCreateResourceValueConfigsResponse.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityCenter/src/V1/BatchCreateResourceValueConfigsResponse.php
Apache-2.0
public function setMode($var) { GPBUtil::checkEnum($var, \Google\Cloud\Retail\V2\SearchRequest\DynamicFacetSpec\Mode::class); $this->mode = $var; return $this; }
Mode of the DynamicFacet feature. Defaults to [Mode.DISABLED][google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode.DISABLED] if it's unset. Generated from protobuf field <code>.google.cloud.retail.v2.SearchRequest.DynamicFacetSpec.Mode mode = 1;</code> @param int $var @return $this
setMode
php
googleapis/google-cloud-php
Retail/src/V2/SearchRequest/DynamicFacetSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/Retail/src/V2/SearchRequest/DynamicFacetSpec.php
Apache-2.0
public function getPercentComplete() { return $this->percent_complete; }
An estimate of how close this report is to being completed. Will always be 100 for failed and completed reports. Generated from protobuf field <code>int32 percent_complete = 2;</code> @return int
getPercentComplete
php
googleapis/google-cloud-php
AdsAdManager/src/V1/RunReportMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/RunReportMetadata.php
Apache-2.0
public function setPercentComplete($var) { GPBUtil::checkInt32($var); $this->percent_complete = $var; return $this; }
An estimate of how close this report is to being completed. Will always be 100 for failed and completed reports. Generated from protobuf field <code>int32 percent_complete = 2;</code> @param int $var @return $this
setPercentComplete
php
googleapis/google-cloud-php
AdsAdManager/src/V1/RunReportMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/RunReportMetadata.php
Apache-2.0
public function setReport($var) { GPBUtil::checkString($var, True); $this->report = $var; return $this; }
The result's parent report. Generated from protobuf field <code>string report = 4 [(.google.api.resource_reference) = {</code> @param string $var @return $this
setReport
php
googleapis/google-cloud-php
AdsAdManager/src/V1/RunReportMetadata.php
https://github.com/googleapis/google-cloud-php/blob/master/AdsAdManager/src/V1/RunReportMetadata.php
Apache-2.0
public function getCertificateAuthority() { return $this->certificate_authority; }
Required. [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] with updated values. Generated from protobuf field <code>.google.cloud.security.privateca.v1.CertificateAuthority certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\Security\PrivateCA\V1\CertificateAuthority|null
getCertificateAuthority
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/UpdateCertificateAuthorityRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/UpdateCertificateAuthorityRequest.php
Apache-2.0
public function setCertificateAuthority($var) { GPBUtil::checkMessage($var, \Google\Cloud\Security\PrivateCA\V1\CertificateAuthority::class); $this->certificate_authority = $var; return $this; }
Required. [CertificateAuthority][google.cloud.security.privateca.v1.CertificateAuthority] with updated values. Generated from protobuf field <code>.google.cloud.security.privateca.v1.CertificateAuthority certificate_authority = 1 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\Security\PrivateCA\V1\CertificateAuthority $var @return $this
setCertificateAuthority
php
googleapis/google-cloud-php
SecurityPrivateCa/src/V1/UpdateCertificateAuthorityRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/SecurityPrivateCa/src/V1/UpdateCertificateAuthorityRequest.php
Apache-2.0
public function getAudioUri() { return $this->audio_uri; }
Cloud Storage URI that points to a file that contains the conversation audio. Generated from protobuf field <code>string audio_uri = 3;</code> @return string
getAudioUri
php
googleapis/google-cloud-php
ContactCenterInsights/src/V1/DialogflowSource.php
https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/DialogflowSource.php
Apache-2.0
public function setAudioUri($var) { GPBUtil::checkString($var, True); $this->audio_uri = $var; return $this; }
Cloud Storage URI that points to a file that contains the conversation audio. Generated from protobuf field <code>string audio_uri = 3;</code> @param string $var @return $this
setAudioUri
php
googleapis/google-cloud-php
ContactCenterInsights/src/V1/DialogflowSource.php
https://github.com/googleapis/google-cloud-php/blob/master/ContactCenterInsights/src/V1/DialogflowSource.php
Apache-2.0
public function getAppConnection() { return $this->app_connection; }
Required. AppConnection message with updated fields. Only supported fields specified in update_mask are updated. Generated from protobuf field <code>.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return \Google\Cloud\BeyondCorp\AppConnections\V1\AppConnection|null
getAppConnection
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function setAppConnection($var) { GPBUtil::checkMessage($var, \Google\Cloud\BeyondCorp\AppConnections\V1\AppConnection::class); $this->app_connection = $var; return $this; }
Required. AppConnection message with updated fields. Only supported fields specified in update_mask are updated. Generated from protobuf field <code>.google.cloud.beyondcorp.appconnections.v1.AppConnection app_connection = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\BeyondCorp\AppConnections\V1\AppConnection $var @return $this
setAppConnection
php
googleapis/google-cloud-php
BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/BeyondCorpAppConnections/src/V1/UpdateAppConnectionRequest.php
Apache-2.0
public function getNumFiniteBuckets() { return $this->num_finite_buckets; }
The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details. Generated from protobuf field <code>int32 num_finite_buckets = 1;</code> @return int
getNumFiniteBuckets
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function setNumFiniteBuckets($var) { GPBUtil::checkInt32($var); $this->num_finite_buckets = $var; return $this; }
The number of finite buckets. With the underflow and overflow buckets, the total number of buckets is `num_finite_buckets` + 2. See comments on `bucket_options` for details. Generated from protobuf field <code>int32 num_finite_buckets = 1;</code> @param int $var @return $this
setNumFiniteBuckets
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function setWidth($var) { GPBUtil::checkDouble($var); $this->width = $var; return $this; }
The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Must be strictly positive. Generated from protobuf field <code>double width = 2;</code> @param float $var @return $this
setWidth
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function setOffset($var) { GPBUtil::checkDouble($var); $this->offset = $var; return $this; }
The i'th linear bucket covers the interval [offset + (i-1) * width, offset + i * width) where i ranges from 1 to num_finite_buckets, inclusive. Generated from protobuf field <code>double offset = 3;</code> @param float $var @return $this
setOffset
php
googleapis/google-cloud-php
ServiceControl/src/V1/Distribution/LinearBuckets.php
https://github.com/googleapis/google-cloud-php/blob/master/ServiceControl/src/V1/Distribution/LinearBuckets.php
Apache-2.0
public function setContext($var) { GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\SourceContext::class); $this->context = $var; return $this; }
Any source context. Generated from protobuf field <code>.google.devtools.source.v1.SourceContext context = 1;</code> @param \Google\Cloud\DevTools\Source\V1\SourceContext $var @return $this
setContext
php
googleapis/google-cloud-php
CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
https://github.com/googleapis/google-cloud-php/blob/master/CloudCommonProtos/src/DevTools/Source/V1/ExtendedSourceContext.php
Apache-2.0
public function getDatacenterConnectorId() { return $this->datacenter_connector_id; }
Required. The datacenterConnector identifier. Generated from protobuf field <code>string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> @return string
getDatacenterConnectorId
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function setDatacenterConnectorId($var) { GPBUtil::checkString($var, True); $this->datacenter_connector_id = $var; return $this; }
Required. The datacenterConnector identifier. Generated from protobuf field <code>string datacenter_connector_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> @param string $var @return $this
setDatacenterConnectorId
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function setDatacenterConnector($var) { GPBUtil::checkMessage($var, \Google\Cloud\VMMigration\V1\DatacenterConnector::class); $this->datacenter_connector = $var; return $this; }
Required. The create request body. Generated from protobuf field <code>.google.cloud.vmmigration.v1.DatacenterConnector datacenter_connector = 3 [(.google.api.field_behavior) = REQUIRED];</code> @param \Google\Cloud\VMMigration\V1\DatacenterConnector $var @return $this
setDatacenterConnector
php
googleapis/google-cloud-php
VmMigration/src/V1/CreateDatacenterConnectorRequest.php
https://github.com/googleapis/google-cloud-php/blob/master/VmMigration/src/V1/CreateDatacenterConnectorRequest.php
Apache-2.0
public function getQueryClassificationSpec() { return $this->query_classification_spec; }
Query classification specification. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;</code> @return \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryClassificationSpec|null
getQueryClassificationSpec
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function setQueryClassificationSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryClassificationSpec::class); $this->query_classification_spec = $var; return $this; }
Query classification specification. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryClassificationSpec query_classification_spec = 1;</code> @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryClassificationSpec $var @return $this
setQueryClassificationSpec
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function getQueryRephraserSpec() { return $this->query_rephraser_spec; }
Query rephraser specification. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;</code> @return \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryRephraserSpec|null
getQueryRephraserSpec
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function setQueryRephraserSpec($var) { GPBUtil::checkMessage($var, \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryRephraserSpec::class); $this->query_rephraser_spec = $var; return $this; }
Query rephraser specification. Generated from protobuf field <code>.google.cloud.discoveryengine.v1.AnswerQueryRequest.QueryUnderstandingSpec.QueryRephraserSpec query_rephraser_spec = 2;</code> @param \Google\Cloud\DiscoveryEngine\V1\AnswerQueryRequest\QueryUnderstandingSpec\QueryRephraserSpec $var @return $this
setQueryRephraserSpec
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function getDisableSpellCorrection() { return $this->disable_spell_correction; }
Optional. Whether to disable spell correction. The default value is `false`. Generated from protobuf field <code>bool disable_spell_correction = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @return bool
getDisableSpellCorrection
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function setDisableSpellCorrection($var) { GPBUtil::checkBool($var); $this->disable_spell_correction = $var; return $this; }
Optional. Whether to disable spell correction. The default value is `false`. Generated from protobuf field <code>bool disable_spell_correction = 3 [(.google.api.field_behavior) = OPTIONAL];</code> @param bool $var @return $this
setDisableSpellCorrection
php
googleapis/google-cloud-php
DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
https://github.com/googleapis/google-cloud-php/blob/master/DiscoveryEngine/src/V1/AnswerQueryRequest/QueryUnderstandingSpec.php
Apache-2.0
public function getPerimeterType() { return $this->perimeter_type; }
Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType perimeter_type = 6;</code> @return int
getPerimeterType
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setPerimeterType($var) { GPBUtil::checkEnum($var, \Google\Identity\AccessContextManager\V1\ServicePerimeter\PerimeterType::class); $this->perimeter_type = $var; return $this; }
Perimeter type indicator. A single project is allowed to be a member of single regular perimeter, but multiple service perimeter bridges. A project cannot be a included in a perimeter bridge without being included in regular perimeter. For perimeter bridges, the restricted service list as well as access level lists must be empty. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeter.PerimeterType perimeter_type = 6;</code> @param int $var @return $this
setPerimeterType
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setStatus($var) { GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig::class); $this->status = $var; return $this; }
Current ServicePerimeter configuration. Specifies sets of resources, restricted services and access levels that determine perimeter content and boundaries. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig status = 7;</code> @param \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig $var @return $this
setStatus
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setSpec($var) { GPBUtil::checkMessage($var, \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig::class); $this->spec = $var; return $this; }
Proposed (or dry run) ServicePerimeter configuration. This configuration allows to specify and test ServicePerimeter configuration without enforcing actual access restrictions. Only allowed to be set when the "use_explicit_dry_run_spec" flag is set. Generated from protobuf field <code>.google.identity.accesscontextmanager.v1.ServicePerimeterConfig spec = 8;</code> @param \Google\Identity\AccessContextManager\V1\ServicePerimeterConfig $var @return $this
setSpec
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function getUseExplicitDryRunSpec() { return $this->use_explicit_dry_run_spec; }
Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. Generated from protobuf field <code>bool use_explicit_dry_run_spec = 9;</code> @return bool
getUseExplicitDryRunSpec
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setUseExplicitDryRunSpec($var) { GPBUtil::checkBool($var); $this->use_explicit_dry_run_spec = $var; return $this; }
Use explicit dry run spec flag. Ordinarily, a dry-run spec implicitly exists for all Service Perimeters, and that spec is identical to the status for those Service Perimeters. When this flag is set, it inhibits the generation of the implicit spec, thereby allowing the user to explicitly provide a configuration ("spec") to use in a dry-run version of the Service Perimeter. This allows the user to test changes to the enforced config ("status") without actually enforcing them. This testing is done through analyzing the differences between currently enforced and suggested restrictions. use_explicit_dry_run_spec must bet set to True if any of the fields in the spec are set to non-default values. Generated from protobuf field <code>bool use_explicit_dry_run_spec = 9;</code> @param bool $var @return $this
setUseExplicitDryRunSpec
php
googleapis/google-cloud-php
AccessContextManager/src/V1/ServicePerimeter.php
https://github.com/googleapis/google-cloud-php/blob/master/AccessContextManager/src/V1/ServicePerimeter.php
Apache-2.0
public function setType($var) { GPBUtil::checkEnum($var, \Google\Cloud\Container\V1\NodePool\PlacementPolicy\Type::class); $this->type = $var; return $this; }
The type of placement. Generated from protobuf field <code>.google.container.v1.NodePool.PlacementPolicy.Type type = 1;</code> @param int $var @return $this
setType
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function getTpuTopology() { return $this->tpu_topology; }
Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies Generated from protobuf field <code>string tpu_topology = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @return string
getTpuTopology
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function setTpuTopology($var) { GPBUtil::checkString($var, True); $this->tpu_topology = $var; return $this; }
Optional. TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies Generated from protobuf field <code>string tpu_topology = 2 [(.google.api.field_behavior) = OPTIONAL];</code> @param string $var @return $this
setTpuTopology
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function getPolicyName() { return $this->policy_name; }
If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned. Generated from protobuf field <code>string policy_name = 3;</code> @return string
getPolicyName
php
googleapis/google-cloud-php
Container/src/V1/NodePool/PlacementPolicy.php
https://github.com/googleapis/google-cloud-php/blob/master/Container/src/V1/NodePool/PlacementPolicy.php
Apache-2.0
public function getPermissionType() { return isset($this->permission_type) ? $this->permission_type : ''; }
This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values. Generated from protobuf field <code>optional string permission_type = 525978538;</code> @return string
getPermissionType
php
googleapis/google-cloud-php
Compute/src/V1/AuthorizationLoggingOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AuthorizationLoggingOptions.php
Apache-2.0
public function setPermissionType($var) { GPBUtil::checkString($var, True); $this->permission_type = $var; return $this; }
This is deprecated and has no effect. Do not use. Check the PermissionType enum for the list of possible values. Generated from protobuf field <code>optional string permission_type = 525978538;</code> @param string $var @return $this
setPermissionType
php
googleapis/google-cloud-php
Compute/src/V1/AuthorizationLoggingOptions.php
https://github.com/googleapis/google-cloud-php/blob/master/Compute/src/V1/AuthorizationLoggingOptions.php
Apache-2.0