Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(compute): make MetadataItems.Value a pointer #973

Merged
merged 1 commit into from Apr 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion compute/v0.alpha/compute-gen.go
Expand Up @@ -26656,7 +26656,7 @@ type MetadataItems struct {
// only have meaning as interpreted by the image running in the
// instance. The only restriction placed on values is that their size
// must be less than or equal to 262144 bytes (256 KiB).
Value string `json:"value,omitempty"`
Value *string `json:"value,omitempty"`

// ForceSendFields is a list of field names (e.g. "Key") to
// unconditionally include in API requests. By default, fields with
Expand Down
1 change: 1 addition & 0 deletions google-api-go-generator/gen.go
Expand Up @@ -966,6 +966,7 @@ var pointerFields = []fieldName{
{api: "cloudmonitoring:v2beta2", schema: "Point", field: "Int64Value"},
{api: "cloudmonitoring:v2beta2", schema: "Point", field: "StringValue"},
{api: "compute:alpha", schema: "ExternalVpnGateway", field: "Id"},
{api: "compute:alpha", schema: "MetadataItems", field: "Value"},
{api: "compute:alpha", schema: "Scheduling", field: "AutomaticRestart"},
{api: "compute:beta", schema: "ExternalVpnGateway", field: "Id"},
{api: "compute:beta", schema: "MetadataItems", field: "Value"},
Expand Down