genproto: google.golang.org/genproto/googleapis/storage/v1 Index | Files

package storage

import "google.golang.org/genproto/googleapis/storage/v1"

Index

Package Files

storage.pb.go storage_resources.pb.go

Variables

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.

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.

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.

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.

var File_google_storage_v1_storage_proto protoreflect.FileDescriptor
var File_google_storage_v1_storage_resources_proto protoreflect.FileDescriptor

func RegisterStorageServer Uses

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

type Bucket Uses

type Bucket struct {

    // Access controls on the bucket.
    Acl []*BucketAccessControl `protobuf:"bytes,1,rep,name=acl,proto3" json:"acl,omitempty"`
    // Default access controls to apply to new objects when no ACL is provided.
    DefaultObjectAcl []*ObjectAccessControl `protobuf:"bytes,2,rep,name=default_object_acl,json=defaultObjectAcl,proto3" json:"default_object_acl,omitempty"`
    // The bucket's lifecycle configuration. See
    // [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management]
    // for more information.
    Lifecycle *Bucket_Lifecycle `protobuf:"bytes,3,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"`
    // The creation time of the bucket in
    // [https://tools.ietf.org/html/rfc3339][RFC 3339] format.
    // Attempting to set this field will result in an error.
    TimeCreated *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"`
    // The ID of the bucket. For buckets, the `id` and `name` properties are the
    // same.
    // Attempting to update this field after the bucket is created will result in
    // an error.
    Id  string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
    // The name of the bucket.
    // Attempting to update this field after the bucket is created will result in
    // an error.
    Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
    // The project number of the project the bucket belongs to.
    // Attempting to set this field will result in an error.
    ProjectNumber int64 `protobuf:"varint,7,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"`
    // The metadata generation of this bucket.
    // Attempting to set this field will result in an error.
    Metageneration int64 `protobuf:"varint,8,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
    // The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
    // (CORS) configuration.
    Cors []*Bucket_Cors `protobuf:"bytes,9,rep,name=cors,proto3" json:"cors,omitempty"`
    // The location of the bucket. Object data for objects in the bucket resides
    // in physical storage within this region.  Defaults to `US`. See the
    // [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
    // guide] for the authoritative list. Attempting to update this field after
    // the bucket is created will result in an error.
    Location string `protobuf:"bytes,10,opt,name=location,proto3" json:"location,omitempty"`
    // The bucket's default storage class, used whenever no storageClass is
    // specified for a newly-created object. This defines how objects in the
    // bucket are stored and determines the SLA and the cost of storage.
    // If this value is not specified when the bucket is created, it will default
    // to `STANDARD`. For more information, see
    // https://developers.google.com/storage/docs/storage-classes.
    StorageClass string `protobuf:"bytes,11,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"`
    // HTTP 1.1 [https://tools.ietf.org/html/rfc7232#section-2.3"]Entity tag]
    // for the bucket.
    // Attempting to set this field will result in an error.
    Etag string `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"`
    // The modification time of the bucket.
    // Attempting to set this field will result in an error.
    Updated *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated,proto3" json:"updated,omitempty"`
    // The default value for event-based hold on newly created objects in this
    // bucket.  Event-based hold is a way to retain objects indefinitely until an
    // event occurs, signified by the
    // hold's release. After being released, such objects will be subject to
    // bucket-level retention (if any).  One sample use case of this flag is for
    // banks to hold loan documents for at least 3 years after loan is paid in
    // full. Here, bucket-level retention is 3 years and the event is loan being
    // paid in full. In this example, these objects will be held intact for any
    // number of years until the event has occurred (event-based hold on the
    // object is released) and then 3 more years after that. That means retention
    // duration of the objects begins from the moment event-based hold
    // transitioned from true to false.  Objects under event-based hold cannot be
    // deleted, overwritten or archived until the hold is removed.
    DefaultEventBasedHold bool `protobuf:"varint,14,opt,name=default_event_based_hold,json=defaultEventBasedHold,proto3" json:"default_event_based_hold,omitempty"`
    // User-provided labels, in key/value pairs.
    Labels map[string]string `protobuf:"bytes,15,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 Uses

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

Deprecated: Use Bucket.ProtoReflect.Descriptor instead.

func (*Bucket) GetAcl Uses

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

func (*Bucket) GetBilling Uses

func (x *Bucket) GetBilling() *Bucket_Billing

func (*Bucket) GetCors Uses

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

func (*Bucket) GetDefaultEventBasedHold Uses

func (x *Bucket) GetDefaultEventBasedHold() bool

func (*Bucket) GetDefaultObjectAcl Uses

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

func (*Bucket) GetEncryption Uses

func (x *Bucket) GetEncryption() *Bucket_Encryption

func (*Bucket) GetEtag Uses

func (x *Bucket) GetEtag() string

func (*Bucket) GetIamConfiguration Uses

func (x *Bucket) GetIamConfiguration() *Bucket_IamConfiguration

func (*Bucket) GetId Uses

func (x *Bucket) GetId() string

func (*Bucket) GetLabels Uses

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

func (*Bucket) GetLifecycle Uses

func (x *Bucket) GetLifecycle() *Bucket_Lifecycle

func (*Bucket) GetLocation Uses

func (x *Bucket) GetLocation() string

func (*Bucket) GetLocationType Uses

func (x *Bucket) GetLocationType() string

func (*Bucket) GetLogging Uses

func (x *Bucket) GetLogging() *Bucket_Logging

func (*Bucket) GetMetageneration Uses

func (x *Bucket) GetMetageneration() int64

func (*Bucket) GetName Uses

func (x *Bucket) GetName() string

func (*Bucket) GetOwner Uses

func (x *Bucket) GetOwner() *Owner

func (*Bucket) GetProjectNumber Uses

func (x *Bucket) GetProjectNumber() int64

func (*Bucket) GetRetentionPolicy Uses

func (x *Bucket) GetRetentionPolicy() *Bucket_RetentionPolicy

func (*Bucket) GetStorageClass Uses

func (x *Bucket) GetStorageClass() string

func (*Bucket) GetTimeCreated Uses

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

func (*Bucket) GetUpdated Uses

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

func (*Bucket) GetVersioning Uses

func (x *Bucket) GetVersioning() *Bucket_Versioning

func (*Bucket) GetWebsite Uses

func (x *Bucket) GetWebsite() *Bucket_Website

func (*Bucket) GetZoneAffinity Uses

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

func (*Bucket) ProtoMessage Uses

func (*Bucket) ProtoMessage()

func (*Bucket) ProtoReflect Uses

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

func (*Bucket) Reset Uses

func (x *Bucket) Reset()

func (*Bucket) String Uses

func (x *Bucket) String() string

type BucketAccessControl Uses

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 Uses

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

Deprecated: Use BucketAccessControl.ProtoReflect.Descriptor instead.

func (*BucketAccessControl) GetBucket Uses

func (x *BucketAccessControl) GetBucket() string

func (*BucketAccessControl) GetDomain Uses

func (x *BucketAccessControl) GetDomain() string

func (*BucketAccessControl) GetEmail Uses

func (x *BucketAccessControl) GetEmail() string

func (*BucketAccessControl) GetEntity Uses

func (x *BucketAccessControl) GetEntity() string

func (*BucketAccessControl) GetEntityId Uses

func (x *BucketAccessControl) GetEntityId() string

func (*BucketAccessControl) GetEtag Uses

func (x *BucketAccessControl) GetEtag() string

func (*BucketAccessControl) GetId Uses

func (x *BucketAccessControl) GetId() string

func (*BucketAccessControl) GetProjectTeam Uses

func (x *BucketAccessControl) GetProjectTeam() *ProjectTeam

func (*BucketAccessControl) GetRole Uses

func (x *BucketAccessControl) GetRole() string

func (*BucketAccessControl) ProtoMessage Uses

func (*BucketAccessControl) ProtoMessage()

func (*BucketAccessControl) ProtoReflect Uses

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

func (*BucketAccessControl) Reset Uses

func (x *BucketAccessControl) Reset()

func (*BucketAccessControl) String Uses

func (x *BucketAccessControl) String() string

type Bucket_Billing Uses

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 Uses

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

Deprecated: Use Bucket_Billing.ProtoReflect.Descriptor instead.

func (*Bucket_Billing) GetRequesterPays Uses

func (x *Bucket_Billing) GetRequesterPays() bool

func (*Bucket_Billing) ProtoMessage Uses

func (*Bucket_Billing) ProtoMessage()

func (*Bucket_Billing) ProtoReflect Uses

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

func (*Bucket_Billing) Reset Uses

func (x *Bucket_Billing) Reset()

func (*Bucket_Billing) String Uses

func (x *Bucket_Billing) String() string

type Bucket_Cors Uses

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 Uses

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

Deprecated: Use Bucket_Cors.ProtoReflect.Descriptor instead.

func (*Bucket_Cors) GetMaxAgeSeconds Uses

func (x *Bucket_Cors) GetMaxAgeSeconds() int32

func (*Bucket_Cors) GetMethod Uses

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

func (*Bucket_Cors) GetOrigin Uses

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

func (*Bucket_Cors) GetResponseHeader Uses

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

func (*Bucket_Cors) ProtoMessage Uses

func (*Bucket_Cors) ProtoMessage()

func (*Bucket_Cors) ProtoReflect Uses

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

func (*Bucket_Cors) Reset Uses

func (x *Bucket_Cors) Reset()

func (*Bucket_Cors) String Uses

func (x *Bucket_Cors) String() string

type Bucket_Encryption Uses

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 Uses

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

Deprecated: Use Bucket_Encryption.ProtoReflect.Descriptor instead.

func (*Bucket_Encryption) GetDefaultKmsKeyName Uses

func (x *Bucket_Encryption) GetDefaultKmsKeyName() string

func (*Bucket_Encryption) ProtoMessage Uses

func (*Bucket_Encryption) ProtoMessage()

func (*Bucket_Encryption) ProtoReflect Uses

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

func (*Bucket_Encryption) Reset Uses

func (x *Bucket_Encryption) Reset()

func (*Bucket_Encryption) String Uses

func (x *Bucket_Encryption) String() string

type Bucket_IamConfiguration Uses

type Bucket_IamConfiguration struct {
    UniformBucketLevelAccess *Bucket_IamConfiguration_UniformBucketLevelAccess `protobuf:"bytes,1,opt,name=uniform_bucket_level_access,json=uniformBucketLevelAccess,proto3" json:"uniform_bucket_level_access,omitempty"`
    // contains filtered or unexported fields
}

Bucket restriction options currently enforced on the bucket.

func (*Bucket_IamConfiguration) Descriptor Uses

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

Deprecated: Use Bucket_IamConfiguration.ProtoReflect.Descriptor instead.

func (*Bucket_IamConfiguration) GetUniformBucketLevelAccess Uses

func (x *Bucket_IamConfiguration) GetUniformBucketLevelAccess() *Bucket_IamConfiguration_UniformBucketLevelAccess

func (*Bucket_IamConfiguration) ProtoMessage Uses

func (*Bucket_IamConfiguration) ProtoMessage()

func (*Bucket_IamConfiguration) ProtoReflect Uses

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

func (*Bucket_IamConfiguration) Reset Uses

func (x *Bucket_IamConfiguration) Reset()

func (*Bucket_IamConfiguration) String Uses

func (x *Bucket_IamConfiguration) String() string

type Bucket_IamConfiguration_UniformBucketLevelAccess Uses

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 Uses

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

Deprecated: Use Bucket_IamConfiguration_UniformBucketLevelAccess.ProtoReflect.Descriptor instead.

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) GetEnabled Uses

func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) GetEnabled() bool

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) GetLockedTime Uses

func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) GetLockedTime() *timestamp.Timestamp

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoMessage Uses

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoMessage()

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) ProtoReflect Uses

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

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) Reset Uses

func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) Reset()

func (*Bucket_IamConfiguration_UniformBucketLevelAccess) String Uses

func (x *Bucket_IamConfiguration_UniformBucketLevelAccess) String() string

type Bucket_Lifecycle Uses

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 Uses

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

Deprecated: Use Bucket_Lifecycle.ProtoReflect.Descriptor instead.

func (*Bucket_Lifecycle) GetRule Uses

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

func (*Bucket_Lifecycle) ProtoMessage Uses

func (*Bucket_Lifecycle) ProtoMessage()

func (*Bucket_Lifecycle) ProtoReflect Uses

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

func (*Bucket_Lifecycle) Reset Uses

func (x *Bucket_Lifecycle) Reset()

func (*Bucket_Lifecycle) String Uses

func (x *Bucket_Lifecycle) String() string

type Bucket_Lifecycle_Rule Uses

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 Uses

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

Deprecated: Use Bucket_Lifecycle_Rule.ProtoReflect.Descriptor instead.

func (*Bucket_Lifecycle_Rule) GetAction Uses

func (x *Bucket_Lifecycle_Rule) GetAction() *Bucket_Lifecycle_Rule_Action

func (*Bucket_Lifecycle_Rule) GetCondition Uses

func (x *Bucket_Lifecycle_Rule) GetCondition() *Bucket_Lifecycle_Rule_Condition

func (*Bucket_Lifecycle_Rule) ProtoMessage Uses

func (*Bucket_Lifecycle_Rule) ProtoMessage()

func (*Bucket_Lifecycle_Rule) ProtoReflect Uses

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

func (*Bucket_Lifecycle_Rule) Reset Uses

func (x *Bucket_Lifecycle_Rule) Reset()

func (*Bucket_Lifecycle_Rule) String Uses

func (x *Bucket_Lifecycle_Rule) String() string

type Bucket_Lifecycle_Rule_Action Uses

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 Uses

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

Deprecated: Use Bucket_Lifecycle_Rule_Action.ProtoReflect.Descriptor instead.

func (*Bucket_Lifecycle_Rule_Action) GetStorageClass Uses

func (x *Bucket_Lifecycle_Rule_Action) GetStorageClass() string

func (*Bucket_Lifecycle_Rule_Action) GetType Uses

func (x *Bucket_Lifecycle_Rule_Action) GetType() string

func (*Bucket_Lifecycle_Rule_Action) ProtoMessage Uses

func (*Bucket_Lifecycle_Rule_Action) ProtoMessage()

func (*Bucket_Lifecycle_Rule_Action) ProtoReflect Uses

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

func (*Bucket_Lifecycle_Rule_Action) Reset Uses

func (x *Bucket_Lifecycle_Rule_Action) Reset()

func (*Bucket_Lifecycle_Rule_Action) String Uses

func (x *Bucket_Lifecycle_Rule_Action) String() string

type Bucket_Lifecycle_Rule_Condition Uses

type Bucket_Lifecycle_Rule_Condition struct {

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

A condition of an object which triggers some action.

func (*Bucket_Lifecycle_Rule_Condition) Descriptor Uses

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

Deprecated: Use Bucket_Lifecycle_Rule_Condition.ProtoReflect.Descriptor instead.

func (*Bucket_Lifecycle_Rule_Condition) GetAge Uses

func (x *Bucket_Lifecycle_Rule_Condition) GetAge() int32

func (*Bucket_Lifecycle_Rule_Condition) GetCreatedBefore Uses

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

func (*Bucket_Lifecycle_Rule_Condition) GetIsLive Uses

func (x *Bucket_Lifecycle_Rule_Condition) GetIsLive() *wrappers.BoolValue

func (*Bucket_Lifecycle_Rule_Condition) GetMatchesPattern Uses

func (x *Bucket_Lifecycle_Rule_Condition) GetMatchesPattern() string

func (*Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass Uses

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

func (*Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions Uses

func (x *Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions() int32

func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage Uses

func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage()

func (*Bucket_Lifecycle_Rule_Condition) ProtoReflect Uses

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

func (*Bucket_Lifecycle_Rule_Condition) Reset Uses

func (x *Bucket_Lifecycle_Rule_Condition) Reset()

func (*Bucket_Lifecycle_Rule_Condition) String Uses

func (x *Bucket_Lifecycle_Rule_Condition) String() string

type Bucket_Logging Uses

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 Uses

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

Deprecated: Use Bucket_Logging.ProtoReflect.Descriptor instead.

func (*Bucket_Logging) GetLogBucket Uses

func (x *Bucket_Logging) GetLogBucket() string

func (*Bucket_Logging) GetLogObjectPrefix Uses

func (x *Bucket_Logging) GetLogObjectPrefix() string

func (*Bucket_Logging) ProtoMessage Uses

func (*Bucket_Logging) ProtoMessage()

func (*Bucket_Logging) ProtoReflect Uses

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

func (*Bucket_Logging) Reset Uses

func (x *Bucket_Logging) Reset()

func (*Bucket_Logging) String Uses

func (x *Bucket_Logging) String() string

type Bucket_RetentionPolicy Uses

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 Uses

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

Deprecated: Use Bucket_RetentionPolicy.ProtoReflect.Descriptor instead.

func (*Bucket_RetentionPolicy) GetEffectiveTime Uses

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

func (*Bucket_RetentionPolicy) GetIsLocked Uses

func (x *Bucket_RetentionPolicy) GetIsLocked() bool

func (*Bucket_RetentionPolicy) GetRetentionPeriod Uses

func (x *Bucket_RetentionPolicy) GetRetentionPeriod() int64

func (*Bucket_RetentionPolicy) ProtoMessage Uses

func (*Bucket_RetentionPolicy) ProtoMessage()

func (*Bucket_RetentionPolicy) ProtoReflect Uses

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

func (*Bucket_RetentionPolicy) Reset Uses

func (x *Bucket_RetentionPolicy) Reset()

func (*Bucket_RetentionPolicy) String Uses

func (x *Bucket_RetentionPolicy) String() string

type Bucket_Versioning Uses

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 Uses

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

Deprecated: Use Bucket_Versioning.ProtoReflect.Descriptor instead.

func (*Bucket_Versioning) GetEnabled Uses

func (x *Bucket_Versioning) GetEnabled() bool

func (*Bucket_Versioning) ProtoMessage Uses

func (*Bucket_Versioning) ProtoMessage()

func (*Bucket_Versioning) ProtoReflect Uses

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

func (*Bucket_Versioning) Reset Uses

func (x *Bucket_Versioning) Reset()

func (*Bucket_Versioning) String Uses

func (x *Bucket_Versioning) String() string

type Bucket_Website Uses

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 Uses

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

Deprecated: Use Bucket_Website.ProtoReflect.Descriptor instead.

func (*Bucket_Website) GetMainPageSuffix Uses

func (x *Bucket_Website) GetMainPageSuffix() string

func (*Bucket_Website) GetNotFoundPage Uses

func (x *Bucket_Website) GetNotFoundPage() string

func (*Bucket_Website) ProtoMessage Uses

func (*Bucket_Website) ProtoMessage()

func (*Bucket_Website) ProtoReflect Uses

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

func (*Bucket_Website) Reset Uses

func (x *Bucket_Website) Reset()

func (*Bucket_Website) String Uses

func (x *Bucket_Website) String() string

type Channel Uses

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 `protobuf:"bytes,8,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 Uses

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

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetAddress Uses

func (x *Channel) GetAddress() string

func (*Channel) GetExpiration Uses

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

func (*Channel) GetId Uses

func (x *Channel) GetId() string

func (*Channel) GetParams Uses

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

func (*Channel) GetPayload Uses

func (x *Channel) GetPayload() bool

func (*Channel) GetResourceId Uses

func (x *Channel) GetResourceId() string

func (*Channel) GetResourceUri Uses

func (x *Channel) GetResourceUri() string

func (*Channel) GetToken Uses

func (x *Channel) GetToken() string

func (*Channel) GetType Uses

func (x *Channel) GetType() string

func (*Channel) ProtoMessage Uses

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect Uses

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

func (*Channel) Reset Uses

func (x *Channel) Reset()

func (*Channel) String Uses

func (x *Channel) String() string

type ChecksummedData Uses

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 Uses

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

Deprecated: Use ChecksummedData.ProtoReflect.Descriptor instead.

func (*ChecksummedData) GetContent Uses

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

func (*ChecksummedData) GetCrc32C Uses

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

func (*ChecksummedData) ProtoMessage Uses

func (*ChecksummedData) ProtoMessage()

func (*ChecksummedData) ProtoReflect Uses

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

func (*ChecksummedData) Reset Uses

func (x *ChecksummedData) Reset()

func (*ChecksummedData) String Uses

func (x *ChecksummedData) String() string

type CommonEnums Uses

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

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

func (*CommonEnums) Descriptor Uses

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

Deprecated: Use CommonEnums.ProtoReflect.Descriptor instead.

func (*CommonEnums) ProtoMessage Uses

func (*CommonEnums) ProtoMessage()

func (*CommonEnums) ProtoReflect Uses

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

func (*CommonEnums) Reset Uses

func (x *CommonEnums) Reset()

func (*CommonEnums) String Uses

func (x *CommonEnums) String() string

type CommonEnums_PredefinedBucketAcl Uses

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 Uses

func (CommonEnums_PredefinedBucketAcl) Descriptor() protoreflect.EnumDescriptor

func (CommonEnums_PredefinedBucketAcl) Enum Uses

func (x CommonEnums_PredefinedBucketAcl) Enum() *CommonEnums_PredefinedBucketAcl

func (CommonEnums_PredefinedBucketAcl) EnumDescriptor Uses

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

Deprecated: Use CommonEnums_PredefinedBucketAcl.Descriptor instead.

func (CommonEnums_PredefinedBucketAcl) Number Uses

func (x CommonEnums_PredefinedBucketAcl) Number() protoreflect.EnumNumber

func (CommonEnums_PredefinedBucketAcl) String Uses

func (x CommonEnums_PredefinedBucketAcl) String() string

func (CommonEnums_PredefinedBucketAcl) Type Uses

func (CommonEnums_PredefinedBucketAcl) Type() protoreflect.EnumType

type CommonEnums_PredefinedObjectAcl Uses

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 Uses

func (CommonEnums_PredefinedObjectAcl) Descriptor() protoreflect.EnumDescriptor

func (CommonEnums_PredefinedObjectAcl) Enum Uses

func (x CommonEnums_PredefinedObjectAcl) Enum() *CommonEnums_PredefinedObjectAcl

func (CommonEnums_PredefinedObjectAcl) EnumDescriptor Uses

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

Deprecated: Use CommonEnums_PredefinedObjectAcl.Descriptor instead.

func (CommonEnums_PredefinedObjectAcl) Number Uses

func (x CommonEnums_PredefinedObjectAcl) Number() protoreflect.EnumNumber

func (CommonEnums_PredefinedObjectAcl) String Uses

func (x CommonEnums_PredefinedObjectAcl) String() string

func (CommonEnums_PredefinedObjectAcl) Type Uses

func (CommonEnums_PredefinedObjectAcl) Type() protoreflect.EnumType

type CommonEnums_Projection Uses

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 Uses

func (CommonEnums_Projection) Descriptor() protoreflect.EnumDescriptor

func (CommonEnums_Projection) Enum Uses

func (x CommonEnums_Projection) Enum() *CommonEnums_Projection

func (CommonEnums_Projection) EnumDescriptor Uses

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

Deprecated: Use CommonEnums_Projection.Descriptor instead.

func (CommonEnums_Projection) Number Uses

func (x CommonEnums_Projection) Number() protoreflect.EnumNumber

func (CommonEnums_Projection) String Uses

func (x CommonEnums_Projection) String() string

func (CommonEnums_Projection) Type Uses

func (CommonEnums_Projection) Type() protoreflect.EnumType

type CommonObjectRequestParams Uses

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 Uses

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

Deprecated: Use CommonObjectRequestParams.ProtoReflect.Descriptor instead.

func (*CommonObjectRequestParams) GetEncryptionAlgorithm Uses

func (x *CommonObjectRequestParams) GetEncryptionAlgorithm() string

func (*CommonObjectRequestParams) GetEncryptionKey Uses

func (x *CommonObjectRequestParams) GetEncryptionKey() string

func (*CommonObjectRequestParams) GetEncryptionKeySha256 Uses

func (x *CommonObjectRequestParams) GetEncryptionKeySha256() string

func (*CommonObjectRequestParams) ProtoMessage Uses

func (*CommonObjectRequestParams) ProtoMessage()

func (*CommonObjectRequestParams) ProtoReflect Uses

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

func (*CommonObjectRequestParams) Reset Uses

func (x *CommonObjectRequestParams) Reset()

func (*CommonObjectRequestParams) String Uses

func (x *CommonObjectRequestParams) String() string

type CommonRequestParams Uses

type CommonRequestParams struct {

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

Parameters that can be passed to any request.

func (*CommonRequestParams) Descriptor Uses

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

Deprecated: Use CommonRequestParams.ProtoReflect.Descriptor instead.

func (*CommonRequestParams) GetFields Uses

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

func (*CommonRequestParams) GetQuotaUser Uses

func (x *CommonRequestParams) GetQuotaUser() string

func (*CommonRequestParams) GetUserProject Uses

func (x *CommonRequestParams) GetUserProject() string

func (*CommonRequestParams) ProtoMessage Uses

func (*CommonRequestParams) ProtoMessage()

func (*CommonRequestParams) ProtoReflect Uses

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

func (*CommonRequestParams) Reset Uses

func (x *CommonRequestParams) Reset()

func (*CommonRequestParams) String Uses

func (x *CommonRequestParams) String() string

type ComposeObjectRequest Uses

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 `protobuf:"varint,3,opt,name=destination_predefined_acl,json=destinationPredefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"destination_predefined_acl,omitempty"`
    // 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 `protobuf:"bytes,5,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,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.
    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 `protobuf:"bytes,9,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,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 ComposeObject.

func (*ComposeObjectRequest) Descriptor Uses

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

Deprecated: Use ComposeObjectRequest.ProtoReflect.Descriptor instead.

func (*ComposeObjectRequest) GetCommonObjectRequestParams Uses

func (x *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*ComposeObjectRequest) GetCommonRequestParams Uses

func (x *ComposeObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*ComposeObjectRequest) GetDestination Uses

func (x *ComposeObjectRequest) GetDestination() *Object

func (*ComposeObjectRequest) GetDestinationBucket Uses

func (x *ComposeObjectRequest) GetDestinationBucket() string

func (*ComposeObjectRequest) GetDestinationObject Uses

func (x *ComposeObjectRequest) GetDestinationObject() string

func (*ComposeObjectRequest) GetDestinationPredefinedAcl Uses

func (x *ComposeObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*ComposeObjectRequest) GetIfGenerationMatch Uses

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

func (*ComposeObjectRequest) GetIfMetagenerationMatch Uses

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

func (*ComposeObjectRequest) GetKmsKeyName Uses

func (x *ComposeObjectRequest) GetKmsKeyName() string

func (*ComposeObjectRequest) GetSourceObjects Uses

func (x *ComposeObjectRequest) GetSourceObjects() []*ComposeObjectRequest_SourceObjects

func (*ComposeObjectRequest) ProtoMessage Uses

func (*ComposeObjectRequest) ProtoMessage()

func (*ComposeObjectRequest) ProtoReflect Uses

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

func (*ComposeObjectRequest) Reset Uses

func (x *ComposeObjectRequest) Reset()

func (*ComposeObjectRequest) String Uses

func (x *ComposeObjectRequest) String() string

type ComposeObjectRequest_SourceObjects Uses

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 Uses

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

Deprecated: Use ComposeObjectRequest_SourceObjects.ProtoReflect.Descriptor instead.

func (*ComposeObjectRequest_SourceObjects) GetGeneration Uses

func (x *ComposeObjectRequest_SourceObjects) GetGeneration() int64

func (*ComposeObjectRequest_SourceObjects) GetName Uses

func (x *ComposeObjectRequest_SourceObjects) GetName() string

func (*ComposeObjectRequest_SourceObjects) GetObjectPreconditions Uses

func (x *ComposeObjectRequest_SourceObjects) GetObjectPreconditions() *ComposeObjectRequest_SourceObjects_ObjectPreconditions

func (*ComposeObjectRequest_SourceObjects) ProtoMessage Uses

func (*ComposeObjectRequest_SourceObjects) ProtoMessage()

func (*ComposeObjectRequest_SourceObjects) ProtoReflect Uses

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

func (*ComposeObjectRequest_SourceObjects) Reset Uses

func (x *ComposeObjectRequest_SourceObjects) Reset()

func (*ComposeObjectRequest_SourceObjects) String Uses

func (x *ComposeObjectRequest_SourceObjects) String() string

type ComposeObjectRequest_SourceObjects_ObjectPreconditions Uses

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 Uses

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

Deprecated: Use ComposeObjectRequest_SourceObjects_ObjectPreconditions.ProtoReflect.Descriptor instead.

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch Uses

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

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage Uses

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage()

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoReflect Uses

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

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset Uses

func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset()

func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) String Uses

func (x *ComposeObjectRequest_SourceObjects_ObjectPreconditions) String() string

type ContentRange Uses

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 Uses

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

Deprecated: Use ContentRange.ProtoReflect.Descriptor instead.

func (*ContentRange) GetCompleteLength Uses

func (x *ContentRange) GetCompleteLength() int64

func (*ContentRange) GetEnd Uses

func (x *ContentRange) GetEnd() int64

func (*ContentRange) GetStart Uses

func (x *ContentRange) GetStart() int64

func (*ContentRange) ProtoMessage Uses

func (*ContentRange) ProtoMessage()

func (*ContentRange) ProtoReflect Uses

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

func (*ContentRange) Reset Uses

func (x *ContentRange) Reset()

func (*ContentRange) String Uses

func (x *ContentRange) String() string

type CopyObjectRequest Uses

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 `protobuf:"varint,3,opt,name=destination_predefined_acl,json=destinationPredefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"destination_predefined_acl,omitempty"`
    // 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 `protobuf:"bytes,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"`
    // Makes the operation conditional on whether the destination object's current
    // metageneration does not match the given value.
    IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"`
    // Makes the operation conditional on whether the source object's current
    // generation matches the given value.
    IfSourceGenerationMatch *wrappers.Int64Value `protobuf:"bytes,8,opt,name=if_source_generation_match,json=ifSourceGenerationMatch,proto3" json:"if_source_generation_match,omitempty"`
    // Makes the operation conditional on whether the source object's current
    // generation does not match the given value.
    IfSourceGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,9,opt,name=if_source_generation_not_match,json=ifSourceGenerationNotMatch,proto3" json:"if_source_generation_not_match,omitempty"`
    // Makes the operation conditional on whether the source object's current
    // metageneration matches the given value.
    IfSourceMetagenerationMatch *wrappers.Int64Value `protobuf:"bytes,10,opt,name=if_source_metageneration_match,json=ifSourceMetagenerationMatch,proto3" json:"if_source_metageneration_match,omitempty"`
    // Makes the operation conditional on whether the source object's current
    // metageneration does not match the given value.
    IfSourceMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,11,opt,name=if_source_metageneration_not_match,json=ifSourceMetagenerationNotMatch,proto3" json:"if_source_metageneration_not_match,omitempty"`
    // 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 `protobuf:"bytes,20,opt,name=destination_kms_key_name,json=destinationKmsKeyName,proto3" json:"destination_kms_key_name,omitempty"`
    // A set of parameters common to Storage API requests concerning an object.
    CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,18,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,omitempty"`
    // 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 Uses

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

Deprecated: Use CopyObjectRequest.ProtoReflect.Descriptor instead.

func (*CopyObjectRequest) GetCommonObjectRequestParams Uses

func (x *CopyObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*CopyObjectRequest) GetCommonRequestParams Uses

func (x *CopyObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*CopyObjectRequest) GetDestination Uses

func (x *CopyObjectRequest) GetDestination() *Object

func (*CopyObjectRequest) GetDestinationBucket Uses

func (x *CopyObjectRequest) GetDestinationBucket() string

func (*CopyObjectRequest) GetDestinationKmsKeyName Uses

func (x *CopyObjectRequest) GetDestinationKmsKeyName() string

func (*CopyObjectRequest) GetDestinationObject Uses

func (x *CopyObjectRequest) GetDestinationObject() string

func (*CopyObjectRequest) GetDestinationPredefinedAcl Uses

func (x *CopyObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*CopyObjectRequest) GetIfGenerationMatch Uses

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

func (*CopyObjectRequest) GetIfGenerationNotMatch Uses

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

func (*CopyObjectRequest) GetIfMetagenerationMatch Uses

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

func (*CopyObjectRequest) GetIfMetagenerationNotMatch Uses

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

func (*CopyObjectRequest) GetIfSourceGenerationMatch Uses

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

func (*CopyObjectRequest) GetIfSourceGenerationNotMatch Uses

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

func (*CopyObjectRequest) GetIfSourceMetagenerationMatch Uses

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

func (*CopyObjectRequest) GetIfSourceMetagenerationNotMatch Uses

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

func (*CopyObjectRequest) GetProjection Uses

func (x *CopyObjectRequest) GetProjection() CommonEnums_Projection

func (*CopyObjectRequest) GetSourceBucket Uses

func (x *CopyObjectRequest) GetSourceBucket() string

func (*CopyObjectRequest) GetSourceGeneration Uses

func (x *CopyObjectRequest) GetSourceGeneration() int64

func (*CopyObjectRequest) GetSourceObject Uses

func (x *CopyObjectRequest) GetSourceObject() string

func (*CopyObjectRequest) ProtoMessage Uses

func (*CopyObjectRequest) ProtoMessage()

func (*CopyObjectRequest) ProtoReflect Uses

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

func (*CopyObjectRequest) Reset Uses

func (x *CopyObjectRequest) Reset()

func (*CopyObjectRequest) String Uses

func (x *CopyObjectRequest) String() string

type CreateHmacKeyRequest Uses

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 Uses

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

Deprecated: Use CreateHmacKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateHmacKeyRequest) GetCommonRequestParams Uses

func (x *CreateHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*CreateHmacKeyRequest) GetProjectId Uses

func (x *CreateHmacKeyRequest) GetProjectId() string

func (*CreateHmacKeyRequest) GetServiceAccountEmail Uses

func (x *CreateHmacKeyRequest) GetServiceAccountEmail() string

func (*CreateHmacKeyRequest) ProtoMessage Uses

func (*CreateHmacKeyRequest) ProtoMessage()

func (*CreateHmacKeyRequest) ProtoReflect Uses

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

func (*CreateHmacKeyRequest) Reset Uses

func (x *CreateHmacKeyRequest) Reset()

func (*CreateHmacKeyRequest) String Uses

func (x *CreateHmacKeyRequest) String() string

type CreateHmacKeyResponse Uses

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 Uses

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

Deprecated: Use CreateHmacKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateHmacKeyResponse) GetMetadata Uses

