Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ServiceConstants_Values_name = map[int32]string{
		0:       "VALUES_UNSPECIFIED",
		2097152: "MAX_READ_CHUNK_BYTES",

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

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

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

Enum value maps for ServiceConstants_Values.

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 RegisterStorageServer

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

Types

type Bucket

type Bucket struct {

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

A bucket.

func (*Bucket) Descriptor

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

Deprecated: Use Bucket.ProtoReflect.Descriptor instead.

func (*Bucket) GetAcl

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

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

func (x *Bucket) GetStorageClass() string

func (*Bucket) GetTimeCreated

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

func (*Bucket) GetUpdated

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

func (*Bucket) GetVersioning

func (x *Bucket) GetVersioning() *Bucket_Versioning

func (*Bucket) GetWebsite

func (x *Bucket) GetWebsite() *Bucket_Website

func (*Bucket) GetZoneAffinity

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

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

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_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

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

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

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

Bucket restriction options currently enforced on the bucket.

func (*Bucket_IamConfiguration) Descriptor

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

Deprecated: Use Bucket_IamConfiguration.ProtoReflect.Descriptor instead.

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_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 *timestamppb.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: 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

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

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` and
	// `SetStorageClass` are supported.
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	// Target storage class. Required iff the type of the action is
	// SetStorageClass.
	StorageClass string `protobuf:"bytes,2,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
	// contains filtered or unexported fields
}

An action to take on an object.

func (*Bucket_Lifecycle_Rule_Action) Descriptor

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 *timestamppb.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 *wrapperspb.BoolValue `protobuf:"bytes,3,opt,name=is_live,json=isLive,proto3" json:"is_live,omitempty"`
	// Relevant only for versioned objects. If the value is N, this
	// condition is satisfied when there are at least N versions (including
	// the live version) newer than this version of the object.
	NumNewerVersions int32 `protobuf:"varint,4,opt,name=num_newer_versions,json=numNewerVersions,proto3" json:"num_newer_versions,omitempty"`
	// Objects having any of the storage classes specified by this condition
	// will be matched. Values include `MULTI_REGIONAL`, `REGIONAL`,
	// `NEARLINE`, `COLDLINE`, `STANDARD`, and
	// `DURABLE_REDUCED_AVAILABILITY`.
	MatchesStorageClass []string `protobuf:"bytes,5,rep,name=matches_storage_class,json=matchesStorageClass,proto3" json:"matches_storage_class,omitempty"`
	// A regular expression that satisfies the RE2 syntax. This condition is
	// satisfied when the name of the object matches the RE2 pattern.  Note:
	// This feature is currently in the "Early Access" launch stage and is
	// only available to a whitelisted set of users; that means that this
	// feature may be changed in backward-incompatible ways and that it is
	// not guaranteed to be released.
	MatchesPattern string `protobuf:"bytes,6,opt,name=matches_pattern,json=matchesPattern,proto3" json:"matches_pattern,omitempty"`
	// contains filtered or unexported fields
}

A condition of an object which triggers some action.

func (*Bucket_Lifecycle_Rule_Condition) Descriptor

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() *timestamppb.Timestamp

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

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

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

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 *timestamppb.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

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

Deprecated: Use Bucket_RetentionPolicy.ProtoReflect.Descriptor instead.

func (*Bucket_RetentionPolicy) GetEffectiveTime

func (x *Bucket_RetentionPolicy) GetEffectiveTime() *timestamppb.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

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

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 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 *timestamppb.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

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() *timestamppb.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 *wrapperspb.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

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() *wrapperspb.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

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

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

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

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

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.
	// Overrides user_ip if both are provided.
	QuotaUser string `protobuf:"bytes,2,opt,name=quota_user,json=quotaUser,proto3" json:"quota_user,omitempty"`
	// Subset of fields to include in the response.
	Fields *fieldmaskpb.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

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

Deprecated: Use CommonRequestParams.ProtoReflect.Descriptor instead.

func (*CommonRequestParams) GetFields

func (x *CommonRequestParams) GetFields() *fieldmaskpb.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 *wrapperspb.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 *wrapperspb.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

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() *wrapperspb.Int64Value

func (*ComposeObjectRequest) GetIfMetagenerationMatch

func (x *ComposeObjectRequest) GetIfMetagenerationMatch() *wrapperspb.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

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 *wrapperspb.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: 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

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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.Int64Value `` /* 137-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// generation matches the given value.
	IfSourceGenerationMatch *wrapperspb.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 *wrapperspb.Int64Value `` /* 145-byte string literal not displayed */
	// Makes the operation conditional on whether the source object's current
	// metageneration matches the given value.
	IfSourceMetagenerationMatch *wrapperspb.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 *wrapperspb.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

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() *wrapperspb.Int64Value

func (*CopyObjectRequest) GetIfGenerationNotMatch

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

func (*CopyObjectRequest) GetIfMetagenerationMatch

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

func (*CopyObjectRequest) GetIfMetagenerationNotMatch

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

func (*CopyObjectRequest) GetIfSourceGenerationMatch

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

func (*CopyObjectRequest) GetIfSourceGenerationNotMatch

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

func (*CopyObjectRequest) GetIfSourceMetagenerationMatch

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

func (*CopyObjectRequest) GetIfSourceMetagenerationNotMatch

func (x *CopyObjectRequest) GetIfSourceMetagenerationNotMatch() *wrapperspb.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

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

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

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 *wrapperspb.Int64Value `` /* 126-byte string literal not displayed */
	// If set, only deletes the bucket if its metageneration does not match this
	// value.
	IfMetagenerationNotMatch *wrapperspb.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

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() *wrapperspb.Int64Value

func (*DeleteBucketRequest) GetIfMetagenerationNotMatch

func (x *DeleteBucketRequest) GetIfMetagenerationNotMatch() *wrapperspb.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

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

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

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

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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.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 *wrapperspb.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

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() *wrapperspb.Int64Value

func (*DeleteObjectRequest) GetIfGenerationNotMatch

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

func (*DeleteObjectRequest) GetIfMetagenerationMatch

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

func (*DeleteObjectRequest) GetIfMetagenerationNotMatch

func (x *DeleteObjectRequest) GetIfMetagenerationNotMatch() *wrapperspb.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 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

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 *wrapperspb.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 *wrapperspb.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

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() *wrapperspb.Int64Value

func (*GetBucketRequest) GetIfMetagenerationNotMatch

func (x *GetBucketRequest) GetIfMetagenerationNotMatch() *wrapperspb.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

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

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

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

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