Skip to content

Handle storage::Fields in GCS+gRPC plugin #4215

@coryan

Description

@coryan

The proto specification for "just return a few fields" is a FieldMask, the client library uses gcs::Fields which is a string. Translating from a string to a FieldMask is not possible in general:

The REST fields API supports returning just a few keys from the labels field in a bucket bucket or the metadata field in a object.

We need to return an error when gcs::Fields cannot be easily translated to a FieldMask, and we need to handle the most common case: a gcs::Fields with an empty string.

Metadata

Metadata

Assignees

Labels

type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions