storage

package
v0.0.0-...-e165f0f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommonEnums_PredefinedBucketAcl_name = map[int32]string{
	0: "PREDEFINED_BUCKET_ACL_UNSPECIFIED",
	1: "BUCKET_ACL_AUTHENTICATED_READ",
	2: "BUCKET_ACL_PRIVATE",
	3: "BUCKET_ACL_PROJECT_PRIVATE",
	4: "BUCKET_ACL_PUBLIC_READ",
	5: "BUCKET_ACL_PUBLIC_READ_WRITE",
}
View Source
var CommonEnums_PredefinedBucketAcl_value = map[string]int32{
	"PREDEFINED_BUCKET_ACL_UNSPECIFIED": 0,
	"BUCKET_ACL_AUTHENTICATED_READ":     1,
	"BUCKET_ACL_PRIVATE":                2,
	"BUCKET_ACL_PROJECT_PRIVATE":        3,
	"BUCKET_ACL_PUBLIC_READ":            4,
	"BUCKET_ACL_PUBLIC_READ_WRITE":      5,
}
View Source
var CommonEnums_PredefinedObjectAcl_name = map[int32]string{
	0: "PREDEFINED_OBJECT_ACL_UNSPECIFIED",
	1: "OBJECT_ACL_AUTHENTICATED_READ",
	2: "OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL",
	3: "OBJECT_ACL_BUCKET_OWNER_READ",
	4: "OBJECT_ACL_PRIVATE",
	5: "OBJECT_ACL_PROJECT_PRIVATE",
	6: "OBJECT_ACL_PUBLIC_READ",
}
View Source
var CommonEnums_PredefinedObjectAcl_value = map[string]int32{
	"PREDEFINED_OBJECT_ACL_UNSPECIFIED":    0,
	"OBJECT_ACL_AUTHENTICATED_READ":        1,
	"OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL": 2,
	"OBJECT_ACL_BUCKET_OWNER_READ":         3,
	"OBJECT_ACL_PRIVATE":                   4,
	"OBJECT_ACL_PROJECT_PRIVATE":           5,
	"OBJECT_ACL_PUBLIC_READ":               6,
}
View Source
var CommonEnums_Projection_name = map[int32]string{
	0: "PROJECTION_UNSPECIFIED",
	1: "NO_ACL",
	2: "FULL",
}
View Source
var CommonEnums_Projection_value = map[string]int32{
	"PROJECTION_UNSPECIFIED": 0,
	"NO_ACL":                 1,
	"FULL":                   2,
}
View Source
var ServiceConstants_Values_name = map[int32]string{
	0:       "VALUES_UNSPECIFIED",
	2097152: "MAX_READ_CHUNK_BYTES",

	5242880: "MAX_OBJECT_SIZE_MB",
	1024:    "MAX_CUSTOM_METADATA_FIELD_NAME_BYTES",
	4096:    "MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES",
	8192:    "MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES",
	20480:   "MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES",
	100:     "MAX_NOTIFICATION_CONFIGS_PER_BUCKET",

	5:   "MAX_NOTIFICATION_CUSTOM_ATTRIBUTES",
	256: "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH",

	64:   "MAX_LABELS_ENTRIES_COUNT",
	63:   "MAX_LABELS_KEY_VALUE_LENGTH",
	128:  "MAX_LABELS_KEY_VALUE_BYTES",
	1000: "MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST",
	14:   "SPLIT_TOKEN_MAX_VALID_DAYS",
}
View Source
var ServiceConstants_Values_value = map[string]int32{
	"VALUES_UNSPECIFIED":                             0,
	"MAX_READ_CHUNK_BYTES":                           2097152,
	"MAX_WRITE_CHUNK_BYTES":                          2097152,
	"MAX_OBJECT_SIZE_MB":                             5242880,
	"MAX_CUSTOM_METADATA_FIELD_NAME_BYTES":           1024,
	"MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES":          4096,
	"MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES":           8192,
	"MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES":           20480,
	"MAX_NOTIFICATION_CONFIGS_PER_BUCKET":            100,
	"MAX_LIFECYCLE_RULES_PER_BUCKET":                 100,
	"MAX_NOTIFICATION_CUSTOM_ATTRIBUTES":             5,
	"MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH":   256,
	"MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH": 1024,
	"MAX_LABELS_ENTRIES_COUNT":                       64,
	"MAX_LABELS_KEY_VALUE_LENGTH":                    63,
	"MAX_LABELS_KEY_VALUE_BYTES":                     128,
	"MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST":      1000,
	"SPLIT_TOKEN_MAX_VALID_DAYS":                     14,
}

Functions

func RegisterStorageServer

func RegisterStorageServer(s *grpc.Server, srv StorageServer)

Types

type Bucket