func (x *CreateHmacKeyResponse) GetMetadata() *HmacKeyMetadata

func (*CreateHmacKeyResponse) GetSecret Uses

func (x *CreateHmacKeyResponse) GetSecret() string

func (*CreateHmacKeyResponse) ProtoMessage Uses

func (*CreateHmacKeyResponse) ProtoMessage()

func (*CreateHmacKeyResponse) ProtoReflect Uses

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

func (*CreateHmacKeyResponse) Reset Uses

func (x *CreateHmacKeyResponse) Reset()

func (*CreateHmacKeyResponse) String Uses

func (x *CreateHmacKeyResponse) String() string

type DeleteBucketAccessControlRequest Uses

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 Uses

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

Deprecated: Use DeleteBucketAccessControlRequest.ProtoReflect.Descriptor instead.

func (*DeleteBucketAccessControlRequest) GetBucket Uses

func (x *DeleteBucketAccessControlRequest) GetBucket() string

func (*DeleteBucketAccessControlRequest) GetCommonRequestParams Uses

func (x *DeleteBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteBucketAccessControlRequest) GetEntity Uses

func (x *DeleteBucketAccessControlRequest) GetEntity() string

func (*DeleteBucketAccessControlRequest) ProtoMessage Uses

func (*DeleteBucketAccessControlRequest) ProtoMessage()

