storage

package
v1.45.2 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Bucket_IamConfiguration_PublicAccessPrevention_name = map[int32]string{
		0: "PUBLIC_ACCESS_PREVENTION_UNSPECIFIED",
		1: "ENFORCED",
		2: "INHERITED",
	}
	Bucket_IamConfiguration_PublicAccessPrevention_value = map[string]int32{
		"PUBLIC_ACCESS_PREVENTION_UNSPECIFIED": 0,
		"ENFORCED":                             1,
		"INHERITED":                            2,
	}
)

Enum value maps for Bucket_IamConfiguration_PublicAccessPrevention.

View Source
var (
	CommonEnums_Projection_name = map[int32]string{
		0: "PROJECTION_UNSPECIFIED",
		1: "NO_ACL",
		2: "FULL",
	}
	CommonEnums_Projection_value = map[string]int32{
		"PROJECTION_UNSPECIFIED": 0,
		"NO_ACL":                 1,
		"FULL":                   2,
	}
)

Enum value maps for CommonEnums_Projection.

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",
	}
	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,
	}
)

Enum value maps for CommonEnums_PredefinedBucketAcl.

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",
	}
	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,
	}
)

Enum value maps for CommonEnums_PredefinedObjectAcl.

View Source
var File_google_storage_v1_storage_proto protoreflect.FileDescriptor
View Source
var File_google_storage_v1_storage_resources_proto protoreflect.FileDescriptor

Functions

func RegisterStorageServerServer

func RegisterStorageServerServer(s *grpc.Server, srv StorageServerServer)

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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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
	// a [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	Etag string `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"`
	// The modification time of the bucket.
	// Attempting to set or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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.
	//
	// Deprecated: Do not use.
	ZoneAffinity []string `protobuf:"bytes,25,rep,name=zone_affinity,json=zoneAffinity,proto3" json:"zone_affinity,omitempty"`
	// Reserved for future use.
	SatisfiesPzs bool `protobuf:"varint,26,opt,name=satisfies_pzs,json=satisfiesPzs,proto3" json:"satisfies_pzs,omitempty"`
	// The bucket's autoclass configuration. If there is no configuration, the
	// Autoclass feature will be disabled and have no effect on the bucket.
	Autoclass *Bucket_Autoclass `protobuf:"bytes,28,opt,name=autoclass,proto3" json:"autoclass,omitempty"`
	// contains filtered or unexported fields
}

A bucket.

func (*Bucket) Descriptor deprecated

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

Deprecated: Use Bucket.ProtoReflect.Descriptor instead.

func (*Bucket) GetAcl

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

func (*Bucket) GetAutoclass

func (x *Bucket) GetAutoclass() *Bucket_Autoclass

func (*Bucket) GetBilling

func (x *Bucket) GetBilling() *Bucket_Billing

func (*Bucket) GetCors

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

func (*Bucket) GetDefaultEventBasedHold

func (x *Bucket) GetDefaultEventBasedHold() bool

func (*Bucket) GetDefaultObjectAcl

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

func (*Bucket) GetEncryption

func (x *Bucket) GetEncryption() *Bucket_Encryption

func (*Bucket) GetEtag

func (x *Bucket) GetEtag() string

func (*Bucket) GetIamConfiguration

func (x *Bucket) GetIamConfiguration() *Bucket_IamConfiguration

func (*Bucket) GetId

func (x *Bucket) GetId() string

func (*Bucket) GetLabels

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

func (*Bucket) GetLifecycle

func (x *Bucket) GetLifecycle() *Bucket_Lifecycle

func (*Bucket) GetLocation

func (x *Bucket) GetLocation() string

func (*Bucket) GetLocationType

func (x *Bucket) GetLocationType() string

func (*Bucket) GetLogging

func (x *Bucket) GetLogging() *Bucket_Logging

func (*Bucket) GetMetageneration

func (x *Bucket) GetMetageneration() int64

func (*Bucket) GetName

func (x *Bucket) GetName() string

func (*Bucket) GetOwner

func (x *Bucket) GetOwner() *Owner

func (*Bucket) GetProjectNumber

func (x *Bucket) GetProjectNumber() int64

func (*Bucket) GetRetentionPolicy

func (x *Bucket) GetRetentionPolicy() *Bucket_RetentionPolicy

func (*Bucket) GetSatisfiesPzs

func (x *Bucket) GetSatisfiesPzs() bool

func (*Bucket) GetStorageClass

func (x *Bucket) GetStorageClass() string

func (*Bucket) GetTimeCreated

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

func (*Bucket) GetUpdated

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

func (*Bucket) GetVersioning

func (x *Bucket) GetVersioning() *Bucket_Versioning

func (*Bucket) GetWebsite

func (x *Bucket) GetWebsite() *Bucket_Website

func (*Bucket) GetZoneAffinity deprecated

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

Deprecated: Do not use.

func (*Bucket) ProtoMessage

func (*Bucket) ProtoMessage()

func (*Bucket) ProtoReflect

func (x *Bucket) ProtoReflect() protoreflect.Message

func (*Bucket) Reset

func (x *Bucket) Reset()

func (*Bucket) String

func (x *Bucket) String() string

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"`
	// contains filtered or unexported fields
}

An access-control entry.

func (*BucketAccessControl) Descriptor deprecated

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

Deprecated: Use BucketAccessControl.ProtoReflect.Descriptor instead.

func (*BucketAccessControl) GetBucket

func (x *BucketAccessControl) GetBucket() string

func (*BucketAccessControl) GetDomain

func (x *BucketAccessControl) GetDomain() string

func (*BucketAccessControl) GetEmail

func (x *BucketAccessControl) GetEmail() string

func (*BucketAccessControl) GetEntity

func (x *BucketAccessControl) GetEntity() string

func (*BucketAccessControl) GetEntityId

func (x *BucketAccessControl) GetEntityId() string

func (*BucketAccessControl) GetEtag

func (x *BucketAccessControl) GetEtag() string

func (*BucketAccessControl) GetId

func (x *BucketAccessControl) GetId() string

func (*BucketAccessControl) GetProjectTeam

func (x *BucketAccessControl) GetProjectTeam() *ProjectTeam

func (*BucketAccessControl) GetRole

func (x *BucketAccessControl) GetRole() string

func (*BucketAccessControl) ProtoMessage

func (*BucketAccessControl) ProtoMessage()

func (*BucketAccessControl) ProtoReflect

func (x *BucketAccessControl) ProtoReflect() protoreflect.Message

func (*BucketAccessControl) Reset

func (x *BucketAccessControl) Reset()

func (*BucketAccessControl) String

func (x *BucketAccessControl) String() string

type Bucket_Autoclass

type Bucket_Autoclass struct {

	// Enables Autoclass.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Latest instant at which the `enabled` bit was flipped.
	ToggleTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=toggle_time,json=toggleTime,proto3" json:"toggle_time,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a bucket's Autoclass feature.

func (*Bucket_Autoclass) Descriptor deprecated

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

Deprecated: Use Bucket_Autoclass.ProtoReflect.Descriptor instead.

func (*Bucket_Autoclass) GetEnabled

func (x *Bucket_Autoclass) GetEnabled() bool

func (*Bucket_Autoclass) GetToggleTime

func (x *Bucket_Autoclass) GetToggleTime() *timestamp.Timestamp

func (*Bucket_Autoclass) ProtoMessage

func (*Bucket_Autoclass) ProtoMessage()

func (*Bucket_Autoclass) ProtoReflect

func (x *Bucket_Autoclass) ProtoReflect() protoreflect.Message

func (*Bucket_Autoclass) Reset

func (x *Bucket_Autoclass) Reset()

func (*Bucket_Autoclass) String

func (x *Bucket_Autoclass) String() string

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"`
	// contains filtered or unexported fields
}

Billing properties of a bucket.

func (*Bucket_Billing) Descriptor deprecated

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

Deprecated: Use Bucket_Billing.ProtoReflect.Descriptor instead.

func (*Bucket_Billing) GetRequesterPays

func (x *Bucket_Billing) GetRequesterPays() bool

func (*Bucket_Billing) ProtoMessage

func (*Bucket_Billing) ProtoMessage()

func (*Bucket_Billing) ProtoReflect

func (x *Bucket_Billing) ProtoReflect() protoreflect.Message

func (*Bucket_Billing) Reset

func (x *Bucket_Billing) Reset()

func (*Bucket_Billing) String

func (x *Bucket_Billing) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use Bucket_Cors.ProtoReflect.Descriptor instead.

func (*Bucket_Cors) GetMaxAgeSeconds

func (x *Bucket_Cors) GetMaxAgeSeconds() int32

func (*Bucket_Cors) GetMethod

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

func (*Bucket_Cors) GetOrigin

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

func (*Bucket_Cors) GetResponseHeader

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

func (*Bucket_Cors) ProtoMessage

func (*Bucket_Cors) ProtoMessage()

func (*Bucket_Cors) ProtoReflect

func (x *Bucket_Cors) ProtoReflect() protoreflect.Message

func (*Bucket_Cors) Reset

func (x *Bucket_Cors) Reset()

func (*Bucket_Cors) String

func (x *Bucket_Cors) String() string

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"`
	// contains filtered or unexported fields
}

Encryption properties of a bucket.

func (*Bucket_Encryption) Descriptor deprecated

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

Deprecated: Use Bucket_Encryption.ProtoReflect.Descriptor instead.

func (*Bucket_Encryption) GetDefaultKmsKeyName

func (x *Bucket_Encryption) GetDefaultKmsKeyName() string

func (*Bucket_Encryption) ProtoMessage

func (*Bucket_Encryption) ProtoMessage()

func (*Bucket_Encryption) ProtoReflect

func (x *Bucket_Encryption) ProtoReflect() protoreflect.Message

func (*Bucket_Encryption) Reset

func (x *Bucket_Encryption) Reset()

func (*Bucket_Encryption) String

func (x *Bucket_Encryption) String() string

type Bucket_IamConfiguration

type Bucket_IamConfiguration struct {
	UniformBucketLevelAccess *Bucket_IamConfiguration_UniformBucketLevelAccess `` /* 137-byte string literal not displayed */
	// Whether IAM will enforce public access prevention.
	PublicAccessPrevention Bucket_IamConfiguration_PublicAccessPrevention `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

Bucket restriction options currently enforced on the bucket.

func (*Bucket_IamConfiguration) Descriptor deprecated

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

Deprecated: Use Bucket_IamConfiguration.ProtoReflect.Descriptor instead.

func (*Bucket_IamConfiguration) GetPublicAccessPrevention

func (*Bucket_IamConfiguration) GetUniformBucketLevelAccess

func (*Bucket_IamConfiguration) ProtoMessage

func (*Bucket_IamConfiguration) ProtoMessage()

func (*Bucket_IamConfiguration) ProtoReflect

func (x *Bucket_IamConfiguration) ProtoReflect() protoreflect.Message

func (*Bucket_IamConfiguration) Reset

func (x *Bucket_IamConfiguration) Reset()

func (*Bucket_IamConfiguration) String

func (x *Bucket_IamConfiguration) String() string

type Bucket_IamConfiguration_PublicAccessPrevention

type Bucket_IamConfiguration_PublicAccessPrevention int32

Public Access Prevention configuration values.

const (
	// No specified PublicAccessPrevention.
	Bucket_IamConfiguration_PUBLIC_ACCESS_PREVENTION_UNSPECIFIED Bucket_IamConfiguration_PublicAccessPrevention = 0
	// Prevents access from being granted to public members 'allUsers' and
	// 'allAuthenticatedUsers'. Prevents attempts to grant new access to
	// public members.
	Bucket_IamConfiguration_ENFORCED Bucket_IamConfiguration_PublicAccessPrevention = 1
	// This setting is inherited from Org Policy. Does not prevent access from
	// being granted to public members 'allUsers' or 'allAuthenticatedUsers'.
	Bucket_IamConfiguration_INHERITED Bucket_IamConfiguration_PublicAccessPrevention = 2
)

func (Bucket_IamConfiguration_PublicAccessPrevention) Descriptor

func (Bucket_IamConfiguration_PublicAccessPrevention) Enum

func (Bucket_IamConfiguration_PublicAccessPrevention) EnumDescriptor deprecated

Deprecated: Use Bucket_IamConfiguration_PublicAccessPrevention.Descriptor instead.

func (Bucket_IamConfiguration_PublicAccessPrevention) Number

func (Bucket_IamConfiguration_PublicAccessPrevention) String

func (Bucket_IamConfiguration_PublicAccessPrevention) Type

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"`
	// contains filtered or unexported fields
}

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Descriptor deprecated

Deprecated: Use Bucket_IamConfiguration_UniformBucketLevelAccess.ProtoReflect.Descriptor instead.

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) GetEnabled

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) GetLockedTime

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoMessage

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoReflect

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Reset

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) String

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"`
	// contains filtered or unexported fields
}

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

func (*Bucket_Lifecycle) Descriptor deprecated

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

Deprecated: Use Bucket_Lifecycle.ProtoReflect.Descriptor instead.

func (*Bucket_Lifecycle) GetRule

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

func (*Bucket_Lifecycle) ProtoMessage

func (*Bucket_Lifecycle) ProtoMessage()

func (*Bucket_Lifecycle) ProtoReflect

func (x *Bucket_Lifecycle) ProtoReflect() protoreflect.Message

func (*Bucket_Lifecycle) Reset

func (x *Bucket_Lifecycle) Reset()

func (*Bucket_Lifecycle) String

func (x *Bucket_Lifecycle) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*Bucket_Lifecycle_Rule) Descriptor deprecated

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

Deprecated: Use Bucket_Lifecycle_Rule.ProtoReflect.Descriptor instead.

func (*Bucket_Lifecycle_Rule) GetAction

func (*Bucket_Lifecycle_Rule) GetCondition

func (*Bucket_Lifecycle_Rule) ProtoMessage

func (*Bucket_Lifecycle_Rule) ProtoMessage()

func (*Bucket_Lifecycle_Rule) ProtoReflect

func (x *Bucket_Lifecycle_Rule) ProtoReflect() protoreflect.Message

func (*Bucket_Lifecycle_Rule) Reset

func (x *Bucket_Lifecycle_Rule) Reset()

func (*Bucket_Lifecycle_Rule) String

func (x *Bucket_Lifecycle_Rule) String() string

type Bucket_Lifecycle_Rule_Action

type Bucket_Lifecycle_Rule_Action struct {

	// Type of the action. Currently, only `Delete`, `SetStorageClass`, and
	// `AbortIncompleteMultipartUpload` 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"`
	// contains filtered or unexported fields
}

