diff --git a/.kokoro/docs/publish.sh b/.kokoro/docs/publish.sh index 3e249b569bb..ee06c50d3c9 100755 --- a/.kokoro/docs/publish.sh +++ b/.kokoro/docs/publish.sh @@ -60,6 +60,16 @@ $PROJECT_DIR/dev/google-cloud docfx \ $STAGING_FLAG \ $VERBOSITY_FLAG +# Add protobuf +PROTOBUF_DIR=$PROJECT_DIR/dev/vendor/google/protobuf +PROTOBUF_VERSION=$(composer info google/protobuf -f json | jq .versions[0]) +$PROJECT_DIR/dev/google-cloud docfx \ + --path $PROTOBUF_DIR \ + --out protobuf-out \ + --metadata-version $PROTOBUF_VERSION \ + $STAGING_FLAG \ + $VERBOSITY_FLAG + # Add product-neutral guides $PROJECT_DIR/dev/google-cloud docfx \ --generate-product-neutral-guides \ diff --git a/composer.json b/composer.json index abab0e28f9a..3bf717e12e5 100644 --- a/composer.json +++ b/composer.json @@ -856,5 +856,6 @@ }, "bin": [ "Core/bin/google-cloud-batch" - ] + ], + "minimum-stability": "RC" } diff --git a/dev/src/Component.php b/dev/src/Component.php index d5eaac7b810..b5577fa12b5 100644 --- a/dev/src/Component.php +++ b/dev/src/Component.php @@ -28,6 +28,7 @@ class Component { const VERSION_REGEX = '/^V([0-9])?(p[0-9])?(beta|alpha)?[0-9]?$/'; + private const PROTOBUF = 'google/protobuf'; public const ROOT_DIR = __DIR__ . '/../../'; private string $path; private string $releaseLevel; @@ -188,7 +189,10 @@ private function validateComponentFiles(): void $this->description = $composerJson['description']; $this->composerVersion = $composerJson['version'] ?? null; - if (!$repoName = $composerJson['extra']['component']['target'] ?? null) { + if ($this->packageName === Component::PROTOBUF) { + // special handling for protobuf "virtual" package + $repoName = 'protocolbuffers/protobuf'; + } elseif (!$repoName = $composerJson['extra']['component']['target'] ?? null) { if (!str_starts_with($composerJson['homepage'], 'https://github.com/')) { throw new RuntimeException( 'composer does not contain extra.component.target, and homepage is not a github URL' @@ -204,6 +208,13 @@ private function validateComponentFiles(): void $repoMetadataJson = $repoMetadataFullJson[$this->name]; } elseif (file_exists($repoMetadataPath = $this->path . '/.repo-metadata.json')) { $repoMetadataJson = json_decode(file_get_contents($repoMetadataPath), true); + } elseif ($this->packageName === Component::PROTOBUF) { + // special handling for protobuf "virtual" package + $repoMetadataJson = [ + 'release_level' => 'stable', + 'client_documentation' => 'https://cloud.google.com/php/docs/reference/auth/latest', + 'library_type' => 'CORE', + ]; } else { throw new RuntimeException(sprintf( 'repo metadata not found for component "%s" and no .repo-metadata.json file found in %s', @@ -218,16 +229,22 @@ private function validateComponentFiles(): void $this->name )); } - if (empty($repoMetadataJson['release_level'])) { + if (empty($repoMetadataJson['client_documentation'])) { throw new RuntimeException(sprintf( 'repo metadata does not contain "client_documentation" for component "%s"', $this->name )); } + if (empty($repoMetadataJson['library_type'])) { + throw new RuntimeException(sprintf( + 'repo metadata does not contain "library_type" for component "%s"', + $this->name + )); + } $this->releaseLevel = $repoMetadataJson['release_level']; $this->clientDocumentation = $repoMetadataJson['client_documentation']; - $this->productDocumentation = $repoMetadataJson['product_documentation'] ?? ''; $this->libraryType = $repoMetadataJson['library_type']; + $this->productDocumentation = $repoMetadataJson['product_documentation'] ?? ''; $namespaces = []; foreach ($composerJson['autoload']['psr-4'] as $namespace => $dir) { @@ -261,6 +278,10 @@ private function validateComponentFiles(): void $this->componentDependencies[] = new Component('CommonProtos'); } } + // add protobuf if it's required + if (isset($composerJson['require']['google/protobuf'])) { + $this->componentDependencies[] = new Component('protobuf', self::ROOT_DIR . '/dev/vendor/google/protobuf'); + } } /** @@ -268,6 +289,9 @@ private function validateComponentFiles(): void */ public function getPackageVersion(): string { + if (!file_exists(sprintf('%s/VERSION', $this->path))) { + return ''; + } return trim(file_get_contents(sprintf('%s/VERSION', $this->path))); } diff --git a/dev/src/DocFx/Node/XrefTrait.php b/dev/src/DocFx/Node/XrefTrait.php index 7bfe0d90570..c7abb65894f 100644 --- a/dev/src/DocFx/Node/XrefTrait.php +++ b/dev/src/DocFx/Node/XrefTrait.php @@ -187,9 +187,6 @@ private function replaceUidWithLink(string $uid, ?string $name = null): string // Check for external package namespaces switch (true) { - case str_starts_with($uid, '\Google\Protobuf\\'): - $extLinkRoot = 'https://protobuf.dev/reference/php/api-docs/'; - break; case 0 === strpos($uid, '\GuzzleHttp\Promise\PromiseInterface'): $extLinkRoot = 'https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-GuzzleHttp.Promise.Promise.html'; break; diff --git a/dev/tests/fixtures/docfx/Vision/V1.AnnotateFileRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.AnnotateFileRequest.yml index c983323f02e..4a71f4327f2 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.AnnotateFileRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.AnnotateFileRequest.yml @@ -117,7 +117,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateFileRequest::setFeatures()' name: setFeatures @@ -206,7 +206,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateFileRequest::setPages()' name: setPages diff --git a/dev/tests/fixtures/docfx/Vision/V1.AnnotateFileResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.AnnotateFileResponse.yml index 46592d1cc11..4a1cf6d7c52 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.AnnotateFileResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.AnnotateFileResponse.yml @@ -120,7 +120,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateFileResponse::setResponses()' name: setResponses diff --git a/dev/tests/fixtures/docfx/Vision/V1.AnnotateImageRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.AnnotateImageRequest.yml index 4820df7b9c4..3a5e8ce45aa 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.AnnotateImageRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.AnnotateImageRequest.yml @@ -112,7 +112,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateImageRequest::setFeatures()' name: setFeatures diff --git a/dev/tests/fixtures/docfx/Vision/V1.AnnotateImageResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.AnnotateImageResponse.yml index dc77b3515cc..f6d4c215a86 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.AnnotateImageResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.AnnotateImageResponse.yml @@ -142,7 +142,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setFaceAnnotations()' name: setFaceAnnotations @@ -173,7 +173,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setLandmarkAnnotations()' name: setLandmarkAnnotations @@ -204,7 +204,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setLogoAnnotations()' name: setLogoAnnotations @@ -235,7 +235,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setLabelAnnotations()' name: setLabelAnnotations @@ -269,7 +269,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setLocalizedObjectAnnotations()' name: setLocalizedObjectAnnotations @@ -303,7 +303,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setTextAnnotations()' name: setTextAnnotations diff --git a/dev/tests/fixtures/docfx/Vision/V1.AsyncAnnotateFileRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.AsyncAnnotateFileRequest.yml index 3a919f11191..44decc3fc56 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.AsyncAnnotateFileRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.AsyncAnnotateFileRequest.yml @@ -119,7 +119,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AsyncAnnotateFileRequest::setFeatures()' name: setFeatures diff --git a/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateFilesRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateFilesRequest.yml index 146e0f5c085..f54818946dc 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateFilesRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateFilesRequest.yml @@ -48,7 +48,7 @@ items: description: 'Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.' - id: '↳ labels' - var_type: 'array|Google\Protobuf\Internal\MapField' + var_type: 'array|Google\Protobuf\Internal\MapField' description: 'Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.' - uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::getRequests()' @@ -62,7 +62,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::setRequests()' name: setRequests @@ -148,7 +148,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\MapField' + var_type: 'Google\Protobuf\Internal\MapField' - uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::setLabels()' name: setLabels @@ -168,7 +168,7 @@ items: parameters: - id: var - var_type: 'array|Google\Protobuf\Internal\MapField' + var_type: 'array|Google\Protobuf\Internal\MapField' description: '' returns: - diff --git a/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateFilesResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateFilesResponse.yml index cc5afba5841..953372b9529 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateFilesResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateFilesResponse.yml @@ -50,7 +50,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesResponse::setResponses()' name: setResponses diff --git a/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateImagesRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateImagesRequest.yml index 645cea2d581..d737cfc90c5 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateImagesRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.AsyncBatchAnnotateImagesRequest.yml @@ -55,7 +55,7 @@ items: description: 'Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.' - id: '↳ labels' - var_type: 'array|Google\Protobuf\Internal\MapField' + var_type: 'array|Google\Protobuf\Internal\MapField' description: 'Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.' - uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::getRequests()' @@ -69,7 +69,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::setRequests()' name: setRequests @@ -202,7 +202,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\MapField' + var_type: 'Google\Protobuf\Internal\MapField' - uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::setLabels()' name: setLabels @@ -222,7 +222,7 @@ items: parameters: - id: var - var_type: 'array|Google\Protobuf\Internal\MapField' + var_type: 'array|Google\Protobuf\Internal\MapField' description: '' returns: - diff --git a/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesRequest.yml index e0655ae338b..1bdecd58975 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesRequest.yml @@ -47,7 +47,7 @@ items: description: 'Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.' - id: '↳ labels' - var_type: 'array|Google\Protobuf\Internal\MapField' + var_type: 'array|Google\Protobuf\Internal\MapField' description: 'Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.' - uid: '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::getRequests()' @@ -63,7 +63,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::setRequests()' name: setRequests @@ -151,7 +151,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\MapField' + var_type: 'Google\Protobuf\Internal\MapField' - uid: '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::setLabels()' name: setLabels @@ -171,7 +171,7 @@ items: parameters: - id: var - var_type: 'array|Google\Protobuf\Internal\MapField' + var_type: 'array|Google\Protobuf\Internal\MapField' description: '' returns: - diff --git a/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesResponse.yml index 381781fac91..9060e24ece8 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesResponse.yml @@ -50,7 +50,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\BatchAnnotateFilesResponse::setResponses()' name: setResponses diff --git a/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesRequest.yml index 87608dc6c08..41c6f69d068 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesRequest.yml @@ -47,7 +47,7 @@ items: description: 'Optional. Target project and location to make a call. Format: `projects/{project-id}/locations/{location-id}`. If no parent is specified, a region will be chosen automatically. Supported location-ids: `us`: USA country only, `asia`: East asia areas, like Japan, Taiwan, `eu`: The European Union. Example: `projects/project-A/locations/eu`.' - id: '↳ labels' - var_type: 'array|Google\Protobuf\Internal\MapField' + var_type: 'array|Google\Protobuf\Internal\MapField' description: 'Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.' - uid: '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::getRequests()' @@ -61,7 +61,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::setRequests()' name: setRequests @@ -147,7 +147,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\MapField' + var_type: 'Google\Protobuf\Internal\MapField' - uid: '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::setLabels()' name: setLabels @@ -167,7 +167,7 @@ items: parameters: - id: var - var_type: 'array|Google\Protobuf\Internal\MapField' + var_type: 'array|Google\Protobuf\Internal\MapField' description: '' returns: - diff --git a/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesResponse.yml index 9a49de82923..b2e61dc5fde 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesResponse.yml @@ -48,7 +48,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\BatchAnnotateImagesResponse::setResponses()' name: setResponses diff --git a/dev/tests/fixtures/docfx/Vision/V1.BatchOperationMetadata.yml b/dev/tests/fixtures/docfx/Vision/V1.BatchOperationMetadata.yml index e2dfb5abfdb..060ce7e7204 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.BatchOperationMetadata.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.BatchOperationMetadata.yml @@ -49,11 +49,11 @@ items: description: 'The current state of the batch operation.' - id: '↳ submit_time' - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: 'The time when the batch request was submitted to the server.' - id: '↳ end_time' - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: 'The time when the batch request is finished and google.longrunning.Operation.done is set to true.' - uid: '\Google\Cloud\Vision\V1\BatchOperationMetadata::getState()' @@ -99,7 +99,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Timestamp|null' + var_type: 'Google\Protobuf\Timestamp|null' - uid: '\Google\Cloud\Vision\V1\BatchOperationMetadata::hasSubmitTime()' name: hasSubmitTime @@ -129,7 +129,7 @@ items: parameters: - id: var - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: '' returns: - @@ -149,7 +149,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Timestamp|null' + var_type: 'Google\Protobuf\Timestamp|null' - uid: '\Google\Cloud\Vision\V1\BatchOperationMetadata::hasEndTime()' name: hasEndTime @@ -182,7 +182,7 @@ items: parameters: - id: var - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: '' returns: - diff --git a/dev/tests/fixtures/docfx/Vision/V1.Block.yml b/dev/tests/fixtures/docfx/Vision/V1.Block.yml index e02bdbd3e18..efe439bacaf 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.Block.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.Block.yml @@ -202,7 +202,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\Block::setParagraphs()' name: setParagraphs diff --git a/dev/tests/fixtures/docfx/Vision/V1.BoundingPoly.yml b/dev/tests/fixtures/docfx/Vision/V1.BoundingPoly.yml index 49582340bed..84a2887eaa7 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.BoundingPoly.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.BoundingPoly.yml @@ -54,7 +54,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\BoundingPoly::setVertices()' name: setVertices @@ -85,7 +85,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\BoundingPoly::setNormalizedVertices()' name: setNormalizedVertices diff --git a/dev/tests/fixtures/docfx/Vision/V1.CropHintsAnnotation.yml b/dev/tests/fixtures/docfx/Vision/V1.CropHintsAnnotation.yml index 2183556da15..efe88236700 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.CropHintsAnnotation.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.CropHintsAnnotation.yml @@ -48,7 +48,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\CropHintsAnnotation::setCropHints()' name: setCropHints diff --git a/dev/tests/fixtures/docfx/Vision/V1.CropHintsParams.yml b/dev/tests/fixtures/docfx/Vision/V1.CropHintsParams.yml index afe8648ef9b..43f7aa8c7dd 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.CropHintsParams.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.CropHintsParams.yml @@ -54,7 +54,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\CropHintsParams::setAspectRatios()' name: setAspectRatios diff --git a/dev/tests/fixtures/docfx/Vision/V1.DominantColorsAnnotation.yml b/dev/tests/fixtures/docfx/Vision/V1.DominantColorsAnnotation.yml index 0360a848f64..97adbd648e2 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.DominantColorsAnnotation.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.DominantColorsAnnotation.yml @@ -48,7 +48,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\DominantColorsAnnotation::setColors()' name: setColors diff --git a/dev/tests/fixtures/docfx/Vision/V1.EntityAnnotation.yml b/dev/tests/fixtures/docfx/Vision/V1.EntityAnnotation.yml index 8f8625d8e92..24fff962336 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.EntityAnnotation.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.EntityAnnotation.yml @@ -373,7 +373,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\EntityAnnotation::setLocations()' name: setLocations @@ -412,7 +412,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\EntityAnnotation::setProperties()' name: setProperties diff --git a/dev/tests/fixtures/docfx/Vision/V1.FaceAnnotation.yml b/dev/tests/fixtures/docfx/Vision/V1.FaceAnnotation.yml index a20a9af9013..c56b3afcb36 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.FaceAnnotation.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.FaceAnnotation.yml @@ -258,7 +258,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\FaceAnnotation::setLandmarks()' name: setLandmarks diff --git a/dev/tests/fixtures/docfx/Vision/V1.ImageContext.yml b/dev/tests/fixtures/docfx/Vision/V1.ImageContext.yml index ad80adb1f31..3bce27a096b 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ImageContext.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ImageContext.yml @@ -143,7 +143,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ImageContext::setLanguageHints()' name: setLanguageHints diff --git a/dev/tests/fixtures/docfx/Vision/V1.ImportProductSetsResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.ImportProductSetsResponse.yml index 7dcff1027d6..bf06ef759f2 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ImportProductSetsResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ImportProductSetsResponse.yml @@ -60,7 +60,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ImportProductSetsResponse::setReferenceImages()' name: setReferenceImages @@ -97,7 +97,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ImportProductSetsResponse::setStatuses()' name: setStatuses diff --git a/dev/tests/fixtures/docfx/Vision/V1.ListProductSetsResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.ListProductSetsResponse.yml index 2a4f806280d..1da25ccab37 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ListProductSetsResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ListProductSetsResponse.yml @@ -54,7 +54,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ListProductSetsResponse::setProductSets()' name: setProductSets diff --git a/dev/tests/fixtures/docfx/Vision/V1.ListProductsInProductSetResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.ListProductsInProductSetResponse.yml index 2dfecf4dea3..8dd8d85efe5 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ListProductsInProductSetResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ListProductsInProductSetResponse.yml @@ -54,7 +54,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ListProductsInProductSetResponse::setProducts()' name: setProducts diff --git a/dev/tests/fixtures/docfx/Vision/V1.ListProductsResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.ListProductsResponse.yml index cc44a73c1a5..6913bfd5455 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ListProductsResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ListProductsResponse.yml @@ -54,7 +54,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ListProductsResponse::setProducts()' name: setProducts diff --git a/dev/tests/fixtures/docfx/Vision/V1.ListReferenceImagesResponse.yml b/dev/tests/fixtures/docfx/Vision/V1.ListReferenceImagesResponse.yml index 167f78db9ed..33ae752ffe5 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ListReferenceImagesResponse.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ListReferenceImagesResponse.yml @@ -60,7 +60,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ListReferenceImagesResponse::setReferenceImages()' name: setReferenceImages diff --git a/dev/tests/fixtures/docfx/Vision/V1.OperationMetadata.yml b/dev/tests/fixtures/docfx/Vision/V1.OperationMetadata.yml index 197f7e3ff50..1f04b7834f8 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.OperationMetadata.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.OperationMetadata.yml @@ -46,11 +46,11 @@ items: description: 'Current state of the batch operation.' - id: '↳ create_time' - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: 'The time when the batch request was received.' - id: '↳ update_time' - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: 'The time when the operation result was last updated.' - uid: '\Google\Cloud\Vision\V1\OperationMetadata::getState()' @@ -96,7 +96,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Timestamp|null' + var_type: 'Google\Protobuf\Timestamp|null' - uid: '\Google\Cloud\Vision\V1\OperationMetadata::hasCreateTime()' name: hasCreateTime @@ -126,7 +126,7 @@ items: parameters: - id: var - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: '' returns: - @@ -143,7 +143,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Timestamp|null' + var_type: 'Google\Protobuf\Timestamp|null' - uid: '\Google\Cloud\Vision\V1\OperationMetadata::hasUpdateTime()' name: hasUpdateTime @@ -173,7 +173,7 @@ items: parameters: - id: var - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: '' returns: - diff --git a/dev/tests/fixtures/docfx/Vision/V1.Page.yml b/dev/tests/fixtures/docfx/Vision/V1.Page.yml index 203f55d13ca..ac51281de61 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.Page.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.Page.yml @@ -191,7 +191,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\Page::setBlocks()' name: setBlocks diff --git a/dev/tests/fixtures/docfx/Vision/V1.Paragraph.yml b/dev/tests/fixtures/docfx/Vision/V1.Paragraph.yml index ba6c4c07bd7..93df468a2cc 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.Paragraph.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.Paragraph.yml @@ -196,7 +196,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\Paragraph::setWords()' name: setWords diff --git a/dev/tests/fixtures/docfx/Vision/V1.Product.yml b/dev/tests/fixtures/docfx/Vision/V1.Product.yml index 0cef894d0a8..718eb09ac1e 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.Product.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.Product.yml @@ -237,7 +237,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\Product::setProductLabels()' name: setProductLabels diff --git a/dev/tests/fixtures/docfx/Vision/V1.ProductSearchParams.yml b/dev/tests/fixtures/docfx/Vision/V1.ProductSearchParams.yml index 89ab48789dd..e8fd4394cad 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ProductSearchParams.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ProductSearchParams.yml @@ -169,7 +169,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ProductSearchParams::setProductCategories()' name: setProductCategories diff --git a/dev/tests/fixtures/docfx/Vision/V1.ProductSearchResults.GroupedResult.yml b/dev/tests/fixtures/docfx/Vision/V1.ProductSearchResults.GroupedResult.yml index 50139ded295..5c0b81046ac 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ProductSearchResults.GroupedResult.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ProductSearchResults.GroupedResult.yml @@ -110,7 +110,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ProductSearchResults\GroupedResult::setResults()' name: setResults @@ -141,7 +141,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ProductSearchResults\GroupedResult::setObjectAnnotations()' name: setObjectAnnotations diff --git a/dev/tests/fixtures/docfx/Vision/V1.ProductSearchResults.yml b/dev/tests/fixtures/docfx/Vision/V1.ProductSearchResults.yml index 0950748895c..642a4789206 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ProductSearchResults.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ProductSearchResults.yml @@ -40,7 +40,7 @@ items: description: 'Optional. Data for populating the Message object.' - id: '↳ index_time' - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: 'Timestamp of the index which provided these results. Products added to the product set and products removed from the product set after this time are not reflected in the current results.' - id: '↳ results' @@ -65,7 +65,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Timestamp|null' + var_type: 'Google\Protobuf\Timestamp|null' - uid: '\Google\Cloud\Vision\V1\ProductSearchResults::hasIndexTime()' name: hasIndexTime @@ -98,7 +98,7 @@ items: parameters: - id: var - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: '' returns: - @@ -115,7 +115,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ProductSearchResults::setResults()' name: setResults @@ -150,7 +150,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ProductSearchResults::setProductGroupedResults()' name: setProductGroupedResults diff --git a/dev/tests/fixtures/docfx/Vision/V1.ProductSet.yml b/dev/tests/fixtures/docfx/Vision/V1.ProductSet.yml index 93ea90377e3..4b181a558fc 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ProductSet.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ProductSet.yml @@ -54,7 +54,7 @@ items: description: 'The user-provided name for this ProductSet. Must not be empty. Must be at most 4096 characters long.' - id: '↳ index_time' - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: 'Output only. The time at which this ProductSet was last indexed. Query results will reflect all updates before this time. If this ProductSet has never been indexed, this timestamp is the default value "1970-01-01T00:00:00Z". This field is ignored when creating a ProductSet.' - id: '↳ index_error' @@ -154,7 +154,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Timestamp|null' + var_type: 'Google\Protobuf\Timestamp|null' - uid: '\Google\Cloud\Vision\V1\ProductSet::hasIndexTime()' name: hasIndexTime @@ -190,7 +190,7 @@ items: parameters: - id: var - var_type: 'Google\Protobuf\Timestamp' + var_type: 'Google\Protobuf\Timestamp' description: '' returns: - diff --git a/dev/tests/fixtures/docfx/Vision/V1.ReferenceImage.yml b/dev/tests/fixtures/docfx/Vision/V1.ReferenceImage.yml index c851f2be5f1..71a380b60bc 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.ReferenceImage.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.ReferenceImage.yml @@ -147,7 +147,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\ReferenceImage::setBoundingPolys()' name: setBoundingPolys diff --git a/dev/tests/fixtures/docfx/Vision/V1.TextAnnotation.TextProperty.yml b/dev/tests/fixtures/docfx/Vision/V1.TextAnnotation.TextProperty.yml index dc9a3288b6d..26253c2a90c 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.TextAnnotation.TextProperty.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.TextAnnotation.TextProperty.yml @@ -56,7 +56,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\TextAnnotation\TextProperty::setDetectedLanguages()' name: setDetectedLanguages diff --git a/dev/tests/fixtures/docfx/Vision/V1.TextAnnotation.yml b/dev/tests/fixtures/docfx/Vision/V1.TextAnnotation.yml index 60981b6329d..58f0ef347de 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.TextAnnotation.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.TextAnnotation.yml @@ -62,7 +62,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\TextAnnotation::setPages()' name: setPages diff --git a/dev/tests/fixtures/docfx/Vision/V1.TextDetectionParams.yml b/dev/tests/fixtures/docfx/Vision/V1.TextDetectionParams.yml index 3f13483ca53..adf4dfe0cd2 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.TextDetectionParams.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.TextDetectionParams.yml @@ -99,7 +99,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\TextDetectionParams::setAdvancedOcrOptions()' name: setAdvancedOcrOptions diff --git a/dev/tests/fixtures/docfx/Vision/V1.UpdateProductRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.UpdateProductRequest.yml index a278e53d6da..f84695381a6 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.UpdateProductRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.UpdateProductRequest.yml @@ -45,8 +45,8 @@ items: description: 'Required. The Product resource which replaces the one on the server. product.name is immutable.' - id: '↳ update_mask' - var_type: 'Google\Protobuf\FieldMask' - description: 'The FieldMask that specifies which fields to update. If update_mask isn''t specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.' + var_type: 'Google\Protobuf\FieldMask' + description: 'The FieldMask that specifies which fields to update. If update_mask isn''t specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and `description`.' - uid: '\Google\Cloud\Vision\V1\UpdateProductRequest::getProduct()' name: getProduct @@ -105,7 +105,7 @@ items: name: getUpdateMask id: getUpdateMask summary: |- - The FieldMask that specifies which fields + The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. @@ -118,7 +118,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\FieldMask|null' + var_type: 'Google\Protobuf\FieldMask|null' - uid: '\Google\Cloud\Vision\V1\UpdateProductRequest::hasUpdateMask()' name: hasUpdateMask @@ -140,7 +140,7 @@ items: name: setUpdateMask id: setUpdateMask summary: |- - The FieldMask that specifies which fields + The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. @@ -154,7 +154,7 @@ items: parameters: - id: var - var_type: 'Google\Protobuf\FieldMask' + var_type: 'Google\Protobuf\FieldMask' description: '' returns: - @@ -177,9 +177,9 @@ items: product.name is immutable. - id: updateMask - var_type: 'Google\Protobuf\FieldMask' + var_type: 'Google\Protobuf\FieldMask' description: |- - The FieldMask that specifies which fields + The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask paths include `product_labels`, `display_name`, and diff --git a/dev/tests/fixtures/docfx/Vision/V1.UpdateProductSetRequest.yml b/dev/tests/fixtures/docfx/Vision/V1.UpdateProductSetRequest.yml index 46f2273047c..b7ea0b54be4 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.UpdateProductSetRequest.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.UpdateProductSetRequest.yml @@ -45,8 +45,8 @@ items: description: 'Required. The ProductSet resource which replaces the one on the server.' - id: '↳ update_mask' - var_type: 'Google\Protobuf\FieldMask' - description: 'The FieldMask that specifies which fields to update. If update_mask isn''t specified, all mutable fields are to be updated. Valid mask path is `display_name`.' + var_type: 'Google\Protobuf\FieldMask' + description: 'The FieldMask that specifies which fields to update. If update_mask isn''t specified, all mutable fields are to be updated. Valid mask path is `display_name`.' - uid: '\Google\Cloud\Vision\V1\UpdateProductSetRequest::getProductSet()' name: getProductSet @@ -99,7 +99,7 @@ items: name: getUpdateMask id: getUpdateMask summary: |- - The FieldMask that specifies which fields to + The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. @@ -111,7 +111,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\FieldMask|null' + var_type: 'Google\Protobuf\FieldMask|null' - uid: '\Google\Cloud\Vision\V1\UpdateProductSetRequest::hasUpdateMask()' name: hasUpdateMask @@ -133,7 +133,7 @@ items: name: setUpdateMask id: setUpdateMask summary: |- - The FieldMask that specifies which fields to + The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. @@ -146,7 +146,7 @@ items: parameters: - id: var - var_type: 'Google\Protobuf\FieldMask' + var_type: 'Google\Protobuf\FieldMask' description: '' returns: - @@ -167,9 +167,9 @@ items: description: 'Required. The ProductSet resource which replaces the one on the server.' - id: updateMask - var_type: 'Google\Protobuf\FieldMask' + var_type: 'Google\Protobuf\FieldMask' description: |- - The FieldMask that specifies which fields to + The FieldMask that specifies which fields to update. If update_mask isn't specified, all mutable fields are to be updated. Valid mask path is `display_name`. diff --git a/dev/tests/fixtures/docfx/Vision/V1.WebDetection.WebPage.yml b/dev/tests/fixtures/docfx/Vision/V1.WebDetection.WebPage.yml index cc556ebf9b4..eed121b45fc 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.WebDetection.WebPage.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.WebDetection.WebPage.yml @@ -168,7 +168,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\WebDetection\WebPage::setFullMatchingImages()' name: setFullMatchingImages @@ -207,7 +207,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\WebDetection\WebPage::setPartialMatchingImages()' name: setPartialMatchingImages diff --git a/dev/tests/fixtures/docfx/Vision/V1.WebDetection.yml b/dev/tests/fixtures/docfx/Vision/V1.WebDetection.yml index 18a3b9de685..fd1ced29223 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.WebDetection.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.WebDetection.yml @@ -78,7 +78,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\WebDetection::setWebEntities()' name: setWebEntities @@ -112,7 +112,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\WebDetection::setFullMatchingImages()' name: setFullMatchingImages @@ -150,7 +150,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\WebDetection::setPartialMatchingImages()' name: setPartialMatchingImages @@ -185,7 +185,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\WebDetection::setPagesWithMatchingImages()' name: setPagesWithMatchingImages @@ -216,7 +216,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\WebDetection::setVisuallySimilarImages()' name: setVisuallySimilarImages @@ -250,7 +250,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\WebDetection::setBestGuessLabels()' name: setBestGuessLabels diff --git a/dev/tests/fixtures/docfx/Vision/V1.Word.yml b/dev/tests/fixtures/docfx/Vision/V1.Word.yml index d3172e1db7d..4c85d41b0b0 100644 --- a/dev/tests/fixtures/docfx/Vision/V1.Word.yml +++ b/dev/tests/fixtures/docfx/Vision/V1.Word.yml @@ -199,7 +199,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\Internal\RepeatedField' + var_type: 'Google\Protobuf\Internal\RepeatedField' - uid: '\Google\Cloud\Vision\V1\Word::setSymbols()' name: setSymbols