func (*DeleteBucketAccessControlRequest) ProtoReflect Uses

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

func (*DeleteBucketAccessControlRequest) Reset Uses

func (x *DeleteBucketAccessControlRequest) Reset()

func (*DeleteBucketAccessControlRequest) String Uses

func (x *DeleteBucketAccessControlRequest) String() string

type DeleteBucketRequest Uses

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 `protobuf:"bytes,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"`
    // If set, only deletes the bucket if its metageneration does not match this
    // value.
    IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,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 DeleteBucket.

func (*DeleteBucketRequest) Descriptor Uses

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

Deprecated: Use DeleteBucketRequest.ProtoReflect.Descriptor instead.

func (*DeleteBucketRequest) GetBucket Uses

func (x *DeleteBucketRequest) GetBucket() string

func (*DeleteBucketRequest) GetCommonRequestParams Uses

func (x *DeleteBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteBucketRequest) GetIfMetagenerationMatch Uses

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

func (*DeleteBucketRequest) GetIfMetagenerationNotMatch Uses

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

func (*DeleteBucketRequest) ProtoMessage Uses

func (*DeleteBucketRequest) ProtoMessage()

func (*DeleteBucketRequest) ProtoReflect Uses

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

func (*DeleteBucketRequest) Reset Uses

func (x *DeleteBucketRequest) Reset()