An action to take on an object.

func (*Bucket_Lifecycle_Rule_Action) Descriptor deprecated

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

Deprecated: Use Bucket_Lifecycle_Rule_Action.ProtoReflect.Descriptor instead.

func (*Bucket_Lifecycle_Rule_Action) GetStorageClass

func (x *Bucket_Lifecycle_Rule_Action) GetStorageClass() string

func (*Bucket_Lifecycle_Rule_Action) GetType

func (x *Bucket_Lifecycle_Rule_Action) GetType() string

func (*Bucket_Lifecycle_Rule_Action) ProtoMessage

func (*Bucket_Lifecycle_Rule_Action) ProtoMessage()

func (*Bucket_Lifecycle_Rule_Action) ProtoReflect

func (*Bucket_Lifecycle_Rule_Action) Reset

func (x *Bucket_Lifecycle_Rule_Action) Reset()

func (*Bucket_Lifecycle_Rule_Action) String

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 an allowlisted 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"`
	// Number of days that has elapsed since the custom timestamp set on an
	// object.
	DaysSinceCustomTime int32 `protobuf:"varint,7,opt,name=days_since_custom_time,json=daysSinceCustomTime,proto3" json:"days_since_custom_time,omitempty"`
	// An object matches this condition if the custom timestamp set on the
	// object is before this timestamp.
	CustomTimeBefore *timestamp.Timestamp `protobuf:"bytes,8,opt,name=custom_time_before,json=customTimeBefore,proto3" json:"custom_time_before,omitempty"`
	// This condition is relevant only for versioned objects. An object
	// version satisfies this condition only if these many days have been
	// passed since it became noncurrent. The value of the field must be a
	// nonnegative integer. If it's zero, the object version will become
	// eligible for Lifecycle action as soon as it becomes noncurrent.
	DaysSinceNoncurrentTime int32 `` /* 135-byte string literal not displayed */
	// This condition is relevant only for versioned objects. An object
	// version satisfies this condition only if it became noncurrent before
	// the specified timestamp.
	NoncurrentTimeBefore *timestamp.Timestamp `protobuf:"bytes,10,opt,name=noncurrent_time_before,json=noncurrentTimeBefore,proto3" json:"noncurrent_time_before,omitempty"`
	// List of object name prefixes. If any prefix exactly matches the
	// beginning of the object name, the condition evaluates to true.
	MatchesPrefix []string `protobuf:"bytes,11,rep,name=matches_prefix,json=matchesPrefix,proto3" json:"matches_prefix,omitempty"`
	// List of object name suffixes. If any suffix exactly matches the
	// end of the object name, the condition evaluates to true.
	MatchesSuffix []string `protobuf:"bytes,12,rep,name=matches_suffix,json=matchesSuffix,proto3" json:"matches_suffix,omitempty"`
	// contains filtered or unexported fields
}

A condition of an object which triggers some action.

func (*Bucket_Lifecycle_Rule_Condition) Descriptor deprecated

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

Deprecated: Use Bucket_Lifecycle_Rule_Condition.ProtoReflect.Descriptor instead.

func (*Bucket_Lifecycle_Rule_Condition) GetAge

func (*Bucket_Lifecycle_Rule_Condition) GetCreatedBefore

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

func (*Bucket_Lifecycle_Rule_Condition) GetCustomTimeBefore

func (x *Bucket_Lifecycle_Rule_Condition) GetCustomTimeBefore() *timestamp.Timestamp

func (*Bucket_Lifecycle_Rule_Condition) GetDaysSinceCustomTime

func (x *Bucket_Lifecycle_Rule_Condition) GetDaysSinceCustomTime() int32

func (*Bucket_Lifecycle_Rule_Condition) GetDaysSinceNoncurrentTime

func (x *Bucket_Lifecycle_Rule_Condition) GetDaysSinceNoncurrentTime() int32

func (*Bucket_Lifecycle_Rule_Condition) GetIsLive

func (*Bucket_Lifecycle_Rule_Condition) GetMatchesPattern

func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesPattern() string

func (*Bucket_Lifecycle_Rule_Condition) GetMatchesPrefix

func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesPrefix() []string

func (*Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass

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

func (*Bucket_Lifecycle_Rule_Condition) GetMatchesSuffix

func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesSuffix() []string

func (*Bucket_Lifecycle_Rule_Condition) GetNoncurrentTimeBefore

func (x *Bucket_Lifecycle_Rule_Condition) GetNoncurrentTimeBefore() *timestamp.Timestamp

func (*Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions

func (x *Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions() int32

func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage

func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage()

func (*Bucket_Lifecycle_Rule_Condition) ProtoReflect

func (*Bucket_Lifecycle_Rule_Condition) Reset

func (*Bucket_Lifecycle_Rule_Condition) String

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"`
	// contains filtered or unexported fields
}

Logging-related properties of a bucket.

func (*Bucket_Logging) Descriptor deprecated

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

Deprecated: Use Bucket_Logging.ProtoReflect.Descriptor instead.

func (*Bucket_Logging) GetLogBucket

func (x *Bucket_Logging) GetLogBucket() string

func (*Bucket_Logging) GetLogObjectPrefix

func (x *Bucket_Logging) GetLogObjectPrefix() string

func (*Bucket_Logging) ProtoMessage

func (*Bucket_Logging) ProtoMessage()

func (*Bucket_Logging) ProtoReflect

func (x *Bucket_Logging) ProtoReflect() protoreflect.Message

func (*Bucket_Logging) Reset

func (x *Bucket_Logging) Reset()

func (*Bucket_Logging) String

func (x *Bucket_Logging) String() string

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"`
	// contains filtered or unexported fields
}

Retention policy properties of a bucket.

func (*Bucket_RetentionPolicy) Descriptor deprecated

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

Deprecated: Use Bucket_RetentionPolicy.ProtoReflect.Descriptor instead.

func (*Bucket_RetentionPolicy) GetEffectiveTime

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

func (*Bucket_RetentionPolicy) GetIsLocked

func (x *Bucket_RetentionPolicy) GetIsLocked() bool

func (*Bucket_RetentionPolicy) GetRetentionPeriod

func (x *Bucket_RetentionPolicy) GetRetentionPeriod() int64

func (*Bucket_RetentionPolicy) ProtoMessage

func (*Bucket_RetentionPolicy) ProtoMessage()

func (*Bucket_RetentionPolicy) ProtoReflect

func (x *Bucket_RetentionPolicy) ProtoReflect() protoreflect.Message

func (*Bucket_RetentionPolicy) Reset

func (x *Bucket_RetentionPolicy) Reset()

func (*Bucket_RetentionPolicy) String

func (x *Bucket_RetentionPolicy) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use Bucket_Versioning.ProtoReflect.Descriptor instead.

func (*Bucket_Versioning) GetEnabled

func (x *Bucket_Versioning) GetEnabled() bool

func (*Bucket_Versioning) ProtoMessage

func (*Bucket_Versioning) ProtoMessage()

func (*Bucket_Versioning) ProtoReflect

func (x *Bucket_Versioning) ProtoReflect() protoreflect.Message

func (*Bucket_Versioning) Reset

func (x *Bucket_Versioning) Reset()

func (*Bucket_Versioning) String

func (x *Bucket_Versioning) String() string

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"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use Bucket_Website.ProtoReflect.Descriptor instead.

func (*Bucket_Website) GetMainPageSuffix

func (x *Bucket_Website) GetMainPageSuffix() string

func (*Bucket_Website) GetNotFoundPage

func (x *Bucket_Website) GetNotFoundPage() string

func (*Bucket_Website) ProtoMessage

func (*Bucket_Website) ProtoMessage()

func (*Bucket_Website) ProtoReflect

func (x *Bucket_Website) ProtoReflect() protoreflect.Message

func (*Bucket_Website) Reset

func (x *Bucket_Website) Reset()

func (*Bucket_Website) String

func (x *Bucket_Website) String() string

type Buckets

type Buckets struct {
	Bucket []*Bucket `protobuf:"bytes,1,rep,name=bucket,proto3" json:"bucket,omitempty"`
	// contains filtered or unexported fields
}

func (*Buckets) Descriptor deprecated

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

Deprecated: Use Buckets.ProtoReflect.Descriptor instead.

func (*Buckets) GetBucket

func (x *Buckets) GetBucket() []*Bucket

func (*Buckets) ProtoMessage

func (*Buckets) ProtoMessage()

func (*Buckets) ProtoReflect

func (x *Buckets) ProtoReflect() protoreflect.Message

func (*Buckets) Reset

func (x *Buckets) Reset()

func (*Buckets) String

func (x *Buckets) String() string

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"`
	// contains filtered or unexported fields
}

An notification channel used to watch for resource changes.

func (*Channel) Descriptor deprecated

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

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetAddress

func (x *Channel) GetAddress() string

func (*Channel) GetExpiration

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

func (*Channel) GetId

func (x *Channel) GetId() string

func (*Channel) GetParams

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

func (*Channel) GetPayload

func (x *Channel) GetPayload() bool

func (*Channel) GetResourceId

func (x *Channel) GetResourceId() string

func (*Channel) GetResourceUri

func (x *Channel) GetResourceUri() string

func (*Channel) GetToken

func (x *Channel) GetToken() string

func (*Channel) GetType

func (x *Channel) GetType() string

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

func (x *Channel) ProtoReflect() protoreflect.Message

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) String

func (x *Channel) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ChecksummedData) Descriptor deprecated

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

Deprecated: Use ChecksummedData.ProtoReflect.Descriptor instead.

func (*ChecksummedData) GetContent

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

func (*ChecksummedData) GetCrc32C

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

func (*ChecksummedData) ProtoMessage

func (*ChecksummedData) ProtoMessage()

func (*ChecksummedData) ProtoReflect

func (x *ChecksummedData) ProtoReflect() protoreflect.Message

func (*ChecksummedData) Reset

func (x *ChecksummedData) Reset()

func (*ChecksummedData) String

func (x *ChecksummedData) String() string

type CommonEnums

type CommonEnums struct {
	// contains filtered or unexported fields
}

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

func (*CommonEnums) Descriptor deprecated

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

Deprecated: Use CommonEnums.ProtoReflect.Descriptor instead.

func (*CommonEnums) ProtoMessage

func (*CommonEnums) ProtoMessage()

func (*CommonEnums) ProtoReflect

func (x *CommonEnums) ProtoReflect() protoreflect.Message

func (*CommonEnums) Reset

func (x *CommonEnums) Reset()

func (*CommonEnums) String

func (x *CommonEnums) String() string

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) Descriptor

func (CommonEnums_PredefinedBucketAcl) Enum

func (CommonEnums_PredefinedBucketAcl) EnumDescriptor deprecated

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

Deprecated: Use CommonEnums_PredefinedBucketAcl.Descriptor instead.

func (CommonEnums_PredefinedBucketAcl) Number

func (CommonEnums_PredefinedBucketAcl) String

func (CommonEnums_PredefinedBucketAcl) Type

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) Descriptor

func (CommonEnums_PredefinedObjectAcl) Enum

func (CommonEnums_PredefinedObjectAcl) EnumDescriptor deprecated

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

Deprecated: Use CommonEnums_PredefinedObjectAcl.Descriptor instead.

func (CommonEnums_PredefinedObjectAcl) Number

func (CommonEnums_PredefinedObjectAcl) String

func (CommonEnums_PredefinedObjectAcl) Type

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) Descriptor

func (CommonEnums_Projection) Enum

func (CommonEnums_Projection) EnumDescriptor deprecated

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

Deprecated: Use CommonEnums_Projection.Descriptor instead.

func (CommonEnums_Projection) Number

func (CommonEnums_Projection) String

func (x CommonEnums_Projection) String() string

func (CommonEnums_Projection) Type

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"`
	// contains filtered or unexported fields
}

Parameters that can be passed to any object request.

func (*CommonObjectRequestParams) Descriptor deprecated

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

Deprecated: Use CommonObjectRequestParams.ProtoReflect.Descriptor instead.

func (*CommonObjectRequestParams) GetEncryptionAlgorithm

func (x *CommonObjectRequestParams) GetEncryptionAlgorithm() string

func (*CommonObjectRequestParams) GetEncryptionKey

func (x *CommonObjectRequestParams) GetEncryptionKey() string

func (*CommonObjectRequestParams) GetEncryptionKeySha256

func (x *CommonObjectRequestParams) GetEncryptionKeySha256() string

func (*CommonObjectRequestParams) ProtoMessage

func (*CommonObjectRequestParams) ProtoMessage()

func (*CommonObjectRequestParams) ProtoReflect

func (*CommonObjectRequestParams) Reset

func (x *CommonObjectRequestParams) Reset()

func (*CommonObjectRequestParams) String

func (x *CommonObjectRequestParams) String() string

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.
	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"`
	// contains filtered or unexported fields
}

Parameters that can be passed to any request.

func (*CommonRequestParams) Descriptor deprecated

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

Deprecated: Use CommonRequestParams.ProtoReflect.Descriptor instead.

func (*CommonRequestParams) GetFields

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

func (*CommonRequestParams) GetQuotaUser

func (x *CommonRequestParams) GetQuotaUser() string

func (*CommonRequestParams) GetUserProject

func (x *CommonRequestParams) GetUserProject() string

func (*CommonRequestParams) ProtoMessage

func (*CommonRequestParams) ProtoMessage()

func (*CommonRequestParams) ProtoReflect

func (x *CommonRequestParams) ProtoReflect() protoreflect.Message

func (*CommonRequestParams) Reset

func (x *CommonRequestParams) Reset()

func (*CommonRequestParams) String

func (x *CommonRequestParams) String() string

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"`
	// contains filtered or unexported fields
}

Request message for ComposeObject.

func (*ComposeObjectRequest) Descriptor deprecated

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

Deprecated: Use ComposeObjectRequest.ProtoReflect.Descriptor instead.

func (*ComposeObjectRequest) GetCommonObjectRequestParams

func (x *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*ComposeObjectRequest) GetCommonRequestParams

func (x *ComposeObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*ComposeObjectRequest) GetDestination

func (x *ComposeObjectRequest) GetDestination() *Object

func (*ComposeObjectRequest) GetDestinationBucket

func (x *ComposeObjectRequest) GetDestinationBucket() string

func (*ComposeObjectRequest) GetDestinationObject

func (x *ComposeObjectRequest) GetDestinationObject() string

func (*ComposeObjectRequest) GetDestinationPredefinedAcl

func (x *ComposeObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*ComposeObjectRequest) GetIfGenerationMatch

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

func (*ComposeObjectRequest) GetIfMetagenerationMatch

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

