Skip to content

Commit

Permalink
chore(tests): update GAPIC fixtures for latest updates (#7819)
Browse files Browse the repository at this point in the history
  • Loading branch information
bshaffer authored Nov 11, 2024
1 parent 2c1bd44 commit ca2ba78
Show file tree
Hide file tree
Showing 30 changed files with 7,612 additions and 5,622 deletions.
1,040 changes: 991 additions & 49 deletions dev/tests/fixtures/docfx/NewClient/V1.Client.SecretManagerServiceClient.yml

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion dev/tests/fixtures/docfx/NewClient/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
-
uid: \Google\Cloud\SecretManager\V1\Client\SecretManagerServiceClient
name: 'SecretManagerServiceClient (beta)'
status: beta
-
name: V1beta1
uid: 'ns:Google\Cloud\SecretManager\V1beta1'
Expand All @@ -32,3 +31,15 @@
uid: \Google\Cloud\SecretManager\V1beta1\SecretManagerServiceClient
name: SecretManagerServiceClient
status: beta
-
name: V1beta2
uid: 'ns:Google\Cloud\SecretManager\V1beta2'
items:
-
name: Services
uid: 'services:Google\Cloud\SecretManager\V1beta2'
items:
-
uid: \Google\Cloud\SecretManager\V1beta2\Client\SecretManagerServiceClient
name: 'SecretManagerServiceClient (beta)'
status: beta
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ items:
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::setRequests()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::getParent()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::setParent()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::getLabels()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::setLabels()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::build()'
-
uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::__construct()'
Expand All @@ -44,6 +46,10 @@ items:
id: '↳ parent'
var_type: string
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|<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
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()'
name: getRequests
Expand Down Expand Up @@ -124,6 +130,49 @@ items:
returns:
-
var_type: $this
-
uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::getLabels()'
name: getLabels
id: getLabels
summary: |-
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.
parent: \Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest
type: method
langs:
- php
syntax:
returns:
-
var_type: '<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
-
uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::setLabels()'
name: setLabels
id: setLabels
summary: |-
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.
parent: \Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest
type: method
langs:
- php
syntax:
parameters:
-
id: var
var_type: 'array|<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
description: ''
returns:
-
var_type: $this
-
uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateFilesRequest::build()'
name: 'static::build'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ items:
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::setOutputConfig()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::getParent()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::setParent()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::getLabels()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::setLabels()'
- '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::build()'
-
uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::__construct()'
Expand Down Expand Up @@ -51,6 +53,10 @@ items:
id: '↳ parent'
var_type: string
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|<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
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()'
name: getRequests
Expand Down Expand Up @@ -178,6 +184,49 @@ items:
returns:
-
var_type: $this
-
uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::getLabels()'
name: getLabels
id: getLabels
summary: |-
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.
parent: \Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest
type: method
langs:
- php
syntax:
returns:
-
var_type: '<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
-
uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::setLabels()'
name: setLabels
id: setLabels
summary: |-
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.
parent: \Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest
type: method
langs:
- php
syntax:
parameters:
-
id: var
var_type: 'array|<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
description: ''
returns:
-
var_type: $this
-
uid: '\Google\Cloud\Vision\V1\AsyncBatchAnnotateImagesRequest::build()'
name: 'static::build'
Expand Down
61 changes: 55 additions & 6 deletions dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateFilesRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ items:
- '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::setRequests()'
- '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::getParent()'
- '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::setParent()'
- '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::getLabels()'
- '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::setLabels()'
- '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::build()'
-
uid: '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::__construct()'
Expand All @@ -43,13 +45,17 @@ items:
id: '↳ parent'
var_type: string
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|<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
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()'
name: getRequests
id: getRequests
summary: |-
Required. The list of file annotation requests. Right now we support only one
AnnotateFileRequest in BatchAnnotateFilesRequest.
Required. The list of file annotation requests. Right now we support only
one AnnotateFileRequest in BatchAnnotateFilesRequest.
parent: \Google\Cloud\Vision\V1\BatchAnnotateFilesRequest
type: method
langs:
Expand All @@ -63,8 +69,8 @@ items:
name: setRequests
id: setRequests
summary: |-
Required. The list of file annotation requests. Right now we support only one
AnnotateFileRequest in BatchAnnotateFilesRequest.
Required. The list of file annotation requests. Right now we support only
one AnnotateFileRequest in BatchAnnotateFilesRequest.
parent: \Google\Cloud\Vision\V1\BatchAnnotateFilesRequest
type: method
langs:
Expand Down Expand Up @@ -127,6 +133,49 @@ items:
returns:
-
var_type: $this
-
uid: '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::getLabels()'
name: getLabels
id: getLabels
summary: |-
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.
parent: \Google\Cloud\Vision\V1\BatchAnnotateFilesRequest
type: method
langs:
- php
syntax:
returns:
-
var_type: '<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
-
uid: '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::setLabels()'
name: setLabels
id: setLabels
summary: |-
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.
parent: \Google\Cloud\Vision\V1\BatchAnnotateFilesRequest
type: method
langs:
- php
syntax:
parameters:
-
id: var
var_type: 'array|<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
description: ''
returns:
-
var_type: $this
-
uid: '\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest::build()'
name: 'static::build'
Expand All @@ -141,8 +190,8 @@ items:
id: requests
var_type: 'array&lt;<xref uid="\Google\Cloud\Vision\V1\AnnotateFileRequest">Google\Cloud\Vision\V1\AnnotateFileRequest</xref>&gt;'
description: |-
Required. The list of file annotation requests. Right now we support only one
AnnotateFileRequest in BatchAnnotateFilesRequest.
Required. The list of file annotation requests. Right now we support only
one AnnotateFileRequest in BatchAnnotateFilesRequest.
returns:
-
var_type: '<xref uid="\Google\Cloud\Vision\V1\BatchAnnotateFilesRequest">Google\Cloud\Vision\V1\BatchAnnotateFilesRequest</xref>'
49 changes: 49 additions & 0 deletions dev/tests/fixtures/docfx/Vision/V1.BatchAnnotateImagesRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ items:
- '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::setRequests()'
- '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::getParent()'
- '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::setParent()'
- '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::getLabels()'
- '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::setLabels()'
- '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::build()'
-
uid: '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::__construct()'
Expand All @@ -43,6 +45,10 @@ items:
id: '↳ parent'
var_type: string
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|<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
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()'
name: getRequests
Expand Down Expand Up @@ -123,6 +129,49 @@ items:
returns:
-
var_type: $this
-
uid: '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::getLabels()'
name: getLabels
id: getLabels
summary: |-
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.
parent: \Google\Cloud\Vision\V1\BatchAnnotateImagesRequest
type: method
langs:
- php
syntax:
returns:
-
var_type: '<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
-
uid: '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::setLabels()'
name: setLabels
id: setLabels
summary: |-
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.
parent: \Google\Cloud\Vision\V1\BatchAnnotateImagesRequest
type: method
langs:
- php
syntax:
parameters:
-
id: var
var_type: 'array|<a href="https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField">Google\Protobuf\Internal\MapField</a>'
description: ''
returns:
-
var_type: $this
-
uid: '\Google\Cloud\Vision\V1\BatchAnnotateImagesRequest::build()'
name: 'static::build'
Expand Down
6 changes: 4 additions & 2 deletions dev/tests/fixtures/docfx/Vision/V1.BatchOperationMetadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ items:
id: getEndTime
summary: |-
The time when the batch request is finished and
<xref uid="\Google\LongRunning\Operation::getDone()">google.longrunning.Operation.done</xref> is set to true.
<xref uid="\Google\LongRunning\Operation::getDone()">google.longrunning.Operation.done</xref> is
set to true.
parent: \Google\Cloud\Vision\V1\BatchOperationMetadata
type: method
langs:
Expand Down Expand Up @@ -170,7 +171,8 @@ items:
id: setEndTime
summary: |-
The time when the batch request is finished and
<xref uid="\Google\LongRunning\Operation::getDone()">google.longrunning.Operation.done</xref> is set to true.
<xref uid="\Google\LongRunning\Operation::getDone()">google.longrunning.Operation.done</xref> is
set to true.
parent: \Google\Cloud\Vision\V1\BatchOperationMetadata
type: method
langs:
Expand Down
2 changes: 1 addition & 1 deletion dev/tests/fixtures/docfx/Vision/V1.Block.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ items:
-
id: '↳ bounding_box'
var_type: '<xref uid="\Google\Cloud\Vision\V1\BoundingPoly">Google\Cloud\Vision\V1\BoundingPoly</xref>'
description: "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * when the text is horizontal it might look like: 0----1 | | 3----2 * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)."
description: "The bounding box for the block. The vertices are in the order of top-left, top-right, bottom-right, bottom-left. When a rotation of the bounding box is detected the rotation is represented as around the top-left corner as defined when the text is read in the 'natural' orientation. For example: * * when the text is horizontal it might look like: 0----1 | | 3----2 * * when it's rotated 180 degrees around the top-left corner it becomes: 2----3 | | 1----0 and the vertex order will still be (0, 1, 2, 3)."
-
id: '↳ paragraphs'
var_type: 'array&lt;<xref uid="\Google\Cloud\Vision\V1\Paragraph">Google\Cloud\Vision\V1\Paragraph</xref>&gt;'
Expand Down
Loading

0 comments on commit ca2ba78

Please sign in to comment.