func (*DeleteBucketRequest) String Uses

func (x *DeleteBucketRequest) String() string

type DeleteDefaultObjectAccessControlRequest Uses

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 Uses

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

Deprecated: Use DeleteDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*DeleteDefaultObjectAccessControlRequest) GetBucket Uses

func (x *DeleteDefaultObjectAccessControlRequest) GetBucket() string

func (*DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams Uses

func (x *DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteDefaultObjectAccessControlRequest) GetEntity Uses

func (x *DeleteDefaultObjectAccessControlRequest) GetEntity() string

func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage Uses

func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage()

func (*DeleteDefaultObjectAccessControlRequest) ProtoReflect Uses

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

func (*DeleteDefaultObjectAccessControlRequest) Reset Uses

func (x *DeleteDefaultObjectAccessControlRequest) Reset()

func (*DeleteDefaultObjectAccessControlRequest) String Uses

func (x *DeleteDefaultObjectAccessControlRequest) String() string

type DeleteHmacKeyRequest Uses

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 Uses

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

Deprecated: Use DeleteHmacKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteHmacKeyRequest) GetAccessId Uses

func (x *DeleteHmacKeyRequest) GetAccessId() string

func (*DeleteHmacKeyRequest) GetCommonRequestParams Uses

func (x *DeleteHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteHmacKeyRequest) GetProjectId Uses

func (x *DeleteHmacKeyRequest) GetProjectId() string

func (*DeleteHmacKeyRequest) ProtoMessage Uses

func (*DeleteHmacKeyRequest) ProtoMessage()

func (*DeleteHmacKeyRequest) ProtoReflect Uses

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

func (*DeleteHmacKeyRequest) Reset Uses

func (x *DeleteHmacKeyRequest) Reset()

func (*DeleteHmacKeyRequest) String Uses

func (x *DeleteHmacKeyRequest) String() string

type DeleteNotificationRequest Uses

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 Uses

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

Deprecated: Use DeleteNotificationRequest.ProtoReflect.Descriptor instead.

func (*DeleteNotificationRequest) GetBucket Uses

func (x *DeleteNotificationRequest) GetBucket() string

func (*DeleteNotificationRequest) GetCommonRequestParams Uses

func (x *DeleteNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteNotificationRequest) GetNotification Uses

func (x *DeleteNotificationRequest) GetNotification() string

func (*DeleteNotificationRequest) ProtoMessage Uses

func (*DeleteNotificationRequest) ProtoMessage()

func (*DeleteNotificationRequest) ProtoReflect Uses

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

func (*DeleteNotificationRequest) Reset Uses

func (x *DeleteNotificationRequest) Reset()

func (*DeleteNotificationRequest) String Uses

func (x *DeleteNotificationRequest) String() string

type DeleteObjectAccessControlRequest Uses

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 Uses

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

Deprecated: Use DeleteObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*DeleteObjectAccessControlRequest) GetBucket Uses

func (x *DeleteObjectAccessControlRequest) GetBucket() string

func (*DeleteObjectAccessControlRequest) GetCommonRequestParams Uses

func (x *DeleteObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteObjectAccessControlRequest) GetEntity Uses

func (x *DeleteObjectAccessControlRequest) GetEntity() string

func (*DeleteObjectAccessControlRequest) GetGeneration Uses

func (x *DeleteObjectAccessControlRequest) GetGeneration() int64

func (*DeleteObjectAccessControlRequest) GetObject Uses

func (x *DeleteObjectAccessControlRequest) GetObject() string

func (*DeleteObjectAccessControlRequest) ProtoMessage Uses

func (*DeleteObjectAccessControlRequest) ProtoMessage()

func (*DeleteObjectAccessControlRequest) ProtoReflect Uses

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

func (*DeleteObjectAccessControlRequest) Reset Uses

func (x *DeleteObjectAccessControlRequest) Reset()

func (*DeleteObjectAccessControlRequest) String Uses

func (x *DeleteObjectAccessControlRequest) String() string

type DeleteObjectRequest Uses

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 `protobuf:"bytes,7,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"`
    // Makes the operation conditional on whether the object's current
    // metageneration does not match the given value.
    IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,8,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"`
    // A set of parameters common to Storage API requests concerning an object.
    CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,10,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,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
}

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

func (*DeleteObjectRequest) Descriptor Uses

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

Deprecated: Use DeleteObjectRequest.ProtoReflect.Descriptor instead.

func (*DeleteObjectRequest) GetBucket Uses

func (x *DeleteObjectRequest) GetBucket() string

func (*DeleteObjectRequest) GetCommonObjectRequestParams Uses

func (x *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*DeleteObjectRequest) GetCommonRequestParams Uses

func (x *DeleteObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*DeleteObjectRequest) GetGeneration Uses

func (x *DeleteObjectRequest) GetGeneration() int64

func (*DeleteObjectRequest) GetIfGenerationMatch Uses

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

func (*DeleteObjectRequest) GetIfGenerationNotMatch Uses

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

func (*DeleteObjectRequest) GetIfMetagenerationMatch Uses

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

func (*DeleteObjectRequest) GetIfMetagenerationNotMatch Uses

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

func (*DeleteObjectRequest) GetObject Uses

func (x *DeleteObjectRequest) GetObject() string

func (*DeleteObjectRequest) GetUploadId Uses

func (x *DeleteObjectRequest) GetUploadId() string

func (*DeleteObjectRequest) ProtoMessage Uses

func (*DeleteObjectRequest) ProtoMessage()

func (*DeleteObjectRequest) ProtoReflect Uses

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

func (*DeleteObjectRequest) Reset Uses

func (x *DeleteObjectRequest) Reset()

func (*DeleteObjectRequest) String Uses

func (x *DeleteObjectRequest) String() string