func (*ComposeObjectRequest) GetKmsKeyName

func (x *ComposeObjectRequest) GetKmsKeyName() string

func (*ComposeObjectRequest) GetSourceObjects

func (*ComposeObjectRequest) ProtoMessage

func (*ComposeObjectRequest) ProtoMessage()

func (*ComposeObjectRequest) ProtoReflect

func (x *ComposeObjectRequest) ProtoReflect() protoreflect.Message

func (*ComposeObjectRequest) Reset

func (x *ComposeObjectRequest) Reset()

func (*ComposeObjectRequest) String

func (x *ComposeObjectRequest) String() string

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"`
	// contains filtered or unexported fields
}

Description of a source object for a composition request.

func (*ComposeObjectRequest_SourceObjects) Descriptor deprecated

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

Deprecated: Use ComposeObjectRequest_SourceObjects.ProtoReflect.Descriptor instead.

func (*ComposeObjectRequest_SourceObjects) GetGeneration

func (x *ComposeObjectRequest_SourceObjects) GetGeneration() int64

func (*ComposeObjectRequest_SourceObjects) GetName

func (*ComposeObjectRequest_SourceObjects) GetObjectPreconditions

func (*ComposeObjectRequest_SourceObjects) ProtoMessage

func (*ComposeObjectRequest_SourceObjects) ProtoMessage()

func (*ComposeObjectRequest_SourceObjects) ProtoReflect

func (*ComposeObjectRequest_SourceObjects) Reset

func (*ComposeObjectRequest_SourceObjects) String

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"`
	// contains filtered or unexported fields
}

Preconditions for a source object of a composition request.

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor deprecated

Deprecated: Use ComposeObjectRequest_SourceObjects_ObjectPreconditions.ProtoReflect.Descriptor instead.

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoReflect

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) String

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"`
	// contains filtered or unexported fields
}

Specifies a requested range of bytes to download.

func (*ContentRange) Descriptor deprecated

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

Deprecated: Use ContentRange.ProtoReflect.Descriptor instead.

func (*ContentRange) GetCompleteLength

func (x *ContentRange) GetCompleteLength() int64

func (*ContentRange) GetEnd

func (x *ContentRange) GetEnd() int64

func (*ContentRange) GetStart

func (x *ContentRange) GetStart() int64

func (*ContentRange) ProtoMessage

func (*ContentRange) ProtoMessage()

func (*ContentRange) ProtoReflect

func (x *ContentRange) ProtoReflect() protoreflect.Message

func (*ContentRange) Reset

func (x *ContentRange) Reset()

func (*ContentRange) String

func (x *ContentRange) String() string

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"`
	// contains filtered or unexported fields
}

Request message for CopyObject.

func (*CopyObjectRequest) Descriptor deprecated

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

Deprecated: Use CopyObjectRequest.ProtoReflect.Descriptor instead.

func (*CopyObjectRequest) GetCommonObjectRequestParams

func (x *CopyObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*CopyObjectRequest) GetCommonRequestParams

func (x *CopyObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*CopyObjectRequest) GetDestination

func (x *CopyObjectRequest) GetDestination() *Object

func (*CopyObjectRequest) GetDestinationBucket

func (x *CopyObjectRequest) GetDestinationBucket() string

func (*CopyObjectRequest) GetDestinationKmsKeyName

func (x *CopyObjectRequest) GetDestinationKmsKeyName() string

func (*CopyObjectRequest) GetDestinationObject

func (x *CopyObjectRequest) GetDestinationObject() string

func (*CopyObjectRequest) GetDestinationPredefinedAcl

func (x *CopyObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*CopyObjectRequest) GetIfGenerationMatch

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

func (*CopyObjectRequest) GetIfGenerationNotMatch

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

func (*CopyObjectRequest) GetIfMetagenerationMatch

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

func (*CopyObjectRequest) GetIfMetagenerationNotMatch

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

func (*CopyObjectRequest) GetIfSourceGenerationMatch

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

func (*CopyObjectRequest) GetIfSourceGenerationNotMatch

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

func (*CopyObjectRequest) GetIfSourceMetagenerationMatch

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

func (*CopyObjectRequest) GetIfSourceMetagenerationNotMatch

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

func (*CopyObjectRequest) GetProjection

func (x *CopyObjectRequest) GetProjection() CommonEnums_Projection

func (*CopyObjectRequest) GetSourceBucket

func (x *CopyObjectRequest) GetSourceBucket() string

func (*CopyObjectRequest) GetSourceGeneration

func (x *CopyObjectRequest) GetSourceGeneration() int64

func (*CopyObjectRequest) GetSourceObject

func (x *CopyObjectRequest) GetSourceObject() string

func (*CopyObjectRequest) ProtoMessage

func (*CopyObjectRequest) ProtoMessage()

func (*CopyObjectRequest) ProtoReflect

func (x *CopyObjectRequest) ProtoReflect() protoreflect.Message

func (*CopyObjectRequest) Reset

func (x *CopyObjectRequest) Reset()

func (*CopyObjectRequest) String

func (x *CopyObjectRequest) String() string

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"`
	// contains filtered or unexported fields
}

func (*CreateHmacKeyRequest) Descriptor deprecated

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

Deprecated: Use CreateHmacKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateHmacKeyRequest) GetCommonRequestParams

func (x *CreateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*CreateHmacKeyRequest) GetProjectId

func (x *CreateHmacKeyRequest) GetProjectId() string

func (*CreateHmacKeyRequest) GetServiceAccountEmail

func (x *CreateHmacKeyRequest) GetServiceAccountEmail() string

func (*CreateHmacKeyRequest) ProtoMessage

func (*CreateHmacKeyRequest) ProtoMessage()

func (*CreateHmacKeyRequest) ProtoReflect

func (x *CreateHmacKeyRequest) ProtoReflect() protoreflect.Message

func (*CreateHmacKeyRequest) Reset

func (x *CreateHmacKeyRequest) Reset()

func (*CreateHmacKeyRequest) String

func (x *CreateHmacKeyRequest) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*CreateHmacKeyResponse) Descriptor deprecated

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

Deprecated: Use CreateHmacKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateHmacKeyResponse) GetMetadata

func (x *CreateHmacKeyResponse) GetMetadata() *HmacKeyMetadata

func (*CreateHmacKeyResponse) GetSecret

func (x *CreateHmacKeyResponse) GetSecret() string

func (*CreateHmacKeyResponse) ProtoMessage

func (*CreateHmacKeyResponse) ProtoMessage()

func (*CreateHmacKeyResponse) ProtoReflect

func (x *CreateHmacKeyResponse) ProtoReflect() protoreflect.Message

func (*CreateHmacKeyResponse) Reset

func (x *CreateHmacKeyResponse) Reset()

func (*CreateHmacKeyResponse) String

func (x *CreateHmacKeyResponse) String() string

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"`
	// contains filtered or unexported fields
}

Request message for DeleteBucketAccessControl.

func (*DeleteBucketAccessControlRequest) Descriptor deprecated

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

Deprecated: Use DeleteBucketAccessControlRequest.ProtoReflect.Descriptor instead.

func (*DeleteBucketAccessControlRequest) GetBucket

func (*DeleteBucketAccessControlRequest) GetCommonRequestParams

func (x *DeleteBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteBucketAccessControlRequest) GetEntity

func (*DeleteBucketAccessControlRequest) ProtoMessage

func (*DeleteBucketAccessControlRequest) ProtoMessage()

func (*DeleteBucketAccessControlRequest) ProtoReflect

func (*DeleteBucketAccessControlRequest) Reset