type Bucket struct {
	// Access controls on the bucket.
	Acl []*BucketAccessControl `protobuf:"bytes,1,rep,name=acl,proto3" json:"acl,omitempty"`
	// Default access controls to apply to new objects when no ACL is provided.
	DefaultObjectAcl []*ObjectAccessControl `protobuf:"bytes,2,rep,name=default_object_acl,json=defaultObjectAcl,proto3" json:"default_object_acl,omitempty"`
	// The bucket's lifecycle configuration. See
	// [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management]
	// for more information.
	Lifecycle *Bucket_Lifecycle `protobuf:"bytes,3,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
	// The creation time of the bucket in
	// [https://tools.ietf.org/html/rfc3339][RFC 3339] format.
	// Attempting to set this field will result in an error.
	TimeCreated *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
	// The ID of the bucket. For buckets, the `id` and `name` properties are the
	// same.
	// Attempting to update this field after the bucket is created will result in
	// an error.
	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the bucket.
	// Attempting to update this field after the bucket is created will result in
	// an error.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// The project number of the project the bucket belongs to.
	// Attempting to set this field will result in an error.
	ProjectNumber int64 `protobuf:"varint,7,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"`
	// The metadata generation of this bucket.
	// Attempting to set this field will result in an error.
	Metageneration int64 `protobuf:"varint,8,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
	// The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
	// (CORS) configuration.
	Cors []*Bucket_Cors `protobuf:"bytes,9,rep,name=cors,proto3" json:"cors,omitempty"`
	// The location of the bucket. Object data for objects in the bucket resides
	// in physical storage within this region.  Defaults to `US`. See the
	// [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
	// guide] for the authoritative list. Attempting to update this field after
	// the bucket is created will result in an error.
	Location string `protobuf:"bytes,10,opt,name=location,proto3" json:"location,omitempty"`
	// The bucket's default storage class, used whenever no storageClass is
	// specified for a newly-created object. This defines how objects in the
	// bucket are stored and determines the SLA and the cost of storage.
	// If this value is not specified when the bucket is created, it will default
	// to `STANDARD`. For more information, see
	// https://developers.google.com/storage/docs/storage-classes.
	StorageClass string `protobuf:"bytes,11,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
	// HTTP 1.1 [https://tools.ietf.org/html/rfc7232#section-2.3"]Entity tag]
	// for the bucket.
	// Attempting to set this field will result in an error.
	Etag string `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"`
	// The modification time of the bucket.
	// Attempting to set this field will result in an error.
	Updated *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated,proto3" json:"updated,omitempty"`
	// The default value for event-based hold on newly created objects in this
	// bucket.  Event-based hold is a way to retain objects indefinitely until an
	// event occurs, signified by the
	// hold's release. After being released, such objects will be subject to
	// bucket-level retention (if any).  One sample use case of this flag is for
	// banks to hold loan documents for at least 3 years after loan is paid in
	// full. Here, bucket-level retention is 3 years and the event is loan being
	// paid in full. In this example, these objects will be held intact for any
	// number of years until the event has occurred (event-based hold on the
	// object is released) and then 3 more years after that. That means retention
	// duration of the objects begins from the moment event-based hold
	// transitioned from true to false.  Objects under event-based hold cannot be
	// deleted, overwritten or archived until the hold is removed.
	DefaultEventBasedHold bool `` /* 130-byte string literal not displayed */
	// User-provided labels, in key/value pairs.
	Labels map[string]string `` /* 154-byte string literal not displayed */
	// The bucket's website configuration, controlling how the service behaves
	// when accessing bucket contents as a web site. See the
	// [https://cloud.google.com/storage/docs/static-website][Static Website
	// Examples] for more information.
	Website *Bucket_Website `protobuf:"bytes,16,opt,name=website,proto3" json:"website,omitempty"`
	// The bucket's versioning configuration.
	Versioning *Bucket_Versioning `protobuf:"bytes,17,opt,name=versioning,proto3" json:"versioning,omitempty"`
	// The bucket's logging configuration, which defines the destination bucket
	// and optional name prefix for the current bucket's logs.
	Logging *Bucket_Logging `protobuf:"bytes,18,opt,name=logging,proto3" json:"logging,omitempty"`
	// The owner of the bucket. This is always the project team's owner group.
	Owner *Owner `protobuf:"bytes,19,opt,name=owner,proto3" json:"owner,omitempty"`
	// Encryption configuration for a bucket.
	Encryption *Bucket_Encryption `protobuf:"bytes,20,opt,name=encryption,proto3" json:"encryption,omitempty"`
	// The bucket's billing configuration.
	Billing *Bucket_Billing `protobuf:"bytes,21,opt,name=billing,proto3" json:"billing,omitempty"`
	// The bucket's retention policy. The retention policy enforces a minimum
	// retention time for all objects contained in the bucket, based on their
	// creation time. Any attempt to overwrite or delete objects younger than the
	// retention period will result in a PERMISSION_DENIED error.  An unlocked
	// retention policy can be modified or removed from the bucket via a
	// storage.buckets.update operation. A locked retention policy cannot be
	// removed or shortened in duration for the lifetime of the bucket.
	// Attempting to remove or decrease period of a locked retention policy will
	// result in a PERMISSION_DENIED error.
	RetentionPolicy *Bucket_RetentionPolicy `protobuf:"bytes,22,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"`
	// The location type of the bucket (region, dual-region, multi-region, etc).
	LocationType string `protobuf:"bytes,23,opt,name=location_type,json=locationType,proto3" json:"location_type,omitempty"`
	// The bucket's IAM configuration.
	IamConfiguration *Bucket_IamConfiguration `protobuf:"bytes,24,opt,name=iam_configuration,json=iamConfiguration,proto3" json:"iam_configuration,omitempty"`
	// The zone or zones from which the bucket is intended to use zonal quota.
	// Requests for data from outside the specified affinities are still allowed
	// but won’t be able to use zonal quota. The values are case-insensitive.
	// Attempting to update this field after bucket is created will result in an
	// error.
	ZoneAffinity         []string `protobuf:"bytes,25,rep,name=zone_affinity,json=zoneAffinity,proto3" json:"zone_affinity,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A bucket.

func (*Bucket) Descriptor

func (*Bucket) Descriptor() ([]byte, []int)

func (*Bucket) GetAcl

func (m *Bucket) GetAcl() []*BucketAccessControl

func (*Bucket) GetBilling

func (m *Bucket) GetBilling() *Bucket_Billing

func (*Bucket) GetCors

func (m *Bucket) GetCors() []*Bucket_Cors

func (*Bucket) GetDefaultEventBasedHold

func (m *Bucket) GetDefaultEventBasedHold() bool

func (*Bucket) GetDefaultObjectAcl

func (m *Bucket) GetDefaultObjectAcl() []*ObjectAccessControl

func (*Bucket) GetEncryption

func (m *Bucket) GetEncryption() *Bucket_Encryption

func (*Bucket) GetEtag

func (m *Bucket) GetEtag() string

func (*Bucket) GetIamConfiguration

func (m *Bucket) GetIamConfiguration() *Bucket_IamConfiguration

func (*Bucket) GetId

func (m *Bucket) GetId() string

func (*Bucket) GetLabels

func (m *Bucket) GetLabels() map[string]string

func (*Bucket) GetLifecycle

func (m *Bucket) GetLifecycle() *Bucket_Lifecycle

func (*Bucket) GetLocation

func (m *Bucket) GetLocation() string

func (*Bucket) GetLocationType

func (m *Bucket) GetLocationType() string

func (*Bucket) GetLogging

func (m *Bucket) GetLogging() *Bucket_Logging

func (*Bucket) GetMetageneration

func (m *Bucket) GetMetageneration() int64

func (*Bucket) GetName

func (m *Bucket) GetName() string

func (*Bucket) GetOwner

func (m *Bucket) GetOwner() *Owner

func (*Bucket) GetProjectNumber

func (m *Bucket) GetProjectNumber() int64

func (*Bucket) GetRetentionPolicy

func (m *Bucket) GetRetentionPolicy() *Bucket_RetentionPolicy

func (*Bucket) GetStorageClass

func (m *Bucket) GetStorageClass() string

func (*Bucket) GetTimeCreated

func (m *Bucket) GetTimeCreated() *timestamp.Timestamp

func (*Bucket) GetUpdated

func (m *Bucket) GetUpdated() *timestamp.Timestamp

func (*Bucket) GetVersioning

func (m *Bucket) GetVersioning() *Bucket_Versioning

func (*Bucket) GetWebsite

func (m *Bucket) GetWebsite() *Bucket_Website

func (*Bucket) GetZoneAffinity

func (m *Bucket) GetZoneAffinity() []string

func (*Bucket) ProtoMessage

func (*Bucket) ProtoMessage()

func (*Bucket) Reset

func (m *Bucket) Reset()

func (*Bucket) String

func (m *Bucket) String() string

func (*Bucket) XXX_DiscardUnknown

func (m *Bucket) XXX_DiscardUnknown()

func (*Bucket) XXX_Marshal

func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket) XXX_Merge

func (m *Bucket) XXX_Merge(src proto.Message)

func (*Bucket) XXX_Size

func (m *Bucket) XXX_Size() int

func (*Bucket) XXX_Unmarshal

func (m *Bucket) XXX_Unmarshal(b []byte) error

type BucketAccessControl

type BucketAccessControl struct {
	// The access permission for the entity.
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// HTTP 1.1 ["https://tools.ietf.org/html/rfc7232#section-2.3][Entity tag]
	// for the access-control entry.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// The ID of the access-control entry.
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the bucket.
	Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// The entity holding the permission, in one of the following forms:
	// * `user-{userid}`
	// * `user-{email}`
	// * `group-{groupid}`
	// * `group-{email}`
	// * `domain-{domain}`
	// * `project-{team-projectid}`
	// * `allUsers`
	// * `allAuthenticatedUsers`
	// Examples:
	// * The user `liz@example.com` would be `user-liz@example.com`.
	// * The group `example@googlegroups.com` would be
	// `group-example@googlegroups.com`
	// * All members of the Google Apps for Business domain `example.com` would be
	// `domain-example.com`
	Entity string `protobuf:"bytes,6,opt,name=entity,proto3" json:"entity,omitempty"`
	// The ID for the entity, if any.
	EntityId string `protobuf:"bytes,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// The email address associated with the entity, if any.
	Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
	// The domain associated with the entity, if any.
	Domain string `protobuf:"bytes,9,opt,name=domain,proto3" json:"domain,omitempty"`
	// The project team associated with the entity, if any.
	ProjectTeam          *ProjectTeam `protobuf:"bytes,10,opt,name=project_team,json=projectTeam,proto3" json:"project_team,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

An access-control entry.

func (*BucketAccessControl) Descriptor

func (*BucketAccessControl) Descriptor() ([]byte, []int)

func (*BucketAccessControl) GetBucket

func (m *BucketAccessControl) GetBucket() string

func (*BucketAccessControl) GetDomain

func (m *BucketAccessControl) GetDomain() string

func (*BucketAccessControl) GetEmail

func (m *BucketAccessControl) GetEmail() string

func (*BucketAccessControl) GetEntity

func (m *BucketAccessControl) GetEntity() string

func (*BucketAccessControl) GetEntityId

func (m *BucketAccessControl) GetEntityId() string

func (*BucketAccessControl) GetEtag

func (m *BucketAccessControl) GetEtag() string

func (*BucketAccessControl) GetId

func (m *BucketAccessControl) GetId() string

func (*BucketAccessControl) GetProjectTeam

func (m *BucketAccessControl) GetProjectTeam() *ProjectTeam

func (*BucketAccessControl) GetRole

func (m *BucketAccessControl) GetRole() string

func (*BucketAccessControl) ProtoMessage

func (*BucketAccessControl) ProtoMessage()

func (*BucketAccessControl) Reset

func (m *BucketAccessControl) Reset()

func (*BucketAccessControl) String

func (m *BucketAccessControl) String() string

func (*BucketAccessControl) XXX_DiscardUnknown

func (m *BucketAccessControl) XXX_DiscardUnknown()

func (*BucketAccessControl) XXX_Marshal

func (m *BucketAccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BucketAccessControl) XXX_Merge

func (m *BucketAccessControl) XXX_Merge(src proto.Message)

func (*BucketAccessControl) XXX_Size

func (m *BucketAccessControl) XXX_Size() int

func (*BucketAccessControl) XXX_Unmarshal

func (m *BucketAccessControl) XXX_Unmarshal(b []byte) error

type Bucket_Billing

type Bucket_Billing struct {
	// When set to true, Requester Pays is enabled for this bucket.
	RequesterPays        bool     `protobuf:"varint,1,opt,name=requester_pays,json=requesterPays,proto3" json:"requester_pays,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Billing properties of a bucket.

func (*Bucket_Billing) Descriptor

func (*Bucket_Billing) Descriptor() ([]byte, []int)

func (*Bucket_Billing) GetRequesterPays

func (m *Bucket_Billing) GetRequesterPays() bool

func (*Bucket_Billing) ProtoMessage

func (*Bucket_Billing) ProtoMessage()

func (*Bucket_Billing) Reset

func (m *Bucket_Billing) Reset()

func (*Bucket_Billing) String

func (m *Bucket_Billing) String() string

func (*Bucket_Billing) XXX_DiscardUnknown

func (m *Bucket_Billing) XXX_DiscardUnknown()

func (*Bucket_Billing) XXX_Marshal

func (m *Bucket_Billing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Billing) XXX_Merge

func (m *Bucket_Billing) XXX_Merge(src proto.Message)

func (*Bucket_Billing) XXX_Size

func (m *Bucket_Billing) XXX_Size() int

func (*Bucket_Billing) XXX_Unmarshal

func (m *Bucket_Billing) XXX_Unmarshal(b []byte) error

type Bucket_Cors

type Bucket_Cors struct {
	// The list of Origins eligible to receive CORS response headers. See
	// [https://tools.ietf.org/html/rfc6454][RFC 6454] for more on origins.
	// Note: "*" is permitted in the list of origins, and means "any Origin".
	Origin []string `protobuf:"bytes,1,rep,name=origin,proto3" json:"origin,omitempty"`
	// The list of HTTP methods on which to include CORS response headers,
	// (`GET`, `OPTIONS`, `POST`, etc) Note: "*" is permitted in the list of
	// methods, and means "any method".
	Method []string `protobuf:"bytes,2,rep,name=method,proto3" json:"method,omitempty"`
	// The list of HTTP headers other than the
	// [https://www.w3.org/TR/cors/#simple-response-header][simple response
	// headers] to give permission for the user-agent to share across domains.
	ResponseHeader []string `protobuf:"bytes,3,rep,name=response_header,json=responseHeader,proto3" json:"response_header,omitempty"`
	// The value, in seconds, to return in the
	// [https://www.w3.org/TR/cors/#access-control-max-age-response-header][Access-Control-Max-Age
	// header] used in preflight responses.
	MaxAgeSeconds        int32    `protobuf:"varint,4,opt,name=max_age_seconds,json=maxAgeSeconds,proto3" json:"max_age_seconds,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Cross-Origin Response sharing (CORS) properties for a bucket. For more on GCS and CORS, see https://cloud.google.com/storage/docs/cross-origin. For more on CORS in general, see https://tools.ietf.org/html/rfc6454.

func (*Bucket_Cors) Descriptor

func (*Bucket_Cors) Descriptor() ([]byte, []int)

func (*Bucket_Cors) GetMaxAgeSeconds

func (m *Bucket_Cors) GetMaxAgeSeconds() int32

func (*Bucket_Cors) GetMethod

func (m *Bucket_Cors) GetMethod() []string

func (*Bucket_Cors) GetOrigin

func (m *Bucket_Cors) GetOrigin() []string

func (*Bucket_Cors) GetResponseHeader

func (m *Bucket_Cors) GetResponseHeader() []string

func (*Bucket_Cors) ProtoMessage

func (*Bucket_Cors) ProtoMessage()

func (*Bucket_Cors) Reset

func (m *Bucket_Cors) Reset()

func (*Bucket_Cors) String

func (m *Bucket_Cors) String() string

func (*Bucket_Cors) XXX_DiscardUnknown

func (m *Bucket_Cors) XXX_DiscardUnknown()

func (*Bucket_Cors) XXX_Marshal

func (m *Bucket_Cors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Cors) XXX_Merge

func (m *Bucket_Cors) XXX_Merge(src proto.Message)

func (*Bucket_Cors) XXX_Size

func (m *Bucket_Cors) XXX_Size() int

func (*Bucket_Cors) XXX_Unmarshal

func (m *Bucket_Cors) XXX_Unmarshal(b []byte) error

type Bucket_Encryption

type Bucket_Encryption struct {
	// A Cloud KMS key that will be used to encrypt objects inserted into this
	// bucket, if no encryption method is specified.
	DefaultKmsKeyName    string   `protobuf:"bytes,1,opt,name=default_kms_key_name,json=defaultKmsKeyName,proto3" json:"default_kms_key_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Encryption properties of a bucket.

func (*Bucket_Encryption) Descriptor

func (*Bucket_Encryption) Descriptor() ([]byte, []int)

func (*Bucket_Encryption) GetDefaultKmsKeyName

func (m *Bucket_Encryption) GetDefaultKmsKeyName() string

func (*Bucket_Encryption) ProtoMessage

func (*Bucket_Encryption) ProtoMessage()

func (*Bucket_Encryption) Reset

func (m *Bucket_Encryption) Reset()

func (*Bucket_Encryption) String

func (m *Bucket_Encryption) String() string

func (*Bucket_Encryption) XXX_DiscardUnknown

func (m *Bucket_Encryption) XXX_DiscardUnknown()

func (*Bucket_Encryption) XXX_Marshal

func (m *Bucket_Encryption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Encryption) XXX_Merge

func (m *Bucket_Encryption) XXX_Merge(src proto.Message)

func (*Bucket_Encryption) XXX_Size

func (m *Bucket_Encryption) XXX_Size() int

func (*Bucket_Encryption) XXX_Unmarshal

func (m *Bucket_Encryption) XXX_Unmarshal(b []byte) error

type Bucket_IamConfiguration

type Bucket_IamConfiguration struct {
	UniformBucketLevelAccess *Bucket_IamConfiguration_UniformBucketLevelAccess `` /* 137-byte string literal not displayed */
	XXX_NoUnkeyedLiteral     struct{}                                          `json:"-"`
	XXX_unrecognized         []byte                                            `json:"-"`
	XXX_sizecache            int32                                             `json:"-"`
}

Bucket restriction options currently enforced on the bucket.

func (*Bucket_IamConfiguration) Descriptor

func (*Bucket_IamConfiguration) Descriptor() ([]byte, []int)

func (*Bucket_IamConfiguration) GetUniformBucketLevelAccess

func (*Bucket_IamConfiguration) ProtoMessage

func (*Bucket_IamConfiguration) ProtoMessage()

func (*Bucket_IamConfiguration) Reset

func (m *Bucket_IamConfiguration) Reset()

func (*Bucket_IamConfiguration) String

func (m *Bucket_IamConfiguration) String() string

func (*Bucket_IamConfiguration) XXX_DiscardUnknown

func (m *Bucket_IamConfiguration) XXX_DiscardUnknown()

func (*Bucket_IamConfiguration) XXX_Marshal

func (m *Bucket_IamConfiguration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_IamConfiguration) XXX_Merge

func (m *Bucket_IamConfiguration) XXX_Merge(src proto.Message)

func (*Bucket_IamConfiguration) XXX_Size

func (m *Bucket_IamConfiguration) XXX_Size() int

func (*Bucket_IamConfiguration) XXX_Unmarshal

func (m *Bucket_IamConfiguration) XXX_Unmarshal(b []byte) error

type Bucket_IamConfiguration_UniformBucketLevelAccess

type Bucket_IamConfiguration_UniformBucketLevelAccess struct {
	// If set, access checks only use bucket-level IAM policies or above.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The deadline time for changing
	// <code>iamConfiguration.uniformBucketLevelAccess.enabled</code> from
	// true to false in [https://tools.ietf.org/html/rfc3339][RFC 3339]. After
	// the deadline is passed the field is immutable.
	LockedTime           *timestamp.Timestamp `protobuf:"bytes,2,opt,name=locked_time,json=lockedTime,proto3" json:"locked_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Descriptor

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) GetEnabled

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) GetLockedTime

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoMessage

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Reset

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) String

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) XXX_DiscardUnknown

func (m *Bucket_IamConfiguration_UniformBucketLevelAccess) XXX_DiscardUnknown()

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) XXX_Marshal

func (m *Bucket_IamConfiguration_UniformBucketLevelAccess) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) XXX_Merge

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) XXX_Size

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) XXX_Unmarshal

type Bucket_Lifecycle

type Bucket_Lifecycle struct {
	// A lifecycle management rule, which is made of an action to take and the
	// condition(s) under which the action will be taken.
	Rule                 []*Bucket_Lifecycle_Rule `protobuf:"bytes,1,rep,name=rule,proto3" json:"rule,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

Lifecycle properties of a bucket. For more information, see https://cloud.google.com/storage/docs/lifecycle.

func (*Bucket_Lifecycle) Descriptor

func (*Bucket_Lifecycle) Descriptor() ([]byte, []int)

func (*Bucket_Lifecycle) GetRule

func (m *Bucket_Lifecycle) GetRule() []*Bucket_Lifecycle_Rule

func (*Bucket_Lifecycle) ProtoMessage

func (*Bucket_Lifecycle) ProtoMessage()

func (*Bucket_Lifecycle) Reset

func (m *Bucket_Lifecycle) Reset()

func (*Bucket_Lifecycle) String

func (m *Bucket_Lifecycle) String() string

func (*Bucket_Lifecycle) XXX_DiscardUnknown

func (m *Bucket_Lifecycle) XXX_DiscardUnknown()

func (*Bucket_Lifecycle) XXX_Marshal

func (m *Bucket_Lifecycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Lifecycle) XXX_Merge

func (m *Bucket_Lifecycle) XXX_Merge(src proto.Message)

func (*Bucket_Lifecycle) XXX_Size

func (m *Bucket_Lifecycle) XXX_Size() int

func (*Bucket_Lifecycle) XXX_Unmarshal

func (m *Bucket_Lifecycle) XXX_Unmarshal(b []byte) error

type Bucket_Lifecycle_Rule

type Bucket_Lifecycle_Rule struct {
	// The action to take.
	Action *Bucket_Lifecycle_Rule_Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"`
	// The condition(s) under which the action will be taken.
	Condition            *Bucket_Lifecycle_Rule_Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

A lifecycle Rule, combining an action to take on an object and a condition which will trigger that action.

func (*Bucket_Lifecycle_Rule) Descriptor

func (*Bucket_Lifecycle_Rule) Descriptor() ([]byte, []int)

func (*Bucket_Lifecycle_Rule) GetAction

func (*Bucket_Lifecycle_Rule) GetCondition

func (*Bucket_Lifecycle_Rule) ProtoMessage

func (*Bucket_Lifecycle_Rule) ProtoMessage()

func (*Bucket_Lifecycle_Rule) Reset

func (m *Bucket_Lifecycle_Rule) Reset()

func (*Bucket_Lifecycle_Rule) String

func (m *Bucket_Lifecycle_Rule) String() string

func (*Bucket_Lifecycle_Rule) XXX_DiscardUnknown

func (m *Bucket_Lifecycle_Rule) XXX_DiscardUnknown()

func (*Bucket_Lifecycle_Rule) XXX_Marshal

func (m *Bucket_Lifecycle_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Lifecycle_Rule) XXX_Merge

func (m *Bucket_Lifecycle_Rule) XXX_Merge(src proto.Message)

func (*Bucket_Lifecycle_Rule) XXX_Size

func (m *Bucket_Lifecycle_Rule) XXX_Size() int

func (*Bucket_Lifecycle_Rule) XXX_Unmarshal

func (m *Bucket_Lifecycle_Rule) XXX_Unmarshal(b []byte) error

type Bucket_Lifecycle_Rule_Action

type Bucket_Lifecycle_Rule_Action struct {
	// Type of the action. Currently, only `Delete` and
	// `SetStorageClass` are supported.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Target storage class. Required iff the type of the action is
	// SetStorageClass.
	StorageClass         string   `protobuf:"bytes,2,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An action to take on an object.

func (*Bucket_Lifecycle_Rule_Action) Descriptor

func (*Bucket_Lifecycle_Rule_Action) Descriptor() ([]byte, []int)

func (*Bucket_Lifecycle_Rule_Action) GetStorageClass

func (m *Bucket_Lifecycle_Rule_Action) GetStorageClass() string

func (*Bucket_Lifecycle_Rule_Action) GetType

func (m *Bucket_Lifecycle_Rule_Action) GetType() string

func (*Bucket_Lifecycle_Rule_Action) ProtoMessage

func (*Bucket_Lifecycle_Rule_Action) ProtoMessage()

func (*Bucket_Lifecycle_Rule_Action) Reset

func (m *Bucket_Lifecycle_Rule_Action) Reset()

func (*Bucket_Lifecycle_Rule_Action) String

func (*Bucket_Lifecycle_Rule_Action) XXX_DiscardUnknown

func (m *Bucket_Lifecycle_Rule_Action) XXX_DiscardUnknown()

func (*Bucket_Lifecycle_Rule_Action) XXX_Marshal

func (m *Bucket_Lifecycle_Rule_Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Lifecycle_Rule_Action) XXX_Merge

func (m *Bucket_Lifecycle_Rule_Action) XXX_Merge(src proto.Message)

func (*Bucket_Lifecycle_Rule_Action) XXX_Size

func (m *Bucket_Lifecycle_Rule_Action) XXX_Size() int

func (*Bucket_Lifecycle_Rule_Action) XXX_Unmarshal

func (m *Bucket_Lifecycle_Rule_Action) XXX_Unmarshal(b []byte) error

type Bucket_Lifecycle_Rule_Condition

type Bucket_Lifecycle_Rule_Condition struct {
	// Age of an object (in days). This condition is satisfied when an
	// object reaches the specified age.
	Age int32 `protobuf:"varint,1,opt,name=age,proto3" json:"age,omitempty"`
	// A date in [RFC 3339][1] format with only the date part (for
	// instance, "2013-01-15"). This condition is satisfied when an
	// object is created before midnight of the specified date in UTC.
	// [1]: https://tools.ietf.org/html/rfc3339
	CreatedBefore *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"`
	// Relevant only for versioned objects. If the value is
	// `true`, this condition matches live objects; if the value
	// is `false`, it matches archived objects.
	IsLive *wrappers.BoolValue `protobuf:"bytes,3,opt,name=is_live,json=isLive,proto3" json:"is_live,omitempty"`
	// Relevant only for versioned objects. If the value is N, this
	// condition is satisfied when there are at least N versions (including
	// the live version) newer than this version of the object.
	NumNewerVersions int32 `protobuf:"varint,4,opt,name=num_newer_versions,json=numNewerVersions,proto3" json:"num_newer_versions,omitempty"`
	// Objects having any of the storage classes specified by this condition
	// will be matched. Values include `MULTI_REGIONAL`, `REGIONAL`,
	// `NEARLINE`, `COLDLINE`, `STANDARD`, and
	// `DURABLE_REDUCED_AVAILABILITY`.
	MatchesStorageClass []string `protobuf:"bytes,5,rep,name=matches_storage_class,json=matchesStorageClass,proto3" json:"matches_storage_class,omitempty"`
	// A regular expression that satisfies the RE2 syntax. This condition is
	// satisfied when the name of the object matches the RE2 pattern.  Note:
	// This feature is currently in the "Early Access" launch stage and is
	// only available to a whitelisted set of users; that means that this
	// feature may be changed in backward-incompatible ways and that it is
	// not guaranteed to be released.
	MatchesPattern       string   `protobuf:"bytes,6,opt,name=matches_pattern,json=matchesPattern,proto3" json:"matches_pattern,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A condition of an object which triggers some action.

func (*Bucket_Lifecycle_Rule_Condition) Descriptor

func (*Bucket_Lifecycle_Rule_Condition) Descriptor() ([]byte, []int)

func (*Bucket_Lifecycle_Rule_Condition) GetAge

func (*Bucket_Lifecycle_Rule_Condition) GetCreatedBefore

func (m *Bucket_Lifecycle_Rule_Condition) GetCreatedBefore() *timestamp.Timestamp

func (*Bucket_Lifecycle_Rule_Condition) GetIsLive

func (*Bucket_Lifecycle_Rule_Condition) GetMatchesPattern

func (m *Bucket_Lifecycle_Rule_Condition) GetMatchesPattern() string

func (*Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass

func (m *Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass() []string

func (*Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions

func (m *Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions() int32

func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage

func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage()

func (*Bucket_Lifecycle_Rule_Condition) Reset

func (*Bucket_Lifecycle_Rule_Condition) String

func (*Bucket_Lifecycle_Rule_Condition) XXX_DiscardUnknown

func (m *Bucket_Lifecycle_Rule_Condition) XXX_DiscardUnknown()

func (*Bucket_Lifecycle_Rule_Condition) XXX_Marshal

func (m *Bucket_Lifecycle_Rule_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Lifecycle_Rule_Condition) XXX_Merge

func (m *Bucket_Lifecycle_Rule_Condition) XXX_Merge(src proto.Message)

func (*Bucket_Lifecycle_Rule_Condition) XXX_Size

func (m *Bucket_Lifecycle_Rule_Condition) XXX_Size() int

func (*Bucket_Lifecycle_Rule_Condition) XXX_Unmarshal

func (m *Bucket_Lifecycle_Rule_Condition) XXX_Unmarshal(b []byte) error

type Bucket_Logging

type Bucket_Logging struct {
	// The destination bucket where the current bucket's logs should be placed.
	LogBucket string `protobuf:"bytes,1,opt,name=log_bucket,json=logBucket,proto3" json:"log_bucket,omitempty"`
	// A prefix for log object names.
	LogObjectPrefix      string   `protobuf:"bytes,2,opt,name=log_object_prefix,json=logObjectPrefix,proto3" json:"log_object_prefix,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Logging-related properties of a bucket.

func (*Bucket_Logging) Descriptor

func (*Bucket_Logging) Descriptor() ([]byte, []int)

func (*Bucket_Logging) GetLogBucket

func (m *Bucket_Logging) GetLogBucket() string

func (*Bucket_Logging) GetLogObjectPrefix

func (m *Bucket_Logging) GetLogObjectPrefix() string

func (*Bucket_Logging) ProtoMessage

func (*Bucket_Logging) ProtoMessage()

func (*Bucket_Logging) Reset

func (m *Bucket_Logging) Reset()

func (*Bucket_Logging) String

func (m *Bucket_Logging) String() string

func (*Bucket_Logging) XXX_DiscardUnknown

func (m *Bucket_Logging) XXX_DiscardUnknown()

func (*Bucket_Logging) XXX_Marshal

func (m *Bucket_Logging) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Logging) XXX_Merge

func (m *Bucket_Logging) XXX_Merge(src proto.Message)

func (*Bucket_Logging) XXX_Size

func (m *Bucket_Logging) XXX_Size() int

func (*Bucket_Logging) XXX_Unmarshal

func (m *Bucket_Logging) XXX_Unmarshal(b []byte) error

type Bucket_RetentionPolicy

type Bucket_RetentionPolicy struct {
	// Server-determined value that indicates the time from which policy was
	// enforced and effective. This value is in
	// [https://tools.ietf.org/html/rfc3339][RFC 3339] format.
	EffectiveTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"`
	// Once locked, an object retention policy cannot be modified.
	IsLocked bool `protobuf:"varint,2,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"`
	// The duration in seconds that objects need to be retained. Retention
	// duration must be greater than zero and less than 100 years. Note that
	// enforcement of retention periods less than a day is not guaranteed. Such
	// periods should only be used for testing purposes.
	RetentionPeriod      int64    `protobuf:"varint,3,opt,name=retention_period,json=retentionPeriod,proto3" json:"retention_period,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Retention policy properties of a bucket.

func (*Bucket_RetentionPolicy) Descriptor

func (*Bucket_RetentionPolicy) Descriptor() ([]byte, []int)

func (*Bucket_RetentionPolicy) GetEffectiveTime

func (m *Bucket_RetentionPolicy) GetEffectiveTime() *timestamp.Timestamp

func (*Bucket_RetentionPolicy) GetIsLocked

func (m *Bucket_RetentionPolicy) GetIsLocked() bool

func (*Bucket_RetentionPolicy) GetRetentionPeriod

func (m *Bucket_RetentionPolicy) GetRetentionPeriod() int64

func (*Bucket_RetentionPolicy) ProtoMessage

func (*Bucket_RetentionPolicy) ProtoMessage()

func (*Bucket_RetentionPolicy) Reset

func (m *Bucket_RetentionPolicy) Reset()

func (*Bucket_RetentionPolicy) String

func (m *Bucket_RetentionPolicy) String() string

func (*Bucket_RetentionPolicy) XXX_DiscardUnknown

func (m *Bucket_RetentionPolicy) XXX_DiscardUnknown()

func (*Bucket_RetentionPolicy) XXX_Marshal

func (m *Bucket_RetentionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_RetentionPolicy) XXX_Merge

func (m *Bucket_RetentionPolicy) XXX_Merge(src proto.Message)

func (*Bucket_RetentionPolicy) XXX_Size

func (m *Bucket_RetentionPolicy) XXX_Size() int

func (*Bucket_RetentionPolicy) XXX_Unmarshal

func (m *Bucket_RetentionPolicy) XXX_Unmarshal(b []byte) error

type Bucket_Versioning

type Bucket_Versioning struct {
	// While set to true, versioning is fully enabled for this bucket.
	Enabled              bool     `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Properties of a bucket related to versioning. For more on GCS versioning, see https://cloud.google.com/storage/docs/object-versioning.

func (*Bucket_Versioning) Descriptor

func (*Bucket_Versioning) Descriptor() ([]byte, []int)

func (*Bucket_Versioning) GetEnabled

func (m *Bucket_Versioning) GetEnabled() bool

func (*Bucket_Versioning) ProtoMessage

func (*Bucket_Versioning) ProtoMessage()

func (*Bucket_Versioning) Reset

func (m *Bucket_Versioning) Reset()

func (*Bucket_Versioning) String

func (m *Bucket_Versioning) String() string

func (*Bucket_Versioning) XXX_DiscardUnknown

func (m *Bucket_Versioning) XXX_DiscardUnknown()

func (*Bucket_Versioning) XXX_Marshal

func (m *Bucket_Versioning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Versioning) XXX_Merge

func (m *Bucket_Versioning) XXX_Merge(src proto.Message)

func (*Bucket_Versioning) XXX_Size

func (m *Bucket_Versioning) XXX_Size() int

func (*Bucket_Versioning) XXX_Unmarshal

func (m *Bucket_Versioning) XXX_Unmarshal(b []byte) error

type Bucket_Website

type Bucket_Website struct {
	// If the requested object path is missing, the service will ensure the path
	// has a trailing '/', append this suffix, and attempt to retrieve the
	// resulting object. This allows the creation of `index.html`
	// objects to represent directory pages.
	MainPageSuffix string `protobuf:"bytes,1,opt,name=main_page_suffix,json=mainPageSuffix,proto3" json:"main_page_suffix,omitempty"`
	// If the requested object path is missing, and any
	// `mainPageSuffix` object is missing, if applicable, the service
	// will return the named object from this bucket as the content for a
	// [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found]
	// result.
	NotFoundPage         string   `protobuf:"bytes,2,opt,name=not_found_page,json=notFoundPage,proto3" json:"not_found_page,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Properties of a bucket related to accessing the contents as a static website. For more on hosting a static website via GCS, see https://cloud.google.com/storage/docs/hosting-static-website.

func (*Bucket_Website) Descriptor

func (*Bucket_Website) Descriptor() ([]byte, []int)

func (*Bucket_Website) GetMainPageSuffix

func (m *Bucket_Website) GetMainPageSuffix() string

func (*Bucket_Website) GetNotFoundPage

func (m *Bucket_Website) GetNotFoundPage() string

func (*Bucket_Website) ProtoMessage

func (*Bucket_Website) ProtoMessage()

func (*Bucket_Website) Reset

func (m *Bucket_Website) Reset()

func (*Bucket_Website) String

func (m *Bucket_Website) String() string

func (*Bucket_Website) XXX_DiscardUnknown

func (m *Bucket_Website) XXX_DiscardUnknown()

func (*Bucket_Website) XXX_Marshal

func (m *Bucket_Website) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Bucket_Website) XXX_Merge

func (m *Bucket_Website) XXX_Merge(src proto.Message)

func (*Bucket_Website) XXX_Size

func (m *Bucket_Website) XXX_Size() int

func (*Bucket_Website) XXX_Unmarshal

func (m *Bucket_Website) XXX_Unmarshal(b []byte) error

type Channel

type Channel struct {
	// A UUID or similar unique string that identifies this channel.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// An opaque ID that identifies the resource being watched on this channel.
	// Stable across different API versions.
	ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// A version-specific identifier for the watched resource.
	ResourceUri string `protobuf:"bytes,3,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"`
	// An arbitrary string delivered to the target address with each notification
	// delivered over this channel. Optional.
	Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	// Date and time of notification channel expiration. Optional.
	Expiration *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"`
	// The type of delivery mechanism used for this channel.
	Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	// The address where notifications are delivered for this channel.
	Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"`
	// Additional parameters controlling delivery channel behavior. Optional.
	Params map[string]string `` /* 153-byte string literal not displayed */
	// A Boolean value to indicate whether payload is wanted. Optional.
	Payload              bool     `protobuf:"varint,9,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

An notification channel used to watch for resource changes.

func (*Channel) Descriptor

func (*Channel) Descriptor() ([]byte, []int)

func (*Channel) GetAddress

func (m *Channel) GetAddress() string

func (*Channel) GetExpiration

func (m *Channel) GetExpiration() *timestamp.Timestamp

func (*Channel) GetId

func (m *Channel) GetId() string

func (*Channel) GetParams

func (m *Channel) GetParams() map[string]string

func (*Channel) GetPayload

func (m *Channel) GetPayload() bool

func (*Channel) GetResourceId

func (m *Channel) GetResourceId() string

func (*Channel) GetResourceUri

func (m *Channel) GetResourceUri() string

func (*Channel) GetToken

func (m *Channel) GetToken() string

func (*Channel) GetType

func (m *Channel) GetType() string

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) Reset

func (m *Channel) Reset()

func (*Channel) String

func (m *Channel) String() string

func (*Channel) XXX_DiscardUnknown

func (m *Channel) XXX_DiscardUnknown()

func (*Channel) XXX_Marshal

func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Channel) XXX_Merge

func (m *Channel) XXX_Merge(src proto.Message)

func (*Channel) XXX_Size

func (m *Channel) XXX_Size() int

func (*Channel) XXX_Unmarshal

func (m *Channel) XXX_Unmarshal(b []byte) error

type ChecksummedData

type ChecksummedData struct {
	// The data.
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// CRC32C digest of the contents.
	Crc32C               *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=crc32c,proto3" json:"crc32c,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Message used to convey content being read or written, along with its checksum.

func (*ChecksummedData) Descriptor

func (*ChecksummedData) Descriptor() ([]byte, []int)

func (*ChecksummedData) GetContent

func (m *ChecksummedData) GetContent() []byte

func (*ChecksummedData) GetCrc32C

func (m *ChecksummedData) GetCrc32C() *wrappers.UInt32Value

func (*ChecksummedData) ProtoMessage

func (*ChecksummedData) ProtoMessage()

func (*ChecksummedData) Reset

func (m *ChecksummedData) Reset()

func (*ChecksummedData) String

func (m *ChecksummedData) String() string

func (*ChecksummedData) XXX_DiscardUnknown

func (m *ChecksummedData) XXX_DiscardUnknown()

func (*ChecksummedData) XXX_Marshal

func (m *ChecksummedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChecksummedData) XXX_Merge

func (m *ChecksummedData) XXX_Merge(src proto.Message)

func (*ChecksummedData) XXX_Size

func (m *ChecksummedData) XXX_Size() int

func (*ChecksummedData) XXX_Unmarshal

func (m *ChecksummedData) XXX_Unmarshal(b []byte) error

type CommonEnums

type CommonEnums struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A collection of enums used in multiple places throughout the API.

func (*CommonEnums) Descriptor

func (*CommonEnums) Descriptor() ([]byte, []int)

func (*CommonEnums) ProtoMessage

func (*CommonEnums) ProtoMessage()

func (*CommonEnums) Reset

func (m *CommonEnums) Reset()

func (*CommonEnums) String

func (m *CommonEnums) String() string

func (*CommonEnums) XXX_DiscardUnknown

func (m *CommonEnums) XXX_DiscardUnknown()

func (*CommonEnums) XXX_Marshal

func (m *CommonEnums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommonEnums) XXX_Merge

func (m *CommonEnums) XXX_Merge(src proto.Message)

func (*CommonEnums) XXX_Size

func (m *CommonEnums) XXX_Size() int

func (*CommonEnums) XXX_Unmarshal

func (m *CommonEnums) XXX_Unmarshal(b []byte) error

type CommonEnums_PredefinedBucketAcl

type CommonEnums_PredefinedBucketAcl int32

Predefined or "canned" aliases for sets of specific bucket ACL entries.

const (
	// No predefined ACL.
	CommonEnums_PREDEFINED_BUCKET_ACL_UNSPECIFIED CommonEnums_PredefinedBucketAcl = 0
	// Project team owners get `OWNER` access, and
	// `allAuthenticatedUsers` get `READER` access.
	CommonEnums_BUCKET_ACL_AUTHENTICATED_READ CommonEnums_PredefinedBucketAcl = 1
	// Project team owners get `OWNER` access.
	CommonEnums_BUCKET_ACL_PRIVATE CommonEnums_PredefinedBucketAcl = 2
	// Project team members get access according to their roles.
	CommonEnums_BUCKET_ACL_PROJECT_PRIVATE CommonEnums_PredefinedBucketAcl = 3
	// Project team owners get `OWNER` access, and
	// `allUsers` get `READER` access.
	CommonEnums_BUCKET_ACL_PUBLIC_READ CommonEnums_PredefinedBucketAcl = 4
	// Project team owners get `OWNER` access, and
	// `allUsers` get `WRITER` access.
	CommonEnums_BUCKET_ACL_PUBLIC_READ_WRITE CommonEnums_PredefinedBucketAcl = 5
)

func (CommonEnums_PredefinedBucketAcl) EnumDescriptor

func (CommonEnums_PredefinedBucketAcl) EnumDescriptor() ([]byte, []int)

func (CommonEnums_PredefinedBucketAcl) String

type CommonEnums_PredefinedObjectAcl

type CommonEnums_PredefinedObjectAcl int32

Predefined or "canned" aliases for sets of specific object ACL entries.

const (
	// No predefined ACL.
	CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED CommonEnums_PredefinedObjectAcl = 0
	// Object owner gets `OWNER` access, and
	// `allAuthenticatedUsers` get `READER` access.
	CommonEnums_OBJECT_ACL_AUTHENTICATED_READ CommonEnums_PredefinedObjectAcl = 1
	// Object owner gets `OWNER` access, and project team owners get
	// `OWNER` access.
	CommonEnums_OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL CommonEnums_PredefinedObjectAcl = 2
	// Object owner gets `OWNER` access, and project team owners get
	// `READER` access.
	CommonEnums_OBJECT_ACL_BUCKET_OWNER_READ CommonEnums_PredefinedObjectAcl = 3
	// Object owner gets `OWNER` access.
	CommonEnums_OBJECT_ACL_PRIVATE CommonEnums_PredefinedObjectAcl = 4
	// Object owner gets `OWNER` access, and project team members get
	// access according to their roles.
	CommonEnums_OBJECT_ACL_PROJECT_PRIVATE CommonEnums_PredefinedObjectAcl = 5
	// Object owner gets `OWNER` access, and `allUsers`
	// get `READER` access.
	CommonEnums_OBJECT_ACL_PUBLIC_READ CommonEnums_PredefinedObjectAcl = 6
)

func (CommonEnums_PredefinedObjectAcl) EnumDescriptor

func (CommonEnums_PredefinedObjectAcl) EnumDescriptor() ([]byte, []int)

func (CommonEnums_PredefinedObjectAcl) String

type CommonEnums_Projection

type CommonEnums_Projection int32

A set of properties to return in a response.

const (
	// No specified projection.
	CommonEnums_PROJECTION_UNSPECIFIED CommonEnums_Projection = 0
	// Omit `owner`, `acl`, and `defaultObjectAcl` properties.
	CommonEnums_NO_ACL CommonEnums_Projection = 1
	// Include all properties.
	CommonEnums_FULL CommonEnums_Projection = 2
)

func (CommonEnums_Projection) EnumDescriptor

func (CommonEnums_Projection) EnumDescriptor() ([]byte, []int)

func (CommonEnums_Projection) String

func (x CommonEnums_Projection) String() string

type CommonObjectRequestParams

type CommonObjectRequestParams struct {
	// Encryption algorithm used with Customer-Supplied Encryption Keys feature.
	EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"`
	// Encryption key used with Customer-Supplied Encryption Keys feature.
	EncryptionKey string `protobuf:"bytes,2,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
	// SHA256 hash of encryption key used with Customer-Supplied Encryption Keys
	// feature.
	EncryptionKeySha256  string   `protobuf:"bytes,3,opt,name=encryption_key_sha256,json=encryptionKeySha256,proto3" json:"encryption_key_sha256,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Parameters that can be passed to any object request.

func (*CommonObjectRequestParams) Descriptor

func (*CommonObjectRequestParams) Descriptor() ([]byte, []int)

func (*CommonObjectRequestParams) GetEncryptionAlgorithm

func (m *CommonObjectRequestParams) GetEncryptionAlgorithm() string

func (*CommonObjectRequestParams) GetEncryptionKey

func (m *CommonObjectRequestParams) GetEncryptionKey() string

func (*CommonObjectRequestParams) GetEncryptionKeySha256

func (m *CommonObjectRequestParams) GetEncryptionKeySha256() string

func (*CommonObjectRequestParams) ProtoMessage

func (*CommonObjectRequestParams) ProtoMessage()

func (*CommonObjectRequestParams) Reset

func (m *CommonObjectRequestParams) Reset()

func (*CommonObjectRequestParams) String

func (m *CommonObjectRequestParams) String() string

func (*CommonObjectRequestParams) XXX_DiscardUnknown

func (m *CommonObjectRequestParams) XXX_DiscardUnknown()

func (*CommonObjectRequestParams) XXX_Marshal

func (m *CommonObjectRequestParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommonObjectRequestParams) XXX_Merge

func (m *CommonObjectRequestParams) XXX_Merge(src proto.Message)

func (*CommonObjectRequestParams) XXX_Size

func (m *CommonObjectRequestParams) XXX_Size() int

func (*CommonObjectRequestParams) XXX_Unmarshal

func (m *CommonObjectRequestParams) XXX_Unmarshal(b []byte) error

type CommonRequestParams

type CommonRequestParams struct {
	// Required. Required when using buckets with Requestor Pays feature enabled.
	UserProject string `protobuf:"bytes,1,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"`
	// Lets you enforce per-user quotas from a server-side application even in
	// cases when the user's IP address is unknown. This can occur, for example,
	// with applications that run cron jobs on App Engine on a user's behalf.
	// You can choose any arbitrary string that uniquely identifies a user, but it
	// is limited to 40 characters.
	// Overrides user_ip if both are provided.
	QuotaUser string `protobuf:"bytes,2,opt,name=quota_user,json=quotaUser,proto3" json:"quota_user,omitempty"`
	// Subset of fields to include in the response.
	Fields               *field_mask.FieldMask `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Parameters that can be passed to any request.

func (*CommonRequestParams) Descriptor

func (*CommonRequestParams) Descriptor() ([]byte, []int)

func (*CommonRequestParams) GetFields

func (m *CommonRequestParams) GetFields() *field_mask.FieldMask

func (*CommonRequestParams) GetQuotaUser

func (m *CommonRequestParams) GetQuotaUser() string

func (*CommonRequestParams) GetUserProject

func (m *CommonRequestParams) GetUserProject() string

func (*CommonRequestParams) ProtoMessage

func (*CommonRequestParams) ProtoMessage()

func (*CommonRequestParams) Reset

func (m *CommonRequestParams) Reset()

func (*CommonRequestParams) String

func (m *CommonRequestParams) String() string

func (*CommonRequestParams) XXX_DiscardUnknown

func (m *CommonRequestParams) XXX_DiscardUnknown()

func (*CommonRequestParams) XXX_Marshal

func (m *CommonRequestParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommonRequestParams) XXX_Merge

func (m *CommonRequestParams) XXX_Merge(src proto.Message)

func (*CommonRequestParams) XXX_Size

func (m *CommonRequestParams) XXX_Size() int

func (*CommonRequestParams) XXX_Unmarshal

func (m *CommonRequestParams) XXX_Unmarshal(b []byte) error

type ComposeObjectRequest

type ComposeObjectRequest struct {
	// Required. Name of the bucket containing the source objects. The destination object is
	// stored in this bucket.
	DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"`
	// Required. Name of the new object.
	DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"`
	// Apply a predefined set of access controls to the destination object.
	DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 191-byte string literal not displayed */
	// Properties of the resulting object.
	Destination *Object `protobuf:"bytes,11,opt,name=destination,proto3" json:"destination,omitempty"`
	// The list of source objects that will be concatenated into a single object.
	SourceObjects []*ComposeObjectRequest_SourceObjects `protobuf:"bytes,12,rep,name=source_objects,json=sourceObjects,proto3" json:"source_objects,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Resource name of the Cloud KMS key, of the form
	// `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`,
	// that will be used to encrypt the object. Overrides the object
	// metadata's `kms_key_name` value, if any.
	KmsKeyName string `protobuf:"bytes,6,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for ComposeObject.

func (*ComposeObjectRequest) Descriptor

func (*ComposeObjectRequest) Descriptor() ([]byte, []int)

func (*ComposeObjectRequest) GetCommonObjectRequestParams

func (m *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*ComposeObjectRequest) GetCommonRequestParams

func (m *ComposeObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*ComposeObjectRequest) GetDestination

func (m *ComposeObjectRequest) GetDestination() *Object

func (*ComposeObjectRequest) GetDestinationBucket

func (m *ComposeObjectRequest) GetDestinationBucket() string

func (*ComposeObjectRequest) GetDestinationObject

func (m *ComposeObjectRequest) GetDestinationObject() string

func (*ComposeObjectRequest) GetDestinationPredefinedAcl

func (m *ComposeObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*ComposeObjectRequest) GetIfGenerationMatch

func (m *ComposeObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value

func (*ComposeObjectRequest) GetIfMetagenerationMatch

func (m *ComposeObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*ComposeObjectRequest) GetKmsKeyName

func (m *ComposeObjectRequest) GetKmsKeyName() string

func (*ComposeObjectRequest) GetSourceObjects

func (*ComposeObjectRequest) ProtoMessage

func (*ComposeObjectRequest) ProtoMessage()

func (*ComposeObjectRequest) Reset

func (m *ComposeObjectRequest) Reset()

func (*ComposeObjectRequest) String

func (m *ComposeObjectRequest) String() string

func (*ComposeObjectRequest) XXX_DiscardUnknown

func (m *ComposeObjectRequest) XXX_DiscardUnknown()

func (*ComposeObjectRequest) XXX_Marshal

func (m *ComposeObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComposeObjectRequest) XXX_Merge

func (m *ComposeObjectRequest) XXX_Merge(src proto.Message)

func (*ComposeObjectRequest) XXX_Size

func (m *ComposeObjectRequest) XXX_Size() int

func (*ComposeObjectRequest) XXX_Unmarshal

func (m *ComposeObjectRequest) XXX_Unmarshal(b []byte) error

type ComposeObjectRequest_SourceObjects

type ComposeObjectRequest_SourceObjects struct {
	// The source object's name. All source objects must reside in the same
	// bucket.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The generation of this object to use as the source.
	Generation int64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"`
	// Conditions that must be met for this operation to execute.
	ObjectPreconditions  *ComposeObjectRequest_SourceObjects_ObjectPreconditions `protobuf:"bytes,3,opt,name=object_preconditions,json=objectPreconditions,proto3" json:"object_preconditions,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                `json:"-"`
	XXX_unrecognized     []byte                                                  `json:"-"`
	XXX_sizecache        int32                                                   `json:"-"`
}

Description of a source object for a composition request.

func (*ComposeObjectRequest_SourceObjects) Descriptor

func (*ComposeObjectRequest_SourceObjects) Descriptor() ([]byte, []int)

func (*ComposeObjectRequest_SourceObjects) GetGeneration

func (m *ComposeObjectRequest_SourceObjects) GetGeneration() int64

func (*ComposeObjectRequest_SourceObjects) GetName

func (*ComposeObjectRequest_SourceObjects) GetObjectPreconditions

func (*ComposeObjectRequest_SourceObjects) ProtoMessage

func (*ComposeObjectRequest_SourceObjects) ProtoMessage()

func (*ComposeObjectRequest_SourceObjects) Reset

func (*ComposeObjectRequest_SourceObjects) String

func (*ComposeObjectRequest_SourceObjects) XXX_DiscardUnknown

func (m *ComposeObjectRequest_SourceObjects) XXX_DiscardUnknown()

func (*ComposeObjectRequest_SourceObjects) XXX_Marshal

func (m *ComposeObjectRequest_SourceObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComposeObjectRequest_SourceObjects) XXX_Merge

func (*ComposeObjectRequest_SourceObjects) XXX_Size

func (*ComposeObjectRequest_SourceObjects) XXX_Unmarshal

func (m *ComposeObjectRequest_SourceObjects) XXX_Unmarshal(b []byte) error

type ComposeObjectRequest_SourceObjects_ObjectPreconditions

type ComposeObjectRequest_SourceObjects_ObjectPreconditions struct {
	// Only perform the composition if the generation of the source object
	// that would be used matches this value.  If this value and a generation
	// are both specified, they must be the same value or the call will fail.
	IfGenerationMatch    *wrappers.Int64Value `protobuf:"bytes,1,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Preconditions for a source object of a composition request.

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) String

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_DiscardUnknown

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Marshal

func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Merge

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Size

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Unmarshal

type ContentRange

type ContentRange struct {
	// The starting offset of the object data.
	Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	// The ending offset of the object data.
	End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// The complete length of the object data.
	CompleteLength       int64    `protobuf:"varint,3,opt,name=complete_length,json=completeLength,proto3" json:"complete_length,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Specifies a requested range of bytes to download.

func (*ContentRange) Descriptor

func (*ContentRange) Descriptor() ([]byte, []int)

func (*ContentRange) GetCompleteLength

func (m *ContentRange) GetCompleteLength() int64

func (*ContentRange) GetEnd

func (m *ContentRange) GetEnd() int64

func (*ContentRange) GetStart

func (m *ContentRange) GetStart() int64

func (*ContentRange) ProtoMessage

func (*ContentRange) ProtoMessage()

func (*ContentRange) Reset

func (m *ContentRange) Reset()

func (*ContentRange) String

func (m *ContentRange) String() string

func (*ContentRange) XXX_DiscardUnknown

func (m *ContentRange) XXX_DiscardUnknown()

func (*ContentRange) XXX_Marshal

func (m *ContentRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContentRange) XXX_Merge

func (m *ContentRange) XXX_Merge(src proto.Message)

func (*ContentRange) XXX_Size

func (m *ContentRange) XXX_Size() int

func (*ContentRange) XXX_Unmarshal

func (m *ContentRange) XXX_Unmarshal(b []byte) error

type CopyObjectRequest

type CopyObjectRequest struct {
	// Required. Name of the bucket in which to store the new object. Overrides the provided
	// object
	// metadata's `bucket` value, if any.
	DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"`
	// Required. Name of the new object.
	// Required when the object metadata is not otherwise provided. Overrides the
	// object metadata's `name` value, if any.
	DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"`
	// Apply a predefined set of access controls to the destination object.
	DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 191-byte string literal not displayed */
	// Makes the operation conditional on whether the destination object's current
	// generation matches the given value. Setting to 0 makes the operation
	// succeed only if there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the destination object's current
	// generation does not match the given value. If no live object exists, the
	// precondition fails. Setting to 0 makes the operation succeed only if there
	// is a live version of the object.
	IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the destination object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the operation conditional on whether the destination object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// generation matches the given value.
	IfSourceGenerationMatch *wrappers.Int64Value `` /* 134-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// generation does not match the given value.
	IfSourceGenerationNotMatch *wrappers.Int64Value `` /* 145-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// metageneration matches the given value.
	IfSourceMetagenerationMatch *wrappers.Int64Value `` /* 147-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// metageneration does not match the given value.
	IfSourceMetagenerationNotMatch *wrappers.Int64Value `` /* 158-byte string literal not displayed */
	// Set of properties to return. Defaults to `NO_ACL`, unless the
	// object resource specifies the `acl` property, when it defaults
	// to `full`.
	Projection CommonEnums_Projection `protobuf:"varint,12,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// Required. Name of the bucket in which to find the source object.
	SourceBucket string `protobuf:"bytes,13,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"`
	// Required. Name of the source object.
	SourceObject string `protobuf:"bytes,14,opt,name=source_object,json=sourceObject,proto3" json:"source_object,omitempty"`
	// If present, selects a specific revision of the source object (as opposed to
	// the latest version, the default).
	SourceGeneration int64 `protobuf:"varint,15,opt,name=source_generation,json=sourceGeneration,proto3" json:"source_generation,omitempty"`
	// Properties of the resulting object. If not set, duplicate properties of
	// source object.
	Destination *Object `protobuf:"bytes,17,opt,name=destination,proto3" json:"destination,omitempty"`
	// Resource name of the Cloud KMS key, of the form
	// `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`,
	// that will be used to encrypt the object. Overrides the object
	// metadata's `kms_key_name` value, if any.
	DestinationKmsKeyName string `` /* 129-byte string literal not displayed */
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,19,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for CopyObject.

func (*CopyObjectRequest) Descriptor

func (*CopyObjectRequest) Descriptor() ([]byte, []int)

func (*CopyObjectRequest) GetCommonObjectRequestParams

func (m *CopyObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*CopyObjectRequest) GetCommonRequestParams

func (m *CopyObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*CopyObjectRequest) GetDestination

func (m *CopyObjectRequest) GetDestination() *Object

func (*CopyObjectRequest) GetDestinationBucket

func (m *CopyObjectRequest) GetDestinationBucket() string

func (*CopyObjectRequest) GetDestinationKmsKeyName

func (m *CopyObjectRequest) GetDestinationKmsKeyName() string

func (*CopyObjectRequest) GetDestinationObject

func (m *CopyObjectRequest) GetDestinationObject() string

func (*CopyObjectRequest) GetDestinationPredefinedAcl

func (m *CopyObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*CopyObjectRequest) GetIfGenerationMatch

func (m *CopyObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value

func (*CopyObjectRequest) GetIfGenerationNotMatch

func (m *CopyObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value

func (*CopyObjectRequest) GetIfMetagenerationMatch

func (m *CopyObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*CopyObjectRequest) GetIfMetagenerationNotMatch

func (m *CopyObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*CopyObjectRequest) GetIfSourceGenerationMatch

func (m *CopyObjectRequest) GetIfSourceGenerationMatch() *wrappers.Int64Value

func (*CopyObjectRequest) GetIfSourceGenerationNotMatch

func (m *CopyObjectRequest) GetIfSourceGenerationNotMatch() *wrappers.Int64Value

func (*CopyObjectRequest) GetIfSourceMetagenerationMatch

func (m *CopyObjectRequest) GetIfSourceMetagenerationMatch() *wrappers.Int64Value

func (*CopyObjectRequest) GetIfSourceMetagenerationNotMatch

func (m *CopyObjectRequest) GetIfSourceMetagenerationNotMatch() *wrappers.Int64Value

func (*CopyObjectRequest) GetProjection

func (m *CopyObjectRequest) GetProjection() CommonEnums_Projection

func (*CopyObjectRequest) GetSourceBucket

func (m *CopyObjectRequest) GetSourceBucket() string

func (*CopyObjectRequest) GetSourceGeneration

func (m *CopyObjectRequest) GetSourceGeneration() int64

func (*CopyObjectRequest) GetSourceObject

func (m *CopyObjectRequest) GetSourceObject() string

func (*CopyObjectRequest) ProtoMessage

func (*CopyObjectRequest) ProtoMessage()

func (*CopyObjectRequest) Reset

func (m *CopyObjectRequest) Reset()

func (*CopyObjectRequest) String

func (m *CopyObjectRequest) String() string

func (*CopyObjectRequest) XXX_DiscardUnknown

func (m *CopyObjectRequest) XXX_DiscardUnknown()

func (*CopyObjectRequest) XXX_Marshal

func (m *CopyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CopyObjectRequest) XXX_Merge

func (m *CopyObjectRequest) XXX_Merge(src proto.Message)

func (*CopyObjectRequest) XXX_Size

func (m *CopyObjectRequest) XXX_Size() int

func (*CopyObjectRequest) XXX_Unmarshal

func (m *CopyObjectRequest) XXX_Unmarshal(b []byte) error

type CreateHmacKeyRequest

type CreateHmacKeyRequest struct {
	// Required. The project that the HMAC-owning service account lives in.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Required. The service account to create the HMAC for.
	ServiceAccountEmail string `protobuf:"bytes,2,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*CreateHmacKeyRequest) Descriptor

func (*CreateHmacKeyRequest) Descriptor() ([]byte, []int)

func (*CreateHmacKeyRequest) GetCommonRequestParams

func (m *CreateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*CreateHmacKeyRequest) GetProjectId

func (m *CreateHmacKeyRequest) GetProjectId() string

func (*CreateHmacKeyRequest) GetServiceAccountEmail

func (m *CreateHmacKeyRequest) GetServiceAccountEmail() string

func (*CreateHmacKeyRequest) ProtoMessage

func (*CreateHmacKeyRequest) ProtoMessage()

func (*CreateHmacKeyRequest) Reset

func (m *CreateHmacKeyRequest) Reset()

func (*CreateHmacKeyRequest) String

func (m *CreateHmacKeyRequest) String() string

func (*CreateHmacKeyRequest) XXX_DiscardUnknown

func (m *CreateHmacKeyRequest) XXX_DiscardUnknown()

func (*CreateHmacKeyRequest) XXX_Marshal

func (m *CreateHmacKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateHmacKeyRequest) XXX_Merge

func (m *CreateHmacKeyRequest) XXX_Merge(src proto.Message)

func (*CreateHmacKeyRequest) XXX_Size

func (m *CreateHmacKeyRequest) XXX_Size() int

func (*CreateHmacKeyRequest) XXX_Unmarshal

func (m *CreateHmacKeyRequest) XXX_Unmarshal(b []byte) error

type CreateHmacKeyResponse

type CreateHmacKeyResponse struct {
	// Key metadata.
	Metadata *HmacKeyMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// HMAC key secret material.
	Secret               string   `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Create hmac response. The only time the secret for an HMAC will be returned.

func (*CreateHmacKeyResponse) Descriptor

func (*CreateHmacKeyResponse) Descriptor() ([]byte, []int)

func (*CreateHmacKeyResponse) GetMetadata

func (m *CreateHmacKeyResponse) GetMetadata() *HmacKeyMetadata

func (*CreateHmacKeyResponse) GetSecret

func (m *CreateHmacKeyResponse) GetSecret() string

func (*CreateHmacKeyResponse) ProtoMessage

func (*CreateHmacKeyResponse) ProtoMessage()

func (*CreateHmacKeyResponse) Reset

func (m *CreateHmacKeyResponse) Reset()

func (*CreateHmacKeyResponse) String

func (m *CreateHmacKeyResponse) String() string

func (*CreateHmacKeyResponse) XXX_DiscardUnknown

func (m *CreateHmacKeyResponse) XXX_DiscardUnknown()

func (*CreateHmacKeyResponse) XXX_Marshal

func (m *CreateHmacKeyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateHmacKeyResponse) XXX_Merge

func (m *CreateHmacKeyResponse) XXX_Merge(src proto.Message)

func (*CreateHmacKeyResponse) XXX_Size

func (m *CreateHmacKeyResponse) XXX_Size() int

func (*CreateHmacKeyResponse) XXX_Unmarshal

func (m *CreateHmacKeyResponse) XXX_Unmarshal(b []byte) error

type DeleteBucketAccessControlRequest

type DeleteBucketAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for DeleteBucketAccessControl.

func (*DeleteBucketAccessControlRequest) Descriptor

func (*DeleteBucketAccessControlRequest) Descriptor() ([]byte, []int)

func (*DeleteBucketAccessControlRequest) GetBucket

func (*DeleteBucketAccessControlRequest) GetCommonRequestParams

func (m *DeleteBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteBucketAccessControlRequest) GetEntity

func (*DeleteBucketAccessControlRequest) ProtoMessage

func (*DeleteBucketAccessControlRequest) ProtoMessage()

func (*DeleteBucketAccessControlRequest) Reset

func (*DeleteBucketAccessControlRequest) String

func (*DeleteBucketAccessControlRequest) XXX_DiscardUnknown

func (m *DeleteBucketAccessControlRequest) XXX_DiscardUnknown()

func (*DeleteBucketAccessControlRequest) XXX_Marshal

func (m *DeleteBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteBucketAccessControlRequest) XXX_Merge

func (*DeleteBucketAccessControlRequest) XXX_Size

func (m *DeleteBucketAccessControlRequest) XXX_Size() int

func (*DeleteBucketAccessControlRequest) XXX_Unmarshal

func (m *DeleteBucketAccessControlRequest) XXX_Unmarshal(b []byte) error

type DeleteBucketRequest

type DeleteBucketRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// If set, only deletes the bucket if its metageneration matches this value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// If set, only deletes the bucket if its metageneration does not match this
	// value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for DeleteBucket.

func (*DeleteBucketRequest) Descriptor

func (*DeleteBucketRequest) Descriptor() ([]byte, []int)

func (*DeleteBucketRequest) GetBucket

func (m *DeleteBucketRequest) GetBucket() string

func (*DeleteBucketRequest) GetCommonRequestParams

func (m *DeleteBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteBucketRequest) GetIfMetagenerationMatch

func (m *DeleteBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*DeleteBucketRequest) GetIfMetagenerationNotMatch

func (m *DeleteBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*DeleteBucketRequest) ProtoMessage

func (*DeleteBucketRequest) ProtoMessage()

func (*DeleteBucketRequest) Reset

func (m *DeleteBucketRequest) Reset()

func (*DeleteBucketRequest) String

func (m *DeleteBucketRequest) String() string

func (*DeleteBucketRequest) XXX_DiscardUnknown

func (m *DeleteBucketRequest) XXX_DiscardUnknown()

func (*DeleteBucketRequest) XXX_Marshal

func (m *DeleteBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteBucketRequest) XXX_Merge

func (m *DeleteBucketRequest) XXX_Merge(src proto.Message)

func (*DeleteBucketRequest) XXX_Size

func (m *DeleteBucketRequest) XXX_Size() int

func (*DeleteBucketRequest) XXX_Unmarshal

func (m *DeleteBucketRequest) XXX_Unmarshal(b []byte) error

type DeleteDefaultObjectAccessControlRequest

type DeleteDefaultObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for DeleteDefaultObjectAccessControl.

func (*DeleteDefaultObjectAccessControlRequest) Descriptor

func (*DeleteDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*DeleteDefaultObjectAccessControlRequest) GetBucket

func (*DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams

func (m *DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteDefaultObjectAccessControlRequest) GetEntity

func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage

func (*DeleteDefaultObjectAccessControlRequest) Reset

func (*DeleteDefaultObjectAccessControlRequest) String

func (*DeleteDefaultObjectAccessControlRequest) XXX_DiscardUnknown

func (m *DeleteDefaultObjectAccessControlRequest) XXX_DiscardUnknown()

func (*DeleteDefaultObjectAccessControlRequest) XXX_Marshal

func (m *DeleteDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteDefaultObjectAccessControlRequest) XXX_Merge

func (*DeleteDefaultObjectAccessControlRequest) XXX_Size

func (*DeleteDefaultObjectAccessControlRequest) XXX_Unmarshal

func (m *DeleteDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type DeleteHmacKeyRequest

type DeleteHmacKeyRequest struct {
	// Required. The identifying key for the HMAC to delete.
	AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	// Required. The project id the HMAC key lies in.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request object to delete a given HMAC key.

func (*DeleteHmacKeyRequest) Descriptor

func (*DeleteHmacKeyRequest) Descriptor() ([]byte, []int)

func (*DeleteHmacKeyRequest) GetAccessId

func (m *DeleteHmacKeyRequest) GetAccessId() string

func (*DeleteHmacKeyRequest) GetCommonRequestParams

func (m *DeleteHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteHmacKeyRequest) GetProjectId

func (m *DeleteHmacKeyRequest) GetProjectId() string

func (*DeleteHmacKeyRequest) ProtoMessage

func (*DeleteHmacKeyRequest) ProtoMessage()

func (*DeleteHmacKeyRequest) Reset

func (m *DeleteHmacKeyRequest) Reset()

func (*DeleteHmacKeyRequest) String

func (m *DeleteHmacKeyRequest) String() string

func (*DeleteHmacKeyRequest) XXX_DiscardUnknown

func (m *DeleteHmacKeyRequest) XXX_DiscardUnknown()

func (*DeleteHmacKeyRequest) XXX_Marshal

func (m *DeleteHmacKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteHmacKeyRequest) XXX_Merge

func (m *DeleteHmacKeyRequest) XXX_Merge(src proto.Message)

func (*DeleteHmacKeyRequest) XXX_Size

func (m *DeleteHmacKeyRequest) XXX_Size() int

func (*DeleteHmacKeyRequest) XXX_Unmarshal

func (m *DeleteHmacKeyRequest) XXX_Unmarshal(b []byte) error

type DeleteNotificationRequest

type DeleteNotificationRequest struct {
	// Required. The parent bucket of the notification.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. ID of the notification to delete.
	Notification string `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for DeleteNotification.

func (*DeleteNotificationRequest) Descriptor

func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)

func (*DeleteNotificationRequest) GetBucket

func (m *DeleteNotificationRequest) GetBucket() string

func (*DeleteNotificationRequest) GetCommonRequestParams

func (m *DeleteNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteNotificationRequest) GetNotification

func (m *DeleteNotificationRequest) GetNotification() string

func (*DeleteNotificationRequest) ProtoMessage

func (*DeleteNotificationRequest) ProtoMessage()

func (*DeleteNotificationRequest) Reset

func (m *DeleteNotificationRequest) Reset()

func (*DeleteNotificationRequest) String

func (m *DeleteNotificationRequest) String() string

func (*DeleteNotificationRequest) XXX_DiscardUnknown

func (m *DeleteNotificationRequest) XXX_DiscardUnknown()

func (*DeleteNotificationRequest) XXX_Marshal

func (m *DeleteNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteNotificationRequest) XXX_Merge

func (m *DeleteNotificationRequest) XXX_Merge(src proto.Message)

func (*DeleteNotificationRequest) XXX_Size

func (m *DeleteNotificationRequest) XXX_Size() int

func (*DeleteNotificationRequest) XXX_Unmarshal

func (m *DeleteNotificationRequest) XXX_Unmarshal(b []byte) error

type DeleteObjectAccessControlRequest

type DeleteObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// Required. Name of the object.
	Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for DeleteObjectAccessControl.

func (*DeleteObjectAccessControlRequest) Descriptor

func (*DeleteObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*DeleteObjectAccessControlRequest) GetBucket

func (*DeleteObjectAccessControlRequest) GetCommonRequestParams

func (m *DeleteObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteObjectAccessControlRequest) GetEntity

func (*DeleteObjectAccessControlRequest) GetGeneration

func (m *DeleteObjectAccessControlRequest) GetGeneration() int64

func (*DeleteObjectAccessControlRequest) GetObject

func (*DeleteObjectAccessControlRequest) ProtoMessage

func (*DeleteObjectAccessControlRequest) ProtoMessage()

func (*DeleteObjectAccessControlRequest) Reset

func (*DeleteObjectAccessControlRequest) String

func (*DeleteObjectAccessControlRequest) XXX_DiscardUnknown

func (m *DeleteObjectAccessControlRequest) XXX_DiscardUnknown()

func (*DeleteObjectAccessControlRequest) XXX_Marshal

func (m *DeleteObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteObjectAccessControlRequest) XXX_Merge

func (*DeleteObjectAccessControlRequest) XXX_Size

func (m *DeleteObjectAccessControlRequest) XXX_Size() int

func (*DeleteObjectAccessControlRequest) XXX_Unmarshal

func (m *DeleteObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type DeleteObjectRequest

type DeleteObjectRequest struct {
	// Required. Name of the bucket in which the object resides.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The name of the object to delete (when not using a resumable write).
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// The resumable upload_id of the object to delete (when using a
	// resumable write). This should be copied from the `upload_id` field of
	// `StartResumableWriteResponse`.
	UploadId string `protobuf:"bytes,3,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
	// If present, permanently deletes a specific revision of this object (as
	// opposed to the latest version, the default).
	Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Message for deleting an object. Either `bucket` and `object` *or* `upload_id` **must** be set (but not both).

func (*DeleteObjectRequest) Descriptor

func (*DeleteObjectRequest) Descriptor() ([]byte, []int)

func (*DeleteObjectRequest) GetBucket

func (m *DeleteObjectRequest) GetBucket() string

func (*DeleteObjectRequest) GetCommonObjectRequestParams

func (m *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*DeleteObjectRequest) GetCommonRequestParams

func (m *DeleteObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteObjectRequest) GetGeneration

func (m *DeleteObjectRequest) GetGeneration() int64

func (*DeleteObjectRequest) GetIfGenerationMatch

func (m *DeleteObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value

func (*DeleteObjectRequest) GetIfGenerationNotMatch

func (m *DeleteObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value

func (*DeleteObjectRequest) GetIfMetagenerationMatch

func (m *DeleteObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*DeleteObjectRequest) GetIfMetagenerationNotMatch

func (m *DeleteObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*DeleteObjectRequest) GetObject

func (m *DeleteObjectRequest) GetObject() string

func (*DeleteObjectRequest) GetUploadId

func (m *DeleteObjectRequest) GetUploadId() string

func (*DeleteObjectRequest) ProtoMessage

func (*DeleteObjectRequest) ProtoMessage()

func (*DeleteObjectRequest) Reset

func (m *DeleteObjectRequest) Reset()

func (*DeleteObjectRequest) String

func (m *DeleteObjectRequest) String() string

func (*DeleteObjectRequest) XXX_DiscardUnknown

func (m *DeleteObjectRequest) XXX_DiscardUnknown()

func (*DeleteObjectRequest) XXX_Marshal

func (m *DeleteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteObjectRequest) XXX_Merge

func (m *DeleteObjectRequest) XXX_Merge(src proto.Message)

func (*DeleteObjectRequest) XXX_Size

func (m *DeleteObjectRequest) XXX_Size() int

func (*DeleteObjectRequest) XXX_Unmarshal

func (m *DeleteObjectRequest) XXX_Unmarshal(b []byte) error

type GetBucketAccessControlRequest

type GetBucketAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for GetBucketAccessControl.

func (*GetBucketAccessControlRequest) Descriptor

func (*GetBucketAccessControlRequest) Descriptor() ([]byte, []int)

func (*GetBucketAccessControlRequest) GetBucket

func (m *GetBucketAccessControlRequest) GetBucket() string

func (*GetBucketAccessControlRequest) GetCommonRequestParams

func (m *GetBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetBucketAccessControlRequest) GetEntity

func (m *GetBucketAccessControlRequest) GetEntity() string

func (*GetBucketAccessControlRequest) ProtoMessage

func (*GetBucketAccessControlRequest) ProtoMessage()

func (*GetBucketAccessControlRequest) Reset

func (m *GetBucketAccessControlRequest) Reset()

func (*GetBucketAccessControlRequest) String

func (*GetBucketAccessControlRequest) XXX_DiscardUnknown

func (m *GetBucketAccessControlRequest) XXX_DiscardUnknown()

func (*GetBucketAccessControlRequest) XXX_Marshal

func (m *GetBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBucketAccessControlRequest) XXX_Merge

func (m *GetBucketAccessControlRequest) XXX_Merge(src proto.Message)

func (*GetBucketAccessControlRequest) XXX_Size

func (m *GetBucketAccessControlRequest) XXX_Size() int

func (*GetBucketAccessControlRequest) XXX_Unmarshal

func (m *GetBucketAccessControlRequest) XXX_Unmarshal(b []byte) error

type GetBucketRequest

type GetBucketRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Makes the return of the bucket metadata conditional on whether the bucket's
	// current metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the return of the bucket metadata conditional on whether the bucket's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Set of properties to return. Defaults to `NO_ACL`.
	Projection CommonEnums_Projection `protobuf:"varint,4,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for GetBucket.

func (*GetBucketRequest) Descriptor

func (*GetBucketRequest) Descriptor() ([]byte, []int)

func (*GetBucketRequest) GetBucket

func (m *GetBucketRequest) GetBucket() string

func (*GetBucketRequest) GetCommonRequestParams

func (m *GetBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetBucketRequest) GetIfMetagenerationMatch

func (m *GetBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*GetBucketRequest) GetIfMetagenerationNotMatch

func (m *GetBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*GetBucketRequest) GetProjection

func (m *GetBucketRequest) GetProjection() CommonEnums_Projection

func (*GetBucketRequest) ProtoMessage

func (*GetBucketRequest) ProtoMessage()

func (*GetBucketRequest) Reset

func (m *GetBucketRequest) Reset()

func (*GetBucketRequest) String

func (m *GetBucketRequest) String() string

func (*GetBucketRequest) XXX_DiscardUnknown

func (m *GetBucketRequest) XXX_DiscardUnknown()

func (*GetBucketRequest) XXX_Marshal

func (m *GetBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetBucketRequest) XXX_Merge

func (m *GetBucketRequest) XXX_Merge(src proto.Message)

func (*GetBucketRequest) XXX_Size

func (m *GetBucketRequest) XXX_Size() int

func (*GetBucketRequest) XXX_Unmarshal

func (m *GetBucketRequest) XXX_Unmarshal(b []byte) error

type GetDefaultObjectAccessControlRequest

type GetDefaultObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for GetDefaultObjectAccessControl.

func (*GetDefaultObjectAccessControlRequest) Descriptor

func (*GetDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*GetDefaultObjectAccessControlRequest) GetBucket

func (*GetDefaultObjectAccessControlRequest) GetCommonRequestParams

func (m *GetDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetDefaultObjectAccessControlRequest) GetEntity

func (*GetDefaultObjectAccessControlRequest) ProtoMessage

func (*GetDefaultObjectAccessControlRequest) ProtoMessage()

func (*GetDefaultObjectAccessControlRequest) Reset

func (*GetDefaultObjectAccessControlRequest) String

func (*GetDefaultObjectAccessControlRequest) XXX_DiscardUnknown

func (m *GetDefaultObjectAccessControlRequest) XXX_DiscardUnknown()

func (*GetDefaultObjectAccessControlRequest) XXX_Marshal

func (m *GetDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetDefaultObjectAccessControlRequest) XXX_Merge

func (*GetDefaultObjectAccessControlRequest) XXX_Size

func (*GetDefaultObjectAccessControlRequest) XXX_Unmarshal

func (m *GetDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type GetHmacKeyRequest

type GetHmacKeyRequest struct {
	// Required. The identifying key for the HMAC to delete.
	AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	// Required. The project id the HMAC key lies in.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request object to get metadata on a given HMAC key.

func (*GetHmacKeyRequest) Descriptor

func (*GetHmacKeyRequest) Descriptor() ([]byte, []int)

func (*GetHmacKeyRequest) GetAccessId

func (m *GetHmacKeyRequest) GetAccessId() string

func (*GetHmacKeyRequest) GetCommonRequestParams

func (m *GetHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetHmacKeyRequest) GetProjectId

func (m *GetHmacKeyRequest) GetProjectId() string

func (*GetHmacKeyRequest) ProtoMessage

func (*GetHmacKeyRequest) ProtoMessage()

func (*GetHmacKeyRequest) Reset

func (m *GetHmacKeyRequest) Reset()

func (*GetHmacKeyRequest) String

func (m *GetHmacKeyRequest) String() string

func (*GetHmacKeyRequest) XXX_DiscardUnknown

func (m *GetHmacKeyRequest) XXX_DiscardUnknown()

func (*GetHmacKeyRequest) XXX_Marshal

func (m *GetHmacKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetHmacKeyRequest) XXX_Merge

func (m *GetHmacKeyRequest) XXX_Merge(src proto.Message)

func (*GetHmacKeyRequest) XXX_Size

func (m *GetHmacKeyRequest) XXX_Size() int

func (*GetHmacKeyRequest) XXX_Unmarshal

func (m *GetHmacKeyRequest) XXX_Unmarshal(b []byte) error

type GetIamPolicyRequest

type GetIamPolicyRequest struct {
	// The request sent to IAM.
	IamRequest *v1.GetIamPolicyRequest `protobuf:"bytes,1,opt,name=iam_request,json=iamRequest,proto3" json:"iam_request,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A wrapper around the IAM get policy request to support our common_request_params.

func (*GetIamPolicyRequest) Descriptor

func (*GetIamPolicyRequest) Descriptor() ([]byte, []int)

func (*GetIamPolicyRequest) GetCommonRequestParams

func (m *GetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetIamPolicyRequest) GetIamRequest

func (m *GetIamPolicyRequest) GetIamRequest() *v1.GetIamPolicyRequest

func (*GetIamPolicyRequest) ProtoMessage

func (*GetIamPolicyRequest) ProtoMessage()

func (*GetIamPolicyRequest) Reset

func (m *GetIamPolicyRequest) Reset()

func (*GetIamPolicyRequest) String

func (m *GetIamPolicyRequest) String() string

func (*GetIamPolicyRequest) XXX_DiscardUnknown

func (m *GetIamPolicyRequest) XXX_DiscardUnknown()

func (*GetIamPolicyRequest) XXX_Marshal

func (m *GetIamPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetIamPolicyRequest) XXX_Merge

func (m *GetIamPolicyRequest) XXX_Merge(src proto.Message)

func (*GetIamPolicyRequest) XXX_Size

func (m *GetIamPolicyRequest) XXX_Size() int

func (*GetIamPolicyRequest) XXX_Unmarshal

func (m *GetIamPolicyRequest) XXX_Unmarshal(b []byte) error

type GetNotificationRequest

type GetNotificationRequest struct {
	// Required. The parent bucket of the notification.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Notification ID.
	// Required.
	Notification string `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for GetNotification.

func (*GetNotificationRequest) Descriptor

func (*GetNotificationRequest) Descriptor() ([]byte, []int)

func (*GetNotificationRequest) GetBucket

func (m *GetNotificationRequest) GetBucket() string

func (*GetNotificationRequest) GetCommonRequestParams

func (m *GetNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetNotificationRequest) GetNotification

func (m *GetNotificationRequest) GetNotification() string

func (*GetNotificationRequest) ProtoMessage

func (*GetNotificationRequest) ProtoMessage()

func (*GetNotificationRequest) Reset

func (m *GetNotificationRequest) Reset()

func (*GetNotificationRequest) String

func (m *GetNotificationRequest) String() string

func (*GetNotificationRequest) XXX_DiscardUnknown

func (m *GetNotificationRequest) XXX_DiscardUnknown()

func (*GetNotificationRequest) XXX_Marshal

func (m *GetNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetNotificationRequest) XXX_Merge

func (m *GetNotificationRequest) XXX_Merge(src proto.Message)

func (*GetNotificationRequest) XXX_Size

func (m *GetNotificationRequest) XXX_Size() int

func (*GetNotificationRequest) XXX_Unmarshal

func (m *GetNotificationRequest) XXX_Unmarshal(b []byte) error

type GetObjectAccessControlRequest

type GetObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// Required. Name of the object.
	Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for GetObjectAccessControl.

func (*GetObjectAccessControlRequest) Descriptor

func (*GetObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*GetObjectAccessControlRequest) GetBucket

func (m *GetObjectAccessControlRequest) GetBucket() string

func (*GetObjectAccessControlRequest) GetCommonRequestParams

func (m *GetObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectAccessControlRequest) GetEntity

func (m *GetObjectAccessControlRequest) GetEntity() string

func (*GetObjectAccessControlRequest) GetGeneration

func (m *GetObjectAccessControlRequest) GetGeneration() int64

func (*GetObjectAccessControlRequest) GetObject

func (m *GetObjectAccessControlRequest) GetObject() string

func (*GetObjectAccessControlRequest) ProtoMessage

func (*GetObjectAccessControlRequest) ProtoMessage()

func (*GetObjectAccessControlRequest) Reset

func (m *GetObjectAccessControlRequest) Reset()

func (*GetObjectAccessControlRequest) String

func (*GetObjectAccessControlRequest) XXX_DiscardUnknown

func (m *GetObjectAccessControlRequest) XXX_DiscardUnknown()

func (*GetObjectAccessControlRequest) XXX_Marshal

func (m *GetObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetObjectAccessControlRequest) XXX_Merge

func (m *GetObjectAccessControlRequest) XXX_Merge(src proto.Message)

func (*GetObjectAccessControlRequest) XXX_Size

func (m *GetObjectAccessControlRequest) XXX_Size() int

func (*GetObjectAccessControlRequest) XXX_Unmarshal

func (m *GetObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type GetObjectMediaRequest

type GetObjectMediaRequest struct {
	// The name of the bucket containing the object to read.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// The name of the object to read.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed
	// to the latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// The offset for the first byte to return in the read, relative to the start
	// of the object.
	//
	// A negative `read_offset` value will be interpreted as the number of bytes
	// back from the end of the object to be returned. For example, if an object's
	// length is 15 bytes, a GetObjectMediaRequest with `read_offset` = -5 and
	// `read_limit` = 3 would return bytes 10 through 12 of the object.
	ReadOffset int64 `protobuf:"varint,4,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"`
	// The maximum number of `data` bytes the server is allowed to return in the
	// sum of all `Object` messages. A `read_limit` of zero indicates that there
	// is no limit, and a negative `read_limit` will cause an error.
	//
	// If the stream returns fewer bytes than allowed by the `read_limit` and no
	// error occurred, the stream includes all data from the `read_offset` to the
	// end of the resource.
	ReadLimit int64 `protobuf:"varint,5,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,12,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for GetObjectMedia.

func (*GetObjectMediaRequest) Descriptor

func (*GetObjectMediaRequest) Descriptor() ([]byte, []int)

func (*GetObjectMediaRequest) GetBucket

func (m *GetObjectMediaRequest) GetBucket() string

func (*GetObjectMediaRequest) GetCommonObjectRequestParams

func (m *GetObjectMediaRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*GetObjectMediaRequest) GetCommonRequestParams

func (m *GetObjectMediaRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectMediaRequest) GetGeneration

func (m *GetObjectMediaRequest) GetGeneration() int64

func (*GetObjectMediaRequest) GetIfGenerationMatch

func (m *GetObjectMediaRequest) GetIfGenerationMatch() *wrappers.Int64Value

func (*GetObjectMediaRequest) GetIfGenerationNotMatch

func (m *GetObjectMediaRequest) GetIfGenerationNotMatch() *wrappers.Int64Value

func (*GetObjectMediaRequest) GetIfMetagenerationMatch

func (m *GetObjectMediaRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*GetObjectMediaRequest) GetIfMetagenerationNotMatch

func (m *GetObjectMediaRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*GetObjectMediaRequest) GetObject

func (m *GetObjectMediaRequest) GetObject() string

func (*GetObjectMediaRequest) GetReadLimit

func (m *GetObjectMediaRequest) GetReadLimit() int64

func (*GetObjectMediaRequest) GetReadOffset

func (m *GetObjectMediaRequest) GetReadOffset() int64

func (*GetObjectMediaRequest) ProtoMessage

func (*GetObjectMediaRequest) ProtoMessage()

func (*GetObjectMediaRequest) Reset

func (m *GetObjectMediaRequest) Reset()

func (*GetObjectMediaRequest) String

func (m *GetObjectMediaRequest) String() string

func (*GetObjectMediaRequest) XXX_DiscardUnknown

func (m *GetObjectMediaRequest) XXX_DiscardUnknown()

func (*GetObjectMediaRequest) XXX_Marshal

func (m *GetObjectMediaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetObjectMediaRequest) XXX_Merge

func (m *GetObjectMediaRequest) XXX_Merge(src proto.Message)

func (*GetObjectMediaRequest) XXX_Size

func (m *GetObjectMediaRequest) XXX_Size() int

func (*GetObjectMediaRequest) XXX_Unmarshal

func (m *GetObjectMediaRequest) XXX_Unmarshal(b []byte) error

type GetObjectMediaResponse

type GetObjectMediaResponse struct {
	// A portion of the data for the object. The service **may** leave `data`
	// empty for any given `ReadResponse`. This enables the service to inform the
	// client that the request is still live while it is running an operation to
	// generate more data.
	ChecksummedData *ChecksummedData `protobuf:"bytes,1,opt,name=checksummed_data,json=checksummedData,proto3" json:"checksummed_data,omitempty"`
	// The checksums of the complete object. The client should compute one of
	// these checksums over the downloaded object and compare it against the value
	// provided here.
	ObjectChecksums *ObjectChecksums `protobuf:"bytes,2,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"`
	// If read_offset and or read_limit was specified on the
	// GetObjectMediaRequest, ContentRange will be populated on the first
	// GetObjectMediaResponse message of the read stream.
	ContentRange *ContentRange `protobuf:"bytes,3,opt,name=content_range,json=contentRange,proto3" json:"content_range,omitempty"`
	// Metadata of the object whose media is being returned.
	// Only populated in the first response in the stream.
	Metadata             *Object  `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response message for GetObject.

func (*GetObjectMediaResponse) Descriptor

func (*GetObjectMediaResponse) Descriptor() ([]byte, []int)

func (*GetObjectMediaResponse) GetChecksummedData

func (m *GetObjectMediaResponse) GetChecksummedData() *ChecksummedData

func (*GetObjectMediaResponse) GetContentRange

func (m *GetObjectMediaResponse) GetContentRange() *ContentRange

func (*GetObjectMediaResponse) GetMetadata

func (m *GetObjectMediaResponse) GetMetadata() *Object

func (*GetObjectMediaResponse) GetObjectChecksums

func (m *GetObjectMediaResponse) GetObjectChecksums() *ObjectChecksums

func (*GetObjectMediaResponse) ProtoMessage

func (*GetObjectMediaResponse) ProtoMessage()

func (*GetObjectMediaResponse) Reset

func (m *GetObjectMediaResponse) Reset()

func (*GetObjectMediaResponse) String

func (m *GetObjectMediaResponse) String() string

func (*GetObjectMediaResponse) XXX_DiscardUnknown

func (m *GetObjectMediaResponse) XXX_DiscardUnknown()

func (*GetObjectMediaResponse) XXX_Marshal

func (m *GetObjectMediaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetObjectMediaResponse) XXX_Merge

func (m *GetObjectMediaResponse) XXX_Merge(src proto.Message)

func (*GetObjectMediaResponse) XXX_Size

func (m *GetObjectMediaResponse) XXX_Size() int

func (*GetObjectMediaResponse) XXX_Unmarshal

func (m *GetObjectMediaResponse) XXX_Unmarshal(b []byte) error

type GetObjectRequest

type GetObjectRequest struct {
	// Required. Name of the bucket in which the object resides.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Set of properties to return. Defaults to `NO_ACL`.
	Projection CommonEnums_Projection `protobuf:"varint,8,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for GetObject.

func (*GetObjectRequest) Descriptor

func (*GetObjectRequest) Descriptor() ([]byte, []int)

func (*GetObjectRequest) GetBucket

func (m *GetObjectRequest) GetBucket() string

func (*GetObjectRequest) GetCommonObjectRequestParams

func (m *GetObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*GetObjectRequest) GetCommonRequestParams

func (m *GetObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectRequest) GetGeneration

func (m *GetObjectRequest) GetGeneration() int64

func (*GetObjectRequest) GetIfGenerationMatch

func (m *GetObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value

func (*GetObjectRequest) GetIfGenerationNotMatch

func (m *GetObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value

func (*GetObjectRequest) GetIfMetagenerationMatch

func (m *GetObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*GetObjectRequest) GetIfMetagenerationNotMatch

func (m *GetObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*GetObjectRequest) GetObject

func (m *GetObjectRequest) GetObject() string

func (*GetObjectRequest) GetProjection

func (m *GetObjectRequest) GetProjection() CommonEnums_Projection

func (*GetObjectRequest) ProtoMessage

func (*GetObjectRequest) ProtoMessage()

func (*GetObjectRequest) Reset

func (m *GetObjectRequest) Reset()

func (*GetObjectRequest) String

func (m *GetObjectRequest) String() string

func (*GetObjectRequest) XXX_DiscardUnknown

func (m *GetObjectRequest) XXX_DiscardUnknown()

func (*GetObjectRequest) XXX_Marshal

func (m *GetObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetObjectRequest) XXX_Merge

func (m *GetObjectRequest) XXX_Merge(src proto.Message)

func (*GetObjectRequest) XXX_Size

func (m *GetObjectRequest) XXX_Size() int

func (*GetObjectRequest) XXX_Unmarshal

func (m *GetObjectRequest) XXX_Unmarshal(b []byte) error

type GetProjectServiceAccountRequest

type GetProjectServiceAccountRequest struct {
	// Required. Project ID.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for GetProjectServiceAccount.

func (*GetProjectServiceAccountRequest) Descriptor

func (*GetProjectServiceAccountRequest) Descriptor() ([]byte, []int)

func (*GetProjectServiceAccountRequest) GetCommonRequestParams

func (m *GetProjectServiceAccountRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetProjectServiceAccountRequest) GetProjectId

func (m *GetProjectServiceAccountRequest) GetProjectId() string

func (*GetProjectServiceAccountRequest) ProtoMessage

func (*GetProjectServiceAccountRequest) ProtoMessage()

func (*GetProjectServiceAccountRequest) Reset

func (*GetProjectServiceAccountRequest) String

func (*GetProjectServiceAccountRequest) XXX_DiscardUnknown

func (m *GetProjectServiceAccountRequest) XXX_DiscardUnknown()

func (*GetProjectServiceAccountRequest) XXX_Marshal

func (m *GetProjectServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetProjectServiceAccountRequest) XXX_Merge

func (m *GetProjectServiceAccountRequest) XXX_Merge(src proto.Message)

func (*GetProjectServiceAccountRequest) XXX_Size

func (m *GetProjectServiceAccountRequest) XXX_Size() int

func (*GetProjectServiceAccountRequest) XXX_Unmarshal

func (m *GetProjectServiceAccountRequest) XXX_Unmarshal(b []byte) error

type HmacKeyMetadata

type HmacKeyMetadata struct {
	// Resource name ID of the key in the format <projectId>/<accessId>.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Globally unique id for keys.
	AccessId string `protobuf:"bytes,2,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	// The project ID that the hmac key is contained in.
	ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Email of the service account the key authenticates as.
	ServiceAccountEmail string `protobuf:"bytes,4,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
	// State of the key. One of ACTIVE, INACTIVE, or DELETED.
	State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// The creation time of the HMAC key in RFC 3339 format.
	TimeCreated *timestamp.Timestamp `protobuf:"bytes,6,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
	// The last modification time of the HMAC key metadata in RFC 3339 format.
	Updated *timestamp.Timestamp `protobuf:"bytes,7,opt,name=updated,proto3" json:"updated,omitempty"`
	// Tag updated with each key update.
	Etag                 string   `protobuf:"bytes,8,opt,name=etag,proto3" json:"etag,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Hmac Key Metadata, which includes all information other than the secret.

func (*HmacKeyMetadata) Descriptor

func (*HmacKeyMetadata) Descriptor() ([]byte, []int)

func (*HmacKeyMetadata) GetAccessId

func (m *HmacKeyMetadata) GetAccessId() string

func (*HmacKeyMetadata) GetEtag

func (m *HmacKeyMetadata) GetEtag() string

func (*HmacKeyMetadata) GetId

func (m *HmacKeyMetadata) GetId() string

func (*HmacKeyMetadata) GetProjectId

func (m *HmacKeyMetadata) GetProjectId() string

func (*HmacKeyMetadata) GetServiceAccountEmail

func (m *HmacKeyMetadata) GetServiceAccountEmail() string

func (*HmacKeyMetadata) GetState

func (m *HmacKeyMetadata) GetState() string

func (*HmacKeyMetadata) GetTimeCreated

func (m *HmacKeyMetadata) GetTimeCreated() *timestamp.Timestamp

func (*HmacKeyMetadata) GetUpdated

func (m *HmacKeyMetadata) GetUpdated() *timestamp.Timestamp

func (*HmacKeyMetadata) ProtoMessage

func (*HmacKeyMetadata) ProtoMessage()

func (*HmacKeyMetadata) Reset

func (m *HmacKeyMetadata) Reset()

func (*HmacKeyMetadata) String

func (m *HmacKeyMetadata) String() string

func (*HmacKeyMetadata) XXX_DiscardUnknown

func (m *HmacKeyMetadata) XXX_DiscardUnknown()

func (*HmacKeyMetadata) XXX_Marshal

func (m *HmacKeyMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*HmacKeyMetadata) XXX_Merge

func (m *HmacKeyMetadata) XXX_Merge(src proto.Message)

func (*HmacKeyMetadata) XXX_Size

func (m *HmacKeyMetadata) XXX_Size() int

func (*HmacKeyMetadata) XXX_Unmarshal

func (m *HmacKeyMetadata) XXX_Unmarshal(b []byte) error

type InsertBucketAccessControlRequest

type InsertBucketAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Properties of the new bucket access control being inserted.
	BucketAccessControl *BucketAccessControl `protobuf:"bytes,3,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for InsertBucketAccessControl.

func (*InsertBucketAccessControlRequest) Descriptor

func (*InsertBucketAccessControlRequest) Descriptor() ([]byte, []int)

func (*InsertBucketAccessControlRequest) GetBucket

func (*InsertBucketAccessControlRequest) GetBucketAccessControl

func (m *InsertBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl

func (*InsertBucketAccessControlRequest) GetCommonRequestParams

func (m *InsertBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertBucketAccessControlRequest) ProtoMessage

func (*InsertBucketAccessControlRequest) ProtoMessage()

func (*InsertBucketAccessControlRequest) Reset

func (*InsertBucketAccessControlRequest) String

func (*InsertBucketAccessControlRequest) XXX_DiscardUnknown

func (m *InsertBucketAccessControlRequest) XXX_DiscardUnknown()

func (*InsertBucketAccessControlRequest) XXX_Marshal

func (m *InsertBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertBucketAccessControlRequest) XXX_Merge

func (*InsertBucketAccessControlRequest) XXX_Size

func (m *InsertBucketAccessControlRequest) XXX_Size() int

func (*InsertBucketAccessControlRequest) XXX_Unmarshal

func (m *InsertBucketAccessControlRequest) XXX_Unmarshal(b []byte) error

type InsertBucketRequest

type InsertBucketRequest struct {
	// Apply a predefined set of access controls to this bucket.
	PredefinedAcl CommonEnums_PredefinedBucketAcl `` /* 156-byte string literal not displayed */
	// Apply a predefined set of default object access controls to this bucket.
	PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `` /* 199-byte string literal not displayed */
	// Required. A valid API project identifier.
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// Set of properties to return. Defaults to `NO_ACL`, unless the
	// bucket resource specifies `acl` or `defaultObjectAcl`
	// properties, when it defaults to `FULL`.
	Projection CommonEnums_Projection `protobuf:"varint,4,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// Properties of the new bucket being inserted, including its name.
	Bucket *Bucket `protobuf:"bytes,6,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for InsertBucket.

func (*InsertBucketRequest) Descriptor

func (*InsertBucketRequest) Descriptor() ([]byte, []int)

func (*InsertBucketRequest) GetBucket

func (m *InsertBucketRequest) GetBucket() *Bucket

func (*InsertBucketRequest) GetCommonRequestParams

func (m *InsertBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertBucketRequest) GetPredefinedAcl

func (*InsertBucketRequest) GetPredefinedDefaultObjectAcl

func (m *InsertBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl

func (*InsertBucketRequest) GetProject

func (m *InsertBucketRequest) GetProject() string

func (*InsertBucketRequest) GetProjection

func (m *InsertBucketRequest) GetProjection() CommonEnums_Projection

func (*InsertBucketRequest) ProtoMessage

func (*InsertBucketRequest) ProtoMessage()

func (*InsertBucketRequest) Reset

func (m *InsertBucketRequest) Reset()

func (*InsertBucketRequest) String

func (m *InsertBucketRequest) String() string

func (*InsertBucketRequest) XXX_DiscardUnknown

func (m *InsertBucketRequest) XXX_DiscardUnknown()

func (*InsertBucketRequest) XXX_Marshal

func (m *InsertBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertBucketRequest) XXX_Merge

func (m *InsertBucketRequest) XXX_Merge(src proto.Message)

func (*InsertBucketRequest) XXX_Size

func (m *InsertBucketRequest) XXX_Size() int

func (*InsertBucketRequest) XXX_Unmarshal

func (m *InsertBucketRequest) XXX_Unmarshal(b []byte) error

type InsertDefaultObjectAccessControlRequest

type InsertDefaultObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Properties of the object access control being inserted.
	ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,3,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for InsertDefaultObjectAccessControl.

func (*InsertDefaultObjectAccessControlRequest) Descriptor

func (*InsertDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*InsertDefaultObjectAccessControlRequest) GetBucket

func (*InsertDefaultObjectAccessControlRequest) GetCommonRequestParams

func (m *InsertDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertDefaultObjectAccessControlRequest) GetObjectAccessControl

func (m *InsertDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*InsertDefaultObjectAccessControlRequest) ProtoMessage

func (*InsertDefaultObjectAccessControlRequest) Reset

func (*InsertDefaultObjectAccessControlRequest) String

func (*InsertDefaultObjectAccessControlRequest) XXX_DiscardUnknown

func (m *InsertDefaultObjectAccessControlRequest) XXX_DiscardUnknown()

func (*InsertDefaultObjectAccessControlRequest) XXX_Marshal

func (m *InsertDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertDefaultObjectAccessControlRequest) XXX_Merge

func (*InsertDefaultObjectAccessControlRequest) XXX_Size

func (*InsertDefaultObjectAccessControlRequest) XXX_Unmarshal

func (m *InsertDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type InsertNotificationRequest

type InsertNotificationRequest struct {
	// Required. The parent bucket of the notification.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Properties of the notification to be inserted.
	Notification *Notification `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for InsertNotification.

func (*InsertNotificationRequest) Descriptor

func (*InsertNotificationRequest) Descriptor() ([]byte, []int)

func (*InsertNotificationRequest) GetBucket

func (m *InsertNotificationRequest) GetBucket() string

func (*InsertNotificationRequest) GetCommonRequestParams

func (m *InsertNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertNotificationRequest) GetNotification

func (m *InsertNotificationRequest) GetNotification() *Notification

func (*InsertNotificationRequest) ProtoMessage

func (*InsertNotificationRequest) ProtoMessage()

func (*InsertNotificationRequest) Reset

func (m *InsertNotificationRequest) Reset()

func (*InsertNotificationRequest) String

func (m *InsertNotificationRequest) String() string

func (*InsertNotificationRequest) XXX_DiscardUnknown

func (m *InsertNotificationRequest) XXX_DiscardUnknown()

func (*InsertNotificationRequest) XXX_Marshal

func (m *InsertNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertNotificationRequest) XXX_Merge

func (m *InsertNotificationRequest) XXX_Merge(src proto.Message)

func (*InsertNotificationRequest) XXX_Size

func (m *InsertNotificationRequest) XXX_Size() int

func (*InsertNotificationRequest) XXX_Unmarshal

func (m *InsertNotificationRequest) XXX_Unmarshal(b []byte) error

type InsertObjectAccessControlRequest

type InsertObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Properties of the object access control to be inserted.
	ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,5,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for InsertObjectAccessControl.

func (*InsertObjectAccessControlRequest) Descriptor

func (*InsertObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*InsertObjectAccessControlRequest) GetBucket

func (*InsertObjectAccessControlRequest) GetCommonRequestParams

func (m *InsertObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertObjectAccessControlRequest) GetGeneration

func (m *InsertObjectAccessControlRequest) GetGeneration() int64

func (*InsertObjectAccessControlRequest) GetObject

func (*InsertObjectAccessControlRequest) GetObjectAccessControl

func (m *InsertObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*InsertObjectAccessControlRequest) ProtoMessage

func (*InsertObjectAccessControlRequest) ProtoMessage()

func (*InsertObjectAccessControlRequest) Reset

func (*InsertObjectAccessControlRequest) String

func (*InsertObjectAccessControlRequest) XXX_DiscardUnknown

func (m *InsertObjectAccessControlRequest) XXX_DiscardUnknown()

func (*InsertObjectAccessControlRequest) XXX_Marshal

func (m *InsertObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertObjectAccessControlRequest) XXX_Merge

func (*InsertObjectAccessControlRequest) XXX_Size

func (m *InsertObjectAccessControlRequest) XXX_Size() int

func (*InsertObjectAccessControlRequest) XXX_Unmarshal

func (m *InsertObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type InsertObjectRequest

type InsertObjectRequest struct {
	// The first message of each stream should set one of the following.
	//
	// Types that are valid to be assigned to FirstMessage:
	//	*InsertObjectRequest_UploadId
	//	*InsertObjectRequest_InsertObjectSpec
	FirstMessage isInsertObjectRequest_FirstMessage `protobuf_oneof:"first_message"`
	// Required. The offset from the beginning of the object at which the data should be
	// written.
	//
	// In the first `InsertObjectRequest` of a `InsertObject()` action, it
	// indicates the initial offset for the `Insert()` call. The value **must** be
	// equal to the `committed_size` that a call to `QueryWriteStatus()` would
	// return (0 if this is the first write to the object).
	//
	// On subsequent calls, this value **must** be no larger than the sum of the
	// first `write_offset` and the sizes of all `data` chunks sent previously on
	// this stream.
	//
	// An incorrect value will cause an error.
	WriteOffset int64 `protobuf:"varint,3,opt,name=write_offset,json=writeOffset,proto3" json:"write_offset,omitempty"`
	// A portion of the data for the object.
	//
	// Types that are valid to be assigned to Data:
	//	*InsertObjectRequest_ChecksummedData
	//	*InsertObjectRequest_Reference
	Data isInsertObjectRequest_Data `protobuf_oneof:"data"`
	// Checksums for the complete object. If the checksums computed by the service
	// don't match the specifified checksums the call will fail. May only be
	// provided in the first or last request (either with first_message, or
	// finish_write set).
	ObjectChecksums *ObjectChecksums `protobuf:"bytes,6,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"`
	// If `true`, this indicates that the write is complete. Sending any
	// `InsertObjectRequest`s subsequent to one in which `finish_write` is `true`
	// will cause an error.
	// For a non-resumable write (where the upload_id was not set in the first
	// message), it is an error not to set this field in the final message of the
	// stream.
	FinishWrite bool `protobuf:"varint,7,opt,name=finish_write,json=finishWrite,proto3" json:"finish_write,omitempty"`
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,9,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Message for writing an object.

func (*InsertObjectRequest) Descriptor

func (*InsertObjectRequest) Descriptor() ([]byte, []int)

func (*InsertObjectRequest) GetChecksummedData

func (m *InsertObjectRequest) GetChecksummedData() *ChecksummedData

func (*InsertObjectRequest) GetCommonObjectRequestParams

func (m *InsertObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*InsertObjectRequest) GetCommonRequestParams

func (m *InsertObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertObjectRequest) GetData

func (m *InsertObjectRequest) GetData() isInsertObjectRequest_Data

func (*InsertObjectRequest) GetFinishWrite

func (m *InsertObjectRequest) GetFinishWrite() bool

func (*InsertObjectRequest) GetFirstMessage

func (m *InsertObjectRequest) GetFirstMessage() isInsertObjectRequest_FirstMessage

func (*InsertObjectRequest) GetInsertObjectSpec

func (m *InsertObjectRequest) GetInsertObjectSpec() *InsertObjectSpec

func (*InsertObjectRequest) GetObjectChecksums

func (m *InsertObjectRequest) GetObjectChecksums() *ObjectChecksums

func (*InsertObjectRequest) GetReference

func (m *InsertObjectRequest) GetReference() *GetObjectMediaRequest

func (*InsertObjectRequest) GetUploadId

func (m *InsertObjectRequest) GetUploadId() string

func (*InsertObjectRequest) GetWriteOffset

func (m *InsertObjectRequest) GetWriteOffset() int64

func (*InsertObjectRequest) ProtoMessage

func (*InsertObjectRequest) ProtoMessage()

func (*InsertObjectRequest) Reset

func (m *InsertObjectRequest) Reset()

func (*InsertObjectRequest) String

func (m *InsertObjectRequest) String() string

func (*InsertObjectRequest) XXX_DiscardUnknown

func (m *InsertObjectRequest) XXX_DiscardUnknown()

func (*InsertObjectRequest) XXX_Marshal

func (m *InsertObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertObjectRequest) XXX_Merge

func (m *InsertObjectRequest) XXX_Merge(src proto.Message)

func (*InsertObjectRequest) XXX_OneofWrappers

func (*InsertObjectRequest) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*InsertObjectRequest) XXX_Size

func (m *InsertObjectRequest) XXX_Size() int

func (*InsertObjectRequest) XXX_Unmarshal

func (m *InsertObjectRequest) XXX_Unmarshal(b []byte) error

type InsertObjectRequest_ChecksummedData

type InsertObjectRequest_ChecksummedData struct {
	ChecksummedData *ChecksummedData `protobuf:"bytes,4,opt,name=checksummed_data,json=checksummedData,proto3,oneof"`
}

type InsertObjectRequest_InsertObjectSpec

type InsertObjectRequest_InsertObjectSpec struct {
	InsertObjectSpec *InsertObjectSpec `protobuf:"bytes,2,opt,name=insert_object_spec,json=insertObjectSpec,proto3,oneof"`
}

type InsertObjectRequest_Reference

type InsertObjectRequest_Reference struct {
	Reference *GetObjectMediaRequest `protobuf:"bytes,5,opt,name=reference,proto3,oneof"`
}

type InsertObjectRequest_UploadId

type InsertObjectRequest_UploadId struct {
	UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3,oneof"`
}

type InsertObjectSpec

type InsertObjectSpec struct {
	// Destination object, including its name and its metadata.
	Resource *Object `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
	// Apply a predefined set of access controls to this object.
	PredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 156-byte string literal not displayed */
	// Makes the operation conditional on whether the object's current
	// generation matches the given value. Setting to 0 makes the operation
	// succeed only if there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// generation does not match the given value. If no live object exists, the
	// precondition fails. Setting to 0 makes the operation succeed only if
	// there is a live version of the object.
	IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Set of properties to return. Defaults to `NO_ACL`, unless the
	// object resource specifies the `acl` property, when it defaults
	// to `full`.
	Projection           CommonEnums_Projection `protobuf:"varint,7,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

Describes an attempt to insert an object, possibly over multiple requests.

func (*InsertObjectSpec) Descriptor

func (*InsertObjectSpec) Descriptor() ([]byte, []int)

func (*InsertObjectSpec) GetIfGenerationMatch

func (m *InsertObjectSpec) GetIfGenerationMatch() *wrappers.Int64Value

func (*InsertObjectSpec) GetIfGenerationNotMatch

func (m *InsertObjectSpec) GetIfGenerationNotMatch() *wrappers.Int64Value

func (*InsertObjectSpec) GetIfMetagenerationMatch

func (m *InsertObjectSpec) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*InsertObjectSpec) GetIfMetagenerationNotMatch

func (m *InsertObjectSpec) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*InsertObjectSpec) GetPredefinedAcl

func (m *InsertObjectSpec) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*InsertObjectSpec) GetProjection

func (m *InsertObjectSpec) GetProjection() CommonEnums_Projection

func (*InsertObjectSpec) GetResource

func (m *InsertObjectSpec) GetResource() *Object

func (*InsertObjectSpec) ProtoMessage

func (*InsertObjectSpec) ProtoMessage()

func (*InsertObjectSpec) Reset

func (m *InsertObjectSpec) Reset()

func (*InsertObjectSpec) String

func (m *InsertObjectSpec) String() string

func (*InsertObjectSpec) XXX_DiscardUnknown

func (m *InsertObjectSpec) XXX_DiscardUnknown()

func (*InsertObjectSpec) XXX_Marshal

func (m *InsertObjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InsertObjectSpec) XXX_Merge

func (m *InsertObjectSpec) XXX_Merge(src proto.Message)

func (*InsertObjectSpec) XXX_Size

func (m *InsertObjectSpec) XXX_Size() int

func (*InsertObjectSpec) XXX_Unmarshal

func (m *InsertObjectSpec) XXX_Unmarshal(b []byte) error

type ListBucketAccessControlsRequest

type ListBucketAccessControlsRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for ListBucketAccessControl.

func (*ListBucketAccessControlsRequest) Descriptor

func (*ListBucketAccessControlsRequest) Descriptor() ([]byte, []int)

func (*ListBucketAccessControlsRequest) GetBucket

func (m *ListBucketAccessControlsRequest) GetBucket() string

func (*ListBucketAccessControlsRequest) GetCommonRequestParams

func (m *ListBucketAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListBucketAccessControlsRequest) ProtoMessage

func (*ListBucketAccessControlsRequest) ProtoMessage()

func (*ListBucketAccessControlsRequest) Reset

func (*ListBucketAccessControlsRequest) String

func (*ListBucketAccessControlsRequest) XXX_DiscardUnknown

func (m *ListBucketAccessControlsRequest) XXX_DiscardUnknown()

func (*ListBucketAccessControlsRequest) XXX_Marshal

func (m *ListBucketAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListBucketAccessControlsRequest) XXX_Merge

func (m *ListBucketAccessControlsRequest) XXX_Merge(src proto.Message)

func (*ListBucketAccessControlsRequest) XXX_Size

func (m *ListBucketAccessControlsRequest) XXX_Size() int

func (*ListBucketAccessControlsRequest) XXX_Unmarshal

func (m *ListBucketAccessControlsRequest) XXX_Unmarshal(b []byte) error

type ListBucketAccessControlsResponse

type ListBucketAccessControlsResponse struct {
	// The list of items.
	Items                []*BucketAccessControl `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

The response to a call to BucketAccessControls.ListBucketAccessControls.

func (*ListBucketAccessControlsResponse) Descriptor

func (*ListBucketAccessControlsResponse) Descriptor() ([]byte, []int)

func (*ListBucketAccessControlsResponse) GetItems

func (*ListBucketAccessControlsResponse) ProtoMessage

func (*ListBucketAccessControlsResponse) ProtoMessage()

func (*ListBucketAccessControlsResponse) Reset

func (*ListBucketAccessControlsResponse) String

func (*ListBucketAccessControlsResponse) XXX_DiscardUnknown

func (m *ListBucketAccessControlsResponse) XXX_DiscardUnknown()

func (*ListBucketAccessControlsResponse) XXX_Marshal

func (m *ListBucketAccessControlsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListBucketAccessControlsResponse) XXX_Merge

func (*ListBucketAccessControlsResponse) XXX_Size

func (m *ListBucketAccessControlsResponse) XXX_Size() int

func (*ListBucketAccessControlsResponse) XXX_Unmarshal

func (m *ListBucketAccessControlsResponse) XXX_Unmarshal(b []byte) error

type ListBucketsRequest

type ListBucketsRequest struct {
	// Maximum number of buckets to return in a single response. The service will
	// use this parameter or 1,000 items, whichever is smaller.
	MaxResults int32 `protobuf:"varint,1,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// A previously-returned page token representing part of the larger set of
	// results to view.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter results to buckets whose names begin with this prefix.
	Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Required. A valid API project identifier.
	Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"`
	// Set of properties to return. Defaults to `NO_ACL`.
	Projection CommonEnums_Projection `protobuf:"varint,5,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for ListBuckets.

func (*ListBucketsRequest) Descriptor

func (*ListBucketsRequest) Descriptor() ([]byte, []int)

func (*ListBucketsRequest) GetCommonRequestParams

func (m *ListBucketsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListBucketsRequest) GetMaxResults

func (m *ListBucketsRequest) GetMaxResults() int32

func (*ListBucketsRequest) GetPageToken

func (m *ListBucketsRequest) GetPageToken() string

func (*ListBucketsRequest) GetPrefix

func (m *ListBucketsRequest) GetPrefix() string

func (*ListBucketsRequest) GetProject

func (m *ListBucketsRequest) GetProject() string

func (*ListBucketsRequest) GetProjection

func (m *ListBucketsRequest) GetProjection() CommonEnums_Projection

func (*ListBucketsRequest) ProtoMessage

func (*ListBucketsRequest) ProtoMessage()

func (*ListBucketsRequest) Reset

func (m *ListBucketsRequest) Reset()

func (*ListBucketsRequest) String

func (m *ListBucketsRequest) String() string

func (*ListBucketsRequest) XXX_DiscardUnknown

func (m *ListBucketsRequest) XXX_DiscardUnknown()

func (*ListBucketsRequest) XXX_Marshal

func (m *ListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListBucketsRequest) XXX_Merge

func (m *ListBucketsRequest) XXX_Merge(src proto.Message)

func (*ListBucketsRequest) XXX_Size

func (m *ListBucketsRequest) XXX_Size() int

func (*ListBucketsRequest) XXX_Unmarshal

func (m *ListBucketsRequest) XXX_Unmarshal(b []byte) error

type ListBucketsResponse

type ListBucketsResponse struct {
	// The list of items.
	Items []*Bucket `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken        string   `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The result of a call to Buckets.ListBuckets

func (*ListBucketsResponse) Descriptor

func (*ListBucketsResponse) Descriptor() ([]byte, []int)

func (*ListBucketsResponse) GetItems

func (m *ListBucketsResponse) GetItems() []*Bucket

func (*ListBucketsResponse) GetNextPageToken

func (m *ListBucketsResponse) GetNextPageToken() string

func (*ListBucketsResponse) ProtoMessage

func (*ListBucketsResponse) ProtoMessage()

func (*ListBucketsResponse) Reset

func (m *ListBucketsResponse) Reset()

func (*ListBucketsResponse) String

func (m *ListBucketsResponse) String() string

func (*ListBucketsResponse) XXX_DiscardUnknown

func (m *ListBucketsResponse) XXX_DiscardUnknown()

func (*ListBucketsResponse) XXX_Marshal

func (m *ListBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListBucketsResponse) XXX_Merge

func (m *ListBucketsResponse) XXX_Merge(src proto.Message)

func (*ListBucketsResponse) XXX_Size

func (m *ListBucketsResponse) XXX_Size() int

func (*ListBucketsResponse) XXX_Unmarshal

func (m *ListBucketsResponse) XXX_Unmarshal(b []byte) error

type ListChannelsRequest

type ListChannelsRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for ListChannels.

func (*ListChannelsRequest) Descriptor

func (*ListChannelsRequest) Descriptor() ([]byte, []int)

func (*ListChannelsRequest) GetBucket

func (m *ListChannelsRequest) GetBucket() string

func (*ListChannelsRequest) GetCommonRequestParams

func (m *ListChannelsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListChannelsRequest) ProtoMessage

func (*ListChannelsRequest) ProtoMessage()

func (*ListChannelsRequest) Reset

func (m *ListChannelsRequest) Reset()

func (*ListChannelsRequest) String

func (m *ListChannelsRequest) String() string

func (*ListChannelsRequest) XXX_DiscardUnknown

func (m *ListChannelsRequest) XXX_DiscardUnknown()

func (*ListChannelsRequest) XXX_Marshal

func (m *ListChannelsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListChannelsRequest) XXX_Merge

func (m *ListChannelsRequest) XXX_Merge(src proto.Message)

func (*ListChannelsRequest) XXX_Size

func (m *ListChannelsRequest) XXX_Size() int

func (*ListChannelsRequest) XXX_Unmarshal

func (m *ListChannelsRequest) XXX_Unmarshal(b []byte) error

type ListChannelsResponse

type ListChannelsResponse struct {
	// The list of notification channels for a bucket.
	Items                []*ListChannelsResponse_Items `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
	XXX_unrecognized     []byte                        `json:"-"`
	XXX_sizecache        int32                         `json:"-"`
}

The result of a call to Channels.ListChannels

func (*ListChannelsResponse) Descriptor

func (*ListChannelsResponse) Descriptor() ([]byte, []int)

func (*ListChannelsResponse) GetItems

func (*ListChannelsResponse) ProtoMessage

func (*ListChannelsResponse) ProtoMessage()

func (*ListChannelsResponse) Reset

func (m *ListChannelsResponse) Reset()

func (*ListChannelsResponse) String

func (m *ListChannelsResponse) String() string

func (*ListChannelsResponse) XXX_DiscardUnknown

func (m *ListChannelsResponse) XXX_DiscardUnknown()

func (*ListChannelsResponse) XXX_Marshal

func (m *ListChannelsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListChannelsResponse) XXX_Merge

func (m *ListChannelsResponse) XXX_Merge(src proto.Message)

func (*ListChannelsResponse) XXX_Size

func (m *ListChannelsResponse) XXX_Size() int

func (*ListChannelsResponse) XXX_Unmarshal

func (m *ListChannelsResponse) XXX_Unmarshal(b []byte) error

type ListChannelsResponse_Items

type ListChannelsResponse_Items struct {
	// User-specified name for a channel. Needed to unsubscribe.
	ChannelId string `protobuf:"bytes,1,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
	// Opaque value generated by GCS representing a bucket. Needed to
	// unsubscribe.
	ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"`
	// Url used to identify where notifications are sent to.
	PushUrl string `protobuf:"bytes,3,opt,name=push_url,json=pushUrl,proto3" json:"push_url,omitempty"`
	// Email address of the subscriber.
	SubscriberEmail string `protobuf:"bytes,4,opt,name=subscriber_email,json=subscriberEmail,proto3" json:"subscriber_email,omitempty"`
	// Time when the channel was created.
	CreationTime         *timestamp.Timestamp `protobuf:"bytes,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ListChannelsResponse_Items) Descriptor

func (*ListChannelsResponse_Items) Descriptor() ([]byte, []int)

func (*ListChannelsResponse_Items) GetChannelId

func (m *ListChannelsResponse_Items) GetChannelId() string

func (*ListChannelsResponse_Items) GetCreationTime

func (m *ListChannelsResponse_Items) GetCreationTime() *timestamp.Timestamp

func (*ListChannelsResponse_Items) GetPushUrl

func (m *ListChannelsResponse_Items) GetPushUrl() string

func (*ListChannelsResponse_Items) GetResourceId

func (m *ListChannelsResponse_Items) GetResourceId() string

func (*ListChannelsResponse_Items) GetSubscriberEmail

func (m *ListChannelsResponse_Items) GetSubscriberEmail() string

func (*ListChannelsResponse_Items) ProtoMessage

func (*ListChannelsResponse_Items) ProtoMessage()

func (*ListChannelsResponse_Items) Reset

func (m *ListChannelsResponse_Items) Reset()

func (*ListChannelsResponse_Items) String

func (m *ListChannelsResponse_Items) String() string

func (*ListChannelsResponse_Items) XXX_DiscardUnknown

func (m *ListChannelsResponse_Items) XXX_DiscardUnknown()

func (*ListChannelsResponse_Items) XXX_Marshal

func (m *ListChannelsResponse_Items) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListChannelsResponse_Items) XXX_Merge

func (m *ListChannelsResponse_Items) XXX_Merge(src proto.Message)

func (*ListChannelsResponse_Items) XXX_Size

func (m *ListChannelsResponse_Items) XXX_Size() int

func (*ListChannelsResponse_Items) XXX_Unmarshal

func (m *ListChannelsResponse_Items) XXX_Unmarshal(b []byte) error

type ListDefaultObjectAccessControlsRequest

type ListDefaultObjectAccessControlsRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// If present, only return default ACL listing if the bucket's current
	// metageneration matches this value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// If present, only return default ACL listing if the bucket's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for ListDefaultObjectAccessControls.

func (*ListDefaultObjectAccessControlsRequest) Descriptor

func (*ListDefaultObjectAccessControlsRequest) Descriptor() ([]byte, []int)

func (*ListDefaultObjectAccessControlsRequest) GetBucket

func (*ListDefaultObjectAccessControlsRequest) GetCommonRequestParams

func (m *ListDefaultObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch

func (m *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch

func (m *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*ListDefaultObjectAccessControlsRequest) ProtoMessage

func (*ListDefaultObjectAccessControlsRequest) Reset

func (*ListDefaultObjectAccessControlsRequest) String

func (*ListDefaultObjectAccessControlsRequest) XXX_DiscardUnknown

func (m *ListDefaultObjectAccessControlsRequest) XXX_DiscardUnknown()

func (*ListDefaultObjectAccessControlsRequest) XXX_Marshal

func (m *ListDefaultObjectAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListDefaultObjectAccessControlsRequest) XXX_Merge

func (*ListDefaultObjectAccessControlsRequest) XXX_Size

func (*ListDefaultObjectAccessControlsRequest) XXX_Unmarshal

func (m *ListDefaultObjectAccessControlsRequest) XXX_Unmarshal(b []byte) error

type ListHmacKeysRequest

type ListHmacKeysRequest struct {
	// Required. The project id to list HMAC keys for.
	ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// An optional filter to only return HMAC keys for one service account.
	ServiceAccountEmail string `protobuf:"bytes,2,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
	// An optional bool to return deleted keys that have not been wiped out yet.
	ShowDeletedKeys bool `protobuf:"varint,3,opt,name=show_deleted_keys,json=showDeletedKeys,proto3" json:"show_deleted_keys,omitempty"`
	// The maximum number of keys to return.
	MaxResults int32 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// A previously returned token from ListHmacKeysResponse to get the next page.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request to fetch a list of HMAC keys under a given project.

func (*ListHmacKeysRequest) Descriptor

func (*ListHmacKeysRequest) Descriptor() ([]byte, []int)

func (*ListHmacKeysRequest) GetCommonRequestParams

func (m *ListHmacKeysRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListHmacKeysRequest) GetMaxResults

func (m *ListHmacKeysRequest) GetMaxResults() int32

func (*ListHmacKeysRequest) GetPageToken

func (m *ListHmacKeysRequest) GetPageToken() string

func (*ListHmacKeysRequest) GetProjectId

func (m *ListHmacKeysRequest) GetProjectId() string

func (*ListHmacKeysRequest) GetServiceAccountEmail

func (m *ListHmacKeysRequest) GetServiceAccountEmail() string

func (*ListHmacKeysRequest) GetShowDeletedKeys

func (m *ListHmacKeysRequest) GetShowDeletedKeys() bool

func (*ListHmacKeysRequest) ProtoMessage

func (*ListHmacKeysRequest) ProtoMessage()

func (*ListHmacKeysRequest) Reset

func (m *ListHmacKeysRequest) Reset()

func (*ListHmacKeysRequest) String

func (m *ListHmacKeysRequest) String() string

func (*ListHmacKeysRequest) XXX_DiscardUnknown

func (m *ListHmacKeysRequest) XXX_DiscardUnknown()

func (*ListHmacKeysRequest) XXX_Marshal

func (m *ListHmacKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListHmacKeysRequest) XXX_Merge

func (m *ListHmacKeysRequest) XXX_Merge(src proto.Message)

func (*ListHmacKeysRequest) XXX_Size

func (m *ListHmacKeysRequest) XXX_Size() int

func (*ListHmacKeysRequest) XXX_Unmarshal

func (m *ListHmacKeysRequest) XXX_Unmarshal(b []byte) error

type ListHmacKeysResponse

type ListHmacKeysResponse struct {
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The list of items.
	Items                []*HmacKeyMetadata `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Hmac key list response with next page information.

func (*ListHmacKeysResponse) Descriptor

func (*ListHmacKeysResponse) Descriptor() ([]byte, []int)

func (*ListHmacKeysResponse) GetItems

func (m *ListHmacKeysResponse) GetItems() []*HmacKeyMetadata

func (*ListHmacKeysResponse) GetNextPageToken

func (m *ListHmacKeysResponse) GetNextPageToken() string

func (*ListHmacKeysResponse) ProtoMessage

func (*ListHmacKeysResponse) ProtoMessage()

func (*ListHmacKeysResponse) Reset

func (m *ListHmacKeysResponse) Reset()

func (*ListHmacKeysResponse) String

func (m *ListHmacKeysResponse) String() string

func (*ListHmacKeysResponse) XXX_DiscardUnknown

func (m *ListHmacKeysResponse) XXX_DiscardUnknown()

func (*ListHmacKeysResponse) XXX_Marshal

func (m *ListHmacKeysResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListHmacKeysResponse) XXX_Merge

func (m *ListHmacKeysResponse) XXX_Merge(src proto.Message)

func (*ListHmacKeysResponse) XXX_Size

func (m *ListHmacKeysResponse) XXX_Size() int

func (*ListHmacKeysResponse) XXX_Unmarshal

func (m *ListHmacKeysResponse) XXX_Unmarshal(b []byte) error

type ListNotificationsRequest

type ListNotificationsRequest struct {
	// Required. Name of a Google Cloud Storage bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for ListNotifications.

func (*ListNotificationsRequest) Descriptor

func (*ListNotificationsRequest) Descriptor() ([]byte, []int)

func (*ListNotificationsRequest) GetBucket

func (m *ListNotificationsRequest) GetBucket() string

func (*ListNotificationsRequest) GetCommonRequestParams

func (m *ListNotificationsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListNotificationsRequest) ProtoMessage

func (*ListNotificationsRequest) ProtoMessage()

func (*ListNotificationsRequest) Reset

func (m *ListNotificationsRequest) Reset()

func (*ListNotificationsRequest) String

func (m *ListNotificationsRequest) String() string

func (*ListNotificationsRequest) XXX_DiscardUnknown

func (m *ListNotificationsRequest) XXX_DiscardUnknown()

func (*ListNotificationsRequest) XXX_Marshal

func (m *ListNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNotificationsRequest) XXX_Merge

func (m *ListNotificationsRequest) XXX_Merge(src proto.Message)

func (*ListNotificationsRequest) XXX_Size

func (m *ListNotificationsRequest) XXX_Size() int

func (*ListNotificationsRequest) XXX_Unmarshal

func (m *ListNotificationsRequest) XXX_Unmarshal(b []byte) error

type ListNotificationsResponse

type ListNotificationsResponse struct {
	// The list of items.
	Items                []*Notification `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

The result of a call to Notifications.ListNotifications

func (*ListNotificationsResponse) Descriptor

func (*ListNotificationsResponse) Descriptor() ([]byte, []int)

func (*ListNotificationsResponse) GetItems

func (m *ListNotificationsResponse) GetItems() []*Notification

func (*ListNotificationsResponse) ProtoMessage

func (*ListNotificationsResponse) ProtoMessage()

func (*ListNotificationsResponse) Reset

func (m *ListNotificationsResponse) Reset()

func (*ListNotificationsResponse) String

func (m *ListNotificationsResponse) String() string

func (*ListNotificationsResponse) XXX_DiscardUnknown

func (m *ListNotificationsResponse) XXX_DiscardUnknown()

func (*ListNotificationsResponse) XXX_Marshal

func (m *ListNotificationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListNotificationsResponse) XXX_Merge

func (m *ListNotificationsResponse) XXX_Merge(src proto.Message)

func (*ListNotificationsResponse) XXX_Size

func (m *ListNotificationsResponse) XXX_Size() int

func (*ListNotificationsResponse) XXX_Unmarshal

func (m *ListNotificationsResponse) XXX_Unmarshal(b []byte) error

type ListObjectAccessControlsRequest

type ListObjectAccessControlsRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for ListObjectAccessControls.

func (*ListObjectAccessControlsRequest) Descriptor

func (*ListObjectAccessControlsRequest) Descriptor() ([]byte, []int)

func (*ListObjectAccessControlsRequest) GetBucket

func (m *ListObjectAccessControlsRequest) GetBucket() string

func (*ListObjectAccessControlsRequest) GetCommonRequestParams

func (m *ListObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListObjectAccessControlsRequest) GetGeneration

func (m *ListObjectAccessControlsRequest) GetGeneration() int64

func (*ListObjectAccessControlsRequest) GetObject

func (m *ListObjectAccessControlsRequest) GetObject() string

func (*ListObjectAccessControlsRequest) ProtoMessage

func (*ListObjectAccessControlsRequest) ProtoMessage()

func (*ListObjectAccessControlsRequest) Reset

func (*ListObjectAccessControlsRequest) String

func (*ListObjectAccessControlsRequest) XXX_DiscardUnknown

func (m *ListObjectAccessControlsRequest) XXX_DiscardUnknown()

func (*ListObjectAccessControlsRequest) XXX_Marshal

func (m *ListObjectAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListObjectAccessControlsRequest) XXX_Merge

func (m *ListObjectAccessControlsRequest) XXX_Merge(src proto.Message)

func (*ListObjectAccessControlsRequest) XXX_Size

func (m *ListObjectAccessControlsRequest) XXX_Size() int

func (*ListObjectAccessControlsRequest) XXX_Unmarshal

func (m *ListObjectAccessControlsRequest) XXX_Unmarshal(b []byte) error

type ListObjectAccessControlsResponse

type ListObjectAccessControlsResponse struct {
	// The list of items.
	Items                []*ObjectAccessControl `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	XXX_NoUnkeyedLiteral struct{}               `json:"-"`
	XXX_unrecognized     []byte                 `json:"-"`
	XXX_sizecache        int32                  `json:"-"`
}

The result of a call to ObjectAccessControls.ListObjectAccessControls.

func (*ListObjectAccessControlsResponse) Descriptor

func (*ListObjectAccessControlsResponse) Descriptor() ([]byte, []int)

func (*ListObjectAccessControlsResponse) GetItems

func (*ListObjectAccessControlsResponse) ProtoMessage

func (*ListObjectAccessControlsResponse) ProtoMessage()

func (*ListObjectAccessControlsResponse) Reset

func (*ListObjectAccessControlsResponse) String

func (*ListObjectAccessControlsResponse) XXX_DiscardUnknown

func (m *ListObjectAccessControlsResponse) XXX_DiscardUnknown()

func (*ListObjectAccessControlsResponse) XXX_Marshal

func (m *ListObjectAccessControlsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListObjectAccessControlsResponse) XXX_Merge

func (*ListObjectAccessControlsResponse) XXX_Size

func (m *ListObjectAccessControlsResponse) XXX_Size() int

func (*ListObjectAccessControlsResponse) XXX_Unmarshal

func (m *ListObjectAccessControlsResponse) XXX_Unmarshal(b []byte) error

type ListObjectsRequest

type ListObjectsRequest struct {
	// Required. Name of the bucket in which to look for objects.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Returns results in a directory-like mode. `items` will contain
	// only objects whose names, aside from the `prefix`, do not
	// contain `delimiter`. Objects whose names, aside from the
	// `prefix`, contain `delimiter` will have their name,
	// truncated after the `delimiter`, returned in
	// `prefixes`. Duplicate `prefixes` are omitted.
	Delimiter string `protobuf:"bytes,2,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
	// If true, objects that end in exactly one instance of `delimiter`
	// will have their metadata included in `items` in addition to
	// `prefixes`.
	IncludeTrailingDelimiter bool `` /* 136-byte string literal not displayed */
	// Maximum number of `items` plus `prefixes` to return
	// in a single page of responses. As duplicate `prefixes` are
	// omitted, fewer total results may be returned than requested. The service
	// will use this parameter or 1,000 items, whichever is smaller.
	MaxResults int32 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// A previously-returned page token representing part of the larger set of
	// results to view.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filter results to objects whose names begin with this prefix.
	Prefix string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Set of properties to return. Defaults to `NO_ACL`.
	Projection CommonEnums_Projection `protobuf:"varint,7,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// If `true`, lists all versions of an object as distinct results.
	// The default is `false`. For more information, see
	// [Object
	// Versioning](https://cloud.google.com/storage/docs/object-versioning).
	Versions bool `protobuf:"varint,9,opt,name=versions,proto3" json:"versions,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for ListObjects.

func (*ListObjectsRequest) Descriptor

func (*ListObjectsRequest) Descriptor() ([]byte, []int)

func (*ListObjectsRequest) GetBucket

func (m *ListObjectsRequest) GetBucket() string

func (*ListObjectsRequest) GetCommonRequestParams

func (m *ListObjectsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListObjectsRequest) GetDelimiter

func (m *ListObjectsRequest) GetDelimiter() string

func (*ListObjectsRequest) GetIncludeTrailingDelimiter

func (m *ListObjectsRequest) GetIncludeTrailingDelimiter() bool

func (*ListObjectsRequest) GetMaxResults

func (m *ListObjectsRequest) GetMaxResults() int32

func (*ListObjectsRequest) GetPageToken

func (m *ListObjectsRequest) GetPageToken() string

func (*ListObjectsRequest) GetPrefix

func (m *ListObjectsRequest) GetPrefix() string

func (*ListObjectsRequest) GetProjection

func (m *ListObjectsRequest) GetProjection() CommonEnums_Projection

func (*ListObjectsRequest) GetVersions

func (m *ListObjectsRequest) GetVersions() bool

func (*ListObjectsRequest) ProtoMessage

func (*ListObjectsRequest) ProtoMessage()

func (*ListObjectsRequest) Reset

func (m *ListObjectsRequest) Reset()

func (*ListObjectsRequest) String

func (m *ListObjectsRequest) String() string

func (*ListObjectsRequest) XXX_DiscardUnknown

func (m *ListObjectsRequest) XXX_DiscardUnknown()

func (*ListObjectsRequest) XXX_Marshal

func (m *ListObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListObjectsRequest) XXX_Merge

func (m *ListObjectsRequest) XXX_Merge(src proto.Message)

func (*ListObjectsRequest) XXX_Size

func (m *ListObjectsRequest) XXX_Size() int

func (*ListObjectsRequest) XXX_Unmarshal

func (m *ListObjectsRequest) XXX_Unmarshal(b []byte) error

type ListObjectsResponse

type ListObjectsResponse struct {
	// The list of prefixes of objects matching-but-not-listed up to and including
	// the requested delimiter.
	Prefixes []string `protobuf:"bytes,1,rep,name=prefixes,proto3" json:"prefixes,omitempty"`
	// The list of items.
	Items []*Object `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken        string   `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The result of a call to Objects.ListObjects

func (*ListObjectsResponse) Descriptor

func (*ListObjectsResponse) Descriptor() ([]byte, []int)

func (*ListObjectsResponse) GetItems

func (m *ListObjectsResponse) GetItems() []*Object

func (*ListObjectsResponse) GetNextPageToken

func (m *ListObjectsResponse) GetNextPageToken() string

func (*ListObjectsResponse) GetPrefixes

func (m *ListObjectsResponse) GetPrefixes() []string

func (*ListObjectsResponse) ProtoMessage

func (*ListObjectsResponse) ProtoMessage()

func (*ListObjectsResponse) Reset

func (m *ListObjectsResponse) Reset()

func (*ListObjectsResponse) String

func (m *ListObjectsResponse) String() string

func (*ListObjectsResponse) XXX_DiscardUnknown

func (m *ListObjectsResponse) XXX_DiscardUnknown()

func (*ListObjectsResponse) XXX_Marshal

func (m *ListObjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListObjectsResponse) XXX_Merge

func (m *ListObjectsResponse) XXX_Merge(src proto.Message)

func (*ListObjectsResponse) XXX_Size

func (m *ListObjectsResponse) XXX_Size() int

func (*ListObjectsResponse) XXX_Unmarshal

func (m *ListObjectsResponse) XXX_Unmarshal(b []byte) error

type LockRetentionPolicyRequest

type LockRetentionPolicyRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Makes the operation conditional on whether bucket's current metageneration
	// matches the given value. Must be positive.
	IfMetagenerationMatch int64 `` /* 127-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for LockRetentionPolicy.

func (*LockRetentionPolicyRequest) Descriptor

func (*LockRetentionPolicyRequest) Descriptor() ([]byte, []int)

func (*LockRetentionPolicyRequest) GetBucket

func (m *LockRetentionPolicyRequest) GetBucket() string

func (*LockRetentionPolicyRequest) GetCommonRequestParams

func (m *LockRetentionPolicyRequest) GetCommonRequestParams() *CommonRequestParams

func (*LockRetentionPolicyRequest) GetIfMetagenerationMatch

func (m *LockRetentionPolicyRequest) GetIfMetagenerationMatch() int64

func (*LockRetentionPolicyRequest) ProtoMessage

func (*LockRetentionPolicyRequest) ProtoMessage()

func (*LockRetentionPolicyRequest) Reset

func (m *LockRetentionPolicyRequest) Reset()

func (*LockRetentionPolicyRequest) String

func (m *LockRetentionPolicyRequest) String() string

func (*LockRetentionPolicyRequest) XXX_DiscardUnknown

func (m *LockRetentionPolicyRequest) XXX_DiscardUnknown()

func (*LockRetentionPolicyRequest) XXX_Marshal

func (m *LockRetentionPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*LockRetentionPolicyRequest) XXX_Merge

func (m *LockRetentionPolicyRequest) XXX_Merge(src proto.Message)

func (*LockRetentionPolicyRequest) XXX_Size

func (m *LockRetentionPolicyRequest) XXX_Size() int

func (*LockRetentionPolicyRequest) XXX_Unmarshal

func (m *LockRetentionPolicyRequest) XXX_Unmarshal(b []byte) error

type Notification

type Notification struct {
	// The Cloud PubSub topic to which this subscription publishes. Formatted as:
	// '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
	Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
	// If present, only send notifications about listed event types. If empty,
	// sent notifications for all event types.
	EventTypes []string `protobuf:"bytes,2,rep,name=event_types,json=eventTypes,proto3" json:"event_types,omitempty"`
	// An optional list of additional attributes to attach to each Cloud PubSub
	// message published for this notification subscription.
	CustomAttributes map[string]string `` /* 197-byte string literal not displayed */
	// HTTP 1.1 [https://tools.ietf.org/html/rfc7232#section-2.3][Entity tag]
	// for this subscription notification.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// If present, only apply this notification configuration to object names that
	// begin with this prefix.
	ObjectNamePrefix string `protobuf:"bytes,5,opt,name=object_name_prefix,json=objectNamePrefix,proto3" json:"object_name_prefix,omitempty"`
	// The desired content of the Payload.
	PayloadFormat string `protobuf:"bytes,6,opt,name=payload_format,json=payloadFormat,proto3" json:"payload_format,omitempty"`
	// The ID of the notification.
	Id                   string   `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A subscription to receive Google PubSub notifications.

func (*Notification) Descriptor

func (*Notification) Descriptor() ([]byte, []int)

func (*Notification) GetCustomAttributes

func (m *Notification) GetCustomAttributes() map[string]string

func (*Notification) GetEtag

func (m *Notification) GetEtag() string

func (*Notification) GetEventTypes

func (m *Notification) GetEventTypes() []string

func (*Notification) GetId

func (m *Notification) GetId() string

func (*Notification) GetObjectNamePrefix

func (m *Notification) GetObjectNamePrefix() string

func (*Notification) GetPayloadFormat

func (m *Notification) GetPayloadFormat() string

func (*Notification) GetTopic

func (m *Notification) GetTopic() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) Reset

func (m *Notification) Reset()

func (*Notification) String

func (m *Notification) String() string

func (*Notification) XXX_DiscardUnknown

func (m *Notification) XXX_DiscardUnknown()

func (*Notification) XXX_Marshal

func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Notification) XXX_Merge

func (m *Notification) XXX_Merge(src proto.Message)

func (*Notification) XXX_Size

func (m *Notification) XXX_Size() int

func (*Notification) XXX_Unmarshal

func (m *Notification) XXX_Unmarshal(b []byte) error

type Object

type Object struct {
	// Content-Encoding of the object data, matching
	// [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2]
	ContentEncoding string `protobuf:"bytes,1,opt,name=content_encoding,json=contentEncoding,proto3" json:"content_encoding,omitempty"`
	// Content-Disposition of the object data, matching
	// [https://tools.ietf.org/html/rfc6266][RFC 6266].
	ContentDisposition string `protobuf:"bytes,2,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"`
	// Cache-Control directive for the object data, matching
	// [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2].
	// If omitted, and the object is accessible to all anonymous users, the
	// default will be `public, max-age=3600`.
	CacheControl string `protobuf:"bytes,3,opt,name=cache_control,json=cacheControl,proto3" json:"cache_control,omitempty"`
	// Access controls on the object.
	Acl []*ObjectAccessControl `protobuf:"bytes,4,rep,name=acl,proto3" json:"acl,omitempty"`
	// Content-Language of the object data, matching
	// [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].
	ContentLanguage string `protobuf:"bytes,5,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"`
	// The version of the metadata for this object at this generation. Used for
	// preconditions and for detecting changes in metadata. A metageneration
	// number is only meaningful in the context of a particular generation of a
	// particular object.
	// Attempting to set this field will result in an error.
	Metageneration int64 `protobuf:"varint,6,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
	// The deletion time of the object. Will be returned if and only if this
	// version of the object has been deleted.
	// Attempting to set this field will result in an error.
	TimeDeleted *timestamp.Timestamp `protobuf:"bytes,7,opt,name=time_deleted,json=timeDeleted,proto3" json:"time_deleted,omitempty"`
	// Content-Type of the object data, matching
	// [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5].
	// If an object is stored without a Content-Type, it is served as
	// `application/octet-stream`.
	ContentType string `protobuf:"bytes,8,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"`
	// Content-Length of the object data in bytes, matching
	// [https://tools.ietf.org/html/rfc7230#section-3.3.2][RFC 7230 §3.3.2].
	// Attempting to set this field will result in an error.
	Size int64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	// The creation time of the object.
	// Attempting to set this field will result in an error.
	TimeCreated *timestamp.Timestamp `protobuf:"bytes,10,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
	// CRC32c checksum. For more information about using the CRC32c
	// checksum, see
	// [https://cloud.google.com/storage/docs/hashes-etags#_JSONAPI][Hashes and
	// ETags: Best Practices]. This is a server determined value and should not be
	// supplied by the user when sending an Object. The server will ignore any
	// value provided. Users should instead use the object_checksums field on the
	// InsertObjectRequest when uploading an object.
	Crc32C *wrappers.UInt32Value `protobuf:"bytes,11,opt,name=crc32c,proto3" json:"crc32c,omitempty"`
	// Number of underlying components that make up this object. Components are
	// accumulated by compose operations.
	// Attempting to set this field will result in an error.
	ComponentCount int32 `protobuf:"varint,12,opt,name=component_count,json=componentCount,proto3" json:"component_count,omitempty"`
	// MD5 hash of the data; encoded using base64 as per
	// [https://tools.ietf.org/html/rfc4648#section-4][RFC 4648 §4]. For more
	// information about using the MD5 hash, see
	// [https://cloud.google.com/storage/docs/hashes-etags#_JSONAPI][Hashes and
	// ETags: Best Practices]. This is a server determined value and should not be
	// supplied by the user when sending an Object. The server will ignore any
	// value provided. Users should instead use the object_checksums field on the
	// InsertObjectRequest when uploading an object.
	Md5Hash string `protobuf:"bytes,13,opt,name=md5_hash,json=md5Hash,proto3" json:"md5_hash,omitempty"`
	// HTTP 1.1 Entity tag for the object. See
	// [https://tools.ietf.org/html/rfc7232#section-2.3][RFC 7232 §2.3].
	// Attempting to set this field will result in an error.
	Etag string `protobuf:"bytes,14,opt,name=etag,proto3" json:"etag,omitempty"`
	// The modification time of the object metadata.
	// Attempting to set this field will result in an error.
	Updated *timestamp.Timestamp `protobuf:"bytes,15,opt,name=updated,proto3" json:"updated,omitempty"`
	// Storage class of the object.
	StorageClass string `protobuf:"bytes,16,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
	// Cloud KMS Key used to encrypt this object, if the object is encrypted by
	// such a key.
	KmsKeyName string `protobuf:"bytes,17,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
	// The time at which the object's storage class was last changed. When the
	// object is initially created, it will be set to time_created.
	// Attempting to set this field will result in an error.
	TimeStorageClassUpdated *timestamp.Timestamp `` /* 135-byte string literal not displayed */
	// Whether an object is under temporary hold. While this flag is set to true,
	// the object is protected against deletion and overwrites.  A common use case
	// of this flag is regulatory investigations where objects need to be retained
	// while the investigation is ongoing. Note that unlike event-based hold,
	// temporary hold does not impact retention expiration time of an object.
	TemporaryHold bool `protobuf:"varint,19,opt,name=temporary_hold,json=temporaryHold,proto3" json:"temporary_hold,omitempty"`
	// A server-determined value that specifies the earliest time that the
	// object's retention period expires. This value is in
	// [https://tools.ietf.org/html/rfc3339][RFC 3339] format.
	// Note 1: This field is not provided for objects with an active event-based
	// hold, since retention expiration is unknown until the hold is removed.
	// Note 2: This value can be provided even when temporary hold is set (so that
	// the user can reason about policy without having to first unset the
	// temporary hold).
	RetentionExpirationTime *timestamp.Timestamp `` /* 133-byte string literal not displayed */
	// User-provided metadata, in key/value pairs.
	Metadata map[string]string `` /* 158-byte string literal not displayed */
	// Whether an object is under event-based hold. Event-based hold is a way to
	// retain objects until an event occurs, which is signified by the
	// hold's release (i.e. this value is set to false). After being released (set
	// to false), such objects will be subject to bucket-level retention (if any).
	// One sample use case of this flag is for banks to hold loan documents for at
	// least 3 years after loan is paid in full. Here, bucket-level retention is 3
	// years and the event is the loan being paid in full. In this example, these
	// objects will be held intact for any number of years until the event has
	// occurred (event-based hold on the object is released) and then 3 more years
	// after that. That means retention duration of the objects begins from the
	// moment event-based hold transitioned from true to false.
	EventBasedHold *wrappers.BoolValue `protobuf:"bytes,29,opt,name=event_based_hold,json=eventBasedHold,proto3" json:"event_based_hold,omitempty"`
	// The name of the object.
	// Attempting to update this field after the object is created will result in
	// an error.
	Name string `protobuf:"bytes,23,opt,name=name,proto3" json:"name,omitempty"`
	// The ID of the object, including the bucket name, object name, and
	// generation number.
	// Attempting to update this field after the object is created will result in
	// an error.
	Id string `protobuf:"bytes,24,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the bucket containing this object.
	// Attempting to update this field after the object is created will result in
	// an error.
	Bucket string `protobuf:"bytes,25,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// The content generation of this object. Used for object versioning.
	// Attempting to set this field will result in an error.
	Generation int64 `protobuf:"varint,26,opt,name=generation,proto3" json:"generation,omitempty"`
	// The owner of the object. This will always be the uploader of the object.
	// Attempting to set this field will result in an error.
	Owner *Owner `protobuf:"bytes,27,opt,name=owner,proto3" json:"owner,omitempty"`
	// Metadata of customer-supplied encryption key, if the object is encrypted by
	// such a key.
	CustomerEncryption   *Object_CustomerEncryption `protobuf:"bytes,28,opt,name=customer_encryption,json=customerEncryption,proto3" json:"customer_encryption,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

An object.

func (*Object) Descriptor

func (*Object) Descriptor() ([]byte, []int)

func (*Object) GetAcl

func (m *Object) GetAcl() []*ObjectAccessControl

func (*Object) GetBucket

func (m *Object) GetBucket() string

func (*Object) GetCacheControl

func (m *Object) GetCacheControl() string

func (*Object) GetComponentCount

func (m *Object) GetComponentCount() int32

func (*Object) GetContentDisposition

func (m *Object) GetContentDisposition() string

func (*Object) GetContentEncoding

func (m *Object) GetContentEncoding() string

func (*Object) GetContentLanguage

func (m *Object) GetContentLanguage() string

func (*Object) GetContentType

func (m *Object) GetContentType() string

func (*Object) GetCrc32C

func (m *Object) GetCrc32C() *wrappers.UInt32Value

func (*Object) GetCustomerEncryption

func (m *Object) GetCustomerEncryption() *Object_CustomerEncryption

func (*Object) GetEtag

func (m *Object) GetEtag() string

func (*Object) GetEventBasedHold

func (m *Object) GetEventBasedHold() *wrappers.BoolValue

func (*Object) GetGeneration

func (m *Object) GetGeneration() int64

func (*Object) GetId

func (m *Object) GetId() string

func (*Object) GetKmsKeyName

func (m *Object) GetKmsKeyName() string

func (*Object) GetMd5Hash

func (m *Object) GetMd5Hash() string

func (*Object) GetMetadata

func (m *Object) GetMetadata() map[string]string

func (*Object) GetMetageneration

func (m *Object) GetMetageneration() int64

func (*Object) GetName

func (m *Object) GetName() string

func (*Object) GetOwner

func (m *Object) GetOwner() *Owner

func (*Object) GetRetentionExpirationTime

func (m *Object) GetRetentionExpirationTime() *timestamp.Timestamp

func (*Object) GetSize

func (m *Object) GetSize() int64

func (*Object) GetStorageClass

func (m *Object) GetStorageClass() string

func (*Object) GetTemporaryHold

func (m *Object) GetTemporaryHold() bool

func (*Object) GetTimeCreated

func (m *Object) GetTimeCreated() *timestamp.Timestamp

func (*Object) GetTimeDeleted

func (m *Object) GetTimeDeleted() *timestamp.Timestamp

func (*Object) GetTimeStorageClassUpdated

func (m *Object) GetTimeStorageClassUpdated() *timestamp.Timestamp

func (*Object) GetUpdated

func (m *Object) GetUpdated() *timestamp.Timestamp

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) Reset

func (m *Object) Reset()

func (*Object) String

func (m *Object) String() string

func (*Object) XXX_DiscardUnknown

func (m *Object) XXX_DiscardUnknown()

func (*Object) XXX_Marshal

func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Object) XXX_Merge

func (m *Object) XXX_Merge(src proto.Message)

func (*Object) XXX_Size

func (m *Object) XXX_Size() int

func (*Object) XXX_Unmarshal

func (m *Object) XXX_Unmarshal(b []byte) error

type ObjectAccessControl

type ObjectAccessControl struct {
	// The access permission for the entity.
	Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// HTTP 1.1 Entity tag for the access-control entry.
	// See [https://tools.ietf.org/html/rfc7232#section-2.3][RFC 7232 §2.3].
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// The ID of the access-control entry.
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// The name of the bucket.
	Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// The name of the object, if applied to an object.
	Object string `protobuf:"bytes,5,opt,name=object,proto3" json:"object,omitempty"`
	// The content generation of the object, if applied to an object.
	Generation int64 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"`
	// The entity holding the permission, in one of the following forms:
	// * `user-{userid}`
	// * `user-{email}`
	// * `group-{groupid}`
	// * `group-{email}`
	// * `domain-{domain}`
	// * `project-{team-projectid}`
	// * `allUsers`
	// * `allAuthenticatedUsers`
	// Examples:
	// * The user `liz@example.com` would be `user-liz@example.com`.
	// * The group `example@googlegroups.com` would be
	// `group-example@googlegroups.com`.
	// * All members of the Google Apps for Business domain `example.com` would be
	// `domain-example.com`.
	Entity string `protobuf:"bytes,7,opt,name=entity,proto3" json:"entity,omitempty"`
	// The ID for the entity, if any.
	EntityId string `protobuf:"bytes,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	// The email address associated with the entity, if any.
	Email string `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"`
	// The domain associated with the entity, if any.
	Domain string `protobuf:"bytes,10,opt,name=domain,proto3" json:"domain,omitempty"`
	// The project team associated with the entity, if any.
	ProjectTeam          *ProjectTeam `protobuf:"bytes,11,opt,name=project_team,json=projectTeam,proto3" json:"project_team,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

An access-control entry.

func (*ObjectAccessControl) Descriptor

func (*ObjectAccessControl) Descriptor() ([]byte, []int)

func (*ObjectAccessControl) GetBucket

func (m *ObjectAccessControl) GetBucket() string

func (*ObjectAccessControl) GetDomain

func (m *ObjectAccessControl) GetDomain() string

func (*ObjectAccessControl) GetEmail

func (m *ObjectAccessControl) GetEmail() string

func (*ObjectAccessControl) GetEntity

func (m *ObjectAccessControl) GetEntity() string

func (*ObjectAccessControl) GetEntityId

func (m *ObjectAccessControl) GetEntityId() string

func (*ObjectAccessControl) GetEtag

func (m *ObjectAccessControl) GetEtag() string

func (*ObjectAccessControl) GetGeneration

func (m *ObjectAccessControl) GetGeneration() int64

func (*ObjectAccessControl) GetId

func (m *ObjectAccessControl) GetId() string

func (*ObjectAccessControl) GetObject

func (m *ObjectAccessControl) GetObject() string

func (*ObjectAccessControl) GetProjectTeam

func (m *ObjectAccessControl) GetProjectTeam() *ProjectTeam

func (*ObjectAccessControl) GetRole

func (m *ObjectAccessControl) GetRole() string

func (*ObjectAccessControl) ProtoMessage

func (*ObjectAccessControl) ProtoMessage()

func (*ObjectAccessControl) Reset

func (m *ObjectAccessControl) Reset()

func (*ObjectAccessControl) String

func (m *ObjectAccessControl) String() string

func (*ObjectAccessControl) XXX_DiscardUnknown

func (m *ObjectAccessControl) XXX_DiscardUnknown()

func (*ObjectAccessControl) XXX_Marshal

func (m *ObjectAccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectAccessControl) XXX_Merge

func (m *ObjectAccessControl) XXX_Merge(src proto.Message)

func (*ObjectAccessControl) XXX_Size

func (m *ObjectAccessControl) XXX_Size() int

func (*ObjectAccessControl) XXX_Unmarshal

func (m *ObjectAccessControl) XXX_Unmarshal(b []byte) error

type ObjectChecksums

type ObjectChecksums struct {
	// CRC32C digest of the object data. Computed by the GCS service for
	// all written objects, and validated by the GCS service against
	// client-supplied values if present in an InsertObjectRequest.
	Crc32C *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=crc32c,proto3" json:"crc32c,omitempty"`
	// Hex-encoded MD5 hash of the object data (hexdigest). Whether/how this
	// checksum is provided and validated is service-dependent.
	Md5Hash              string   `protobuf:"bytes,2,opt,name=md5_hash,json=md5Hash,proto3" json:"md5_hash,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Message used for storing full (not subrange) object checksums.

func (*ObjectChecksums) Descriptor

func (*ObjectChecksums) Descriptor() ([]byte, []int)

func (*ObjectChecksums) GetCrc32C

func (m *ObjectChecksums) GetCrc32C() *wrappers.UInt32Value

func (*ObjectChecksums) GetMd5Hash

func (m *ObjectChecksums) GetMd5Hash() string

func (*ObjectChecksums) ProtoMessage

func (*ObjectChecksums) ProtoMessage()

func (*ObjectChecksums) Reset

func (m *ObjectChecksums) Reset()

func (*ObjectChecksums) String

func (m *ObjectChecksums) String() string

func (*ObjectChecksums) XXX_DiscardUnknown

func (m *ObjectChecksums) XXX_DiscardUnknown()

func (*ObjectChecksums) XXX_Marshal

func (m *ObjectChecksums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectChecksums) XXX_Merge

func (m *ObjectChecksums) XXX_Merge(src proto.Message)

func (*ObjectChecksums) XXX_Size

func (m *ObjectChecksums) XXX_Size() int

func (*ObjectChecksums) XXX_Unmarshal

func (m *ObjectChecksums) XXX_Unmarshal(b []byte) error

type Object_CustomerEncryption

type Object_CustomerEncryption struct {
	// The encryption algorithm.
	EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"`
	// SHA256 hash value of the encryption key.
	KeySha256            string   `protobuf:"bytes,2,opt,name=key_sha256,json=keySha256,proto3" json:"key_sha256,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Describes the customer-specified mechanism used to store the data at rest.

func (*Object_CustomerEncryption) Descriptor

func (*Object_CustomerEncryption) Descriptor() ([]byte, []int)

func (*Object_CustomerEncryption) GetEncryptionAlgorithm

func (m *Object_CustomerEncryption) GetEncryptionAlgorithm() string

func (*Object_CustomerEncryption) GetKeySha256

func (m *Object_CustomerEncryption) GetKeySha256() string

func (*Object_CustomerEncryption) ProtoMessage

func (*Object_CustomerEncryption) ProtoMessage()

func (*Object_CustomerEncryption) Reset

func (m *Object_CustomerEncryption) Reset()

func (*Object_CustomerEncryption) String

func (m *Object_CustomerEncryption) String() string

func (*Object_CustomerEncryption) XXX_DiscardUnknown

func (m *Object_CustomerEncryption) XXX_DiscardUnknown()

func (*Object_CustomerEncryption) XXX_Marshal

func (m *Object_CustomerEncryption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Object_CustomerEncryption) XXX_Merge

func (m *Object_CustomerEncryption) XXX_Merge(src proto.Message)

func (*Object_CustomerEncryption) XXX_Size

func (m *Object_CustomerEncryption) XXX_Size() int

func (*Object_CustomerEncryption) XXX_Unmarshal

func (m *Object_CustomerEncryption) XXX_Unmarshal(b []byte) error

type Owner

type Owner struct {
	// The entity, in the form `user-`*userId*.
	Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// The ID for the entity.
	EntityId             string   `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

The owner of a specific resource.

func (*Owner) Descriptor

func (*Owner) Descriptor() ([]byte, []int)

func (*Owner) GetEntity

func (m *Owner) GetEntity() string

func (*Owner) GetEntityId

func (m *Owner) GetEntityId() string

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) Reset

func (m *Owner) Reset()

func (*Owner) String

func (m *Owner) String() string

func (*Owner) XXX_DiscardUnknown

func (m *Owner) XXX_DiscardUnknown()

func (*Owner) XXX_Marshal

func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Owner) XXX_Merge

func (m *Owner) XXX_Merge(src proto.Message)

func (*Owner) XXX_Size

func (m *Owner) XXX_Size() int

func (*Owner) XXX_Unmarshal

func (m *Owner) XXX_Unmarshal(b []byte) error

type PatchBucketAccessControlRequest

type PatchBucketAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// The BucketAccessControl for updating.
	BucketAccessControl *BucketAccessControl `protobuf:"bytes,4,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"`
	// List of fields to be updated.
	//
	// To specify ALL fields, equivalent to the JSON API's "update" function,
	// specify a single field with the value `*`.
	//
	//
	// Not specifying any fields is an error.
	// Not specifying a field while setting that field to a non-default value is
	// an error.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request for PatchBucketAccessControl.

func (*PatchBucketAccessControlRequest) Descriptor

func (*PatchBucketAccessControlRequest) Descriptor() ([]byte, []int)

func (*PatchBucketAccessControlRequest) GetBucket

func (m *PatchBucketAccessControlRequest) GetBucket() string

func (*PatchBucketAccessControlRequest) GetBucketAccessControl

func (m *PatchBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl

func (*PatchBucketAccessControlRequest) GetCommonRequestParams

func (m *PatchBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchBucketAccessControlRequest) GetEntity

func (m *PatchBucketAccessControlRequest) GetEntity() string

func (*PatchBucketAccessControlRequest) GetUpdateMask

func (*PatchBucketAccessControlRequest) ProtoMessage

func (*PatchBucketAccessControlRequest) ProtoMessage()

func (*PatchBucketAccessControlRequest) Reset

func (*PatchBucketAccessControlRequest) String

func (*PatchBucketAccessControlRequest) XXX_DiscardUnknown

func (m *PatchBucketAccessControlRequest) XXX_DiscardUnknown()

func (*PatchBucketAccessControlRequest) XXX_Marshal

func (m *PatchBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchBucketAccessControlRequest) XXX_Merge

func (m *PatchBucketAccessControlRequest) XXX_Merge(src proto.Message)

func (*PatchBucketAccessControlRequest) XXX_Size

func (m *PatchBucketAccessControlRequest) XXX_Size() int

func (*PatchBucketAccessControlRequest) XXX_Unmarshal

func (m *PatchBucketAccessControlRequest) XXX_Unmarshal(b []byte) error

type PatchBucketRequest

type PatchBucketRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Makes the return of the bucket metadata conditional on whether the bucket's
	// current metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the return of the bucket metadata conditional on whether the bucket's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Apply a predefined set of access controls to this bucket.
	PredefinedAcl CommonEnums_PredefinedBucketAcl `` /* 156-byte string literal not displayed */
	// Apply a predefined set of default object access controls to this bucket.
	PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `` /* 199-byte string literal not displayed */
	// Set of properties to return. Defaults to `FULL`.
	Projection CommonEnums_Projection `protobuf:"varint,6,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// The Bucket metadata for updating.
	Metadata *Bucket `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// List of fields to be updated.
	//
	// To specify ALL fields, equivalent to the JSON API's "update" function,
	// specify a single field with the value `*`. Note: not recommended. If a new
	// field is introduced at a later time, an older client updating with the `*`
	// may accidentally reset the new field's value.
	//
	// Not specifying any fields is an error.
	// Not specifying a field while setting that field to a non-default value is
	// an error.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,9,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request for PatchBucket method.

func (*PatchBucketRequest) Descriptor

func (*PatchBucketRequest) Descriptor() ([]byte, []int)

func (*PatchBucketRequest) GetBucket

func (m *PatchBucketRequest) GetBucket() string

func (*PatchBucketRequest) GetCommonRequestParams

func (m *PatchBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchBucketRequest) GetIfMetagenerationMatch

func (m *PatchBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*PatchBucketRequest) GetIfMetagenerationNotMatch

func (m *PatchBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*PatchBucketRequest) GetMetadata

func (m *PatchBucketRequest) GetMetadata() *Bucket

func (*PatchBucketRequest) GetPredefinedAcl

func (*PatchBucketRequest) GetPredefinedDefaultObjectAcl

func (m *PatchBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl

func (*PatchBucketRequest) GetProjection

func (m *PatchBucketRequest) GetProjection() CommonEnums_Projection

func (*PatchBucketRequest) GetUpdateMask

func (m *PatchBucketRequest) GetUpdateMask() *field_mask.FieldMask

func (*PatchBucketRequest) ProtoMessage

func (*PatchBucketRequest) ProtoMessage()

func (*PatchBucketRequest) Reset

func (m *PatchBucketRequest) Reset()

func (*PatchBucketRequest) String

func (m *PatchBucketRequest) String() string

func (*PatchBucketRequest) XXX_DiscardUnknown

func (m *PatchBucketRequest) XXX_DiscardUnknown()

func (*PatchBucketRequest) XXX_Marshal

func (m *PatchBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchBucketRequest) XXX_Merge

func (m *PatchBucketRequest) XXX_Merge(src proto.Message)

func (*PatchBucketRequest) XXX_Size

func (m *PatchBucketRequest) XXX_Size() int

func (*PatchBucketRequest) XXX_Unmarshal

func (m *PatchBucketRequest) XXX_Unmarshal(b []byte) error

type PatchDefaultObjectAccessControlRequest

type PatchDefaultObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// The ObjectAccessControl for updating.
	ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,4,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"`
	// List of fields to be updated.
	//
	// To specify ALL fields, equivalent to the JSON API's "update" function,
	// specify a single field with the value `*`. Note: not recommended. If a new
	// field is introduced at a later time, an older client updating with the `*`
	// may accidentally reset the new field's value.
	//
	// Not specifying any fields is an error.
	// Not specifying a field while setting that field to a non-default value is
	// an error.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for PatchDefaultObjectAccessControl.

func (*PatchDefaultObjectAccessControlRequest) Descriptor

func (*PatchDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*PatchDefaultObjectAccessControlRequest) GetBucket

func (*PatchDefaultObjectAccessControlRequest) GetCommonRequestParams

func (m *PatchDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchDefaultObjectAccessControlRequest) GetEntity

func (*PatchDefaultObjectAccessControlRequest) GetObjectAccessControl

func (m *PatchDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*PatchDefaultObjectAccessControlRequest) GetUpdateMask

func (*PatchDefaultObjectAccessControlRequest) ProtoMessage

func (*PatchDefaultObjectAccessControlRequest) Reset

func (*PatchDefaultObjectAccessControlRequest) String

func (*PatchDefaultObjectAccessControlRequest) XXX_DiscardUnknown

func (m *PatchDefaultObjectAccessControlRequest) XXX_DiscardUnknown()

func (*PatchDefaultObjectAccessControlRequest) XXX_Marshal

func (m *PatchDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchDefaultObjectAccessControlRequest) XXX_Merge

func (*PatchDefaultObjectAccessControlRequest) XXX_Size

func (*PatchDefaultObjectAccessControlRequest) XXX_Unmarshal

func (m *PatchDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type PatchObjectAccessControlRequest

type PatchObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// Required. Name of the object.
	// Required.
	Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// The ObjectAccessControl for updating.
	ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,5,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	// List of fields to be updated.
	//
	// To specify ALL fields, equivalent to the JSON API's "update" function,
	// specify a single field with the value `*`. Note: not recommended. If a new
	// field is introduced at a later time, an older client updating with the `*`
	// may accidentally reset the new field's value.
	//
	// Not specifying any fields is an error.
	// Not specifying a field while setting that field to a non-default value is
	// an error.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,7,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request message for PatchObjectAccessControl.

func (*PatchObjectAccessControlRequest) Descriptor

func (*PatchObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*PatchObjectAccessControlRequest) GetBucket

func (m *PatchObjectAccessControlRequest) GetBucket() string

func (*PatchObjectAccessControlRequest) GetCommonRequestParams

func (m *PatchObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchObjectAccessControlRequest) GetEntity

func (m *PatchObjectAccessControlRequest) GetEntity() string

func (*PatchObjectAccessControlRequest) GetGeneration

func (m *PatchObjectAccessControlRequest) GetGeneration() int64

func (*PatchObjectAccessControlRequest) GetObject

func (m *PatchObjectAccessControlRequest) GetObject() string

func (*PatchObjectAccessControlRequest) GetObjectAccessControl

func (m *PatchObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*PatchObjectAccessControlRequest) GetUpdateMask

func (*PatchObjectAccessControlRequest) ProtoMessage

func (*PatchObjectAccessControlRequest) ProtoMessage()

func (*PatchObjectAccessControlRequest) Reset

func (*PatchObjectAccessControlRequest) String

func (*PatchObjectAccessControlRequest) XXX_DiscardUnknown

func (m *PatchObjectAccessControlRequest) XXX_DiscardUnknown()

func (*PatchObjectAccessControlRequest) XXX_Marshal

func (m *PatchObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchObjectAccessControlRequest) XXX_Merge

func (m *PatchObjectAccessControlRequest) XXX_Merge(src proto.Message)

func (*PatchObjectAccessControlRequest) XXX_Size

func (m *PatchObjectAccessControlRequest) XXX_Size() int

func (*PatchObjectAccessControlRequest) XXX_Unmarshal

func (m *PatchObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type PatchObjectRequest

type PatchObjectRequest struct {
	// Required. Name of the bucket in which the object resides.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Apply a predefined set of access controls to this object.
	PredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 156-byte string literal not displayed */
	// Set of properties to return. Defaults to `FULL`.
	Projection CommonEnums_Projection `protobuf:"varint,9,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// The Object metadata for updating.
	Metadata *Object `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// List of fields to be updated.
	//
	// To specify ALL fields, equivalent to the JSON API's "update" function,
	// specify a single field with the value `*`. Note: not recommended. If a new
	// field is introduced at a later time, an older client updating with the `*`
	// may accidentally reset the new field's value.
	//
	// Not specifying any fields is an error.
	// Not specifying a field while setting that field to a non-default value is
	// an error.
	UpdateMask *field_mask.FieldMask `protobuf:"bytes,12,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,14,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for PatchObject.

func (*PatchObjectRequest) Descriptor

func (*PatchObjectRequest) Descriptor() ([]byte, []int)

func (*PatchObjectRequest) GetBucket

func (m *PatchObjectRequest) GetBucket() string

func (*PatchObjectRequest) GetCommonObjectRequestParams

func (m *PatchObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*PatchObjectRequest) GetCommonRequestParams

func (m *PatchObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchObjectRequest) GetGeneration

func (m *PatchObjectRequest) GetGeneration() int64

func (*PatchObjectRequest) GetIfGenerationMatch

func (m *PatchObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value

func (*PatchObjectRequest) GetIfGenerationNotMatch

func (m *PatchObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value

func (*PatchObjectRequest) GetIfMetagenerationMatch

func (m *PatchObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*PatchObjectRequest) GetIfMetagenerationNotMatch

func (m *PatchObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*PatchObjectRequest) GetMetadata

func (m *PatchObjectRequest) GetMetadata() *Object

func (*PatchObjectRequest) GetObject

func (m *PatchObjectRequest) GetObject() string

func (*PatchObjectRequest) GetPredefinedAcl

func (*PatchObjectRequest) GetProjection

func (m *PatchObjectRequest) GetProjection() CommonEnums_Projection

func (*PatchObjectRequest) GetUpdateMask

func (m *PatchObjectRequest) GetUpdateMask() *field_mask.FieldMask

func (*PatchObjectRequest) ProtoMessage

func (*PatchObjectRequest) ProtoMessage()

func (*PatchObjectRequest) Reset

func (m *PatchObjectRequest) Reset()

func (*PatchObjectRequest) String

func (m *PatchObjectRequest) String() string

func (*PatchObjectRequest) XXX_DiscardUnknown

func (m *PatchObjectRequest) XXX_DiscardUnknown()

func (*PatchObjectRequest) XXX_Marshal

func (m *PatchObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PatchObjectRequest) XXX_Merge

func (m *PatchObjectRequest) XXX_Merge(src proto.Message)

func (*PatchObjectRequest) XXX_Size

func (m *PatchObjectRequest) XXX_Size() int

func (*PatchObjectRequest) XXX_Unmarshal

func (m *PatchObjectRequest) XXX_Unmarshal(b []byte) error

type ProjectTeam

type ProjectTeam struct {
	// The project number.
	ProjectNumber string `protobuf:"bytes,1,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"`
	// The team.
	Team                 string   `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Represents the Viewers, Editors, or Owners of a given project.

func (*ProjectTeam) Descriptor

func (*ProjectTeam) Descriptor() ([]byte, []int)

func (*ProjectTeam) GetProjectNumber

func (m *ProjectTeam) GetProjectNumber() string

func (*ProjectTeam) GetTeam

func (m *ProjectTeam) GetTeam() string

func (*ProjectTeam) ProtoMessage

func (*ProjectTeam) ProtoMessage()

func (*ProjectTeam) Reset

func (m *ProjectTeam) Reset()

func (*ProjectTeam) String

func (m *ProjectTeam) String() string

func (*ProjectTeam) XXX_DiscardUnknown

func (m *ProjectTeam) XXX_DiscardUnknown()

func (*ProjectTeam) XXX_Marshal

func (m *ProjectTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectTeam) XXX_Merge

func (m *ProjectTeam) XXX_Merge(src proto.Message)

func (*ProjectTeam) XXX_Size

func (m *ProjectTeam) XXX_Size() int

func (*ProjectTeam) XXX_Unmarshal

func (m *ProjectTeam) XXX_Unmarshal(b []byte) error

type QueryWriteStatusRequest

type QueryWriteStatusRequest struct {
	// Required. The name of the resume token for the object whose write status is being
	// requested.
	UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request object for `ByteStream.QueryWriteStatus`.

func (*QueryWriteStatusRequest) Descriptor

func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int)

func (*QueryWriteStatusRequest) GetCommonObjectRequestParams

func (m *QueryWriteStatusRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*QueryWriteStatusRequest) GetCommonRequestParams

func (m *QueryWriteStatusRequest) GetCommonRequestParams() *CommonRequestParams

func (*QueryWriteStatusRequest) GetUploadId

func (m *QueryWriteStatusRequest) GetUploadId() string

func (*QueryWriteStatusRequest) ProtoMessage

func (*QueryWriteStatusRequest) ProtoMessage()

func (*QueryWriteStatusRequest) Reset

func (m *QueryWriteStatusRequest) Reset()

func (*QueryWriteStatusRequest) String

func (m *QueryWriteStatusRequest) String() string

func (*QueryWriteStatusRequest) XXX_DiscardUnknown

func (m *QueryWriteStatusRequest) XXX_DiscardUnknown()

func (*QueryWriteStatusRequest) XXX_Marshal

func (m *QueryWriteStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryWriteStatusRequest) XXX_Merge

func (m *QueryWriteStatusRequest) XXX_Merge(src proto.Message)

func (*QueryWriteStatusRequest) XXX_Size

func (m *QueryWriteStatusRequest) XXX_Size() int

func (*QueryWriteStatusRequest) XXX_Unmarshal

func (m *QueryWriteStatusRequest) XXX_Unmarshal(b []byte) error

type QueryWriteStatusResponse

type QueryWriteStatusResponse struct {
	// The number of bytes that have been processed for the given object.
	CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize,proto3" json:"committed_size,omitempty"`
	// `complete` is `true` only if the client has sent a `InsertObjectRequest`
	// with `finish_write` set to true, and the server has processed that request.
	Complete             bool     `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response object for `ByteStream.QueryWriteStatus`.

func (*QueryWriteStatusResponse) Descriptor

func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int)

func (*QueryWriteStatusResponse) GetCommittedSize

func (m *QueryWriteStatusResponse) GetCommittedSize() int64

func (*QueryWriteStatusResponse) GetComplete

func (m *QueryWriteStatusResponse) GetComplete() bool

func (*QueryWriteStatusResponse) ProtoMessage

func (*QueryWriteStatusResponse) ProtoMessage()

func (*QueryWriteStatusResponse) Reset

func (m *QueryWriteStatusResponse) Reset()

func (*QueryWriteStatusResponse) String

func (m *QueryWriteStatusResponse) String() string

func (*QueryWriteStatusResponse) XXX_DiscardUnknown

func (m *QueryWriteStatusResponse) XXX_DiscardUnknown()

func (*QueryWriteStatusResponse) XXX_Marshal

func (m *QueryWriteStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryWriteStatusResponse) XXX_Merge

func (m *QueryWriteStatusResponse) XXX_Merge(src proto.Message)

func (*QueryWriteStatusResponse) XXX_Size

func (m *QueryWriteStatusResponse) XXX_Size() int

func (*QueryWriteStatusResponse) XXX_Unmarshal

func (m *QueryWriteStatusResponse) XXX_Unmarshal(b []byte) error

type RewriteObjectRequest

type RewriteObjectRequest struct {
	// Required. Name of the bucket in which to store the new object. Overrides the provided
	// object metadata's `bucket` value, if any.
	DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"`
	// Required. Name of the new object.
	// Required when the object metadata is not otherwise provided. Overrides the
	// object metadata's `name` value, if any.
	DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"`
	// Resource name of the Cloud KMS key, of the form
	// `projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key`,
	// that will be used to encrypt the object. Overrides the object
	// metadata's `kms_key_name` value, if any.
	DestinationKmsKeyName string `` /* 128-byte string literal not displayed */
	// Apply a predefined set of access controls to the destination object.
	DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 191-byte string literal not displayed */
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the destination object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the operation conditional on whether the destination object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// generation matches the given value.
	IfSourceGenerationMatch *wrappers.Int64Value `` /* 134-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// generation does not match the given value.
	IfSourceGenerationNotMatch *wrappers.Int64Value `` /* 146-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// metageneration matches the given value.
	IfSourceMetagenerationMatch *wrappers.Int64Value `` /* 147-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// metageneration does not match the given value.
	IfSourceMetagenerationNotMatch *wrappers.Int64Value `` /* 158-byte string literal not displayed */
	// The maximum number of bytes that will be rewritten per rewrite request.
	// Most callers
	// shouldn't need to specify this parameter - it is primarily in place to
	// support testing. If specified the value must be an integral multiple of
	// 1 MiB (1048576). Also, this only applies to requests where the source and
	// destination span locations and/or storage classes. Finally, this value must
	// not change across rewrite calls else you'll get an error that the
	// `rewriteToken` is invalid.
	MaxBytesRewrittenPerCall int64 `` /* 141-byte string literal not displayed */
	// Set of properties to return. Defaults to `NO_ACL`, unless the
	// object resource specifies the `acl` property, when it defaults
	// to `full`.
	Projection CommonEnums_Projection `protobuf:"varint,14,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// Include this field (from the previous rewrite response) on each rewrite
	// request after the first one, until the rewrite response 'done' flag is
	// true. Calls that provide a rewriteToken can omit all other request fields,
	// but if included those fields must match the values provided in the first
	// rewrite request.
	RewriteToken string `protobuf:"bytes,15,opt,name=rewrite_token,json=rewriteToken,proto3" json:"rewrite_token,omitempty"`
	// Required. Name of the bucket in which to find the source object.
	SourceBucket string `protobuf:"bytes,16,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"`
	// Required. Name of the source object.
	SourceObject string `protobuf:"bytes,17,opt,name=source_object,json=sourceObject,proto3" json:"source_object,omitempty"`
	// If present, selects a specific revision of the source object (as opposed to
	// the latest version, the default).
	SourceGeneration int64 `protobuf:"varint,18,opt,name=source_generation,json=sourceGeneration,proto3" json:"source_generation,omitempty"`
	// Properties of the destination, post-rewrite object.
	Object *Object `protobuf:"bytes,20,opt,name=object,proto3" json:"object,omitempty"`
	// The algorithm used to encrypt the source object, if any.
	CopySourceEncryptionAlgorithm string `` /* 153-byte string literal not displayed */
	// The encryption key used to encrypt the source object, if any.
	CopySourceEncryptionKey string `` /* 135-byte string literal not displayed */
	// The SHA-256 hash of the key used to encrypt the source object, if any.
	CopySourceEncryptionKeySha256 string `` /* 155-byte string literal not displayed */
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,25,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for RewriteObject.

func (*RewriteObjectRequest) Descriptor

func (*RewriteObjectRequest) Descriptor() ([]byte, []int)

func (*RewriteObjectRequest) GetCommonObjectRequestParams

func (m *RewriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*RewriteObjectRequest) GetCommonRequestParams

func (m *RewriteObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*RewriteObjectRequest) GetCopySourceEncryptionAlgorithm

func (m *RewriteObjectRequest) GetCopySourceEncryptionAlgorithm() string

func (*RewriteObjectRequest) GetCopySourceEncryptionKey

func (m *RewriteObjectRequest) GetCopySourceEncryptionKey() string

func (*RewriteObjectRequest) GetCopySourceEncryptionKeySha256

func (m *RewriteObjectRequest) GetCopySourceEncryptionKeySha256() string

func (*RewriteObjectRequest) GetDestinationBucket

func (m *RewriteObjectRequest) GetDestinationBucket() string

func (*RewriteObjectRequest) GetDestinationKmsKeyName

func (m *RewriteObjectRequest) GetDestinationKmsKeyName() string

func (*RewriteObjectRequest) GetDestinationObject

func (m *RewriteObjectRequest) GetDestinationObject() string

func (*RewriteObjectRequest) GetDestinationPredefinedAcl

func (m *RewriteObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*RewriteObjectRequest) GetIfGenerationMatch

func (m *RewriteObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value

func (*RewriteObjectRequest) GetIfGenerationNotMatch

func (m *RewriteObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value

func (*RewriteObjectRequest) GetIfMetagenerationMatch

func (m *RewriteObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*RewriteObjectRequest) GetIfMetagenerationNotMatch

func (m *RewriteObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*RewriteObjectRequest) GetIfSourceGenerationMatch

func (m *RewriteObjectRequest) GetIfSourceGenerationMatch() *wrappers.Int64Value

func (*RewriteObjectRequest) GetIfSourceGenerationNotMatch

func (m *RewriteObjectRequest) GetIfSourceGenerationNotMatch() *wrappers.Int64Value

func (*RewriteObjectRequest) GetIfSourceMetagenerationMatch

func (m *RewriteObjectRequest) GetIfSourceMetagenerationMatch() *wrappers.Int64Value

func (*RewriteObjectRequest) GetIfSourceMetagenerationNotMatch

func (m *RewriteObjectRequest) GetIfSourceMetagenerationNotMatch() *wrappers.Int64Value

func (*RewriteObjectRequest) GetMaxBytesRewrittenPerCall

func (m *RewriteObjectRequest) GetMaxBytesRewrittenPerCall() int64

func (*RewriteObjectRequest) GetObject

func (m *RewriteObjectRequest) GetObject() *Object

func (*RewriteObjectRequest) GetProjection

func (m *RewriteObjectRequest) GetProjection() CommonEnums_Projection

func (*RewriteObjectRequest) GetRewriteToken

func (m *RewriteObjectRequest) GetRewriteToken() string

func (*RewriteObjectRequest) GetSourceBucket

func (m *RewriteObjectRequest) GetSourceBucket() string

func (*RewriteObjectRequest) GetSourceGeneration

func (m *RewriteObjectRequest) GetSourceGeneration() int64

func (*RewriteObjectRequest) GetSourceObject

func (m *RewriteObjectRequest) GetSourceObject() string

func (*RewriteObjectRequest) ProtoMessage

func (*RewriteObjectRequest) ProtoMessage()

func (*RewriteObjectRequest) Reset

func (m *RewriteObjectRequest) Reset()

func (*RewriteObjectRequest) String

func (m *RewriteObjectRequest) String() string

func (*RewriteObjectRequest) XXX_DiscardUnknown

func (m *RewriteObjectRequest) XXX_DiscardUnknown()

func (*RewriteObjectRequest) XXX_Marshal

func (m *RewriteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewriteObjectRequest) XXX_Merge

func (m *RewriteObjectRequest) XXX_Merge(src proto.Message)

func (*RewriteObjectRequest) XXX_Size

func (m *RewriteObjectRequest) XXX_Size() int

func (*RewriteObjectRequest) XXX_Unmarshal

func (m *RewriteObjectRequest) XXX_Unmarshal(b []byte) error

type RewriteResponse

type RewriteResponse struct {
	// The total bytes written so far, which can be used to provide a waiting user
	// with a progress indicator. This property is always present in the response.
	TotalBytesRewritten int64 `protobuf:"varint,1,opt,name=total_bytes_rewritten,json=totalBytesRewritten,proto3" json:"total_bytes_rewritten,omitempty"`
	// The total size of the object being copied in bytes. This property is always
	// present in the response.
	ObjectSize int64 `protobuf:"varint,2,opt,name=object_size,json=objectSize,proto3" json:"object_size,omitempty"`
	// `true` if the copy is finished; otherwise, `false` if
	// the copy is in progress. This property is always present in the response.
	Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"`
	// A token to use in subsequent requests to continue copying data. This token
	// is present in the response only when there is more data to copy.
	RewriteToken string `protobuf:"bytes,4,opt,name=rewrite_token,json=rewriteToken,proto3" json:"rewrite_token,omitempty"`
	// A resource containing the metadata for the copied-to object. This property
	// is present in the response only when copying completes.
	Resource             *Object  `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A rewrite response.

func (*RewriteResponse) Descriptor

func (*RewriteResponse) Descriptor() ([]byte, []int)

func (*RewriteResponse) GetDone

func (m *RewriteResponse) GetDone() bool

func (*RewriteResponse) GetObjectSize

func (m *RewriteResponse) GetObjectSize() int64

func (*RewriteResponse) GetResource

func (m *RewriteResponse) GetResource() *Object

func (*RewriteResponse) GetRewriteToken

func (m *RewriteResponse) GetRewriteToken() string

func (*RewriteResponse) GetTotalBytesRewritten

func (m *RewriteResponse) GetTotalBytesRewritten() int64

func (*RewriteResponse) ProtoMessage

func (*RewriteResponse) ProtoMessage()

func (*RewriteResponse) Reset

func (m *RewriteResponse) Reset()

func (*RewriteResponse) String

func (m *RewriteResponse) String() string

func (*RewriteResponse) XXX_DiscardUnknown

func (m *RewriteResponse) XXX_DiscardUnknown()

func (*RewriteResponse) XXX_Marshal

func (m *RewriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RewriteResponse) XXX_Merge

func (m *RewriteResponse) XXX_Merge(src proto.Message)

func (*RewriteResponse) XXX_Size

func (m *RewriteResponse) XXX_Size() int

func (*RewriteResponse) XXX_Unmarshal

func (m *RewriteResponse) XXX_Unmarshal(b []byte) error

type ServiceAccount

type ServiceAccount struct {
	// The ID of the notification.
	EmailAddress         string   `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

A subscription to receive Google PubSub notifications.

func (*ServiceAccount) Descriptor

func (*ServiceAccount) Descriptor() ([]byte, []int)

func (*ServiceAccount) GetEmailAddress

func (m *ServiceAccount) GetEmailAddress() string

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) Reset

func (m *ServiceAccount) Reset()

func (*ServiceAccount) String

func (m *ServiceAccount) String() string

func (*ServiceAccount) XXX_DiscardUnknown

func (m *ServiceAccount) XXX_DiscardUnknown()

func (*ServiceAccount) XXX_Marshal

func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceAccount) XXX_Merge

func (m *ServiceAccount) XXX_Merge(src proto.Message)

func (*ServiceAccount) XXX_Size

func (m *ServiceAccount) XXX_Size() int

func (*ServiceAccount) XXX_Unmarshal

func (m *ServiceAccount) XXX_Unmarshal(b []byte) error

type ServiceConstants

type ServiceConstants struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Shared constants.

func (*ServiceConstants) Descriptor

func (*ServiceConstants) Descriptor() ([]byte, []int)

func (*ServiceConstants) ProtoMessage

func (*ServiceConstants) ProtoMessage()

func (*ServiceConstants) Reset

func (m *ServiceConstants) Reset()

func (*ServiceConstants) String

func (m *ServiceConstants) String() string

func (*ServiceConstants) XXX_DiscardUnknown

func (m *ServiceConstants) XXX_DiscardUnknown()

func (*ServiceConstants) XXX_Marshal

func (m *ServiceConstants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ServiceConstants) XXX_Merge

func (m *ServiceConstants) XXX_Merge(src proto.Message)

func (*ServiceConstants) XXX_Size

func (m *ServiceConstants) XXX_Size() int

func (*ServiceConstants) XXX_Unmarshal

func (m *ServiceConstants) XXX_Unmarshal(b []byte) error

type ServiceConstants_Values

type ServiceConstants_Values int32

A collection of constant values meaningful to the Storage API.

const (
	// Unused. Proto3 requires first enum to be 0.
	ServiceConstants_VALUES_UNSPECIFIED ServiceConstants_Values = 0
	// The maximum size chunk that can will be returned in a single
	// ReadRequest.
	// 2 MiB.
	ServiceConstants_MAX_READ_CHUNK_BYTES ServiceConstants_Values = 2097152
	// The maximum size chunk that can be sent in a single InsertObjectRequest.
	// 2 MiB.
	ServiceConstants_MAX_WRITE_CHUNK_BYTES ServiceConstants_Values = 2097152
	// The maximum size of an object in MB - whether written in a single stream
	// or composed from multiple other objects.
	// 5 TiB.
	ServiceConstants_MAX_OBJECT_SIZE_MB ServiceConstants_Values = 5242880
	// The maximum length field name that can be sent in a single
	// custom metadata field.
	// 1 KiB.
	ServiceConstants_MAX_CUSTOM_METADATA_FIELD_NAME_BYTES ServiceConstants_Values = 1024
	// The maximum length field value that can be sent in a single
	// custom_metadata field.
	// 4 KiB.
	ServiceConstants_MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES ServiceConstants_Values = 4096
	// The maximum total bytes that can be populated into all field names and
	// values of the custom_metadata for one object.
	// 8 KiB.
	ServiceConstants_MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES ServiceConstants_Values = 8192
	// The maximum total bytes that can be populated into all bucket metadata
	// fields.
	// 20 KiB.
	ServiceConstants_MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES ServiceConstants_Values = 20480
	// The maximum number of NotificationConfigurations that can be registered
	// for a given bucket.
	ServiceConstants_MAX_NOTIFICATION_CONFIGS_PER_BUCKET ServiceConstants_Values = 100
	// The maximum number of LifecycleRules that can be registered for a given
	// bucket.
	ServiceConstants_MAX_LIFECYCLE_RULES_PER_BUCKET ServiceConstants_Values = 100
	// The maximum number of custom attributes per NotificationConfig.
	ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTES ServiceConstants_Values = 5
	// The maximum length of a custom attribute key included in
	// NotificationConfig.
	ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH ServiceConstants_Values = 256
	// The maximum length of a custom attribute value included in a
	// NotificationConfig.
	ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH ServiceConstants_Values = 1024
	// The maximum number of key/value entries per bucket label.
	ServiceConstants_MAX_LABELS_ENTRIES_COUNT ServiceConstants_Values = 64
	// The maximum character length of the key or value in a bucket
	// label map.
	ServiceConstants_MAX_LABELS_KEY_VALUE_LENGTH ServiceConstants_Values = 63
	// The maximum byte size of the key or value in a bucket label
	// map.
	ServiceConstants_MAX_LABELS_KEY_VALUE_BYTES ServiceConstants_Values = 128
	// The maximum number of object IDs that can be included in a
	// DeleteObjectsRequest.
	ServiceConstants_MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST ServiceConstants_Values = 1000
	// The maximum number of days for which a token returned by the
	// GetListObjectsSplitPoints RPC is valid.
	ServiceConstants_SPLIT_TOKEN_MAX_VALID_DAYS ServiceConstants_Values = 14
)

func (ServiceConstants_Values) EnumDescriptor

func (ServiceConstants_Values) EnumDescriptor() ([]byte, []int)

func (ServiceConstants_Values) String

func (x ServiceConstants_Values) String() string

type SetIamPolicyRequest

type SetIamPolicyRequest struct {
	// The request sent to IAM.
	IamRequest *v1.SetIamPolicyRequest `protobuf:"bytes,1,opt,name=iam_request,json=iamRequest,proto3" json:"iam_request,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A wrapper around the IAM set policy request to support our common_request_params.

func (*SetIamPolicyRequest) Descriptor

func (*SetIamPolicyRequest) Descriptor() ([]byte, []int)

func (*SetIamPolicyRequest) GetCommonRequestParams

func (m *SetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams

func (*SetIamPolicyRequest) GetIamRequest

func (m *SetIamPolicyRequest) GetIamRequest() *v1.SetIamPolicyRequest

func (*SetIamPolicyRequest) ProtoMessage

func (*SetIamPolicyRequest) ProtoMessage()

func (*SetIamPolicyRequest) Reset

func (m *SetIamPolicyRequest) Reset()

func (*SetIamPolicyRequest) String

func (m *SetIamPolicyRequest) String() string

func (*SetIamPolicyRequest) XXX_DiscardUnknown

func (m *SetIamPolicyRequest) XXX_DiscardUnknown()

func (*SetIamPolicyRequest) XXX_Marshal

func (m *SetIamPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SetIamPolicyRequest) XXX_Merge

func (m *SetIamPolicyRequest) XXX_Merge(src proto.Message)

func (*SetIamPolicyRequest) XXX_Size

func (m *SetIamPolicyRequest) XXX_Size() int

func (*SetIamPolicyRequest) XXX_Unmarshal

func (m *SetIamPolicyRequest) XXX_Unmarshal(b []byte) error

type StartResumableWriteRequest

type StartResumableWriteRequest struct {
	// The destination bucket, object, and metadata, as well as any preconditions.
	InsertObjectSpec *InsertObjectSpec `protobuf:"bytes,1,opt,name=insert_object_spec,json=insertObjectSpec,proto3" json:"insert_object_spec,omitempty"`
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message StartResumableWrite.

func (*StartResumableWriteRequest) Descriptor

func (*StartResumableWriteRequest) Descriptor() ([]byte, []int)

func (*StartResumableWriteRequest) GetCommonObjectRequestParams

func (m *StartResumableWriteRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*StartResumableWriteRequest) GetCommonRequestParams

func (m *StartResumableWriteRequest) GetCommonRequestParams() *CommonRequestParams

func (*StartResumableWriteRequest) GetInsertObjectSpec

func (m *StartResumableWriteRequest) GetInsertObjectSpec() *InsertObjectSpec

func (*StartResumableWriteRequest) ProtoMessage

func (*StartResumableWriteRequest) ProtoMessage()

func (*StartResumableWriteRequest) Reset

func (m *StartResumableWriteRequest) Reset()

func (*StartResumableWriteRequest) String

func (m *StartResumableWriteRequest) String() string

func (*StartResumableWriteRequest) XXX_DiscardUnknown

func (m *StartResumableWriteRequest) XXX_DiscardUnknown()

func (*StartResumableWriteRequest) XXX_Marshal

func (m *StartResumableWriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartResumableWriteRequest) XXX_Merge

func (m *StartResumableWriteRequest) XXX_Merge(src proto.Message)

func (*StartResumableWriteRequest) XXX_Size

func (m *StartResumableWriteRequest) XXX_Size() int

func (*StartResumableWriteRequest) XXX_Unmarshal

func (m *StartResumableWriteRequest) XXX_Unmarshal(b []byte) error

type StartResumableWriteResponse

type StartResumableWriteResponse struct {
	// The upload_id of the newly started resumable write operation. This
	// value should be copied into the `InsertObjectRequest.upload_id` field.
	UploadId             string   `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Response object for ByteStream.StartResumableWrite.

func (*StartResumableWriteResponse) Descriptor

func (*StartResumableWriteResponse) Descriptor() ([]byte, []int)

func (*StartResumableWriteResponse) GetUploadId

func (m *StartResumableWriteResponse) GetUploadId() string

func (*StartResumableWriteResponse) ProtoMessage

func (*StartResumableWriteResponse) ProtoMessage()

func (*StartResumableWriteResponse) Reset

func (m *StartResumableWriteResponse) Reset()

func (*StartResumableWriteResponse) String

func (m *StartResumableWriteResponse) String() string

func (*StartResumableWriteResponse) XXX_DiscardUnknown

func (m *StartResumableWriteResponse) XXX_DiscardUnknown()

func (*StartResumableWriteResponse) XXX_Marshal

func (m *StartResumableWriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartResumableWriteResponse) XXX_Merge

func (m *StartResumableWriteResponse) XXX_Merge(src proto.Message)

func (*StartResumableWriteResponse) XXX_Size

func (m *StartResumableWriteResponse) XXX_Size() int

func (*StartResumableWriteResponse) XXX_Unmarshal

func (m *StartResumableWriteResponse) XXX_Unmarshal(b []byte) error

type StopChannelRequest

type StopChannelRequest struct {
	// The channel to be stopped.
	Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for StopChannel.

func (*StopChannelRequest) Descriptor

func (*StopChannelRequest) Descriptor() ([]byte, []int)

func (*StopChannelRequest) GetChannel

func (m *StopChannelRequest) GetChannel() *Channel

func (*StopChannelRequest) GetCommonRequestParams

func (m *StopChannelRequest) GetCommonRequestParams() *CommonRequestParams

func (*StopChannelRequest) ProtoMessage

func (*StopChannelRequest) ProtoMessage()

func (*StopChannelRequest) Reset

func (m *StopChannelRequest) Reset()

func (*StopChannelRequest) String

func (m *StopChannelRequest) String() string

func (*StopChannelRequest) XXX_DiscardUnknown

func (m *StopChannelRequest) XXX_DiscardUnknown()

func (*StopChannelRequest) XXX_Marshal

func (m *StopChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StopChannelRequest) XXX_Merge

func (m *StopChannelRequest) XXX_Merge(src proto.Message)

func (*StopChannelRequest) XXX_Size

func (m *StopChannelRequest) XXX_Size() int

func (*StopChannelRequest) XXX_Unmarshal

func (m *StopChannelRequest) XXX_Unmarshal(b []byte) error

type StorageClient

type StorageClient interface {
	// Permanently deletes the ACL entry for the specified entity on the specified
	// bucket.
	DeleteBucketAccessControl(ctx context.Context, in *DeleteBucketAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Returns the ACL entry for the specified entity on the specified bucket.
	GetBucketAccessControl(ctx context.Context, in *GetBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error)
	// Creates a new ACL entry on the specified bucket.
	InsertBucketAccessControl(ctx context.Context, in *InsertBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error)
	// Retrieves ACL entries on the specified bucket.
	ListBucketAccessControls(ctx context.Context, in *ListBucketAccessControlsRequest, opts ...grpc.CallOption) (*ListBucketAccessControlsResponse, error)
	// Updates an ACL entry on the specified bucket. Equivalent to
	// PatchBucketAccessControl, but all unspecified fields will be
	// reset to their default values.
	UpdateBucketAccessControl(ctx context.Context, in *UpdateBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error)
	// Updates an ACL entry on the specified bucket.
	PatchBucketAccessControl(ctx context.Context, in *PatchBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error)
	// Permanently deletes an empty bucket.
	DeleteBucket(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Returns metadata for the specified bucket.
	GetBucket(ctx context.Context, in *GetBucketRequest, opts ...grpc.CallOption) (*Bucket, error)
	// Creates a new bucket.
	InsertBucket(ctx context.Context, in *InsertBucketRequest, opts ...grpc.CallOption) (*Bucket, error)
	// List active object change notification channels for this bucket.
	ListChannels(ctx context.Context, in *ListChannelsRequest, opts ...grpc.CallOption) (*ListChannelsResponse, error)
	// Retrieves a list of buckets for a given project.
	ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error)
	// Locks retention policy on a bucket.
	LockBucketRetentionPolicy(ctx context.Context, in *LockRetentionPolicyRequest, opts ...grpc.CallOption) (*Bucket, error)
	// Gets the IAM policy for the specified bucket.
	GetBucketIamPolicy(ctx context.Context, in *GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Updates an IAM policy for the specified bucket.
	SetBucketIamPolicy(ctx context.Context, in *SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Tests a set of permissions on the given bucket to see which, if
	// any, are held by the caller.
	TestBucketIamPermissions(ctx context.Context, in *TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
	// Updates a bucket. Changes to the bucket will be readable immediately after
	// writing, but configuration changes may take time to propagate.
	PatchBucket(ctx context.Context, in *PatchBucketRequest, opts ...grpc.CallOption) (*Bucket, error)
	// Updates a bucket. Equivalent to PatchBucket, but always replaces all
	// mutatable fields of the bucket with new values, reverting all
	// unspecified fields to their default values.
	// Like PatchBucket, Changes to the bucket will be readable immediately after
	// writing, but configuration changes may take time to propagate.
	UpdateBucket(ctx context.Context, in *UpdateBucketRequest, opts ...grpc.CallOption) (*Bucket, error)
	// Halts "Object Change Notification" push messagages.
	// See https://cloud.google.com/storage/docs/object-change-notification
	// Note: this is not related to the newer "Notifications" resource, which
	// are stopped using DeleteNotification.
	StopChannel(ctx context.Context, in *StopChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Permanently deletes the default object ACL entry for the specified entity
	// on the specified bucket.
	DeleteDefaultObjectAccessControl(ctx context.Context, in *DeleteDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Returns the default object ACL entry for the specified entity on the
	// specified bucket.
	GetDefaultObjectAccessControl(ctx context.Context, in *GetDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error)
	// Creates a new default object ACL entry on the specified bucket.
	InsertDefaultObjectAccessControl(ctx context.Context, in *InsertDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error)
	// Retrieves default object ACL entries on the specified bucket.
	ListDefaultObjectAccessControls(ctx context.Context, in *ListDefaultObjectAccessControlsRequest, opts ...grpc.CallOption) (*ListObjectAccessControlsResponse, error)
	// Updates a default object ACL entry on the specified bucket.
	PatchDefaultObjectAccessControl(ctx context.Context, in *PatchDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error)
	// Updates a default object ACL entry on the specified bucket. Equivalent to
	// PatchDefaultObjectAccessControl, but modifies all unspecified fields to
	// their default values.
	UpdateDefaultObjectAccessControl(ctx context.Context, in *UpdateDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error)
	// Permanently deletes a notification subscription.
	// Note: Older, "Object Change Notification" push subscriptions should be
	// deleted using StopChannel instead.
	DeleteNotification(ctx context.Context, in *DeleteNotificationRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// View a notification configuration.
	GetNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*Notification, error)
	// Creates a notification subscription for a given bucket.
	// These notifications, when triggered, publish messages to the specified
	// Cloud Pub/Sub topics.
	// See https://cloud.google.com/storage/docs/pubsub-notifications.
	InsertNotification(ctx context.Context, in *InsertNotificationRequest, opts ...grpc.CallOption) (*Notification, error)
	// Retrieves a list of notification subscriptions for a given bucket.
	ListNotifications(ctx context.Context, in *ListNotificationsRequest, opts ...grpc.CallOption) (*ListNotificationsResponse, error)
	// Permanently deletes the ACL entry for the specified entity on the specified
	// object.
	DeleteObjectAccessControl(ctx context.Context, in *DeleteObjectAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Returns the ACL entry for the specified entity on the specified object.
	GetObjectAccessControl(ctx context.Context, in *GetObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error)
	// Creates a new ACL entry on the specified object.
	InsertObjectAccessControl(ctx context.Context, in *InsertObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error)
	// Retrieves ACL entries on the specified object.
	ListObjectAccessControls(ctx context.Context, in *ListObjectAccessControlsRequest, opts ...grpc.CallOption) (*ListObjectAccessControlsResponse, error)
	// Patches an ACL entry on the specified object.  Patch is similar to update,
	// but only applies or appends the specified fields in the
	// object_access_control object.  Other fields are unaffected.
	PatchObjectAccessControl(ctx context.Context, in *PatchObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error)
	// Updates an ACL entry on the specified object.
	UpdateObjectAccessControl(ctx context.Context, in *UpdateObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error)
	// Concatenates a list of existing objects into a new object in the same
	// bucket.
	ComposeObject(ctx context.Context, in *ComposeObjectRequest, opts ...grpc.CallOption) (*Object, error)
	// Copies a source object to a destination object. Optionally overrides
	// metadata.
	CopyObject(ctx context.Context, in *CopyObjectRequest, opts ...grpc.CallOption) (*Object, error)
	// Deletes an object and its metadata. Deletions are permanent if versioning
	// is not enabled for the bucket, or if the `generation` parameter
	// is used.
	DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Retrieves an object's metadata.
	GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*Object, error)
	// Reads an object's data.
	GetObjectMedia(ctx context.Context, in *GetObjectMediaRequest, opts ...grpc.CallOption) (Storage_GetObjectMediaClient, error)
	// Stores a new object and metadata.
	//
	// An object can be written either in a single message stream or in a
	// resumable sequence of message streams. To write using a single stream,
	// the client should include in the first message of the stream an
	// `InsertObjectSpec` describing the destination bucket, object, and any
	// preconditions. Additionally, the final message must set 'finish_write' to
	// true, or else it is an error.
	//
	// For a resumable write, the client should instead call
	// `StartResumableWrite()` and provide that method an `InsertObjectSpec.`
	// They should then attach the returned `upload_id` to the first message of
	// each following call to `Insert`. If there is an error or the connection is
	// broken during the resumable `Insert()`, the client should check the status
	// of the `Insert()` by calling `QueryWriteStatus()` and continue writing from
	// the returned `committed_size`. This may be less than the amount of data the
	// client previously sent.
	//
	// The service will not view the object as complete until the client has
	// sent an `Insert` with `finish_write` set to `true`. Sending any
	// requests on a stream after sending a request with `finish_write` set to
	// `true` will cause an error. The client **should** check the
	// `Object` it receives to determine how much data the service was
	// able to commit and whether the service views the object as complete.
	InsertObject(ctx context.Context, opts ...grpc.CallOption) (Storage_InsertObjectClient, error)
	// Retrieves a list of objects matching the criteria.
	ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error)
	// Rewrites a source object to a destination object. Optionally overrides
	// metadata.
	RewriteObject(ctx context.Context, in *RewriteObjectRequest, opts ...grpc.CallOption) (*RewriteResponse, error)
	// Starts a resumable write. How long the write operation remains valid, and
	// what happens when the write operation becomes invalid, are
	// service-dependent.
	StartResumableWrite(ctx context.Context, in *StartResumableWriteRequest, opts ...grpc.CallOption) (*StartResumableWriteResponse, error)
	// Determines the `committed_size` for an object that is being written, which
	// can then be used as the `write_offset` for the next `Write()` call.
	//
	// If the object does not exist (i.e., the object has been deleted, or the
	// first `Write()` has not yet reached the service), this method returns the
	// error `NOT_FOUND`.
	//
	// The client **may** call `QueryWriteStatus()` at any time to determine how
	// much data has been processed for this object. This is useful if the
	// client is buffering data and needs to know which data can be safely
	// evicted. For any sequence of `QueryWriteStatus()` calls for a given
	// object name, the sequence of returned `committed_size` values will be
	// non-decreasing.
	QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error)
	// Updates an object's metadata.
	PatchObject(ctx context.Context, in *PatchObjectRequest, opts ...grpc.CallOption) (*Object, error)
	// Updates an object's metadata. Equivalent to PatchObject, but always
	// replaces all mutatable fields of the bucket with new values, reverting all
	// unspecified fields to their default values.
	UpdateObject(ctx context.Context, in *UpdateObjectRequest, opts ...grpc.CallOption) (*Object, error)
	// Gets the IAM policy for the specified object.
	GetObjectIamPolicy(ctx context.Context, in *GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Updates an IAM policy for the specified object.
	SetObjectIamPolicy(ctx context.Context, in *SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error)
	// Tests a set of permissions on the given object to see which, if
	// any, are held by the caller.
	TestObjectIamPermissions(ctx context.Context, in *TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error)
	// Watch for changes on all objects in a bucket.
	WatchAllObjects(ctx context.Context, in *WatchAllObjectsRequest, opts ...grpc.CallOption) (*Channel, error)
	// Retrieves the name of a project's Google Cloud Storage service account.
	GetServiceAccount(ctx context.Context, in *GetProjectServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error)
	// Creates a new HMAC key for the given service account.
	CreateHmacKey(ctx context.Context, in *CreateHmacKeyRequest, opts ...grpc.CallOption) (*CreateHmacKeyResponse, error)
	// Deletes a given HMAC key.  Key must be in an INACTIVE state.
	DeleteHmacKey(ctx context.Context, in *DeleteHmacKeyRequest, opts ...grpc.CallOption) (*empty.Empty, error)
	// Gets an existing HMAC key metadata for the given id.
	GetHmacKey(ctx context.Context, in *GetHmacKeyRequest, opts ...grpc.CallOption) (*HmacKeyMetadata, error)
	// Lists HMAC keys under a given project with the additional filters provided.
	ListHmacKeys(ctx context.Context, in *ListHmacKeysRequest, opts ...grpc.CallOption) (*ListHmacKeysResponse, error)
	// Updates a given HMAC key state between ACTIVE and INACTIVE.
	UpdateHmacKey(ctx context.Context, in *UpdateHmacKeyRequest, opts ...grpc.CallOption) (*HmacKeyMetadata, error)
}

StorageClient is the client API for Storage service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewStorageClient

func NewStorageClient(cc grpc.ClientConnInterface) StorageClient

type StorageServer

type StorageServer interface {
	// Permanently deletes the ACL entry for the specified entity on the specified
	// bucket.
	DeleteBucketAccessControl(context.Context, *DeleteBucketAccessControlRequest) (*empty.Empty, error)
	// Returns the ACL entry for the specified entity on the specified bucket.
	GetBucketAccessControl(context.Context, *GetBucketAccessControlRequest) (*BucketAccessControl, error)
	// Creates a new ACL entry on the specified bucket.
	InsertBucketAccessControl(context.Context, *InsertBucketAccessControlRequest) (*BucketAccessControl, error)
	// Retrieves ACL entries on the specified bucket.
	ListBucketAccessControls(context.Context, *ListBucketAccessControlsRequest) (*ListBucketAccessControlsResponse, error)
	// Updates an ACL entry on the specified bucket. Equivalent to
	// PatchBucketAccessControl, but all unspecified fields will be
	// reset to their default values.
	UpdateBucketAccessControl(context.Context, *UpdateBucketAccessControlRequest) (*BucketAccessControl, error)
	// Updates an ACL entry on the specified bucket.
	PatchBucketAccessControl(context.Context, *PatchBucketAccessControlRequest) (*BucketAccessControl, error)
	// Permanently deletes an empty bucket.
	DeleteBucket(context.Context, *DeleteBucketRequest) (*empty.Empty, error)
	// Returns metadata for the specified bucket.
	GetBucket(context.Context, *GetBucketRequest) (*Bucket, error)
	// Creates a new bucket.
	InsertBucket(context.Context, *InsertBucketRequest) (*Bucket, error)
	// List active object change notification channels for this bucket.
	ListChannels(context.Context, *ListChannelsRequest) (*ListChannelsResponse, error)
	// Retrieves a list of buckets for a given project.
	ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error)
	// Locks retention policy on a bucket.
	LockBucketRetentionPolicy(context.Context, *LockRetentionPolicyRequest) (*Bucket, error)
	// Gets the IAM policy for the specified bucket.
	GetBucketIamPolicy(context.Context, *GetIamPolicyRequest) (*v1.Policy, error)
	// Updates an IAM policy for the specified bucket.
	SetBucketIamPolicy(context.Context, *SetIamPolicyRequest) (*v1.Policy, error)
	// Tests a set of permissions on the given bucket to see which, if
	// any, are held by the caller.
	TestBucketIamPermissions(context.Context, *TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
	// Updates a bucket. Changes to the bucket will be readable immediately after
	// writing, but configuration changes may take time to propagate.
	PatchBucket(context.Context, *PatchBucketRequest) (*Bucket, error)
	// Updates a bucket. Equivalent to PatchBucket, but always replaces all
	// mutatable fields of the bucket with new values, reverting all
	// unspecified fields to their default values.
	// Like PatchBucket, Changes to the bucket will be readable immediately after
	// writing, but configuration changes may take time to propagate.
	UpdateBucket(context.Context, *UpdateBucketRequest) (*Bucket, error)
	// Halts "Object Change Notification" push messagages.
	// See https://cloud.google.com/storage/docs/object-change-notification
	// Note: this is not related to the newer "Notifications" resource, which
	// are stopped using DeleteNotification.
	StopChannel(context.Context, *StopChannelRequest) (*empty.Empty, error)
	// Permanently deletes the default object ACL entry for the specified entity
	// on the specified bucket.
	DeleteDefaultObjectAccessControl(context.Context, *DeleteDefaultObjectAccessControlRequest) (*empty.Empty, error)
	// Returns the default object ACL entry for the specified entity on the
	// specified bucket.
	GetDefaultObjectAccessControl(context.Context, *GetDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
	// Creates a new default object ACL entry on the specified bucket.
	InsertDefaultObjectAccessControl(context.Context, *InsertDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
	// Retrieves default object ACL entries on the specified bucket.
	ListDefaultObjectAccessControls(context.Context, *ListDefaultObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error)
	// Updates a default object ACL entry on the specified bucket.
	PatchDefaultObjectAccessControl(context.Context, *PatchDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
	// Updates a default object ACL entry on the specified bucket. Equivalent to
	// PatchDefaultObjectAccessControl, but modifies all unspecified fields to
	// their default values.
	UpdateDefaultObjectAccessControl(context.Context, *UpdateDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
	// Permanently deletes a notification subscription.
	// Note: Older, "Object Change Notification" push subscriptions should be
	// deleted using StopChannel instead.
	DeleteNotification(context.Context, *DeleteNotificationRequest) (*empty.Empty, error)
	// View a notification configuration.
	GetNotification(context.Context, *GetNotificationRequest) (*Notification, error)
	// Creates a notification subscription for a given bucket.
	// These notifications, when triggered, publish messages to the specified
	// Cloud Pub/Sub topics.
	// See https://cloud.google.com/storage/docs/pubsub-notifications.
	InsertNotification(context.Context, *InsertNotificationRequest) (*Notification, error)
	// Retrieves a list of notification subscriptions for a given bucket.
	ListNotifications(context.Context, *ListNotificationsRequest) (*ListNotificationsResponse, error)
	// Permanently deletes the ACL entry for the specified entity on the specified
	// object.
	DeleteObjectAccessControl(context.Context, *DeleteObjectAccessControlRequest) (*empty.Empty, error)
	// Returns the ACL entry for the specified entity on the specified object.
	GetObjectAccessControl(context.Context, *GetObjectAccessControlRequest) (*ObjectAccessControl, error)
	// Creates a new ACL entry on the specified object.
	InsertObjectAccessControl(context.Context, *InsertObjectAccessControlRequest) (*ObjectAccessControl, error)
	// Retrieves ACL entries on the specified object.
	ListObjectAccessControls(context.Context, *ListObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error)
	// Patches an ACL entry on the specified object.  Patch is similar to update,
	// but only applies or appends the specified fields in the
	// object_access_control object.  Other fields are unaffected.
	PatchObjectAccessControl(context.Context, *PatchObjectAccessControlRequest) (*ObjectAccessControl, error)
	// Updates an ACL entry on the specified object.
	UpdateObjectAccessControl(context.Context, *UpdateObjectAccessControlRequest) (*ObjectAccessControl, error)
	// Concatenates a list of existing objects into a new object in the same
	// bucket.
	ComposeObject(context.Context, *ComposeObjectRequest) (*Object, error)
	// Copies a source object to a destination object. Optionally overrides
	// metadata.
	CopyObject(context.Context, *CopyObjectRequest) (*Object, error)
	// Deletes an object and its metadata. Deletions are permanent if versioning
	// is not enabled for the bucket, or if the `generation` parameter
	// is used.
	DeleteObject(context.Context, *DeleteObjectRequest) (*empty.Empty, error)
	// Retrieves an object's metadata.
	GetObject(context.Context, *GetObjectRequest) (*Object, error)
	// Reads an object's data.
	GetObjectMedia(*GetObjectMediaRequest, Storage_GetObjectMediaServer) error
	// Stores a new object and metadata.
	//
	// An object can be written either in a single message stream or in a
	// resumable sequence of message streams. To write using a single stream,
	// the client should include in the first message of the stream an
	// `InsertObjectSpec` describing the destination bucket, object, and any
	// preconditions. Additionally, the final message must set 'finish_write' to
	// true, or else it is an error.
	//
	// For a resumable write, the client should instead call
	// `StartResumableWrite()` and provide that method an `InsertObjectSpec.`
	// They should then attach the returned `upload_id` to the first message of
	// each following call to `Insert`. If there is an error or the connection is
	// broken during the resumable `Insert()`, the client should check the status
	// of the `Insert()` by calling `QueryWriteStatus()` and continue writing from
	// the returned `committed_size`. This may be less than the amount of data the
	// client previously sent.
	//
	// The service will not view the object as complete until the client has
	// sent an `Insert` with `finish_write` set to `true`. Sending any
	// requests on a stream after sending a request with `finish_write` set to
	// `true` will cause an error. The client **should** check the
	// `Object` it receives to determine how much data the service was
	// able to commit and whether the service views the object as complete.
	InsertObject(Storage_InsertObjectServer) error
	// Retrieves a list of objects matching the criteria.
	ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error)
	// Rewrites a source object to a destination object. Optionally overrides
	// metadata.
	RewriteObject(context.Context, *RewriteObjectRequest) (*RewriteResponse, error)
	// Starts a resumable write. How long the write operation remains valid, and
	// what happens when the write operation becomes invalid, are
	// service-dependent.
	StartResumableWrite(context.Context, *StartResumableWriteRequest) (*StartResumableWriteResponse, error)
	// Determines the `committed_size` for an object that is being written, which
	// can then be used as the `write_offset` for the next `Write()` call.
	//
	// If the object does not exist (i.e., the object has been deleted, or the
	// first `Write()` has not yet reached the service), this method returns the
	// error `NOT_FOUND`.
	//
	// The client **may** call `QueryWriteStatus()` at any time to determine how
	// much data has been processed for this object. This is useful if the
	// client is buffering data and needs to know which data can be safely
	// evicted. For any sequence of `QueryWriteStatus()` calls for a given
	// object name, the sequence of returned `committed_size` values will be
	// non-decreasing.
	QueryWriteStatus(context.Context, *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error)
	// Updates an object's metadata.
	PatchObject(context.Context, *PatchObjectRequest) (*Object, error)
	// Updates an object's metadata. Equivalent to PatchObject, but always
	// replaces all mutatable fields of the bucket with new values, reverting all
	// unspecified fields to their default values.
	UpdateObject(context.Context, *UpdateObjectRequest) (*Object, error)
	// Gets the IAM policy for the specified object.
	GetObjectIamPolicy(context.Context, *GetIamPolicyRequest) (*v1.Policy, error)
	// Updates an IAM policy for the specified object.
	SetObjectIamPolicy(context.Context, *SetIamPolicyRequest) (*v1.Policy, error)
	// Tests a set of permissions on the given object to see which, if
	// any, are held by the caller.
	TestObjectIamPermissions(context.Context, *TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
	// Watch for changes on all objects in a bucket.
	WatchAllObjects(context.Context, *WatchAllObjectsRequest) (*Channel, error)
	// Retrieves the name of a project's Google Cloud Storage service account.
	GetServiceAccount(context.Context, *GetProjectServiceAccountRequest) (*ServiceAccount, error)
	// Creates a new HMAC key for the given service account.
	CreateHmacKey(context.Context, *CreateHmacKeyRequest) (*CreateHmacKeyResponse, error)
	// Deletes a given HMAC key.  Key must be in an INACTIVE state.
	DeleteHmacKey(context.Context, *DeleteHmacKeyRequest) (*empty.Empty, error)
	// Gets an existing HMAC key metadata for the given id.
	GetHmacKey(context.Context, *GetHmacKeyRequest) (*HmacKeyMetadata, error)
	// Lists HMAC keys under a given project with the additional filters provided.
	ListHmacKeys(context.Context, *ListHmacKeysRequest) (*ListHmacKeysResponse, error)
	// Updates a given HMAC key state between ACTIVE and INACTIVE.
	UpdateHmacKey(context.Context, *UpdateHmacKeyRequest) (*HmacKeyMetadata, error)
}

StorageServer is the server API for Storage service.

type Storage_GetObjectMediaClient

type Storage_GetObjectMediaClient interface {
	Recv() (*GetObjectMediaResponse, error)
	grpc.ClientStream
}

type Storage_GetObjectMediaServer

type Storage_GetObjectMediaServer interface {
	Send(*GetObjectMediaResponse) error
	grpc.ServerStream
}

type Storage_InsertObjectClient

type Storage_InsertObjectClient interface {
	Send(*InsertObjectRequest) error
	CloseAndRecv() (*Object, error)
	grpc.ClientStream
}

type Storage_InsertObjectServer

type Storage_InsertObjectServer interface {
	SendAndClose(*Object) error
	Recv() (*InsertObjectRequest, error)
	grpc.ServerStream
}

type TestIamPermissionsRequest

type TestIamPermissionsRequest struct {
	// The request sent to IAM.
	IamRequest *v1.TestIamPermissionsRequest `protobuf:"bytes,1,opt,name=iam_request,json=iamRequest,proto3" json:"iam_request,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

A wrapper around the IAM test iam permissions request to support our common_request_params.

func (*TestIamPermissionsRequest) Descriptor

func (*TestIamPermissionsRequest) Descriptor() ([]byte, []int)

func (*TestIamPermissionsRequest) GetCommonRequestParams

func (m *TestIamPermissionsRequest) GetCommonRequestParams() *CommonRequestParams

func (*TestIamPermissionsRequest) GetIamRequest

func (*TestIamPermissionsRequest) ProtoMessage

func (*TestIamPermissionsRequest) ProtoMessage()

func (*TestIamPermissionsRequest) Reset

func (m *TestIamPermissionsRequest) Reset()

func (*TestIamPermissionsRequest) String

func (m *TestIamPermissionsRequest) String() string

func (*TestIamPermissionsRequest) XXX_DiscardUnknown

func (m *TestIamPermissionsRequest) XXX_DiscardUnknown()

func (*TestIamPermissionsRequest) XXX_Marshal

func (m *TestIamPermissionsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TestIamPermissionsRequest) XXX_Merge

func (m *TestIamPermissionsRequest) XXX_Merge(src proto.Message)

func (*TestIamPermissionsRequest) XXX_Size

func (m *TestIamPermissionsRequest) XXX_Size() int

func (*TestIamPermissionsRequest) XXX_Unmarshal

func (m *TestIamPermissionsRequest) XXX_Unmarshal(b []byte) error

type UnimplementedStorageServer

type UnimplementedStorageServer struct {
}

UnimplementedStorageServer can be embedded to have forward compatible implementations.

func (*UnimplementedStorageServer) ComposeObject

func (*UnimplementedStorageServer) CopyObject

func (*UnimplementedStorageServer) CreateHmacKey

func (*UnimplementedStorageServer) DeleteBucket

func (*UnimplementedStorageServer) DeleteBucketAccessControl

func (*UnimplementedStorageServer) DeleteDefaultObjectAccessControl

func (*UnimplementedStorageServer) DeleteDefaultObjectAccessControl(ctx context.Context, req *DeleteDefaultObjectAccessControlRequest) (*empty.Empty, error)

func (*UnimplementedStorageServer) DeleteHmacKey

func (*UnimplementedStorageServer) DeleteNotification

func (*UnimplementedStorageServer) DeleteObject

func (*UnimplementedStorageServer) DeleteObjectAccessControl

func (*UnimplementedStorageServer) GetBucket

func (*UnimplementedStorageServer) GetBucketAccessControl

func (*UnimplementedStorageServer) GetBucketIamPolicy

func (*UnimplementedStorageServer) GetBucketIamPolicy(ctx context.Context, req *GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedStorageServer) GetDefaultObjectAccessControl

func (*UnimplementedStorageServer) GetHmacKey

func (*UnimplementedStorageServer) GetNotification

func (*UnimplementedStorageServer) GetObject

func (*UnimplementedStorageServer) GetObjectAccessControl

func (*UnimplementedStorageServer) GetObjectIamPolicy

func (*UnimplementedStorageServer) GetObjectIamPolicy(ctx context.Context, req *GetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedStorageServer) GetObjectMedia

func (*UnimplementedStorageServer) GetServiceAccount

func (*UnimplementedStorageServer) InsertBucket

func (*UnimplementedStorageServer) InsertBucketAccessControl

func (*UnimplementedStorageServer) InsertDefaultObjectAccessControl

func (*UnimplementedStorageServer) InsertNotification

func (*UnimplementedStorageServer) InsertObject

func (*UnimplementedStorageServer) InsertObjectAccessControl

func (*UnimplementedStorageServer) ListBucketAccessControls

func (*UnimplementedStorageServer) ListBuckets

func (*UnimplementedStorageServer) ListChannels

func (*UnimplementedStorageServer) ListDefaultObjectAccessControls

func (*UnimplementedStorageServer) ListHmacKeys

func (*UnimplementedStorageServer) ListNotifications

func (*UnimplementedStorageServer) ListObjectAccessControls

func (*UnimplementedStorageServer) ListObjects

func (*UnimplementedStorageServer) LockBucketRetentionPolicy

func (*UnimplementedStorageServer) LockBucketRetentionPolicy(ctx context.Context, req *LockRetentionPolicyRequest) (*Bucket, error)

func (*UnimplementedStorageServer) PatchBucket

func (*UnimplementedStorageServer) PatchBucketAccessControl

func (*UnimplementedStorageServer) PatchDefaultObjectAccessControl

func (*UnimplementedStorageServer) PatchObject

func (*UnimplementedStorageServer) PatchObjectAccessControl

func (*UnimplementedStorageServer) QueryWriteStatus

func (*UnimplementedStorageServer) RewriteObject

func (*UnimplementedStorageServer) SetBucketIamPolicy

func (*UnimplementedStorageServer) SetBucketIamPolicy(ctx context.Context, req *SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedStorageServer) SetObjectIamPolicy

func (*UnimplementedStorageServer) SetObjectIamPolicy(ctx context.Context, req *SetIamPolicyRequest) (*v1.Policy, error)

func (*UnimplementedStorageServer) StartResumableWrite

func (*UnimplementedStorageServer) StopChannel

func (*UnimplementedStorageServer) TestBucketIamPermissions

func (*UnimplementedStorageServer) TestObjectIamPermissions

func (*UnimplementedStorageServer) UpdateBucket

func (*UnimplementedStorageServer) UpdateBucketAccessControl

func (*UnimplementedStorageServer) UpdateDefaultObjectAccessControl

func (*UnimplementedStorageServer) UpdateHmacKey

func (*UnimplementedStorageServer) UpdateObject

func (*UnimplementedStorageServer) UpdateObjectAccessControl

func (*UnimplementedStorageServer) WatchAllObjects

type UpdateBucketAccessControlRequest

type UpdateBucketAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// The BucketAccessControl for updating.
	BucketAccessControl *BucketAccessControl `protobuf:"bytes,4,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request for UpdateBucketAccessControl.

func (*UpdateBucketAccessControlRequest) Descriptor

func (*UpdateBucketAccessControlRequest) Descriptor() ([]byte, []int)

func (*UpdateBucketAccessControlRequest) GetBucket

func (*UpdateBucketAccessControlRequest) GetBucketAccessControl

func (m *UpdateBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl

func (*UpdateBucketAccessControlRequest) GetCommonRequestParams

func (m *UpdateBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateBucketAccessControlRequest) GetEntity

func (*UpdateBucketAccessControlRequest) ProtoMessage

func (*UpdateBucketAccessControlRequest) ProtoMessage()

func (*UpdateBucketAccessControlRequest) Reset

func (*UpdateBucketAccessControlRequest) String

func (*UpdateBucketAccessControlRequest) XXX_DiscardUnknown

func (m *UpdateBucketAccessControlRequest) XXX_DiscardUnknown()

func (*UpdateBucketAccessControlRequest) XXX_Marshal

func (m *UpdateBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateBucketAccessControlRequest) XXX_Merge

func (*UpdateBucketAccessControlRequest) XXX_Size

func (m *UpdateBucketAccessControlRequest) XXX_Size() int

func (*UpdateBucketAccessControlRequest) XXX_Unmarshal

func (m *UpdateBucketAccessControlRequest) XXX_Unmarshal(b []byte) error

type UpdateBucketRequest

type UpdateBucketRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Makes the return of the bucket metadata conditional on whether the bucket's
	// current metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the return of the bucket metadata conditional on whether the bucket's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Apply a predefined set of access controls to this bucket.
	PredefinedAcl CommonEnums_PredefinedBucketAcl `` /* 156-byte string literal not displayed */
	// Apply a predefined set of default object access controls to this bucket.
	PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `` /* 199-byte string literal not displayed */
	// Set of properties to return. Defaults to `FULL`.
	Projection CommonEnums_Projection `protobuf:"varint,6,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// The Bucket metadata for updating.
	Metadata *Bucket `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,9,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request for UpdateBucket method.

func (*UpdateBucketRequest) Descriptor

func (*UpdateBucketRequest) Descriptor() ([]byte, []int)

func (*UpdateBucketRequest) GetBucket

func (m *UpdateBucketRequest) GetBucket() string

func (*UpdateBucketRequest) GetCommonRequestParams

func (m *UpdateBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateBucketRequest) GetIfMetagenerationMatch

func (m *UpdateBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*UpdateBucketRequest) GetIfMetagenerationNotMatch

func (m *UpdateBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*UpdateBucketRequest) GetMetadata

func (m *UpdateBucketRequest) GetMetadata() *Bucket

func (*UpdateBucketRequest) GetPredefinedAcl

func (*UpdateBucketRequest) GetPredefinedDefaultObjectAcl

func (m *UpdateBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl

func (*UpdateBucketRequest) GetProjection

func (m *UpdateBucketRequest) GetProjection() CommonEnums_Projection

func (*UpdateBucketRequest) ProtoMessage

func (*UpdateBucketRequest) ProtoMessage()

func (*UpdateBucketRequest) Reset

func (m *UpdateBucketRequest) Reset()

func (*UpdateBucketRequest) String

func (m *UpdateBucketRequest) String() string

func (*UpdateBucketRequest) XXX_DiscardUnknown

func (m *UpdateBucketRequest) XXX_DiscardUnknown()

func (*UpdateBucketRequest) XXX_Marshal

func (m *UpdateBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateBucketRequest) XXX_Merge

func (m *UpdateBucketRequest) XXX_Merge(src proto.Message)

func (*UpdateBucketRequest) XXX_Size

func (m *UpdateBucketRequest) XXX_Size() int

func (*UpdateBucketRequest) XXX_Unmarshal

func (m *UpdateBucketRequest) XXX_Unmarshal(b []byte) error

type UpdateDefaultObjectAccessControlRequest

type UpdateDefaultObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// The ObjectAccessControl for updating.
	ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,4,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for UpdateDefaultObjectAccessControl.

func (*UpdateDefaultObjectAccessControlRequest) Descriptor

func (*UpdateDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*UpdateDefaultObjectAccessControlRequest) GetBucket

func (*UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams

func (m *UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateDefaultObjectAccessControlRequest) GetEntity

func (*UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl

func (m *UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*UpdateDefaultObjectAccessControlRequest) ProtoMessage

func (*UpdateDefaultObjectAccessControlRequest) Reset

func (*UpdateDefaultObjectAccessControlRequest) String

func (*UpdateDefaultObjectAccessControlRequest) XXX_DiscardUnknown

func (m *UpdateDefaultObjectAccessControlRequest) XXX_DiscardUnknown()

func (*UpdateDefaultObjectAccessControlRequest) XXX_Marshal

func (m *UpdateDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateDefaultObjectAccessControlRequest) XXX_Merge

func (*UpdateDefaultObjectAccessControlRequest) XXX_Size

func (*UpdateDefaultObjectAccessControlRequest) XXX_Unmarshal

func (m *UpdateDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type UpdateHmacKeyRequest

type UpdateHmacKeyRequest struct {
	// Required. The id of the HMAC key.
	AccessId string `protobuf:"bytes,1,opt,name=access_id,json=accessId,proto3" json:"access_id,omitempty"`
	// Required. The project id the HMAC's service account lies in.
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Required. The service account owner of the HMAC key.
	Metadata *HmacKeyMetadata `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request object to update an HMAC key state.

func (*UpdateHmacKeyRequest) Descriptor

func (*UpdateHmacKeyRequest) Descriptor() ([]byte, []int)

func (*UpdateHmacKeyRequest) GetAccessId

func (m *UpdateHmacKeyRequest) GetAccessId() string

func (*UpdateHmacKeyRequest) GetCommonRequestParams

func (m *UpdateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateHmacKeyRequest) GetMetadata

func (m *UpdateHmacKeyRequest) GetMetadata() *HmacKeyMetadata

func (*UpdateHmacKeyRequest) GetProjectId

func (m *UpdateHmacKeyRequest) GetProjectId() string

func (*UpdateHmacKeyRequest) ProtoMessage

func (*UpdateHmacKeyRequest) ProtoMessage()

func (*UpdateHmacKeyRequest) Reset

func (m *UpdateHmacKeyRequest) Reset()

func (*UpdateHmacKeyRequest) String

func (m *UpdateHmacKeyRequest) String() string

func (*UpdateHmacKeyRequest) XXX_DiscardUnknown

func (m *UpdateHmacKeyRequest) XXX_DiscardUnknown()

func (*UpdateHmacKeyRequest) XXX_Marshal

func (m *UpdateHmacKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateHmacKeyRequest) XXX_Merge

func (m *UpdateHmacKeyRequest) XXX_Merge(src proto.Message)

func (*UpdateHmacKeyRequest) XXX_Size

func (m *UpdateHmacKeyRequest) XXX_Size() int

func (*UpdateHmacKeyRequest) XXX_Unmarshal

func (m *UpdateHmacKeyRequest) XXX_Unmarshal(b []byte) error

type UpdateObjectAccessControlRequest

type UpdateObjectAccessControlRequest struct {
	// Required. Name of a bucket.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. The entity holding the permission. Can be one of:
	// * `user-`*userId*
	// * `user-`*emailAddress*
	// * `group-`*groupId*
	// * `group-`*emailAddress*
	// * `allUsers`
	// * `allAuthenticatedUsers`
	Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"`
	// Required. Name of the object.
	// Required.
	Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"`
	// The ObjectAccessControl for updating.
	ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,6,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	// List of fields to be updated.
	//
	// To specify ALL fields, equivalent to the JSON API's "update" function,
	// specify a single field with the value `*`. Note: not recommended. If a new
	// field is introduced at a later time, an older client updating with the `*`
	// may accidentally reset the new field's value.
	//
	// Not specifying any fields is an error.
	// Not specifying a field while setting that field to a non-default value is
	// an error.
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,8,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Request message for UpdateObjectAccessControl.

func (*UpdateObjectAccessControlRequest) Descriptor

func (*UpdateObjectAccessControlRequest) Descriptor() ([]byte, []int)

func (*UpdateObjectAccessControlRequest) GetBucket

func (*UpdateObjectAccessControlRequest) GetCommonRequestParams

func (m *UpdateObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateObjectAccessControlRequest) GetEntity

func (*UpdateObjectAccessControlRequest) GetGeneration

func (m *UpdateObjectAccessControlRequest) GetGeneration() int64

func (*UpdateObjectAccessControlRequest) GetObject

func (*UpdateObjectAccessControlRequest) GetObjectAccessControl

func (m *UpdateObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*UpdateObjectAccessControlRequest) GetUpdateMask

func (*UpdateObjectAccessControlRequest) ProtoMessage

func (*UpdateObjectAccessControlRequest) ProtoMessage()

func (*UpdateObjectAccessControlRequest) Reset

func (*UpdateObjectAccessControlRequest) String

func (*UpdateObjectAccessControlRequest) XXX_DiscardUnknown

func (m *UpdateObjectAccessControlRequest) XXX_DiscardUnknown()

func (*UpdateObjectAccessControlRequest) XXX_Marshal

func (m *UpdateObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateObjectAccessControlRequest) XXX_Merge

func (*UpdateObjectAccessControlRequest) XXX_Size

func (m *UpdateObjectAccessControlRequest) XXX_Size() int

func (*UpdateObjectAccessControlRequest) XXX_Unmarshal

func (m *UpdateObjectAccessControlRequest) XXX_Unmarshal(b []byte) error

type UpdateObjectRequest

type UpdateObjectRequest struct {
	// Required. Name of the bucket in which the object resides.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// Required. Name of the object.
	Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"`
	// If present, selects a specific revision of this object (as opposed to the
	// latest version, the default).
	Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// matches the given value. Setting to 0 makes the operation succeed only if
	// there are no live versions of the object.
	IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"`
	// Makes the operation conditional on whether the object's current generation
	// does not match the given value. If no live object exists, the precondition
	// fails. Setting to 0 makes the operation succeed only if there is a live
	// version of the object.
	IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"`
	// Makes the operation conditional on whether the object's current
	// metageneration matches the given value.
	IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */
	// Makes the operation conditional on whether the object's current
	// metageneration does not match the given value.
	IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */
	// Apply a predefined set of access controls to this object.
	PredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 156-byte string literal not displayed */
	// Set of properties to return. Defaults to `FULL`.
	Projection CommonEnums_Projection `protobuf:"varint,9,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// The Object metadata for updating.
	Metadata *Object `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// A set of parameters common to Storage API requests concerning an object.
	CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,13,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for UpdateObject.

func (*UpdateObjectRequest) Descriptor

func (*UpdateObjectRequest) Descriptor() ([]byte, []int)

func (*UpdateObjectRequest) GetBucket

func (m *UpdateObjectRequest) GetBucket() string

func (*UpdateObjectRequest) GetCommonObjectRequestParams

func (m *UpdateObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*UpdateObjectRequest) GetCommonRequestParams

func (m *UpdateObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateObjectRequest) GetGeneration

func (m *UpdateObjectRequest) GetGeneration() int64

func (*UpdateObjectRequest) GetIfGenerationMatch

func (m *UpdateObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value

func (*UpdateObjectRequest) GetIfGenerationNotMatch

func (m *UpdateObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value

func (*UpdateObjectRequest) GetIfMetagenerationMatch

func (m *UpdateObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value

func (*UpdateObjectRequest) GetIfMetagenerationNotMatch

func (m *UpdateObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value

func (*UpdateObjectRequest) GetMetadata

func (m *UpdateObjectRequest) GetMetadata() *Object

func (*UpdateObjectRequest) GetObject

func (m *UpdateObjectRequest) GetObject() string

func (*UpdateObjectRequest) GetPredefinedAcl

func (*UpdateObjectRequest) GetProjection

func (m *UpdateObjectRequest) GetProjection() CommonEnums_Projection

func (*UpdateObjectRequest) ProtoMessage

func (*UpdateObjectRequest) ProtoMessage()

func (*UpdateObjectRequest) Reset

func (m *UpdateObjectRequest) Reset()

func (*UpdateObjectRequest) String

func (m *UpdateObjectRequest) String() string

func (*UpdateObjectRequest) XXX_DiscardUnknown

func (m *UpdateObjectRequest) XXX_DiscardUnknown()

func (*UpdateObjectRequest) XXX_Marshal

func (m *UpdateObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateObjectRequest) XXX_Merge

func (m *UpdateObjectRequest) XXX_Merge(src proto.Message)

func (*UpdateObjectRequest) XXX_Size

func (m *UpdateObjectRequest) XXX_Size() int

func (*UpdateObjectRequest) XXX_Unmarshal

func (m *UpdateObjectRequest) XXX_Unmarshal(b []byte) error

type WatchAllObjectsRequest

type WatchAllObjectsRequest struct {
	// Name of the bucket in which to look for objects.
	Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
	// If `true`, lists all versions of an object as distinct results.
	// The default is `false`. For more information, see
	// [Object
	// Versioning](https://cloud.google.com/storage/docs/object-versioning).
	Versions bool `protobuf:"varint,2,opt,name=versions,proto3" json:"versions,omitempty"`
	// Returns results in a directory-like mode. `items` will contain
	// only objects whose names, aside from the `prefix`, do not
	// contain `delimiter`. Objects whose names, aside from the
	// `prefix`, contain `delimiter` will have their name,
	// truncated after the `delimiter`, returned in
	// `prefixes`. Duplicate `prefixes` are omitted.
	Delimiter string `protobuf:"bytes,3,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
	// Maximum number of `items` plus `prefixes` to return
	// in a single page of responses. As duplicate `prefixes` are
	// omitted, fewer total results may be returned than requested. The service
	// will use this parameter or 1,000 items, whichever is smaller.
	MaxResults int32 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
	// Filter results to objects whose names begin with this prefix.
	Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// If true, objects that end in exactly one instance of `delimiter`
	// will have their metadata included in `items` in addition to
	// `prefixes`.
	IncludeTrailingDelimiter bool `` /* 136-byte string literal not displayed */
	// A previously-returned page token representing part of the larger set of
	// results to view.
	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Set of properties to return. Defaults to `NO_ACL`.
	Projection CommonEnums_Projection `protobuf:"varint,8,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
	// Properties of the channel to be inserted.
	Channel *Channel `protobuf:"bytes,10,opt,name=channel,proto3" json:"channel,omitempty"`
	// A set of parameters common to all Storage API requests.
	CommonRequestParams  *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

Request message for WatchAllObjects.

func (*WatchAllObjectsRequest) Descriptor

func (*WatchAllObjectsRequest) Descriptor() ([]byte, []int)

func (*WatchAllObjectsRequest) GetBucket

func (m *WatchAllObjectsRequest) GetBucket() string

func (*WatchAllObjectsRequest) GetChannel

func (m *WatchAllObjectsRequest) GetChannel() *Channel

func (*WatchAllObjectsRequest) GetCommonRequestParams

func (m *WatchAllObjectsRequest) GetCommonRequestParams() *CommonRequestParams

func (*WatchAllObjectsRequest) GetDelimiter

func (m *WatchAllObjectsRequest) GetDelimiter() string

func (*WatchAllObjectsRequest) GetIncludeTrailingDelimiter

func (m *WatchAllObjectsRequest) GetIncludeTrailingDelimiter() bool

func (*WatchAllObjectsRequest) GetMaxResults

func (m *WatchAllObjectsRequest) GetMaxResults() int32

func (*WatchAllObjectsRequest) GetPageToken

func (m *WatchAllObjectsRequest) GetPageToken() string

func (*WatchAllObjectsRequest) GetPrefix

func (m *WatchAllObjectsRequest) GetPrefix() string

func (*WatchAllObjectsRequest) GetProjection

func (*WatchAllObjectsRequest) GetVersions

func (m *WatchAllObjectsRequest) GetVersions() bool

func (*WatchAllObjectsRequest) ProtoMessage

func (*WatchAllObjectsRequest) ProtoMessage()

func (*WatchAllObjectsRequest) Reset

func (m *WatchAllObjectsRequest) Reset()

func (*WatchAllObjectsRequest) String

func (m *WatchAllObjectsRequest) String() string

func (*WatchAllObjectsRequest) XXX_DiscardUnknown

func (m *WatchAllObjectsRequest) XXX_DiscardUnknown()

func (*WatchAllObjectsRequest) XXX_Marshal

func (m *WatchAllObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WatchAllObjectsRequest) XXX_Merge

func (m *WatchAllObjectsRequest) XXX_Merge(src proto.Message)

func (*WatchAllObjectsRequest) XXX_Size

func (m *WatchAllObjectsRequest) XXX_Size() int

func (*WatchAllObjectsRequest) XXX_Unmarshal

func (m *WatchAllObjectsRequest) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL