diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index d873e7973469..2971ffbed3a6 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -21,7 +21,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@verbose with: - php-version: "8.1" + php-version: "8.2" - name: Extract phpDocumentor id: extract uses: shrink/actions-docker-extract@v4 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index c3c7e51f6908..7126dadaf62f 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -56,7 +56,7 @@ jobs: - name: Install PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.1' + php-version: '8.2' - name: "Install dependencies" run: | composer --no-interaction --no-ansi --no-progress update diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index 2760e8c5a1f0..522c1f34f775 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -93,7 +93,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@verbose with: - php-version: "8.1" + php-version: "8.2" - name: "Install dependencies" run: composer --no-interaction --no-ansi --no-progress update -d dev - name: Run Dev Unit Test Suite diff --git a/.kokoro/docs/publish.sh b/.kokoro/docs/publish.sh index 3e249b569bbc..7c8f850399a9 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 -d $PROJECT_DIR/dev | 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/dev/composer.json b/dev/composer.json index 497fadd2e33d..6c3662070a9c 100644 --- a/dev/composer.json +++ b/dev/composer.json @@ -2,7 +2,7 @@ "type": "library", "description": "Development commands for the google/cloud library", "require": { - "php": ">=8.1", + "php": ">=8.2", "vierbergenlars/php-semver": "^3.0", "symfony/console": " ^6.2", "symfony/yaml": "^3.3||^6.0", diff --git a/dev/src/Component.php b/dev/src/Component.php index d5eaac7b8107..b5577fa12b53 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 7bfe0d90570d..c7abb65894f9 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 0f2aa7d9fe02..8843651a6d49 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\RepeatedField<Feature>' + var_type: 'Google\Protobuf\RepeatedField<Feature>' - uid: '\Google\Cloud\Vision\V1\AnnotateFileRequest::setFeatures()' name: setFeatures @@ -206,7 +206,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<int>' + var_type: 'Google\Protobuf\RepeatedField<int>' - 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 15d0a8876015..afe00e64bac2 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\RepeatedField<AnnotateImageResponse>' + var_type: 'Google\Protobuf\RepeatedField<AnnotateImageResponse>' - 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 84c26350184a..4f36493e181d 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\RepeatedField<Feature>' + var_type: 'Google\Protobuf\RepeatedField<Feature>' - 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 194a287fb07d..9aec47054389 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\RepeatedField<FaceAnnotation>' + var_type: 'Google\Protobuf\RepeatedField<FaceAnnotation>' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setFaceAnnotations()' name: setFaceAnnotations @@ -173,7 +173,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<EntityAnnotation>' + var_type: 'Google\Protobuf\RepeatedField<EntityAnnotation>' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setLandmarkAnnotations()' name: setLandmarkAnnotations @@ -204,7 +204,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<EntityAnnotation>' + var_type: 'Google\Protobuf\RepeatedField<EntityAnnotation>' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setLogoAnnotations()' name: setLogoAnnotations @@ -235,7 +235,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<EntityAnnotation>' + var_type: 'Google\Protobuf\RepeatedField<EntityAnnotation>' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setLabelAnnotations()' name: setLabelAnnotations @@ -269,7 +269,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<LocalizedObjectAnnotation>' + var_type: 'Google\Protobuf\RepeatedField<LocalizedObjectAnnotation>' - uid: '\Google\Cloud\Vision\V1\AnnotateImageResponse::setLocalizedObjectAnnotations()' name: setLocalizedObjectAnnotations @@ -303,7 +303,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<EntityAnnotation>' + var_type: 'Google\Protobuf\RepeatedField<EntityAnnotation>' - 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 0728bb616ddf..628a27a235ff 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\RepeatedField<Feature>' + var_type: 'Google\Protobuf\RepeatedField<Feature>' - 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 01ba4c6e259b..eabe9dfa7808 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\RepeatedField<AsyncAnnotateFileRequest>' + var_type: 'Google\Protobuf\RepeatedField<AsyncAnnotateFileRequest>' - 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 f56994c0b349..795a7ce1ed0e 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\RepeatedField<AsyncAnnotateFileResponse>' + var_type: 'Google\Protobuf\RepeatedField<AsyncAnnotateFileResponse>' - 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 7254419ef300..fab51de29b84 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\RepeatedField<AnnotateImageRequest>' + var_type: 'Google\Protobuf\RepeatedField<AnnotateImageRequest>' - 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 fae2bb899b89..1323792b6429 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\RepeatedField<AnnotateFileRequest>' + var_type: 'Google\Protobuf\RepeatedField<AnnotateFileRequest>' - 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 46fc7888e546..02159d10f8b5 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\RepeatedField<AnnotateFileResponse>' + var_type: 'Google\Protobuf\RepeatedField<AnnotateFileResponse>' - 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 6e05b8e6b0f8..e269ebb3a8ef 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\RepeatedField<AnnotateImageRequest>' + var_type: 'Google\Protobuf\RepeatedField<AnnotateImageRequest>' - 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 5887557699a7..5f4cf98463b5 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\RepeatedField<AnnotateImageResponse>' + var_type: 'Google\Protobuf\RepeatedField<AnnotateImageResponse>' - 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 e2dfb5abfdbd..060ce7e72047 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 1c77332b5c24..dcdf3bef016c 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\RepeatedField<Paragraph>' + var_type: 'Google\Protobuf\RepeatedField<Paragraph>' - 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 f0839075d4dc..64e2d5e28a90 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\RepeatedField<Vertex>' + var_type: 'Google\Protobuf\RepeatedField<Vertex>' - uid: '\Google\Cloud\Vision\V1\BoundingPoly::setVertices()' name: setVertices @@ -85,7 +85,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<NormalizedVertex>' + var_type: 'Google\Protobuf\RepeatedField<NormalizedVertex>' - 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 744576c7ca7b..2c5c5d996ff0 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\RepeatedField<CropHint>' + var_type: 'Google\Protobuf\RepeatedField<CropHint>' - 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 b0d0504c68f6..d68cc8c54383 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\RepeatedField<float>' + var_type: 'Google\Protobuf\RepeatedField<float>' - 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 cd42c9fa4b45..8b712cca73c5 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\RepeatedField<ColorInfo>' + var_type: 'Google\Protobuf\RepeatedField<ColorInfo>' - 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 28036b698bf0..d03b172f631c 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\RepeatedField<LocationInfo>' + var_type: 'Google\Protobuf\RepeatedField<LocationInfo>' - uid: '\Google\Cloud\Vision\V1\EntityAnnotation::setLocations()' name: setLocations @@ -412,7 +412,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<Property>' + var_type: 'Google\Protobuf\RepeatedField<Property>' - 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 95c2e87722a6..dbef6f501784 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\RepeatedField<FaceAnnotation\Landmark>' + var_type: 'Google\Protobuf\RepeatedField<FaceAnnotation\Landmark>' - 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 efaf49c976d3..803de23935a0 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\RepeatedField<string>' + var_type: 'Google\Protobuf\RepeatedField<string>' - 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 bc8d61ac576d..62377d733b45 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\RepeatedField<ReferenceImage>' + var_type: 'Google\Protobuf\RepeatedField<ReferenceImage>' - uid: '\Google\Cloud\Vision\V1\ImportProductSetsResponse::setReferenceImages()' name: setReferenceImages @@ -97,7 +97,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<Google\Rpc\Status>' + var_type: 'Google\Protobuf\RepeatedField<Google\Rpc\Status>' - 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 bef59c4ed010..d2c3d37d23f4 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\RepeatedField<ProductSet>' + var_type: 'Google\Protobuf\RepeatedField<ProductSet>' - 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 82ef00d0baa2..db498e7a7cde 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\RepeatedField<Product>' + var_type: 'Google\Protobuf\RepeatedField<Product>' - 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 f4208efa9062..33a6ffea6848 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\RepeatedField<Product>' + var_type: 'Google\Protobuf\RepeatedField<Product>' - 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 26ebfc869a9e..95aa978809d0 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\RepeatedField<ReferenceImage>' + var_type: 'Google\Protobuf\RepeatedField<ReferenceImage>' - 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 197f7e3ff50b..1f04b7834f86 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 eb847d1a9f75..920ac27af260 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\RepeatedField<Block>' + var_type: 'Google\Protobuf\RepeatedField<Block>' - 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 675ededa6af9..215709734c15 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\RepeatedField<Word>' + var_type: 'Google\Protobuf\RepeatedField<Word>' - 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 8f6b376c15a9..f33b5e5bc341 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\RepeatedField<Product\KeyValue>' + var_type: 'Google\Protobuf\RepeatedField<Product\KeyValue>' - 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 53a50a6feed8..fbe260197249 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\RepeatedField<string>' + var_type: 'Google\Protobuf\RepeatedField<string>' - 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 d2b7782dac07..bc849d920070 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\RepeatedField<Result>' + var_type: 'Google\Protobuf\RepeatedField<Result>' - uid: '\Google\Cloud\Vision\V1\ProductSearchResults\GroupedResult::setResults()' name: setResults @@ -141,7 +141,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<ObjectAnnotation>' + var_type: 'Google\Protobuf\RepeatedField<ObjectAnnotation>' - 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 9f21a982b82c..ea92450c5aa9 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\RepeatedField<ProductSearchResults\Result>' + var_type: 'Google\Protobuf\RepeatedField<ProductSearchResults\Result>' - uid: '\Google\Cloud\Vision\V1\ProductSearchResults::setResults()' name: setResults @@ -150,7 +150,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<ProductSearchResults\GroupedResult>' + var_type: 'Google\Protobuf\RepeatedField<ProductSearchResults\GroupedResult>' - 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 93ea90377e32..4b181a558fca 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 3035039f908c..c7cd3c211603 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\RepeatedField<BoundingPoly>' + var_type: 'Google\Protobuf\RepeatedField<BoundingPoly>' - 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 2a7f413ea607..4a46ca4d9adf 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\RepeatedField<DetectedLanguage>' + var_type: 'Google\Protobuf\RepeatedField<DetectedLanguage>' - 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 28943773969f..49d133bcf027 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\RepeatedField<Page>' + var_type: 'Google\Protobuf\RepeatedField<Page>' - 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 55ec931ff2b2..480bb91ea6de 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\RepeatedField<string>' + var_type: 'Google\Protobuf\RepeatedField<string>' - 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 a278e53d6da9..f84695381a61 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 46f2273047c1..b7ea0b54be4d 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 9d104d4cc11f..57e003ad4b78 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\RepeatedField<WebImage>' + var_type: 'Google\Protobuf\RepeatedField<WebImage>' - uid: '\Google\Cloud\Vision\V1\WebDetection\WebPage::setFullMatchingImages()' name: setFullMatchingImages @@ -207,7 +207,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<WebImage>' + var_type: 'Google\Protobuf\RepeatedField<WebImage>' - 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 451e7f4f335d..af289fdeedb6 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\RepeatedField<WebDetection\WebEntity>' + var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebEntity>' - uid: '\Google\Cloud\Vision\V1\WebDetection::setWebEntities()' name: setWebEntities @@ -112,7 +112,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebImage>' + var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebImage>' - uid: '\Google\Cloud\Vision\V1\WebDetection::setFullMatchingImages()' name: setFullMatchingImages @@ -150,7 +150,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebImage>' + var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebImage>' - uid: '\Google\Cloud\Vision\V1\WebDetection::setPartialMatchingImages()' name: setPartialMatchingImages @@ -185,7 +185,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebPage>' + var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebPage>' - uid: '\Google\Cloud\Vision\V1\WebDetection::setPagesWithMatchingImages()' name: setPagesWithMatchingImages @@ -216,7 +216,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebImage>' + var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebImage>' - uid: '\Google\Cloud\Vision\V1\WebDetection::setVisuallySimilarImages()' name: setVisuallySimilarImages @@ -250,7 +250,7 @@ items: syntax: returns: - - var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebLabel>' + var_type: 'Google\Protobuf\RepeatedField<WebDetection\WebLabel>' - 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 4977767fbc32..7cb12b8da543 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\RepeatedField<Symbol>' + var_type: 'Google\Protobuf\RepeatedField<Symbol>' - uid: '\Google\Cloud\Vision\V1\Word::setSymbols()' name: setSymbols