func (*DeleteBucketAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request message for DeleteBucket.

func (*DeleteBucketRequest) Descriptor deprecated

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

Deprecated: Use DeleteBucketRequest.ProtoReflect.Descriptor instead.

func (*DeleteBucketRequest) GetBucket

func (x *DeleteBucketRequest) GetBucket() string

func (*DeleteBucketRequest) GetCommonRequestParams

func (x *DeleteBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteBucketRequest) GetIfMetagenerationMatch

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

func (*DeleteBucketRequest) GetIfMetagenerationNotMatch

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

func (*DeleteBucketRequest) ProtoMessage

func (*DeleteBucketRequest) ProtoMessage()

func (*DeleteBucketRequest) ProtoReflect

func (x *DeleteBucketRequest) ProtoReflect() protoreflect.Message

func (*DeleteBucketRequest) Reset

func (x *DeleteBucketRequest) Reset()

func (*DeleteBucketRequest) String

func (x *DeleteBucketRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for DeleteDefaultObjectAccessControl.

func (*DeleteDefaultObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use DeleteDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*DeleteDefaultObjectAccessControlRequest) GetBucket

func (*DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams

func (x *DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteDefaultObjectAccessControlRequest) GetEntity

func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage

func (*DeleteDefaultObjectAccessControlRequest) ProtoReflect

func (*DeleteDefaultObjectAccessControlRequest) Reset

func (*DeleteDefaultObjectAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request object to delete a given HMAC key.

func (*DeleteHmacKeyRequest) Descriptor deprecated

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

Deprecated: Use DeleteHmacKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteHmacKeyRequest) GetAccessId

func (x *DeleteHmacKeyRequest) GetAccessId() string

func (*DeleteHmacKeyRequest) GetCommonRequestParams

func (x *DeleteHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteHmacKeyRequest) GetProjectId

func (x *DeleteHmacKeyRequest) GetProjectId() string

func (*DeleteHmacKeyRequest) ProtoMessage

func (*DeleteHmacKeyRequest) ProtoMessage()

func (*DeleteHmacKeyRequest) ProtoReflect

func (x *DeleteHmacKeyRequest) ProtoReflect() protoreflect.Message

func (*DeleteHmacKeyRequest) Reset

func (x *DeleteHmacKeyRequest) Reset()

func (*DeleteHmacKeyRequest) String

func (x *DeleteHmacKeyRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for DeleteNotification.

func (*DeleteNotificationRequest) Descriptor deprecated

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

Deprecated: Use DeleteNotificationRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationRequest) GetBucket

func (x *DeleteNotificationRequest) GetBucket() string

func (*DeleteNotificationRequest) GetCommonRequestParams

func (x *DeleteNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteNotificationRequest) GetNotification

func (x *DeleteNotificationRequest) GetNotification() string

func (*DeleteNotificationRequest) ProtoMessage

func (*DeleteNotificationRequest) ProtoMessage()

func (*DeleteNotificationRequest) ProtoReflect

func (*DeleteNotificationRequest) Reset

func (x *DeleteNotificationRequest) Reset()

func (*DeleteNotificationRequest) String

func (x *DeleteNotificationRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for DeleteObjectAccessControl.

func (*DeleteObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use DeleteObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*DeleteObjectAccessControlRequest) GetBucket

func (*DeleteObjectAccessControlRequest) GetCommonRequestParams

func (x *DeleteObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteObjectAccessControlRequest) GetEntity

func (*DeleteObjectAccessControlRequest) GetGeneration

func (x *DeleteObjectAccessControlRequest) GetGeneration() int64

func (*DeleteObjectAccessControlRequest) GetObject

func (*DeleteObjectAccessControlRequest) ProtoMessage

func (*DeleteObjectAccessControlRequest) ProtoMessage()

func (*DeleteObjectAccessControlRequest) ProtoReflect

func (*DeleteObjectAccessControlRequest) Reset

func (*DeleteObjectAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

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

func (*DeleteObjectRequest) Descriptor deprecated

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

Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteObjectRequest) GetBucket

func (x *DeleteObjectRequest) GetBucket() string

func (*DeleteObjectRequest) GetCommonObjectRequestParams

func (x *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*DeleteObjectRequest) GetCommonRequestParams

func (x *DeleteObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteObjectRequest) GetGeneration

func (x *DeleteObjectRequest) GetGeneration() int64

func (*DeleteObjectRequest) GetIfGenerationMatch

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

func (*DeleteObjectRequest) GetIfGenerationNotMatch

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

func (*DeleteObjectRequest) GetIfMetagenerationMatch

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

func (*DeleteObjectRequest) GetIfMetagenerationNotMatch

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

func (*DeleteObjectRequest) GetObject

func (x *DeleteObjectRequest) GetObject() string

func (*DeleteObjectRequest) GetUploadId

func (x *DeleteObjectRequest) GetUploadId() string

func (*DeleteObjectRequest) ProtoMessage

func (*DeleteObjectRequest) ProtoMessage()

func (*DeleteObjectRequest) ProtoReflect

func (x *DeleteObjectRequest) ProtoReflect() protoreflect.Message

func (*DeleteObjectRequest) Reset

func (x *DeleteObjectRequest) Reset()

func (*DeleteObjectRequest) String

func (x *DeleteObjectRequest) String() string

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

func (*Empty) Descriptor deprecated

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

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

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"`
	// contains filtered or unexported fields
}

Request message for GetBucketAccessControl.

func (*GetBucketAccessControlRequest) Descriptor deprecated

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

Deprecated: Use GetBucketAccessControlRequest.ProtoReflect.Descriptor instead.

func (*GetBucketAccessControlRequest) GetBucket

func (x *GetBucketAccessControlRequest) GetBucket() string

func (*GetBucketAccessControlRequest) GetCommonRequestParams

func (x *GetBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetBucketAccessControlRequest) GetEntity

func (x *GetBucketAccessControlRequest) GetEntity() string

func (*GetBucketAccessControlRequest) ProtoMessage

func (*GetBucketAccessControlRequest) ProtoMessage()

func (*GetBucketAccessControlRequest) ProtoReflect

func (*GetBucketAccessControlRequest) Reset

func (x *GetBucketAccessControlRequest) Reset()

func (*GetBucketAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request message for GetBucket.

func (*GetBucketRequest) Descriptor deprecated

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

Deprecated: Use GetBucketRequest.ProtoReflect.Descriptor instead.

func (*GetBucketRequest) GetBucket

func (x *GetBucketRequest) GetBucket() string

func (*GetBucketRequest) GetCommonRequestParams

func (x *GetBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetBucketRequest) GetIfMetagenerationMatch

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

func (*GetBucketRequest) GetIfMetagenerationNotMatch

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

func (*GetBucketRequest) GetProjection

func (x *GetBucketRequest) GetProjection() CommonEnums_Projection

func (*GetBucketRequest) ProtoMessage

func (*GetBucketRequest) ProtoMessage()

func (*GetBucketRequest) ProtoReflect

func (x *GetBucketRequest) ProtoReflect() protoreflect.Message

func (*GetBucketRequest) Reset

func (x *GetBucketRequest) Reset()

func (*GetBucketRequest) String

func (x *GetBucketRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for GetDefaultObjectAccessControl.

func (*GetDefaultObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use GetDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*GetDefaultObjectAccessControlRequest) GetBucket

func (*GetDefaultObjectAccessControlRequest) GetCommonRequestParams

func (x *GetDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetDefaultObjectAccessControlRequest) GetEntity

func (*GetDefaultObjectAccessControlRequest) ProtoMessage

func (*GetDefaultObjectAccessControlRequest) ProtoMessage()

func (*GetDefaultObjectAccessControlRequest) ProtoReflect

func (*GetDefaultObjectAccessControlRequest) Reset

func (*GetDefaultObjectAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request object to get metadata on a given HMAC key.

func (*GetHmacKeyRequest) Descriptor deprecated

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

Deprecated: Use GetHmacKeyRequest.ProtoReflect.Descriptor instead.

func (*GetHmacKeyRequest) GetAccessId

func (x *GetHmacKeyRequest) GetAccessId() string

func (*GetHmacKeyRequest) GetCommonRequestParams

func (x *GetHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetHmacKeyRequest) GetProjectId

func (x *GetHmacKeyRequest) GetProjectId() string

func (*GetHmacKeyRequest) ProtoMessage

func (*GetHmacKeyRequest) ProtoMessage()

func (*GetHmacKeyRequest) ProtoReflect

func (x *GetHmacKeyRequest) ProtoReflect() protoreflect.Message

func (*GetHmacKeyRequest) Reset

func (x *GetHmacKeyRequest) Reset()

func (*GetHmacKeyRequest) String

func (x *GetHmacKeyRequest) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*GetIamPolicyRequest) Descriptor deprecated

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

Deprecated: Use GetIamPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetIamPolicyRequest) GetCommonRequestParams

func (x *GetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetIamPolicyRequest) GetIamRequest

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

func (*GetIamPolicyRequest) ProtoMessage

func (*GetIamPolicyRequest) ProtoMessage()

func (*GetIamPolicyRequest) ProtoReflect

func (x *GetIamPolicyRequest) ProtoReflect() protoreflect.Message

func (*GetIamPolicyRequest) Reset

func (x *GetIamPolicyRequest) Reset()

func (*GetIamPolicyRequest) String

func (x *GetIamPolicyRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for GetNotification.

func (*GetNotificationRequest) Descriptor deprecated

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

Deprecated: Use GetNotificationRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationRequest) GetBucket

func (x *GetNotificationRequest) GetBucket() string

func (*GetNotificationRequest) GetCommonRequestParams

func (x *GetNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetNotificationRequest) GetNotification

func (x *GetNotificationRequest) GetNotification() string

func (*GetNotificationRequest) ProtoMessage

func (*GetNotificationRequest) ProtoMessage()

func (*GetNotificationRequest) ProtoReflect

func (x *GetNotificationRequest) ProtoReflect() protoreflect.Message

func (*GetNotificationRequest) Reset

func (x *GetNotificationRequest) Reset()

func (*GetNotificationRequest) String

func (x *GetNotificationRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for GetObjectAccessControl.

func (*GetObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use GetObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*GetObjectAccessControlRequest) GetBucket

func (x *GetObjectAccessControlRequest) GetBucket() string

func (*GetObjectAccessControlRequest) GetCommonRequestParams

func (x *GetObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectAccessControlRequest) GetEntity

func (x *GetObjectAccessControlRequest) GetEntity() string

func (*GetObjectAccessControlRequest) GetGeneration

func (x *GetObjectAccessControlRequest) GetGeneration() int64

func (*GetObjectAccessControlRequest) GetObject

func (x *GetObjectAccessControlRequest) GetObject() string

func (*GetObjectAccessControlRequest) ProtoMessage

func (*GetObjectAccessControlRequest) ProtoMessage()

func (*GetObjectAccessControlRequest) ProtoReflect

func (*GetObjectAccessControlRequest) Reset

func (x *GetObjectAccessControlRequest) Reset()

func (*GetObjectAccessControlRequest) String

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. Requesting
	// a negative offset whose magnitude is larger than the size of the object
	// will result in an error.
	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"`
	// contains filtered or unexported fields
}

Request message for GetObjectMedia.

func (*GetObjectMediaRequest) Descriptor deprecated

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

Deprecated: Use GetObjectMediaRequest.ProtoReflect.Descriptor instead.

func (*GetObjectMediaRequest) GetBucket

func (x *GetObjectMediaRequest) GetBucket() string

func (*GetObjectMediaRequest) GetCommonObjectRequestParams

func (x *GetObjectMediaRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*GetObjectMediaRequest) GetCommonRequestParams

func (x *GetObjectMediaRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectMediaRequest) GetGeneration

func (x *GetObjectMediaRequest) GetGeneration() int64

func (*GetObjectMediaRequest) GetIfGenerationMatch

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

func (*GetObjectMediaRequest) GetIfGenerationNotMatch

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

func (*GetObjectMediaRequest) GetIfMetagenerationMatch

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

func (*GetObjectMediaRequest) GetIfMetagenerationNotMatch

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

func (*GetObjectMediaRequest) GetObject

func (x *GetObjectMediaRequest) GetObject() string

func (*GetObjectMediaRequest) GetReadLimit

func (x *GetObjectMediaRequest) GetReadLimit() int64

func (*GetObjectMediaRequest) GetReadOffset

func (x *GetObjectMediaRequest) GetReadOffset() int64

func (*GetObjectMediaRequest) ProtoMessage

func (*GetObjectMediaRequest) ProtoMessage()

func (*GetObjectMediaRequest) ProtoReflect

func (x *GetObjectMediaRequest) ProtoReflect() protoreflect.Message

func (*GetObjectMediaRequest) Reset

func (x *GetObjectMediaRequest) Reset()

func (*GetObjectMediaRequest) String

func (x *GetObjectMediaRequest) String() string

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"`
	// contains filtered or unexported fields
}

Response message for GetObject.

func (*GetObjectMediaResponse) Descriptor deprecated

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

Deprecated: Use GetObjectMediaResponse.ProtoReflect.Descriptor instead.

func (*GetObjectMediaResponse) GetChecksummedData

func (x *GetObjectMediaResponse) GetChecksummedData() *ChecksummedData

func (*GetObjectMediaResponse) GetContentRange

func (x *GetObjectMediaResponse) GetContentRange() *ContentRange

func (*GetObjectMediaResponse) GetMetadata

func (x *GetObjectMediaResponse) GetMetadata() *Object

func (*GetObjectMediaResponse) GetObjectChecksums

func (x *GetObjectMediaResponse) GetObjectChecksums() *ObjectChecksums

func (*GetObjectMediaResponse) ProtoMessage

func (*GetObjectMediaResponse) ProtoMessage()

func (*GetObjectMediaResponse) ProtoReflect

func (x *GetObjectMediaResponse) ProtoReflect() protoreflect.Message

func (*GetObjectMediaResponse) Reset

func (x *GetObjectMediaResponse) Reset()

func (*GetObjectMediaResponse) String

func (x *GetObjectMediaResponse) String() string

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"`
	// contains filtered or unexported fields
}

Request message for GetObject.

func (*GetObjectRequest) Descriptor deprecated

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

Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.

func (*GetObjectRequest) GetBucket

func (x *GetObjectRequest) GetBucket() string

func (*GetObjectRequest) GetCommonObjectRequestParams

func (x *GetObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*GetObjectRequest) GetCommonRequestParams

func (x *GetObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectRequest) GetGeneration

func (x *GetObjectRequest) GetGeneration() int64

func (*GetObjectRequest) GetIfGenerationMatch

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

func (*GetObjectRequest) GetIfGenerationNotMatch

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

func (*GetObjectRequest) GetIfMetagenerationMatch

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

func (*GetObjectRequest) GetIfMetagenerationNotMatch

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

func (*GetObjectRequest) GetObject

func (x *GetObjectRequest) GetObject() string

func (*GetObjectRequest) GetProjection

func (x *GetObjectRequest) GetProjection() CommonEnums_Projection

func (*GetObjectRequest) ProtoMessage

func (*GetObjectRequest) ProtoMessage()

func (*GetObjectRequest) ProtoReflect

func (x *GetObjectRequest) ProtoReflect() protoreflect.Message

func (*GetObjectRequest) Reset

func (x *GetObjectRequest) Reset()

func (*GetObjectRequest) String

func (x *GetObjectRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for GetProjectServiceAccount.

func (*GetProjectServiceAccountRequest) Descriptor deprecated

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

Deprecated: Use GetProjectServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*GetProjectServiceAccountRequest) GetCommonRequestParams

func (x *GetProjectServiceAccountRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetProjectServiceAccountRequest) GetProjectId

func (x *GetProjectServiceAccountRequest) GetProjectId() string

func (*GetProjectServiceAccountRequest) ProtoMessage

func (*GetProjectServiceAccountRequest) ProtoMessage()

func (*GetProjectServiceAccountRequest) ProtoReflect

func (*GetProjectServiceAccountRequest) Reset

func (*GetProjectServiceAccountRequest) String

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"`
	// contains filtered or unexported fields
}

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

func (*HmacKeyMetadata) Descriptor deprecated

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

Deprecated: Use HmacKeyMetadata.ProtoReflect.Descriptor instead.

func (*HmacKeyMetadata) GetAccessId

func (x *HmacKeyMetadata) GetAccessId() string

func (*HmacKeyMetadata) GetEtag

func (x *HmacKeyMetadata) GetEtag() string

func (*HmacKeyMetadata) GetId

func (x *HmacKeyMetadata) GetId() string

func (*HmacKeyMetadata) GetProjectId

func (x *HmacKeyMetadata) GetProjectId() string

func (*HmacKeyMetadata) GetServiceAccountEmail

func (x *HmacKeyMetadata) GetServiceAccountEmail() string

func (*HmacKeyMetadata) GetState

func (x *HmacKeyMetadata) GetState() string

func (*HmacKeyMetadata) GetTimeCreated

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

func (*HmacKeyMetadata) GetUpdated

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

func (*HmacKeyMetadata) ProtoMessage

func (*HmacKeyMetadata) ProtoMessage()

func (*HmacKeyMetadata) ProtoReflect

func (x *HmacKeyMetadata) ProtoReflect() protoreflect.Message

func (*HmacKeyMetadata) Reset

func (x *HmacKeyMetadata) Reset()

func (*HmacKeyMetadata) String

func (x *HmacKeyMetadata) String() string

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"`
	// contains filtered or unexported fields
}

Request message for InsertBucketAccessControl.

func (*InsertBucketAccessControlRequest) Descriptor deprecated

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

Deprecated: Use InsertBucketAccessControlRequest.ProtoReflect.Descriptor instead.

func (*InsertBucketAccessControlRequest) GetBucket

func (*InsertBucketAccessControlRequest) GetBucketAccessControl