type GetBucketAccessControlRequest Uses

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 Uses

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

Deprecated: Use GetBucketAccessControlRequest.ProtoReflect.Descriptor instead.

func (*GetBucketAccessControlRequest) GetBucket Uses

func (x *GetBucketAccessControlRequest) GetBucket() string

func (*GetBucketAccessControlRequest) GetCommonRequestParams Uses

func (x *GetBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetBucketAccessControlRequest) GetEntity Uses

func (x *GetBucketAccessControlRequest) GetEntity() string

func (*GetBucketAccessControlRequest) ProtoMessage Uses

func (*GetBucketAccessControlRequest) ProtoMessage()

func (*GetBucketAccessControlRequest) ProtoReflect Uses

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

func (*GetBucketAccessControlRequest) Reset Uses

func (x *GetBucketAccessControlRequest) Reset()

func (*GetBucketAccessControlRequest) String Uses

func (x *GetBucketAccessControlRequest) String() string

type GetBucketRequest Uses

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 `protobuf:"bytes,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"`
    // Makes the return of the bucket metadata conditional on whether the bucket's
    // current metageneration does not match the given value.
    IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"`
    // 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 Uses

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

Deprecated: Use GetBucketRequest.ProtoReflect.Descriptor instead.

func (*GetBucketRequest) GetBucket Uses

func (x *GetBucketRequest) GetBucket() string

func (*GetBucketRequest) GetCommonRequestParams Uses

func (x *GetBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetBucketRequest) GetIfMetagenerationMatch Uses

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

func (*GetBucketRequest) GetIfMetagenerationNotMatch Uses

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

func (*GetBucketRequest) GetProjection Uses

func (x *GetBucketRequest) GetProjection() CommonEnums_Projection

func (*GetBucketRequest) ProtoMessage Uses

func (*GetBucketRequest) ProtoMessage()

func (*GetBucketRequest) ProtoReflect Uses

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

func (*GetBucketRequest) Reset Uses

func (x *GetBucketRequest) Reset()

func (*GetBucketRequest) String Uses

func (x *GetBucketRequest) String() string

type GetDefaultObjectAccessControlRequest Uses

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 Uses

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

Deprecated: Use GetDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*GetDefaultObjectAccessControlRequest) GetBucket Uses

func (x *GetDefaultObjectAccessControlRequest) GetBucket() string

func (*GetDefaultObjectAccessControlRequest) GetCommonRequestParams Uses

func (x *GetDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetDefaultObjectAccessControlRequest) GetEntity Uses

func (x *GetDefaultObjectAccessControlRequest) GetEntity() string

func (*GetDefaultObjectAccessControlRequest) ProtoMessage Uses

func (*GetDefaultObjectAccessControlRequest) ProtoMessage()

func (*GetDefaultObjectAccessControlRequest) ProtoReflect Uses

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

func (*GetDefaultObjectAccessControlRequest) Reset Uses

func (x *GetDefaultObjectAccessControlRequest) Reset()

func (*GetDefaultObjectAccessControlRequest) String Uses

func (x *GetDefaultObjectAccessControlRequest) String() string

type GetHmacKeyRequest Uses

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 Uses

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

Deprecated: Use GetHmacKeyRequest.ProtoReflect.Descriptor instead.

func (*GetHmacKeyRequest) GetAccessId Uses

func (x *GetHmacKeyRequest) GetAccessId() string

func (*GetHmacKeyRequest) GetCommonRequestParams Uses

func (x *GetHmacKeyRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetHmacKeyRequest) GetProjectId Uses

func (x *GetHmacKeyRequest) GetProjectId() string

func (*GetHmacKeyRequest) ProtoMessage Uses

func (*GetHmacKeyRequest) ProtoMessage()

func (*GetHmacKeyRequest) ProtoReflect Uses

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

func (*GetHmacKeyRequest) Reset Uses

func (x *GetHmacKeyRequest) Reset()

func (*GetHmacKeyRequest) String Uses

func (x *GetHmacKeyRequest) String() string

type GetIamPolicyRequest Uses

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 Uses

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

Deprecated: Use GetIamPolicyRequest.ProtoReflect.Descriptor instead.

func (*GetIamPolicyRequest) GetCommonRequestParams Uses

func (x *GetIamPolicyRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetIamPolicyRequest) GetIamRequest Uses

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

func (*GetIamPolicyRequest) ProtoMessage Uses

func (*GetIamPolicyRequest) ProtoMessage()

func (*GetIamPolicyRequest) ProtoReflect Uses

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

func (*GetIamPolicyRequest) Reset Uses

func (x *GetIamPolicyRequest) Reset()

func (*GetIamPolicyRequest) String Uses

func (x *GetIamPolicyRequest) String() string

type GetNotificationRequest Uses

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 Uses

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

Deprecated: Use GetNotificationRequest.ProtoReflect.Descriptor instead.

func (*GetNotificationRequest) GetBucket Uses

func (x *GetNotificationRequest) GetBucket() string

func (*GetNotificationRequest) GetCommonRequestParams Uses

func (x *GetNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetNotificationRequest) GetNotification Uses

func (x *GetNotificationRequest) GetNotification() string

func (*GetNotificationRequest) ProtoMessage Uses

func (*GetNotificationRequest) ProtoMessage()

func (*GetNotificationRequest) ProtoReflect Uses

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

func (*GetNotificationRequest) Reset Uses

func (x *GetNotificationRequest) Reset()

func (*GetNotificationRequest) String Uses

func (x *GetNotificationRequest) String() string

type GetObjectAccessControlRequest Uses

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 Uses

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

Deprecated: Use GetObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*GetObjectAccessControlRequest) GetBucket Uses

func (x *GetObjectAccessControlRequest) GetBucket() string

func (*GetObjectAccessControlRequest) GetCommonRequestParams Uses

func (x *GetObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectAccessControlRequest) GetEntity Uses

func (x *GetObjectAccessControlRequest) GetEntity() string

func (*GetObjectAccessControlRequest) GetGeneration Uses

func (x *GetObjectAccessControlRequest) GetGeneration() int64

func (*GetObjectAccessControlRequest) GetObject Uses

func (x *GetObjectAccessControlRequest) GetObject() string

func (*GetObjectAccessControlRequest) ProtoMessage Uses

func (*GetObjectAccessControlRequest) ProtoMessage()

func (*GetObjectAccessControlRequest) ProtoReflect Uses

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

func (*GetObjectAccessControlRequest) Reset Uses

func (x *GetObjectAccessControlRequest) Reset()

func (*GetObjectAccessControlRequest) String Uses

func (x *GetObjectAccessControlRequest) String() string

type GetObjectMediaRequest Uses

