vendor: update all dependencies
This commit is contained in:
+22
-2
@@ -26,7 +26,7 @@
|
||||
"description": "Stores and retrieves potentially large, immutable data objects.",
|
||||
"discoveryVersion": "v1",
|
||||
"documentationLink": "https://developers.google.com/storage/docs/json_api/",
|
||||
"etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/LSpI3fR5lOQdDA6XHHjB1Bie2kU\"",
|
||||
"etag": "\"J3WqvAcMk4eQjJXvfSI4Yr8VouA/KPalWULMnQfaqumeaBhBrVfHFNM\"",
|
||||
"icons": {
|
||||
"x16": "https://www.google.com/images/icons/product/cloud_storage-16.png",
|
||||
"x32": "https://www.google.com/images/icons/product/cloud_storage-32.png"
|
||||
@@ -2766,7 +2766,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20181013",
|
||||
"revision": "20181109",
|
||||
"rootUrl": "https://www.googleapis.com/",
|
||||
"schemas": {
|
||||
"Bucket": {
|
||||
@@ -2855,6 +2855,26 @@
|
||||
"description": "HTTP 1.1 Entity tag for the bucket.",
|
||||
"type": "string"
|
||||
},
|
||||
"iamConfiguration": {
|
||||
"description": "The bucket's IAM configuration.",
|
||||
"properties": {
|
||||
"bucketPolicyOnly": {
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"description": "If set, access checks only use bucket-level IAM policies or above.",
|
||||
"type": "boolean"
|
||||
},
|
||||
"lockedTime": {
|
||||
"description": "The deadline time for changing iamConfiguration.bucketPolicyOnly.enabled from true to false in RFC 3339 format. iamConfiguration.bucketPolicyOnly.enabled may be changed from true to false until the locked time, after which the field is immutable.",
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"id": {
|
||||
"description": "The ID of the bucket. For buckets, the id and name properties are the same.",
|
||||
"type": "string"
|
||||
|
||||
+72
@@ -1,3 +1,9 @@
|
||||
// Copyright 2018 Google Inc. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Code generated file. DO NOT EDIT.
|
||||
|
||||
// Package storage provides access to the Cloud Storage JSON API.
|
||||
//
|
||||
// This package is DEPRECATED. Use package cloud.google.com/go/storage instead.
|
||||
@@ -231,6 +237,9 @@ type Bucket struct {
|
||||
// Etag: HTTP 1.1 Entity tag for the bucket.
|
||||
Etag string `json:"etag,omitempty"`
|
||||
|
||||
// IamConfiguration: The bucket's IAM configuration.
|
||||
IamConfiguration *BucketIamConfiguration `json:"iamConfiguration,omitempty"`
|
||||
|
||||
// Id: The ID of the bucket. For buckets, the id and name properties are
|
||||
// the same.
|
||||
Id string `json:"id,omitempty"`
|
||||
@@ -438,6 +447,69 @@ func (s *BucketEncryption) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BucketIamConfiguration: The bucket's IAM configuration.
|
||||
type BucketIamConfiguration struct {
|
||||
BucketPolicyOnly *BucketIamConfigurationBucketPolicyOnly `json:"bucketPolicyOnly,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "BucketPolicyOnly") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "BucketPolicyOnly") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *BucketIamConfiguration) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod BucketIamConfiguration
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
type BucketIamConfigurationBucketPolicyOnly struct {
|
||||
// Enabled: If set, access checks only use bucket-level IAM policies or
|
||||
// above.
|
||||
Enabled bool `json:"enabled,omitempty"`
|
||||
|
||||
// LockedTime: The deadline time for changing
|
||||
// iamConfiguration.bucketPolicyOnly.enabled from true to false in RFC
|
||||
// 3339 format. iamConfiguration.bucketPolicyOnly.enabled may be changed
|
||||
// from true to false until the locked time, after which the field is
|
||||
// immutable.
|
||||
LockedTime string `json:"lockedTime,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Enabled") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Enabled") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *BucketIamConfigurationBucketPolicyOnly) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod BucketIamConfigurationBucketPolicyOnly
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// BucketLifecycle: The bucket's lifecycle configuration. See lifecycle
|
||||
// management for more information.
|
||||
type BucketLifecycle struct {
|
||||
|
||||
Reference in New Issue
Block a user