func (x *InsertBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl

func (*InsertBucketAccessControlRequest) GetCommonRequestParams

func (x *InsertBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertBucketAccessControlRequest) ProtoMessage

func (*InsertBucketAccessControlRequest) ProtoMessage()

func (*InsertBucketAccessControlRequest) ProtoReflect

func (*InsertBucketAccessControlRequest) Reset

func (*InsertBucketAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request message for InsertBucket.

func (*InsertBucketRequest) Descriptor deprecated

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

Deprecated: Use InsertBucketRequest.ProtoReflect.Descriptor instead.

func (*InsertBucketRequest) GetBucket

func (x *InsertBucketRequest) GetBucket() *Bucket

func (*InsertBucketRequest) GetCommonRequestParams

func (x *InsertBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertBucketRequest) GetPredefinedAcl

func (*InsertBucketRequest) GetPredefinedDefaultObjectAcl

func (x *InsertBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl

func (*InsertBucketRequest) GetProject

func (x *InsertBucketRequest) GetProject() string

func (*InsertBucketRequest) GetProjection

func (x *InsertBucketRequest) GetProjection() CommonEnums_Projection

func (*InsertBucketRequest) ProtoMessage

func (*InsertBucketRequest) ProtoMessage()

func (*InsertBucketRequest) ProtoReflect

func (x *InsertBucketRequest) ProtoReflect() protoreflect.Message

func (*InsertBucketRequest) Reset

func (x *InsertBucketRequest) Reset()

func (*InsertBucketRequest) String

func (x *InsertBucketRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for InsertDefaultObjectAccessControl.

func (*InsertDefaultObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use InsertDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*InsertDefaultObjectAccessControlRequest) GetBucket

func (*InsertDefaultObjectAccessControlRequest) GetCommonRequestParams

func (x *InsertDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertDefaultObjectAccessControlRequest) GetObjectAccessControl

func (x *InsertDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*InsertDefaultObjectAccessControlRequest) ProtoMessage

func (*InsertDefaultObjectAccessControlRequest) ProtoReflect

func (*InsertDefaultObjectAccessControlRequest) Reset

func (*InsertDefaultObjectAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request message for InsertNotification.

func (*InsertNotificationRequest) Descriptor deprecated

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

Deprecated: Use InsertNotificationRequest.ProtoReflect.Descriptor instead.

func (*InsertNotificationRequest) GetBucket

func (x *InsertNotificationRequest) GetBucket() string

func (*InsertNotificationRequest) GetCommonRequestParams

func (x *InsertNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertNotificationRequest) GetNotification

func (x *InsertNotificationRequest) GetNotification() *Notification

func (*InsertNotificationRequest) ProtoMessage

func (*InsertNotificationRequest) ProtoMessage()

func (*InsertNotificationRequest) ProtoReflect

func (*InsertNotificationRequest) Reset

func (x *InsertNotificationRequest) Reset()

func (*InsertNotificationRequest) String

func (x *InsertNotificationRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for InsertObjectAccessControl.

func (*InsertObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use InsertObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*InsertObjectAccessControlRequest) GetBucket

func (*InsertObjectAccessControlRequest) GetCommonRequestParams

func (x *InsertObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertObjectAccessControlRequest) GetGeneration

func (x *InsertObjectAccessControlRequest) GetGeneration() int64

func (*InsertObjectAccessControlRequest) GetObject

func (*InsertObjectAccessControlRequest) GetObjectAccessControl

func (x *InsertObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*InsertObjectAccessControlRequest) ProtoMessage

func (*InsertObjectAccessControlRequest) ProtoMessage()

func (*InsertObjectAccessControlRequest) ProtoReflect

func (*InsertObjectAccessControlRequest) Reset

func (*InsertObjectAccessControlRequest) String

type InsertObjectRequest

type InsertObjectRequest struct {

	// The first message of each stream should set one of the following.
	//
	// Types that are assignable 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 assignable 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"`
	// contains filtered or unexported fields
}

Message for writing an object.

func (*InsertObjectRequest) Descriptor deprecated

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

Deprecated: Use InsertObjectRequest.ProtoReflect.Descriptor instead.

func (*InsertObjectRequest) GetChecksummedData

func (x *InsertObjectRequest) GetChecksummedData() *ChecksummedData

func (*InsertObjectRequest) GetCommonObjectRequestParams

func (x *InsertObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*InsertObjectRequest) GetCommonRequestParams

func (x *InsertObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertObjectRequest) GetData

func (m *InsertObjectRequest) GetData() isInsertObjectRequest_Data

func (*InsertObjectRequest) GetFinishWrite

func (x *InsertObjectRequest) GetFinishWrite() bool

func (*InsertObjectRequest) GetFirstMessage

func (m *InsertObjectRequest) GetFirstMessage() isInsertObjectRequest_FirstMessage

func (*InsertObjectRequest) GetInsertObjectSpec

func (x *InsertObjectRequest) GetInsertObjectSpec() *InsertObjectSpec

func (*InsertObjectRequest) GetObjectChecksums

func (x *InsertObjectRequest) GetObjectChecksums() *ObjectChecksums

func (*InsertObjectRequest) GetReference

func (x *InsertObjectRequest) GetReference() *GetObjectMediaRequest

func (*InsertObjectRequest) GetUploadId

func (x *InsertObjectRequest) GetUploadId() string

func (*InsertObjectRequest) GetWriteOffset

func (x *InsertObjectRequest) GetWriteOffset() int64

func (*InsertObjectRequest) ProtoMessage

func (*InsertObjectRequest) ProtoMessage()

func (*InsertObjectRequest) ProtoReflect

func (x *InsertObjectRequest) ProtoReflect() protoreflect.Message

func (*InsertObjectRequest) Reset

func (x *InsertObjectRequest) Reset()

func (*InsertObjectRequest) String

func (x *InsertObjectRequest) String() string

type InsertObjectRequest_ChecksummedData

type InsertObjectRequest_ChecksummedData struct {
	// The data to insert. If a crc32c checksum is provided that doesn't match
	// the checksum computed by the service, the request will fail.
	ChecksummedData *ChecksummedData `protobuf:"bytes,4,opt,name=checksummed_data,json=checksummedData,proto3,oneof"`
}

type InsertObjectRequest_InsertObjectSpec

type InsertObjectRequest_InsertObjectSpec struct {
	// For non-resumable uploads. Describes the overall upload, including the
	// destination bucket and object name, preconditions, etc.
	InsertObjectSpec *InsertObjectSpec `protobuf:"bytes,2,opt,name=insert_object_spec,json=insertObjectSpec,proto3,oneof"`
}

type InsertObjectRequest_Reference

type InsertObjectRequest_Reference struct {
	// A reference to an existing object. This can be used to support
	// several use cases:
	//   - Writing a sequence of data buffers supports the basic use case of
	//     uploading a complete object, chunk by chunk.
	//   - Writing a sequence of references to existing objects allows an
	//     object to be composed from a collection of objects, which can be
	//     used to support parallel object writes.
	//   - Writing a single reference with a given offset and size can be used
	//     to create an object from a slice of an existing object.
	//   - Writing an object referencing a object slice (created as noted
	//     above) followed by a data buffer followed by another object
	//     slice can be used to support delta upload functionality.
	Reference *GetObjectMediaRequest `protobuf:"bytes,5,opt,name=reference,proto3,oneof"`
}

type InsertObjectRequest_UploadId

type InsertObjectRequest_UploadId struct {
	// For resumable uploads. This should be the `upload_id` returned from a
	// call to `StartResumableWriteResponse`.
	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"`
	// contains filtered or unexported fields
}

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

func (*InsertObjectSpec) Descriptor deprecated

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

Deprecated: Use InsertObjectSpec.ProtoReflect.Descriptor instead.

func (*InsertObjectSpec) GetIfGenerationMatch

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

func (*InsertObjectSpec) GetIfGenerationNotMatch

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

func (*InsertObjectSpec) GetIfMetagenerationMatch

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

func (*InsertObjectSpec) GetIfMetagenerationNotMatch

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

func (*InsertObjectSpec) GetPredefinedAcl

func (x *InsertObjectSpec) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*InsertObjectSpec) GetProjection

func (x *InsertObjectSpec) GetProjection() CommonEnums_Projection

func (*InsertObjectSpec) GetResource

func (x *InsertObjectSpec) GetResource() *Object

func (*InsertObjectSpec) ProtoMessage

func (*InsertObjectSpec) ProtoMessage()

func (*InsertObjectSpec) ProtoReflect

func (x *InsertObjectSpec) ProtoReflect() protoreflect.Message

func (*InsertObjectSpec) Reset

func (x *InsertObjectSpec) Reset()

func (*InsertObjectSpec) String

func (x *InsertObjectSpec) String() string

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"`
	// contains filtered or unexported fields
}

Request message for ListBucketAccessControl.

func (*ListBucketAccessControlsRequest) Descriptor deprecated

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

Deprecated: Use ListBucketAccessControlsRequest.ProtoReflect.Descriptor instead.

func (*ListBucketAccessControlsRequest) GetBucket

func (x *ListBucketAccessControlsRequest) GetBucket() string

func (*ListBucketAccessControlsRequest) GetCommonRequestParams

func (x *ListBucketAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListBucketAccessControlsRequest) ProtoMessage

func (*ListBucketAccessControlsRequest) ProtoMessage()

func (*ListBucketAccessControlsRequest) ProtoReflect

func (*ListBucketAccessControlsRequest) Reset

func (*ListBucketAccessControlsRequest) String

type ListBucketAccessControlsResponse

type ListBucketAccessControlsResponse struct {

	// The list of items.
	Items []*BucketAccessControl `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

The response to a call to BucketAccessControls.ListBucketAccessControls.

func (*ListBucketAccessControlsResponse) Descriptor deprecated

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

Deprecated: Use ListBucketAccessControlsResponse.ProtoReflect.Descriptor instead.

func (*ListBucketAccessControlsResponse) GetItems

func (*ListBucketAccessControlsResponse) ProtoMessage

func (*ListBucketAccessControlsResponse) ProtoMessage()

func (*ListBucketAccessControlsResponse) ProtoReflect

func (*ListBucketAccessControlsResponse) Reset

func (*ListBucketAccessControlsResponse) String

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"`
	// contains filtered or unexported fields
}

Request message for ListBuckets.

func (*ListBucketsRequest) Descriptor deprecated

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

Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.

func (*ListBucketsRequest) GetCommonRequestParams

func (x *ListBucketsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListBucketsRequest) GetMaxResults

func (x *ListBucketsRequest) GetMaxResults() int32

func (*ListBucketsRequest) GetPageToken

func (x *ListBucketsRequest) GetPageToken() string

func (*ListBucketsRequest) GetPrefix

func (x *ListBucketsRequest) GetPrefix() string

func (*ListBucketsRequest) GetProject

func (x *ListBucketsRequest) GetProject() string

func (*ListBucketsRequest) GetProjection

func (x *ListBucketsRequest) GetProjection() CommonEnums_Projection

func (*ListBucketsRequest) ProtoMessage

func (*ListBucketsRequest) ProtoMessage()

func (*ListBucketsRequest) ProtoReflect

func (x *ListBucketsRequest) ProtoReflect() protoreflect.Message

func (*ListBucketsRequest) Reset

func (x *ListBucketsRequest) Reset()

func (*ListBucketsRequest) String

func (x *ListBucketsRequest) String() string

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"`
	// contains filtered or unexported fields
}

The result of a call to Buckets.ListBuckets

func (*ListBucketsResponse) Descriptor deprecated

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

Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.

func (*ListBucketsResponse) GetItems

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

func (*ListBucketsResponse) GetNextPageToken

func (x *ListBucketsResponse) GetNextPageToken() string

func (*ListBucketsResponse) ProtoMessage

func (*ListBucketsResponse) ProtoMessage()

func (*ListBucketsResponse) ProtoReflect

func (x *ListBucketsResponse) ProtoReflect() protoreflect.Message

func (*ListBucketsResponse) Reset

func (x *ListBucketsResponse) Reset()

func (*ListBucketsResponse) String

func (x *ListBucketsResponse) String() string

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"`
	// contains filtered or unexported fields
}

Request message for ListChannels.

func (*ListChannelsRequest) Descriptor deprecated

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

Deprecated: Use ListChannelsRequest.ProtoReflect.Descriptor instead.

func (*ListChannelsRequest) GetBucket

func (x *ListChannelsRequest) GetBucket() string

func (*ListChannelsRequest) GetCommonRequestParams

func (x *ListChannelsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListChannelsRequest) ProtoMessage

func (*ListChannelsRequest) ProtoMessage()

func (*ListChannelsRequest) ProtoReflect

func (x *ListChannelsRequest) ProtoReflect() protoreflect.Message

func (*ListChannelsRequest) Reset

func (x *ListChannelsRequest) Reset()

func (*ListChannelsRequest) String

func (x *ListChannelsRequest) String() string

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"`
	// contains filtered or unexported fields
}

The result of a call to Channels.ListChannels

func (*ListChannelsResponse) Descriptor deprecated

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

Deprecated: Use ListChannelsResponse.ProtoReflect.Descriptor instead.

func (*ListChannelsResponse) GetItems

func (*ListChannelsResponse) ProtoMessage

func (*ListChannelsResponse) ProtoMessage()

func (*ListChannelsResponse) ProtoReflect

func (x *ListChannelsResponse) ProtoReflect() protoreflect.Message

func (*ListChannelsResponse) Reset

func (x *ListChannelsResponse) Reset()

func (*ListChannelsResponse) String

func (x *ListChannelsResponse) String() string

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"`
	// contains filtered or unexported fields
}

func (*ListChannelsResponse_Items) Descriptor deprecated

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

Deprecated: Use ListChannelsResponse_Items.ProtoReflect.Descriptor instead.

func (*ListChannelsResponse_Items) GetChannelId

func (x *ListChannelsResponse_Items) GetChannelId() string

func (*ListChannelsResponse_Items) GetCreationTime

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

func (*ListChannelsResponse_Items) GetPushUrl

func (x *ListChannelsResponse_Items) GetPushUrl() string

func (*ListChannelsResponse_Items) GetResourceId

func (x *ListChannelsResponse_Items) GetResourceId() string

func (*ListChannelsResponse_Items) GetSubscriberEmail

func (x *ListChannelsResponse_Items) GetSubscriberEmail() string

func (*ListChannelsResponse_Items) ProtoMessage

func (*ListChannelsResponse_Items) ProtoMessage()

func (*ListChannelsResponse_Items) ProtoReflect

func (*ListChannelsResponse_Items) Reset

func (x *ListChannelsResponse_Items) Reset()

func (*ListChannelsResponse_Items) String

func (x *ListChannelsResponse_Items) String() string

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"`
	// contains filtered or unexported fields
}

Request message for ListDefaultObjectAccessControls.

func (*ListDefaultObjectAccessControlsRequest) Descriptor deprecated

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

Deprecated: Use ListDefaultObjectAccessControlsRequest.ProtoReflect.Descriptor instead.

func (*ListDefaultObjectAccessControlsRequest) GetBucket

func (*ListDefaultObjectAccessControlsRequest) GetCommonRequestParams

func (x *ListDefaultObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch

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

func (*ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch

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

func (*ListDefaultObjectAccessControlsRequest) ProtoMessage

func (*ListDefaultObjectAccessControlsRequest) ProtoReflect

func (*ListDefaultObjectAccessControlsRequest) Reset

func (*ListDefaultObjectAccessControlsRequest) String

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"`
	// contains filtered or unexported fields
}

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

func (*ListHmacKeysRequest) Descriptor deprecated

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

Deprecated: Use ListHmacKeysRequest.ProtoReflect.Descriptor instead.

func (*ListHmacKeysRequest) GetCommonRequestParams

func (x *ListHmacKeysRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListHmacKeysRequest) GetMaxResults

func (x *ListHmacKeysRequest) GetMaxResults() int32

func (*ListHmacKeysRequest) GetPageToken

func (x *ListHmacKeysRequest) GetPageToken() string

func (*ListHmacKeysRequest) GetProjectId

func (x *ListHmacKeysRequest) GetProjectId() string

func (*ListHmacKeysRequest) GetServiceAccountEmail

func (x *ListHmacKeysRequest) GetServiceAccountEmail() string

func (*ListHmacKeysRequest) GetShowDeletedKeys

func (x *ListHmacKeysRequest) GetShowDeletedKeys() bool

func (*ListHmacKeysRequest) ProtoMessage

func (*ListHmacKeysRequest) ProtoMessage()

func (*ListHmacKeysRequest) ProtoReflect

func (x *ListHmacKeysRequest) ProtoReflect() protoreflect.Message

func (*ListHmacKeysRequest) Reset

func (x *ListHmacKeysRequest) Reset()

func (*ListHmacKeysRequest) String

func (x *ListHmacKeysRequest) String() string

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"`
	// contains filtered or unexported fields
}

Hmac key list response with next page information.

func (*ListHmacKeysResponse) Descriptor deprecated

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

Deprecated: Use ListHmacKeysResponse.ProtoReflect.Descriptor instead.

func (*ListHmacKeysResponse) GetItems

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

func (*ListHmacKeysResponse) GetNextPageToken

func (x *ListHmacKeysResponse) GetNextPageToken() string

func (*ListHmacKeysResponse) ProtoMessage

func (*ListHmacKeysResponse) ProtoMessage()

func (*ListHmacKeysResponse) ProtoReflect

func (x *ListHmacKeysResponse) ProtoReflect() protoreflect.Message

func (*ListHmacKeysResponse) Reset

func (x *ListHmacKeysResponse) Reset()

func (*ListHmacKeysResponse) String

func (x *ListHmacKeysResponse) String() string

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"`
	// contains filtered or unexported fields
}

Request message for ListNotifications.

func (*ListNotificationsRequest) Descriptor deprecated

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

Deprecated: Use ListNotificationsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationsRequest) GetBucket

func (x *ListNotificationsRequest) GetBucket() string

func (*ListNotificationsRequest) GetCommonRequestParams

func (x *ListNotificationsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListNotificationsRequest) ProtoMessage

func (*ListNotificationsRequest) ProtoMessage()

func (*ListNotificationsRequest) ProtoReflect