type GetObjectMediaRequest struct {

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

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

Deprecated: Use GetObjectMediaRequest.ProtoReflect.Descriptor instead.

func (*GetObjectMediaRequest) GetBucket Uses

func (x *GetObjectMediaRequest) GetBucket() string

func (*GetObjectMediaRequest) GetCommonObjectRequestParams Uses

func (x *GetObjectMediaRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*GetObjectMediaRequest) GetCommonRequestParams Uses

func (x *GetObjectMediaRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectMediaRequest) GetGeneration Uses

func (x *GetObjectMediaRequest) GetGeneration() int64

func (*GetObjectMediaRequest) GetIfGenerationMatch Uses

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

func (*GetObjectMediaRequest) GetIfGenerationNotMatch Uses

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

func (*GetObjectMediaRequest) GetIfMetagenerationMatch Uses

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

func (*GetObjectMediaRequest) GetIfMetagenerationNotMatch Uses

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

func (*GetObjectMediaRequest) GetObject Uses

func (x *GetObjectMediaRequest) GetObject() string

func (*GetObjectMediaRequest) GetReadLimit Uses

func (x *GetObjectMediaRequest) GetReadLimit() int64

func (*GetObjectMediaRequest) GetReadOffset Uses

func (x *GetObjectMediaRequest) GetReadOffset() int64

func (*GetObjectMediaRequest) ProtoMessage Uses

func (*GetObjectMediaRequest) ProtoMessage()

func (*GetObjectMediaRequest) ProtoReflect Uses

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

func (*GetObjectMediaRequest) Reset Uses

func (x *GetObjectMediaRequest) Reset()

func (*GetObjectMediaRequest) String Uses

func (x *GetObjectMediaRequest) String() string

type GetObjectMediaResponse Uses

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 Uses

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

Deprecated: Use GetObjectMediaResponse.ProtoReflect.Descriptor instead.

func (*GetObjectMediaResponse) GetChecksummedData Uses

func (x *GetObjectMediaResponse) GetChecksummedData() *ChecksummedData

func (*GetObjectMediaResponse) GetContentRange Uses

func (x *GetObjectMediaResponse) GetContentRange() *ContentRange

func (*GetObjectMediaResponse) GetMetadata Uses

func (x *GetObjectMediaResponse) GetMetadata() *Object

func (*GetObjectMediaResponse) GetObjectChecksums Uses

func (x *GetObjectMediaResponse) GetObjectChecksums() *ObjectChecksums

func (*GetObjectMediaResponse) ProtoMessage Uses

func (*GetObjectMediaResponse) ProtoMessage()

func (*GetObjectMediaResponse) ProtoReflect Uses

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

func (*GetObjectMediaResponse) Reset Uses

func (x *GetObjectMediaResponse) Reset()

func (*GetObjectMediaResponse) String Uses

func (x *GetObjectMediaResponse) String() string

type GetObjectRequest Uses

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 `protobuf:"bytes,6,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"`
    // Makes the operation conditional on whether the object's current
    // metageneration does not match the given value.
    IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,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"`
    // A set of parameters common to Storage API requests concerning an object.
    CommonObjectRequestParams *CommonObjectRequestParams `protobuf:"bytes,10,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,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 GetObject.

func (*GetObjectRequest) Descriptor Uses

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

Deprecated: Use GetObjectRequest.ProtoReflect.Descriptor instead.

func (*GetObjectRequest) GetBucket Uses

func (x *GetObjectRequest) GetBucket() string

func (*GetObjectRequest) GetCommonObjectRequestParams Uses

func (x *GetObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*GetObjectRequest) GetCommonRequestParams Uses

func (x *GetObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetObjectRequest) GetGeneration Uses

func (x *GetObjectRequest) GetGeneration() int64

func (*GetObjectRequest) GetIfGenerationMatch Uses

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

func (*GetObjectRequest) GetIfGenerationNotMatch Uses

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

func (*GetObjectRequest) GetIfMetagenerationMatch Uses

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

func (*GetObjectRequest) GetIfMetagenerationNotMatch Uses

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

func (*GetObjectRequest) GetObject Uses

func (x *GetObjectRequest) GetObject() string

func (*GetObjectRequest) GetProjection Uses

func (x *GetObjectRequest) GetProjection() CommonEnums_Projection

func (*GetObjectRequest) ProtoMessage Uses

func (*GetObjectRequest) ProtoMessage()

func (*GetObjectRequest) ProtoReflect Uses

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

func (*GetObjectRequest) Reset Uses

func (x *GetObjectRequest) Reset()

func (*GetObjectRequest) String Uses

func (x *GetObjectRequest) String() string

type GetProjectServiceAccountRequest Uses

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 Uses

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

Deprecated: Use GetProjectServiceAccountRequest.ProtoReflect.Descriptor instead.

func (*GetProjectServiceAccountRequest) GetCommonRequestParams Uses

func (x *GetProjectServiceAccountRequest) GetCommonRequestParams() *CommonRequestParams

func (*GetProjectServiceAccountRequest) GetProjectId Uses

func (x *GetProjectServiceAccountRequest) GetProjectId() string

func (*GetProjectServiceAccountRequest) ProtoMessage Uses

func (*GetProjectServiceAccountRequest) ProtoMessage()

func (*GetProjectServiceAccountRequest) ProtoReflect Uses

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

func (*GetProjectServiceAccountRequest) Reset Uses

func (x *GetProjectServiceAccountRequest) Reset()

func (*GetProjectServiceAccountRequest) String Uses

func (x *GetProjectServiceAccountRequest) String() string

type HmacKeyMetadata Uses

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 Uses

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

Deprecated: Use HmacKeyMetadata.ProtoReflect.Descriptor instead.

func (*HmacKeyMetadata) GetAccessId Uses

func (x *HmacKeyMetadata) GetAccessId() string

func (*HmacKeyMetadata) GetEtag Uses

func (x *HmacKeyMetadata) GetEtag() string

func (*HmacKeyMetadata) GetId Uses

func (x *HmacKeyMetadata) GetId() string

func (*HmacKeyMetadata) GetProjectId Uses

func (x *HmacKeyMetadata) GetProjectId() string

func (*HmacKeyMetadata) GetServiceAccountEmail Uses

func (x *HmacKeyMetadata) GetServiceAccountEmail() string

func (*HmacKeyMetadata) GetState Uses

func (x *HmacKeyMetadata) GetState() string

func (*HmacKeyMetadata) GetTimeCreated Uses

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

func (*HmacKeyMetadata) GetUpdated Uses

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

func (*HmacKeyMetadata) ProtoMessage Uses

func (*HmacKeyMetadata) ProtoMessage()

func (*HmacKeyMetadata) ProtoReflect Uses

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

func (*HmacKeyMetadata) Reset Uses

func (x *HmacKeyMetadata) Reset()

func (*HmacKeyMetadata) String Uses

func (x *HmacKeyMetadata) String() string

type InsertBucketAccessControlRequest Uses

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 Uses

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

Deprecated: Use InsertBucketAccessControlRequest.ProtoReflect.Descriptor instead.

func (*InsertBucketAccessControlRequest) GetBucket Uses

func (x *InsertBucketAccessControlRequest) GetBucket() string

func (*InsertBucketAccessControlRequest) GetBucketAccessControl Uses

func (x *InsertBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl

func (*InsertBucketAccessControlRequest) GetCommonRequestParams Uses

func (x *InsertBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertBucketAccessControlRequest) ProtoMessage Uses

func (*InsertBucketAccessControlRequest) ProtoMessage()

func (*InsertBucketAccessControlRequest) ProtoReflect Uses

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

func (*InsertBucketAccessControlRequest) Reset Uses

func (x *InsertBucketAccessControlRequest) Reset()

func (*InsertBucketAccessControlRequest) String Uses

func (x *InsertBucketAccessControlRequest) String() string

type InsertBucketRequest Uses

type InsertBucketRequest struct {

    // Apply a predefined set of access controls to this bucket.
    PredefinedAcl CommonEnums_PredefinedBucketAcl `protobuf:"varint,1,opt,name=predefined_acl,json=predefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedBucketAcl" json:"predefined_acl,omitempty"`
    // Apply a predefined set of default object access controls to this bucket.
    PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `protobuf:"varint,2,opt,name=predefined_default_object_acl,json=predefinedDefaultObjectAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"predefined_default_object_acl,omitempty"`
    // 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 Uses

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

Deprecated: Use InsertBucketRequest.ProtoReflect.Descriptor instead.

func (*InsertBucketRequest) GetBucket Uses

func (x *InsertBucketRequest) GetBucket() *Bucket

func (*InsertBucketRequest) GetCommonRequestParams Uses

func (x *InsertBucketRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertBucketRequest) GetPredefinedAcl Uses

func (x *InsertBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl

func (*InsertBucketRequest) GetPredefinedDefaultObjectAcl Uses

func (x *InsertBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl

func (*InsertBucketRequest) GetProject Uses

func (x *InsertBucketRequest) GetProject() string

func (*InsertBucketRequest) GetProjection Uses

func (x *InsertBucketRequest) GetProjection() CommonEnums_Projection

func (*InsertBucketRequest) ProtoMessage Uses

func (*InsertBucketRequest) ProtoMessage()

func (*InsertBucketRequest) ProtoReflect Uses

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

func (*InsertBucketRequest) Reset Uses

func (x *InsertBucketRequest) Reset()

func (*InsertBucketRequest) String Uses

func (x *InsertBucketRequest) String() string

type InsertDefaultObjectAccessControlRequest Uses

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 Uses

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

Deprecated: Use InsertDefaultObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*InsertDefaultObjectAccessControlRequest) GetBucket Uses

func (x *InsertDefaultObjectAccessControlRequest) GetBucket() string

func (*InsertDefaultObjectAccessControlRequest) GetCommonRequestParams Uses

func (x *InsertDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertDefaultObjectAccessControlRequest) GetObjectAccessControl Uses

func (x *InsertDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*InsertDefaultObjectAccessControlRequest) ProtoMessage Uses

func (*InsertDefaultObjectAccessControlRequest) ProtoMessage()

func (*InsertDefaultObjectAccessControlRequest) ProtoReflect Uses

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

func (*InsertDefaultObjectAccessControlRequest) Reset Uses

func (x *InsertDefaultObjectAccessControlRequest) Reset()

func (*InsertDefaultObjectAccessControlRequest) String Uses

func (x *InsertDefaultObjectAccessControlRequest) String() string

type InsertNotificationRequest Uses

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 Uses

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

Deprecated: Use InsertNotificationRequest.ProtoReflect.Descriptor instead.

func (*InsertNotificationRequest) GetBucket Uses

func (x *InsertNotificationRequest) GetBucket() string

func (*InsertNotificationRequest) GetCommonRequestParams Uses

func (x *InsertNotificationRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertNotificationRequest) GetNotification Uses

func (x *InsertNotificationRequest) GetNotification() *Notification

func (*InsertNotificationRequest) ProtoMessage Uses

func (*InsertNotificationRequest) ProtoMessage()

func (*InsertNotificationRequest) ProtoReflect Uses

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

func (*InsertNotificationRequest) Reset Uses

func (x *InsertNotificationRequest) Reset()

func (*InsertNotificationRequest) String Uses

func (x *InsertNotificationRequest) String() string

type InsertObjectAccessControlRequest Uses

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 Uses

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

Deprecated: Use InsertObjectAccessControlRequest.ProtoReflect.Descriptor instead.

func (*InsertObjectAccessControlRequest) GetBucket Uses

func (x *InsertObjectAccessControlRequest) GetBucket() string

func (*InsertObjectAccessControlRequest) GetCommonRequestParams Uses

func (x *InsertObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertObjectAccessControlRequest) GetGeneration Uses

func (x *InsertObjectAccessControlRequest) GetGeneration() int64

func (*InsertObjectAccessControlRequest) GetObject Uses

func (x *InsertObjectAccessControlRequest) GetObject() string

func (*InsertObjectAccessControlRequest) GetObjectAccessControl Uses

func (x *InsertObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl

func (*InsertObjectAccessControlRequest) ProtoMessage Uses

func (*InsertObjectAccessControlRequest) ProtoMessage()

func (*InsertObjectAccessControlRequest) ProtoReflect Uses

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

func (*InsertObjectAccessControlRequest) Reset Uses

func (x *InsertObjectAccessControlRequest) Reset()

func (*InsertObjectAccessControlRequest) String Uses

func (x *InsertObjectAccessControlRequest) String() string

type InsertObjectRequest Uses

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 `protobuf:"bytes,8,opt,name=common_object_request_params,json=commonObjectRequestParams,proto3" json:"common_object_request_params,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
}

Message for writing an object.

func (*InsertObjectRequest) Descriptor Uses

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

Deprecated: Use InsertObjectRequest.ProtoReflect.Descriptor instead.

func (*InsertObjectRequest) GetChecksummedData Uses

func (x *InsertObjectRequest) GetChecksummedData() *ChecksummedData

func (*InsertObjectRequest) GetCommonObjectRequestParams Uses

func (x *InsertObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams

func (*InsertObjectRequest) GetCommonRequestParams Uses

func (x *InsertObjectRequest) GetCommonRequestParams() *CommonRequestParams

func (*InsertObjectRequest) GetData Uses

func (m *InsertObjectRequest) GetData() isInsertObjectRequest_Data

func (*InsertObjectRequest) GetFinishWrite Uses

func (x *InsertObjectRequest) GetFinishWrite() bool

func (*InsertObjectRequest) GetFirstMessage Uses

func (m *InsertObjectRequest) GetFirstMessage() isInsertObjectRequest_FirstMessage

func (*InsertObjectRequest) GetInsertObjectSpec Uses

func (x *InsertObjectRequest) GetInsertObjectSpec() *InsertObjectSpec

func (*InsertObjectRequest) GetObjectChecksums Uses

func (x *InsertObjectRequest) GetObjectChecksums() *ObjectChecksums

func (*InsertObjectRequest) GetReference Uses

func (x *InsertObjectRequest) GetReference() *GetObjectMediaRequest

func (*InsertObjectRequest) GetUploadId Uses

func (x *InsertObjectRequest) GetUploadId() string

func (*InsertObjectRequest) GetWriteOffset Uses

func (x *InsertObjectRequest) GetWriteOffset() int64

func (*InsertObjectRequest) ProtoMessage Uses

func (*InsertObjectRequest) ProtoMessage()

func (*InsertObjectRequest) ProtoReflect Uses

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

func (*InsertObjectRequest) Reset Uses

func (x *InsertObjectRequest) Reset()

func (*InsertObjectRequest) String Uses

func (x *InsertObjectRequest) String() string

type InsertObjectRequest_ChecksummedData Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 `protobuf:"varint,2,opt,name=predefined_acl,json=predefinedAcl,proto3,enum=google.storage.v1.CommonEnums_PredefinedObjectAcl" json:"predefined_acl,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,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 `protobuf:"bytes,5,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"`
    // Makes the operation conditional on whether the object's current
    // metageneration does not match the given value.
    IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,omitempty"`
    // 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 Uses

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

Deprecated: Use InsertObjectSpec.ProtoReflect.Descriptor instead.

func (*InsertObjectSpec) GetIfGenerationMatch Uses

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

func (*InsertObjectSpec) GetIfGenerationNotMatch Uses

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

func (*InsertObjectSpec) GetIfMetagenerationMatch Uses

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

func (*InsertObjectSpec) GetIfMetagenerationNotMatch Uses

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

func (*InsertObjectSpec) GetPredefinedAcl Uses

func (x *InsertObjectSpec) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl

func (*InsertObjectSpec) GetProjection Uses

func (x *InsertObjectSpec) GetProjection() CommonEnums_Projection

func (*InsertObjectSpec) GetResource Uses

func (x *InsertObjectSpec) GetResource() *Object

func (*InsertObjectSpec) ProtoMessage Uses

func (*InsertObjectSpec) ProtoMessage()

func (*InsertObjectSpec) ProtoReflect Uses

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

func (*InsertObjectSpec) Reset Uses

func (x *InsertObjectSpec) Reset()

func (*InsertObjectSpec) String Uses

func (x *InsertObjectSpec) String() string

type ListBucketAccessControlsRequest Uses

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 Uses

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

Deprecated: Use ListBucketAccessControlsRequest.ProtoReflect.Descriptor instead.

func (*ListBucketAccessControlsRequest) GetBucket Uses

func (x *ListBucketAccessControlsRequest) GetBucket() string

func (*ListBucketAccessControlsRequest) GetCommonRequestParams Uses

func (x *ListBucketAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListBucketAccessControlsRequest) ProtoMessage Uses

func (*ListBucketAccessControlsRequest) ProtoMessage()

func (*ListBucketAccessControlsRequest) ProtoReflect Uses

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

func (*ListBucketAccessControlsRequest) Reset Uses

func (x *ListBucketAccessControlsRequest) Reset()

func (*ListBucketAccessControlsRequest) String Uses

func (x *ListBucketAccessControlsRequest) String() string

type ListBucketAccessControlsResponse Uses

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 Uses

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

Deprecated: Use ListBucketAccessControlsResponse.ProtoReflect.Descriptor instead.

func (*ListBucketAccessControlsResponse) GetItems Uses

func (x *ListBucketAccessControlsResponse) GetItems() []*BucketAccessControl

func (*ListBucketAccessControlsResponse) ProtoMessage Uses

func (*ListBucketAccessControlsResponse) ProtoMessage()

func (*ListBucketAccessControlsResponse) ProtoReflect Uses

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

func (*ListBucketAccessControlsResponse) Reset Uses

func (x *ListBucketAccessControlsResponse) Reset()

func (*ListBucketAccessControlsResponse) String Uses

func (x *ListBucketAccessControlsResponse) String() string

type ListBucketsRequest Uses

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 Uses

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

Deprecated: Use ListBucketsRequest.ProtoReflect.Descriptor instead.

func (*ListBucketsRequest) GetCommonRequestParams Uses

func (x *ListBucketsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListBucketsRequest) GetMaxResults Uses

func (x *ListBucketsRequest) GetMaxResults() int32

func (*ListBucketsRequest) GetPageToken Uses

func (x *ListBucketsRequest) GetPageToken() string

func (*ListBucketsRequest) GetPrefix Uses

func (x *ListBucketsRequest) GetPrefix() string

func (*ListBucketsRequest) GetProject Uses

func (x *ListBucketsRequest) GetProject() string

func (*ListBucketsRequest) GetProjection Uses

func (x *ListBucketsRequest) GetProjection() CommonEnums_Projection

func (*ListBucketsRequest) ProtoMessage Uses

func (*ListBucketsRequest) ProtoMessage()

func (*ListBucketsRequest) ProtoReflect Uses

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

func (*ListBucketsRequest) Reset Uses

func (x *ListBucketsRequest) Reset()

func (*ListBucketsRequest) String Uses

func (x *ListBucketsRequest) String() string

type ListBucketsResponse Uses

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 Uses

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

Deprecated: Use ListBucketsResponse.ProtoReflect.Descriptor instead.

func (*ListBucketsResponse) GetItems Uses

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

func (*ListBucketsResponse) GetNextPageToken Uses

func (x *ListBucketsResponse) GetNextPageToken() string

func (*ListBucketsResponse) ProtoMessage Uses

func (*ListBucketsResponse) ProtoMessage()

func (*ListBucketsResponse) ProtoReflect Uses

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

func (*ListBucketsResponse) Reset Uses

func (x *ListBucketsResponse) Reset()

func (*ListBucketsResponse) String Uses

func (x *ListBucketsResponse) String() string

type ListChannelsRequest Uses

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 Uses

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

Deprecated: Use ListChannelsRequest.ProtoReflect.Descriptor instead.

func (*ListChannelsRequest) GetBucket Uses

func (x *ListChannelsRequest) GetBucket() string

func (*ListChannelsRequest) GetCommonRequestParams Uses

func (x *ListChannelsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListChannelsRequest) ProtoMessage Uses

func (*ListChannelsRequest) ProtoMessage()

func (*ListChannelsRequest) ProtoReflect Uses

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

func (*ListChannelsRequest) Reset Uses

func (x *ListChannelsRequest) Reset()

func (*ListChannelsRequest) String Uses

func (x *ListChannelsRequest) String() string

type ListChannelsResponse Uses

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 Uses

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

Deprecated: Use ListChannelsResponse.ProtoReflect.Descriptor instead.

func (*ListChannelsResponse) GetItems Uses

func (x *ListChannelsResponse) GetItems() []*ListChannelsResponse_Items

func (*ListChannelsResponse) ProtoMessage Uses

func (*ListChannelsResponse) ProtoMessage()

func (*ListChannelsResponse) ProtoReflect Uses

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

func (*ListChannelsResponse) Reset Uses

func (x *ListChannelsResponse) Reset()

func (*ListChannelsResponse) String Uses

func (x *ListChannelsResponse) String() string

type ListChannelsResponse_Items Uses

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 Uses

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

Deprecated: Use ListChannelsResponse_Items.ProtoReflect.Descriptor instead.

func (*ListChannelsResponse_Items) GetChannelId Uses

func (x *ListChannelsResponse_Items) GetChannelId() string

func (*ListChannelsResponse_Items) GetCreationTime Uses

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

func (*ListChannelsResponse_Items) GetPushUrl Uses

func (x *ListChannelsResponse_Items) GetPushUrl() string

func (*ListChannelsResponse_Items) GetResourceId Uses

func (x *ListChannelsResponse_Items) GetResourceId() string

func (*ListChannelsResponse_Items) GetSubscriberEmail Uses

func (x *ListChannelsResponse_Items) GetSubscriberEmail() string

func (*ListChannelsResponse_Items) ProtoMessage Uses

func (*ListChannelsResponse_Items) ProtoMessage()

func (*ListChannelsResponse_Items) ProtoReflect Uses

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

func (*ListChannelsResponse_Items) Reset Uses

func (x *ListChannelsResponse_Items) Reset()

func (*ListChannelsResponse_Items) String Uses

func (x *ListChannelsResponse_Items) String() string

type ListDefaultObjectAccessControlsRequest Uses

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 `protobuf:"bytes,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,omitempty"`
    // If present, only return default ACL listing if the bucket's current
    // metageneration does not match the given value.
    IfMetagenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3" json:"if_metageneration_not_match,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 ListDefaultObjectAccessControls.

func (*ListDefaultObjectAccessControlsRequest) Descriptor Uses

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

Deprecated: Use ListDefaultObjectAccessControlsRequest.ProtoReflect.Descriptor instead.

func (*ListDefaultObjectAccessControlsRequest) GetBucket Uses

func (x *ListDefaultObjectAccessControlsRequest) GetBucket() string

func (*ListDefaultObjectAccessControlsRequest) GetCommonRequestParams Uses

func (x *ListDefaultObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch Uses

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

func (*ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch Uses

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

func (*ListDefaultObjectAccessControlsRequest) ProtoMessage Uses

func (*ListDefaultObjectAccessControlsRequest) ProtoMessage()

func (*ListDefaultObjectAccessControlsRequest) ProtoReflect Uses

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

func (*ListDefaultObjectAccessControlsRequest) Reset Uses

func (x *ListDefaultObjectAccessControlsRequest) Reset()

func (*ListDefaultObjectAccessControlsRequest) String Uses

func (x *ListDefaultObjectAccessControlsRequest) String() string

type ListHmacKeysRequest Uses

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 Uses

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

Deprecated: Use ListHmacKeysRequest.ProtoReflect.Descriptor instead.

func (*ListHmacKeysRequest) GetCommonRequestParams Uses

func (x *ListHmacKeysRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListHmacKeysRequest) GetMaxResults Uses

func (x *ListHmacKeysRequest) GetMaxResults() int32

func (*ListHmacKeysRequest) GetPageToken Uses

func (x *ListHmacKeysRequest) GetPageToken() string

func (*ListHmacKeysRequest) GetProjectId Uses

func (x *ListHmacKeysRequest) GetProjectId() string

func (*ListHmacKeysRequest) GetServiceAccountEmail Uses

func (x *ListHmacKeysRequest) GetServiceAccountEmail() string

func (*ListHmacKeysRequest) GetShowDeletedKeys Uses

func (x *ListHmacKeysRequest) GetShowDeletedKeys() bool

func (*ListHmacKeysRequest) ProtoMessage Uses

func (*ListHmacKeysRequest) ProtoMessage()

func (*ListHmacKeysRequest) ProtoReflect Uses

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

func (*ListHmacKeysRequest) Reset Uses

func (x *ListHmacKeysRequest) Reset()

func (*ListHmacKeysRequest) String Uses

func (x *ListHmacKeysRequest) String() string

type ListHmacKeysResponse Uses

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 Uses

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

Deprecated: Use ListHmacKeysResponse.ProtoReflect.Descriptor instead.

func (*ListHmacKeysResponse) GetItems Uses

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

func (*ListHmacKeysResponse) GetNextPageToken Uses

func (x *ListHmacKeysResponse) GetNextPageToken() string

func (*ListHmacKeysResponse) ProtoMessage Uses

func (*ListHmacKeysResponse) ProtoMessage()

func (*ListHmacKeysResponse) ProtoReflect Uses

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

func (*ListHmacKeysResponse) Reset Uses

func (x *ListHmacKeysResponse) Reset()

func (*ListHmacKeysResponse) String Uses

func (x *ListHmacKeysResponse) String() string

type ListNotificationsRequest Uses

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 Uses

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

Deprecated: Use ListNotificationsRequest.ProtoReflect.Descriptor instead.

func (*ListNotificationsRequest) GetBucket Uses

func (x *ListNotificationsRequest) GetBucket() string

func (*ListNotificationsRequest) GetCommonRequestParams Uses

func (x *ListNotificationsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListNotificationsRequest) ProtoMessage Uses

func (*ListNotificationsRequest) ProtoMessage()

func (*ListNotificationsRequest) ProtoReflect Uses

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

func (*ListNotificationsRequest) Reset Uses

func (x *ListNotificationsRequest) Reset()

func (*ListNotificationsRequest) String Uses

func (x *ListNotificationsRequest) String() string

type ListNotificationsResponse Uses

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 Uses

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

Deprecated: Use ListNotificationsResponse.ProtoReflect.Descriptor instead.

func (*ListNotificationsResponse) GetItems Uses

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

func (*ListNotificationsResponse) ProtoMessage Uses

func (*ListNotificationsResponse) ProtoMessage()

func (*ListNotificationsResponse) ProtoReflect Uses

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

func (*ListNotificationsResponse) Reset Uses

func (x *ListNotificationsResponse) Reset()

func (*ListNotificationsResponse) String Uses

func (x *ListNotificationsResponse) String() string

type ListObjectAccessControlsRequest Uses

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 Uses

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

Deprecated: Use ListObjectAccessControlsRequest.ProtoReflect.Descriptor instead.

func (*ListObjectAccessControlsRequest) GetBucket Uses

func (x *ListObjectAccessControlsRequest) GetBucket() string

func (*ListObjectAccessControlsRequest) GetCommonRequestParams Uses

func (x *ListObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListObjectAccessControlsRequest) GetGeneration Uses

func (x *ListObjectAccessControlsRequest) GetGeneration() int64

func (*ListObjectAccessControlsRequest) GetObject Uses

func (x *ListObjectAccessControlsRequest) GetObject() string

func (*ListObjectAccessControlsRequest) ProtoMessage Uses

func (*ListObjectAccessControlsRequest) ProtoMessage()

func (*ListObjectAccessControlsRequest) ProtoReflect Uses

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

func (*ListObjectAccessControlsRequest) Reset Uses

func (x *ListObjectAccessControlsRequest) Reset()

func (*ListObjectAccessControlsRequest) String Uses

func (x *ListObjectAccessControlsRequest) String() string

type ListObjectAccessControlsResponse Uses

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 Uses

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

Deprecated: Use ListObjectAccessControlsResponse.ProtoReflect.Descriptor instead.

func (*ListObjectAccessControlsResponse) GetItems Uses

func (x *ListObjectAccessControlsResponse) GetItems() []*ObjectAccessControl

func (*ListObjectAccessControlsResponse) ProtoMessage Uses

func (*ListObjectAccessControlsResponse) ProtoMessage()

func (*ListObjectAccessControlsResponse) ProtoReflect Uses

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

func (*ListObjectAccessControlsResponse) Reset Uses

func (x *ListObjectAccessControlsResponse) Reset()

func (*ListObjectAccessControlsResponse) String Uses

func (x *ListObjectAccessControlsResponse) String() string

type ListObjectsRequest Uses

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 `protobuf:"varint,3,opt,name=include_trailing_delimiter,json=includeTrailingDelimiter,proto3" json:"include_trailing_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"`
    // A previously-returned page token representing part of the larger set of
    // results to view.
    PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
    // Filter results to objects whose names begin with this prefix.
    Prefix string `protobuf:"bytes,6,opt,name=prefix,proto3" json:"prefix,omitempty"`
    // Set of properties to return. Defaults to `NO_ACL`.
    Projection CommonEnums_Projection `protobuf:"varint,7,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"`
    // If `true`, lists all versions of an object as distinct results.
    // The default is `false`. For more information, see
    // [Object
    // Versioning](https://cloud.google.com/storage/docs/object-versioning).
    Versions bool `protobuf:"varint,9,opt,name=versions,proto3" json:"versions,omitempty"`
    // A set of parameters common to all Storage API requests.
    CommonRequestParams *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"`
    // contains filtered or unexported fields
}

Request message for ListObjects.

func (*ListObjectsRequest) Descriptor Uses

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

Deprecated: Use ListObjectsRequest.ProtoReflect.Descriptor instead.

func (*ListObjectsRequest) GetBucket Uses

func (x *ListObjectsRequest) GetBucket() string

func (*ListObjectsRequest) GetCommonRequestParams Uses

func (x *ListObjectsRequest) GetCommonRequestParams() *CommonRequestParams

func (*ListObjectsRequest) GetDelimiter Uses

func (x *ListObjectsRequest) GetDelimiter() string

func (*ListObjectsRequest) GetIncludeTrailingDelimiter Uses

func (x *ListObjectsRequest) GetIncludeTrailingDelimiter() bool

func (*ListObjectsRequest) GetMaxResults Uses

func (x *ListObjectsRequest) GetMaxResults() int32

func (*ListObjectsRequest) GetPageToken Uses

func (x *ListObjectsRequest) GetPageToken() string

func (*ListObjectsRequest) GetPrefix Uses

func (x *ListObjectsRequest) GetPrefix() string

func (*ListObjectsRequest) GetProjection Uses

func (x *ListObjectsRequest) GetProjection() CommonEnums_Projection

func (*ListObjectsRequest) GetVersions Uses

func (x *ListObjectsRequest) GetVersions() bool

func (*ListObjectsRequest) ProtoMessage Uses

func (*ListObjectsRequest) ProtoMessage()

func (*ListObjectsRequest) ProtoReflect Uses

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

func (*ListObjectsRequest) Reset Uses

func (x *ListObjectsRequest) Reset()

func (*ListObjectsRequest) String Uses

func (x *ListObjectsRequest) String() string

type ListObjectsResponse Uses

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 Uses

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

Deprecated: Use ListObjectsResponse.ProtoReflect.Descriptor instead.

func (*ListObjectsResponse) GetItems Uses

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

func (*ListObjectsResponse) GetNextPageToken Uses

func (x *ListObjectsResponse) GetNextPageToken() string

func (*ListObjectsResponse) GetPrefixes Uses

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

func (*ListObjectsResponse) ProtoMessage Uses

func (*ListObjectsResponse) ProtoMessage()

func (*ListObjectsResponse) ProtoReflect Uses

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

func (*ListObjectsResponse) Reset Uses

func (x *ListObjectsResponse) Reset()

func (*ListObjectsResponse) String Uses

func (x *ListObjectsResponse) String() string

type LockRetentionPolicyRequest Uses

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 `protobuf:"varint,2,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3" json:"if_metageneration_match,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 LockRetentionPolicy.

func (*LockRetentionPolicyRequest) Descriptor Uses

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

Deprecated: Use LockRetentionPolicyRequest.ProtoReflect.Descriptor instead.

func (*LockRetentionPolicyRequest) GetBucket Uses

func (x *LockRetentionPolicyRequest) GetBucket() string

func (*LockRetentionPolicyRequest) GetCommonRequestParams Uses

func (x *LockRetentionPolicyRequest) GetCommonRequestParams() *CommonRequestParams

func (*LockRetentionPolicyRequest) GetIfMetagenerationMatch Uses

func (x *LockRetentionPolicyRequest) GetIfMetagenerationMatch() int64

func (*LockRetentionPolicyRequest) ProtoMessage Uses

func (*LockRetentionPolicyRequest) ProtoMessage()

func (*LockRetentionPolicyRequest) ProtoReflect Uses

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

func (*LockRetentionPolicyRequest) Reset Uses

func (x *LockRetentionPolicyRequest) Reset()

func (*LockRetentionPolicyRequest) String Uses

func (x *LockRetentionPolicyRequest) String() string

type Notification Uses

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 `protobuf:"bytes,3,rep,name=custom_attributes,json=customAttributes,proto3" json:"custom_attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // 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 Uses

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

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetCustomAttributes Uses

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

func (*Notification) GetEtag Uses

func (x *Notification) GetEtag() string

func (*Notification) GetEventTypes Uses

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

func (*Notification) GetId Uses

func (x *Notification) GetId() string

func (*Notification) GetObjectNamePrefix Uses

func (x *Notification) GetObjectNamePrefix() string

func (*Notification) GetPayloadFormat Uses

func (x *Notification) GetPayloadFormat() string

func (*Notification) GetTopic Uses

func (x *Notification) GetTopic() string

func (*Notification) ProtoMessage Uses

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect Uses

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

func (*Notification) Reset Uses

func (x *Notification) Reset()

func (*Notification) String Uses

func (x *Notification) String() string

type Object Uses

type Object struct {

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

An object.

func (*Object) Descriptor Uses

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

Deprecated: Use Object.ProtoReflect.Descriptor instead.

func (*Object) GetAcl Uses

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

func (*Object) GetBucket Uses

func (x *Object) GetBucket() string

func (*Object) GetCacheControl Uses

func (x *Object) GetCacheControl() string

func (*Object) GetComponentCount Uses

func (x *Object) GetComponentCount() int32

func (*Object) GetContentDisposition Uses

func (x *Object) GetContentDisposition() string

func (*Object) GetContentEncoding Uses

func (x *Object) GetContentEncoding() string

func (*Object) GetContentLanguage Uses

func (x *Object) GetContentLanguage() string

func (*Object) GetContentType Uses

func (x *Object) GetContentType() string

func (*Object) GetCrc32C Uses

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

func (*Object) GetCustomerEncryption Uses

func (x *Object) GetCustomerEncryption() *Object_CustomerEncryption

func (*Object) GetEtag Uses

func (x *Object) GetEtag() string

func (*Object) GetEventBasedHold Uses

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

func (*Object) GetGeneration Uses

func (x *Object) GetGeneration() int64

func (*Object) GetId Uses

func (x *Object) GetId() string

func (*Object) GetKmsKeyName Uses

func (x *Object) GetKmsKeyName() string

func (*Object) GetMd5Hash Uses

func (x *Object) GetMd5Hash() string

func (*Object) GetMetadata Uses

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

func (*Object) GetMetageneration Uses

func (x *Object) GetMetageneration() int64

func (*Object) GetName Uses

func (x *Object) GetName() string

func (*Object) GetOwner Uses

func (x *Object) GetOwner() *Owner

func (*Object) GetRetentionExpirationTime Uses

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

func (*Object) GetSize Uses

func (x *Object) GetSize() int64

func (*Object) GetStorageClass Uses

func (x *Object) GetStorageClass() string

func (*Object) GetTemporaryHold Uses

func (x *Object) GetTemporaryHold() bool

func (*Object) GetTimeCreated Uses

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

func (*Object) GetTimeDeleted Uses

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

func (*Object) GetTimeStorageClassUpdated Uses

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

func (*Object) GetUpdated Uses

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

func (*Object) ProtoMessage Uses

func (*Object) ProtoMessage()

func (*Object) ProtoReflect Uses

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

func (*Object) Reset Uses

func (x *Object) Reset()

func (*Object) String Uses

func (x *Object) String() string

type ObjectAccessControl Uses

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