func (x *ListNotificationsRequest) ProtoReflect() protoreflect.Message

func (*ListNotificationsRequest) Reset

func (x *ListNotificationsRequest) Reset()

func (*ListNotificationsRequest) String

func (x *ListNotificationsRequest) String() string

type ListNotificationsResponse

type ListNotificationsResponse struct {

	// The list of items.
	Items []*Notification `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

The result of a call to Notifications.ListNotifications

func (*ListNotificationsResponse) Descriptor deprecated

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

Deprecated: Use ListNotificationsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationsResponse) GetItems

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

func (*ListNotificationsResponse) ProtoMessage

func (*ListNotificationsResponse) ProtoMessage()

func (*ListNotificationsResponse) ProtoReflect

func (*ListNotificationsResponse) Reset

func (x *ListNotificationsResponse) Reset()

func (*ListNotificationsResponse) String

func (x *ListNotificationsResponse) String() string

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"`
	// contains filtered or unexported fields
}

Request message for ListObjectAccessControls.

func (*ListObjectAccessControlsRequest) Descriptor deprecated

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

Deprecated: Use ListObjectAccessControlsRequest.ProtoReflect.Descriptor instead.

func (*ListObjectAccessControlsRequest) GetBucket

func (x *ListObjectAccessControlsRequest) GetBucket() string

func (*ListObjectAccessControlsRequest) GetCommonRequestParams

func (x *ListObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListObjectAccessControlsRequest) GetGeneration

func (x *ListObjectAccessControlsRequest) GetGeneration() int64

func (*ListObjectAccessControlsRequest) GetObject

func (x *ListObjectAccessControlsRequest) GetObject() string

func (*ListObjectAccessControlsRequest) ProtoMessage

func (*ListObjectAccessControlsRequest) ProtoMessage()

func (*ListObjectAccessControlsRequest) ProtoReflect

func (*ListObjectAccessControlsRequest) Reset

func (*ListObjectAccessControlsRequest) String

type ListObjectAccessControlsResponse

type ListObjectAccessControlsResponse struct {

	// The list of items.
	Items []*ObjectAccessControl `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

The result of a call to ObjectAccessControls.ListObjectAccessControls.

func (*ListObjectAccessControlsResponse) Descriptor deprecated

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

Deprecated: Use ListObjectAccessControlsResponse.ProtoReflect.Descriptor instead.

func (*ListObjectAccessControlsResponse) GetItems

func (*ListObjectAccessControlsResponse) ProtoMessage

func (*ListObjectAccessControlsResponse) ProtoMessage()

func (*ListObjectAccessControlsResponse) ProtoReflect

func (*ListObjectAccessControlsResponse) Reset

func (*ListObjectAccessControlsResponse) String

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"`
	// Filter results to objects whose names are lexicographically equal to or
	// after lexicographic_start. If lexicographic_end is also set, the objects
	// listed have names between lexicographic_start (inclusive) and
	// lexicographic_end (exclusive).
	LexicographicStart string `protobuf:"bytes,11,opt,name=lexicographic_start,json=lexicographicStart,proto3" json:"lexicographic_start,omitempty"`
	// Filter results to objects whose names are lexicographically before
	// lexicographic_end. If lexicographic_start is also set, the objects listed
	// have names between lexicographic_start (inclusive) and lexicographic_end
	// (exclusive).
	LexicographicEnd string `protobuf:"bytes,12,opt,name=lexicographic_end,json=lexicographicEnd,proto3" json:"lexicographic_end,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"`
	// contains filtered or unexported fields
}

Request message for ListObjects.

func (*ListObjectsRequest) Descriptor deprecated

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

Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.

func (*ListObjectsRequest) GetBucket

func (x *ListObjectsRequest) GetBucket() string

func (*ListObjectsRequest) GetCommonRequestParams

func (x *ListObjectsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListObjectsRequest) GetDelimiter

func (x *ListObjectsRequest) GetDelimiter() string

func (*ListObjectsRequest) GetIncludeTrailingDelimiter

func (x *ListObjectsRequest) GetIncludeTrailingDelimiter() bool

func (*ListObjectsRequest) GetLexicographicEnd

func (x *ListObjectsRequest) GetLexicographicEnd() string

func (*ListObjectsRequest) GetLexicographicStart

func (x *ListObjectsRequest) GetLexicographicStart() string

func (*ListObjectsRequest) GetMaxResults

func (x *ListObjectsRequest) GetMaxResults() int32

func (*ListObjectsRequest) GetPageToken

func (x *ListObjectsRequest) GetPageToken() string

func (*ListObjectsRequest) GetPrefix

func (x *ListObjectsRequest) GetPrefix() string

func (*ListObjectsRequest) GetProjection

func (x *ListObjectsRequest) GetProjection() CommonEnums_Projection

func (*ListObjectsRequest) GetVersions

func (x *ListObjectsRequest) GetVersions() bool

func (*ListObjectsRequest) ProtoMessage

func (*ListObjectsRequest) ProtoMessage()

func (*ListObjectsRequest) ProtoReflect

func (x *ListObjectsRequest) ProtoReflect() protoreflect.Message

func (*ListObjectsRequest) Reset

func (x *ListObjectsRequest) Reset()

func (*ListObjectsRequest) String

func (x *ListObjectsRequest) String() string

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"`
	// contains filtered or unexported fields
}

The result of a call to Objects.ListObjects

func (*ListObjectsResponse) Descriptor deprecated

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

Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.

func (*ListObjectsResponse) GetItems

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

func (*ListObjectsResponse) GetNextPageToken

func (x *ListObjectsResponse) GetNextPageToken() string

func (*ListObjectsResponse) GetPrefixes

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

func (*ListObjectsResponse) ProtoMessage

func (*ListObjectsResponse) ProtoMessage()

func (*ListObjectsResponse) ProtoReflect

func (x *ListObjectsResponse) ProtoReflect() protoreflect.Message

func (*ListObjectsResponse) Reset

func (x *ListObjectsResponse) Reset()

func (*ListObjectsResponse) String

func (x *ListObjectsResponse) String() string

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"`
	// contains filtered or unexported fields
}

Request message for LockRetentionPolicy.

func (*LockRetentionPolicyRequest) Descriptor deprecated

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

Deprecated: Use LockRetentionPolicyRequest.ProtoReflect.Descriptor instead.

func (*LockRetentionPolicyRequest) GetBucket

func (x *LockRetentionPolicyRequest) GetBucket() string

func (*LockRetentionPolicyRequest) GetCommonRequestParams

func (x *LockRetentionPolicyRequest) GetCommonRequestParams() *CommonRequestParams

func (*LockRetentionPolicyRequest) GetIfMetagenerationMatch

func (x *LockRetentionPolicyRequest) GetIfMetagenerationMatch() int64

func (*LockRetentionPolicyRequest) ProtoMessage

func (*LockRetentionPolicyRequest) ProtoMessage()

func (*LockRetentionPolicyRequest) ProtoReflect

func (*LockRetentionPolicyRequest) Reset

func (x *LockRetentionPolicyRequest) Reset()

func (*LockRetentionPolicyRequest) String

func (x *LockRetentionPolicyRequest) String() string

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"`
	// contains filtered or unexported fields
}

A subscription to receive Google PubSub notifications.

func (*Notification) Descriptor deprecated

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetCustomAttributes

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

func (*Notification) GetEtag

func (x *Notification) GetEtag() string

func (*Notification) GetEventTypes

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

func (*Notification) GetId

func (x *Notification) GetId() string

func (*Notification) GetObjectNamePrefix

func (x *Notification) GetObjectNamePrefix() string

func (*Notification) GetPayloadFormat

func (x *Notification) GetPayloadFormat() string

func (*Notification) GetTopic

func (x *Notification) GetTopic() string

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

func (x *Notification) ProtoReflect() protoreflect.Message

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	Size int64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"`
	// The creation time of the object.
	// Attempting to set or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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#json-api][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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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#json-api][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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	Etag string `protobuf:"bytes,14,opt,name=etag,proto3" json:"etag,omitempty"`
	// The modification time of the object metadata.
	// Attempting to set or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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 or update this field will result in a
	// [FieldViolation][google.rpc.BadRequest.FieldViolation].
	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"`
	// A user-specified timestamp set on an object.
	CustomTime *timestamp.Timestamp `protobuf:"bytes,30,opt,name=custom_time,json=customTime,proto3" json:"custom_time,omitempty"`
	// contains filtered or unexported fields
}

An object.

func (*Object) Descriptor deprecated

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetAcl

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

func (*Object) GetBucket

func (x *Object) GetBucket() string

func (*Object) GetCacheControl

func (x *Object) GetCacheControl() string

func (*Object) GetComponentCount

func (x *Object) GetComponentCount() int32

func (*Object) GetContentDisposition

func (x *Object) GetContentDisposition() string

func (*Object) GetContentEncoding

func (x *Object) GetContentEncoding() string

func (*Object) GetContentLanguage

func (x *Object) GetContentLanguage() string

func (*Object) GetContentType

func (x *Object) GetContentType() string

func (*Object) GetCrc32C

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

func (*Object) GetCustomTime

func (x *Object) GetCustomTime() *timestamp.Timestamp

func (*Object) GetCustomerEncryption

func (x *Object) GetCustomerEncryption() *Object_CustomerEncryption

func (*Object) GetEtag

func (x *Object) GetEtag() string

func (*Object) GetEventBasedHold

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

func (*Object) GetGeneration

func (x *Object) GetGeneration() int64

func (*Object) GetId

func (x *Object) GetId() string

func (*Object) GetKmsKeyName

func (x *Object) GetKmsKeyName() string

func (*Object) GetMd5Hash

func (x *Object) GetMd5Hash() string

func (*Object) GetMetadata

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

func (*Object) GetMetageneration

func (x *Object) GetMetageneration() int64

func (*Object) GetName

func (x *Object) GetName() string

func (*Object) GetOwner

func (x *Object) GetOwner() *Owner

func (*Object) GetRetentionExpirationTime

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

func (*Object) GetSize

func (x *Object) GetSize() int64

func (*Object) GetStorageClass

func (x *Object) GetStorageClass() string

func (*Object) GetTemporaryHold

func (x *Object) GetTemporaryHold() bool

func (*Object) GetTimeCreated

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

func (*Object) GetTimeDeleted

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

func (*Object) GetTimeStorageClassUpdated

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

func (*Object) GetUpdated

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

func (*Object) ProtoMessage

func (*Object) ProtoMessage()

func (*Object) ProtoReflect

func (x *Object) ProtoReflect() protoreflect.Message

func (*Object) Reset

func (x *Object) Reset()

func (*Object) String

func (x *Object) String() string

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"`
	// contains filtered or unexported fields
}

An access-control entry.

func (*ObjectAccessControl) Descriptor deprecated

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

Deprecated: Use ObjectAccessControl.ProtoReflect.Descriptor instead.

func (*ObjectAccessControl) GetBucket

func (x *ObjectAccessControl) GetBucket() string

func (*ObjectAccessControl) GetDomain

func (x *ObjectAccessControl) GetDomain() string

func (*ObjectAccessControl) GetEmail

func (x *ObjectAccessControl) GetEmail() string

func (*ObjectAccessControl) GetEntity

func (x *ObjectAccessControl) GetEntity() string

func (*ObjectAccessControl) GetEntityId

func (x *ObjectAccessControl) GetEntityId() string

func (*ObjectAccessControl) GetEtag

func (x *ObjectAccessControl) GetEtag() string

func (*ObjectAccessControl) GetGeneration

func (x *ObjectAccessControl) GetGeneration() int64

func (*ObjectAccessControl) GetId

func (x *ObjectAccessControl) GetId() string

func (*ObjectAccessControl) GetObject

func (x *ObjectAccessControl) GetObject() string

func (*ObjectAccessControl) GetProjectTeam

func (x *ObjectAccessControl) GetProjectTeam() *ProjectTeam

func (*ObjectAccessControl) GetRole

func (x *ObjectAccessControl) GetRole() string

func (*ObjectAccessControl) ProtoMessage

func (*ObjectAccessControl) ProtoMessage()

func (*ObjectAccessControl) ProtoReflect

func (x *ObjectAccessControl) ProtoReflect() protoreflect.Message

func (*ObjectAccessControl) Reset

func (x *ObjectAccessControl) Reset()

func (*ObjectAccessControl) String

func (x *ObjectAccessControl) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ObjectChecksums) Descriptor deprecated

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

Deprecated: Use ObjectChecksums.ProtoReflect.Descriptor instead.

func (*ObjectChecksums) GetCrc32C

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

func (*ObjectChecksums) GetMd5Hash

func (x *ObjectChecksums) GetMd5Hash() string

func (*ObjectChecksums) ProtoMessage

func (*ObjectChecksums) ProtoMessage()

func (*ObjectChecksums) ProtoReflect

func (x *ObjectChecksums) ProtoReflect() protoreflect.Message

func (*ObjectChecksums) Reset

func (x *ObjectChecksums) Reset()

func (*ObjectChecksums) String

func (x *ObjectChecksums) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*Object_CustomerEncryption) Descriptor deprecated

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

Deprecated: Use Object_CustomerEncryption.ProtoReflect.Descriptor instead.

func (*Object_CustomerEncryption) GetEncryptionAlgorithm

func (x *Object_CustomerEncryption) GetEncryptionAlgorithm() string

func (*Object_CustomerEncryption) GetKeySha256

func (x *Object_CustomerEncryption) GetKeySha256() string

func (*Object_CustomerEncryption) ProtoMessage

func (*Object_CustomerEncryption) ProtoMessage()

func (*Object_CustomerEncryption) ProtoReflect

func (*Object_CustomerEncryption) Reset

func (x *Object_CustomerEncryption) Reset()

func (*Object_CustomerEncryption) String

func (x *Object_CustomerEncryption) String() string

type Objects

type Objects struct {
	Object []*Object `protobuf:"bytes,1,rep,name=object,proto3" json:"object,omitempty"`
	// contains filtered or unexported fields
}

func (*Objects) Descriptor deprecated

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

Deprecated: Use Objects.ProtoReflect.Descriptor instead.

func (*Objects) GetObject

func (x *Objects) GetObject() []*Object

func (*Objects) ProtoMessage

func (*Objects) ProtoMessage()

func (*Objects) ProtoReflect

func (x *Objects) ProtoReflect() protoreflect.Message

func (*Objects) Reset

func (x *Objects) Reset()

func (*Objects) String

func (x *Objects) String() string

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"`
	// contains filtered or unexported fields
}

The owner of a specific resource.

func (*Owner) Descriptor deprecated

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

Deprecated: Use Owner.ProtoReflect.Descriptor instead.

func (*Owner) GetEntity

func (x *Owner) GetEntity() string

func (*Owner) GetEntityId

func (x *Owner) GetEntityId() string

func (*Owner) ProtoMessage

func (*Owner) ProtoMessage()

func (*Owner) ProtoReflect

func (x *Owner) ProtoReflect() protoreflect.Message

func (*Owner) Reset

func (x *Owner) Reset()

func (*Owner) String

func (x *Owner) String() string

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"`
	// contains filtered or unexported fields
}

Request for PatchBucketAccessControl.

func (*PatchBucketAccessControlRequest) Descriptor deprecated

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

Deprecated: Use PatchBucketAccessControlRequest.ProtoReflect.Descriptor instead.

func (*PatchBucketAccessControlRequest) GetBucket

func (x *PatchBucketAccessControlRequest) GetBucket() string

func (*PatchBucketAccessControlRequest) GetBucketAccessControl

func (x *PatchBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl

func (*PatchBucketAccessControlRequest) GetCommonRequestParams

func (x *PatchBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchBucketAccessControlRequest) GetEntity

func (x *PatchBucketAccessControlRequest) GetEntity() string

func (*PatchBucketAccessControlRequest) GetUpdateMask

func (*PatchBucketAccessControlRequest) ProtoMessage

func (*PatchBucketAccessControlRequest) ProtoMessage()

func (*PatchBucketAccessControlRequest) ProtoReflect

func (*PatchBucketAccessControlRequest) Reset

func (*PatchBucketAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request for PatchBucket method.

func (*PatchBucketRequest) Descriptor deprecated

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

Deprecated: Use PatchBucketRequest.ProtoReflect.Descriptor instead.

func (*PatchBucketRequest) GetBucket

func (x *PatchBucketRequest) GetBucket() string

func (*PatchBucketRequest) GetCommonRequestParams

func (x *PatchBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchBucketRequest) GetIfMetagenerationMatch

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

func (*PatchBucketRequest) GetIfMetagenerationNotMatch

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

func (*PatchBucketRequest) GetMetadata

func (x *PatchBucketRequest) GetMetadata() *Bucket

func (*PatchBucketRequest) GetPredefinedAcl

func (*PatchBucketRequest) GetPredefinedDefaultObjectAcl

func (x *PatchBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl

func (*PatchBucketRequest) GetProjection

func (x *PatchBucketRequest) GetProjection() CommonEnums_Projection

func (*PatchBucketRequest) GetUpdateMask

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

func (*PatchBucketRequest) ProtoMessage

func (*PatchBucketRequest) ProtoMessage()

func (*PatchBucketRequest) ProtoReflect

func (x *PatchBucketRequest) ProtoReflect() protoreflect.Message

func (*PatchBucketRequest) Reset

func (x *PatchBucketRequest) Reset()

func (*PatchBucketRequest) String

func (x *PatchBucketRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for PatchDefaultObjectAccessControl.

func (*PatchDefaultObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use PatchDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*PatchDefaultObjectAccessControlRequest) GetBucket

func (*PatchDefaultObjectAccessControlRequest) GetCommonRequestParams

func (x *PatchDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchDefaultObjectAccessControlRequest) GetEntity

func (*PatchDefaultObjectAccessControlRequest) GetObjectAccessControl

func (x *PatchDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*PatchDefaultObjectAccessControlRequest) GetUpdateMask

func (*PatchDefaultObjectAccessControlRequest) ProtoMessage

func (*PatchDefaultObjectAccessControlRequest) ProtoReflect

func (*PatchDefaultObjectAccessControlRequest) Reset

func (*PatchDefaultObjectAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request message for PatchObjectAccessControl.

func (*PatchObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use PatchObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*PatchObjectAccessControlRequest) GetBucket

func (x *PatchObjectAccessControlRequest) GetBucket() string

func (*PatchObjectAccessControlRequest) GetCommonRequestParams

func (x *PatchObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchObjectAccessControlRequest) GetEntity

func (x *PatchObjectAccessControlRequest) GetEntity() string

func (*PatchObjectAccessControlRequest) GetGeneration

func (x *PatchObjectAccessControlRequest) GetGeneration() int64

func (*PatchObjectAccessControlRequest) GetObject

func (x *PatchObjectAccessControlRequest) GetObject() string

func (*PatchObjectAccessControlRequest) GetObjectAccessControl

func (x *PatchObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*PatchObjectAccessControlRequest) GetUpdateMask

func (*PatchObjectAccessControlRequest) ProtoMessage

func (*PatchObjectAccessControlRequest) ProtoMessage()

func (*PatchObjectAccessControlRequest) ProtoReflect

func (*PatchObjectAccessControlRequest) Reset

func (*PatchObjectAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request message for PatchObject.

func (*PatchObjectRequest) Descriptor deprecated

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

Deprecated: Use PatchObjectRequest.ProtoReflect.Descriptor instead.

func (*PatchObjectRequest) GetBucket

func (x *PatchObjectRequest) GetBucket() string

func (*PatchObjectRequest) GetCommonObjectRequestParams

func (x *PatchObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*PatchObjectRequest) GetCommonRequestParams

func (x *PatchObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*PatchObjectRequest) GetGeneration

func (x *PatchObjectRequest) GetGeneration() int64

func (*PatchObjectRequest) GetIfGenerationMatch

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

func (*PatchObjectRequest) GetIfGenerationNotMatch

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

func (*PatchObjectRequest) GetIfMetagenerationMatch

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

func (*PatchObjectRequest) GetIfMetagenerationNotMatch

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

func (*PatchObjectRequest) GetMetadata

func (x *PatchObjectRequest) GetMetadata() *Object

func (*PatchObjectRequest) GetObject

func (x *PatchObjectRequest) GetObject() string

func (*PatchObjectRequest) GetPredefinedAcl

func (*PatchObjectRequest) GetProjection

func (x *PatchObjectRequest) GetProjection() CommonEnums_Projection

func (*PatchObjectRequest) GetUpdateMask

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

func (*PatchObjectRequest) ProtoMessage

func (*PatchObjectRequest) ProtoMessage()

func (*PatchObjectRequest) ProtoReflect

func (x *PatchObjectRequest) ProtoReflect() protoreflect.Message

func (*PatchObjectRequest) Reset

func (x *PatchObjectRequest) Reset()

func (*PatchObjectRequest) String

func (x *PatchObjectRequest) String() string

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"`
	// contains filtered or unexported fields
}

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

func (*ProjectTeam) Descriptor deprecated

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

Deprecated: Use ProjectTeam.ProtoReflect.Descriptor instead.

func (*ProjectTeam) GetProjectNumber

func (x *ProjectTeam) GetProjectNumber() string

func (*ProjectTeam) GetTeam

func (x *ProjectTeam) GetTeam() string

func (*ProjectTeam) ProtoMessage

func (*ProjectTeam) ProtoMessage()

func (*ProjectTeam) ProtoReflect

func (x *ProjectTeam) ProtoReflect() protoreflect.Message

func (*ProjectTeam) Reset

func (x *ProjectTeam) Reset()

func (*ProjectTeam) String

func (x *ProjectTeam) String() string

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"`
	// contains filtered or unexported fields
}

Request object for `QueryWriteStatus`.

func (*QueryWriteStatusRequest) Descriptor deprecated

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

Deprecated: Use QueryWriteStatusRequest.ProtoReflect.Descriptor instead.

func (*QueryWriteStatusRequest) GetCommonObjectRequestParams

func (x *QueryWriteStatusRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*QueryWriteStatusRequest) GetCommonRequestParams

func (x *QueryWriteStatusRequest) GetCommonRequestParams() *CommonRequestParams

func (*QueryWriteStatusRequest) GetUploadId

func (x *QueryWriteStatusRequest) GetUploadId() string

func (*QueryWriteStatusRequest) ProtoMessage

func (*QueryWriteStatusRequest) ProtoMessage()

func (*QueryWriteStatusRequest) ProtoReflect

func (x *QueryWriteStatusRequest) ProtoReflect() protoreflect.Message

func (*QueryWriteStatusRequest) Reset

func (x *QueryWriteStatusRequest) Reset()

func (*QueryWriteStatusRequest) String

func (x *QueryWriteStatusRequest) String() string

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"`
	// The metadata for the uploaded object. Only set if `complete` is `true`.
	Resource *Object `protobuf:"bytes,3,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

Response object for `QueryWriteStatus`.

func (*QueryWriteStatusResponse) Descriptor deprecated

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

Deprecated: Use QueryWriteStatusResponse.ProtoReflect.Descriptor instead.

func (*QueryWriteStatusResponse) GetCommittedSize

func (x *QueryWriteStatusResponse) GetCommittedSize() int64

func (*QueryWriteStatusResponse) GetComplete

func (x *QueryWriteStatusResponse) GetComplete() bool

func (*QueryWriteStatusResponse) GetResource

func (x *QueryWriteStatusResponse) GetResource() *Object

func (*QueryWriteStatusResponse) ProtoMessage

func (*QueryWriteStatusResponse) ProtoMessage()

func (*QueryWriteStatusResponse) ProtoReflect

func (x *QueryWriteStatusResponse) ProtoReflect() protoreflect.Message

func (*QueryWriteStatusResponse) Reset

func (x *QueryWriteStatusResponse) Reset()

func (*QueryWriteStatusResponse) String

func (x *QueryWriteStatusResponse) String() string

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"`
	// contains filtered or unexported fields
}

Request message for RewriteObject.

func (*RewriteObjectRequest) Descriptor deprecated

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

Deprecated: Use RewriteObjectRequest.ProtoReflect.Descriptor instead.

func (*RewriteObjectRequest) GetCommonObjectRequestParams

func (x *RewriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*RewriteObjectRequest) GetCommonRequestParams

func (x *RewriteObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*RewriteObjectRequest) GetCopySourceEncryptionAlgorithm

func (x *RewriteObjectRequest) GetCopySourceEncryptionAlgorithm() string

func (*RewriteObjectRequest) GetCopySourceEncryptionKey

func (x *RewriteObjectRequest) GetCopySourceEncryptionKey() string

func (*RewriteObjectRequest) GetCopySourceEncryptionKeySha256

func (x *RewriteObjectRequest) GetCopySourceEncryptionKeySha256() string

func (*RewriteObjectRequest) GetDestinationBucket

func (x *RewriteObjectRequest) GetDestinationBucket() string

func (*RewriteObjectRequest) GetDestinationKmsKeyName

func (x *RewriteObjectRequest) GetDestinationKmsKeyName() string

func (*RewriteObjectRequest) GetDestinationObject

func (x *RewriteObjectRequest) GetDestinationObject() string

func (*RewriteObjectRequest) GetDestinationPredefinedAcl

func (x *RewriteObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*RewriteObjectRequest) GetIfGenerationMatch

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

func (*RewriteObjectRequest) GetIfGenerationNotMatch

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

func (*RewriteObjectRequest) GetIfMetagenerationMatch

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

func (*RewriteObjectRequest) GetIfMetagenerationNotMatch

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

func (*RewriteObjectRequest) GetIfSourceGenerationMatch

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

func (*RewriteObjectRequest) GetIfSourceGenerationNotMatch

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

func (*RewriteObjectRequest) GetIfSourceMetagenerationMatch

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

func (*RewriteObjectRequest) GetIfSourceMetagenerationNotMatch

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

func (*RewriteObjectRequest) GetMaxBytesRewrittenPerCall

func (x *RewriteObjectRequest) GetMaxBytesRewrittenPerCall() int64

func (*RewriteObjectRequest) GetObject

func (x *RewriteObjectRequest) GetObject() *Object

func (*RewriteObjectRequest) GetProjection

func (x *RewriteObjectRequest) GetProjection() CommonEnums_Projection

func (*RewriteObjectRequest) GetRewriteToken

func (x *RewriteObjectRequest) GetRewriteToken() string

func (*RewriteObjectRequest) GetSourceBucket

func (x *RewriteObjectRequest) GetSourceBucket() string

func (*RewriteObjectRequest) GetSourceGeneration

func (x *RewriteObjectRequest) GetSourceGeneration() int64

func (*RewriteObjectRequest) GetSourceObject

func (x *RewriteObjectRequest) GetSourceObject() string

func (*RewriteObjectRequest) ProtoMessage

func (*RewriteObjectRequest) ProtoMessage()

func (*RewriteObjectRequest) ProtoReflect

func (x *RewriteObjectRequest) ProtoReflect() protoreflect.Message

func (*RewriteObjectRequest) Reset

func (x *RewriteObjectRequest) Reset()

func (*RewriteObjectRequest) String

func (x *RewriteObjectRequest) String() string

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"`
	// contains filtered or unexported fields
}

A rewrite response.

func (*RewriteResponse) Descriptor deprecated

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

Deprecated: Use RewriteResponse.ProtoReflect.Descriptor instead.

func (*RewriteResponse) GetDone

func (x *RewriteResponse) GetDone() bool

func (*RewriteResponse) GetObjectSize

func (x *RewriteResponse) GetObjectSize() int64

func (*RewriteResponse) GetResource

func (x *RewriteResponse) GetResource() *Object

func (*RewriteResponse) GetRewriteToken

func (x *RewriteResponse) GetRewriteToken() string

func (*RewriteResponse) GetTotalBytesRewritten

func (x *RewriteResponse) GetTotalBytesRewritten() int64

func (*RewriteResponse) ProtoMessage

func (*RewriteResponse) ProtoMessage()

func (*RewriteResponse) ProtoReflect

func (x *RewriteResponse) ProtoReflect() protoreflect.Message

func (*RewriteResponse) Reset

func (x *RewriteResponse) Reset()

func (*RewriteResponse) String

func (x *RewriteResponse) String() string

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"`
	// contains filtered or unexported fields
}

A subscription to receive Google PubSub notifications.

func (*ServiceAccount) Descriptor deprecated

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

Deprecated: Use ServiceAccount.ProtoReflect.Descriptor instead.

func (*ServiceAccount) GetEmailAddress

func (x *ServiceAccount) GetEmailAddress() string

func (*ServiceAccount) ProtoMessage

func (*ServiceAccount) ProtoMessage()

func (*ServiceAccount) ProtoReflect

func (x *ServiceAccount) ProtoReflect() protoreflect.Message

func (*ServiceAccount) Reset

func (x *ServiceAccount) Reset()

func (*ServiceAccount) String

func (x *ServiceAccount) 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"`
	// contains filtered or unexported fields
}

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

func (*SetIamPolicyRequest) Descriptor deprecated

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

Deprecated: Use SetIamPolicyRequest.ProtoReflect.Descriptor instead.

func (*SetIamPolicyRequest) GetCommonRequestParams

func (x *SetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams

func (*SetIamPolicyRequest) GetIamRequest

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

func (*SetIamPolicyRequest) ProtoMessage

func (*SetIamPolicyRequest) ProtoMessage()

func (*SetIamPolicyRequest) ProtoReflect

func (x *SetIamPolicyRequest) ProtoReflect() protoreflect.Message

func (*SetIamPolicyRequest) Reset

func (x *SetIamPolicyRequest) Reset()

func (*SetIamPolicyRequest) String

func (x *SetIamPolicyRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message StartResumableWrite.

func (*StartResumableWriteRequest) Descriptor deprecated

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

Deprecated: Use StartResumableWriteRequest.ProtoReflect.Descriptor instead.

func (*StartResumableWriteRequest) GetCommonObjectRequestParams

func (x *StartResumableWriteRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*StartResumableWriteRequest) GetCommonRequestParams

func (x *StartResumableWriteRequest) GetCommonRequestParams() *CommonRequestParams

func (*StartResumableWriteRequest) GetInsertObjectSpec

func (x *StartResumableWriteRequest) GetInsertObjectSpec() *InsertObjectSpec

func (*StartResumableWriteRequest) ProtoMessage

func (*StartResumableWriteRequest) ProtoMessage()

func (*StartResumableWriteRequest) ProtoReflect

func (*StartResumableWriteRequest) Reset

func (x *StartResumableWriteRequest) Reset()

func (*StartResumableWriteRequest) String

func (x *StartResumableWriteRequest) String() string

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"`
	// contains filtered or unexported fields
}

Response object for `StartResumableWrite`.

func (*StartResumableWriteResponse) Descriptor deprecated

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

Deprecated: Use StartResumableWriteResponse.ProtoReflect.Descriptor instead.

func (*StartResumableWriteResponse) GetUploadId

func (x *StartResumableWriteResponse) GetUploadId() string

func (*StartResumableWriteResponse) ProtoMessage

func (*StartResumableWriteResponse) ProtoMessage()

func (*StartResumableWriteResponse) ProtoReflect

func (*StartResumableWriteResponse) Reset

func (x *StartResumableWriteResponse) Reset()

func (*StartResumableWriteResponse) String

func (x *StartResumableWriteResponse) String() string

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"`
	// contains filtered or unexported fields
}

Request message for StopChannel.

func (*StopChannelRequest) Descriptor deprecated

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

Deprecated: Use StopChannelRequest.ProtoReflect.Descriptor instead.

func (*StopChannelRequest) GetChannel

func (x *StopChannelRequest) GetChannel() *Channel

func (*StopChannelRequest) GetCommonRequestParams

func (x *StopChannelRequest) GetCommonRequestParams() *CommonRequestParams

func (*StopChannelRequest) ProtoMessage

func (*StopChannelRequest) ProtoMessage()

func (*StopChannelRequest) ProtoReflect

func (x *StopChannelRequest) ProtoReflect() protoreflect.Message

func (*StopChannelRequest) Reset

func (x *StopChannelRequest) Reset()

func (*StopChannelRequest) String

func (x *StopChannelRequest) String() string

type StorageServerClient

type StorageServerClient interface {
	GetBucket(ctx context.Context, in *GetBucketRequest, opts ...grpc.CallOption) (*Bucket, error)
	DeleteBucket(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*Empty, error)
	InsertBucket(ctx context.Context, in *InsertBucketRequest, opts ...grpc.CallOption) (*Empty, error)
	ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*Buckets, error)
	InsertObject(ctx context.Context, in *InsertObjectRequest, opts ...grpc.CallOption) (*Empty, error)
	GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*GetObjectMediaResponse, error)
	DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*Empty, error)
	ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*Objects, error)
	PatchObject(ctx context.Context, in *PatchObjectRequest, opts ...grpc.CallOption) (*Empty, error)
	UpdateObject(ctx context.Context, in *UpdateObjectRequest, opts ...grpc.CallOption) (*Empty, error)
	ComposeObject(ctx context.Context, in *ComposeObjectRequest, opts ...grpc.CallOption) (*Empty, error)
}

StorageServerClient is the client API for StorageServer service.

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

type StorageServerServer

StorageServerServer is the server API for StorageServer service.

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"`
	// contains filtered or unexported fields
}

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

func (*TestIamPermissionsRequest) Descriptor deprecated

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

Deprecated: Use TestIamPermissionsRequest.ProtoReflect.Descriptor instead.

func (*TestIamPermissionsRequest) GetCommonRequestParams

func (x *TestIamPermissionsRequest) GetCommonRequestParams() *CommonRequestParams

func (*TestIamPermissionsRequest) GetIamRequest

func (*TestIamPermissionsRequest) ProtoMessage

func (*TestIamPermissionsRequest) ProtoMessage()

func (*TestIamPermissionsRequest) ProtoReflect

func (*TestIamPermissionsRequest) Reset

func (x *TestIamPermissionsRequest) Reset()

func (*TestIamPermissionsRequest) String

func (x *TestIamPermissionsRequest) String() string

type UnimplementedStorageServerServer

type UnimplementedStorageServerServer struct {
}

UnimplementedStorageServerServer can be embedded to have forward compatible implementations.

func (*UnimplementedStorageServerServer) ComposeObject

func (*UnimplementedStorageServerServer) DeleteBucket

func (*UnimplementedStorageServerServer) DeleteObject

func (*UnimplementedStorageServerServer) GetBucket

func (*UnimplementedStorageServerServer) GetObject

func (*UnimplementedStorageServerServer) InsertBucket

func (*UnimplementedStorageServerServer) InsertObject

func (*UnimplementedStorageServerServer) ListBuckets

func (*UnimplementedStorageServerServer) ListObjects

func (*UnimplementedStorageServerServer) PatchObject

func (*UnimplementedStorageServerServer) UpdateObject

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"`
	// contains filtered or unexported fields
}

Request for UpdateBucketAccessControl.

func (*UpdateBucketAccessControlRequest) Descriptor deprecated

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

Deprecated: Use UpdateBucketAccessControlRequest.ProtoReflect.Descriptor instead.

func (*UpdateBucketAccessControlRequest) GetBucket

func (*UpdateBucketAccessControlRequest) GetBucketAccessControl

func (x *UpdateBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl

func (*UpdateBucketAccessControlRequest) GetCommonRequestParams

func (x *UpdateBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateBucketAccessControlRequest) GetEntity

func (*UpdateBucketAccessControlRequest) ProtoMessage

func (*UpdateBucketAccessControlRequest) ProtoMessage()

func (*UpdateBucketAccessControlRequest) ProtoReflect

func (*UpdateBucketAccessControlRequest) Reset

func (*UpdateBucketAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request for UpdateBucket method.

func (*UpdateBucketRequest) Descriptor deprecated

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

Deprecated: Use UpdateBucketRequest.ProtoReflect.Descriptor instead.

func (*UpdateBucketRequest) GetBucket

func (x *UpdateBucketRequest) GetBucket() string

func (*UpdateBucketRequest) GetCommonRequestParams

func (x *UpdateBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateBucketRequest) GetIfMetagenerationMatch

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

func (*UpdateBucketRequest) GetIfMetagenerationNotMatch

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

func (*UpdateBucketRequest) GetMetadata

func (x *UpdateBucketRequest) GetMetadata() *Bucket

func (*UpdateBucketRequest) GetPredefinedAcl

func (*UpdateBucketRequest) GetPredefinedDefaultObjectAcl

func (x *UpdateBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl

func (*UpdateBucketRequest) GetProjection

func (x *UpdateBucketRequest) GetProjection() CommonEnums_Projection

func (*UpdateBucketRequest) ProtoMessage

func (*UpdateBucketRequest) ProtoMessage()

func (*UpdateBucketRequest) ProtoReflect

func (x *UpdateBucketRequest) ProtoReflect() protoreflect.Message

func (*UpdateBucketRequest) Reset

func (x *UpdateBucketRequest) Reset()

func (*UpdateBucketRequest) String

func (x *UpdateBucketRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for UpdateDefaultObjectAccessControl.

func (*UpdateDefaultObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use UpdateDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*UpdateDefaultObjectAccessControlRequest) GetBucket

func (*UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams

func (x *UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateDefaultObjectAccessControlRequest) GetEntity

func (*UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl

func (x *UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*UpdateDefaultObjectAccessControlRequest) ProtoMessage

func (*UpdateDefaultObjectAccessControlRequest) ProtoReflect

func (*UpdateDefaultObjectAccessControlRequest) Reset

func (*UpdateDefaultObjectAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request object to update an HMAC key state.

func (*UpdateHmacKeyRequest) Descriptor deprecated

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

Deprecated: Use UpdateHmacKeyRequest.ProtoReflect.Descriptor instead.

func (*UpdateHmacKeyRequest) GetAccessId

func (x *UpdateHmacKeyRequest) GetAccessId() string

func (*UpdateHmacKeyRequest) GetCommonRequestParams

func (x *UpdateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateHmacKeyRequest) GetMetadata

func (x *UpdateHmacKeyRequest) GetMetadata() *HmacKeyMetadata

func (*UpdateHmacKeyRequest) GetProjectId

func (x *UpdateHmacKeyRequest) GetProjectId() string

func (*UpdateHmacKeyRequest) ProtoMessage

func (*UpdateHmacKeyRequest) ProtoMessage()

func (*UpdateHmacKeyRequest) ProtoReflect

func (x *UpdateHmacKeyRequest) ProtoReflect() protoreflect.Message

func (*UpdateHmacKeyRequest) Reset

func (x *UpdateHmacKeyRequest) Reset()

func (*UpdateHmacKeyRequest) String

func (x *UpdateHmacKeyRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for UpdateObjectAccessControl.

func (*UpdateObjectAccessControlRequest) Descriptor deprecated

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

Deprecated: Use UpdateObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*UpdateObjectAccessControlRequest) GetBucket

func (*UpdateObjectAccessControlRequest) GetCommonRequestParams

func (x *UpdateObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateObjectAccessControlRequest) GetEntity

func (*UpdateObjectAccessControlRequest) GetGeneration

func (x *UpdateObjectAccessControlRequest) GetGeneration() int64

func (*UpdateObjectAccessControlRequest) GetObject

func (*UpdateObjectAccessControlRequest) GetObjectAccessControl

func (x *UpdateObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*UpdateObjectAccessControlRequest) GetUpdateMask

func (*UpdateObjectAccessControlRequest) ProtoMessage

func (*UpdateObjectAccessControlRequest) ProtoMessage()

func (*UpdateObjectAccessControlRequest) ProtoReflect

func (*UpdateObjectAccessControlRequest) Reset

func (*UpdateObjectAccessControlRequest) String

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"`
	// contains filtered or unexported fields
}

Request message for UpdateObject.

func (*UpdateObjectRequest) Descriptor deprecated

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

Deprecated: Use UpdateObjectRequest.ProtoReflect.Descriptor instead.

func (*UpdateObjectRequest) GetBucket

func (x *UpdateObjectRequest) GetBucket() string

func (*UpdateObjectRequest) GetCommonObjectRequestParams

func (x *UpdateObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*UpdateObjectRequest) GetCommonRequestParams

func (x *UpdateObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*UpdateObjectRequest) GetGeneration

func (x *UpdateObjectRequest) GetGeneration() int64

func (*UpdateObjectRequest) GetIfGenerationMatch

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

func (*UpdateObjectRequest) GetIfGenerationNotMatch

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

func (*UpdateObjectRequest) GetIfMetagenerationMatch

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

func (*UpdateObjectRequest) GetIfMetagenerationNotMatch

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

func (*UpdateObjectRequest) GetMetadata

func (x *UpdateObjectRequest) GetMetadata() *Object

func (*UpdateObjectRequest) GetObject

func (x *UpdateObjectRequest) GetObject() string

func (*UpdateObjectRequest) GetPredefinedAcl

func (*UpdateObjectRequest) GetProjection

func (x *UpdateObjectRequest) GetProjection() CommonEnums_Projection

func (*UpdateObjectRequest) ProtoMessage

func (*UpdateObjectRequest) ProtoMessage()

func (*UpdateObjectRequest) ProtoReflect

func (x *UpdateObjectRequest) ProtoReflect() protoreflect.Message

func (*UpdateObjectRequest) Reset

func (x *UpdateObjectRequest) Reset()

func (*UpdateObjectRequest) String

func (x *UpdateObjectRequest) String() string

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"`
	// contains filtered or unexported fields
}

Request message for WatchAllObjects.

func (*WatchAllObjectsRequest) Descriptor deprecated

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

Deprecated: Use WatchAllObjectsRequest.ProtoReflect.Descriptor instead.

func (*WatchAllObjectsRequest) GetBucket

func (x *WatchAllObjectsRequest) GetBucket() string

func (*WatchAllObjectsRequest) GetChannel

func (x *WatchAllObjectsRequest) GetChannel() *Channel

func (*WatchAllObjectsRequest) GetCommonRequestParams

func (x *WatchAllObjectsRequest) GetCommonRequestParams() *CommonRequestParams

func (*WatchAllObjectsRequest) GetDelimiter

func (x *WatchAllObjectsRequest) GetDelimiter() string

func (*WatchAllObjectsRequest) GetIncludeTrailingDelimiter

func (x *WatchAllObjectsRequest) GetIncludeTrailingDelimiter() bool

func (*WatchAllObjectsRequest) GetMaxResults

func (x *WatchAllObjectsRequest) GetMaxResults() int32

func (*WatchAllObjectsRequest) GetPageToken

func (x *WatchAllObjectsRequest) GetPageToken() string

func (*WatchAllObjectsRequest) GetPrefix

func (x *WatchAllObjectsRequest) GetPrefix() string

func (*WatchAllObjectsRequest) GetProjection

func (*WatchAllObjectsRequest) GetVersions

func (x *WatchAllObjectsRequest) GetVersions() bool

func (*WatchAllObjectsRequest) ProtoMessage

func (*WatchAllObjectsRequest) ProtoMessage()

func (*WatchAllObjectsRequest) ProtoReflect

func (x *WatchAllObjectsRequest) ProtoReflect() protoreflect.Message

func (*WatchAllObjectsRequest) Reset

func (x *WatchAllObjectsRequest) Reset()

func (*WatchAllObjectsRequest) String

func (x *WatchAllObjectsRequest) String() string

Jump to

Keyboard shortcuts

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