Documentation ¶
Index ¶
- Variables
- func RegisterStorageServer(s *grpc.Server, srv StorageServer)
- type Bucket
- func (*Bucket) Descriptor() ([]byte, []int)
- func (m *Bucket) GetAcl() []*BucketAccessControl
- func (m *Bucket) GetBilling() *Bucket_Billing
- func (m *Bucket) GetCors() []*Bucket_Cors
- func (m *Bucket) GetDefaultEventBasedHold() bool
- func (m *Bucket) GetDefaultObjectAcl() []*ObjectAccessControl
- func (m *Bucket) GetEncryption() *Bucket_Encryption
- func (m *Bucket) GetEtag() string
- func (m *Bucket) GetId() string
- func (m *Bucket) GetLabels() map[string]string
- func (m *Bucket) GetLifecycle() *Bucket_Lifecycle
- func (m *Bucket) GetLocation() string
- func (m *Bucket) GetLogging() *Bucket_Logging
- func (m *Bucket) GetMetageneration() int64
- func (m *Bucket) GetName() string
- func (m *Bucket) GetOwner() *Owner
- func (m *Bucket) GetProjectNumber() int64
- func (m *Bucket) GetRetentionPolicy() *Bucket_RetentionPolicy
- func (m *Bucket) GetStorageClass() string
- func (m *Bucket) GetTimeCreated() *timestamp.Timestamp
- func (m *Bucket) GetUpdated() *timestamp.Timestamp
- func (m *Bucket) GetVersioning() *Bucket_Versioning
- func (m *Bucket) GetWebsite() *Bucket_Website
- func (*Bucket) ProtoMessage()
- func (m *Bucket) Reset()
- func (m *Bucket) String() string
- func (m *Bucket) XXX_DiscardUnknown()
- func (m *Bucket) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket) XXX_Merge(src proto.Message)
- func (m *Bucket) XXX_Size() int
- func (m *Bucket) XXX_Unmarshal(b []byte) error
- type BucketAccessControl
- func (*BucketAccessControl) Descriptor() ([]byte, []int)
- func (m *BucketAccessControl) GetBucket() string
- func (m *BucketAccessControl) GetDomain() string
- func (m *BucketAccessControl) GetEmail() string
- func (m *BucketAccessControl) GetEntity() string
- func (m *BucketAccessControl) GetEntityId() string
- func (m *BucketAccessControl) GetEtag() string
- func (m *BucketAccessControl) GetId() string
- func (m *BucketAccessControl) GetProjectTeam() *ProjectTeam
- func (m *BucketAccessControl) GetRole() string
- func (*BucketAccessControl) ProtoMessage()
- func (m *BucketAccessControl) Reset()
- func (m *BucketAccessControl) String() string
- func (m *BucketAccessControl) XXX_DiscardUnknown()
- func (m *BucketAccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BucketAccessControl) XXX_Merge(src proto.Message)
- func (m *BucketAccessControl) XXX_Size() int
- func (m *BucketAccessControl) XXX_Unmarshal(b []byte) error
- type Bucket_Billing
- func (*Bucket_Billing) Descriptor() ([]byte, []int)
- func (m *Bucket_Billing) GetRequesterPays() bool
- func (*Bucket_Billing) ProtoMessage()
- func (m *Bucket_Billing) Reset()
- func (m *Bucket_Billing) String() string
- func (m *Bucket_Billing) XXX_DiscardUnknown()
- func (m *Bucket_Billing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Billing) XXX_Merge(src proto.Message)
- func (m *Bucket_Billing) XXX_Size() int
- func (m *Bucket_Billing) XXX_Unmarshal(b []byte) error
- type Bucket_Cors
- func (*Bucket_Cors) Descriptor() ([]byte, []int)
- func (m *Bucket_Cors) GetMaxAgeSeconds() int32
- func (m *Bucket_Cors) GetMethod() []string
- func (m *Bucket_Cors) GetOrigin() []string
- func (m *Bucket_Cors) GetResponseHeader() []string
- func (*Bucket_Cors) ProtoMessage()
- func (m *Bucket_Cors) Reset()
- func (m *Bucket_Cors) String() string
- func (m *Bucket_Cors) XXX_DiscardUnknown()
- func (m *Bucket_Cors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Cors) XXX_Merge(src proto.Message)
- func (m *Bucket_Cors) XXX_Size() int
- func (m *Bucket_Cors) XXX_Unmarshal(b []byte) error
- type Bucket_Encryption
- func (*Bucket_Encryption) Descriptor() ([]byte, []int)
- func (m *Bucket_Encryption) GetDefaultKmsKeyName() string
- func (*Bucket_Encryption) ProtoMessage()
- func (m *Bucket_Encryption) Reset()
- func (m *Bucket_Encryption) String() string
- func (m *Bucket_Encryption) XXX_DiscardUnknown()
- func (m *Bucket_Encryption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Encryption) XXX_Merge(src proto.Message)
- func (m *Bucket_Encryption) XXX_Size() int
- func (m *Bucket_Encryption) XXX_Unmarshal(b []byte) error
- type Bucket_Lifecycle
- func (*Bucket_Lifecycle) Descriptor() ([]byte, []int)
- func (m *Bucket_Lifecycle) GetRule() []*Bucket_Lifecycle_Rule
- func (*Bucket_Lifecycle) ProtoMessage()
- func (m *Bucket_Lifecycle) Reset()
- func (m *Bucket_Lifecycle) String() string
- func (m *Bucket_Lifecycle) XXX_DiscardUnknown()
- func (m *Bucket_Lifecycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Lifecycle) XXX_Merge(src proto.Message)
- func (m *Bucket_Lifecycle) XXX_Size() int
- func (m *Bucket_Lifecycle) XXX_Unmarshal(b []byte) error
- type Bucket_Lifecycle_Rule
- func (*Bucket_Lifecycle_Rule) Descriptor() ([]byte, []int)
- func (m *Bucket_Lifecycle_Rule) GetAction() *Bucket_Lifecycle_Rule_Action
- func (m *Bucket_Lifecycle_Rule) GetCondition() *Bucket_Lifecycle_Rule_Condition
- func (*Bucket_Lifecycle_Rule) ProtoMessage()
- func (m *Bucket_Lifecycle_Rule) Reset()
- func (m *Bucket_Lifecycle_Rule) String() string
- func (m *Bucket_Lifecycle_Rule) XXX_DiscardUnknown()
- func (m *Bucket_Lifecycle_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Lifecycle_Rule) XXX_Merge(src proto.Message)
- func (m *Bucket_Lifecycle_Rule) XXX_Size() int
- func (m *Bucket_Lifecycle_Rule) XXX_Unmarshal(b []byte) error
- type Bucket_Lifecycle_Rule_Action
- func (*Bucket_Lifecycle_Rule_Action) Descriptor() ([]byte, []int)
- func (m *Bucket_Lifecycle_Rule_Action) GetStorageClass() string
- func (m *Bucket_Lifecycle_Rule_Action) GetType() string
- func (*Bucket_Lifecycle_Rule_Action) ProtoMessage()
- func (m *Bucket_Lifecycle_Rule_Action) Reset()
- func (m *Bucket_Lifecycle_Rule_Action) String() string
- func (m *Bucket_Lifecycle_Rule_Action) XXX_DiscardUnknown()
- func (m *Bucket_Lifecycle_Rule_Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Lifecycle_Rule_Action) XXX_Merge(src proto.Message)
- func (m *Bucket_Lifecycle_Rule_Action) XXX_Size() int
- func (m *Bucket_Lifecycle_Rule_Action) XXX_Unmarshal(b []byte) error
- type Bucket_Lifecycle_Rule_Condition
- func (*Bucket_Lifecycle_Rule_Condition) Descriptor() ([]byte, []int)
- func (m *Bucket_Lifecycle_Rule_Condition) GetAge() int32
- func (m *Bucket_Lifecycle_Rule_Condition) GetCreatedBefore() *timestamp.Timestamp
- func (m *Bucket_Lifecycle_Rule_Condition) GetIsLive() *wrappers.BoolValue
- func (m *Bucket_Lifecycle_Rule_Condition) GetMatchesPattern() string
- func (m *Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass() []string
- func (m *Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions() int32
- func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage()
- func (m *Bucket_Lifecycle_Rule_Condition) Reset()
- func (m *Bucket_Lifecycle_Rule_Condition) String() string
- func (m *Bucket_Lifecycle_Rule_Condition) XXX_DiscardUnknown()
- func (m *Bucket_Lifecycle_Rule_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Lifecycle_Rule_Condition) XXX_Merge(src proto.Message)
- func (m *Bucket_Lifecycle_Rule_Condition) XXX_Size() int
- func (m *Bucket_Lifecycle_Rule_Condition) XXX_Unmarshal(b []byte) error
- type Bucket_Logging
- func (*Bucket_Logging) Descriptor() ([]byte, []int)
- func (m *Bucket_Logging) GetLogBucket() string
- func (m *Bucket_Logging) GetLogObjectPrefix() string
- func (*Bucket_Logging) ProtoMessage()
- func (m *Bucket_Logging) Reset()
- func (m *Bucket_Logging) String() string
- func (m *Bucket_Logging) XXX_DiscardUnknown()
- func (m *Bucket_Logging) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Logging) XXX_Merge(src proto.Message)
- func (m *Bucket_Logging) XXX_Size() int
- func (m *Bucket_Logging) XXX_Unmarshal(b []byte) error
- type Bucket_RetentionPolicy
- func (*Bucket_RetentionPolicy) Descriptor() ([]byte, []int)
- func (m *Bucket_RetentionPolicy) GetEffectiveTime() *timestamp.Timestamp
- func (m *Bucket_RetentionPolicy) GetIsLocked() bool
- func (m *Bucket_RetentionPolicy) GetRetentionPeriod() int64
- func (*Bucket_RetentionPolicy) ProtoMessage()
- func (m *Bucket_RetentionPolicy) Reset()
- func (m *Bucket_RetentionPolicy) String() string
- func (m *Bucket_RetentionPolicy) XXX_DiscardUnknown()
- func (m *Bucket_RetentionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_RetentionPolicy) XXX_Merge(src proto.Message)
- func (m *Bucket_RetentionPolicy) XXX_Size() int
- func (m *Bucket_RetentionPolicy) XXX_Unmarshal(b []byte) error
- type Bucket_Versioning
- func (*Bucket_Versioning) Descriptor() ([]byte, []int)
- func (m *Bucket_Versioning) GetEnabled() bool
- func (*Bucket_Versioning) ProtoMessage()
- func (m *Bucket_Versioning) Reset()
- func (m *Bucket_Versioning) String() string
- func (m *Bucket_Versioning) XXX_DiscardUnknown()
- func (m *Bucket_Versioning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Versioning) XXX_Merge(src proto.Message)
- func (m *Bucket_Versioning) XXX_Size() int
- func (m *Bucket_Versioning) XXX_Unmarshal(b []byte) error
- type Bucket_Website
- func (*Bucket_Website) Descriptor() ([]byte, []int)
- func (m *Bucket_Website) GetMainPageSuffix() string
- func (m *Bucket_Website) GetNotFoundPage() string
- func (*Bucket_Website) ProtoMessage()
- func (m *Bucket_Website) Reset()
- func (m *Bucket_Website) String() string
- func (m *Bucket_Website) XXX_DiscardUnknown()
- func (m *Bucket_Website) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bucket_Website) XXX_Merge(src proto.Message)
- func (m *Bucket_Website) XXX_Size() int
- func (m *Bucket_Website) XXX_Unmarshal(b []byte) error
- type Channel
- func (*Channel) Descriptor() ([]byte, []int)
- func (m *Channel) GetAddress() string
- func (m *Channel) GetExpiration() *timestamp.Timestamp
- func (m *Channel) GetId() string
- func (m *Channel) GetParams() map[string]string
- func (m *Channel) GetPayload() bool
- func (m *Channel) GetResourceId() string
- func (m *Channel) GetResourceUri() string
- func (m *Channel) GetToken() string
- func (m *Channel) GetType() string
- func (*Channel) ProtoMessage()
- func (m *Channel) Reset()
- func (m *Channel) String() string
- func (m *Channel) XXX_DiscardUnknown()
- func (m *Channel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Channel) XXX_Merge(src proto.Message)
- func (m *Channel) XXX_Size() int
- func (m *Channel) XXX_Unmarshal(b []byte) error
- type ChecksummedData
- func (*ChecksummedData) Descriptor() ([]byte, []int)
- func (m *ChecksummedData) GetContent() []byte
- func (m *ChecksummedData) GetCrc32C() *wrappers.UInt32Value
- func (*ChecksummedData) ProtoMessage()
- func (m *ChecksummedData) Reset()
- func (m *ChecksummedData) String() string
- func (m *ChecksummedData) XXX_DiscardUnknown()
- func (m *ChecksummedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChecksummedData) XXX_Merge(src proto.Message)
- func (m *ChecksummedData) XXX_Size() int
- func (m *ChecksummedData) XXX_Unmarshal(b []byte) error
- type CommonEnums
- func (*CommonEnums) Descriptor() ([]byte, []int)
- func (*CommonEnums) ProtoMessage()
- func (m *CommonEnums) Reset()
- func (m *CommonEnums) String() string
- func (m *CommonEnums) XXX_DiscardUnknown()
- func (m *CommonEnums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonEnums) XXX_Merge(src proto.Message)
- func (m *CommonEnums) XXX_Size() int
- func (m *CommonEnums) XXX_Unmarshal(b []byte) error
- type CommonEnums_PredefinedBucketAcl
- type CommonEnums_PredefinedObjectAcl
- type CommonEnums_Projection
- type CommonObjectRequestParams
- func (*CommonObjectRequestParams) Descriptor() ([]byte, []int)
- func (m *CommonObjectRequestParams) GetEncryptionAlgorithm() string
- func (m *CommonObjectRequestParams) GetEncryptionKey() string
- func (m *CommonObjectRequestParams) GetEncryptionKeySha256() string
- func (*CommonObjectRequestParams) ProtoMessage()
- func (m *CommonObjectRequestParams) Reset()
- func (m *CommonObjectRequestParams) String() string
- func (m *CommonObjectRequestParams) XXX_DiscardUnknown()
- func (m *CommonObjectRequestParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonObjectRequestParams) XXX_Merge(src proto.Message)
- func (m *CommonObjectRequestParams) XXX_Size() int
- func (m *CommonObjectRequestParams) XXX_Unmarshal(b []byte) error
- type CommonRequestParams
- func (*CommonRequestParams) Descriptor() ([]byte, []int)
- func (m *CommonRequestParams) GetFields() *field_mask.FieldMask
- func (m *CommonRequestParams) GetQuotaUser() string
- func (m *CommonRequestParams) GetUserIp() string
- func (m *CommonRequestParams) GetUserProject() string
- func (*CommonRequestParams) ProtoMessage()
- func (m *CommonRequestParams) Reset()
- func (m *CommonRequestParams) String() string
- func (m *CommonRequestParams) XXX_DiscardUnknown()
- func (m *CommonRequestParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CommonRequestParams) XXX_Merge(src proto.Message)
- func (m *CommonRequestParams) XXX_Size() int
- func (m *CommonRequestParams) XXX_Unmarshal(b []byte) error
- type ComposeObjectRequest
- func (*ComposeObjectRequest) Descriptor() ([]byte, []int)
- func (m *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *ComposeObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *ComposeObjectRequest) GetDestination() *Object
- func (m *ComposeObjectRequest) GetDestinationBucket() string
- func (m *ComposeObjectRequest) GetDestinationObject() string
- func (m *ComposeObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (m *ComposeObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *ComposeObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *ComposeObjectRequest) GetKmsKeyName() string
- func (m *ComposeObjectRequest) GetSourceObjects() []*ComposeObjectRequest_SourceObjects
- func (m *ComposeObjectRequest) GetUserProject() string
- func (*ComposeObjectRequest) ProtoMessage()
- func (m *ComposeObjectRequest) Reset()
- func (m *ComposeObjectRequest) String() string
- func (m *ComposeObjectRequest) XXX_DiscardUnknown()
- func (m *ComposeObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComposeObjectRequest) XXX_Merge(src proto.Message)
- func (m *ComposeObjectRequest) XXX_Size() int
- func (m *ComposeObjectRequest) XXX_Unmarshal(b []byte) error
- type ComposeObjectRequest_SourceObjects
- func (*ComposeObjectRequest_SourceObjects) Descriptor() ([]byte, []int)
- func (m *ComposeObjectRequest_SourceObjects) GetGeneration() int64
- func (m *ComposeObjectRequest_SourceObjects) GetName() string
- func (m *ComposeObjectRequest_SourceObjects) GetObjectPreconditions() *ComposeObjectRequest_SourceObjects_ObjectPreconditions
- func (*ComposeObjectRequest_SourceObjects) ProtoMessage()
- func (m *ComposeObjectRequest_SourceObjects) Reset()
- func (m *ComposeObjectRequest_SourceObjects) String() string
- func (m *ComposeObjectRequest_SourceObjects) XXX_DiscardUnknown()
- func (m *ComposeObjectRequest_SourceObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComposeObjectRequest_SourceObjects) XXX_Merge(src proto.Message)
- func (m *ComposeObjectRequest_SourceObjects) XXX_Size() int
- func (m *ComposeObjectRequest_SourceObjects) XXX_Unmarshal(b []byte) error
- type ComposeObjectRequest_SourceObjects_ObjectPreconditions
- func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor() ([]byte, []int)
- func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch() *wrappers.Int64Value
- func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage()
- func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset()
- func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) String() string
- func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_DiscardUnknown()
- func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Merge(src proto.Message)
- func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Size() int
- func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Unmarshal(b []byte) error
- type ContentRange
- func (*ContentRange) Descriptor() ([]byte, []int)
- func (m *ContentRange) GetCompleteLength() int64
- func (m *ContentRange) GetEnd() int64
- func (m *ContentRange) GetStart() int64
- func (*ContentRange) ProtoMessage()
- func (m *ContentRange) Reset()
- func (m *ContentRange) String() string
- func (m *ContentRange) XXX_DiscardUnknown()
- func (m *ContentRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContentRange) XXX_Merge(src proto.Message)
- func (m *ContentRange) XXX_Size() int
- func (m *ContentRange) XXX_Unmarshal(b []byte) error
- type CopyObjectRequest
- func (*CopyObjectRequest) Descriptor() ([]byte, []int)
- func (m *CopyObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *CopyObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *CopyObjectRequest) GetDestination() *Object
- func (m *CopyObjectRequest) GetDestinationBucket() string
- func (m *CopyObjectRequest) GetDestinationKmsKeyName() string
- func (m *CopyObjectRequest) GetDestinationObject() string
- func (m *CopyObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (m *CopyObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *CopyObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
- func (m *CopyObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *CopyObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *CopyObjectRequest) GetIfSourceGenerationMatch() *wrappers.Int64Value
- func (m *CopyObjectRequest) GetIfSourceGenerationNotMatch() *wrappers.Int64Value
- func (m *CopyObjectRequest) GetIfSourceMetagenerationMatch() *wrappers.Int64Value
- func (m *CopyObjectRequest) GetIfSourceMetagenerationNotMatch() *wrappers.Int64Value
- func (m *CopyObjectRequest) GetProjection() CommonEnums_Projection
- func (m *CopyObjectRequest) GetSourceBucket() string
- func (m *CopyObjectRequest) GetSourceGeneration() int64
- func (m *CopyObjectRequest) GetSourceObject() string
- func (m *CopyObjectRequest) GetUserProject() string
- func (*CopyObjectRequest) ProtoMessage()
- func (m *CopyObjectRequest) Reset()
- func (m *CopyObjectRequest) String() string
- func (m *CopyObjectRequest) XXX_DiscardUnknown()
- func (m *CopyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CopyObjectRequest) XXX_Merge(src proto.Message)
- func (m *CopyObjectRequest) XXX_Size() int
- func (m *CopyObjectRequest) XXX_Unmarshal(b []byte) error
- type DeleteBucketAccessControlRequest
- func (*DeleteBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *DeleteBucketAccessControlRequest) GetBucket() string
- func (m *DeleteBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *DeleteBucketAccessControlRequest) GetEntity() string
- func (m *DeleteBucketAccessControlRequest) GetUserProject() string
- func (*DeleteBucketAccessControlRequest) ProtoMessage()
- func (m *DeleteBucketAccessControlRequest) Reset()
- func (m *DeleteBucketAccessControlRequest) String() string
- func (m *DeleteBucketAccessControlRequest) XXX_DiscardUnknown()
- func (m *DeleteBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteBucketAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *DeleteBucketAccessControlRequest) XXX_Size() int
- func (m *DeleteBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
- type DeleteBucketRequest
- func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
- func (m *DeleteBucketRequest) GetBucket() string
- func (m *DeleteBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *DeleteBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *DeleteBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *DeleteBucketRequest) GetUserProject() string
- func (*DeleteBucketRequest) ProtoMessage()
- func (m *DeleteBucketRequest) Reset()
- func (m *DeleteBucketRequest) String() string
- func (m *DeleteBucketRequest) XXX_DiscardUnknown()
- func (m *DeleteBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteBucketRequest) XXX_Merge(src proto.Message)
- func (m *DeleteBucketRequest) XXX_Size() int
- func (m *DeleteBucketRequest) XXX_Unmarshal(b []byte) error
- type DeleteDefaultObjectAccessControlRequest
- func (*DeleteDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDefaultObjectAccessControlRequest) GetBucket() string
- func (m *DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *DeleteDefaultObjectAccessControlRequest) GetEntity() string
- func (m *DeleteDefaultObjectAccessControlRequest) GetUserProject() string
- func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage()
- func (m *DeleteDefaultObjectAccessControlRequest) Reset()
- func (m *DeleteDefaultObjectAccessControlRequest) String() string
- func (m *DeleteDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *DeleteDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDefaultObjectAccessControlRequest) XXX_Size() int
- func (m *DeleteDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type DeleteNotificationRequest
- func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)
- func (m *DeleteNotificationRequest) GetBucket() string
- func (m *DeleteNotificationRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *DeleteNotificationRequest) GetNotification() string
- func (m *DeleteNotificationRequest) GetUserProject() string
- func (*DeleteNotificationRequest) ProtoMessage()
- func (m *DeleteNotificationRequest) Reset()
- func (m *DeleteNotificationRequest) String() string
- func (m *DeleteNotificationRequest) XXX_DiscardUnknown()
- func (m *DeleteNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteNotificationRequest) XXX_Merge(src proto.Message)
- func (m *DeleteNotificationRequest) XXX_Size() int
- func (m *DeleteNotificationRequest) XXX_Unmarshal(b []byte) error
- type DeleteObjectAccessControlRequest
- func (*DeleteObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *DeleteObjectAccessControlRequest) GetBucket() string
- func (m *DeleteObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *DeleteObjectAccessControlRequest) GetEntity() string
- func (m *DeleteObjectAccessControlRequest) GetGeneration() int64
- func (m *DeleteObjectAccessControlRequest) GetObject() string
- func (m *DeleteObjectAccessControlRequest) GetUserProject() string
- func (*DeleteObjectAccessControlRequest) ProtoMessage()
- func (m *DeleteObjectAccessControlRequest) Reset()
- func (m *DeleteObjectAccessControlRequest) String() string
- func (m *DeleteObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *DeleteObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *DeleteObjectAccessControlRequest) XXX_Size() int
- func (m *DeleteObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type DeleteObjectRequest
- func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
- func (m *DeleteObjectRequest) GetBucket() string
- func (m *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *DeleteObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *DeleteObjectRequest) GetGeneration() int64
- func (m *DeleteObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *DeleteObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
- func (m *DeleteObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *DeleteObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *DeleteObjectRequest) GetObject() string
- func (m *DeleteObjectRequest) GetUploadId() string
- func (m *DeleteObjectRequest) GetUserProject() string
- func (*DeleteObjectRequest) ProtoMessage()
- func (m *DeleteObjectRequest) Reset()
- func (m *DeleteObjectRequest) String() string
- func (m *DeleteObjectRequest) XXX_DiscardUnknown()
- func (m *DeleteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteObjectRequest) XXX_Merge(src proto.Message)
- func (m *DeleteObjectRequest) XXX_Size() int
- func (m *DeleteObjectRequest) XXX_Unmarshal(b []byte) error
- type GetBucketAccessControlRequest
- func (*GetBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *GetBucketAccessControlRequest) GetBucket() string
- func (m *GetBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *GetBucketAccessControlRequest) GetEntity() string
- func (m *GetBucketAccessControlRequest) GetUserProject() string
- func (*GetBucketAccessControlRequest) ProtoMessage()
- func (m *GetBucketAccessControlRequest) Reset()
- func (m *GetBucketAccessControlRequest) String() string
- func (m *GetBucketAccessControlRequest) XXX_DiscardUnknown()
- func (m *GetBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBucketAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *GetBucketAccessControlRequest) XXX_Size() int
- func (m *GetBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
- type GetBucketRequest
- func (*GetBucketRequest) Descriptor() ([]byte, []int)
- func (m *GetBucketRequest) GetBucket() string
- func (m *GetBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *GetBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *GetBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *GetBucketRequest) GetProjection() CommonEnums_Projection
- func (m *GetBucketRequest) GetUserProject() string
- func (*GetBucketRequest) ProtoMessage()
- func (m *GetBucketRequest) Reset()
- func (m *GetBucketRequest) String() string
- func (m *GetBucketRequest) XXX_DiscardUnknown()
- func (m *GetBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBucketRequest) XXX_Merge(src proto.Message)
- func (m *GetBucketRequest) XXX_Size() int
- func (m *GetBucketRequest) XXX_Unmarshal(b []byte) error
- type GetDefaultObjectAccessControlRequest
- func (*GetDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *GetDefaultObjectAccessControlRequest) GetBucket() string
- func (m *GetDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *GetDefaultObjectAccessControlRequest) GetEntity() string
- func (m *GetDefaultObjectAccessControlRequest) GetUserProject() string
- func (*GetDefaultObjectAccessControlRequest) ProtoMessage()
- func (m *GetDefaultObjectAccessControlRequest) Reset()
- func (m *GetDefaultObjectAccessControlRequest) String() string
- func (m *GetDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *GetDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *GetDefaultObjectAccessControlRequest) XXX_Size() int
- func (m *GetDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type GetNotificationRequest
- func (*GetNotificationRequest) Descriptor() ([]byte, []int)
- func (m *GetNotificationRequest) GetBucket() string
- func (m *GetNotificationRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *GetNotificationRequest) GetNotification() string
- func (m *GetNotificationRequest) GetUserProject() string
- func (*GetNotificationRequest) ProtoMessage()
- func (m *GetNotificationRequest) Reset()
- func (m *GetNotificationRequest) String() string
- func (m *GetNotificationRequest) XXX_DiscardUnknown()
- func (m *GetNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetNotificationRequest) XXX_Merge(src proto.Message)
- func (m *GetNotificationRequest) XXX_Size() int
- func (m *GetNotificationRequest) XXX_Unmarshal(b []byte) error
- type GetObjectAccessControlRequest
- func (*GetObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *GetObjectAccessControlRequest) GetBucket() string
- func (m *GetObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *GetObjectAccessControlRequest) GetEntity() string
- func (m *GetObjectAccessControlRequest) GetGeneration() int64
- func (m *GetObjectAccessControlRequest) GetObject() string
- func (m *GetObjectAccessControlRequest) GetUserProject() string
- func (*GetObjectAccessControlRequest) ProtoMessage()
- func (m *GetObjectAccessControlRequest) Reset()
- func (m *GetObjectAccessControlRequest) String() string
- func (m *GetObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *GetObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *GetObjectAccessControlRequest) XXX_Size() int
- func (m *GetObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type GetObjectMediaRequest
- func (*GetObjectMediaRequest) Descriptor() ([]byte, []int)
- func (m *GetObjectMediaRequest) GetBucket() string
- func (m *GetObjectMediaRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *GetObjectMediaRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *GetObjectMediaRequest) GetGeneration() int64
- func (m *GetObjectMediaRequest) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *GetObjectMediaRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
- func (m *GetObjectMediaRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *GetObjectMediaRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *GetObjectMediaRequest) GetObject() string
- func (m *GetObjectMediaRequest) GetReadLimit() int64
- func (m *GetObjectMediaRequest) GetReadOffset() int64
- func (m *GetObjectMediaRequest) GetUserProject() string
- func (*GetObjectMediaRequest) ProtoMessage()
- func (m *GetObjectMediaRequest) Reset()
- func (m *GetObjectMediaRequest) String() string
- func (m *GetObjectMediaRequest) XXX_DiscardUnknown()
- func (m *GetObjectMediaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObjectMediaRequest) XXX_Merge(src proto.Message)
- func (m *GetObjectMediaRequest) XXX_Size() int
- func (m *GetObjectMediaRequest) XXX_Unmarshal(b []byte) error
- type GetObjectMediaResponse
- func (*GetObjectMediaResponse) Descriptor() ([]byte, []int)
- func (m *GetObjectMediaResponse) GetChecksummedData() *ChecksummedData
- func (m *GetObjectMediaResponse) GetContentRange() *ContentRange
- func (m *GetObjectMediaResponse) GetObjectChecksums() *ObjectChecksums
- func (*GetObjectMediaResponse) ProtoMessage()
- func (m *GetObjectMediaResponse) Reset()
- func (m *GetObjectMediaResponse) String() string
- func (m *GetObjectMediaResponse) XXX_DiscardUnknown()
- func (m *GetObjectMediaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObjectMediaResponse) XXX_Merge(src proto.Message)
- func (m *GetObjectMediaResponse) XXX_Size() int
- func (m *GetObjectMediaResponse) XXX_Unmarshal(b []byte) error
- type GetObjectRequest
- func (*GetObjectRequest) Descriptor() ([]byte, []int)
- func (m *GetObjectRequest) GetBucket() string
- func (m *GetObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *GetObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *GetObjectRequest) GetGeneration() int64
- func (m *GetObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *GetObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
- func (m *GetObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *GetObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *GetObjectRequest) GetObject() string
- func (m *GetObjectRequest) GetProjection() CommonEnums_Projection
- func (m *GetObjectRequest) GetUserProject() string
- func (*GetObjectRequest) ProtoMessage()
- func (m *GetObjectRequest) Reset()
- func (m *GetObjectRequest) String() string
- func (m *GetObjectRequest) XXX_DiscardUnknown()
- func (m *GetObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetObjectRequest) XXX_Merge(src proto.Message)
- func (m *GetObjectRequest) XXX_Size() int
- func (m *GetObjectRequest) XXX_Unmarshal(b []byte) error
- type GetProjectServiceAccountRequest
- func (*GetProjectServiceAccountRequest) Descriptor() ([]byte, []int)
- func (m *GetProjectServiceAccountRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *GetProjectServiceAccountRequest) GetProjectId() string
- func (m *GetProjectServiceAccountRequest) GetUserProject() string
- func (*GetProjectServiceAccountRequest) ProtoMessage()
- func (m *GetProjectServiceAccountRequest) Reset()
- func (m *GetProjectServiceAccountRequest) String() string
- func (m *GetProjectServiceAccountRequest) XXX_DiscardUnknown()
- func (m *GetProjectServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProjectServiceAccountRequest) XXX_Merge(src proto.Message)
- func (m *GetProjectServiceAccountRequest) XXX_Size() int
- func (m *GetProjectServiceAccountRequest) XXX_Unmarshal(b []byte) error
- type InsertBucketAccessControlRequest
- func (*InsertBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *InsertBucketAccessControlRequest) GetBucket() string
- func (m *InsertBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
- func (m *InsertBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *InsertBucketAccessControlRequest) GetUserProject() string
- func (*InsertBucketAccessControlRequest) ProtoMessage()
- func (m *InsertBucketAccessControlRequest) Reset()
- func (m *InsertBucketAccessControlRequest) String() string
- func (m *InsertBucketAccessControlRequest) XXX_DiscardUnknown()
- func (m *InsertBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsertBucketAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *InsertBucketAccessControlRequest) XXX_Size() int
- func (m *InsertBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
- type InsertBucketRequest
- func (*InsertBucketRequest) Descriptor() ([]byte, []int)
- func (m *InsertBucketRequest) GetBucket() *Bucket
- func (m *InsertBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *InsertBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
- func (m *InsertBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
- func (m *InsertBucketRequest) GetProject() string
- func (m *InsertBucketRequest) GetProjection() CommonEnums_Projection
- func (m *InsertBucketRequest) GetUserProject() string
- func (*InsertBucketRequest) ProtoMessage()
- func (m *InsertBucketRequest) Reset()
- func (m *InsertBucketRequest) String() string
- func (m *InsertBucketRequest) XXX_DiscardUnknown()
- func (m *InsertBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsertBucketRequest) XXX_Merge(src proto.Message)
- func (m *InsertBucketRequest) XXX_Size() int
- func (m *InsertBucketRequest) XXX_Unmarshal(b []byte) error
- type InsertDefaultObjectAccessControlRequest
- func (*InsertDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *InsertDefaultObjectAccessControlRequest) GetBucket() string
- func (m *InsertDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *InsertDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (m *InsertDefaultObjectAccessControlRequest) GetUserProject() string
- func (*InsertDefaultObjectAccessControlRequest) ProtoMessage()
- func (m *InsertDefaultObjectAccessControlRequest) Reset()
- func (m *InsertDefaultObjectAccessControlRequest) String() string
- func (m *InsertDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *InsertDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsertDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *InsertDefaultObjectAccessControlRequest) XXX_Size() int
- func (m *InsertDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type InsertNotificationRequest
- func (*InsertNotificationRequest) Descriptor() ([]byte, []int)
- func (m *InsertNotificationRequest) GetBucket() string
- func (m *InsertNotificationRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *InsertNotificationRequest) GetNotification() *Notification
- func (m *InsertNotificationRequest) GetUserProject() string
- func (*InsertNotificationRequest) ProtoMessage()
- func (m *InsertNotificationRequest) Reset()
- func (m *InsertNotificationRequest) String() string
- func (m *InsertNotificationRequest) XXX_DiscardUnknown()
- func (m *InsertNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsertNotificationRequest) XXX_Merge(src proto.Message)
- func (m *InsertNotificationRequest) XXX_Size() int
- func (m *InsertNotificationRequest) XXX_Unmarshal(b []byte) error
- type InsertObjectAccessControlRequest
- func (*InsertObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *InsertObjectAccessControlRequest) GetBucket() string
- func (m *InsertObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *InsertObjectAccessControlRequest) GetGeneration() int64
- func (m *InsertObjectAccessControlRequest) GetObject() string
- func (m *InsertObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (m *InsertObjectAccessControlRequest) GetUserProject() string
- func (*InsertObjectAccessControlRequest) ProtoMessage()
- func (m *InsertObjectAccessControlRequest) Reset()
- func (m *InsertObjectAccessControlRequest) String() string
- func (m *InsertObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *InsertObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsertObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *InsertObjectAccessControlRequest) XXX_Size() int
- func (m *InsertObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type InsertObjectRequest
- func (*InsertObjectRequest) Descriptor() ([]byte, []int)
- func (m *InsertObjectRequest) GetChecksummedData() *ChecksummedData
- func (m *InsertObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *InsertObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *InsertObjectRequest) GetData() isInsertObjectRequest_Data
- func (m *InsertObjectRequest) GetFinishWrite() bool
- func (m *InsertObjectRequest) GetFirstMessage() isInsertObjectRequest_FirstMessage
- func (m *InsertObjectRequest) GetInsertObjectSpec() *InsertObjectSpec
- func (m *InsertObjectRequest) GetObjectChecksums() *ObjectChecksums
- func (m *InsertObjectRequest) GetReference() *GetObjectMediaRequest
- func (m *InsertObjectRequest) GetUploadId() string
- func (m *InsertObjectRequest) GetWriteOffset() int64
- func (*InsertObjectRequest) ProtoMessage()
- func (m *InsertObjectRequest) Reset()
- func (m *InsertObjectRequest) String() string
- func (m *InsertObjectRequest) XXX_DiscardUnknown()
- func (m *InsertObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsertObjectRequest) XXX_Merge(src proto.Message)
- func (*InsertObjectRequest) XXX_OneofWrappers() []interface{}
- func (m *InsertObjectRequest) XXX_Size() int
- func (m *InsertObjectRequest) XXX_Unmarshal(b []byte) error
- type InsertObjectRequest_ChecksummedData
- type InsertObjectRequest_InsertObjectSpec
- type InsertObjectRequest_Reference
- type InsertObjectRequest_UploadId
- type InsertObjectSpec
- func (*InsertObjectSpec) Descriptor() ([]byte, []int)
- func (m *InsertObjectSpec) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *InsertObjectSpec) GetIfGenerationNotMatch() *wrappers.Int64Value
- func (m *InsertObjectSpec) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *InsertObjectSpec) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *InsertObjectSpec) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (m *InsertObjectSpec) GetProjection() CommonEnums_Projection
- func (m *InsertObjectSpec) GetResource() *Object
- func (m *InsertObjectSpec) GetUserProject() string
- func (*InsertObjectSpec) ProtoMessage()
- func (m *InsertObjectSpec) Reset()
- func (m *InsertObjectSpec) String() string
- func (m *InsertObjectSpec) XXX_DiscardUnknown()
- func (m *InsertObjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *InsertObjectSpec) XXX_Merge(src proto.Message)
- func (m *InsertObjectSpec) XXX_Size() int
- func (m *InsertObjectSpec) XXX_Unmarshal(b []byte) error
- type ListBucketAccessControlsRequest
- func (*ListBucketAccessControlsRequest) Descriptor() ([]byte, []int)
- func (m *ListBucketAccessControlsRequest) GetBucket() string
- func (m *ListBucketAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *ListBucketAccessControlsRequest) GetUserProject() string
- func (*ListBucketAccessControlsRequest) ProtoMessage()
- func (m *ListBucketAccessControlsRequest) Reset()
- func (m *ListBucketAccessControlsRequest) String() string
- func (m *ListBucketAccessControlsRequest) XXX_DiscardUnknown()
- func (m *ListBucketAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBucketAccessControlsRequest) XXX_Merge(src proto.Message)
- func (m *ListBucketAccessControlsRequest) XXX_Size() int
- func (m *ListBucketAccessControlsRequest) XXX_Unmarshal(b []byte) error
- type ListBucketAccessControlsResponse
- func (*ListBucketAccessControlsResponse) Descriptor() ([]byte, []int)
- func (m *ListBucketAccessControlsResponse) GetItems() []*BucketAccessControl
- func (*ListBucketAccessControlsResponse) ProtoMessage()
- func (m *ListBucketAccessControlsResponse) Reset()
- func (m *ListBucketAccessControlsResponse) String() string
- func (m *ListBucketAccessControlsResponse) XXX_DiscardUnknown()
- func (m *ListBucketAccessControlsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBucketAccessControlsResponse) XXX_Merge(src proto.Message)
- func (m *ListBucketAccessControlsResponse) XXX_Size() int
- func (m *ListBucketAccessControlsResponse) XXX_Unmarshal(b []byte) error
- type ListBucketsRequest
- func (*ListBucketsRequest) Descriptor() ([]byte, []int)
- func (m *ListBucketsRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *ListBucketsRequest) GetMaxResults() int32
- func (m *ListBucketsRequest) GetPageToken() string
- func (m *ListBucketsRequest) GetPrefix() string
- func (m *ListBucketsRequest) GetProject() string
- func (m *ListBucketsRequest) GetProjection() CommonEnums_Projection
- func (m *ListBucketsRequest) GetUserProject() string
- func (*ListBucketsRequest) ProtoMessage()
- func (m *ListBucketsRequest) Reset()
- func (m *ListBucketsRequest) String() string
- func (m *ListBucketsRequest) XXX_DiscardUnknown()
- func (m *ListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBucketsRequest) XXX_Merge(src proto.Message)
- func (m *ListBucketsRequest) XXX_Size() int
- func (m *ListBucketsRequest) XXX_Unmarshal(b []byte) error
- type ListBucketsResponse
- func (*ListBucketsResponse) Descriptor() ([]byte, []int)
- func (m *ListBucketsResponse) GetItems() []*Bucket
- func (m *ListBucketsResponse) GetNextPageToken() string
- func (*ListBucketsResponse) ProtoMessage()
- func (m *ListBucketsResponse) Reset()
- func (m *ListBucketsResponse) String() string
- func (m *ListBucketsResponse) XXX_DiscardUnknown()
- func (m *ListBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListBucketsResponse) XXX_Merge(src proto.Message)
- func (m *ListBucketsResponse) XXX_Size() int
- func (m *ListBucketsResponse) XXX_Unmarshal(b []byte) error
- type ListDefaultObjectAccessControlsRequest
- func (*ListDefaultObjectAccessControlsRequest) Descriptor() ([]byte, []int)
- func (m *ListDefaultObjectAccessControlsRequest) GetBucket() string
- func (m *ListDefaultObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *ListDefaultObjectAccessControlsRequest) GetUserProject() string
- func (*ListDefaultObjectAccessControlsRequest) ProtoMessage()
- func (m *ListDefaultObjectAccessControlsRequest) Reset()
- func (m *ListDefaultObjectAccessControlsRequest) String() string
- func (m *ListDefaultObjectAccessControlsRequest) XXX_DiscardUnknown()
- func (m *ListDefaultObjectAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListDefaultObjectAccessControlsRequest) XXX_Merge(src proto.Message)
- func (m *ListDefaultObjectAccessControlsRequest) XXX_Size() int
- func (m *ListDefaultObjectAccessControlsRequest) XXX_Unmarshal(b []byte) error
- type ListNotificationsRequest
- func (*ListNotificationsRequest) Descriptor() ([]byte, []int)
- func (m *ListNotificationsRequest) GetBucket() string
- func (m *ListNotificationsRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *ListNotificationsRequest) GetUserProject() string
- func (*ListNotificationsRequest) ProtoMessage()
- func (m *ListNotificationsRequest) Reset()
- func (m *ListNotificationsRequest) String() string
- func (m *ListNotificationsRequest) XXX_DiscardUnknown()
- func (m *ListNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNotificationsRequest) XXX_Merge(src proto.Message)
- func (m *ListNotificationsRequest) XXX_Size() int
- func (m *ListNotificationsRequest) XXX_Unmarshal(b []byte) error
- type ListNotificationsResponse
- func (*ListNotificationsResponse) Descriptor() ([]byte, []int)
- func (m *ListNotificationsResponse) GetItems() []*Notification
- func (*ListNotificationsResponse) ProtoMessage()
- func (m *ListNotificationsResponse) Reset()
- func (m *ListNotificationsResponse) String() string
- func (m *ListNotificationsResponse) XXX_DiscardUnknown()
- func (m *ListNotificationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListNotificationsResponse) XXX_Merge(src proto.Message)
- func (m *ListNotificationsResponse) XXX_Size() int
- func (m *ListNotificationsResponse) XXX_Unmarshal(b []byte) error
- type ListObjectAccessControlsRequest
- func (*ListObjectAccessControlsRequest) Descriptor() ([]byte, []int)
- func (m *ListObjectAccessControlsRequest) GetBucket() string
- func (m *ListObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *ListObjectAccessControlsRequest) GetGeneration() int64
- func (m *ListObjectAccessControlsRequest) GetObject() string
- func (m *ListObjectAccessControlsRequest) GetUserProject() string
- func (*ListObjectAccessControlsRequest) ProtoMessage()
- func (m *ListObjectAccessControlsRequest) Reset()
- func (m *ListObjectAccessControlsRequest) String() string
- func (m *ListObjectAccessControlsRequest) XXX_DiscardUnknown()
- func (m *ListObjectAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListObjectAccessControlsRequest) XXX_Merge(src proto.Message)
- func (m *ListObjectAccessControlsRequest) XXX_Size() int
- func (m *ListObjectAccessControlsRequest) XXX_Unmarshal(b []byte) error
- type ListObjectAccessControlsResponse
- func (*ListObjectAccessControlsResponse) Descriptor() ([]byte, []int)
- func (m *ListObjectAccessControlsResponse) GetItems() []*ObjectAccessControl
- func (*ListObjectAccessControlsResponse) ProtoMessage()
- func (m *ListObjectAccessControlsResponse) Reset()
- func (m *ListObjectAccessControlsResponse) String() string
- func (m *ListObjectAccessControlsResponse) XXX_DiscardUnknown()
- func (m *ListObjectAccessControlsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListObjectAccessControlsResponse) XXX_Merge(src proto.Message)
- func (m *ListObjectAccessControlsResponse) XXX_Size() int
- func (m *ListObjectAccessControlsResponse) XXX_Unmarshal(b []byte) error
- type ListObjectsRequest
- func (*ListObjectsRequest) Descriptor() ([]byte, []int)
- func (m *ListObjectsRequest) GetBucket() string
- func (m *ListObjectsRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *ListObjectsRequest) GetDelimiter() string
- func (m *ListObjectsRequest) GetIncludeTrailingDelimiter() bool
- func (m *ListObjectsRequest) GetMaxResults() int32
- func (m *ListObjectsRequest) GetPageToken() string
- func (m *ListObjectsRequest) GetPrefix() string
- func (m *ListObjectsRequest) GetProjection() CommonEnums_Projection
- func (m *ListObjectsRequest) GetUserProject() string
- func (m *ListObjectsRequest) GetVersions() bool
- func (*ListObjectsRequest) ProtoMessage()
- func (m *ListObjectsRequest) Reset()
- func (m *ListObjectsRequest) String() string
- func (m *ListObjectsRequest) XXX_DiscardUnknown()
- func (m *ListObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListObjectsRequest) XXX_Merge(src proto.Message)
- func (m *ListObjectsRequest) XXX_Size() int
- func (m *ListObjectsRequest) XXX_Unmarshal(b []byte) error
- type ListObjectsResponse
- func (*ListObjectsResponse) Descriptor() ([]byte, []int)
- func (m *ListObjectsResponse) GetItems() []*Object
- func (m *ListObjectsResponse) GetNextPageToken() string
- func (m *ListObjectsResponse) GetPrefixes() []string
- func (*ListObjectsResponse) ProtoMessage()
- func (m *ListObjectsResponse) Reset()
- func (m *ListObjectsResponse) String() string
- func (m *ListObjectsResponse) XXX_DiscardUnknown()
- func (m *ListObjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListObjectsResponse) XXX_Merge(src proto.Message)
- func (m *ListObjectsResponse) XXX_Size() int
- func (m *ListObjectsResponse) XXX_Unmarshal(b []byte) error
- type LockRetentionPolicyRequest
- func (*LockRetentionPolicyRequest) Descriptor() ([]byte, []int)
- func (m *LockRetentionPolicyRequest) GetBucket() string
- func (m *LockRetentionPolicyRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *LockRetentionPolicyRequest) GetIfMetagenerationMatch() int64
- func (m *LockRetentionPolicyRequest) GetUserProject() string
- func (*LockRetentionPolicyRequest) ProtoMessage()
- func (m *LockRetentionPolicyRequest) Reset()
- func (m *LockRetentionPolicyRequest) String() string
- func (m *LockRetentionPolicyRequest) XXX_DiscardUnknown()
- func (m *LockRetentionPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LockRetentionPolicyRequest) XXX_Merge(src proto.Message)
- func (m *LockRetentionPolicyRequest) XXX_Size() int
- func (m *LockRetentionPolicyRequest) XXX_Unmarshal(b []byte) error
- type Notification
- func (*Notification) Descriptor() ([]byte, []int)
- func (m *Notification) GetCustomAttributes() map[string]string
- func (m *Notification) GetEtag() string
- func (m *Notification) GetEventTypes() []string
- func (m *Notification) GetId() string
- func (m *Notification) GetObjectNamePrefix() string
- func (m *Notification) GetPayloadFormat() string
- func (m *Notification) GetTopic() string
- func (*Notification) ProtoMessage()
- func (m *Notification) Reset()
- func (m *Notification) String() string
- func (m *Notification) XXX_DiscardUnknown()
- func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Notification) XXX_Merge(src proto.Message)
- func (m *Notification) XXX_Size() int
- func (m *Notification) XXX_Unmarshal(b []byte) error
- type Object
- func (*Object) Descriptor() ([]byte, []int)
- func (m *Object) GetAcl() []*ObjectAccessControl
- func (m *Object) GetBucket() string
- func (m *Object) GetCacheControl() string
- func (m *Object) GetComponentCount() int32
- func (m *Object) GetContentDisposition() string
- func (m *Object) GetContentEncoding() string
- func (m *Object) GetContentLanguage() string
- func (m *Object) GetContentType() string
- func (m *Object) GetCrc32C() *wrappers.UInt32Value
- func (m *Object) GetCustomerEncryption() *Object_CustomerEncryption
- func (m *Object) GetEtag() string
- func (m *Object) GetEventBasedHold() *wrappers.BoolValue
- func (m *Object) GetGeneration() int64
- func (m *Object) GetId() string
- func (m *Object) GetKmsKeyName() string
- func (m *Object) GetMd5Hash() string
- func (m *Object) GetMetadata() map[string]string
- func (m *Object) GetMetageneration() int64
- func (m *Object) GetName() string
- func (m *Object) GetOwner() *Owner
- func (m *Object) GetRetentionExpirationTime() *timestamp.Timestamp
- func (m *Object) GetSize() int64
- func (m *Object) GetStorageClass() string
- func (m *Object) GetTemporaryHold() bool
- func (m *Object) GetTimeCreated() *timestamp.Timestamp
- func (m *Object) GetTimeDeleted() *timestamp.Timestamp
- func (m *Object) GetTimeStorageClassUpdated() *timestamp.Timestamp
- func (m *Object) GetUpdated() *timestamp.Timestamp
- func (*Object) ProtoMessage()
- func (m *Object) Reset()
- func (m *Object) String() string
- func (m *Object) XXX_DiscardUnknown()
- func (m *Object) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Object) XXX_Merge(src proto.Message)
- func (m *Object) XXX_Size() int
- func (m *Object) XXX_Unmarshal(b []byte) error
- type ObjectAccessControl
- func (*ObjectAccessControl) Descriptor() ([]byte, []int)
- func (m *ObjectAccessControl) GetBucket() string
- func (m *ObjectAccessControl) GetDomain() string
- func (m *ObjectAccessControl) GetEmail() string
- func (m *ObjectAccessControl) GetEntity() string
- func (m *ObjectAccessControl) GetEntityId() string
- func (m *ObjectAccessControl) GetEtag() string
- func (m *ObjectAccessControl) GetGeneration() int64
- func (m *ObjectAccessControl) GetId() string
- func (m *ObjectAccessControl) GetObject() string
- func (m *ObjectAccessControl) GetProjectTeam() *ProjectTeam
- func (m *ObjectAccessControl) GetRole() string
- func (*ObjectAccessControl) ProtoMessage()
- func (m *ObjectAccessControl) Reset()
- func (m *ObjectAccessControl) String() string
- func (m *ObjectAccessControl) XXX_DiscardUnknown()
- func (m *ObjectAccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectAccessControl) XXX_Merge(src proto.Message)
- func (m *ObjectAccessControl) XXX_Size() int
- func (m *ObjectAccessControl) XXX_Unmarshal(b []byte) error
- type ObjectChecksums
- func (*ObjectChecksums) Descriptor() ([]byte, []int)
- func (m *ObjectChecksums) GetCrc32C() *wrappers.UInt32Value
- func (m *ObjectChecksums) GetMd5Hash() string
- func (*ObjectChecksums) ProtoMessage()
- func (m *ObjectChecksums) Reset()
- func (m *ObjectChecksums) String() string
- func (m *ObjectChecksums) XXX_DiscardUnknown()
- func (m *ObjectChecksums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ObjectChecksums) XXX_Merge(src proto.Message)
- func (m *ObjectChecksums) XXX_Size() int
- func (m *ObjectChecksums) XXX_Unmarshal(b []byte) error
- type Object_CustomerEncryption
- func (*Object_CustomerEncryption) Descriptor() ([]byte, []int)
- func (m *Object_CustomerEncryption) GetEncryptionAlgorithm() string
- func (m *Object_CustomerEncryption) GetKeySha256() string
- func (*Object_CustomerEncryption) ProtoMessage()
- func (m *Object_CustomerEncryption) Reset()
- func (m *Object_CustomerEncryption) String() string
- func (m *Object_CustomerEncryption) XXX_DiscardUnknown()
- func (m *Object_CustomerEncryption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Object_CustomerEncryption) XXX_Merge(src proto.Message)
- func (m *Object_CustomerEncryption) XXX_Size() int
- func (m *Object_CustomerEncryption) XXX_Unmarshal(b []byte) error
- type Owner
- func (*Owner) Descriptor() ([]byte, []int)
- func (m *Owner) GetEntity() string
- func (m *Owner) GetEntityId() string
- func (*Owner) ProtoMessage()
- func (m *Owner) Reset()
- func (m *Owner) String() string
- func (m *Owner) XXX_DiscardUnknown()
- func (m *Owner) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Owner) XXX_Merge(src proto.Message)
- func (m *Owner) XXX_Size() int
- func (m *Owner) XXX_Unmarshal(b []byte) error
- type PatchBucketAccessControlRequest
- func (*PatchBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *PatchBucketAccessControlRequest) GetBucket() string
- func (m *PatchBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
- func (m *PatchBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *PatchBucketAccessControlRequest) GetEntity() string
- func (m *PatchBucketAccessControlRequest) GetUpdateMask() *field_mask.FieldMask
- func (m *PatchBucketAccessControlRequest) GetUserProject() string
- func (*PatchBucketAccessControlRequest) ProtoMessage()
- func (m *PatchBucketAccessControlRequest) Reset()
- func (m *PatchBucketAccessControlRequest) String() string
- func (m *PatchBucketAccessControlRequest) XXX_DiscardUnknown()
- func (m *PatchBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PatchBucketAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *PatchBucketAccessControlRequest) XXX_Size() int
- func (m *PatchBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
- type PatchBucketRequest
- func (*PatchBucketRequest) Descriptor() ([]byte, []int)
- func (m *PatchBucketRequest) GetBucket() string
- func (m *PatchBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *PatchBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *PatchBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *PatchBucketRequest) GetMetadata() *Bucket
- func (m *PatchBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
- func (m *PatchBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
- func (m *PatchBucketRequest) GetProjection() CommonEnums_Projection
- func (m *PatchBucketRequest) GetUpdateMask() *field_mask.FieldMask
- func (m *PatchBucketRequest) GetUserProject() string
- func (*PatchBucketRequest) ProtoMessage()
- func (m *PatchBucketRequest) Reset()
- func (m *PatchBucketRequest) String() string
- func (m *PatchBucketRequest) XXX_DiscardUnknown()
- func (m *PatchBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PatchBucketRequest) XXX_Merge(src proto.Message)
- func (m *PatchBucketRequest) XXX_Size() int
- func (m *PatchBucketRequest) XXX_Unmarshal(b []byte) error
- type PatchDefaultObjectAccessControlRequest
- func (*PatchDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *PatchDefaultObjectAccessControlRequest) GetBucket() string
- func (m *PatchDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *PatchDefaultObjectAccessControlRequest) GetEntity() string
- func (m *PatchDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (m *PatchDefaultObjectAccessControlRequest) GetUpdateMask() *field_mask.FieldMask
- func (m *PatchDefaultObjectAccessControlRequest) GetUserProject() string
- func (*PatchDefaultObjectAccessControlRequest) ProtoMessage()
- func (m *PatchDefaultObjectAccessControlRequest) Reset()
- func (m *PatchDefaultObjectAccessControlRequest) String() string
- func (m *PatchDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *PatchDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PatchDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *PatchDefaultObjectAccessControlRequest) XXX_Size() int
- func (m *PatchDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type PatchObjectRequest
- func (*PatchObjectRequest) Descriptor() ([]byte, []int)
- func (m *PatchObjectRequest) GetBucket() string
- func (m *PatchObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *PatchObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *PatchObjectRequest) GetGeneration() int64
- func (m *PatchObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *PatchObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
- func (m *PatchObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *PatchObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *PatchObjectRequest) GetMetadata() *Object
- func (m *PatchObjectRequest) GetObject() string
- func (m *PatchObjectRequest) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (m *PatchObjectRequest) GetProjection() CommonEnums_Projection
- func (m *PatchObjectRequest) GetUpdateMask() *field_mask.FieldMask
- func (m *PatchObjectRequest) GetUserProject() string
- func (*PatchObjectRequest) ProtoMessage()
- func (m *PatchObjectRequest) Reset()
- func (m *PatchObjectRequest) String() string
- func (m *PatchObjectRequest) XXX_DiscardUnknown()
- func (m *PatchObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PatchObjectRequest) XXX_Merge(src proto.Message)
- func (m *PatchObjectRequest) XXX_Size() int
- func (m *PatchObjectRequest) XXX_Unmarshal(b []byte) error
- type ProjectTeam
- func (*ProjectTeam) Descriptor() ([]byte, []int)
- func (m *ProjectTeam) GetProjectNumber() string
- func (m *ProjectTeam) GetTeam() string
- func (*ProjectTeam) ProtoMessage()
- func (m *ProjectTeam) Reset()
- func (m *ProjectTeam) String() string
- func (m *ProjectTeam) XXX_DiscardUnknown()
- func (m *ProjectTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectTeam) XXX_Merge(src proto.Message)
- func (m *ProjectTeam) XXX_Size() int
- func (m *ProjectTeam) XXX_Unmarshal(b []byte) error
- type QueryWriteStatusRequest
- func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int)
- func (m *QueryWriteStatusRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *QueryWriteStatusRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *QueryWriteStatusRequest) GetUploadId() string
- func (*QueryWriteStatusRequest) ProtoMessage()
- func (m *QueryWriteStatusRequest) Reset()
- func (m *QueryWriteStatusRequest) String() string
- func (m *QueryWriteStatusRequest) XXX_DiscardUnknown()
- func (m *QueryWriteStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWriteStatusRequest) XXX_Merge(src proto.Message)
- func (m *QueryWriteStatusRequest) XXX_Size() int
- func (m *QueryWriteStatusRequest) XXX_Unmarshal(b []byte) error
- type QueryWriteStatusResponse
- func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int)
- func (m *QueryWriteStatusResponse) GetCommittedSize() int64
- func (m *QueryWriteStatusResponse) GetComplete() bool
- func (*QueryWriteStatusResponse) ProtoMessage()
- func (m *QueryWriteStatusResponse) Reset()
- func (m *QueryWriteStatusResponse) String() string
- func (m *QueryWriteStatusResponse) XXX_DiscardUnknown()
- func (m *QueryWriteStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryWriteStatusResponse) XXX_Merge(src proto.Message)
- func (m *QueryWriteStatusResponse) XXX_Size() int
- func (m *QueryWriteStatusResponse) XXX_Unmarshal(b []byte) error
- type RewriteObjectRequest
- func (*RewriteObjectRequest) Descriptor() ([]byte, []int)
- func (m *RewriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *RewriteObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *RewriteObjectRequest) GetCopySourceEncryptionAlgorithm() string
- func (m *RewriteObjectRequest) GetCopySourceEncryptionKey() string
- func (m *RewriteObjectRequest) GetCopySourceEncryptionKeySha256() string
- func (m *RewriteObjectRequest) GetDestinationBucket() string
- func (m *RewriteObjectRequest) GetDestinationKmsKeyName() string
- func (m *RewriteObjectRequest) GetDestinationObject() string
- func (m *RewriteObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (m *RewriteObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *RewriteObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
- func (m *RewriteObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *RewriteObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *RewriteObjectRequest) GetIfSourceGenerationMatch() *wrappers.Int64Value
- func (m *RewriteObjectRequest) GetIfSourceGenerationNotMatch() *wrappers.Int64Value
- func (m *RewriteObjectRequest) GetIfSourceMetagenerationMatch() *wrappers.Int64Value
- func (m *RewriteObjectRequest) GetIfSourceMetagenerationNotMatch() *wrappers.Int64Value
- func (m *RewriteObjectRequest) GetMaxBytesRewrittenPerCall() int64
- func (m *RewriteObjectRequest) GetObject() *Object
- func (m *RewriteObjectRequest) GetProjection() CommonEnums_Projection
- func (m *RewriteObjectRequest) GetRewriteToken() string
- func (m *RewriteObjectRequest) GetSourceBucket() string
- func (m *RewriteObjectRequest) GetSourceGeneration() int64
- func (m *RewriteObjectRequest) GetSourceObject() string
- func (m *RewriteObjectRequest) GetUserProject() string
- func (*RewriteObjectRequest) ProtoMessage()
- func (m *RewriteObjectRequest) Reset()
- func (m *RewriteObjectRequest) String() string
- func (m *RewriteObjectRequest) XXX_DiscardUnknown()
- func (m *RewriteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewriteObjectRequest) XXX_Merge(src proto.Message)
- func (m *RewriteObjectRequest) XXX_Size() int
- func (m *RewriteObjectRequest) XXX_Unmarshal(b []byte) error
- type RewriteResponse
- func (*RewriteResponse) Descriptor() ([]byte, []int)
- func (m *RewriteResponse) GetDone() bool
- func (m *RewriteResponse) GetObjectSize() int64
- func (m *RewriteResponse) GetResource() *Object
- func (m *RewriteResponse) GetRewriteToken() string
- func (m *RewriteResponse) GetTotalBytesRewritten() int64
- func (*RewriteResponse) ProtoMessage()
- func (m *RewriteResponse) Reset()
- func (m *RewriteResponse) String() string
- func (m *RewriteResponse) XXX_DiscardUnknown()
- func (m *RewriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RewriteResponse) XXX_Merge(src proto.Message)
- func (m *RewriteResponse) XXX_Size() int
- func (m *RewriteResponse) XXX_Unmarshal(b []byte) error
- type ServiceAccount
- func (*ServiceAccount) Descriptor() ([]byte, []int)
- func (m *ServiceAccount) GetEmailAddress() string
- func (*ServiceAccount) ProtoMessage()
- func (m *ServiceAccount) Reset()
- func (m *ServiceAccount) String() string
- func (m *ServiceAccount) XXX_DiscardUnknown()
- func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceAccount) XXX_Merge(src proto.Message)
- func (m *ServiceAccount) XXX_Size() int
- func (m *ServiceAccount) XXX_Unmarshal(b []byte) error
- type ServiceConstants
- func (*ServiceConstants) Descriptor() ([]byte, []int)
- func (*ServiceConstants) ProtoMessage()
- func (m *ServiceConstants) Reset()
- func (m *ServiceConstants) String() string
- func (m *ServiceConstants) XXX_DiscardUnknown()
- func (m *ServiceConstants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ServiceConstants) XXX_Merge(src proto.Message)
- func (m *ServiceConstants) XXX_Size() int
- func (m *ServiceConstants) XXX_Unmarshal(b []byte) error
- type ServiceConstants_Values
- type StartResumableWriteRequest
- func (*StartResumableWriteRequest) Descriptor() ([]byte, []int)
- func (m *StartResumableWriteRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *StartResumableWriteRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *StartResumableWriteRequest) GetInsertObjectSpec() *InsertObjectSpec
- func (*StartResumableWriteRequest) ProtoMessage()
- func (m *StartResumableWriteRequest) Reset()
- func (m *StartResumableWriteRequest) String() string
- func (m *StartResumableWriteRequest) XXX_DiscardUnknown()
- func (m *StartResumableWriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartResumableWriteRequest) XXX_Merge(src proto.Message)
- func (m *StartResumableWriteRequest) XXX_Size() int
- func (m *StartResumableWriteRequest) XXX_Unmarshal(b []byte) error
- type StartResumableWriteResponse
- func (*StartResumableWriteResponse) Descriptor() ([]byte, []int)
- func (m *StartResumableWriteResponse) GetUploadId() string
- func (*StartResumableWriteResponse) ProtoMessage()
- func (m *StartResumableWriteResponse) Reset()
- func (m *StartResumableWriteResponse) String() string
- func (m *StartResumableWriteResponse) XXX_DiscardUnknown()
- func (m *StartResumableWriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StartResumableWriteResponse) XXX_Merge(src proto.Message)
- func (m *StartResumableWriteResponse) XXX_Size() int
- func (m *StartResumableWriteResponse) XXX_Unmarshal(b []byte) error
- type StopChannelRequest
- func (*StopChannelRequest) Descriptor() ([]byte, []int)
- func (m *StopChannelRequest) GetChannel() *Channel
- func (m *StopChannelRequest) GetCommonRequestParams() *CommonRequestParams
- func (*StopChannelRequest) ProtoMessage()
- func (m *StopChannelRequest) Reset()
- func (m *StopChannelRequest) String() string
- func (m *StopChannelRequest) XXX_DiscardUnknown()
- func (m *StopChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StopChannelRequest) XXX_Merge(src proto.Message)
- func (m *StopChannelRequest) XXX_Size() int
- func (m *StopChannelRequest) XXX_Unmarshal(b []byte) error
- type StorageClient
- type StorageServer
- type Storage_GetObjectMediaClient
- type Storage_GetObjectMediaServer
- type Storage_InsertObjectClient
- type Storage_InsertObjectServer
- type UnimplementedStorageServer
- func (*UnimplementedStorageServer) ComposeObject(ctx context.Context, req *ComposeObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) CopyObject(ctx context.Context, req *CopyObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) DeleteBucket(ctx context.Context, req *DeleteBucketRequest) (*empty.Empty, error)
- func (*UnimplementedStorageServer) DeleteBucketAccessControl(ctx context.Context, req *DeleteBucketAccessControlRequest) (*empty.Empty, error)
- func (*UnimplementedStorageServer) DeleteDefaultObjectAccessControl(ctx context.Context, req *DeleteDefaultObjectAccessControlRequest) (*empty.Empty, error)
- func (*UnimplementedStorageServer) DeleteNotification(ctx context.Context, req *DeleteNotificationRequest) (*empty.Empty, error)
- func (*UnimplementedStorageServer) DeleteObject(ctx context.Context, req *DeleteObjectRequest) (*empty.Empty, error)
- func (*UnimplementedStorageServer) DeleteObjectAccessControl(ctx context.Context, req *DeleteObjectAccessControlRequest) (*empty.Empty, error)
- func (*UnimplementedStorageServer) GetBucket(ctx context.Context, req *GetBucketRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) GetBucketAccessControl(ctx context.Context, req *GetBucketAccessControlRequest) (*BucketAccessControl, error)
- func (*UnimplementedStorageServer) GetBucketIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedStorageServer) GetDefaultObjectAccessControl(ctx context.Context, req *GetDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) GetNotification(ctx context.Context, req *GetNotificationRequest) (*Notification, error)
- func (*UnimplementedStorageServer) GetObject(ctx context.Context, req *GetObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) GetObjectAccessControl(ctx context.Context, req *GetObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) GetObjectIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedStorageServer) GetObjectMedia(req *GetObjectMediaRequest, srv Storage_GetObjectMediaServer) error
- func (*UnimplementedStorageServer) GetServiceAccount(ctx context.Context, req *GetProjectServiceAccountRequest) (*ServiceAccount, error)
- func (*UnimplementedStorageServer) InsertBucket(ctx context.Context, req *InsertBucketRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) InsertBucketAccessControl(ctx context.Context, req *InsertBucketAccessControlRequest) (*BucketAccessControl, error)
- func (*UnimplementedStorageServer) InsertDefaultObjectAccessControl(ctx context.Context, req *InsertDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) InsertNotification(ctx context.Context, req *InsertNotificationRequest) (*Notification, error)
- func (*UnimplementedStorageServer) InsertObject(srv Storage_InsertObjectServer) error
- func (*UnimplementedStorageServer) InsertObjectAccessControl(ctx context.Context, req *InsertObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) ListBucketAccessControls(ctx context.Context, req *ListBucketAccessControlsRequest) (*ListBucketAccessControlsResponse, error)
- func (*UnimplementedStorageServer) ListBuckets(ctx context.Context, req *ListBucketsRequest) (*ListBucketsResponse, error)
- func (*UnimplementedStorageServer) ListDefaultObjectAccessControls(ctx context.Context, req *ListDefaultObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error)
- func (*UnimplementedStorageServer) ListNotifications(ctx context.Context, req *ListNotificationsRequest) (*ListNotificationsResponse, error)
- func (*UnimplementedStorageServer) ListObjectAccessControls(ctx context.Context, req *ListObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error)
- func (*UnimplementedStorageServer) ListObjects(ctx context.Context, req *ListObjectsRequest) (*ListObjectsResponse, error)
- func (*UnimplementedStorageServer) LockBucketRetentionPolicy(ctx context.Context, req *LockRetentionPolicyRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) PatchBucket(ctx context.Context, req *PatchBucketRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) PatchBucketAccessControl(ctx context.Context, req *PatchBucketAccessControlRequest) (*BucketAccessControl, error)
- func (*UnimplementedStorageServer) PatchDefaultObjectAccessControl(ctx context.Context, req *PatchDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) PatchObject(ctx context.Context, req *PatchObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) QueryWriteStatus(ctx context.Context, req *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error)
- func (*UnimplementedStorageServer) RewriteObject(ctx context.Context, req *RewriteObjectRequest) (*RewriteResponse, error)
- func (*UnimplementedStorageServer) SetBucketIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedStorageServer) SetObjectIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error)
- func (*UnimplementedStorageServer) StartResumableWrite(ctx context.Context, req *StartResumableWriteRequest) (*StartResumableWriteResponse, error)
- func (*UnimplementedStorageServer) StopChannel(ctx context.Context, req *StopChannelRequest) (*empty.Empty, error)
- func (*UnimplementedStorageServer) TestBucketIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
- func (*UnimplementedStorageServer) TestObjectIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
- func (*UnimplementedStorageServer) UpdateBucket(ctx context.Context, req *UpdateBucketRequest) (*Bucket, error)
- func (*UnimplementedStorageServer) UpdateBucketAccessControl(ctx context.Context, req *UpdateBucketAccessControlRequest) (*BucketAccessControl, error)
- func (*UnimplementedStorageServer) UpdateDefaultObjectAccessControl(ctx context.Context, req *UpdateDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) UpdateObject(ctx context.Context, req *UpdateObjectRequest) (*Object, error)
- func (*UnimplementedStorageServer) UpdateObjectAccessControl(ctx context.Context, req *UpdateObjectAccessControlRequest) (*ObjectAccessControl, error)
- func (*UnimplementedStorageServer) WatchAllObjects(ctx context.Context, req *WatchAllObjectsRequest) (*Channel, error)
- type UpdateBucketAccessControlRequest
- func (*UpdateBucketAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *UpdateBucketAccessControlRequest) GetBucket() string
- func (m *UpdateBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
- func (m *UpdateBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *UpdateBucketAccessControlRequest) GetEntity() string
- func (m *UpdateBucketAccessControlRequest) GetUserProject() string
- func (*UpdateBucketAccessControlRequest) ProtoMessage()
- func (m *UpdateBucketAccessControlRequest) Reset()
- func (m *UpdateBucketAccessControlRequest) String() string
- func (m *UpdateBucketAccessControlRequest) XXX_DiscardUnknown()
- func (m *UpdateBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateBucketAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *UpdateBucketAccessControlRequest) XXX_Size() int
- func (m *UpdateBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
- type UpdateBucketRequest
- func (*UpdateBucketRequest) Descriptor() ([]byte, []int)
- func (m *UpdateBucketRequest) GetBucket() string
- func (m *UpdateBucketRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *UpdateBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *UpdateBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *UpdateBucketRequest) GetMetadata() *Bucket
- func (m *UpdateBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
- func (m *UpdateBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
- func (m *UpdateBucketRequest) GetProjection() CommonEnums_Projection
- func (m *UpdateBucketRequest) GetUserProject() string
- func (*UpdateBucketRequest) ProtoMessage()
- func (m *UpdateBucketRequest) Reset()
- func (m *UpdateBucketRequest) String() string
- func (m *UpdateBucketRequest) XXX_DiscardUnknown()
- func (m *UpdateBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateBucketRequest) XXX_Merge(src proto.Message)
- func (m *UpdateBucketRequest) XXX_Size() int
- func (m *UpdateBucketRequest) XXX_Unmarshal(b []byte) error
- type UpdateDefaultObjectAccessControlRequest
- func (*UpdateDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *UpdateDefaultObjectAccessControlRequest) GetBucket() string
- func (m *UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *UpdateDefaultObjectAccessControlRequest) GetEntity() string
- func (m *UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (m *UpdateDefaultObjectAccessControlRequest) GetUserProject() string
- func (*UpdateDefaultObjectAccessControlRequest) ProtoMessage()
- func (m *UpdateDefaultObjectAccessControlRequest) Reset()
- func (m *UpdateDefaultObjectAccessControlRequest) String() string
- func (m *UpdateDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *UpdateDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *UpdateDefaultObjectAccessControlRequest) XXX_Size() int
- func (m *UpdateDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type UpdateObjectAccessControlRequest
- func (*UpdateObjectAccessControlRequest) Descriptor() ([]byte, []int)
- func (m *UpdateObjectAccessControlRequest) GetBucket() string
- func (m *UpdateObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *UpdateObjectAccessControlRequest) GetEntity() string
- func (m *UpdateObjectAccessControlRequest) GetGeneration() int64
- func (m *UpdateObjectAccessControlRequest) GetObject() string
- func (m *UpdateObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
- func (m *UpdateObjectAccessControlRequest) GetUpdateMask() *field_mask.FieldMask
- func (m *UpdateObjectAccessControlRequest) GetUserProject() string
- func (*UpdateObjectAccessControlRequest) ProtoMessage()
- func (m *UpdateObjectAccessControlRequest) Reset()
- func (m *UpdateObjectAccessControlRequest) String() string
- func (m *UpdateObjectAccessControlRequest) XXX_DiscardUnknown()
- func (m *UpdateObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateObjectAccessControlRequest) XXX_Merge(src proto.Message)
- func (m *UpdateObjectAccessControlRequest) XXX_Size() int
- func (m *UpdateObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
- type UpdateObjectRequest
- func (*UpdateObjectRequest) Descriptor() ([]byte, []int)
- func (m *UpdateObjectRequest) GetBucket() string
- func (m *UpdateObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
- func (m *UpdateObjectRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *UpdateObjectRequest) GetGeneration() int64
- func (m *UpdateObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
- func (m *UpdateObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
- func (m *UpdateObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
- func (m *UpdateObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
- func (m *UpdateObjectRequest) GetMetadata() *Object
- func (m *UpdateObjectRequest) GetObject() string
- func (m *UpdateObjectRequest) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
- func (m *UpdateObjectRequest) GetProjection() CommonEnums_Projection
- func (m *UpdateObjectRequest) GetUserProject() string
- func (*UpdateObjectRequest) ProtoMessage()
- func (m *UpdateObjectRequest) Reset()
- func (m *UpdateObjectRequest) String() string
- func (m *UpdateObjectRequest) XXX_DiscardUnknown()
- func (m *UpdateObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateObjectRequest) XXX_Merge(src proto.Message)
- func (m *UpdateObjectRequest) XXX_Size() int
- func (m *UpdateObjectRequest) XXX_Unmarshal(b []byte) error
- type WatchAllObjectsRequest
- func (*WatchAllObjectsRequest) Descriptor() ([]byte, []int)
- func (m *WatchAllObjectsRequest) GetBucket() string
- func (m *WatchAllObjectsRequest) GetChannel() *Channel
- func (m *WatchAllObjectsRequest) GetCommonRequestParams() *CommonRequestParams
- func (m *WatchAllObjectsRequest) GetDelimiter() string
- func (m *WatchAllObjectsRequest) GetIncludeTrailingDelimiter() bool
- func (m *WatchAllObjectsRequest) GetMaxResults() int32
- func (m *WatchAllObjectsRequest) GetPageToken() string
- func (m *WatchAllObjectsRequest) GetPrefix() string
- func (m *WatchAllObjectsRequest) GetProjection() CommonEnums_Projection
- func (m *WatchAllObjectsRequest) GetUserProject() string
- func (m *WatchAllObjectsRequest) GetVersions() bool
- func (*WatchAllObjectsRequest) ProtoMessage()
- func (m *WatchAllObjectsRequest) Reset()
- func (m *WatchAllObjectsRequest) String() string
- func (m *WatchAllObjectsRequest) XXX_DiscardUnknown()
- func (m *WatchAllObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *WatchAllObjectsRequest) XXX_Merge(src proto.Message)
- func (m *WatchAllObjectsRequest) XXX_Size() int
- func (m *WatchAllObjectsRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
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",
}
var CommonEnums_PredefinedBucketAcl_value = map[string]int32{
"PREDEFINED_BUCKET_ACL_UNSPECIFIED": 0,
"BUCKET_ACL_AUTHENTICATED_READ": 1,
"BUCKET_ACL_PRIVATE": 2,
"BUCKET_ACL_PROJECT_PRIVATE": 3,
"BUCKET_ACL_PUBLIC_READ": 4,
"BUCKET_ACL_PUBLIC_READ_WRITE": 5,
}
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",
}
var CommonEnums_PredefinedObjectAcl_value = map[string]int32{
"PREDEFINED_OBJECT_ACL_UNSPECIFIED": 0,
"OBJECT_ACL_AUTHENTICATED_READ": 1,
"OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL": 2,
"OBJECT_ACL_BUCKET_OWNER_READ": 3,
"OBJECT_ACL_PRIVATE": 4,
"OBJECT_ACL_PROJECT_PRIVATE": 5,
"OBJECT_ACL_PUBLIC_READ": 6,
}
var CommonEnums_Projection_name = map[int32]string{
0: "PROJECTION_UNSPECIFIED",
1: "NO_ACL",
2: "FULL",
}
var CommonEnums_Projection_value = map[string]int32{
"PROJECTION_UNSPECIFIED": 0,
"NO_ACL": 1,
"FULL": 2,
}
var ServiceConstants_Values_name = map[int32]string{
0: "SIZE_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",
}
var ServiceConstants_Values_value = map[string]int32{
"SIZE_UNSPECIFIED": 0,
"MAX_READ_CHUNK_BYTES": 2097152,
"MAX_WRITE_CHUNK_BYTES": 2097152,
"MAX_OBJECT_SIZE_MB": 5242880,
"MAX_CUSTOM_METADATA_FIELD_NAME_BYTES": 1024,
"MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES": 4096,
"MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES": 8192,
"MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES": 20480,
"MAX_NOTIFICATION_CONFIGS_PER_BUCKET": 100,
"MAX_LIFECYCLE_RULES_PER_BUCKET": 100,
"MAX_NOTIFICATION_CUSTOM_ATTRIBUTES": 5,
"MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH": 256,
"MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH": 1024,
"MAX_LABELS_ENTRIES_COUNT": 64,
"MAX_LABELS_KEY_VALUE_LENGTH": 63,
"MAX_LABELS_KEY_VALUE_BYTES": 128,
"MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST": 1000,
"SPLIT_TOKEN_MAX_VALID_DAYS": 14,
}
Functions ¶
func RegisterStorageServer ¶
func RegisterStorageServer(s *grpc.Server, srv StorageServer)
Types ¶
type Bucket ¶
type Bucket struct { // Access controls on the bucket. Acl []*BucketAccessControl `protobuf:"bytes,1,rep,name=acl,proto3" json:"acl,omitempty"` // Default access controls to apply to new objects when no ACL is provided. DefaultObjectAcl []*ObjectAccessControl `protobuf:"bytes,2,rep,name=default_object_acl,json=defaultObjectAcl,proto3" json:"default_object_acl,omitempty"` // The bucket's lifecycle configuration. See // [https://developers.google.com/storage/docs/lifecycle]Lifecycle Management] // for more information. Lifecycle *Bucket_Lifecycle `protobuf:"bytes,3,opt,name=lifecycle,proto3" json:"lifecycle,omitempty"` // The creation time of the bucket in // [https://tools.ietf.org/html/rfc3339][RFC 3339] format. // Attempting to set this field will result in an error. TimeCreated *timestamp.Timestamp `protobuf:"bytes,4,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` // The ID of the bucket. For buckets, the `id` and `name` properties are the // same. // Attempting to update this field after the bucket is created will result in // an error. Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // The name of the bucket. // Attempting to update this field after the bucket is created will result in // an error. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` // The project number of the project the bucket belongs to. // Attempting to set this field will result in an error. ProjectNumber int64 `protobuf:"varint,7,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"` // The metadata generation of this bucket. // Attempting to set this field will result in an error. Metageneration int64 `protobuf:"varint,8,opt,name=metageneration,proto3" json:"metageneration,omitempty"` // The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing] // (CORS) configuration. Cors []*Bucket_Cors `protobuf:"bytes,9,rep,name=cors,proto3" json:"cors,omitempty"` // The location of the bucket. Object data for objects in the bucket resides // in physical storage within this region. Defaults to `US`. See the // [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's // guide] for the authoritative list. Attempting to update this field after // the bucket is created will result in an error. Location string `protobuf:"bytes,10,opt,name=location,proto3" json:"location,omitempty"` // The bucket's default storage class, used whenever no storageClass is // specified for a newly-created object. This defines how objects in the // bucket are stored and determines the SLA and the cost of storage. // If this value is not specified when the bucket is created, it will default // to `STANDARD`. For more information, see // https://developers.google.com/storage/docs/storage-classes. StorageClass string `protobuf:"bytes,11,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // HTTP 1.1 [https://tools.ietf.org/html/rfc7232#section-2.3"]Entity tag] // for the bucket. // Attempting to set this field will result in an error. Etag string `protobuf:"bytes,12,opt,name=etag,proto3" json:"etag,omitempty"` // The modification time of the bucket. // Attempting to set this field will result in an error. Updated *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated,proto3" json:"updated,omitempty"` // The default value for event-based hold on newly created objects in this // bucket. Event-based hold is a way to retain objects indefinitely until an // event occurs, signified by the // hold's release. After being released, such objects will be subject to // bucket-level retention (if any). One sample use case of this flag is for // banks to hold loan documents for at least 3 years after loan is paid in // full. Here, bucket-level retention is 3 years and the event is loan being // paid in full. In this example, these objects will be held intact for any // number of years until the event has occurred (event-based hold on the // object is released) and then 3 more years after that. That means retention // duration of the objects begins from the moment event-based hold // transitioned from true to false. Objects under event-based hold cannot be // deleted, overwritten or archived until the hold is removed. DefaultEventBasedHold bool `` /* 130-byte string literal not displayed */ // User-provided labels, in key/value pairs. Labels map[string]string `` /* 154-byte string literal not displayed */ // The bucket's website configuration, controlling how the service behaves // when accessing bucket contents as a web site. See the // [https://cloud.google.com/storage/docs/static-website][Static Website // Examples] for more information. Website *Bucket_Website `protobuf:"bytes,16,opt,name=website,proto3" json:"website,omitempty"` // The bucket's versioning configuration. Versioning *Bucket_Versioning `protobuf:"bytes,17,opt,name=versioning,proto3" json:"versioning,omitempty"` // The bucket's logging configuration, which defines the destination bucket // and optional name prefix for the current bucket's logs. Logging *Bucket_Logging `protobuf:"bytes,18,opt,name=logging,proto3" json:"logging,omitempty"` // The owner of the bucket. This is always the project team's owner group. Owner *Owner `protobuf:"bytes,19,opt,name=owner,proto3" json:"owner,omitempty"` // Encryption configuration for a bucket. Encryption *Bucket_Encryption `protobuf:"bytes,20,opt,name=encryption,proto3" json:"encryption,omitempty"` // The bucket's billing configuration. Billing *Bucket_Billing `protobuf:"bytes,21,opt,name=billing,proto3" json:"billing,omitempty"` // The bucket's retention policy. The retention policy enforces a minimum // retention time for all objects contained in the bucket, based on their // creation time. Any attempt to overwrite or delete objects younger than the // retention period will result in a PERMISSION_DENIED error. An unlocked // retention policy can be modified or removed from the bucket via a // storage.buckets.update operation. A locked retention policy cannot be // removed or shortened in duration for the lifetime of the bucket. // Attempting to remove or decrease period of a locked retention policy will // result in a PERMISSION_DENIED error. RetentionPolicy *Bucket_RetentionPolicy `protobuf:"bytes,22,opt,name=retention_policy,json=retentionPolicy,proto3" json:"retention_policy,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A bucket.
func (*Bucket) Descriptor ¶
func (*Bucket) GetAcl ¶
func (m *Bucket) GetAcl() []*BucketAccessControl
func (*Bucket) GetBilling ¶
func (m *Bucket) GetBilling() *Bucket_Billing
func (*Bucket) GetCors ¶
func (m *Bucket) GetCors() []*Bucket_Cors
func (*Bucket) GetDefaultEventBasedHold ¶
func (*Bucket) GetDefaultObjectAcl ¶
func (m *Bucket) GetDefaultObjectAcl() []*ObjectAccessControl
func (*Bucket) GetEncryption ¶
func (m *Bucket) GetEncryption() *Bucket_Encryption
func (*Bucket) GetLifecycle ¶
func (m *Bucket) GetLifecycle() *Bucket_Lifecycle
func (*Bucket) GetLocation ¶
func (*Bucket) GetLogging ¶
func (m *Bucket) GetLogging() *Bucket_Logging
func (*Bucket) GetMetageneration ¶
func (*Bucket) GetProjectNumber ¶
func (*Bucket) GetRetentionPolicy ¶
func (m *Bucket) GetRetentionPolicy() *Bucket_RetentionPolicy
func (*Bucket) GetStorageClass ¶
func (*Bucket) GetTimeCreated ¶
func (*Bucket) GetUpdated ¶
func (*Bucket) GetVersioning ¶
func (m *Bucket) GetVersioning() *Bucket_Versioning
func (*Bucket) GetWebsite ¶
func (m *Bucket) GetWebsite() *Bucket_Website
func (*Bucket) ProtoMessage ¶
func (*Bucket) ProtoMessage()
func (*Bucket) XXX_DiscardUnknown ¶
func (m *Bucket) XXX_DiscardUnknown()
func (*Bucket) XXX_Marshal ¶
func (*Bucket) XXX_Unmarshal ¶
type BucketAccessControl ¶
type BucketAccessControl struct { // The access permission for the entity. Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // HTTP 1.1 ["https://tools.ietf.org/html/rfc7232#section-2.3][Entity tag] // for the access-control entry. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // The ID of the access-control entry. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // The name of the bucket. Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission, in one of the following forms: // * `user-{userid}` // * `user-{email}` // * `group-{groupid}` // * `group-{email}` // * `domain-{domain}` // * `project-{team-projectid}` // * `allUsers` // * `allAuthenticatedUsers` // Examples: // * The user `liz@example.com` would be `user-liz@example.com`. // * The group `example@googlegroups.com` would be // `group-example@googlegroups.com` // * All members of the Google Apps for Business domain `example.com` would be // `domain-example.com` Entity string `protobuf:"bytes,6,opt,name=entity,proto3" json:"entity,omitempty"` // The ID for the entity, if any. EntityId string `protobuf:"bytes,7,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // The email address associated with the entity, if any. Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"` // The domain associated with the entity, if any. Domain string `protobuf:"bytes,9,opt,name=domain,proto3" json:"domain,omitempty"` // The project team associated with the entity, if any. ProjectTeam *ProjectTeam `protobuf:"bytes,10,opt,name=project_team,json=projectTeam,proto3" json:"project_team,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An access-control entry.
func (*BucketAccessControl) Descriptor ¶
func (*BucketAccessControl) Descriptor() ([]byte, []int)
func (*BucketAccessControl) GetBucket ¶
func (m *BucketAccessControl) GetBucket() string
func (*BucketAccessControl) GetDomain ¶
func (m *BucketAccessControl) GetDomain() string
func (*BucketAccessControl) GetEmail ¶
func (m *BucketAccessControl) GetEmail() string
func (*BucketAccessControl) GetEntity ¶
func (m *BucketAccessControl) GetEntity() string
func (*BucketAccessControl) GetEntityId ¶
func (m *BucketAccessControl) GetEntityId() string
func (*BucketAccessControl) GetEtag ¶
func (m *BucketAccessControl) GetEtag() string
func (*BucketAccessControl) GetId ¶
func (m *BucketAccessControl) GetId() string
func (*BucketAccessControl) GetProjectTeam ¶
func (m *BucketAccessControl) GetProjectTeam() *ProjectTeam
func (*BucketAccessControl) GetRole ¶
func (m *BucketAccessControl) GetRole() string
func (*BucketAccessControl) ProtoMessage ¶
func (*BucketAccessControl) ProtoMessage()
func (*BucketAccessControl) Reset ¶
func (m *BucketAccessControl) Reset()
func (*BucketAccessControl) String ¶
func (m *BucketAccessControl) String() string
func (*BucketAccessControl) XXX_DiscardUnknown ¶
func (m *BucketAccessControl) XXX_DiscardUnknown()
func (*BucketAccessControl) XXX_Marshal ¶
func (m *BucketAccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BucketAccessControl) XXX_Merge ¶
func (m *BucketAccessControl) XXX_Merge(src proto.Message)
func (*BucketAccessControl) XXX_Size ¶
func (m *BucketAccessControl) XXX_Size() int
func (*BucketAccessControl) XXX_Unmarshal ¶
func (m *BucketAccessControl) XXX_Unmarshal(b []byte) error
type Bucket_Billing ¶
type Bucket_Billing struct { // When set to true, Requester Pays is enabled for this bucket. RequesterPays bool `protobuf:"varint,1,opt,name=requester_pays,json=requesterPays,proto3" json:"requester_pays,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Billing properties of a bucket.
func (*Bucket_Billing) Descriptor ¶
func (*Bucket_Billing) Descriptor() ([]byte, []int)
func (*Bucket_Billing) GetRequesterPays ¶
func (m *Bucket_Billing) GetRequesterPays() bool
func (*Bucket_Billing) ProtoMessage ¶
func (*Bucket_Billing) ProtoMessage()
func (*Bucket_Billing) Reset ¶
func (m *Bucket_Billing) Reset()
func (*Bucket_Billing) String ¶
func (m *Bucket_Billing) String() string
func (*Bucket_Billing) XXX_DiscardUnknown ¶
func (m *Bucket_Billing) XXX_DiscardUnknown()
func (*Bucket_Billing) XXX_Marshal ¶
func (m *Bucket_Billing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Billing) XXX_Merge ¶
func (m *Bucket_Billing) XXX_Merge(src proto.Message)
func (*Bucket_Billing) XXX_Size ¶
func (m *Bucket_Billing) XXX_Size() int
func (*Bucket_Billing) XXX_Unmarshal ¶
func (m *Bucket_Billing) XXX_Unmarshal(b []byte) error
type Bucket_Cors ¶
type Bucket_Cors struct { // The list of Origins eligible to receive CORS response headers. See // [https://tools.ietf.org/html/rfc6454][RFC 6454] for more on origins. // Note: "*" is permitted in the list of origins, and means "any Origin". Origin []string `protobuf:"bytes,1,rep,name=origin,proto3" json:"origin,omitempty"` // The list of HTTP methods on which to include CORS response headers, // (`GET`, `OPTIONS`, `POST`, etc) Note: "*" is permitted in the list of // methods, and means "any method". Method []string `protobuf:"bytes,2,rep,name=method,proto3" json:"method,omitempty"` // The list of HTTP headers other than the // [https://www.w3.org/TR/cors/#simple-response-header][simple response // headers] to give permission for the user-agent to share across domains. ResponseHeader []string `protobuf:"bytes,3,rep,name=response_header,json=responseHeader,proto3" json:"response_header,omitempty"` // The value, in seconds, to return in the // [https://www.w3.org/TR/cors/#access-control-max-age-response-header][Access-Control-Max-Age // header] used in preflight responses. MaxAgeSeconds int32 `protobuf:"varint,4,opt,name=max_age_seconds,json=maxAgeSeconds,proto3" json:"max_age_seconds,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Cross-Origin Response sharing (CORS) properties for a bucket. For more on GCS and CORS, see https://cloud.google.com/storage/docs/cross-origin. For more on CORS in general, see https://tools.ietf.org/html/rfc6454.
func (*Bucket_Cors) Descriptor ¶
func (*Bucket_Cors) Descriptor() ([]byte, []int)
func (*Bucket_Cors) GetMaxAgeSeconds ¶
func (m *Bucket_Cors) GetMaxAgeSeconds() int32
func (*Bucket_Cors) GetMethod ¶
func (m *Bucket_Cors) GetMethod() []string
func (*Bucket_Cors) GetOrigin ¶
func (m *Bucket_Cors) GetOrigin() []string
func (*Bucket_Cors) GetResponseHeader ¶
func (m *Bucket_Cors) GetResponseHeader() []string
func (*Bucket_Cors) ProtoMessage ¶
func (*Bucket_Cors) ProtoMessage()
func (*Bucket_Cors) Reset ¶
func (m *Bucket_Cors) Reset()
func (*Bucket_Cors) String ¶
func (m *Bucket_Cors) String() string
func (*Bucket_Cors) XXX_DiscardUnknown ¶
func (m *Bucket_Cors) XXX_DiscardUnknown()
func (*Bucket_Cors) XXX_Marshal ¶
func (m *Bucket_Cors) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Cors) XXX_Merge ¶
func (m *Bucket_Cors) XXX_Merge(src proto.Message)
func (*Bucket_Cors) XXX_Size ¶
func (m *Bucket_Cors) XXX_Size() int
func (*Bucket_Cors) XXX_Unmarshal ¶
func (m *Bucket_Cors) XXX_Unmarshal(b []byte) error
type Bucket_Encryption ¶
type Bucket_Encryption struct { // A Cloud KMS key that will be used to encrypt objects inserted into this // bucket, if no encryption method is specified. DefaultKmsKeyName string `protobuf:"bytes,1,opt,name=default_kms_key_name,json=defaultKmsKeyName,proto3" json:"default_kms_key_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Encryption properties of a bucket.
func (*Bucket_Encryption) Descriptor ¶
func (*Bucket_Encryption) Descriptor() ([]byte, []int)
func (*Bucket_Encryption) GetDefaultKmsKeyName ¶
func (m *Bucket_Encryption) GetDefaultKmsKeyName() string
func (*Bucket_Encryption) ProtoMessage ¶
func (*Bucket_Encryption) ProtoMessage()
func (*Bucket_Encryption) Reset ¶
func (m *Bucket_Encryption) Reset()
func (*Bucket_Encryption) String ¶
func (m *Bucket_Encryption) String() string
func (*Bucket_Encryption) XXX_DiscardUnknown ¶
func (m *Bucket_Encryption) XXX_DiscardUnknown()
func (*Bucket_Encryption) XXX_Marshal ¶
func (m *Bucket_Encryption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Encryption) XXX_Merge ¶
func (m *Bucket_Encryption) XXX_Merge(src proto.Message)
func (*Bucket_Encryption) XXX_Size ¶
func (m *Bucket_Encryption) XXX_Size() int
func (*Bucket_Encryption) XXX_Unmarshal ¶
func (m *Bucket_Encryption) XXX_Unmarshal(b []byte) error
type Bucket_Lifecycle ¶
type Bucket_Lifecycle struct { // A lifecycle management rule, which is made of an action to take and the // condition(s) under which the action will be taken. Rule []*Bucket_Lifecycle_Rule `protobuf:"bytes,1,rep,name=rule,proto3" json:"rule,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Lifecycle properties of a bucket. For more information, see https://cloud.google.com/storage/docs/lifecycle.
func (*Bucket_Lifecycle) Descriptor ¶
func (*Bucket_Lifecycle) Descriptor() ([]byte, []int)
func (*Bucket_Lifecycle) GetRule ¶
func (m *Bucket_Lifecycle) GetRule() []*Bucket_Lifecycle_Rule
func (*Bucket_Lifecycle) ProtoMessage ¶
func (*Bucket_Lifecycle) ProtoMessage()
func (*Bucket_Lifecycle) Reset ¶
func (m *Bucket_Lifecycle) Reset()
func (*Bucket_Lifecycle) String ¶
func (m *Bucket_Lifecycle) String() string
func (*Bucket_Lifecycle) XXX_DiscardUnknown ¶
func (m *Bucket_Lifecycle) XXX_DiscardUnknown()
func (*Bucket_Lifecycle) XXX_Marshal ¶
func (m *Bucket_Lifecycle) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Lifecycle) XXX_Merge ¶
func (m *Bucket_Lifecycle) XXX_Merge(src proto.Message)
func (*Bucket_Lifecycle) XXX_Size ¶
func (m *Bucket_Lifecycle) XXX_Size() int
func (*Bucket_Lifecycle) XXX_Unmarshal ¶
func (m *Bucket_Lifecycle) XXX_Unmarshal(b []byte) error
type Bucket_Lifecycle_Rule ¶
type Bucket_Lifecycle_Rule struct { // The action to take. Action *Bucket_Lifecycle_Rule_Action `protobuf:"bytes,1,opt,name=action,proto3" json:"action,omitempty"` // The condition(s) under which the action will be taken. Condition *Bucket_Lifecycle_Rule_Condition `protobuf:"bytes,2,opt,name=condition,proto3" json:"condition,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A lifecycle Rule, combining an action to take on an object and a condition which will trigger that action.
func (*Bucket_Lifecycle_Rule) Descriptor ¶
func (*Bucket_Lifecycle_Rule) Descriptor() ([]byte, []int)
func (*Bucket_Lifecycle_Rule) GetAction ¶
func (m *Bucket_Lifecycle_Rule) GetAction() *Bucket_Lifecycle_Rule_Action
func (*Bucket_Lifecycle_Rule) GetCondition ¶
func (m *Bucket_Lifecycle_Rule) GetCondition() *Bucket_Lifecycle_Rule_Condition
func (*Bucket_Lifecycle_Rule) ProtoMessage ¶
func (*Bucket_Lifecycle_Rule) ProtoMessage()
func (*Bucket_Lifecycle_Rule) Reset ¶
func (m *Bucket_Lifecycle_Rule) Reset()
func (*Bucket_Lifecycle_Rule) String ¶
func (m *Bucket_Lifecycle_Rule) String() string
func (*Bucket_Lifecycle_Rule) XXX_DiscardUnknown ¶
func (m *Bucket_Lifecycle_Rule) XXX_DiscardUnknown()
func (*Bucket_Lifecycle_Rule) XXX_Marshal ¶
func (m *Bucket_Lifecycle_Rule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Lifecycle_Rule) XXX_Merge ¶
func (m *Bucket_Lifecycle_Rule) XXX_Merge(src proto.Message)
func (*Bucket_Lifecycle_Rule) XXX_Size ¶
func (m *Bucket_Lifecycle_Rule) XXX_Size() int
func (*Bucket_Lifecycle_Rule) XXX_Unmarshal ¶
func (m *Bucket_Lifecycle_Rule) XXX_Unmarshal(b []byte) error
type Bucket_Lifecycle_Rule_Action ¶
type Bucket_Lifecycle_Rule_Action struct { // Type of the action. Currently, only `Delete` and // `SetStorageClass` are supported. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Target storage class. Required iff the type of the action is // SetStorageClass. StorageClass string `protobuf:"bytes,2,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An action to take on an object.
func (*Bucket_Lifecycle_Rule_Action) Descriptor ¶
func (*Bucket_Lifecycle_Rule_Action) Descriptor() ([]byte, []int)
func (*Bucket_Lifecycle_Rule_Action) GetStorageClass ¶
func (m *Bucket_Lifecycle_Rule_Action) GetStorageClass() string
func (*Bucket_Lifecycle_Rule_Action) GetType ¶
func (m *Bucket_Lifecycle_Rule_Action) GetType() string
func (*Bucket_Lifecycle_Rule_Action) ProtoMessage ¶
func (*Bucket_Lifecycle_Rule_Action) ProtoMessage()
func (*Bucket_Lifecycle_Rule_Action) Reset ¶
func (m *Bucket_Lifecycle_Rule_Action) Reset()
func (*Bucket_Lifecycle_Rule_Action) String ¶
func (m *Bucket_Lifecycle_Rule_Action) String() string
func (*Bucket_Lifecycle_Rule_Action) XXX_DiscardUnknown ¶
func (m *Bucket_Lifecycle_Rule_Action) XXX_DiscardUnknown()
func (*Bucket_Lifecycle_Rule_Action) XXX_Marshal ¶
func (m *Bucket_Lifecycle_Rule_Action) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Lifecycle_Rule_Action) XXX_Merge ¶
func (m *Bucket_Lifecycle_Rule_Action) XXX_Merge(src proto.Message)
func (*Bucket_Lifecycle_Rule_Action) XXX_Size ¶
func (m *Bucket_Lifecycle_Rule_Action) XXX_Size() int
func (*Bucket_Lifecycle_Rule_Action) XXX_Unmarshal ¶
func (m *Bucket_Lifecycle_Rule_Action) XXX_Unmarshal(b []byte) error
type Bucket_Lifecycle_Rule_Condition ¶
type Bucket_Lifecycle_Rule_Condition struct { // Age of an object (in days). This condition is satisfied when an // object reaches the specified age. Age int32 `protobuf:"varint,1,opt,name=age,proto3" json:"age,omitempty"` // A date in [RFC 3339][1] format with only the date part (for // instance, "2013-01-15"). This condition is satisfied when an // object is created before midnight of the specified date in UTC. // [1]: https://tools.ietf.org/html/rfc3339 CreatedBefore *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"` // Relevant only for versioned objects. If the value is // `true`, this condition matches live objects; if the value // is `false`, it matches archived objects. IsLive *wrappers.BoolValue `protobuf:"bytes,3,opt,name=is_live,json=isLive,proto3" json:"is_live,omitempty"` // Relevant only for versioned objects. If the value is N, this // condition is satisfied when there are at least N versions (including // the live version) newer than this version of the object. NumNewerVersions int32 `protobuf:"varint,4,opt,name=num_newer_versions,json=numNewerVersions,proto3" json:"num_newer_versions,omitempty"` // Objects having any of the storage classes specified by this condition // will be matched. Values include `MULTI_REGIONAL`, `REGIONAL`, // `NEARLINE`, `COLDLINE`, `STANDARD`, and // `DURABLE_REDUCED_AVAILABILITY`. MatchesStorageClass []string `protobuf:"bytes,5,rep,name=matches_storage_class,json=matchesStorageClass,proto3" json:"matches_storage_class,omitempty"` // A regular expression that satisfies the RE2 syntax. This condition is // satisfied when the name of the object matches the RE2 pattern. Note: // This feature is currently in the "Early Access" launch stage and is // only available to a whitelisted set of users; that means that this // feature may be changed in backward-incompatible ways and that it is // not guaranteed to be released. MatchesPattern string `protobuf:"bytes,6,opt,name=matches_pattern,json=matchesPattern,proto3" json:"matches_pattern,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A condition of an object which triggers some action.
func (*Bucket_Lifecycle_Rule_Condition) Descriptor ¶
func (*Bucket_Lifecycle_Rule_Condition) Descriptor() ([]byte, []int)
func (*Bucket_Lifecycle_Rule_Condition) GetAge ¶
func (m *Bucket_Lifecycle_Rule_Condition) GetAge() int32
func (*Bucket_Lifecycle_Rule_Condition) GetCreatedBefore ¶
func (m *Bucket_Lifecycle_Rule_Condition) GetCreatedBefore() *timestamp.Timestamp
func (*Bucket_Lifecycle_Rule_Condition) GetIsLive ¶
func (m *Bucket_Lifecycle_Rule_Condition) GetIsLive() *wrappers.BoolValue
func (*Bucket_Lifecycle_Rule_Condition) GetMatchesPattern ¶
func (m *Bucket_Lifecycle_Rule_Condition) GetMatchesPattern() string
func (*Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass ¶
func (m *Bucket_Lifecycle_Rule_Condition) GetMatchesStorageClass() []string
func (*Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions ¶
func (m *Bucket_Lifecycle_Rule_Condition) GetNumNewerVersions() int32
func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage ¶
func (*Bucket_Lifecycle_Rule_Condition) ProtoMessage()
func (*Bucket_Lifecycle_Rule_Condition) Reset ¶
func (m *Bucket_Lifecycle_Rule_Condition) Reset()
func (*Bucket_Lifecycle_Rule_Condition) String ¶
func (m *Bucket_Lifecycle_Rule_Condition) String() string
func (*Bucket_Lifecycle_Rule_Condition) XXX_DiscardUnknown ¶
func (m *Bucket_Lifecycle_Rule_Condition) XXX_DiscardUnknown()
func (*Bucket_Lifecycle_Rule_Condition) XXX_Marshal ¶
func (m *Bucket_Lifecycle_Rule_Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Lifecycle_Rule_Condition) XXX_Merge ¶
func (m *Bucket_Lifecycle_Rule_Condition) XXX_Merge(src proto.Message)
func (*Bucket_Lifecycle_Rule_Condition) XXX_Size ¶
func (m *Bucket_Lifecycle_Rule_Condition) XXX_Size() int
func (*Bucket_Lifecycle_Rule_Condition) XXX_Unmarshal ¶
func (m *Bucket_Lifecycle_Rule_Condition) XXX_Unmarshal(b []byte) error
type Bucket_Logging ¶
type Bucket_Logging struct { // The destination bucket where the current bucket's logs should be placed. LogBucket string `protobuf:"bytes,1,opt,name=log_bucket,json=logBucket,proto3" json:"log_bucket,omitempty"` // A prefix for log object names. LogObjectPrefix string `protobuf:"bytes,2,opt,name=log_object_prefix,json=logObjectPrefix,proto3" json:"log_object_prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Logging-related properties of a bucket.
func (*Bucket_Logging) Descriptor ¶
func (*Bucket_Logging) Descriptor() ([]byte, []int)
func (*Bucket_Logging) GetLogBucket ¶
func (m *Bucket_Logging) GetLogBucket() string
func (*Bucket_Logging) GetLogObjectPrefix ¶
func (m *Bucket_Logging) GetLogObjectPrefix() string
func (*Bucket_Logging) ProtoMessage ¶
func (*Bucket_Logging) ProtoMessage()
func (*Bucket_Logging) Reset ¶
func (m *Bucket_Logging) Reset()
func (*Bucket_Logging) String ¶
func (m *Bucket_Logging) String() string
func (*Bucket_Logging) XXX_DiscardUnknown ¶
func (m *Bucket_Logging) XXX_DiscardUnknown()
func (*Bucket_Logging) XXX_Marshal ¶
func (m *Bucket_Logging) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Logging) XXX_Merge ¶
func (m *Bucket_Logging) XXX_Merge(src proto.Message)
func (*Bucket_Logging) XXX_Size ¶
func (m *Bucket_Logging) XXX_Size() int
func (*Bucket_Logging) XXX_Unmarshal ¶
func (m *Bucket_Logging) XXX_Unmarshal(b []byte) error
type Bucket_RetentionPolicy ¶
type Bucket_RetentionPolicy struct { // Server-determined value that indicates the time from which policy was // enforced and effective. This value is in // [https://tools.ietf.org/html/rfc3339][RFC 3339] format. EffectiveTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=effective_time,json=effectiveTime,proto3" json:"effective_time,omitempty"` // Once locked, an object retention policy cannot be modified. IsLocked bool `protobuf:"varint,2,opt,name=is_locked,json=isLocked,proto3" json:"is_locked,omitempty"` // The duration in seconds that objects need to be retained. Retention // duration must be greater than zero and less than 100 years. Note that // enforcement of retention periods less than a day is not guaranteed. Such // periods should only be used for testing purposes. RetentionPeriod int64 `protobuf:"varint,3,opt,name=retention_period,json=retentionPeriod,proto3" json:"retention_period,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Retention policy properties of a bucket.
func (*Bucket_RetentionPolicy) Descriptor ¶
func (*Bucket_RetentionPolicy) Descriptor() ([]byte, []int)
func (*Bucket_RetentionPolicy) GetEffectiveTime ¶
func (m *Bucket_RetentionPolicy) GetEffectiveTime() *timestamp.Timestamp
func (*Bucket_RetentionPolicy) GetIsLocked ¶
func (m *Bucket_RetentionPolicy) GetIsLocked() bool
func (*Bucket_RetentionPolicy) GetRetentionPeriod ¶
func (m *Bucket_RetentionPolicy) GetRetentionPeriod() int64
func (*Bucket_RetentionPolicy) ProtoMessage ¶
func (*Bucket_RetentionPolicy) ProtoMessage()
func (*Bucket_RetentionPolicy) Reset ¶
func (m *Bucket_RetentionPolicy) Reset()
func (*Bucket_RetentionPolicy) String ¶
func (m *Bucket_RetentionPolicy) String() string
func (*Bucket_RetentionPolicy) XXX_DiscardUnknown ¶
func (m *Bucket_RetentionPolicy) XXX_DiscardUnknown()
func (*Bucket_RetentionPolicy) XXX_Marshal ¶
func (m *Bucket_RetentionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_RetentionPolicy) XXX_Merge ¶
func (m *Bucket_RetentionPolicy) XXX_Merge(src proto.Message)
func (*Bucket_RetentionPolicy) XXX_Size ¶
func (m *Bucket_RetentionPolicy) XXX_Size() int
func (*Bucket_RetentionPolicy) XXX_Unmarshal ¶
func (m *Bucket_RetentionPolicy) XXX_Unmarshal(b []byte) error
type Bucket_Versioning ¶
type Bucket_Versioning struct { // While set to true, versioning is fully enabled for this bucket. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Properties of a bucket related to versioning. For more on GCS versioning, see https://cloud.google.com/storage/docs/object-versioning.
func (*Bucket_Versioning) Descriptor ¶
func (*Bucket_Versioning) Descriptor() ([]byte, []int)
func (*Bucket_Versioning) GetEnabled ¶
func (m *Bucket_Versioning) GetEnabled() bool
func (*Bucket_Versioning) ProtoMessage ¶
func (*Bucket_Versioning) ProtoMessage()
func (*Bucket_Versioning) Reset ¶
func (m *Bucket_Versioning) Reset()
func (*Bucket_Versioning) String ¶
func (m *Bucket_Versioning) String() string
func (*Bucket_Versioning) XXX_DiscardUnknown ¶
func (m *Bucket_Versioning) XXX_DiscardUnknown()
func (*Bucket_Versioning) XXX_Marshal ¶
func (m *Bucket_Versioning) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Versioning) XXX_Merge ¶
func (m *Bucket_Versioning) XXX_Merge(src proto.Message)
func (*Bucket_Versioning) XXX_Size ¶
func (m *Bucket_Versioning) XXX_Size() int
func (*Bucket_Versioning) XXX_Unmarshal ¶
func (m *Bucket_Versioning) XXX_Unmarshal(b []byte) error
type Bucket_Website ¶
type Bucket_Website struct { // If the requested object path is missing, the service will ensure the path // has a trailing '/', append this suffix, and attempt to retrieve the // resulting object. This allows the creation of `index.html` // objects to represent directory pages. MainPageSuffix string `protobuf:"bytes,1,opt,name=main_page_suffix,json=mainPageSuffix,proto3" json:"main_page_suffix,omitempty"` // If the requested object path is missing, and any // `mainPageSuffix` object is missing, if applicable, the service // will return the named object from this bucket as the content for a // [https://tools.ietf.org/html/rfc7231#section-6.5.4][404 Not Found] // result. NotFoundPage string `protobuf:"bytes,2,opt,name=not_found_page,json=notFoundPage,proto3" json:"not_found_page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Properties of a bucket related to accessing the contents as a static website. For more on hosting a static website via GCS, see https://cloud.google.com/storage/docs/hosting-static-website.
func (*Bucket_Website) Descriptor ¶
func (*Bucket_Website) Descriptor() ([]byte, []int)
func (*Bucket_Website) GetMainPageSuffix ¶
func (m *Bucket_Website) GetMainPageSuffix() string
func (*Bucket_Website) GetNotFoundPage ¶
func (m *Bucket_Website) GetNotFoundPage() string
func (*Bucket_Website) ProtoMessage ¶
func (*Bucket_Website) ProtoMessage()
func (*Bucket_Website) Reset ¶
func (m *Bucket_Website) Reset()
func (*Bucket_Website) String ¶
func (m *Bucket_Website) String() string
func (*Bucket_Website) XXX_DiscardUnknown ¶
func (m *Bucket_Website) XXX_DiscardUnknown()
func (*Bucket_Website) XXX_Marshal ¶
func (m *Bucket_Website) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Bucket_Website) XXX_Merge ¶
func (m *Bucket_Website) XXX_Merge(src proto.Message)
func (*Bucket_Website) XXX_Size ¶
func (m *Bucket_Website) XXX_Size() int
func (*Bucket_Website) XXX_Unmarshal ¶
func (m *Bucket_Website) XXX_Unmarshal(b []byte) error
type Channel ¶
type Channel struct { // A UUID or similar unique string that identifies this channel. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // An opaque ID that identifies the resource being watched on this channel. // Stable across different API versions. ResourceId string `protobuf:"bytes,2,opt,name=resource_id,json=resourceId,proto3" json:"resource_id,omitempty"` // A version-specific identifier for the watched resource. ResourceUri string `protobuf:"bytes,3,opt,name=resource_uri,json=resourceUri,proto3" json:"resource_uri,omitempty"` // An arbitrary string delivered to the target address with each notification // delivered over this channel. Optional. Token string `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` // Date and time of notification channel expiration. Optional. Expiration *timestamp.Timestamp `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` // The type of delivery mechanism used for this channel. Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"` // The address where notifications are delivered for this channel. Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` // Additional parameters controlling delivery channel behavior. Optional. Params map[string]string `` /* 153-byte string literal not displayed */ // A Boolean value to indicate whether payload is wanted. Optional. Payload bool `protobuf:"varint,9,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An notification channel used to watch for resource changes.
func (*Channel) Descriptor ¶
func (*Channel) GetAddress ¶
func (*Channel) GetExpiration ¶
func (*Channel) GetPayload ¶
func (*Channel) GetResourceId ¶
func (*Channel) GetResourceUri ¶
func (*Channel) ProtoMessage ¶
func (*Channel) ProtoMessage()
func (*Channel) XXX_DiscardUnknown ¶
func (m *Channel) XXX_DiscardUnknown()
func (*Channel) XXX_Marshal ¶
func (*Channel) XXX_Unmarshal ¶
type ChecksummedData ¶
type ChecksummedData struct { // The data. Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // CRC32C digest of the contents. Crc32C *wrappers.UInt32Value `protobuf:"bytes,2,opt,name=crc32c,proto3" json:"crc32c,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message used to convey content being read or written, along with its checksum.
func (*ChecksummedData) Descriptor ¶
func (*ChecksummedData) Descriptor() ([]byte, []int)
func (*ChecksummedData) GetContent ¶
func (m *ChecksummedData) GetContent() []byte
func (*ChecksummedData) GetCrc32C ¶
func (m *ChecksummedData) GetCrc32C() *wrappers.UInt32Value
func (*ChecksummedData) ProtoMessage ¶
func (*ChecksummedData) ProtoMessage()
func (*ChecksummedData) Reset ¶
func (m *ChecksummedData) Reset()
func (*ChecksummedData) String ¶
func (m *ChecksummedData) String() string
func (*ChecksummedData) XXX_DiscardUnknown ¶
func (m *ChecksummedData) XXX_DiscardUnknown()
func (*ChecksummedData) XXX_Marshal ¶
func (m *ChecksummedData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChecksummedData) XXX_Merge ¶
func (m *ChecksummedData) XXX_Merge(src proto.Message)
func (*ChecksummedData) XXX_Size ¶
func (m *ChecksummedData) XXX_Size() int
func (*ChecksummedData) XXX_Unmarshal ¶
func (m *ChecksummedData) XXX_Unmarshal(b []byte) error
type CommonEnums ¶
type CommonEnums struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A collection of enums used in multiple places throughout the API.
func (*CommonEnums) Descriptor ¶
func (*CommonEnums) Descriptor() ([]byte, []int)
func (*CommonEnums) ProtoMessage ¶
func (*CommonEnums) ProtoMessage()
func (*CommonEnums) Reset ¶
func (m *CommonEnums) Reset()
func (*CommonEnums) String ¶
func (m *CommonEnums) String() string
func (*CommonEnums) XXX_DiscardUnknown ¶
func (m *CommonEnums) XXX_DiscardUnknown()
func (*CommonEnums) XXX_Marshal ¶
func (m *CommonEnums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommonEnums) XXX_Merge ¶
func (m *CommonEnums) XXX_Merge(src proto.Message)
func (*CommonEnums) XXX_Size ¶
func (m *CommonEnums) XXX_Size() int
func (*CommonEnums) XXX_Unmarshal ¶
func (m *CommonEnums) XXX_Unmarshal(b []byte) error
type CommonEnums_PredefinedBucketAcl ¶
type CommonEnums_PredefinedBucketAcl int32
Predefined or "canned" aliases for sets of specific bucket ACL entries.
const ( // No predefined ACL. CommonEnums_PREDEFINED_BUCKET_ACL_UNSPECIFIED CommonEnums_PredefinedBucketAcl = 0 // Project team owners get `OWNER` access, and // `allAuthenticatedUsers` get `READER` access. CommonEnums_BUCKET_ACL_AUTHENTICATED_READ CommonEnums_PredefinedBucketAcl = 1 // Project team owners get `OWNER` access. CommonEnums_BUCKET_ACL_PRIVATE CommonEnums_PredefinedBucketAcl = 2 // Project team members get access according to their roles. CommonEnums_BUCKET_ACL_PROJECT_PRIVATE CommonEnums_PredefinedBucketAcl = 3 // Project team owners get `OWNER` access, and // `allUsers` get `READER` access. CommonEnums_BUCKET_ACL_PUBLIC_READ CommonEnums_PredefinedBucketAcl = 4 // Project team owners get `OWNER` access, and // `allUsers` get `WRITER` access. CommonEnums_BUCKET_ACL_PUBLIC_READ_WRITE CommonEnums_PredefinedBucketAcl = 5 )
func (CommonEnums_PredefinedBucketAcl) EnumDescriptor ¶
func (CommonEnums_PredefinedBucketAcl) EnumDescriptor() ([]byte, []int)
func (CommonEnums_PredefinedBucketAcl) String ¶
func (x CommonEnums_PredefinedBucketAcl) String() string
type CommonEnums_PredefinedObjectAcl ¶
type CommonEnums_PredefinedObjectAcl int32
Predefined or "canned" aliases for sets of specific object ACL entries.
const ( // No predefined ACL. CommonEnums_PREDEFINED_OBJECT_ACL_UNSPECIFIED CommonEnums_PredefinedObjectAcl = 0 // Object owner gets `OWNER` access, and // `allAuthenticatedUsers` get `READER` access. CommonEnums_OBJECT_ACL_AUTHENTICATED_READ CommonEnums_PredefinedObjectAcl = 1 // Object owner gets `OWNER` access, and project team owners get // `OWNER` access. CommonEnums_OBJECT_ACL_BUCKET_OWNER_FULL_CONTROL CommonEnums_PredefinedObjectAcl = 2 // Object owner gets `OWNER` access, and project team owners get // `READER` access. CommonEnums_OBJECT_ACL_BUCKET_OWNER_READ CommonEnums_PredefinedObjectAcl = 3 // Object owner gets `OWNER` access. CommonEnums_OBJECT_ACL_PRIVATE CommonEnums_PredefinedObjectAcl = 4 // Object owner gets `OWNER` access, and project team members get // access according to their roles. CommonEnums_OBJECT_ACL_PROJECT_PRIVATE CommonEnums_PredefinedObjectAcl = 5 // Object owner gets `OWNER` access, and `allUsers` // get `READER` access. CommonEnums_OBJECT_ACL_PUBLIC_READ CommonEnums_PredefinedObjectAcl = 6 )
func (CommonEnums_PredefinedObjectAcl) EnumDescriptor ¶
func (CommonEnums_PredefinedObjectAcl) EnumDescriptor() ([]byte, []int)
func (CommonEnums_PredefinedObjectAcl) String ¶
func (x CommonEnums_PredefinedObjectAcl) String() string
type CommonEnums_Projection ¶
type CommonEnums_Projection int32
A set of properties to return in a response.
const ( // No specified projection. CommonEnums_PROJECTION_UNSPECIFIED CommonEnums_Projection = 0 // Omit `owner`, `acl`, and `defaultObjectAcl` properties. CommonEnums_NO_ACL CommonEnums_Projection = 1 // Include all properties. CommonEnums_FULL CommonEnums_Projection = 2 )
func (CommonEnums_Projection) EnumDescriptor ¶
func (CommonEnums_Projection) EnumDescriptor() ([]byte, []int)
func (CommonEnums_Projection) String ¶
func (x CommonEnums_Projection) String() string
type CommonObjectRequestParams ¶
type CommonObjectRequestParams struct { // Encryption algorithm used with Customer-Supplied Encryption Keys feature. EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"` // Encryption key used with Customer-Supplied Encryption Keys feature. EncryptionKey string `protobuf:"bytes,2,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"` // SHA256 hash of encryption key used with Customer-Supplied Encryption Keys // feature. EncryptionKeySha256 string `protobuf:"bytes,3,opt,name=encryption_key_sha256,json=encryptionKeySha256,proto3" json:"encryption_key_sha256,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Parameters that can be passed to any object request.
func (*CommonObjectRequestParams) Descriptor ¶
func (*CommonObjectRequestParams) Descriptor() ([]byte, []int)
func (*CommonObjectRequestParams) GetEncryptionAlgorithm ¶
func (m *CommonObjectRequestParams) GetEncryptionAlgorithm() string
func (*CommonObjectRequestParams) GetEncryptionKey ¶
func (m *CommonObjectRequestParams) GetEncryptionKey() string
func (*CommonObjectRequestParams) GetEncryptionKeySha256 ¶
func (m *CommonObjectRequestParams) GetEncryptionKeySha256() string
func (*CommonObjectRequestParams) ProtoMessage ¶
func (*CommonObjectRequestParams) ProtoMessage()
func (*CommonObjectRequestParams) Reset ¶
func (m *CommonObjectRequestParams) Reset()
func (*CommonObjectRequestParams) String ¶
func (m *CommonObjectRequestParams) String() string
func (*CommonObjectRequestParams) XXX_DiscardUnknown ¶
func (m *CommonObjectRequestParams) XXX_DiscardUnknown()
func (*CommonObjectRequestParams) XXX_Marshal ¶
func (m *CommonObjectRequestParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommonObjectRequestParams) XXX_Merge ¶
func (m *CommonObjectRequestParams) XXX_Merge(src proto.Message)
func (*CommonObjectRequestParams) XXX_Size ¶
func (m *CommonObjectRequestParams) XXX_Size() int
func (*CommonObjectRequestParams) XXX_Unmarshal ¶
func (m *CommonObjectRequestParams) XXX_Unmarshal(b []byte) error
type CommonRequestParams ¶
type CommonRequestParams struct { // Required 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"` // IP address of the end user for whom the API call is being made. // Lets you enforce per-user quotas when calling the API from a server-side // application. // (!-- UserIp string `protobuf:"bytes,3,opt,name=user_ip,json=userIp,proto3" json:"user_ip,omitempty"` // Subset of fields to include in the response. Fields *field_mask.FieldMask `protobuf:"bytes,4,opt,name=fields,proto3" json:"fields,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Parameters that can be passed to any request.
func (*CommonRequestParams) Descriptor ¶
func (*CommonRequestParams) Descriptor() ([]byte, []int)
func (*CommonRequestParams) GetFields ¶
func (m *CommonRequestParams) GetFields() *field_mask.FieldMask
func (*CommonRequestParams) GetQuotaUser ¶
func (m *CommonRequestParams) GetQuotaUser() string
func (*CommonRequestParams) GetUserIp ¶
func (m *CommonRequestParams) GetUserIp() string
func (*CommonRequestParams) GetUserProject ¶
func (m *CommonRequestParams) GetUserProject() string
func (*CommonRequestParams) ProtoMessage ¶
func (*CommonRequestParams) ProtoMessage()
func (*CommonRequestParams) Reset ¶
func (m *CommonRequestParams) Reset()
func (*CommonRequestParams) String ¶
func (m *CommonRequestParams) String() string
func (*CommonRequestParams) XXX_DiscardUnknown ¶
func (m *CommonRequestParams) XXX_DiscardUnknown()
func (*CommonRequestParams) XXX_Marshal ¶
func (m *CommonRequestParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CommonRequestParams) XXX_Merge ¶
func (m *CommonRequestParams) XXX_Merge(src proto.Message)
func (*CommonRequestParams) XXX_Size ¶
func (m *CommonRequestParams) XXX_Size() int
func (*CommonRequestParams) XXX_Unmarshal ¶
func (m *CommonRequestParams) XXX_Unmarshal(b []byte) error
type ComposeObjectRequest ¶
type ComposeObjectRequest struct { // Name of the bucket containing the source objects. The destination object is // stored in this bucket. // Required. DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"` // Name of the new object. // Required. DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"` // Apply a predefined set of access controls to the destination object. DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 191-byte string literal not displayed */ // Properties of the resulting object. Destination *Object `protobuf:"bytes,11,opt,name=destination,proto3" json:"destination,omitempty"` // The list of source objects that will be concatenated into a single object. SourceObjects []*ComposeObjectRequest_SourceObjects `protobuf:"bytes,12,rep,name=source_objects,json=sourceObjects,proto3" json:"source_objects,omitempty"` // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Resource name of the Cloud KMS key, of the form // <code>projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key</code>, // that will be used to encrypt the object. Overrides the object // metadata's <code>kms_key_name</code> value, if any. KmsKeyName string `protobuf:"bytes,6,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,7,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for ComposeObject.
func (*ComposeObjectRequest) Descriptor ¶
func (*ComposeObjectRequest) Descriptor() ([]byte, []int)
func (*ComposeObjectRequest) GetCommonObjectRequestParams ¶
func (m *ComposeObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*ComposeObjectRequest) GetCommonRequestParams ¶
func (m *ComposeObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*ComposeObjectRequest) GetDestination ¶
func (m *ComposeObjectRequest) GetDestination() *Object
func (*ComposeObjectRequest) GetDestinationBucket ¶
func (m *ComposeObjectRequest) GetDestinationBucket() string
func (*ComposeObjectRequest) GetDestinationObject ¶
func (m *ComposeObjectRequest) GetDestinationObject() string
func (*ComposeObjectRequest) GetDestinationPredefinedAcl ¶
func (m *ComposeObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
func (*ComposeObjectRequest) GetIfGenerationMatch ¶
func (m *ComposeObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
func (*ComposeObjectRequest) GetIfMetagenerationMatch ¶
func (m *ComposeObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*ComposeObjectRequest) GetKmsKeyName ¶
func (m *ComposeObjectRequest) GetKmsKeyName() string
func (*ComposeObjectRequest) GetSourceObjects ¶
func (m *ComposeObjectRequest) GetSourceObjects() []*ComposeObjectRequest_SourceObjects
func (*ComposeObjectRequest) GetUserProject ¶
func (m *ComposeObjectRequest) GetUserProject() string
func (*ComposeObjectRequest) ProtoMessage ¶
func (*ComposeObjectRequest) ProtoMessage()
func (*ComposeObjectRequest) Reset ¶
func (m *ComposeObjectRequest) Reset()
func (*ComposeObjectRequest) String ¶
func (m *ComposeObjectRequest) String() string
func (*ComposeObjectRequest) XXX_DiscardUnknown ¶
func (m *ComposeObjectRequest) XXX_DiscardUnknown()
func (*ComposeObjectRequest) XXX_Marshal ¶
func (m *ComposeObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComposeObjectRequest) XXX_Merge ¶
func (m *ComposeObjectRequest) XXX_Merge(src proto.Message)
func (*ComposeObjectRequest) XXX_Size ¶
func (m *ComposeObjectRequest) XXX_Size() int
func (*ComposeObjectRequest) XXX_Unmarshal ¶
func (m *ComposeObjectRequest) XXX_Unmarshal(b []byte) error
type ComposeObjectRequest_SourceObjects ¶
type ComposeObjectRequest_SourceObjects struct { // The source object's name. All source objects must reside in the same // bucket. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The generation of this object to use as the source. Generation int64 `protobuf:"varint,2,opt,name=generation,proto3" json:"generation,omitempty"` // Conditions that must be met for this operation to execute. ObjectPreconditions *ComposeObjectRequest_SourceObjects_ObjectPreconditions `protobuf:"bytes,3,opt,name=object_preconditions,json=objectPreconditions,proto3" json:"object_preconditions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Description of a source object for a composition request.
func (*ComposeObjectRequest_SourceObjects) Descriptor ¶
func (*ComposeObjectRequest_SourceObjects) Descriptor() ([]byte, []int)
func (*ComposeObjectRequest_SourceObjects) GetGeneration ¶
func (m *ComposeObjectRequest_SourceObjects) GetGeneration() int64
func (*ComposeObjectRequest_SourceObjects) GetName ¶
func (m *ComposeObjectRequest_SourceObjects) GetName() string
func (*ComposeObjectRequest_SourceObjects) GetObjectPreconditions ¶
func (m *ComposeObjectRequest_SourceObjects) GetObjectPreconditions() *ComposeObjectRequest_SourceObjects_ObjectPreconditions
func (*ComposeObjectRequest_SourceObjects) ProtoMessage ¶
func (*ComposeObjectRequest_SourceObjects) ProtoMessage()
func (*ComposeObjectRequest_SourceObjects) Reset ¶
func (m *ComposeObjectRequest_SourceObjects) Reset()
func (*ComposeObjectRequest_SourceObjects) String ¶
func (m *ComposeObjectRequest_SourceObjects) String() string
func (*ComposeObjectRequest_SourceObjects) XXX_DiscardUnknown ¶
func (m *ComposeObjectRequest_SourceObjects) XXX_DiscardUnknown()
func (*ComposeObjectRequest_SourceObjects) XXX_Marshal ¶
func (m *ComposeObjectRequest_SourceObjects) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComposeObjectRequest_SourceObjects) XXX_Merge ¶
func (m *ComposeObjectRequest_SourceObjects) XXX_Merge(src proto.Message)
func (*ComposeObjectRequest_SourceObjects) XXX_Size ¶
func (m *ComposeObjectRequest_SourceObjects) XXX_Size() int
func (*ComposeObjectRequest_SourceObjects) XXX_Unmarshal ¶
func (m *ComposeObjectRequest_SourceObjects) XXX_Unmarshal(b []byte) error
type ComposeObjectRequest_SourceObjects_ObjectPreconditions ¶
type ComposeObjectRequest_SourceObjects_ObjectPreconditions struct { // Only perform the composition if the generation of the source object // that would be used matches this value. If this value and a generation // are both specified, they must be the same value or the call will fail. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,1,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Preconditions for a source object of a composition request.
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor ¶
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Descriptor() ([]byte, []int)
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch ¶
func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) GetIfGenerationMatch() *wrappers.Int64Value
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage ¶
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) ProtoMessage()
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset ¶
func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) Reset()
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) String ¶
func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) String() string
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_DiscardUnknown ¶
func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_DiscardUnknown()
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Marshal ¶
func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Merge ¶
func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Merge(src proto.Message)
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Size ¶
func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Size() int
func (*ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Unmarshal ¶
func (m *ComposeObjectRequest_SourceObjects_ObjectPreconditions) XXX_Unmarshal(b []byte) error
type ContentRange ¶
type ContentRange struct { // The starting offset of the object data. Start int64 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"` // The ending offset of the object data. End int64 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"` // The complete length of the object data. CompleteLength int64 `protobuf:"varint,3,opt,name=complete_length,json=completeLength,proto3" json:"complete_length,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Specifies a requested range of bytes to download.
func (*ContentRange) Descriptor ¶
func (*ContentRange) Descriptor() ([]byte, []int)
func (*ContentRange) GetCompleteLength ¶
func (m *ContentRange) GetCompleteLength() int64
func (*ContentRange) GetEnd ¶
func (m *ContentRange) GetEnd() int64
func (*ContentRange) GetStart ¶
func (m *ContentRange) GetStart() int64
func (*ContentRange) ProtoMessage ¶
func (*ContentRange) ProtoMessage()
func (*ContentRange) Reset ¶
func (m *ContentRange) Reset()
func (*ContentRange) String ¶
func (m *ContentRange) String() string
func (*ContentRange) XXX_DiscardUnknown ¶
func (m *ContentRange) XXX_DiscardUnknown()
func (*ContentRange) XXX_Marshal ¶
func (m *ContentRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ContentRange) XXX_Merge ¶
func (m *ContentRange) XXX_Merge(src proto.Message)
func (*ContentRange) XXX_Size ¶
func (m *ContentRange) XXX_Size() int
func (*ContentRange) XXX_Unmarshal ¶
func (m *ContentRange) XXX_Unmarshal(b []byte) error
type CopyObjectRequest ¶
type CopyObjectRequest struct { // Name of the bucket in which to store the new object. Overrides the provided // object // metadata's <code>bucket</code> value, if any. // Required. DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"` // Name of the new object. // Required when the object metadata is not otherwise provided. Overrides the // object metadata's <code>name</code> value, if any. // Required. DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"` // Apply a predefined set of access controls to the destination object. DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 191-byte string literal not displayed */ // Makes the operation conditional on whether the destination object's current // generation matches the given value. Setting to 0 makes the operation // succeed only if there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the destination object's current // generation does not match the given value. If no live object exists, the // precondition fails. Setting to 0 makes the operation succeed only if there // is a live version of the object. IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the destination object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the destination object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // generation matches the given value. IfSourceGenerationMatch *wrappers.Int64Value `` /* 134-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // generation does not match the given value. IfSourceGenerationNotMatch *wrappers.Int64Value `` /* 145-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // metageneration matches the given value. IfSourceMetagenerationMatch *wrappers.Int64Value `` /* 147-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // metageneration does not match the given value. IfSourceMetagenerationNotMatch *wrappers.Int64Value `` /* 158-byte string literal not displayed */ // Set of properties to return. Defaults to <code>NO_ACL</code>, unless the // object resource specifies the <code>acl</code> property, when it defaults // to <code>full</code>. Projection CommonEnums_Projection `protobuf:"varint,12,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // Name of the bucket in which to find the source object. // Required. SourceBucket string `protobuf:"bytes,13,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"` // Name of the source object. // Required. 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"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,16,opt,name=user_project,json=userProject,proto3" json:"user_project,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 // <code>projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key</code>, // that will be used to encrypt the object. Overrides the object // metadata's <code>kms_key_name</code> value, if any. DestinationKmsKeyName string `` /* 129-byte string literal not displayed */ // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,19,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for CopyObject.
func (*CopyObjectRequest) Descriptor ¶
func (*CopyObjectRequest) Descriptor() ([]byte, []int)
func (*CopyObjectRequest) GetCommonObjectRequestParams ¶
func (m *CopyObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*CopyObjectRequest) GetCommonRequestParams ¶
func (m *CopyObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*CopyObjectRequest) GetDestination ¶
func (m *CopyObjectRequest) GetDestination() *Object
func (*CopyObjectRequest) GetDestinationBucket ¶
func (m *CopyObjectRequest) GetDestinationBucket() string
func (*CopyObjectRequest) GetDestinationKmsKeyName ¶
func (m *CopyObjectRequest) GetDestinationKmsKeyName() string
func (*CopyObjectRequest) GetDestinationObject ¶
func (m *CopyObjectRequest) GetDestinationObject() string
func (*CopyObjectRequest) GetDestinationPredefinedAcl ¶
func (m *CopyObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
func (*CopyObjectRequest) GetIfGenerationMatch ¶
func (m *CopyObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
func (*CopyObjectRequest) GetIfGenerationNotMatch ¶
func (m *CopyObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
func (*CopyObjectRequest) GetIfMetagenerationMatch ¶
func (m *CopyObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*CopyObjectRequest) GetIfMetagenerationNotMatch ¶
func (m *CopyObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*CopyObjectRequest) GetIfSourceGenerationMatch ¶
func (m *CopyObjectRequest) GetIfSourceGenerationMatch() *wrappers.Int64Value
func (*CopyObjectRequest) GetIfSourceGenerationNotMatch ¶
func (m *CopyObjectRequest) GetIfSourceGenerationNotMatch() *wrappers.Int64Value
func (*CopyObjectRequest) GetIfSourceMetagenerationMatch ¶
func (m *CopyObjectRequest) GetIfSourceMetagenerationMatch() *wrappers.Int64Value
func (*CopyObjectRequest) GetIfSourceMetagenerationNotMatch ¶
func (m *CopyObjectRequest) GetIfSourceMetagenerationNotMatch() *wrappers.Int64Value
func (*CopyObjectRequest) GetProjection ¶
func (m *CopyObjectRequest) GetProjection() CommonEnums_Projection
func (*CopyObjectRequest) GetSourceBucket ¶
func (m *CopyObjectRequest) GetSourceBucket() string
func (*CopyObjectRequest) GetSourceGeneration ¶
func (m *CopyObjectRequest) GetSourceGeneration() int64
func (*CopyObjectRequest) GetSourceObject ¶
func (m *CopyObjectRequest) GetSourceObject() string
func (*CopyObjectRequest) GetUserProject ¶
func (m *CopyObjectRequest) GetUserProject() string
func (*CopyObjectRequest) ProtoMessage ¶
func (*CopyObjectRequest) ProtoMessage()
func (*CopyObjectRequest) Reset ¶
func (m *CopyObjectRequest) Reset()
func (*CopyObjectRequest) String ¶
func (m *CopyObjectRequest) String() string
func (*CopyObjectRequest) XXX_DiscardUnknown ¶
func (m *CopyObjectRequest) XXX_DiscardUnknown()
func (*CopyObjectRequest) XXX_Marshal ¶
func (m *CopyObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CopyObjectRequest) XXX_Merge ¶
func (m *CopyObjectRequest) XXX_Merge(src proto.Message)
func (*CopyObjectRequest) XXX_Size ¶
func (m *CopyObjectRequest) XXX_Size() int
func (*CopyObjectRequest) XXX_Unmarshal ¶
func (m *CopyObjectRequest) XXX_Unmarshal(b []byte) error
type DeleteBucketAccessControlRequest ¶
type DeleteBucketAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // The project to be billed for this request. Required for Requester Pays // buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for DeleteBucketAccessControl.
func (*DeleteBucketAccessControlRequest) Descriptor ¶
func (*DeleteBucketAccessControlRequest) Descriptor() ([]byte, []int)
func (*DeleteBucketAccessControlRequest) GetBucket ¶
func (m *DeleteBucketAccessControlRequest) GetBucket() string
func (*DeleteBucketAccessControlRequest) GetCommonRequestParams ¶
func (m *DeleteBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteBucketAccessControlRequest) GetEntity ¶
func (m *DeleteBucketAccessControlRequest) GetEntity() string
func (*DeleteBucketAccessControlRequest) GetUserProject ¶
func (m *DeleteBucketAccessControlRequest) GetUserProject() string
func (*DeleteBucketAccessControlRequest) ProtoMessage ¶
func (*DeleteBucketAccessControlRequest) ProtoMessage()
func (*DeleteBucketAccessControlRequest) Reset ¶
func (m *DeleteBucketAccessControlRequest) Reset()
func (*DeleteBucketAccessControlRequest) String ¶
func (m *DeleteBucketAccessControlRequest) String() string
func (*DeleteBucketAccessControlRequest) XXX_DiscardUnknown ¶
func (m *DeleteBucketAccessControlRequest) XXX_DiscardUnknown()
func (*DeleteBucketAccessControlRequest) XXX_Marshal ¶
func (m *DeleteBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteBucketAccessControlRequest) XXX_Merge ¶
func (m *DeleteBucketAccessControlRequest) XXX_Merge(src proto.Message)
func (*DeleteBucketAccessControlRequest) XXX_Size ¶
func (m *DeleteBucketAccessControlRequest) XXX_Size() int
func (*DeleteBucketAccessControlRequest) XXX_Unmarshal ¶
func (m *DeleteBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
type DeleteBucketRequest ¶
type DeleteBucketRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // If set, only deletes the bucket if its metageneration matches this value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // If set, only deletes the bucket if its metageneration does not match this // value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // The project to be billed for this request. Required for Requester Pays // buckets. UserProject string `protobuf:"bytes,4,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for DeleteBucket.
func (*DeleteBucketRequest) Descriptor ¶
func (*DeleteBucketRequest) Descriptor() ([]byte, []int)
func (*DeleteBucketRequest) GetBucket ¶
func (m *DeleteBucketRequest) GetBucket() string
func (*DeleteBucketRequest) GetCommonRequestParams ¶
func (m *DeleteBucketRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteBucketRequest) GetIfMetagenerationMatch ¶
func (m *DeleteBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*DeleteBucketRequest) GetIfMetagenerationNotMatch ¶
func (m *DeleteBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*DeleteBucketRequest) GetUserProject ¶
func (m *DeleteBucketRequest) GetUserProject() string
func (*DeleteBucketRequest) ProtoMessage ¶
func (*DeleteBucketRequest) ProtoMessage()
func (*DeleteBucketRequest) Reset ¶
func (m *DeleteBucketRequest) Reset()
func (*DeleteBucketRequest) String ¶
func (m *DeleteBucketRequest) String() string
func (*DeleteBucketRequest) XXX_DiscardUnknown ¶
func (m *DeleteBucketRequest) XXX_DiscardUnknown()
func (*DeleteBucketRequest) XXX_Marshal ¶
func (m *DeleteBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteBucketRequest) XXX_Merge ¶
func (m *DeleteBucketRequest) XXX_Merge(src proto.Message)
func (*DeleteBucketRequest) XXX_Size ¶
func (m *DeleteBucketRequest) XXX_Size() int
func (*DeleteBucketRequest) XXX_Unmarshal ¶
func (m *DeleteBucketRequest) XXX_Unmarshal(b []byte) error
type DeleteDefaultObjectAccessControlRequest ¶
type DeleteDefaultObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for DeleteDefaultObjectAccessControl.
func (*DeleteDefaultObjectAccessControlRequest) Descriptor ¶
func (*DeleteDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*DeleteDefaultObjectAccessControlRequest) GetBucket ¶
func (m *DeleteDefaultObjectAccessControlRequest) GetBucket() string
func (*DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *DeleteDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteDefaultObjectAccessControlRequest) GetEntity ¶
func (m *DeleteDefaultObjectAccessControlRequest) GetEntity() string
func (*DeleteDefaultObjectAccessControlRequest) GetUserProject ¶
func (m *DeleteDefaultObjectAccessControlRequest) GetUserProject() string
func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage ¶
func (*DeleteDefaultObjectAccessControlRequest) ProtoMessage()
func (*DeleteDefaultObjectAccessControlRequest) Reset ¶
func (m *DeleteDefaultObjectAccessControlRequest) Reset()
func (*DeleteDefaultObjectAccessControlRequest) String ¶
func (m *DeleteDefaultObjectAccessControlRequest) String() string
func (*DeleteDefaultObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *DeleteDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
func (*DeleteDefaultObjectAccessControlRequest) XXX_Marshal ¶
func (m *DeleteDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDefaultObjectAccessControlRequest) XXX_Merge ¶
func (m *DeleteDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*DeleteDefaultObjectAccessControlRequest) XXX_Size ¶
func (m *DeleteDefaultObjectAccessControlRequest) XXX_Size() int
func (*DeleteDefaultObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *DeleteDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type DeleteNotificationRequest ¶
type DeleteNotificationRequest struct { // The parent bucket of the notification. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // ID of the notification to delete. // Required. Notification string `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for DeleteNotification.
func (*DeleteNotificationRequest) Descriptor ¶
func (*DeleteNotificationRequest) Descriptor() ([]byte, []int)
func (*DeleteNotificationRequest) GetBucket ¶
func (m *DeleteNotificationRequest) GetBucket() string
func (*DeleteNotificationRequest) GetCommonRequestParams ¶
func (m *DeleteNotificationRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteNotificationRequest) GetNotification ¶
func (m *DeleteNotificationRequest) GetNotification() string
func (*DeleteNotificationRequest) GetUserProject ¶
func (m *DeleteNotificationRequest) GetUserProject() string
func (*DeleteNotificationRequest) ProtoMessage ¶
func (*DeleteNotificationRequest) ProtoMessage()
func (*DeleteNotificationRequest) Reset ¶
func (m *DeleteNotificationRequest) Reset()
func (*DeleteNotificationRequest) String ¶
func (m *DeleteNotificationRequest) String() string
func (*DeleteNotificationRequest) XXX_DiscardUnknown ¶
func (m *DeleteNotificationRequest) XXX_DiscardUnknown()
func (*DeleteNotificationRequest) XXX_Marshal ¶
func (m *DeleteNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteNotificationRequest) XXX_Merge ¶
func (m *DeleteNotificationRequest) XXX_Merge(src proto.Message)
func (*DeleteNotificationRequest) XXX_Size ¶
func (m *DeleteNotificationRequest) XXX_Size() int
func (*DeleteNotificationRequest) XXX_Unmarshal ¶
func (m *DeleteNotificationRequest) XXX_Unmarshal(b []byte) error
type DeleteObjectAccessControlRequest ¶
type DeleteObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // Name of the object. // Required. Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // If present, selects a specific revision of this object (as opposed to the // latest version, the default). Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,5,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for DeleteObjectAccessControl.
func (*DeleteObjectAccessControlRequest) Descriptor ¶
func (*DeleteObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*DeleteObjectAccessControlRequest) GetBucket ¶
func (m *DeleteObjectAccessControlRequest) GetBucket() string
func (*DeleteObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *DeleteObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteObjectAccessControlRequest) GetEntity ¶
func (m *DeleteObjectAccessControlRequest) GetEntity() string
func (*DeleteObjectAccessControlRequest) GetGeneration ¶
func (m *DeleteObjectAccessControlRequest) GetGeneration() int64
func (*DeleteObjectAccessControlRequest) GetObject ¶
func (m *DeleteObjectAccessControlRequest) GetObject() string
func (*DeleteObjectAccessControlRequest) GetUserProject ¶
func (m *DeleteObjectAccessControlRequest) GetUserProject() string
func (*DeleteObjectAccessControlRequest) ProtoMessage ¶
func (*DeleteObjectAccessControlRequest) ProtoMessage()
func (*DeleteObjectAccessControlRequest) Reset ¶
func (m *DeleteObjectAccessControlRequest) Reset()
func (*DeleteObjectAccessControlRequest) String ¶
func (m *DeleteObjectAccessControlRequest) String() string
func (*DeleteObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *DeleteObjectAccessControlRequest) XXX_DiscardUnknown()
func (*DeleteObjectAccessControlRequest) XXX_Marshal ¶
func (m *DeleteObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteObjectAccessControlRequest) XXX_Merge ¶
func (m *DeleteObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*DeleteObjectAccessControlRequest) XXX_Size ¶
func (m *DeleteObjectAccessControlRequest) XXX_Size() int
func (*DeleteObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *DeleteObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type DeleteObjectRequest ¶
type DeleteObjectRequest struct { // Name of the bucket in which the object resides. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The name of the object to delete (when not using a resumable write). // Required. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // The resumable upload_id of the object to delete (when using a // resumable write). This should be copied from the `upload_id` field of // `StartResumableWriteResponse`. UploadId string `protobuf:"bytes,3,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // If present, permanently deletes a specific revision of this object (as // opposed to the latest version, the default). Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current generation // does not match the given value. If no live object exists, the precondition // fails. Setting to 0 makes the operation succeed only if there is a live // version of the object. IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,9,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message for deleting an object. Either `bucket` and `object` *or* `upload_id` **must** be set (but not both).
func (*DeleteObjectRequest) Descriptor ¶
func (*DeleteObjectRequest) Descriptor() ([]byte, []int)
func (*DeleteObjectRequest) GetBucket ¶
func (m *DeleteObjectRequest) GetBucket() string
func (*DeleteObjectRequest) GetCommonObjectRequestParams ¶
func (m *DeleteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*DeleteObjectRequest) GetCommonRequestParams ¶
func (m *DeleteObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*DeleteObjectRequest) GetGeneration ¶
func (m *DeleteObjectRequest) GetGeneration() int64
func (*DeleteObjectRequest) GetIfGenerationMatch ¶
func (m *DeleteObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
func (*DeleteObjectRequest) GetIfGenerationNotMatch ¶
func (m *DeleteObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
func (*DeleteObjectRequest) GetIfMetagenerationMatch ¶
func (m *DeleteObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*DeleteObjectRequest) GetIfMetagenerationNotMatch ¶
func (m *DeleteObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*DeleteObjectRequest) GetObject ¶
func (m *DeleteObjectRequest) GetObject() string
func (*DeleteObjectRequest) GetUploadId ¶
func (m *DeleteObjectRequest) GetUploadId() string
func (*DeleteObjectRequest) GetUserProject ¶
func (m *DeleteObjectRequest) GetUserProject() string
func (*DeleteObjectRequest) ProtoMessage ¶
func (*DeleteObjectRequest) ProtoMessage()
func (*DeleteObjectRequest) Reset ¶
func (m *DeleteObjectRequest) Reset()
func (*DeleteObjectRequest) String ¶
func (m *DeleteObjectRequest) String() string
func (*DeleteObjectRequest) XXX_DiscardUnknown ¶
func (m *DeleteObjectRequest) XXX_DiscardUnknown()
func (*DeleteObjectRequest) XXX_Marshal ¶
func (m *DeleteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteObjectRequest) XXX_Merge ¶
func (m *DeleteObjectRequest) XXX_Merge(src proto.Message)
func (*DeleteObjectRequest) XXX_Size ¶
func (m *DeleteObjectRequest) XXX_Size() int
func (*DeleteObjectRequest) XXX_Unmarshal ¶
func (m *DeleteObjectRequest) XXX_Unmarshal(b []byte) error
type GetBucketAccessControlRequest ¶
type GetBucketAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // The project to be billed for this request. Required for Requester Pays // buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for GetBucketAccessControl.
func (*GetBucketAccessControlRequest) Descriptor ¶
func (*GetBucketAccessControlRequest) Descriptor() ([]byte, []int)
func (*GetBucketAccessControlRequest) GetBucket ¶
func (m *GetBucketAccessControlRequest) GetBucket() string
func (*GetBucketAccessControlRequest) GetCommonRequestParams ¶
func (m *GetBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetBucketAccessControlRequest) GetEntity ¶
func (m *GetBucketAccessControlRequest) GetEntity() string
func (*GetBucketAccessControlRequest) GetUserProject ¶
func (m *GetBucketAccessControlRequest) GetUserProject() string
func (*GetBucketAccessControlRequest) ProtoMessage ¶
func (*GetBucketAccessControlRequest) ProtoMessage()
func (*GetBucketAccessControlRequest) Reset ¶
func (m *GetBucketAccessControlRequest) Reset()
func (*GetBucketAccessControlRequest) String ¶
func (m *GetBucketAccessControlRequest) String() string
func (*GetBucketAccessControlRequest) XXX_DiscardUnknown ¶
func (m *GetBucketAccessControlRequest) XXX_DiscardUnknown()
func (*GetBucketAccessControlRequest) XXX_Marshal ¶
func (m *GetBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBucketAccessControlRequest) XXX_Merge ¶
func (m *GetBucketAccessControlRequest) XXX_Merge(src proto.Message)
func (*GetBucketAccessControlRequest) XXX_Size ¶
func (m *GetBucketAccessControlRequest) XXX_Size() int
func (*GetBucketAccessControlRequest) XXX_Unmarshal ¶
func (m *GetBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
type GetBucketRequest ¶
type GetBucketRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Makes the return of the bucket metadata conditional on whether the bucket's // current metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the return of the bucket metadata conditional on whether the bucket's // current metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Set of properties to return. Defaults to <code>NO_ACL</code>. Projection CommonEnums_Projection `protobuf:"varint,4,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. Required for Requester Pays // buckets. UserProject string `protobuf:"bytes,5,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for GetBucket.
func (*GetBucketRequest) Descriptor ¶
func (*GetBucketRequest) Descriptor() ([]byte, []int)
func (*GetBucketRequest) GetBucket ¶
func (m *GetBucketRequest) GetBucket() string
func (*GetBucketRequest) GetCommonRequestParams ¶
func (m *GetBucketRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetBucketRequest) GetIfMetagenerationMatch ¶
func (m *GetBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*GetBucketRequest) GetIfMetagenerationNotMatch ¶
func (m *GetBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*GetBucketRequest) GetProjection ¶
func (m *GetBucketRequest) GetProjection() CommonEnums_Projection
func (*GetBucketRequest) GetUserProject ¶
func (m *GetBucketRequest) GetUserProject() string
func (*GetBucketRequest) ProtoMessage ¶
func (*GetBucketRequest) ProtoMessage()
func (*GetBucketRequest) Reset ¶
func (m *GetBucketRequest) Reset()
func (*GetBucketRequest) String ¶
func (m *GetBucketRequest) String() string
func (*GetBucketRequest) XXX_DiscardUnknown ¶
func (m *GetBucketRequest) XXX_DiscardUnknown()
func (*GetBucketRequest) XXX_Marshal ¶
func (m *GetBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBucketRequest) XXX_Merge ¶
func (m *GetBucketRequest) XXX_Merge(src proto.Message)
func (*GetBucketRequest) XXX_Size ¶
func (m *GetBucketRequest) XXX_Size() int
func (*GetBucketRequest) XXX_Unmarshal ¶
func (m *GetBucketRequest) XXX_Unmarshal(b []byte) error
type GetDefaultObjectAccessControlRequest ¶
type GetDefaultObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for GetDefaultObjectAccessControl.
func (*GetDefaultObjectAccessControlRequest) Descriptor ¶
func (*GetDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*GetDefaultObjectAccessControlRequest) GetBucket ¶
func (m *GetDefaultObjectAccessControlRequest) GetBucket() string
func (*GetDefaultObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *GetDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetDefaultObjectAccessControlRequest) GetEntity ¶
func (m *GetDefaultObjectAccessControlRequest) GetEntity() string
func (*GetDefaultObjectAccessControlRequest) GetUserProject ¶
func (m *GetDefaultObjectAccessControlRequest) GetUserProject() string
func (*GetDefaultObjectAccessControlRequest) ProtoMessage ¶
func (*GetDefaultObjectAccessControlRequest) ProtoMessage()
func (*GetDefaultObjectAccessControlRequest) Reset ¶
func (m *GetDefaultObjectAccessControlRequest) Reset()
func (*GetDefaultObjectAccessControlRequest) String ¶
func (m *GetDefaultObjectAccessControlRequest) String() string
func (*GetDefaultObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *GetDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
func (*GetDefaultObjectAccessControlRequest) XXX_Marshal ¶
func (m *GetDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetDefaultObjectAccessControlRequest) XXX_Merge ¶
func (m *GetDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*GetDefaultObjectAccessControlRequest) XXX_Size ¶
func (m *GetDefaultObjectAccessControlRequest) XXX_Size() int
func (*GetDefaultObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *GetDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type GetNotificationRequest ¶
type GetNotificationRequest struct { // The parent bucket of the notification. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Notification ID. // Required. Notification string `protobuf:"bytes,2,opt,name=notification,proto3" json:"notification,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for GetNotification.
func (*GetNotificationRequest) Descriptor ¶
func (*GetNotificationRequest) Descriptor() ([]byte, []int)
func (*GetNotificationRequest) GetBucket ¶
func (m *GetNotificationRequest) GetBucket() string
func (*GetNotificationRequest) GetCommonRequestParams ¶
func (m *GetNotificationRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetNotificationRequest) GetNotification ¶
func (m *GetNotificationRequest) GetNotification() string
func (*GetNotificationRequest) GetUserProject ¶
func (m *GetNotificationRequest) GetUserProject() string
func (*GetNotificationRequest) ProtoMessage ¶
func (*GetNotificationRequest) ProtoMessage()
func (*GetNotificationRequest) Reset ¶
func (m *GetNotificationRequest) Reset()
func (*GetNotificationRequest) String ¶
func (m *GetNotificationRequest) String() string
func (*GetNotificationRequest) XXX_DiscardUnknown ¶
func (m *GetNotificationRequest) XXX_DiscardUnknown()
func (*GetNotificationRequest) XXX_Marshal ¶
func (m *GetNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetNotificationRequest) XXX_Merge ¶
func (m *GetNotificationRequest) XXX_Merge(src proto.Message)
func (*GetNotificationRequest) XXX_Size ¶
func (m *GetNotificationRequest) XXX_Size() int
func (*GetNotificationRequest) XXX_Unmarshal ¶
func (m *GetNotificationRequest) XXX_Unmarshal(b []byte) error
type GetObjectAccessControlRequest ¶
type GetObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // Name of the object. // Required. Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // If present, selects a specific revision of this object (as opposed to the // latest version, the default). Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,5,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for GetObjectAccessControl.
func (*GetObjectAccessControlRequest) Descriptor ¶
func (*GetObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*GetObjectAccessControlRequest) GetBucket ¶
func (m *GetObjectAccessControlRequest) GetBucket() string
func (*GetObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *GetObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetObjectAccessControlRequest) GetEntity ¶
func (m *GetObjectAccessControlRequest) GetEntity() string
func (*GetObjectAccessControlRequest) GetGeneration ¶
func (m *GetObjectAccessControlRequest) GetGeneration() int64
func (*GetObjectAccessControlRequest) GetObject ¶
func (m *GetObjectAccessControlRequest) GetObject() string
func (*GetObjectAccessControlRequest) GetUserProject ¶
func (m *GetObjectAccessControlRequest) GetUserProject() string
func (*GetObjectAccessControlRequest) ProtoMessage ¶
func (*GetObjectAccessControlRequest) ProtoMessage()
func (*GetObjectAccessControlRequest) Reset ¶
func (m *GetObjectAccessControlRequest) Reset()
func (*GetObjectAccessControlRequest) String ¶
func (m *GetObjectAccessControlRequest) String() string
func (*GetObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *GetObjectAccessControlRequest) XXX_DiscardUnknown()
func (*GetObjectAccessControlRequest) XXX_Marshal ¶
func (m *GetObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObjectAccessControlRequest) XXX_Merge ¶
func (m *GetObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*GetObjectAccessControlRequest) XXX_Size ¶
func (m *GetObjectAccessControlRequest) XXX_Size() int
func (*GetObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *GetObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type GetObjectMediaRequest ¶
type GetObjectMediaRequest struct { // The name of the bucket containing the object to read. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The name of the object to read. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // If present, selects a specific revision of this object (as opposed // to the latest version, the default). Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // The offset for the first byte to return in the read, relative to the start // of the object. // // A `read_offset` that is negative or greater than the size of the object // will cause an `OUT_OF_RANGE` error. ReadOffset int64 `protobuf:"varint,4,opt,name=read_offset,json=readOffset,proto3" json:"read_offset,omitempty"` // The maximum number of `data` bytes the server is allowed to return in the // sum of all `Object` messages. A `read_limit` of zero indicates that there // is no limit, and a negative `read_limit` will cause an error. // // If the stream returns fewer bytes than allowed by the `read_limit` and no // error occurred, the stream includes all data from the `read_offset` to the // end of the resource. ReadLimit int64 `protobuf:"varint,5,opt,name=read_limit,json=readLimit,proto3" json:"read_limit,omitempty"` // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current generation // does not match the given value. If no live object exists, the precondition // fails. Setting to 0 makes the operation succeed only if there is a live // version of the object. IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,7,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,10,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,12,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for GetObjectMedia.
func (*GetObjectMediaRequest) Descriptor ¶
func (*GetObjectMediaRequest) Descriptor() ([]byte, []int)
func (*GetObjectMediaRequest) GetBucket ¶
func (m *GetObjectMediaRequest) GetBucket() string
func (*GetObjectMediaRequest) GetCommonObjectRequestParams ¶
func (m *GetObjectMediaRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*GetObjectMediaRequest) GetCommonRequestParams ¶
func (m *GetObjectMediaRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetObjectMediaRequest) GetGeneration ¶
func (m *GetObjectMediaRequest) GetGeneration() int64
func (*GetObjectMediaRequest) GetIfGenerationMatch ¶
func (m *GetObjectMediaRequest) GetIfGenerationMatch() *wrappers.Int64Value
func (*GetObjectMediaRequest) GetIfGenerationNotMatch ¶
func (m *GetObjectMediaRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
func (*GetObjectMediaRequest) GetIfMetagenerationMatch ¶
func (m *GetObjectMediaRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*GetObjectMediaRequest) GetIfMetagenerationNotMatch ¶
func (m *GetObjectMediaRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*GetObjectMediaRequest) GetObject ¶
func (m *GetObjectMediaRequest) GetObject() string
func (*GetObjectMediaRequest) GetReadLimit ¶
func (m *GetObjectMediaRequest) GetReadLimit() int64
func (*GetObjectMediaRequest) GetReadOffset ¶
func (m *GetObjectMediaRequest) GetReadOffset() int64
func (*GetObjectMediaRequest) GetUserProject ¶
func (m *GetObjectMediaRequest) GetUserProject() string
func (*GetObjectMediaRequest) ProtoMessage ¶
func (*GetObjectMediaRequest) ProtoMessage()
func (*GetObjectMediaRequest) Reset ¶
func (m *GetObjectMediaRequest) Reset()
func (*GetObjectMediaRequest) String ¶
func (m *GetObjectMediaRequest) String() string
func (*GetObjectMediaRequest) XXX_DiscardUnknown ¶
func (m *GetObjectMediaRequest) XXX_DiscardUnknown()
func (*GetObjectMediaRequest) XXX_Marshal ¶
func (m *GetObjectMediaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObjectMediaRequest) XXX_Merge ¶
func (m *GetObjectMediaRequest) XXX_Merge(src proto.Message)
func (*GetObjectMediaRequest) XXX_Size ¶
func (m *GetObjectMediaRequest) XXX_Size() int
func (*GetObjectMediaRequest) XXX_Unmarshal ¶
func (m *GetObjectMediaRequest) XXX_Unmarshal(b []byte) error
type GetObjectMediaResponse ¶
type GetObjectMediaResponse struct { // A portion of the data for the object. The service **may** leave `data` // empty for any given `ReadResponse`. This enables the service to inform the // client that the request is still live while it is running an operation to // generate more data. ChecksummedData *ChecksummedData `protobuf:"bytes,1,opt,name=checksummed_data,json=checksummedData,proto3" json:"checksummed_data,omitempty"` // The checksums of the complete object. The client should compute one of // these checksums over the downloaded object and compare it against the value // provided here. ObjectChecksums *ObjectChecksums `protobuf:"bytes,2,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"` // If read_offset and or read_limit was specified on the // GetObjectMediaRequest, ContentRange will be populated on the first // GetObjectMediaResponse message of the read stream. ContentRange *ContentRange `protobuf:"bytes,3,opt,name=content_range,json=contentRange,proto3" json:"content_range,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response message for GetObject.
func (*GetObjectMediaResponse) Descriptor ¶
func (*GetObjectMediaResponse) Descriptor() ([]byte, []int)
func (*GetObjectMediaResponse) GetChecksummedData ¶
func (m *GetObjectMediaResponse) GetChecksummedData() *ChecksummedData
func (*GetObjectMediaResponse) GetContentRange ¶
func (m *GetObjectMediaResponse) GetContentRange() *ContentRange
func (*GetObjectMediaResponse) GetObjectChecksums ¶
func (m *GetObjectMediaResponse) GetObjectChecksums() *ObjectChecksums
func (*GetObjectMediaResponse) ProtoMessage ¶
func (*GetObjectMediaResponse) ProtoMessage()
func (*GetObjectMediaResponse) Reset ¶
func (m *GetObjectMediaResponse) Reset()
func (*GetObjectMediaResponse) String ¶
func (m *GetObjectMediaResponse) String() string
func (*GetObjectMediaResponse) XXX_DiscardUnknown ¶
func (m *GetObjectMediaResponse) XXX_DiscardUnknown()
func (*GetObjectMediaResponse) XXX_Marshal ¶
func (m *GetObjectMediaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObjectMediaResponse) XXX_Merge ¶
func (m *GetObjectMediaResponse) XXX_Merge(src proto.Message)
func (*GetObjectMediaResponse) XXX_Size ¶
func (m *GetObjectMediaResponse) XXX_Size() int
func (*GetObjectMediaResponse) XXX_Unmarshal ¶
func (m *GetObjectMediaResponse) XXX_Unmarshal(b []byte) error
type GetObjectRequest ¶
type GetObjectRequest struct { // Name of the bucket in which the object resides. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Name of the object. // Required. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // If present, selects a specific revision of this object (as opposed to the // latest version, the default). Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current generation // does not match the given value. If no live object exists, the precondition // fails. Setting to 0 makes the operation succeed only if there is a live // version of the object. IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Set of properties to return. Defaults to <code>NO_ACL</code>. Projection CommonEnums_Projection `protobuf:"varint,8,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,9,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for GetObject.
func (*GetObjectRequest) Descriptor ¶
func (*GetObjectRequest) Descriptor() ([]byte, []int)
func (*GetObjectRequest) GetBucket ¶
func (m *GetObjectRequest) GetBucket() string
func (*GetObjectRequest) GetCommonObjectRequestParams ¶
func (m *GetObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*GetObjectRequest) GetCommonRequestParams ¶
func (m *GetObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetObjectRequest) GetGeneration ¶
func (m *GetObjectRequest) GetGeneration() int64
func (*GetObjectRequest) GetIfGenerationMatch ¶
func (m *GetObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
func (*GetObjectRequest) GetIfGenerationNotMatch ¶
func (m *GetObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
func (*GetObjectRequest) GetIfMetagenerationMatch ¶
func (m *GetObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*GetObjectRequest) GetIfMetagenerationNotMatch ¶
func (m *GetObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*GetObjectRequest) GetObject ¶
func (m *GetObjectRequest) GetObject() string
func (*GetObjectRequest) GetProjection ¶
func (m *GetObjectRequest) GetProjection() CommonEnums_Projection
func (*GetObjectRequest) GetUserProject ¶
func (m *GetObjectRequest) GetUserProject() string
func (*GetObjectRequest) ProtoMessage ¶
func (*GetObjectRequest) ProtoMessage()
func (*GetObjectRequest) Reset ¶
func (m *GetObjectRequest) Reset()
func (*GetObjectRequest) String ¶
func (m *GetObjectRequest) String() string
func (*GetObjectRequest) XXX_DiscardUnknown ¶
func (m *GetObjectRequest) XXX_DiscardUnknown()
func (*GetObjectRequest) XXX_Marshal ¶
func (m *GetObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetObjectRequest) XXX_Merge ¶
func (m *GetObjectRequest) XXX_Merge(src proto.Message)
func (*GetObjectRequest) XXX_Size ¶
func (m *GetObjectRequest) XXX_Size() int
func (*GetObjectRequest) XXX_Unmarshal ¶
func (m *GetObjectRequest) XXX_Unmarshal(b []byte) error
type GetProjectServiceAccountRequest ¶
type GetProjectServiceAccountRequest struct { // Project ID. // Required. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // The project to be billed for this request. UserProject string `protobuf:"bytes,2,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for GetProjectServiceAccount.
func (*GetProjectServiceAccountRequest) Descriptor ¶
func (*GetProjectServiceAccountRequest) Descriptor() ([]byte, []int)
func (*GetProjectServiceAccountRequest) GetCommonRequestParams ¶
func (m *GetProjectServiceAccountRequest) GetCommonRequestParams() *CommonRequestParams
func (*GetProjectServiceAccountRequest) GetProjectId ¶
func (m *GetProjectServiceAccountRequest) GetProjectId() string
func (*GetProjectServiceAccountRequest) GetUserProject ¶
func (m *GetProjectServiceAccountRequest) GetUserProject() string
func (*GetProjectServiceAccountRequest) ProtoMessage ¶
func (*GetProjectServiceAccountRequest) ProtoMessage()
func (*GetProjectServiceAccountRequest) Reset ¶
func (m *GetProjectServiceAccountRequest) Reset()
func (*GetProjectServiceAccountRequest) String ¶
func (m *GetProjectServiceAccountRequest) String() string
func (*GetProjectServiceAccountRequest) XXX_DiscardUnknown ¶
func (m *GetProjectServiceAccountRequest) XXX_DiscardUnknown()
func (*GetProjectServiceAccountRequest) XXX_Marshal ¶
func (m *GetProjectServiceAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProjectServiceAccountRequest) XXX_Merge ¶
func (m *GetProjectServiceAccountRequest) XXX_Merge(src proto.Message)
func (*GetProjectServiceAccountRequest) XXX_Size ¶
func (m *GetProjectServiceAccountRequest) XXX_Size() int
func (*GetProjectServiceAccountRequest) XXX_Unmarshal ¶
func (m *GetProjectServiceAccountRequest) XXX_Unmarshal(b []byte) error
type InsertBucketAccessControlRequest ¶
type InsertBucketAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The project to be billed for this request. Required for Requester Pays // buckets. UserProject string `protobuf:"bytes,2,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // Properties of the new bucket access control being inserted. BucketAccessControl *BucketAccessControl `protobuf:"bytes,3,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for InsertBucketAccessControl.
func (*InsertBucketAccessControlRequest) Descriptor ¶
func (*InsertBucketAccessControlRequest) Descriptor() ([]byte, []int)
func (*InsertBucketAccessControlRequest) GetBucket ¶
func (m *InsertBucketAccessControlRequest) GetBucket() string
func (*InsertBucketAccessControlRequest) GetBucketAccessControl ¶
func (m *InsertBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
func (*InsertBucketAccessControlRequest) GetCommonRequestParams ¶
func (m *InsertBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*InsertBucketAccessControlRequest) GetUserProject ¶
func (m *InsertBucketAccessControlRequest) GetUserProject() string
func (*InsertBucketAccessControlRequest) ProtoMessage ¶
func (*InsertBucketAccessControlRequest) ProtoMessage()
func (*InsertBucketAccessControlRequest) Reset ¶
func (m *InsertBucketAccessControlRequest) Reset()
func (*InsertBucketAccessControlRequest) String ¶
func (m *InsertBucketAccessControlRequest) String() string
func (*InsertBucketAccessControlRequest) XXX_DiscardUnknown ¶
func (m *InsertBucketAccessControlRequest) XXX_DiscardUnknown()
func (*InsertBucketAccessControlRequest) XXX_Marshal ¶
func (m *InsertBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertBucketAccessControlRequest) XXX_Merge ¶
func (m *InsertBucketAccessControlRequest) XXX_Merge(src proto.Message)
func (*InsertBucketAccessControlRequest) XXX_Size ¶
func (m *InsertBucketAccessControlRequest) XXX_Size() int
func (*InsertBucketAccessControlRequest) XXX_Unmarshal ¶
func (m *InsertBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
type InsertBucketRequest ¶
type InsertBucketRequest struct { // Apply a predefined set of access controls to this bucket. PredefinedAcl CommonEnums_PredefinedBucketAcl `` /* 156-byte string literal not displayed */ // Apply a predefined set of default object access controls to this bucket. PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `` /* 199-byte string literal not displayed */ // A valid API project identifier. // Required. Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` // Set of properties to return. Defaults to <code>NO_ACL</code>, unless the // bucket resource specifies <code>acl</code> or <code>defaultObjectAcl</code> // properties, when it defaults to <code>FULL</code>. Projection CommonEnums_Projection `protobuf:"varint,4,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. UserProject string `protobuf:"bytes,5,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // Properties of the new bucket being inserted, including its name. Bucket *Bucket `protobuf:"bytes,6,opt,name=bucket,proto3" json:"bucket,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for InsertBucket.
func (*InsertBucketRequest) Descriptor ¶
func (*InsertBucketRequest) Descriptor() ([]byte, []int)
func (*InsertBucketRequest) GetBucket ¶
func (m *InsertBucketRequest) GetBucket() *Bucket
func (*InsertBucketRequest) GetCommonRequestParams ¶
func (m *InsertBucketRequest) GetCommonRequestParams() *CommonRequestParams
func (*InsertBucketRequest) GetPredefinedAcl ¶
func (m *InsertBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
func (*InsertBucketRequest) GetPredefinedDefaultObjectAcl ¶
func (m *InsertBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
func (*InsertBucketRequest) GetProject ¶
func (m *InsertBucketRequest) GetProject() string
func (*InsertBucketRequest) GetProjection ¶
func (m *InsertBucketRequest) GetProjection() CommonEnums_Projection
func (*InsertBucketRequest) GetUserProject ¶
func (m *InsertBucketRequest) GetUserProject() string
func (*InsertBucketRequest) ProtoMessage ¶
func (*InsertBucketRequest) ProtoMessage()
func (*InsertBucketRequest) Reset ¶
func (m *InsertBucketRequest) Reset()
func (*InsertBucketRequest) String ¶
func (m *InsertBucketRequest) String() string
func (*InsertBucketRequest) XXX_DiscardUnknown ¶
func (m *InsertBucketRequest) XXX_DiscardUnknown()
func (*InsertBucketRequest) XXX_Marshal ¶
func (m *InsertBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertBucketRequest) XXX_Merge ¶
func (m *InsertBucketRequest) XXX_Merge(src proto.Message)
func (*InsertBucketRequest) XXX_Size ¶
func (m *InsertBucketRequest) XXX_Size() int
func (*InsertBucketRequest) XXX_Unmarshal ¶
func (m *InsertBucketRequest) XXX_Unmarshal(b []byte) error
type InsertDefaultObjectAccessControlRequest ¶
type InsertDefaultObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,2,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // Properties of the object access control being inserted. ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,3,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for InsertDefaultObjectAccessControl.
func (*InsertDefaultObjectAccessControlRequest) Descriptor ¶
func (*InsertDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*InsertDefaultObjectAccessControlRequest) GetBucket ¶
func (m *InsertDefaultObjectAccessControlRequest) GetBucket() string
func (*InsertDefaultObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *InsertDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*InsertDefaultObjectAccessControlRequest) GetObjectAccessControl ¶
func (m *InsertDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
func (*InsertDefaultObjectAccessControlRequest) GetUserProject ¶
func (m *InsertDefaultObjectAccessControlRequest) GetUserProject() string
func (*InsertDefaultObjectAccessControlRequest) ProtoMessage ¶
func (*InsertDefaultObjectAccessControlRequest) ProtoMessage()
func (*InsertDefaultObjectAccessControlRequest) Reset ¶
func (m *InsertDefaultObjectAccessControlRequest) Reset()
func (*InsertDefaultObjectAccessControlRequest) String ¶
func (m *InsertDefaultObjectAccessControlRequest) String() string
func (*InsertDefaultObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *InsertDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
func (*InsertDefaultObjectAccessControlRequest) XXX_Marshal ¶
func (m *InsertDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertDefaultObjectAccessControlRequest) XXX_Merge ¶
func (m *InsertDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*InsertDefaultObjectAccessControlRequest) XXX_Size ¶
func (m *InsertDefaultObjectAccessControlRequest) XXX_Size() int
func (*InsertDefaultObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *InsertDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type InsertNotificationRequest ¶
type InsertNotificationRequest struct { // The parent bucket of the notification. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,2,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // Properties of the notification to be inserted. Notification *Notification `protobuf:"bytes,3,opt,name=notification,proto3" json:"notification,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for InsertNotification.
func (*InsertNotificationRequest) Descriptor ¶
func (*InsertNotificationRequest) Descriptor() ([]byte, []int)
func (*InsertNotificationRequest) GetBucket ¶
func (m *InsertNotificationRequest) GetBucket() string
func (*InsertNotificationRequest) GetCommonRequestParams ¶
func (m *InsertNotificationRequest) GetCommonRequestParams() *CommonRequestParams
func (*InsertNotificationRequest) GetNotification ¶
func (m *InsertNotificationRequest) GetNotification() *Notification
func (*InsertNotificationRequest) GetUserProject ¶
func (m *InsertNotificationRequest) GetUserProject() string
func (*InsertNotificationRequest) ProtoMessage ¶
func (*InsertNotificationRequest) ProtoMessage()
func (*InsertNotificationRequest) Reset ¶
func (m *InsertNotificationRequest) Reset()
func (*InsertNotificationRequest) String ¶
func (m *InsertNotificationRequest) String() string
func (*InsertNotificationRequest) XXX_DiscardUnknown ¶
func (m *InsertNotificationRequest) XXX_DiscardUnknown()
func (*InsertNotificationRequest) XXX_Marshal ¶
func (m *InsertNotificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertNotificationRequest) XXX_Merge ¶
func (m *InsertNotificationRequest) XXX_Merge(src proto.Message)
func (*InsertNotificationRequest) XXX_Size ¶
func (m *InsertNotificationRequest) XXX_Size() int
func (*InsertNotificationRequest) XXX_Unmarshal ¶
func (m *InsertNotificationRequest) XXX_Unmarshal(b []byte) error
type InsertObjectAccessControlRequest ¶
type InsertObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Name of the object. // Required. 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 project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,4,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // Properties of the object access control to be inserted. ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,5,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for InsertObjectAccessControl.
func (*InsertObjectAccessControlRequest) Descriptor ¶
func (*InsertObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*InsertObjectAccessControlRequest) GetBucket ¶
func (m *InsertObjectAccessControlRequest) GetBucket() string
func (*InsertObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *InsertObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*InsertObjectAccessControlRequest) GetGeneration ¶
func (m *InsertObjectAccessControlRequest) GetGeneration() int64
func (*InsertObjectAccessControlRequest) GetObject ¶
func (m *InsertObjectAccessControlRequest) GetObject() string
func (*InsertObjectAccessControlRequest) GetObjectAccessControl ¶
func (m *InsertObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
func (*InsertObjectAccessControlRequest) GetUserProject ¶
func (m *InsertObjectAccessControlRequest) GetUserProject() string
func (*InsertObjectAccessControlRequest) ProtoMessage ¶
func (*InsertObjectAccessControlRequest) ProtoMessage()
func (*InsertObjectAccessControlRequest) Reset ¶
func (m *InsertObjectAccessControlRequest) Reset()
func (*InsertObjectAccessControlRequest) String ¶
func (m *InsertObjectAccessControlRequest) String() string
func (*InsertObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *InsertObjectAccessControlRequest) XXX_DiscardUnknown()
func (*InsertObjectAccessControlRequest) XXX_Marshal ¶
func (m *InsertObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertObjectAccessControlRequest) XXX_Merge ¶
func (m *InsertObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*InsertObjectAccessControlRequest) XXX_Size ¶
func (m *InsertObjectAccessControlRequest) XXX_Size() int
func (*InsertObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *InsertObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type InsertObjectRequest ¶
type InsertObjectRequest struct { // The first message of each stream should set one of the following. // // Types that are valid to be assigned to FirstMessage: // *InsertObjectRequest_UploadId // *InsertObjectRequest_InsertObjectSpec FirstMessage isInsertObjectRequest_FirstMessage `protobuf_oneof:"first_message"` // The offset from the beginning of the object at which the data should be // written. // Required. // // In the first `InsertObjectRequest` of a `InsertObject()` action, it // indicates the initial offset for the `Insert()` call. The value **must** be // equal to the `committed_size` that a call to `QueryWriteStatus()` would // return (0 if this is the first write to the object). // // On subsequent calls, this value **must** be no larger than the sum of the // first `write_offset` and the sizes of all `data` chunks sent previously on // this stream. // // An incorrect value will cause an error. WriteOffset int64 `protobuf:"varint,3,opt,name=write_offset,json=writeOffset,proto3" json:"write_offset,omitempty"` // A portion of the data for the object. // // Types that are valid to be assigned to Data: // *InsertObjectRequest_ChecksummedData // *InsertObjectRequest_Reference Data isInsertObjectRequest_Data `protobuf_oneof:"data"` // Checksums for the complete object. If the checksums computed by the service // don't match the specifified checksums the call will fail. May only be // provided in the first or last request (either with first_message, or // finish_write set). ObjectChecksums *ObjectChecksums `protobuf:"bytes,6,opt,name=object_checksums,json=objectChecksums,proto3" json:"object_checksums,omitempty"` // If `true`, this indicates that the write is complete. Sending any // `InsertObjectRequest`s subsequent to one in which `finish_write` is `true` // will cause an error. // For a non-resumable write (where the upload_id was not set in the first // message), it is an error not to set this field in the final message of the // stream. FinishWrite bool `protobuf:"varint,7,opt,name=finish_write,json=finishWrite,proto3" json:"finish_write,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,9,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message for writing an object.
func (*InsertObjectRequest) Descriptor ¶
func (*InsertObjectRequest) Descriptor() ([]byte, []int)
func (*InsertObjectRequest) GetChecksummedData ¶
func (m *InsertObjectRequest) GetChecksummedData() *ChecksummedData
func (*InsertObjectRequest) GetCommonObjectRequestParams ¶
func (m *InsertObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*InsertObjectRequest) GetCommonRequestParams ¶
func (m *InsertObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*InsertObjectRequest) GetData ¶
func (m *InsertObjectRequest) GetData() isInsertObjectRequest_Data
func (*InsertObjectRequest) GetFinishWrite ¶
func (m *InsertObjectRequest) GetFinishWrite() bool
func (*InsertObjectRequest) GetFirstMessage ¶
func (m *InsertObjectRequest) GetFirstMessage() isInsertObjectRequest_FirstMessage
func (*InsertObjectRequest) GetInsertObjectSpec ¶
func (m *InsertObjectRequest) GetInsertObjectSpec() *InsertObjectSpec
func (*InsertObjectRequest) GetObjectChecksums ¶
func (m *InsertObjectRequest) GetObjectChecksums() *ObjectChecksums
func (*InsertObjectRequest) GetReference ¶
func (m *InsertObjectRequest) GetReference() *GetObjectMediaRequest
func (*InsertObjectRequest) GetUploadId ¶
func (m *InsertObjectRequest) GetUploadId() string
func (*InsertObjectRequest) GetWriteOffset ¶
func (m *InsertObjectRequest) GetWriteOffset() int64
func (*InsertObjectRequest) ProtoMessage ¶
func (*InsertObjectRequest) ProtoMessage()
func (*InsertObjectRequest) Reset ¶
func (m *InsertObjectRequest) Reset()
func (*InsertObjectRequest) String ¶
func (m *InsertObjectRequest) String() string
func (*InsertObjectRequest) XXX_DiscardUnknown ¶
func (m *InsertObjectRequest) XXX_DiscardUnknown()
func (*InsertObjectRequest) XXX_Marshal ¶
func (m *InsertObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertObjectRequest) XXX_Merge ¶
func (m *InsertObjectRequest) XXX_Merge(src proto.Message)
func (*InsertObjectRequest) XXX_OneofWrappers ¶
func (*InsertObjectRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*InsertObjectRequest) XXX_Size ¶
func (m *InsertObjectRequest) XXX_Size() int
func (*InsertObjectRequest) XXX_Unmarshal ¶
func (m *InsertObjectRequest) XXX_Unmarshal(b []byte) error
type InsertObjectRequest_ChecksummedData ¶
type InsertObjectRequest_ChecksummedData struct {
ChecksummedData *ChecksummedData `protobuf:"bytes,4,opt,name=checksummed_data,json=checksummedData,proto3,oneof"`
}
type InsertObjectRequest_InsertObjectSpec ¶
type InsertObjectRequest_InsertObjectSpec struct {
InsertObjectSpec *InsertObjectSpec `protobuf:"bytes,2,opt,name=insert_object_spec,json=insertObjectSpec,proto3,oneof"`
}
type InsertObjectRequest_Reference ¶
type InsertObjectRequest_Reference struct {
Reference *GetObjectMediaRequest `protobuf:"bytes,5,opt,name=reference,proto3,oneof"`
}
type InsertObjectRequest_UploadId ¶
type InsertObjectRequest_UploadId struct {
UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3,oneof"`
}
type InsertObjectSpec ¶
type InsertObjectSpec struct { // Destination object, including its name and its metadata. Resource *Object `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"` // Apply a predefined set of access controls to this object. PredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 156-byte string literal not displayed */ // Makes the operation conditional on whether the object's current // generation matches the given value. Setting to 0 makes the operation // succeed only if there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,3,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current // generation does not match the given value. If no live object exists, the // precondition fails. Setting to 0 makes the operation succeed only if // there is a live version of the object. IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Set of properties to return. Defaults to <code>NO_ACL</code>, unless the // object resource specifies the <code>acl</code> property, when it defaults // to <code>full</code>. Projection CommonEnums_Projection `protobuf:"varint,7,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,8,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Describes an attempt to insert an object, possibly over multiple requests.
func (*InsertObjectSpec) Descriptor ¶
func (*InsertObjectSpec) Descriptor() ([]byte, []int)
func (*InsertObjectSpec) GetIfGenerationMatch ¶
func (m *InsertObjectSpec) GetIfGenerationMatch() *wrappers.Int64Value
func (*InsertObjectSpec) GetIfGenerationNotMatch ¶
func (m *InsertObjectSpec) GetIfGenerationNotMatch() *wrappers.Int64Value
func (*InsertObjectSpec) GetIfMetagenerationMatch ¶
func (m *InsertObjectSpec) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*InsertObjectSpec) GetIfMetagenerationNotMatch ¶
func (m *InsertObjectSpec) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*InsertObjectSpec) GetPredefinedAcl ¶
func (m *InsertObjectSpec) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
func (*InsertObjectSpec) GetProjection ¶
func (m *InsertObjectSpec) GetProjection() CommonEnums_Projection
func (*InsertObjectSpec) GetResource ¶
func (m *InsertObjectSpec) GetResource() *Object
func (*InsertObjectSpec) GetUserProject ¶
func (m *InsertObjectSpec) GetUserProject() string
func (*InsertObjectSpec) ProtoMessage ¶
func (*InsertObjectSpec) ProtoMessage()
func (*InsertObjectSpec) Reset ¶
func (m *InsertObjectSpec) Reset()
func (*InsertObjectSpec) String ¶
func (m *InsertObjectSpec) String() string
func (*InsertObjectSpec) XXX_DiscardUnknown ¶
func (m *InsertObjectSpec) XXX_DiscardUnknown()
func (*InsertObjectSpec) XXX_Marshal ¶
func (m *InsertObjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*InsertObjectSpec) XXX_Merge ¶
func (m *InsertObjectSpec) XXX_Merge(src proto.Message)
func (*InsertObjectSpec) XXX_Size ¶
func (m *InsertObjectSpec) XXX_Size() int
func (*InsertObjectSpec) XXX_Unmarshal ¶
func (m *InsertObjectSpec) XXX_Unmarshal(b []byte) error
type ListBucketAccessControlsRequest ¶
type ListBucketAccessControlsRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The project to be billed for this request. Required for Requester Pays // buckets. UserProject string `protobuf:"bytes,2,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for ListBucketAccessControl.
func (*ListBucketAccessControlsRequest) Descriptor ¶
func (*ListBucketAccessControlsRequest) Descriptor() ([]byte, []int)
func (*ListBucketAccessControlsRequest) GetBucket ¶
func (m *ListBucketAccessControlsRequest) GetBucket() string
func (*ListBucketAccessControlsRequest) GetCommonRequestParams ¶
func (m *ListBucketAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
func (*ListBucketAccessControlsRequest) GetUserProject ¶
func (m *ListBucketAccessControlsRequest) GetUserProject() string
func (*ListBucketAccessControlsRequest) ProtoMessage ¶
func (*ListBucketAccessControlsRequest) ProtoMessage()
func (*ListBucketAccessControlsRequest) Reset ¶
func (m *ListBucketAccessControlsRequest) Reset()
func (*ListBucketAccessControlsRequest) String ¶
func (m *ListBucketAccessControlsRequest) String() string
func (*ListBucketAccessControlsRequest) XXX_DiscardUnknown ¶
func (m *ListBucketAccessControlsRequest) XXX_DiscardUnknown()
func (*ListBucketAccessControlsRequest) XXX_Marshal ¶
func (m *ListBucketAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBucketAccessControlsRequest) XXX_Merge ¶
func (m *ListBucketAccessControlsRequest) XXX_Merge(src proto.Message)
func (*ListBucketAccessControlsRequest) XXX_Size ¶
func (m *ListBucketAccessControlsRequest) XXX_Size() int
func (*ListBucketAccessControlsRequest) XXX_Unmarshal ¶
func (m *ListBucketAccessControlsRequest) XXX_Unmarshal(b []byte) error
type ListBucketAccessControlsResponse ¶
type ListBucketAccessControlsResponse struct { // The list of items. Items []*BucketAccessControl `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The response to a call to BucketAccessControls.ListBucketAccessControls.
func (*ListBucketAccessControlsResponse) Descriptor ¶
func (*ListBucketAccessControlsResponse) Descriptor() ([]byte, []int)
func (*ListBucketAccessControlsResponse) GetItems ¶
func (m *ListBucketAccessControlsResponse) GetItems() []*BucketAccessControl
func (*ListBucketAccessControlsResponse) ProtoMessage ¶
func (*ListBucketAccessControlsResponse) ProtoMessage()
func (*ListBucketAccessControlsResponse) Reset ¶
func (m *ListBucketAccessControlsResponse) Reset()
func (*ListBucketAccessControlsResponse) String ¶
func (m *ListBucketAccessControlsResponse) String() string
func (*ListBucketAccessControlsResponse) XXX_DiscardUnknown ¶
func (m *ListBucketAccessControlsResponse) XXX_DiscardUnknown()
func (*ListBucketAccessControlsResponse) XXX_Marshal ¶
func (m *ListBucketAccessControlsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBucketAccessControlsResponse) XXX_Merge ¶
func (m *ListBucketAccessControlsResponse) XXX_Merge(src proto.Message)
func (*ListBucketAccessControlsResponse) XXX_Size ¶
func (m *ListBucketAccessControlsResponse) XXX_Size() int
func (*ListBucketAccessControlsResponse) XXX_Unmarshal ¶
func (m *ListBucketAccessControlsResponse) XXX_Unmarshal(b []byte) error
type ListBucketsRequest ¶
type ListBucketsRequest struct { // Maximum number of buckets to return in a single response. The service will // use this parameter or 1,000 items, whichever is smaller. MaxResults int32 `protobuf:"varint,1,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // A previously-returned page token representing part of the larger set of // results to view. PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Filter results to buckets whose names begin with this prefix. Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` // A valid API project identifier. // Required. Project string `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` // Set of properties to return. Defaults to <code>NO_ACL</code>. Projection CommonEnums_Projection `protobuf:"varint,5,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. UserProject string `protobuf:"bytes,6,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for ListBuckets.
func (*ListBucketsRequest) Descriptor ¶
func (*ListBucketsRequest) Descriptor() ([]byte, []int)
func (*ListBucketsRequest) GetCommonRequestParams ¶
func (m *ListBucketsRequest) GetCommonRequestParams() *CommonRequestParams
func (*ListBucketsRequest) GetMaxResults ¶
func (m *ListBucketsRequest) GetMaxResults() int32
func (*ListBucketsRequest) GetPageToken ¶
func (m *ListBucketsRequest) GetPageToken() string
func (*ListBucketsRequest) GetPrefix ¶
func (m *ListBucketsRequest) GetPrefix() string
func (*ListBucketsRequest) GetProject ¶
func (m *ListBucketsRequest) GetProject() string
func (*ListBucketsRequest) GetProjection ¶
func (m *ListBucketsRequest) GetProjection() CommonEnums_Projection
func (*ListBucketsRequest) GetUserProject ¶
func (m *ListBucketsRequest) GetUserProject() string
func (*ListBucketsRequest) ProtoMessage ¶
func (*ListBucketsRequest) ProtoMessage()
func (*ListBucketsRequest) Reset ¶
func (m *ListBucketsRequest) Reset()
func (*ListBucketsRequest) String ¶
func (m *ListBucketsRequest) String() string
func (*ListBucketsRequest) XXX_DiscardUnknown ¶
func (m *ListBucketsRequest) XXX_DiscardUnknown()
func (*ListBucketsRequest) XXX_Marshal ¶
func (m *ListBucketsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBucketsRequest) XXX_Merge ¶
func (m *ListBucketsRequest) XXX_Merge(src proto.Message)
func (*ListBucketsRequest) XXX_Size ¶
func (m *ListBucketsRequest) XXX_Size() int
func (*ListBucketsRequest) XXX_Unmarshal ¶
func (m *ListBucketsRequest) XXX_Unmarshal(b []byte) error
type ListBucketsResponse ¶
type ListBucketsResponse struct { // The list of items. Items []*Bucket `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // The continuation token, used to page through large result sets. Provide // this value in a subsequent request to return the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The result of a call to Buckets.ListBuckets
func (*ListBucketsResponse) Descriptor ¶
func (*ListBucketsResponse) Descriptor() ([]byte, []int)
func (*ListBucketsResponse) GetItems ¶
func (m *ListBucketsResponse) GetItems() []*Bucket
func (*ListBucketsResponse) GetNextPageToken ¶
func (m *ListBucketsResponse) GetNextPageToken() string
func (*ListBucketsResponse) ProtoMessage ¶
func (*ListBucketsResponse) ProtoMessage()
func (*ListBucketsResponse) Reset ¶
func (m *ListBucketsResponse) Reset()
func (*ListBucketsResponse) String ¶
func (m *ListBucketsResponse) String() string
func (*ListBucketsResponse) XXX_DiscardUnknown ¶
func (m *ListBucketsResponse) XXX_DiscardUnknown()
func (*ListBucketsResponse) XXX_Marshal ¶
func (m *ListBucketsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListBucketsResponse) XXX_Merge ¶
func (m *ListBucketsResponse) XXX_Merge(src proto.Message)
func (*ListBucketsResponse) XXX_Size ¶
func (m *ListBucketsResponse) XXX_Size() int
func (*ListBucketsResponse) XXX_Unmarshal ¶
func (m *ListBucketsResponse) XXX_Unmarshal(b []byte) error
type ListDefaultObjectAccessControlsRequest ¶
type ListDefaultObjectAccessControlsRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // If present, only return default ACL listing if the bucket's current // metageneration matches this value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // If present, only return default ACL listing if the bucket's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,4,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for ListDefaultObjectAccessControls.
func (*ListDefaultObjectAccessControlsRequest) Descriptor ¶
func (*ListDefaultObjectAccessControlsRequest) Descriptor() ([]byte, []int)
func (*ListDefaultObjectAccessControlsRequest) GetBucket ¶
func (m *ListDefaultObjectAccessControlsRequest) GetBucket() string
func (*ListDefaultObjectAccessControlsRequest) GetCommonRequestParams ¶
func (m *ListDefaultObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
func (*ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch ¶
func (m *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch ¶
func (m *ListDefaultObjectAccessControlsRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*ListDefaultObjectAccessControlsRequest) GetUserProject ¶
func (m *ListDefaultObjectAccessControlsRequest) GetUserProject() string
func (*ListDefaultObjectAccessControlsRequest) ProtoMessage ¶
func (*ListDefaultObjectAccessControlsRequest) ProtoMessage()
func (*ListDefaultObjectAccessControlsRequest) Reset ¶
func (m *ListDefaultObjectAccessControlsRequest) Reset()
func (*ListDefaultObjectAccessControlsRequest) String ¶
func (m *ListDefaultObjectAccessControlsRequest) String() string
func (*ListDefaultObjectAccessControlsRequest) XXX_DiscardUnknown ¶
func (m *ListDefaultObjectAccessControlsRequest) XXX_DiscardUnknown()
func (*ListDefaultObjectAccessControlsRequest) XXX_Marshal ¶
func (m *ListDefaultObjectAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDefaultObjectAccessControlsRequest) XXX_Merge ¶
func (m *ListDefaultObjectAccessControlsRequest) XXX_Merge(src proto.Message)
func (*ListDefaultObjectAccessControlsRequest) XXX_Size ¶
func (m *ListDefaultObjectAccessControlsRequest) XXX_Size() int
func (*ListDefaultObjectAccessControlsRequest) XXX_Unmarshal ¶
func (m *ListDefaultObjectAccessControlsRequest) XXX_Unmarshal(b []byte) error
type ListNotificationsRequest ¶
type ListNotificationsRequest struct { // Name of a Google Cloud Storage bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,2,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for ListNotifications.
func (*ListNotificationsRequest) Descriptor ¶
func (*ListNotificationsRequest) Descriptor() ([]byte, []int)
func (*ListNotificationsRequest) GetBucket ¶
func (m *ListNotificationsRequest) GetBucket() string
func (*ListNotificationsRequest) GetCommonRequestParams ¶
func (m *ListNotificationsRequest) GetCommonRequestParams() *CommonRequestParams
func (*ListNotificationsRequest) GetUserProject ¶
func (m *ListNotificationsRequest) GetUserProject() string
func (*ListNotificationsRequest) ProtoMessage ¶
func (*ListNotificationsRequest) ProtoMessage()
func (*ListNotificationsRequest) Reset ¶
func (m *ListNotificationsRequest) Reset()
func (*ListNotificationsRequest) String ¶
func (m *ListNotificationsRequest) String() string
func (*ListNotificationsRequest) XXX_DiscardUnknown ¶
func (m *ListNotificationsRequest) XXX_DiscardUnknown()
func (*ListNotificationsRequest) XXX_Marshal ¶
func (m *ListNotificationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNotificationsRequest) XXX_Merge ¶
func (m *ListNotificationsRequest) XXX_Merge(src proto.Message)
func (*ListNotificationsRequest) XXX_Size ¶
func (m *ListNotificationsRequest) XXX_Size() int
func (*ListNotificationsRequest) XXX_Unmarshal ¶
func (m *ListNotificationsRequest) XXX_Unmarshal(b []byte) error
type ListNotificationsResponse ¶
type ListNotificationsResponse struct { // The list of items. Items []*Notification `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The result of a call to Notifications.ListNotifications
func (*ListNotificationsResponse) Descriptor ¶
func (*ListNotificationsResponse) Descriptor() ([]byte, []int)
func (*ListNotificationsResponse) GetItems ¶
func (m *ListNotificationsResponse) GetItems() []*Notification
func (*ListNotificationsResponse) ProtoMessage ¶
func (*ListNotificationsResponse) ProtoMessage()
func (*ListNotificationsResponse) Reset ¶
func (m *ListNotificationsResponse) Reset()
func (*ListNotificationsResponse) String ¶
func (m *ListNotificationsResponse) String() string
func (*ListNotificationsResponse) XXX_DiscardUnknown ¶
func (m *ListNotificationsResponse) XXX_DiscardUnknown()
func (*ListNotificationsResponse) XXX_Marshal ¶
func (m *ListNotificationsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListNotificationsResponse) XXX_Merge ¶
func (m *ListNotificationsResponse) XXX_Merge(src proto.Message)
func (*ListNotificationsResponse) XXX_Size ¶
func (m *ListNotificationsResponse) XXX_Size() int
func (*ListNotificationsResponse) XXX_Unmarshal ¶
func (m *ListNotificationsResponse) XXX_Unmarshal(b []byte) error
type ListObjectAccessControlsRequest ¶
type ListObjectAccessControlsRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Name of the object. // Required. 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 project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,4,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for ListObjectAccessControls.
func (*ListObjectAccessControlsRequest) Descriptor ¶
func (*ListObjectAccessControlsRequest) Descriptor() ([]byte, []int)
func (*ListObjectAccessControlsRequest) GetBucket ¶
func (m *ListObjectAccessControlsRequest) GetBucket() string
func (*ListObjectAccessControlsRequest) GetCommonRequestParams ¶
func (m *ListObjectAccessControlsRequest) GetCommonRequestParams() *CommonRequestParams
func (*ListObjectAccessControlsRequest) GetGeneration ¶
func (m *ListObjectAccessControlsRequest) GetGeneration() int64
func (*ListObjectAccessControlsRequest) GetObject ¶
func (m *ListObjectAccessControlsRequest) GetObject() string
func (*ListObjectAccessControlsRequest) GetUserProject ¶
func (m *ListObjectAccessControlsRequest) GetUserProject() string
func (*ListObjectAccessControlsRequest) ProtoMessage ¶
func (*ListObjectAccessControlsRequest) ProtoMessage()
func (*ListObjectAccessControlsRequest) Reset ¶
func (m *ListObjectAccessControlsRequest) Reset()
func (*ListObjectAccessControlsRequest) String ¶
func (m *ListObjectAccessControlsRequest) String() string
func (*ListObjectAccessControlsRequest) XXX_DiscardUnknown ¶
func (m *ListObjectAccessControlsRequest) XXX_DiscardUnknown()
func (*ListObjectAccessControlsRequest) XXX_Marshal ¶
func (m *ListObjectAccessControlsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListObjectAccessControlsRequest) XXX_Merge ¶
func (m *ListObjectAccessControlsRequest) XXX_Merge(src proto.Message)
func (*ListObjectAccessControlsRequest) XXX_Size ¶
func (m *ListObjectAccessControlsRequest) XXX_Size() int
func (*ListObjectAccessControlsRequest) XXX_Unmarshal ¶
func (m *ListObjectAccessControlsRequest) XXX_Unmarshal(b []byte) error
type ListObjectAccessControlsResponse ¶
type ListObjectAccessControlsResponse struct { // The list of items. Items []*ObjectAccessControl `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The result of a call to ObjectAccessControls.ListObjectAccessControls.
func (*ListObjectAccessControlsResponse) Descriptor ¶
func (*ListObjectAccessControlsResponse) Descriptor() ([]byte, []int)
func (*ListObjectAccessControlsResponse) GetItems ¶
func (m *ListObjectAccessControlsResponse) GetItems() []*ObjectAccessControl
func (*ListObjectAccessControlsResponse) ProtoMessage ¶
func (*ListObjectAccessControlsResponse) ProtoMessage()
func (*ListObjectAccessControlsResponse) Reset ¶
func (m *ListObjectAccessControlsResponse) Reset()
func (*ListObjectAccessControlsResponse) String ¶
func (m *ListObjectAccessControlsResponse) String() string
func (*ListObjectAccessControlsResponse) XXX_DiscardUnknown ¶
func (m *ListObjectAccessControlsResponse) XXX_DiscardUnknown()
func (*ListObjectAccessControlsResponse) XXX_Marshal ¶
func (m *ListObjectAccessControlsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListObjectAccessControlsResponse) XXX_Merge ¶
func (m *ListObjectAccessControlsResponse) XXX_Merge(src proto.Message)
func (*ListObjectAccessControlsResponse) XXX_Size ¶
func (m *ListObjectAccessControlsResponse) XXX_Size() int
func (*ListObjectAccessControlsResponse) XXX_Unmarshal ¶
func (m *ListObjectAccessControlsResponse) XXX_Unmarshal(b []byte) error
type ListObjectsRequest ¶
type ListObjectsRequest struct { // Name of the bucket in which to look for objects. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Returns results in a directory-like mode. <code>items</code> will contain // only objects whose names, aside from the <code>prefix</code>, do not // contain <code>delimiter</code>. Objects whose names, aside from the // <code>prefix</code>, contain <code>delimiter</code> will have their name, // truncated after the <code>delimiter</code>, returned in // <code>prefixes</code>. Duplicate <code>prefixes</code> are omitted. Delimiter string `protobuf:"bytes,2,opt,name=delimiter,proto3" json:"delimiter,omitempty"` // If true, objects that end in exactly one instance of <code>delimiter</code> // will have their metadata included in <code>items</code> in addition to // <code>prefixes</code>. IncludeTrailingDelimiter bool `` /* 136-byte string literal not displayed */ // Maximum number of <code>items</code> plus <code>prefixes</code> to return // in a single page of responses. As duplicate <code>prefixes</code> 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 <code>NO_ACL</code>. Projection CommonEnums_Projection `protobuf:"varint,7,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,8,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // If <code>true</code>, lists all versions of an object as distinct results. // The default is <code>false</code>. For more information, see <a // href="/storage/docs/object-versioning">Object Versioning</a>. Versions bool `protobuf:"varint,9,opt,name=versions,proto3" json:"versions,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for ListObjects.
func (*ListObjectsRequest) Descriptor ¶
func (*ListObjectsRequest) Descriptor() ([]byte, []int)
func (*ListObjectsRequest) GetBucket ¶
func (m *ListObjectsRequest) GetBucket() string
func (*ListObjectsRequest) GetCommonRequestParams ¶
func (m *ListObjectsRequest) GetCommonRequestParams() *CommonRequestParams
func (*ListObjectsRequest) GetDelimiter ¶
func (m *ListObjectsRequest) GetDelimiter() string
func (*ListObjectsRequest) GetIncludeTrailingDelimiter ¶
func (m *ListObjectsRequest) GetIncludeTrailingDelimiter() bool
func (*ListObjectsRequest) GetMaxResults ¶
func (m *ListObjectsRequest) GetMaxResults() int32
func (*ListObjectsRequest) GetPageToken ¶
func (m *ListObjectsRequest) GetPageToken() string
func (*ListObjectsRequest) GetPrefix ¶
func (m *ListObjectsRequest) GetPrefix() string
func (*ListObjectsRequest) GetProjection ¶
func (m *ListObjectsRequest) GetProjection() CommonEnums_Projection
func (*ListObjectsRequest) GetUserProject ¶
func (m *ListObjectsRequest) GetUserProject() string
func (*ListObjectsRequest) GetVersions ¶
func (m *ListObjectsRequest) GetVersions() bool
func (*ListObjectsRequest) ProtoMessage ¶
func (*ListObjectsRequest) ProtoMessage()
func (*ListObjectsRequest) Reset ¶
func (m *ListObjectsRequest) Reset()
func (*ListObjectsRequest) String ¶
func (m *ListObjectsRequest) String() string
func (*ListObjectsRequest) XXX_DiscardUnknown ¶
func (m *ListObjectsRequest) XXX_DiscardUnknown()
func (*ListObjectsRequest) XXX_Marshal ¶
func (m *ListObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListObjectsRequest) XXX_Merge ¶
func (m *ListObjectsRequest) XXX_Merge(src proto.Message)
func (*ListObjectsRequest) XXX_Size ¶
func (m *ListObjectsRequest) XXX_Size() int
func (*ListObjectsRequest) XXX_Unmarshal ¶
func (m *ListObjectsRequest) XXX_Unmarshal(b []byte) error
type ListObjectsResponse ¶
type ListObjectsResponse struct { // The list of prefixes of objects matching-but-not-listed up to and including // the requested delimiter. Prefixes []string `protobuf:"bytes,1,rep,name=prefixes,proto3" json:"prefixes,omitempty"` // The list of items. Items []*Object `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` // The continuation token, used to page through large result sets. Provide // this value in a subsequent request to return the next page of results. NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The result of a call to Objects.ListObjects
func (*ListObjectsResponse) Descriptor ¶
func (*ListObjectsResponse) Descriptor() ([]byte, []int)
func (*ListObjectsResponse) GetItems ¶
func (m *ListObjectsResponse) GetItems() []*Object
func (*ListObjectsResponse) GetNextPageToken ¶
func (m *ListObjectsResponse) GetNextPageToken() string
func (*ListObjectsResponse) GetPrefixes ¶
func (m *ListObjectsResponse) GetPrefixes() []string
func (*ListObjectsResponse) ProtoMessage ¶
func (*ListObjectsResponse) ProtoMessage()
func (*ListObjectsResponse) Reset ¶
func (m *ListObjectsResponse) Reset()
func (*ListObjectsResponse) String ¶
func (m *ListObjectsResponse) String() string
func (*ListObjectsResponse) XXX_DiscardUnknown ¶
func (m *ListObjectsResponse) XXX_DiscardUnknown()
func (*ListObjectsResponse) XXX_Marshal ¶
func (m *ListObjectsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListObjectsResponse) XXX_Merge ¶
func (m *ListObjectsResponse) XXX_Merge(src proto.Message)
func (*ListObjectsResponse) XXX_Size ¶
func (m *ListObjectsResponse) XXX_Size() int
func (*ListObjectsResponse) XXX_Unmarshal ¶
func (m *ListObjectsResponse) XXX_Unmarshal(b []byte) error
type LockRetentionPolicyRequest ¶
type LockRetentionPolicyRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Makes the operation conditional on whether bucket's current metageneration // matches the given value. Must be positive. IfMetagenerationMatch int64 `` /* 127-byte string literal not displayed */ // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for LockRetentionPolicy.
func (*LockRetentionPolicyRequest) Descriptor ¶
func (*LockRetentionPolicyRequest) Descriptor() ([]byte, []int)
func (*LockRetentionPolicyRequest) GetBucket ¶
func (m *LockRetentionPolicyRequest) GetBucket() string
func (*LockRetentionPolicyRequest) GetCommonRequestParams ¶
func (m *LockRetentionPolicyRequest) GetCommonRequestParams() *CommonRequestParams
func (*LockRetentionPolicyRequest) GetIfMetagenerationMatch ¶
func (m *LockRetentionPolicyRequest) GetIfMetagenerationMatch() int64
func (*LockRetentionPolicyRequest) GetUserProject ¶
func (m *LockRetentionPolicyRequest) GetUserProject() string
func (*LockRetentionPolicyRequest) ProtoMessage ¶
func (*LockRetentionPolicyRequest) ProtoMessage()
func (*LockRetentionPolicyRequest) Reset ¶
func (m *LockRetentionPolicyRequest) Reset()
func (*LockRetentionPolicyRequest) String ¶
func (m *LockRetentionPolicyRequest) String() string
func (*LockRetentionPolicyRequest) XXX_DiscardUnknown ¶
func (m *LockRetentionPolicyRequest) XXX_DiscardUnknown()
func (*LockRetentionPolicyRequest) XXX_Marshal ¶
func (m *LockRetentionPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LockRetentionPolicyRequest) XXX_Merge ¶
func (m *LockRetentionPolicyRequest) XXX_Merge(src proto.Message)
func (*LockRetentionPolicyRequest) XXX_Size ¶
func (m *LockRetentionPolicyRequest) XXX_Size() int
func (*LockRetentionPolicyRequest) XXX_Unmarshal ¶
func (m *LockRetentionPolicyRequest) XXX_Unmarshal(b []byte) error
type Notification ¶
type Notification struct { // The Cloud PubSub topic to which this subscription publishes. Formatted as: // '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}' Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"` // If present, only send notifications about listed event types. If empty, // sent notifications for all event types. EventTypes []string `protobuf:"bytes,2,rep,name=event_types,json=eventTypes,proto3" json:"event_types,omitempty"` // An optional list of additional attributes to attach to each Cloud PubSub // message published for this notification subscription. CustomAttributes map[string]string `` /* 197-byte string literal not displayed */ // HTTP 1.1 [https://tools.ietf.org/html/rfc7232#section-2.3][Entity tag] // for this subscription notification. Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"` // If present, only apply this notification configuration to object names that // begin with this prefix. ObjectNamePrefix string `protobuf:"bytes,5,opt,name=object_name_prefix,json=objectNamePrefix,proto3" json:"object_name_prefix,omitempty"` // The desired content of the Payload. PayloadFormat string `protobuf:"bytes,6,opt,name=payload_format,json=payloadFormat,proto3" json:"payload_format,omitempty"` // The ID of the notification. Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A subscription to receive Google PubSub notifications.
func (*Notification) Descriptor ¶
func (*Notification) Descriptor() ([]byte, []int)
func (*Notification) GetCustomAttributes ¶
func (m *Notification) GetCustomAttributes() map[string]string
func (*Notification) GetEtag ¶
func (m *Notification) GetEtag() string
func (*Notification) GetEventTypes ¶
func (m *Notification) GetEventTypes() []string
func (*Notification) GetId ¶
func (m *Notification) GetId() string
func (*Notification) GetObjectNamePrefix ¶
func (m *Notification) GetObjectNamePrefix() string
func (*Notification) GetPayloadFormat ¶
func (m *Notification) GetPayloadFormat() string
func (*Notification) GetTopic ¶
func (m *Notification) GetTopic() string
func (*Notification) ProtoMessage ¶
func (*Notification) ProtoMessage()
func (*Notification) Reset ¶
func (m *Notification) Reset()
func (*Notification) String ¶
func (m *Notification) String() string
func (*Notification) XXX_DiscardUnknown ¶
func (m *Notification) XXX_DiscardUnknown()
func (*Notification) XXX_Marshal ¶
func (m *Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Notification) XXX_Merge ¶
func (m *Notification) XXX_Merge(src proto.Message)
func (*Notification) XXX_Size ¶
func (m *Notification) XXX_Size() int
func (*Notification) XXX_Unmarshal ¶
func (m *Notification) XXX_Unmarshal(b []byte) error
type Object ¶
type Object struct { // Content-Encoding of the object data, matching // [https://tools.ietf.org/html/rfc7231#section-3.1.2.2][RFC 7231 §3.1.2.2] ContentEncoding string `protobuf:"bytes,1,opt,name=content_encoding,json=contentEncoding,proto3" json:"content_encoding,omitempty"` // Content-Disposition of the object data, matching // [https://tools.ietf.org/html/rfc6266][RFC 6266]. ContentDisposition string `protobuf:"bytes,2,opt,name=content_disposition,json=contentDisposition,proto3" json:"content_disposition,omitempty"` // Cache-Control directive for the object data, matching // [https://tools.ietf.org/html/rfc7234#section-5.2"][RFC 7234 §5.2]. // If omitted, and the object is accessible to all anonymous users, the // default will be `public, max-age=3600`. CacheControl string `protobuf:"bytes,3,opt,name=cache_control,json=cacheControl,proto3" json:"cache_control,omitempty"` // Access controls on the object. Acl []*ObjectAccessControl `protobuf:"bytes,4,rep,name=acl,proto3" json:"acl,omitempty"` // Content-Language of the object data, matching // [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2]. ContentLanguage string `protobuf:"bytes,5,opt,name=content_language,json=contentLanguage,proto3" json:"content_language,omitempty"` // The version of the metadata for this object at this generation. Used for // preconditions and for detecting changes in metadata. A metageneration // number is only meaningful in the context of a particular generation of a // particular object. // Attempting to set this field will result in an error. Metageneration int64 `protobuf:"varint,6,opt,name=metageneration,proto3" json:"metageneration,omitempty"` // The deletion time of the object. Will be returned if and only if this // version of the object has been deleted. // Attempting to set this field will result in an error. TimeDeleted *timestamp.Timestamp `protobuf:"bytes,7,opt,name=time_deleted,json=timeDeleted,proto3" json:"time_deleted,omitempty"` // Content-Type of the object data, matching // [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5]. // If an object is stored without a Content-Type, it is served as // `application/octet-stream`. ContentType string `protobuf:"bytes,8,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` // Content-Length of the object data in bytes, matching // [https://tools.ietf.org/html/rfc7230#section-3.3.2][RFC 7230 §3.3.2]. // Attempting to set this field will result in an error. Size int64 `protobuf:"varint,9,opt,name=size,proto3" json:"size,omitempty"` // The creation time of the object. // Attempting to set this field will result in an error. TimeCreated *timestamp.Timestamp `protobuf:"bytes,10,opt,name=time_created,json=timeCreated,proto3" json:"time_created,omitempty"` // CRC32c checksum. For more information about using the CRC32c // checksum, see // [https://cloud.google.com/storage/docs/hashes-etags#_JSONAPI][Hashes and // ETags: Best Practices]. This is a server determined value and should not be // supplied by the user when sending an Object. The server will ignore any // value provided. Users should instead use the object_checksums field on the // InsertObjectRequest when uploading an object. Crc32C *wrappers.UInt32Value `protobuf:"bytes,11,opt,name=crc32c,proto3" json:"crc32c,omitempty"` // Number of underlying components that make up this object. Components are // accumulated by compose operations. // Attempting to set this field will result in an error. ComponentCount int32 `protobuf:"varint,12,opt,name=component_count,json=componentCount,proto3" json:"component_count,omitempty"` // MD5 hash of the data; encoded using base64 as per // [https://tools.ietf.org/html/rfc4648#section-4][RFC 4648 §4]. For more // information about using the MD5 hash, see // [https://cloud.google.com/storage/docs/hashes-etags#_JSONAPI][Hashes and // ETags: Best Practices]. This is a server determined value and should not be // supplied by the user when sending an Object. The server will ignore any // value provided. Users should instead use the object_checksums field on the // InsertObjectRequest when uploading an object. Md5Hash string `protobuf:"bytes,13,opt,name=md5_hash,json=md5Hash,proto3" json:"md5_hash,omitempty"` // HTTP 1.1 Entity tag for the object. See // [https://tools.ietf.org/html/rfc7232#section-2.3][RFC 7232 §2.3]. // Attempting to set this field will result in an error. Etag string `protobuf:"bytes,14,opt,name=etag,proto3" json:"etag,omitempty"` // The modification time of the object metadata. // Attempting to set this field will result in an error. Updated *timestamp.Timestamp `protobuf:"bytes,15,opt,name=updated,proto3" json:"updated,omitempty"` // Storage class of the object. StorageClass string `protobuf:"bytes,16,opt,name=storage_class,json=storageClass,proto3" json:"storage_class,omitempty"` // Cloud KMS Key used to encrypt this object, if the object is encrypted by // such a key. KmsKeyName string `protobuf:"bytes,17,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"` // The time at which the object's storage class was last changed. When the // object is initially created, it will be set to time_created. // Attempting to set this field will result in an error. TimeStorageClassUpdated *timestamp.Timestamp `` /* 135-byte string literal not displayed */ // Whether an object is under temporary hold. While this flag is set to true, // the object is protected against deletion and overwrites. A common use case // of this flag is regulatory investigations where objects need to be retained // while the investigation is ongoing. Note that unlike event-based hold, // temporary hold does not impact retention expiration time of an object. TemporaryHold bool `protobuf:"varint,19,opt,name=temporary_hold,json=temporaryHold,proto3" json:"temporary_hold,omitempty"` // A server-determined value that specifies the earliest time that the // object's retention period expires. This value is in // [https://tools.ietf.org/html/rfc3339][RFC 3339] format. // Note 1: This field is not provided for objects with an active event-based // hold, since retention expiration is unknown until the hold is removed. // Note 2: This value can be provided even when temporary hold is set (so that // the user can reason about policy without having to first unset the // temporary hold). RetentionExpirationTime *timestamp.Timestamp `` /* 133-byte string literal not displayed */ // User-provided metadata, in key/value pairs. Metadata map[string]string `` /* 158-byte string literal not displayed */ // Whether an object is under event-based hold. Event-based hold is a way to // retain objects until an event occurs, which is signified by the // hold's release (i.e. this value is set to false). After being released (set // to false), such objects will be subject to bucket-level retention (if any). // One sample use case of this flag is for banks to hold loan documents for at // least 3 years after loan is paid in full. Here, bucket-level retention is 3 // years and the event is the loan being paid in full. In this example, these // objects will be held intact for any number of years until the event has // occurred (event-based hold on the object is released) and then 3 more years // after that. That means retention duration of the objects begins from the // moment event-based hold transitioned from true to false. EventBasedHold *wrappers.BoolValue `protobuf:"bytes,29,opt,name=event_based_hold,json=eventBasedHold,proto3" json:"event_based_hold,omitempty"` // The name of the object. Required if not specified by URL parameter. // Attempting to update this field after the object is created will result in // an error. Name string `protobuf:"bytes,23,opt,name=name,proto3" json:"name,omitempty"` // The ID of the object, including the bucket name, object name, and // generation number. // Attempting to update this field after the object is created will result in // an error. Id string `protobuf:"bytes,24,opt,name=id,proto3" json:"id,omitempty"` // The name of the bucket containing this object. // Attempting to update this field after the object is created will result in // an error. Bucket string `protobuf:"bytes,25,opt,name=bucket,proto3" json:"bucket,omitempty"` // The content generation of this object. Used for object versioning. // Attempting to set this field will result in an error. Generation int64 `protobuf:"varint,26,opt,name=generation,proto3" json:"generation,omitempty"` // The owner of the object. This will always be the uploader of the object. // Attempting to set this field will result in an error. Owner *Owner `protobuf:"bytes,27,opt,name=owner,proto3" json:"owner,omitempty"` // Metadata of customer-supplied encryption key, if the object is encrypted by // such a key. CustomerEncryption *Object_CustomerEncryption `protobuf:"bytes,28,opt,name=customer_encryption,json=customerEncryption,proto3" json:"customer_encryption,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An object.
func (*Object) Descriptor ¶
func (*Object) GetAcl ¶
func (m *Object) GetAcl() []*ObjectAccessControl
func (*Object) GetCacheControl ¶
func (*Object) GetComponentCount ¶
func (*Object) GetContentDisposition ¶
func (*Object) GetContentEncoding ¶
func (*Object) GetContentLanguage ¶
func (*Object) GetContentType ¶
func (*Object) GetCrc32C ¶
func (m *Object) GetCrc32C() *wrappers.UInt32Value
func (*Object) GetCustomerEncryption ¶
func (m *Object) GetCustomerEncryption() *Object_CustomerEncryption
func (*Object) GetEventBasedHold ¶
func (*Object) GetGeneration ¶
func (*Object) GetKmsKeyName ¶
func (*Object) GetMd5Hash ¶
func (*Object) GetMetadata ¶
func (*Object) GetMetageneration ¶
func (*Object) GetRetentionExpirationTime ¶
func (*Object) GetStorageClass ¶
func (*Object) GetTemporaryHold ¶
func (*Object) GetTimeCreated ¶
func (*Object) GetTimeDeleted ¶
func (*Object) GetTimeStorageClassUpdated ¶
func (*Object) GetUpdated ¶
func (*Object) ProtoMessage ¶
func (*Object) ProtoMessage()
func (*Object) XXX_DiscardUnknown ¶
func (m *Object) XXX_DiscardUnknown()
func (*Object) XXX_Marshal ¶
func (*Object) XXX_Unmarshal ¶
type ObjectAccessControl ¶
type ObjectAccessControl struct { // The access permission for the entity. Role string `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // HTTP 1.1 Entity tag for the access-control entry. // See [https://tools.ietf.org/html/rfc7232#section-2.3][RFC 7232 §2.3]. Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"` // The ID of the access-control entry. Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` // The name of the bucket. Bucket string `protobuf:"bytes,4,opt,name=bucket,proto3" json:"bucket,omitempty"` // The name of the object, if applied to an object. Object string `protobuf:"bytes,5,opt,name=object,proto3" json:"object,omitempty"` // The content generation of the object, if applied to an object. Generation int64 `protobuf:"varint,6,opt,name=generation,proto3" json:"generation,omitempty"` // The entity holding the permission, in one of the following forms: // * `user-{userid}` // * `user-{email}` // * `group-{groupid}` // * `group-{email}` // * `domain-{domain}` // * `project-{team-projectid}` // * `allUsers` // * `allAuthenticatedUsers` // Examples: // * The user `liz@example.com` would be `user-liz@example.com`. // * The group `example@googlegroups.com` would be // `group-example@googlegroups.com`. // * All members of the Google Apps for Business domain `example.com` would be // `domain-example.com`. Entity string `protobuf:"bytes,7,opt,name=entity,proto3" json:"entity,omitempty"` // The ID for the entity, if any. EntityId string `protobuf:"bytes,8,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` // The email address associated with the entity, if any. Email string `protobuf:"bytes,9,opt,name=email,proto3" json:"email,omitempty"` // The domain associated with the entity, if any. Domain string `protobuf:"bytes,10,opt,name=domain,proto3" json:"domain,omitempty"` // The project team associated with the entity, if any. ProjectTeam *ProjectTeam `protobuf:"bytes,11,opt,name=project_team,json=projectTeam,proto3" json:"project_team,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An access-control entry.
func (*ObjectAccessControl) Descriptor ¶
func (*ObjectAccessControl) Descriptor() ([]byte, []int)
func (*ObjectAccessControl) GetBucket ¶
func (m *ObjectAccessControl) GetBucket() string
func (*ObjectAccessControl) GetDomain ¶
func (m *ObjectAccessControl) GetDomain() string
func (*ObjectAccessControl) GetEmail ¶
func (m *ObjectAccessControl) GetEmail() string
func (*ObjectAccessControl) GetEntity ¶
func (m *ObjectAccessControl) GetEntity() string
func (*ObjectAccessControl) GetEntityId ¶
func (m *ObjectAccessControl) GetEntityId() string
func (*ObjectAccessControl) GetEtag ¶
func (m *ObjectAccessControl) GetEtag() string
func (*ObjectAccessControl) GetGeneration ¶
func (m *ObjectAccessControl) GetGeneration() int64
func (*ObjectAccessControl) GetId ¶
func (m *ObjectAccessControl) GetId() string
func (*ObjectAccessControl) GetObject ¶
func (m *ObjectAccessControl) GetObject() string
func (*ObjectAccessControl) GetProjectTeam ¶
func (m *ObjectAccessControl) GetProjectTeam() *ProjectTeam
func (*ObjectAccessControl) GetRole ¶
func (m *ObjectAccessControl) GetRole() string
func (*ObjectAccessControl) ProtoMessage ¶
func (*ObjectAccessControl) ProtoMessage()
func (*ObjectAccessControl) Reset ¶
func (m *ObjectAccessControl) Reset()
func (*ObjectAccessControl) String ¶
func (m *ObjectAccessControl) String() string
func (*ObjectAccessControl) XXX_DiscardUnknown ¶
func (m *ObjectAccessControl) XXX_DiscardUnknown()
func (*ObjectAccessControl) XXX_Marshal ¶
func (m *ObjectAccessControl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectAccessControl) XXX_Merge ¶
func (m *ObjectAccessControl) XXX_Merge(src proto.Message)
func (*ObjectAccessControl) XXX_Size ¶
func (m *ObjectAccessControl) XXX_Size() int
func (*ObjectAccessControl) XXX_Unmarshal ¶
func (m *ObjectAccessControl) XXX_Unmarshal(b []byte) error
type ObjectChecksums ¶
type ObjectChecksums struct { // CRC32C digest of the object data. Computed by the GCS service for // all written objects, and validated by the GCS service against // client-supplied values if present in an InsertObjectRequest. Crc32C *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=crc32c,proto3" json:"crc32c,omitempty"` // Hex-encoded MD5 hash of the object data (hexdigest). Whether/how this // checksum is provided and validated is service-dependent. Md5Hash string `protobuf:"bytes,2,opt,name=md5_hash,json=md5Hash,proto3" json:"md5_hash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Message used for storing full (not subrange) object checksums.
func (*ObjectChecksums) Descriptor ¶
func (*ObjectChecksums) Descriptor() ([]byte, []int)
func (*ObjectChecksums) GetCrc32C ¶
func (m *ObjectChecksums) GetCrc32C() *wrappers.UInt32Value
func (*ObjectChecksums) GetMd5Hash ¶
func (m *ObjectChecksums) GetMd5Hash() string
func (*ObjectChecksums) ProtoMessage ¶
func (*ObjectChecksums) ProtoMessage()
func (*ObjectChecksums) Reset ¶
func (m *ObjectChecksums) Reset()
func (*ObjectChecksums) String ¶
func (m *ObjectChecksums) String() string
func (*ObjectChecksums) XXX_DiscardUnknown ¶
func (m *ObjectChecksums) XXX_DiscardUnknown()
func (*ObjectChecksums) XXX_Marshal ¶
func (m *ObjectChecksums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ObjectChecksums) XXX_Merge ¶
func (m *ObjectChecksums) XXX_Merge(src proto.Message)
func (*ObjectChecksums) XXX_Size ¶
func (m *ObjectChecksums) XXX_Size() int
func (*ObjectChecksums) XXX_Unmarshal ¶
func (m *ObjectChecksums) XXX_Unmarshal(b []byte) error
type Object_CustomerEncryption ¶
type Object_CustomerEncryption struct { // The encryption algorithm. EncryptionAlgorithm string `protobuf:"bytes,1,opt,name=encryption_algorithm,json=encryptionAlgorithm,proto3" json:"encryption_algorithm,omitempty"` // SHA256 hash value of the encryption key. KeySha256 string `protobuf:"bytes,2,opt,name=key_sha256,json=keySha256,proto3" json:"key_sha256,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Describes the customer-specified mechanism used to store the data at rest.
func (*Object_CustomerEncryption) Descriptor ¶
func (*Object_CustomerEncryption) Descriptor() ([]byte, []int)
func (*Object_CustomerEncryption) GetEncryptionAlgorithm ¶
func (m *Object_CustomerEncryption) GetEncryptionAlgorithm() string
func (*Object_CustomerEncryption) GetKeySha256 ¶
func (m *Object_CustomerEncryption) GetKeySha256() string
func (*Object_CustomerEncryption) ProtoMessage ¶
func (*Object_CustomerEncryption) ProtoMessage()
func (*Object_CustomerEncryption) Reset ¶
func (m *Object_CustomerEncryption) Reset()
func (*Object_CustomerEncryption) String ¶
func (m *Object_CustomerEncryption) String() string
func (*Object_CustomerEncryption) XXX_DiscardUnknown ¶
func (m *Object_CustomerEncryption) XXX_DiscardUnknown()
func (*Object_CustomerEncryption) XXX_Marshal ¶
func (m *Object_CustomerEncryption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Object_CustomerEncryption) XXX_Merge ¶
func (m *Object_CustomerEncryption) XXX_Merge(src proto.Message)
func (*Object_CustomerEncryption) XXX_Size ¶
func (m *Object_CustomerEncryption) XXX_Size() int
func (*Object_CustomerEncryption) XXX_Unmarshal ¶
func (m *Object_CustomerEncryption) XXX_Unmarshal(b []byte) error
type Owner ¶
type Owner struct { // The entity, in the form `user-`*userId*. Entity string `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"` // The ID for the entity. EntityId string `protobuf:"bytes,2,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The owner of a specific resource.
func (*Owner) Descriptor ¶
func (*Owner) GetEntityId ¶
func (*Owner) ProtoMessage ¶
func (*Owner) ProtoMessage()
func (*Owner) XXX_DiscardUnknown ¶
func (m *Owner) XXX_DiscardUnknown()
func (*Owner) XXX_Marshal ¶
func (*Owner) XXX_Unmarshal ¶
type PatchBucketAccessControlRequest ¶
type PatchBucketAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // The project to be billed for this request. Required for Requester Pays // buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The BucketAccessControl for updating. BucketAccessControl *BucketAccessControl `protobuf:"bytes,4,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"` // List of fields to be updated. // // To specify ALL fields, equivalent to the JSON API's "update" function, // specify a single field with the value `*`. // // (!-- UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request for PatchBucketAccessControl.
func (*PatchBucketAccessControlRequest) Descriptor ¶
func (*PatchBucketAccessControlRequest) Descriptor() ([]byte, []int)
func (*PatchBucketAccessControlRequest) GetBucket ¶
func (m *PatchBucketAccessControlRequest) GetBucket() string
func (*PatchBucketAccessControlRequest) GetBucketAccessControl ¶
func (m *PatchBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
func (*PatchBucketAccessControlRequest) GetCommonRequestParams ¶
func (m *PatchBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*PatchBucketAccessControlRequest) GetEntity ¶
func (m *PatchBucketAccessControlRequest) GetEntity() string
func (*PatchBucketAccessControlRequest) GetUpdateMask ¶
func (m *PatchBucketAccessControlRequest) GetUpdateMask() *field_mask.FieldMask
func (*PatchBucketAccessControlRequest) GetUserProject ¶
func (m *PatchBucketAccessControlRequest) GetUserProject() string
func (*PatchBucketAccessControlRequest) ProtoMessage ¶
func (*PatchBucketAccessControlRequest) ProtoMessage()
func (*PatchBucketAccessControlRequest) Reset ¶
func (m *PatchBucketAccessControlRequest) Reset()
func (*PatchBucketAccessControlRequest) String ¶
func (m *PatchBucketAccessControlRequest) String() string
func (*PatchBucketAccessControlRequest) XXX_DiscardUnknown ¶
func (m *PatchBucketAccessControlRequest) XXX_DiscardUnknown()
func (*PatchBucketAccessControlRequest) XXX_Marshal ¶
func (m *PatchBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PatchBucketAccessControlRequest) XXX_Merge ¶
func (m *PatchBucketAccessControlRequest) XXX_Merge(src proto.Message)
func (*PatchBucketAccessControlRequest) XXX_Size ¶
func (m *PatchBucketAccessControlRequest) XXX_Size() int
func (*PatchBucketAccessControlRequest) XXX_Unmarshal ¶
func (m *PatchBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
type PatchBucketRequest ¶
type PatchBucketRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Makes the return of the bucket metadata conditional on whether the bucket's // current metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the return of the bucket metadata conditional on whether the bucket's // current metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Apply a predefined set of access controls to this bucket. PredefinedAcl CommonEnums_PredefinedBucketAcl `` /* 156-byte string literal not displayed */ // Apply a predefined set of default object access controls to this bucket. PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `` /* 199-byte string literal not displayed */ // Set of properties to return. Defaults to <code>FULL</code>. Projection CommonEnums_Projection `protobuf:"varint,6,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,7,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The Bucket metadata for updating. Metadata *Bucket `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` // List of fields to be updated. // // To specify ALL fields, equivalent to the JSON API's "update" function, // specify a single field with the value `*`. Note: not recommended. If a new // field is introduced at a later time, an older client updating with the `*` // may accidentally reset the new field's value. // // Not specifying any fields is an error. // Not specifying a field while setting that field to a non-default value is // an error. UpdateMask *field_mask.FieldMask `protobuf:"bytes,9,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,10,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request for PatchBucket method.
func (*PatchBucketRequest) Descriptor ¶
func (*PatchBucketRequest) Descriptor() ([]byte, []int)
func (*PatchBucketRequest) GetBucket ¶
func (m *PatchBucketRequest) GetBucket() string
func (*PatchBucketRequest) GetCommonRequestParams ¶
func (m *PatchBucketRequest) GetCommonRequestParams() *CommonRequestParams
func (*PatchBucketRequest) GetIfMetagenerationMatch ¶
func (m *PatchBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*PatchBucketRequest) GetIfMetagenerationNotMatch ¶
func (m *PatchBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*PatchBucketRequest) GetMetadata ¶
func (m *PatchBucketRequest) GetMetadata() *Bucket
func (*PatchBucketRequest) GetPredefinedAcl ¶
func (m *PatchBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
func (*PatchBucketRequest) GetPredefinedDefaultObjectAcl ¶
func (m *PatchBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
func (*PatchBucketRequest) GetProjection ¶
func (m *PatchBucketRequest) GetProjection() CommonEnums_Projection
func (*PatchBucketRequest) GetUpdateMask ¶
func (m *PatchBucketRequest) GetUpdateMask() *field_mask.FieldMask
func (*PatchBucketRequest) GetUserProject ¶
func (m *PatchBucketRequest) GetUserProject() string
func (*PatchBucketRequest) ProtoMessage ¶
func (*PatchBucketRequest) ProtoMessage()
func (*PatchBucketRequest) Reset ¶
func (m *PatchBucketRequest) Reset()
func (*PatchBucketRequest) String ¶
func (m *PatchBucketRequest) String() string
func (*PatchBucketRequest) XXX_DiscardUnknown ¶
func (m *PatchBucketRequest) XXX_DiscardUnknown()
func (*PatchBucketRequest) XXX_Marshal ¶
func (m *PatchBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PatchBucketRequest) XXX_Merge ¶
func (m *PatchBucketRequest) XXX_Merge(src proto.Message)
func (*PatchBucketRequest) XXX_Size ¶
func (m *PatchBucketRequest) XXX_Size() int
func (*PatchBucketRequest) XXX_Unmarshal ¶
func (m *PatchBucketRequest) XXX_Unmarshal(b []byte) error
type PatchDefaultObjectAccessControlRequest ¶
type PatchDefaultObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The ObjectAccessControl for updating. ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,4,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` // List of fields to be updated. // // To specify ALL fields, equivalent to the JSON API's "update" function, // specify a single field with the value `*`. Note: not recommended. If a new // field is introduced at a later time, an older client updating with the `*` // may accidentally reset the new field's value. // // Not specifying any fields is an error. // Not specifying a field while setting that field to a non-default value is // an error. UpdateMask *field_mask.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,6,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for PatchDefaultObjectAccessControl.
func (*PatchDefaultObjectAccessControlRequest) Descriptor ¶
func (*PatchDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*PatchDefaultObjectAccessControlRequest) GetBucket ¶
func (m *PatchDefaultObjectAccessControlRequest) GetBucket() string
func (*PatchDefaultObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *PatchDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*PatchDefaultObjectAccessControlRequest) GetEntity ¶
func (m *PatchDefaultObjectAccessControlRequest) GetEntity() string
func (*PatchDefaultObjectAccessControlRequest) GetObjectAccessControl ¶
func (m *PatchDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
func (*PatchDefaultObjectAccessControlRequest) GetUpdateMask ¶
func (m *PatchDefaultObjectAccessControlRequest) GetUpdateMask() *field_mask.FieldMask
func (*PatchDefaultObjectAccessControlRequest) GetUserProject ¶
func (m *PatchDefaultObjectAccessControlRequest) GetUserProject() string
func (*PatchDefaultObjectAccessControlRequest) ProtoMessage ¶
func (*PatchDefaultObjectAccessControlRequest) ProtoMessage()
func (*PatchDefaultObjectAccessControlRequest) Reset ¶
func (m *PatchDefaultObjectAccessControlRequest) Reset()
func (*PatchDefaultObjectAccessControlRequest) String ¶
func (m *PatchDefaultObjectAccessControlRequest) String() string
func (*PatchDefaultObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *PatchDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
func (*PatchDefaultObjectAccessControlRequest) XXX_Marshal ¶
func (m *PatchDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PatchDefaultObjectAccessControlRequest) XXX_Merge ¶
func (m *PatchDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*PatchDefaultObjectAccessControlRequest) XXX_Size ¶
func (m *PatchDefaultObjectAccessControlRequest) XXX_Size() int
func (*PatchDefaultObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *PatchDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type PatchObjectRequest ¶
type PatchObjectRequest struct { // Name of the bucket in which the object resides. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Name of the object. // Required. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // If present, selects a specific revision of this object (as opposed to the // latest version, the default). Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current generation // does not match the given value. If no live object exists, the precondition // fails. Setting to 0 makes the operation succeed only if there is a live // version of the object. IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Apply a predefined set of access controls to this object. PredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 156-byte string literal not displayed */ // Set of properties to return. Defaults to <code>FULL</code>. Projection CommonEnums_Projection `protobuf:"varint,9,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,10,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The Object metadata for updating. Metadata *Object `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` // List of fields to be updated. // // To specify ALL fields, equivalent to the JSON API's "update" function, // specify a single field with the value `*`. Note: not recommended. If a new // field is introduced at a later time, an older client updating with the `*` // may accidentally reset the new field's value. // // Not specifying any fields is an error. // Not specifying a field while setting that field to a non-default value is // an error. UpdateMask *field_mask.FieldMask `protobuf:"bytes,12,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,14,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for PatchObject.
func (*PatchObjectRequest) Descriptor ¶
func (*PatchObjectRequest) Descriptor() ([]byte, []int)
func (*PatchObjectRequest) GetBucket ¶
func (m *PatchObjectRequest) GetBucket() string
func (*PatchObjectRequest) GetCommonObjectRequestParams ¶
func (m *PatchObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*PatchObjectRequest) GetCommonRequestParams ¶
func (m *PatchObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*PatchObjectRequest) GetGeneration ¶
func (m *PatchObjectRequest) GetGeneration() int64
func (*PatchObjectRequest) GetIfGenerationMatch ¶
func (m *PatchObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
func (*PatchObjectRequest) GetIfGenerationNotMatch ¶
func (m *PatchObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
func (*PatchObjectRequest) GetIfMetagenerationMatch ¶
func (m *PatchObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*PatchObjectRequest) GetIfMetagenerationNotMatch ¶
func (m *PatchObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*PatchObjectRequest) GetMetadata ¶
func (m *PatchObjectRequest) GetMetadata() *Object
func (*PatchObjectRequest) GetObject ¶
func (m *PatchObjectRequest) GetObject() string
func (*PatchObjectRequest) GetPredefinedAcl ¶
func (m *PatchObjectRequest) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
func (*PatchObjectRequest) GetProjection ¶
func (m *PatchObjectRequest) GetProjection() CommonEnums_Projection
func (*PatchObjectRequest) GetUpdateMask ¶
func (m *PatchObjectRequest) GetUpdateMask() *field_mask.FieldMask
func (*PatchObjectRequest) GetUserProject ¶
func (m *PatchObjectRequest) GetUserProject() string
func (*PatchObjectRequest) ProtoMessage ¶
func (*PatchObjectRequest) ProtoMessage()
func (*PatchObjectRequest) Reset ¶
func (m *PatchObjectRequest) Reset()
func (*PatchObjectRequest) String ¶
func (m *PatchObjectRequest) String() string
func (*PatchObjectRequest) XXX_DiscardUnknown ¶
func (m *PatchObjectRequest) XXX_DiscardUnknown()
func (*PatchObjectRequest) XXX_Marshal ¶
func (m *PatchObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PatchObjectRequest) XXX_Merge ¶
func (m *PatchObjectRequest) XXX_Merge(src proto.Message)
func (*PatchObjectRequest) XXX_Size ¶
func (m *PatchObjectRequest) XXX_Size() int
func (*PatchObjectRequest) XXX_Unmarshal ¶
func (m *PatchObjectRequest) XXX_Unmarshal(b []byte) error
type ProjectTeam ¶
type ProjectTeam struct { // The project number. ProjectNumber string `protobuf:"bytes,1,opt,name=project_number,json=projectNumber,proto3" json:"project_number,omitempty"` // The team. Team string `protobuf:"bytes,2,opt,name=team,proto3" json:"team,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the Viewers, Editors, or Owners of a given project.
func (*ProjectTeam) Descriptor ¶
func (*ProjectTeam) Descriptor() ([]byte, []int)
func (*ProjectTeam) GetProjectNumber ¶
func (m *ProjectTeam) GetProjectNumber() string
func (*ProjectTeam) GetTeam ¶
func (m *ProjectTeam) GetTeam() string
func (*ProjectTeam) ProtoMessage ¶
func (*ProjectTeam) ProtoMessage()
func (*ProjectTeam) Reset ¶
func (m *ProjectTeam) Reset()
func (*ProjectTeam) String ¶
func (m *ProjectTeam) String() string
func (*ProjectTeam) XXX_DiscardUnknown ¶
func (m *ProjectTeam) XXX_DiscardUnknown()
func (*ProjectTeam) XXX_Marshal ¶
func (m *ProjectTeam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectTeam) XXX_Merge ¶
func (m *ProjectTeam) XXX_Merge(src proto.Message)
func (*ProjectTeam) XXX_Size ¶
func (m *ProjectTeam) XXX_Size() int
func (*ProjectTeam) XXX_Unmarshal ¶
func (m *ProjectTeam) XXX_Unmarshal(b []byte) error
type QueryWriteStatusRequest ¶
type QueryWriteStatusRequest struct { // The name of the resume token for the object whose write status is being // requested. // Required. UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,3,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request object for `ByteStream.QueryWriteStatus`.
func (*QueryWriteStatusRequest) Descriptor ¶
func (*QueryWriteStatusRequest) Descriptor() ([]byte, []int)
func (*QueryWriteStatusRequest) GetCommonObjectRequestParams ¶
func (m *QueryWriteStatusRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*QueryWriteStatusRequest) GetCommonRequestParams ¶
func (m *QueryWriteStatusRequest) GetCommonRequestParams() *CommonRequestParams
func (*QueryWriteStatusRequest) GetUploadId ¶
func (m *QueryWriteStatusRequest) GetUploadId() string
func (*QueryWriteStatusRequest) ProtoMessage ¶
func (*QueryWriteStatusRequest) ProtoMessage()
func (*QueryWriteStatusRequest) Reset ¶
func (m *QueryWriteStatusRequest) Reset()
func (*QueryWriteStatusRequest) String ¶
func (m *QueryWriteStatusRequest) String() string
func (*QueryWriteStatusRequest) XXX_DiscardUnknown ¶
func (m *QueryWriteStatusRequest) XXX_DiscardUnknown()
func (*QueryWriteStatusRequest) XXX_Marshal ¶
func (m *QueryWriteStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWriteStatusRequest) XXX_Merge ¶
func (m *QueryWriteStatusRequest) XXX_Merge(src proto.Message)
func (*QueryWriteStatusRequest) XXX_Size ¶
func (m *QueryWriteStatusRequest) XXX_Size() int
func (*QueryWriteStatusRequest) XXX_Unmarshal ¶
func (m *QueryWriteStatusRequest) XXX_Unmarshal(b []byte) error
type QueryWriteStatusResponse ¶
type QueryWriteStatusResponse struct { // The number of bytes that have been processed for the given object. CommittedSize int64 `protobuf:"varint,1,opt,name=committed_size,json=committedSize,proto3" json:"committed_size,omitempty"` // `complete` is `true` only if the client has sent a `InsertObjectRequest` // with `finish_write` set to true, and the server has processed that request. Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response object for `ByteStream.QueryWriteStatus`.
func (*QueryWriteStatusResponse) Descriptor ¶
func (*QueryWriteStatusResponse) Descriptor() ([]byte, []int)
func (*QueryWriteStatusResponse) GetCommittedSize ¶
func (m *QueryWriteStatusResponse) GetCommittedSize() int64
func (*QueryWriteStatusResponse) GetComplete ¶
func (m *QueryWriteStatusResponse) GetComplete() bool
func (*QueryWriteStatusResponse) ProtoMessage ¶
func (*QueryWriteStatusResponse) ProtoMessage()
func (*QueryWriteStatusResponse) Reset ¶
func (m *QueryWriteStatusResponse) Reset()
func (*QueryWriteStatusResponse) String ¶
func (m *QueryWriteStatusResponse) String() string
func (*QueryWriteStatusResponse) XXX_DiscardUnknown ¶
func (m *QueryWriteStatusResponse) XXX_DiscardUnknown()
func (*QueryWriteStatusResponse) XXX_Marshal ¶
func (m *QueryWriteStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryWriteStatusResponse) XXX_Merge ¶
func (m *QueryWriteStatusResponse) XXX_Merge(src proto.Message)
func (*QueryWriteStatusResponse) XXX_Size ¶
func (m *QueryWriteStatusResponse) XXX_Size() int
func (*QueryWriteStatusResponse) XXX_Unmarshal ¶
func (m *QueryWriteStatusResponse) XXX_Unmarshal(b []byte) error
type RewriteObjectRequest ¶
type RewriteObjectRequest struct { // Name of the bucket in which to store the new object. Overrides the provided // object metadata's <code>bucket</code> value, if any. // Required. DestinationBucket string `protobuf:"bytes,1,opt,name=destination_bucket,json=destinationBucket,proto3" json:"destination_bucket,omitempty"` // Name of the new object. // Required when the object metadata is not otherwise provided. Overrides the // object metadata's <code>name</code> value, if any. // Required. // (!-- This should probably be specified in object.name --!) DestinationObject string `protobuf:"bytes,2,opt,name=destination_object,json=destinationObject,proto3" json:"destination_object,omitempty"` // Resource name of the Cloud KMS key, of the form // <code>projects/my-project/locations/my-location/keyRings/my-kr/cryptoKeys/my-key</code>, // that will be used to encrypt the object. Overrides the object // metadata's <code>kms_key_name</code> value, if any. DestinationKmsKeyName string `` /* 128-byte string literal not displayed */ // Apply a predefined set of access controls to the destination object. DestinationPredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 191-byte string literal not displayed */ // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current generation // does not match the given value. If no live object exists, the precondition // fails. Setting to 0 makes the operation succeed only if there is a live // version of the object. IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,6,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the destination object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the destination object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // generation matches the given value. IfSourceGenerationMatch *wrappers.Int64Value `` /* 134-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // generation does not match the given value. IfSourceGenerationNotMatch *wrappers.Int64Value `` /* 146-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // metageneration matches the given value. IfSourceMetagenerationMatch *wrappers.Int64Value `` /* 147-byte string literal not displayed */ // Makes the operation conditional on whether the source object's current // metageneration does not match the given value. IfSourceMetagenerationNotMatch *wrappers.Int64Value `` /* 158-byte string literal not displayed */ // The maximum number of bytes that will be rewritten per rewrite request. // Most callers // shouldn't need to specify this parameter - it is primarily in place to // support testing. If specified the value must be an integral multiple of // 1 MiB (1048576). Also, this only applies to requests where the source and // destination span locations and/or storage classes. Finally, this value must // not change across rewrite calls else you'll get an error that the // <code>rewriteToken</code> is invalid. MaxBytesRewrittenPerCall int64 `` /* 141-byte string literal not displayed */ // Set of properties to return. Defaults to <code>NO_ACL</code>, unless the // object resource specifies the <code>acl</code> property, when it defaults // to <code>full</code>. Projection CommonEnums_Projection `protobuf:"varint,14,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // Include this field (from the previous rewrite response) on each rewrite // request after the first one, until the rewrite response 'done' flag is // true. Calls that provide a rewriteToken can omit all other request fields, // but if included those fields must match the values provided in the first // rewrite request. RewriteToken string `protobuf:"bytes,15,opt,name=rewrite_token,json=rewriteToken,proto3" json:"rewrite_token,omitempty"` // Name of the bucket in which to find the source object. // Required. SourceBucket string `protobuf:"bytes,16,opt,name=source_bucket,json=sourceBucket,proto3" json:"source_bucket,omitempty"` // Name of the source object. // Required. SourceObject string `protobuf:"bytes,17,opt,name=source_object,json=sourceObject,proto3" json:"source_object,omitempty"` // If present, selects a specific revision of the source object (as opposed to // the latest version, the default). SourceGeneration int64 `protobuf:"varint,18,opt,name=source_generation,json=sourceGeneration,proto3" json:"source_generation,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,19,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // Properties of the destination, post-rewrite object. Object *Object `protobuf:"bytes,20,opt,name=object,proto3" json:"object,omitempty"` // The algorithm used to encrypt the source object, if any. CopySourceEncryptionAlgorithm string `` /* 153-byte string literal not displayed */ // The encryption key used to encrypt the source object, if any. CopySourceEncryptionKey string `` /* 135-byte string literal not displayed */ // The SHA-256 hash of the key used to encrypt the source object, if any. CopySourceEncryptionKeySha256 string `` /* 155-byte string literal not displayed */ // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,25,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for RewriteObject.
func (*RewriteObjectRequest) Descriptor ¶
func (*RewriteObjectRequest) Descriptor() ([]byte, []int)
func (*RewriteObjectRequest) GetCommonObjectRequestParams ¶
func (m *RewriteObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*RewriteObjectRequest) GetCommonRequestParams ¶
func (m *RewriteObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*RewriteObjectRequest) GetCopySourceEncryptionAlgorithm ¶
func (m *RewriteObjectRequest) GetCopySourceEncryptionAlgorithm() string
func (*RewriteObjectRequest) GetCopySourceEncryptionKey ¶
func (m *RewriteObjectRequest) GetCopySourceEncryptionKey() string
func (*RewriteObjectRequest) GetCopySourceEncryptionKeySha256 ¶
func (m *RewriteObjectRequest) GetCopySourceEncryptionKeySha256() string
func (*RewriteObjectRequest) GetDestinationBucket ¶
func (m *RewriteObjectRequest) GetDestinationBucket() string
func (*RewriteObjectRequest) GetDestinationKmsKeyName ¶
func (m *RewriteObjectRequest) GetDestinationKmsKeyName() string
func (*RewriteObjectRequest) GetDestinationObject ¶
func (m *RewriteObjectRequest) GetDestinationObject() string
func (*RewriteObjectRequest) GetDestinationPredefinedAcl ¶
func (m *RewriteObjectRequest) GetDestinationPredefinedAcl() CommonEnums_PredefinedObjectAcl
func (*RewriteObjectRequest) GetIfGenerationMatch ¶
func (m *RewriteObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
func (*RewriteObjectRequest) GetIfGenerationNotMatch ¶
func (m *RewriteObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
func (*RewriteObjectRequest) GetIfMetagenerationMatch ¶
func (m *RewriteObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*RewriteObjectRequest) GetIfMetagenerationNotMatch ¶
func (m *RewriteObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*RewriteObjectRequest) GetIfSourceGenerationMatch ¶
func (m *RewriteObjectRequest) GetIfSourceGenerationMatch() *wrappers.Int64Value
func (*RewriteObjectRequest) GetIfSourceGenerationNotMatch ¶
func (m *RewriteObjectRequest) GetIfSourceGenerationNotMatch() *wrappers.Int64Value
func (*RewriteObjectRequest) GetIfSourceMetagenerationMatch ¶
func (m *RewriteObjectRequest) GetIfSourceMetagenerationMatch() *wrappers.Int64Value
func (*RewriteObjectRequest) GetIfSourceMetagenerationNotMatch ¶
func (m *RewriteObjectRequest) GetIfSourceMetagenerationNotMatch() *wrappers.Int64Value
func (*RewriteObjectRequest) GetMaxBytesRewrittenPerCall ¶
func (m *RewriteObjectRequest) GetMaxBytesRewrittenPerCall() int64
func (*RewriteObjectRequest) GetObject ¶
func (m *RewriteObjectRequest) GetObject() *Object
func (*RewriteObjectRequest) GetProjection ¶
func (m *RewriteObjectRequest) GetProjection() CommonEnums_Projection
func (*RewriteObjectRequest) GetRewriteToken ¶
func (m *RewriteObjectRequest) GetRewriteToken() string
func (*RewriteObjectRequest) GetSourceBucket ¶
func (m *RewriteObjectRequest) GetSourceBucket() string
func (*RewriteObjectRequest) GetSourceGeneration ¶
func (m *RewriteObjectRequest) GetSourceGeneration() int64
func (*RewriteObjectRequest) GetSourceObject ¶
func (m *RewriteObjectRequest) GetSourceObject() string
func (*RewriteObjectRequest) GetUserProject ¶
func (m *RewriteObjectRequest) GetUserProject() string
func (*RewriteObjectRequest) ProtoMessage ¶
func (*RewriteObjectRequest) ProtoMessage()
func (*RewriteObjectRequest) Reset ¶
func (m *RewriteObjectRequest) Reset()
func (*RewriteObjectRequest) String ¶
func (m *RewriteObjectRequest) String() string
func (*RewriteObjectRequest) XXX_DiscardUnknown ¶
func (m *RewriteObjectRequest) XXX_DiscardUnknown()
func (*RewriteObjectRequest) XXX_Marshal ¶
func (m *RewriteObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewriteObjectRequest) XXX_Merge ¶
func (m *RewriteObjectRequest) XXX_Merge(src proto.Message)
func (*RewriteObjectRequest) XXX_Size ¶
func (m *RewriteObjectRequest) XXX_Size() int
func (*RewriteObjectRequest) XXX_Unmarshal ¶
func (m *RewriteObjectRequest) XXX_Unmarshal(b []byte) error
type RewriteResponse ¶
type RewriteResponse struct { // The total bytes written so far, which can be used to provide a waiting user // with a progress indicator. This property is always present in the response. TotalBytesRewritten int64 `protobuf:"varint,1,opt,name=total_bytes_rewritten,json=totalBytesRewritten,proto3" json:"total_bytes_rewritten,omitempty"` // The total size of the object being copied in bytes. This property is always // present in the response. ObjectSize int64 `protobuf:"varint,2,opt,name=object_size,json=objectSize,proto3" json:"object_size,omitempty"` // <code>true</code> if the copy is finished; otherwise, <code>false</code> if // the copy is in progress. This property is always present in the response. Done bool `protobuf:"varint,3,opt,name=done,proto3" json:"done,omitempty"` // A token to use in subsequent requests to continue copying data. This token // is present in the response only when there is more data to copy. RewriteToken string `protobuf:"bytes,4,opt,name=rewrite_token,json=rewriteToken,proto3" json:"rewrite_token,omitempty"` // A resource containing the metadata for the copied-to object. This property // is present in the response only when copying completes. Resource *Object `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A rewrite response.
func (*RewriteResponse) Descriptor ¶
func (*RewriteResponse) Descriptor() ([]byte, []int)
func (*RewriteResponse) GetDone ¶
func (m *RewriteResponse) GetDone() bool
func (*RewriteResponse) GetObjectSize ¶
func (m *RewriteResponse) GetObjectSize() int64
func (*RewriteResponse) GetResource ¶
func (m *RewriteResponse) GetResource() *Object
func (*RewriteResponse) GetRewriteToken ¶
func (m *RewriteResponse) GetRewriteToken() string
func (*RewriteResponse) GetTotalBytesRewritten ¶
func (m *RewriteResponse) GetTotalBytesRewritten() int64
func (*RewriteResponse) ProtoMessage ¶
func (*RewriteResponse) ProtoMessage()
func (*RewriteResponse) Reset ¶
func (m *RewriteResponse) Reset()
func (*RewriteResponse) String ¶
func (m *RewriteResponse) String() string
func (*RewriteResponse) XXX_DiscardUnknown ¶
func (m *RewriteResponse) XXX_DiscardUnknown()
func (*RewriteResponse) XXX_Marshal ¶
func (m *RewriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RewriteResponse) XXX_Merge ¶
func (m *RewriteResponse) XXX_Merge(src proto.Message)
func (*RewriteResponse) XXX_Size ¶
func (m *RewriteResponse) XXX_Size() int
func (*RewriteResponse) XXX_Unmarshal ¶
func (m *RewriteResponse) XXX_Unmarshal(b []byte) error
type ServiceAccount ¶
type ServiceAccount struct { // The ID of the notification. EmailAddress string `protobuf:"bytes,1,opt,name=email_address,json=emailAddress,proto3" json:"email_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A subscription to receive Google PubSub notifications.
func (*ServiceAccount) Descriptor ¶
func (*ServiceAccount) Descriptor() ([]byte, []int)
func (*ServiceAccount) GetEmailAddress ¶
func (m *ServiceAccount) GetEmailAddress() string
func (*ServiceAccount) ProtoMessage ¶
func (*ServiceAccount) ProtoMessage()
func (*ServiceAccount) Reset ¶
func (m *ServiceAccount) Reset()
func (*ServiceAccount) String ¶
func (m *ServiceAccount) String() string
func (*ServiceAccount) XXX_DiscardUnknown ¶
func (m *ServiceAccount) XXX_DiscardUnknown()
func (*ServiceAccount) XXX_Marshal ¶
func (m *ServiceAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceAccount) XXX_Merge ¶
func (m *ServiceAccount) XXX_Merge(src proto.Message)
func (*ServiceAccount) XXX_Size ¶
func (m *ServiceAccount) XXX_Size() int
func (*ServiceAccount) XXX_Unmarshal ¶
func (m *ServiceAccount) XXX_Unmarshal(b []byte) error
type ServiceConstants ¶
type ServiceConstants struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Shared constants.
func (*ServiceConstants) Descriptor ¶
func (*ServiceConstants) Descriptor() ([]byte, []int)
func (*ServiceConstants) ProtoMessage ¶
func (*ServiceConstants) ProtoMessage()
func (*ServiceConstants) Reset ¶
func (m *ServiceConstants) Reset()
func (*ServiceConstants) String ¶
func (m *ServiceConstants) String() string
func (*ServiceConstants) XXX_DiscardUnknown ¶
func (m *ServiceConstants) XXX_DiscardUnknown()
func (*ServiceConstants) XXX_Marshal ¶
func (m *ServiceConstants) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ServiceConstants) XXX_Merge ¶
func (m *ServiceConstants) XXX_Merge(src proto.Message)
func (*ServiceConstants) XXX_Size ¶
func (m *ServiceConstants) XXX_Size() int
func (*ServiceConstants) XXX_Unmarshal ¶
func (m *ServiceConstants) XXX_Unmarshal(b []byte) error
type ServiceConstants_Values ¶
type ServiceConstants_Values int32
A collection of constant values meaningful to the Storage API.
const ( // Unused. Proto3 requires first enum to be 0. ServiceConstants_SIZE_UNSPECIFIED ServiceConstants_Values = 0 // The maximum size chunk that can will be returned in a single // ReadRequest. // 2 MiB. ServiceConstants_MAX_READ_CHUNK_BYTES ServiceConstants_Values = 2097152 // The maximum size chunk that can be sent in a single InsertObjectRequest. // 2 MiB. ServiceConstants_MAX_WRITE_CHUNK_BYTES ServiceConstants_Values = 2097152 // The maximum size of an object in MB - whether written in a single stream // or composed from multiple other objects. // 5 TiB. ServiceConstants_MAX_OBJECT_SIZE_MB ServiceConstants_Values = 5242880 // The maximum length field name that can be sent in a single // custom metadata field. // 1 KiB. ServiceConstants_MAX_CUSTOM_METADATA_FIELD_NAME_BYTES ServiceConstants_Values = 1024 // The maximum length field value that can be sent in a single // custom_metadata field. // 4 KiB. ServiceConstants_MAX_CUSTOM_METADATA_FIELD_VALUE_BYTES ServiceConstants_Values = 4096 // The maximum total bytes that can be populated into all field names and // values of the custom_metadata for one object. // 8 KiB. ServiceConstants_MAX_CUSTOM_METADATA_TOTAL_SIZE_BYTES ServiceConstants_Values = 8192 // The maximum total bytes that can be populated into all bucket metadata // fields. // 20 KiB. ServiceConstants_MAX_BUCKET_METADATA_TOTAL_SIZE_BYTES ServiceConstants_Values = 20480 // The maximum number of NotificationConfigurations that can be registered // for a given bucket. ServiceConstants_MAX_NOTIFICATION_CONFIGS_PER_BUCKET ServiceConstants_Values = 100 // The maximum number of LifecycleRules that can be registered for a given // bucket. ServiceConstants_MAX_LIFECYCLE_RULES_PER_BUCKET ServiceConstants_Values = 100 // The maximum number of custom attributes per NotificationConfig. ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTES ServiceConstants_Values = 5 // The maximum length of a custom attribute key included in // NotificationConfig. ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_KEY_LENGTH ServiceConstants_Values = 256 // The maximum length of a custom attribute value included in a // NotificationConfig. ServiceConstants_MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGTH ServiceConstants_Values = 1024 // The maximum number of key/value entries per bucket label. ServiceConstants_MAX_LABELS_ENTRIES_COUNT ServiceConstants_Values = 64 // The maximum character length of the key or value in a bucket // label map. ServiceConstants_MAX_LABELS_KEY_VALUE_LENGTH ServiceConstants_Values = 63 // The maximum byte size of the key or value in a bucket label // map. ServiceConstants_MAX_LABELS_KEY_VALUE_BYTES ServiceConstants_Values = 128 // The maximum number of object IDs that can be included in a // DeleteObjectsRequest. ServiceConstants_MAX_OBJECT_IDS_PER_DELETE_OBJECTS_REQUEST ServiceConstants_Values = 1000 // The maximum number of days for which a token returned by the // GetListObjectsSplitPoints RPC is valid. ServiceConstants_SPLIT_TOKEN_MAX_VALID_DAYS ServiceConstants_Values = 14 )
func (ServiceConstants_Values) EnumDescriptor ¶
func (ServiceConstants_Values) EnumDescriptor() ([]byte, []int)
func (ServiceConstants_Values) String ¶
func (x ServiceConstants_Values) String() string
type StartResumableWriteRequest ¶
type StartResumableWriteRequest struct { // The destination bucket, object, and metadata, as well as any preconditions. InsertObjectSpec *InsertObjectSpec `protobuf:"bytes,1,opt,name=insert_object_spec,json=insertObjectSpec,proto3" json:"insert_object_spec,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 140-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,4,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message StartResumableWrite.
func (*StartResumableWriteRequest) Descriptor ¶
func (*StartResumableWriteRequest) Descriptor() ([]byte, []int)
func (*StartResumableWriteRequest) GetCommonObjectRequestParams ¶
func (m *StartResumableWriteRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*StartResumableWriteRequest) GetCommonRequestParams ¶
func (m *StartResumableWriteRequest) GetCommonRequestParams() *CommonRequestParams
func (*StartResumableWriteRequest) GetInsertObjectSpec ¶
func (m *StartResumableWriteRequest) GetInsertObjectSpec() *InsertObjectSpec
func (*StartResumableWriteRequest) ProtoMessage ¶
func (*StartResumableWriteRequest) ProtoMessage()
func (*StartResumableWriteRequest) Reset ¶
func (m *StartResumableWriteRequest) Reset()
func (*StartResumableWriteRequest) String ¶
func (m *StartResumableWriteRequest) String() string
func (*StartResumableWriteRequest) XXX_DiscardUnknown ¶
func (m *StartResumableWriteRequest) XXX_DiscardUnknown()
func (*StartResumableWriteRequest) XXX_Marshal ¶
func (m *StartResumableWriteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartResumableWriteRequest) XXX_Merge ¶
func (m *StartResumableWriteRequest) XXX_Merge(src proto.Message)
func (*StartResumableWriteRequest) XXX_Size ¶
func (m *StartResumableWriteRequest) XXX_Size() int
func (*StartResumableWriteRequest) XXX_Unmarshal ¶
func (m *StartResumableWriteRequest) XXX_Unmarshal(b []byte) error
type StartResumableWriteResponse ¶
type StartResumableWriteResponse struct { // The upload_id of the newly started resumable write operation. This // value should be copied into the `InsertObjectRequest.upload_id` field. UploadId string `protobuf:"bytes,1,opt,name=upload_id,json=uploadId,proto3" json:"upload_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response object for ByteStream.StartResumableWrite.
func (*StartResumableWriteResponse) Descriptor ¶
func (*StartResumableWriteResponse) Descriptor() ([]byte, []int)
func (*StartResumableWriteResponse) GetUploadId ¶
func (m *StartResumableWriteResponse) GetUploadId() string
func (*StartResumableWriteResponse) ProtoMessage ¶
func (*StartResumableWriteResponse) ProtoMessage()
func (*StartResumableWriteResponse) Reset ¶
func (m *StartResumableWriteResponse) Reset()
func (*StartResumableWriteResponse) String ¶
func (m *StartResumableWriteResponse) String() string
func (*StartResumableWriteResponse) XXX_DiscardUnknown ¶
func (m *StartResumableWriteResponse) XXX_DiscardUnknown()
func (*StartResumableWriteResponse) XXX_Marshal ¶
func (m *StartResumableWriteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StartResumableWriteResponse) XXX_Merge ¶
func (m *StartResumableWriteResponse) XXX_Merge(src proto.Message)
func (*StartResumableWriteResponse) XXX_Size ¶
func (m *StartResumableWriteResponse) XXX_Size() int
func (*StartResumableWriteResponse) XXX_Unmarshal ¶
func (m *StartResumableWriteResponse) XXX_Unmarshal(b []byte) error
type StopChannelRequest ¶
type StopChannelRequest struct { // The channel to be stopped. Channel *Channel `protobuf:"bytes,1,opt,name=channel,proto3" json:"channel,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,2,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for StopChannel.
func (*StopChannelRequest) Descriptor ¶
func (*StopChannelRequest) Descriptor() ([]byte, []int)
func (*StopChannelRequest) GetChannel ¶
func (m *StopChannelRequest) GetChannel() *Channel
func (*StopChannelRequest) GetCommonRequestParams ¶
func (m *StopChannelRequest) GetCommonRequestParams() *CommonRequestParams
func (*StopChannelRequest) ProtoMessage ¶
func (*StopChannelRequest) ProtoMessage()
func (*StopChannelRequest) Reset ¶
func (m *StopChannelRequest) Reset()
func (*StopChannelRequest) String ¶
func (m *StopChannelRequest) String() string
func (*StopChannelRequest) XXX_DiscardUnknown ¶
func (m *StopChannelRequest) XXX_DiscardUnknown()
func (*StopChannelRequest) XXX_Marshal ¶
func (m *StopChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StopChannelRequest) XXX_Merge ¶
func (m *StopChannelRequest) XXX_Merge(src proto.Message)
func (*StopChannelRequest) XXX_Size ¶
func (m *StopChannelRequest) XXX_Size() int
func (*StopChannelRequest) XXX_Unmarshal ¶
func (m *StopChannelRequest) XXX_Unmarshal(b []byte) error
type StorageClient ¶
type StorageClient interface { // Permanently deletes the ACL entry for the specified entity on the specified // bucket. DeleteBucketAccessControl(ctx context.Context, in *DeleteBucketAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Returns the ACL entry for the specified entity on the specified bucket. GetBucketAccessControl(ctx context.Context, in *GetBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) // Creates a new ACL entry on the specified bucket. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertBucketAccessControl(ctx context.Context, in *InsertBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) // Retrieves ACL entries on the specified bucket. ListBucketAccessControls(ctx context.Context, in *ListBucketAccessControlsRequest, opts ...grpc.CallOption) (*ListBucketAccessControlsResponse, error) // Updates an ACL entry on the specified bucket. Equivalent to // PatchBucketAccessControl, but all unspecified fields will be // reset to their default values. UpdateBucketAccessControl(ctx context.Context, in *UpdateBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) // Updates an ACL entry on the specified bucket. // (!-- aip-dev/not-precedent: This should be "Update", and the existing // Update method should not exist, but we keep this to match our // existing API. --!) PatchBucketAccessControl(ctx context.Context, in *PatchBucketAccessControlRequest, opts ...grpc.CallOption) (*BucketAccessControl, error) // Permanently deletes an empty bucket. DeleteBucket(ctx context.Context, in *DeleteBucketRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Returns metadata for the specified bucket. GetBucket(ctx context.Context, in *GetBucketRequest, opts ...grpc.CallOption) (*Bucket, error) // Creates a new bucket. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertBucket(ctx context.Context, in *InsertBucketRequest, opts ...grpc.CallOption) (*Bucket, error) // Retrieves a list of buckets for a given project. ListBuckets(ctx context.Context, in *ListBucketsRequest, opts ...grpc.CallOption) (*ListBucketsResponse, error) // Locks retention policy on a bucket. LockBucketRetentionPolicy(ctx context.Context, in *LockRetentionPolicyRequest, opts ...grpc.CallOption) (*Bucket, error) // Gets the IAM policy for the specified bucket. GetBucketIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) // Updates an IAM policy for the specified bucket. SetBucketIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) // Tests a set of permissions on the given bucket to see which, if // any, are held by the caller. TestBucketIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) // Updates a bucket. Changes to the bucket will be readable immediately after // writing, but configuration changes may take time to propagate. // (!-- aip-dev/not-precedent: This should be "Update", and the existing // Update method should not exist, but we keep this to match our // existing API. --!) PatchBucket(ctx context.Context, in *PatchBucketRequest, opts ...grpc.CallOption) (*Bucket, error) // Updates a bucket. Equivalent to PatchBucket, but always replaces all // mutatable fields of the bucket with new values, reverting all // unspecified fields to their default values. // Like PatchBucket, Changes to the bucket will be readable immediately after // writing, but configuration changes may take time to propagate. UpdateBucket(ctx context.Context, in *UpdateBucketRequest, opts ...grpc.CallOption) (*Bucket, error) // Halts "Object Change Notification" push messagages. // See https://cloud.google.com/storage/docs/object-change-notification // Note: this is not related to the newer "Notifications" resource, which // are stopped using DeleteNotification. StopChannel(ctx context.Context, in *StopChannelRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Permanently deletes the default object ACL entry for the specified entity // on the specified bucket. DeleteDefaultObjectAccessControl(ctx context.Context, in *DeleteDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Returns the default object ACL entry for the specified entity on the // specified bucket. GetDefaultObjectAccessControl(ctx context.Context, in *GetDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) // Creates a new default object ACL entry on the specified bucket. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertDefaultObjectAccessControl(ctx context.Context, in *InsertDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) // Retrieves default object ACL entries on the specified bucket. ListDefaultObjectAccessControls(ctx context.Context, in *ListDefaultObjectAccessControlsRequest, opts ...grpc.CallOption) (*ListObjectAccessControlsResponse, error) // Updates a default object ACL entry on the specified bucket. // (!-- aip-dev/not-precedent: This should be "Update", and the existing // Update method should not exist, but we keep this to match our // existing API. --!) PatchDefaultObjectAccessControl(ctx context.Context, in *PatchDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) // Updates a default object ACL entry on the specified bucket. Equivalent to // PatchDefaultObjectAccessControl, but modifies all unspecified fields to // their default values. UpdateDefaultObjectAccessControl(ctx context.Context, in *UpdateDefaultObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) // Permanently deletes a notification subscription. // Note: Older, "Object Change Notification" push subscriptions should be // deleted using StopChannel instead. DeleteNotification(ctx context.Context, in *DeleteNotificationRequest, opts ...grpc.CallOption) (*empty.Empty, error) // View a notification configuration. GetNotification(ctx context.Context, in *GetNotificationRequest, opts ...grpc.CallOption) (*Notification, error) // Creates a notification subscription for a given bucket. // These notifications, when triggered, publish messages to the specified // Cloud Pub/Sub topics. // See https://cloud.google.com/storage/docs/pubsub-notifications. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertNotification(ctx context.Context, in *InsertNotificationRequest, opts ...grpc.CallOption) (*Notification, error) // Retrieves a list of notification subscriptions for a given bucket. ListNotifications(ctx context.Context, in *ListNotificationsRequest, opts ...grpc.CallOption) (*ListNotificationsResponse, error) // Permanently deletes the ACL entry for the specified entity on the specified // object. DeleteObjectAccessControl(ctx context.Context, in *DeleteObjectAccessControlRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Returns the ACL entry for the specified entity on the specified object. GetObjectAccessControl(ctx context.Context, in *GetObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) // Creates a new ACL entry on the specified object. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertObjectAccessControl(ctx context.Context, in *InsertObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) // Retrieves ACL entries on the specified object. ListObjectAccessControls(ctx context.Context, in *ListObjectAccessControlsRequest, opts ...grpc.CallOption) (*ListObjectAccessControlsResponse, error) // Updates an ACL entry on the specified object. UpdateObjectAccessControl(ctx context.Context, in *UpdateObjectAccessControlRequest, opts ...grpc.CallOption) (*ObjectAccessControl, error) // Concatenates a list of existing objects into a new object in the same // bucket. ComposeObject(ctx context.Context, in *ComposeObjectRequest, opts ...grpc.CallOption) (*Object, error) // Copies a source object to a destination object. Optionally overrides // metadata. CopyObject(ctx context.Context, in *CopyObjectRequest, opts ...grpc.CallOption) (*Object, error) // Deletes an object and its metadata. Deletions are permanent if versioning // is not enabled for the bucket, or if the <code>generation</code> parameter // is used. DeleteObject(ctx context.Context, in *DeleteObjectRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Retrieves an object's metadata. GetObject(ctx context.Context, in *GetObjectRequest, opts ...grpc.CallOption) (*Object, error) // Reads an object's data. GetObjectMedia(ctx context.Context, in *GetObjectMediaRequest, opts ...grpc.CallOption) (Storage_GetObjectMediaClient, error) // Stores a new object and metadata. // // An object can be written either in a single message stream or in a // resumable sequence of message streams. To write using a single stream, // the client should include in the first message of the stream an // `InsertObjectSpec` describing the destination bucket, object, and any // preconditions. Additionally, the final message must set 'finish_write' to // true, or else it is an error. // // For a resumable write, the client should instead call // `StartResumableWrite()` and provide that method an `InsertObjectSpec.` // They should then attach the returned `upload_id` to the first message of // each following call to `Insert`. If there is an error or the connection is // broken during the resumable `Insert()`, the client should check the status // of the `Insert()` by calling `QueryWriteStatus()` and continue writing from // the returned `committed_size`. This may be less than the amount of data the // client previously sent. // // The service will not view the object as complete until the client has // sent an `Insert` with `finish_write` set to `true`. Sending any // requests on a stream after sending a request with `finish_write` set to // `true` will cause an error. The client **should** check the // `Object` it receives to determine how much data the service was // able to commit and whether the service views the object as complete. InsertObject(ctx context.Context, opts ...grpc.CallOption) (Storage_InsertObjectClient, error) // Retrieves a list of objects matching the criteria. ListObjects(ctx context.Context, in *ListObjectsRequest, opts ...grpc.CallOption) (*ListObjectsResponse, error) // Rewrites a source object to a destination object. Optionally overrides // metadata. RewriteObject(ctx context.Context, in *RewriteObjectRequest, opts ...grpc.CallOption) (*RewriteResponse, error) // Starts a resumable write. How long the write operation remains valid, and // what happens when the write operation becomes invalid, are // service-dependent. StartResumableWrite(ctx context.Context, in *StartResumableWriteRequest, opts ...grpc.CallOption) (*StartResumableWriteResponse, error) // Determines the `committed_size` for an object that is being written, which // can then be used as the `write_offset` for the next `Write()` call. // // If the object does not exist (i.e., the object has been deleted, or the // first `Write()` has not yet reached the service), this method returns the // error `NOT_FOUND`. // // The client **may** call `QueryWriteStatus()` at any time to determine how // much data has been processed for this object. This is useful if the // client is buffering data and needs to know which data can be safely // evicted. For any sequence of `QueryWriteStatus()` calls for a given // object name, the sequence of returned `committed_size` values will be // non-decreasing. QueryWriteStatus(ctx context.Context, in *QueryWriteStatusRequest, opts ...grpc.CallOption) (*QueryWriteStatusResponse, error) // Updates an object's metadata. // (!-- aip-dev/not-precedent: This should be "Update", and the existing // Update method should not exist, but we keep this to match our // existing API. --!) PatchObject(ctx context.Context, in *PatchObjectRequest, opts ...grpc.CallOption) (*Object, error) // Updates an object's metadata. Equivalent to PatchObject, but always // replaces all mutatable fields of the bucket with new values, reverting all // unspecified fields to their default values. UpdateObject(ctx context.Context, in *UpdateObjectRequest, opts ...grpc.CallOption) (*Object, error) // Gets the IAM policy for the specified object. GetObjectIamPolicy(ctx context.Context, in *v1.GetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) // Updates an IAM policy for the specified object. SetObjectIamPolicy(ctx context.Context, in *v1.SetIamPolicyRequest, opts ...grpc.CallOption) (*v1.Policy, error) // Tests a set of permissions on the given object to see which, if // any, are held by the caller. TestObjectIamPermissions(ctx context.Context, in *v1.TestIamPermissionsRequest, opts ...grpc.CallOption) (*v1.TestIamPermissionsResponse, error) // Watch for changes on all objects in a bucket. WatchAllObjects(ctx context.Context, in *WatchAllObjectsRequest, opts ...grpc.CallOption) (*Channel, error) // Retrieves the name of a project's Google Cloud Storage service account. GetServiceAccount(ctx context.Context, in *GetProjectServiceAccountRequest, opts ...grpc.CallOption) (*ServiceAccount, error) }
StorageClient is the client API for Storage service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewStorageClient ¶
func NewStorageClient(cc *grpc.ClientConn) StorageClient
type StorageServer ¶
type StorageServer interface { // Permanently deletes the ACL entry for the specified entity on the specified // bucket. DeleteBucketAccessControl(context.Context, *DeleteBucketAccessControlRequest) (*empty.Empty, error) // Returns the ACL entry for the specified entity on the specified bucket. GetBucketAccessControl(context.Context, *GetBucketAccessControlRequest) (*BucketAccessControl, error) // Creates a new ACL entry on the specified bucket. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertBucketAccessControl(context.Context, *InsertBucketAccessControlRequest) (*BucketAccessControl, error) // Retrieves ACL entries on the specified bucket. ListBucketAccessControls(context.Context, *ListBucketAccessControlsRequest) (*ListBucketAccessControlsResponse, error) // Updates an ACL entry on the specified bucket. Equivalent to // PatchBucketAccessControl, but all unspecified fields will be // reset to their default values. UpdateBucketAccessControl(context.Context, *UpdateBucketAccessControlRequest) (*BucketAccessControl, error) // Updates an ACL entry on the specified bucket. // (!-- aip-dev/not-precedent: This should be "Update", and the existing // Update method should not exist, but we keep this to match our // existing API. --!) PatchBucketAccessControl(context.Context, *PatchBucketAccessControlRequest) (*BucketAccessControl, error) // Permanently deletes an empty bucket. DeleteBucket(context.Context, *DeleteBucketRequest) (*empty.Empty, error) // Returns metadata for the specified bucket. GetBucket(context.Context, *GetBucketRequest) (*Bucket, error) // Creates a new bucket. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertBucket(context.Context, *InsertBucketRequest) (*Bucket, error) // Retrieves a list of buckets for a given project. ListBuckets(context.Context, *ListBucketsRequest) (*ListBucketsResponse, error) // Locks retention policy on a bucket. LockBucketRetentionPolicy(context.Context, *LockRetentionPolicyRequest) (*Bucket, error) // Gets the IAM policy for the specified bucket. GetBucketIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) // Updates an IAM policy for the specified bucket. SetBucketIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) // Tests a set of permissions on the given bucket to see which, if // any, are held by the caller. TestBucketIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) // Updates a bucket. Changes to the bucket will be readable immediately after // writing, but configuration changes may take time to propagate. // (!-- aip-dev/not-precedent: This should be "Update", and the existing // Update method should not exist, but we keep this to match our // existing API. --!) PatchBucket(context.Context, *PatchBucketRequest) (*Bucket, error) // Updates a bucket. Equivalent to PatchBucket, but always replaces all // mutatable fields of the bucket with new values, reverting all // unspecified fields to their default values. // Like PatchBucket, Changes to the bucket will be readable immediately after // writing, but configuration changes may take time to propagate. UpdateBucket(context.Context, *UpdateBucketRequest) (*Bucket, error) // Halts "Object Change Notification" push messagages. // See https://cloud.google.com/storage/docs/object-change-notification // Note: this is not related to the newer "Notifications" resource, which // are stopped using DeleteNotification. StopChannel(context.Context, *StopChannelRequest) (*empty.Empty, error) // Permanently deletes the default object ACL entry for the specified entity // on the specified bucket. DeleteDefaultObjectAccessControl(context.Context, *DeleteDefaultObjectAccessControlRequest) (*empty.Empty, error) // Returns the default object ACL entry for the specified entity on the // specified bucket. GetDefaultObjectAccessControl(context.Context, *GetDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) // Creates a new default object ACL entry on the specified bucket. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertDefaultObjectAccessControl(context.Context, *InsertDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) // Retrieves default object ACL entries on the specified bucket. ListDefaultObjectAccessControls(context.Context, *ListDefaultObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error) // Updates a default object ACL entry on the specified bucket. // (!-- aip-dev/not-precedent: This should be "Update", and the existing // Update method should not exist, but we keep this to match our // existing API. --!) PatchDefaultObjectAccessControl(context.Context, *PatchDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) // Updates a default object ACL entry on the specified bucket. Equivalent to // PatchDefaultObjectAccessControl, but modifies all unspecified fields to // their default values. UpdateDefaultObjectAccessControl(context.Context, *UpdateDefaultObjectAccessControlRequest) (*ObjectAccessControl, error) // Permanently deletes a notification subscription. // Note: Older, "Object Change Notification" push subscriptions should be // deleted using StopChannel instead. DeleteNotification(context.Context, *DeleteNotificationRequest) (*empty.Empty, error) // View a notification configuration. GetNotification(context.Context, *GetNotificationRequest) (*Notification, error) // Creates a notification subscription for a given bucket. // These notifications, when triggered, publish messages to the specified // Cloud Pub/Sub topics. // See https://cloud.google.com/storage/docs/pubsub-notifications. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertNotification(context.Context, *InsertNotificationRequest) (*Notification, error) // Retrieves a list of notification subscriptions for a given bucket. ListNotifications(context.Context, *ListNotificationsRequest) (*ListNotificationsResponse, error) // Permanently deletes the ACL entry for the specified entity on the specified // object. DeleteObjectAccessControl(context.Context, *DeleteObjectAccessControlRequest) (*empty.Empty, error) // Returns the ACL entry for the specified entity on the specified object. GetObjectAccessControl(context.Context, *GetObjectAccessControlRequest) (*ObjectAccessControl, error) // Creates a new ACL entry on the specified object. // (!-- aip-dev/not-precedent: This should be "Create" per aip.dev/133. // We use "Insert" to be like our preceding API. --!) InsertObjectAccessControl(context.Context, *InsertObjectAccessControlRequest) (*ObjectAccessControl, error) // Retrieves ACL entries on the specified object. ListObjectAccessControls(context.Context, *ListObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error) // Updates an ACL entry on the specified object. UpdateObjectAccessControl(context.Context, *UpdateObjectAccessControlRequest) (*ObjectAccessControl, error) // Concatenates a list of existing objects into a new object in the same // bucket. ComposeObject(context.Context, *ComposeObjectRequest) (*Object, error) // Copies a source object to a destination object. Optionally overrides // metadata. CopyObject(context.Context, *CopyObjectRequest) (*Object, error) // Deletes an object and its metadata. Deletions are permanent if versioning // is not enabled for the bucket, or if the <code>generation</code> parameter // is used. DeleteObject(context.Context, *DeleteObjectRequest) (*empty.Empty, error) // Retrieves an object's metadata. GetObject(context.Context, *GetObjectRequest) (*Object, error) // Reads an object's data. GetObjectMedia(*GetObjectMediaRequest, Storage_GetObjectMediaServer) error // Stores a new object and metadata. // // An object can be written either in a single message stream or in a // resumable sequence of message streams. To write using a single stream, // the client should include in the first message of the stream an // `InsertObjectSpec` describing the destination bucket, object, and any // preconditions. Additionally, the final message must set 'finish_write' to // true, or else it is an error. // // For a resumable write, the client should instead call // `StartResumableWrite()` and provide that method an `InsertObjectSpec.` // They should then attach the returned `upload_id` to the first message of // each following call to `Insert`. If there is an error or the connection is // broken during the resumable `Insert()`, the client should check the status // of the `Insert()` by calling `QueryWriteStatus()` and continue writing from // the returned `committed_size`. This may be less than the amount of data the // client previously sent. // // The service will not view the object as complete until the client has // sent an `Insert` with `finish_write` set to `true`. Sending any // requests on a stream after sending a request with `finish_write` set to // `true` will cause an error. The client **should** check the // `Object` it receives to determine how much data the service was // able to commit and whether the service views the object as complete. InsertObject(Storage_InsertObjectServer) error // Retrieves a list of objects matching the criteria. ListObjects(context.Context, *ListObjectsRequest) (*ListObjectsResponse, error) // Rewrites a source object to a destination object. Optionally overrides // metadata. RewriteObject(context.Context, *RewriteObjectRequest) (*RewriteResponse, error) // Starts a resumable write. How long the write operation remains valid, and // what happens when the write operation becomes invalid, are // service-dependent. StartResumableWrite(context.Context, *StartResumableWriteRequest) (*StartResumableWriteResponse, error) // Determines the `committed_size` for an object that is being written, which // can then be used as the `write_offset` for the next `Write()` call. // // If the object does not exist (i.e., the object has been deleted, or the // first `Write()` has not yet reached the service), this method returns the // error `NOT_FOUND`. // // The client **may** call `QueryWriteStatus()` at any time to determine how // much data has been processed for this object. This is useful if the // client is buffering data and needs to know which data can be safely // evicted. For any sequence of `QueryWriteStatus()` calls for a given // object name, the sequence of returned `committed_size` values will be // non-decreasing. QueryWriteStatus(context.Context, *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error) // Updates an object's metadata. // (!-- aip-dev/not-precedent: This should be "Update", and the existing // Update method should not exist, but we keep this to match our // existing API. --!) PatchObject(context.Context, *PatchObjectRequest) (*Object, error) // Updates an object's metadata. Equivalent to PatchObject, but always // replaces all mutatable fields of the bucket with new values, reverting all // unspecified fields to their default values. UpdateObject(context.Context, *UpdateObjectRequest) (*Object, error) // Gets the IAM policy for the specified object. GetObjectIamPolicy(context.Context, *v1.GetIamPolicyRequest) (*v1.Policy, error) // Updates an IAM policy for the specified object. SetObjectIamPolicy(context.Context, *v1.SetIamPolicyRequest) (*v1.Policy, error) // Tests a set of permissions on the given object to see which, if // any, are held by the caller. TestObjectIamPermissions(context.Context, *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error) // Watch for changes on all objects in a bucket. WatchAllObjects(context.Context, *WatchAllObjectsRequest) (*Channel, error) // Retrieves the name of a project's Google Cloud Storage service account. GetServiceAccount(context.Context, *GetProjectServiceAccountRequest) (*ServiceAccount, error) }
StorageServer is the server API for Storage service.
type Storage_GetObjectMediaClient ¶
type Storage_GetObjectMediaClient interface { Recv() (*GetObjectMediaResponse, error) grpc.ClientStream }
type Storage_GetObjectMediaServer ¶
type Storage_GetObjectMediaServer interface { Send(*GetObjectMediaResponse) error grpc.ServerStream }
type Storage_InsertObjectClient ¶
type Storage_InsertObjectClient interface { Send(*InsertObjectRequest) error CloseAndRecv() (*Object, error) grpc.ClientStream }
type Storage_InsertObjectServer ¶
type Storage_InsertObjectServer interface { SendAndClose(*Object) error Recv() (*InsertObjectRequest, error) grpc.ServerStream }
type UnimplementedStorageServer ¶
type UnimplementedStorageServer struct { }
UnimplementedStorageServer can be embedded to have forward compatible implementations.
func (*UnimplementedStorageServer) ComposeObject ¶
func (*UnimplementedStorageServer) ComposeObject(ctx context.Context, req *ComposeObjectRequest) (*Object, error)
func (*UnimplementedStorageServer) CopyObject ¶
func (*UnimplementedStorageServer) CopyObject(ctx context.Context, req *CopyObjectRequest) (*Object, error)
func (*UnimplementedStorageServer) DeleteBucket ¶
func (*UnimplementedStorageServer) DeleteBucket(ctx context.Context, req *DeleteBucketRequest) (*empty.Empty, error)
func (*UnimplementedStorageServer) DeleteBucketAccessControl ¶
func (*UnimplementedStorageServer) DeleteBucketAccessControl(ctx context.Context, req *DeleteBucketAccessControlRequest) (*empty.Empty, error)
func (*UnimplementedStorageServer) DeleteDefaultObjectAccessControl ¶
func (*UnimplementedStorageServer) DeleteDefaultObjectAccessControl(ctx context.Context, req *DeleteDefaultObjectAccessControlRequest) (*empty.Empty, error)
func (*UnimplementedStorageServer) DeleteNotification ¶
func (*UnimplementedStorageServer) DeleteNotification(ctx context.Context, req *DeleteNotificationRequest) (*empty.Empty, error)
func (*UnimplementedStorageServer) DeleteObject ¶
func (*UnimplementedStorageServer) DeleteObject(ctx context.Context, req *DeleteObjectRequest) (*empty.Empty, error)
func (*UnimplementedStorageServer) DeleteObjectAccessControl ¶
func (*UnimplementedStorageServer) DeleteObjectAccessControl(ctx context.Context, req *DeleteObjectAccessControlRequest) (*empty.Empty, error)
func (*UnimplementedStorageServer) GetBucket ¶
func (*UnimplementedStorageServer) GetBucket(ctx context.Context, req *GetBucketRequest) (*Bucket, error)
func (*UnimplementedStorageServer) GetBucketAccessControl ¶
func (*UnimplementedStorageServer) GetBucketAccessControl(ctx context.Context, req *GetBucketAccessControlRequest) (*BucketAccessControl, error)
func (*UnimplementedStorageServer) GetBucketIamPolicy ¶
func (*UnimplementedStorageServer) GetBucketIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error)
func (*UnimplementedStorageServer) GetDefaultObjectAccessControl ¶
func (*UnimplementedStorageServer) GetDefaultObjectAccessControl(ctx context.Context, req *GetDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
func (*UnimplementedStorageServer) GetNotification ¶
func (*UnimplementedStorageServer) GetNotification(ctx context.Context, req *GetNotificationRequest) (*Notification, error)
func (*UnimplementedStorageServer) GetObject ¶
func (*UnimplementedStorageServer) GetObject(ctx context.Context, req *GetObjectRequest) (*Object, error)
func (*UnimplementedStorageServer) GetObjectAccessControl ¶
func (*UnimplementedStorageServer) GetObjectAccessControl(ctx context.Context, req *GetObjectAccessControlRequest) (*ObjectAccessControl, error)
func (*UnimplementedStorageServer) GetObjectIamPolicy ¶
func (*UnimplementedStorageServer) GetObjectIamPolicy(ctx context.Context, req *v1.GetIamPolicyRequest) (*v1.Policy, error)
func (*UnimplementedStorageServer) GetObjectMedia ¶
func (*UnimplementedStorageServer) GetObjectMedia(req *GetObjectMediaRequest, srv Storage_GetObjectMediaServer) error
func (*UnimplementedStorageServer) GetServiceAccount ¶
func (*UnimplementedStorageServer) GetServiceAccount(ctx context.Context, req *GetProjectServiceAccountRequest) (*ServiceAccount, error)
func (*UnimplementedStorageServer) InsertBucket ¶
func (*UnimplementedStorageServer) InsertBucket(ctx context.Context, req *InsertBucketRequest) (*Bucket, error)
func (*UnimplementedStorageServer) InsertBucketAccessControl ¶
func (*UnimplementedStorageServer) InsertBucketAccessControl(ctx context.Context, req *InsertBucketAccessControlRequest) (*BucketAccessControl, error)
func (*UnimplementedStorageServer) InsertDefaultObjectAccessControl ¶
func (*UnimplementedStorageServer) InsertDefaultObjectAccessControl(ctx context.Context, req *InsertDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
func (*UnimplementedStorageServer) InsertNotification ¶
func (*UnimplementedStorageServer) InsertNotification(ctx context.Context, req *InsertNotificationRequest) (*Notification, error)
func (*UnimplementedStorageServer) InsertObject ¶
func (*UnimplementedStorageServer) InsertObject(srv Storage_InsertObjectServer) error
func (*UnimplementedStorageServer) InsertObjectAccessControl ¶
func (*UnimplementedStorageServer) InsertObjectAccessControl(ctx context.Context, req *InsertObjectAccessControlRequest) (*ObjectAccessControl, error)
func (*UnimplementedStorageServer) ListBucketAccessControls ¶
func (*UnimplementedStorageServer) ListBucketAccessControls(ctx context.Context, req *ListBucketAccessControlsRequest) (*ListBucketAccessControlsResponse, error)
func (*UnimplementedStorageServer) ListBuckets ¶
func (*UnimplementedStorageServer) ListBuckets(ctx context.Context, req *ListBucketsRequest) (*ListBucketsResponse, error)
func (*UnimplementedStorageServer) ListDefaultObjectAccessControls ¶
func (*UnimplementedStorageServer) ListDefaultObjectAccessControls(ctx context.Context, req *ListDefaultObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error)
func (*UnimplementedStorageServer) ListNotifications ¶
func (*UnimplementedStorageServer) ListNotifications(ctx context.Context, req *ListNotificationsRequest) (*ListNotificationsResponse, error)
func (*UnimplementedStorageServer) ListObjectAccessControls ¶
func (*UnimplementedStorageServer) ListObjectAccessControls(ctx context.Context, req *ListObjectAccessControlsRequest) (*ListObjectAccessControlsResponse, error)
func (*UnimplementedStorageServer) ListObjects ¶
func (*UnimplementedStorageServer) ListObjects(ctx context.Context, req *ListObjectsRequest) (*ListObjectsResponse, error)
func (*UnimplementedStorageServer) LockBucketRetentionPolicy ¶
func (*UnimplementedStorageServer) LockBucketRetentionPolicy(ctx context.Context, req *LockRetentionPolicyRequest) (*Bucket, error)
func (*UnimplementedStorageServer) PatchBucket ¶
func (*UnimplementedStorageServer) PatchBucket(ctx context.Context, req *PatchBucketRequest) (*Bucket, error)
func (*UnimplementedStorageServer) PatchBucketAccessControl ¶
func (*UnimplementedStorageServer) PatchBucketAccessControl(ctx context.Context, req *PatchBucketAccessControlRequest) (*BucketAccessControl, error)
func (*UnimplementedStorageServer) PatchDefaultObjectAccessControl ¶
func (*UnimplementedStorageServer) PatchDefaultObjectAccessControl(ctx context.Context, req *PatchDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
func (*UnimplementedStorageServer) PatchObject ¶
func (*UnimplementedStorageServer) PatchObject(ctx context.Context, req *PatchObjectRequest) (*Object, error)
func (*UnimplementedStorageServer) QueryWriteStatus ¶
func (*UnimplementedStorageServer) QueryWriteStatus(ctx context.Context, req *QueryWriteStatusRequest) (*QueryWriteStatusResponse, error)
func (*UnimplementedStorageServer) RewriteObject ¶
func (*UnimplementedStorageServer) RewriteObject(ctx context.Context, req *RewriteObjectRequest) (*RewriteResponse, error)
func (*UnimplementedStorageServer) SetBucketIamPolicy ¶
func (*UnimplementedStorageServer) SetBucketIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error)
func (*UnimplementedStorageServer) SetObjectIamPolicy ¶
func (*UnimplementedStorageServer) SetObjectIamPolicy(ctx context.Context, req *v1.SetIamPolicyRequest) (*v1.Policy, error)
func (*UnimplementedStorageServer) StartResumableWrite ¶
func (*UnimplementedStorageServer) StartResumableWrite(ctx context.Context, req *StartResumableWriteRequest) (*StartResumableWriteResponse, error)
func (*UnimplementedStorageServer) StopChannel ¶
func (*UnimplementedStorageServer) StopChannel(ctx context.Context, req *StopChannelRequest) (*empty.Empty, error)
func (*UnimplementedStorageServer) TestBucketIamPermissions ¶
func (*UnimplementedStorageServer) TestBucketIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
func (*UnimplementedStorageServer) TestObjectIamPermissions ¶
func (*UnimplementedStorageServer) TestObjectIamPermissions(ctx context.Context, req *v1.TestIamPermissionsRequest) (*v1.TestIamPermissionsResponse, error)
func (*UnimplementedStorageServer) UpdateBucket ¶
func (*UnimplementedStorageServer) UpdateBucket(ctx context.Context, req *UpdateBucketRequest) (*Bucket, error)
func (*UnimplementedStorageServer) UpdateBucketAccessControl ¶
func (*UnimplementedStorageServer) UpdateBucketAccessControl(ctx context.Context, req *UpdateBucketAccessControlRequest) (*BucketAccessControl, error)
func (*UnimplementedStorageServer) UpdateDefaultObjectAccessControl ¶
func (*UnimplementedStorageServer) UpdateDefaultObjectAccessControl(ctx context.Context, req *UpdateDefaultObjectAccessControlRequest) (*ObjectAccessControl, error)
func (*UnimplementedStorageServer) UpdateObject ¶
func (*UnimplementedStorageServer) UpdateObject(ctx context.Context, req *UpdateObjectRequest) (*Object, error)
func (*UnimplementedStorageServer) UpdateObjectAccessControl ¶
func (*UnimplementedStorageServer) UpdateObjectAccessControl(ctx context.Context, req *UpdateObjectAccessControlRequest) (*ObjectAccessControl, error)
func (*UnimplementedStorageServer) WatchAllObjects ¶
func (*UnimplementedStorageServer) WatchAllObjects(ctx context.Context, req *WatchAllObjectsRequest) (*Channel, error)
type UpdateBucketAccessControlRequest ¶
type UpdateBucketAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // The project to be billed for this request. Required for Requester Pays // buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The BucketAccessControl for updating. BucketAccessControl *BucketAccessControl `protobuf:"bytes,4,opt,name=bucket_access_control,json=bucketAccessControl,proto3" json:"bucket_access_control,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request for UpdateBucketAccessControl.
func (*UpdateBucketAccessControlRequest) Descriptor ¶
func (*UpdateBucketAccessControlRequest) Descriptor() ([]byte, []int)
func (*UpdateBucketAccessControlRequest) GetBucket ¶
func (m *UpdateBucketAccessControlRequest) GetBucket() string
func (*UpdateBucketAccessControlRequest) GetBucketAccessControl ¶
func (m *UpdateBucketAccessControlRequest) GetBucketAccessControl() *BucketAccessControl
func (*UpdateBucketAccessControlRequest) GetCommonRequestParams ¶
func (m *UpdateBucketAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*UpdateBucketAccessControlRequest) GetEntity ¶
func (m *UpdateBucketAccessControlRequest) GetEntity() string
func (*UpdateBucketAccessControlRequest) GetUserProject ¶
func (m *UpdateBucketAccessControlRequest) GetUserProject() string
func (*UpdateBucketAccessControlRequest) ProtoMessage ¶
func (*UpdateBucketAccessControlRequest) ProtoMessage()
func (*UpdateBucketAccessControlRequest) Reset ¶
func (m *UpdateBucketAccessControlRequest) Reset()
func (*UpdateBucketAccessControlRequest) String ¶
func (m *UpdateBucketAccessControlRequest) String() string
func (*UpdateBucketAccessControlRequest) XXX_DiscardUnknown ¶
func (m *UpdateBucketAccessControlRequest) XXX_DiscardUnknown()
func (*UpdateBucketAccessControlRequest) XXX_Marshal ¶
func (m *UpdateBucketAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateBucketAccessControlRequest) XXX_Merge ¶
func (m *UpdateBucketAccessControlRequest) XXX_Merge(src proto.Message)
func (*UpdateBucketAccessControlRequest) XXX_Size ¶
func (m *UpdateBucketAccessControlRequest) XXX_Size() int
func (*UpdateBucketAccessControlRequest) XXX_Unmarshal ¶
func (m *UpdateBucketAccessControlRequest) XXX_Unmarshal(b []byte) error
type UpdateBucketRequest ¶
type UpdateBucketRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Makes the return of the bucket metadata conditional on whether the bucket's // current metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the return of the bucket metadata conditional on whether the bucket's // current metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Apply a predefined set of access controls to this bucket. PredefinedAcl CommonEnums_PredefinedBucketAcl `` /* 156-byte string literal not displayed */ // Apply a predefined set of default object access controls to this bucket. PredefinedDefaultObjectAcl CommonEnums_PredefinedObjectAcl `` /* 199-byte string literal not displayed */ // Set of properties to return. Defaults to <code>FULL</code>. Projection CommonEnums_Projection `protobuf:"varint,6,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,7,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The Bucket metadata for updating. Metadata *Bucket `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,9,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request for UpdateBucket method.
func (*UpdateBucketRequest) Descriptor ¶
func (*UpdateBucketRequest) Descriptor() ([]byte, []int)
func (*UpdateBucketRequest) GetBucket ¶
func (m *UpdateBucketRequest) GetBucket() string
func (*UpdateBucketRequest) GetCommonRequestParams ¶
func (m *UpdateBucketRequest) GetCommonRequestParams() *CommonRequestParams
func (*UpdateBucketRequest) GetIfMetagenerationMatch ¶
func (m *UpdateBucketRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*UpdateBucketRequest) GetIfMetagenerationNotMatch ¶
func (m *UpdateBucketRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*UpdateBucketRequest) GetMetadata ¶
func (m *UpdateBucketRequest) GetMetadata() *Bucket
func (*UpdateBucketRequest) GetPredefinedAcl ¶
func (m *UpdateBucketRequest) GetPredefinedAcl() CommonEnums_PredefinedBucketAcl
func (*UpdateBucketRequest) GetPredefinedDefaultObjectAcl ¶
func (m *UpdateBucketRequest) GetPredefinedDefaultObjectAcl() CommonEnums_PredefinedObjectAcl
func (*UpdateBucketRequest) GetProjection ¶
func (m *UpdateBucketRequest) GetProjection() CommonEnums_Projection
func (*UpdateBucketRequest) GetUserProject ¶
func (m *UpdateBucketRequest) GetUserProject() string
func (*UpdateBucketRequest) ProtoMessage ¶
func (*UpdateBucketRequest) ProtoMessage()
func (*UpdateBucketRequest) Reset ¶
func (m *UpdateBucketRequest) Reset()
func (*UpdateBucketRequest) String ¶
func (m *UpdateBucketRequest) String() string
func (*UpdateBucketRequest) XXX_DiscardUnknown ¶
func (m *UpdateBucketRequest) XXX_DiscardUnknown()
func (*UpdateBucketRequest) XXX_Marshal ¶
func (m *UpdateBucketRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateBucketRequest) XXX_Merge ¶
func (m *UpdateBucketRequest) XXX_Merge(src proto.Message)
func (*UpdateBucketRequest) XXX_Size ¶
func (m *UpdateBucketRequest) XXX_Size() int
func (*UpdateBucketRequest) XXX_Unmarshal ¶
func (m *UpdateBucketRequest) XXX_Unmarshal(b []byte) error
type UpdateDefaultObjectAccessControlRequest ¶
type UpdateDefaultObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,3,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The ObjectAccessControl for updating. ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,4,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,5,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for UpdateDefaultObjectAccessControl.
func (*UpdateDefaultObjectAccessControlRequest) Descriptor ¶
func (*UpdateDefaultObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*UpdateDefaultObjectAccessControlRequest) GetBucket ¶
func (m *UpdateDefaultObjectAccessControlRequest) GetBucket() string
func (*UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *UpdateDefaultObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*UpdateDefaultObjectAccessControlRequest) GetEntity ¶
func (m *UpdateDefaultObjectAccessControlRequest) GetEntity() string
func (*UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl ¶
func (m *UpdateDefaultObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
func (*UpdateDefaultObjectAccessControlRequest) GetUserProject ¶
func (m *UpdateDefaultObjectAccessControlRequest) GetUserProject() string
func (*UpdateDefaultObjectAccessControlRequest) ProtoMessage ¶
func (*UpdateDefaultObjectAccessControlRequest) ProtoMessage()
func (*UpdateDefaultObjectAccessControlRequest) Reset ¶
func (m *UpdateDefaultObjectAccessControlRequest) Reset()
func (*UpdateDefaultObjectAccessControlRequest) String ¶
func (m *UpdateDefaultObjectAccessControlRequest) String() string
func (*UpdateDefaultObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *UpdateDefaultObjectAccessControlRequest) XXX_DiscardUnknown()
func (*UpdateDefaultObjectAccessControlRequest) XXX_Marshal ¶
func (m *UpdateDefaultObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateDefaultObjectAccessControlRequest) XXX_Merge ¶
func (m *UpdateDefaultObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*UpdateDefaultObjectAccessControlRequest) XXX_Size ¶
func (m *UpdateDefaultObjectAccessControlRequest) XXX_Size() int
func (*UpdateDefaultObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *UpdateDefaultObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type UpdateObjectAccessControlRequest ¶
type UpdateObjectAccessControlRequest struct { // Name of a bucket. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // The entity holding the permission. Can be // <code>user-<var>userId</var></code>, // <code>user-<var>emailAddress</var></code>, // <code>group-<var>groupId</var></code>, // <code>group-<var>emailAddress</var></code>, <code>allUsers</code>, or // <code>allAuthenticatedUsers</code>. // Required. Entity string `protobuf:"bytes,2,opt,name=entity,proto3" json:"entity,omitempty"` // Name of the object. // Required. Object string `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"` // If present, selects a specific revision of this object (as opposed to the // latest version, the default). Generation int64 `protobuf:"varint,4,opt,name=generation,proto3" json:"generation,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,5,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The ObjectAccessControl for updating. ObjectAccessControl *ObjectAccessControl `protobuf:"bytes,6,opt,name=object_access_control,json=objectAccessControl,proto3" json:"object_access_control,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,7,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` // List of fields to be updated. // // To specify ALL fields, equivalent to the JSON API's "update" function, // specify a single field with the value `*`. Note: not recommended. If a new // field is introduced at a later time, an older client updating with the `*` // may accidentally reset the new field's value. // // Not specifying any fields is an error. // Not specifying a field while setting that field to a non-default value is // an error. UpdateMask *field_mask.FieldMask `protobuf:"bytes,8,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for UpdateObjetAccessControl.
func (*UpdateObjectAccessControlRequest) Descriptor ¶
func (*UpdateObjectAccessControlRequest) Descriptor() ([]byte, []int)
func (*UpdateObjectAccessControlRequest) GetBucket ¶
func (m *UpdateObjectAccessControlRequest) GetBucket() string
func (*UpdateObjectAccessControlRequest) GetCommonRequestParams ¶
func (m *UpdateObjectAccessControlRequest) GetCommonRequestParams() *CommonRequestParams
func (*UpdateObjectAccessControlRequest) GetEntity ¶
func (m *UpdateObjectAccessControlRequest) GetEntity() string
func (*UpdateObjectAccessControlRequest) GetGeneration ¶
func (m *UpdateObjectAccessControlRequest) GetGeneration() int64
func (*UpdateObjectAccessControlRequest) GetObject ¶
func (m *UpdateObjectAccessControlRequest) GetObject() string
func (*UpdateObjectAccessControlRequest) GetObjectAccessControl ¶
func (m *UpdateObjectAccessControlRequest) GetObjectAccessControl() *ObjectAccessControl
func (*UpdateObjectAccessControlRequest) GetUpdateMask ¶
func (m *UpdateObjectAccessControlRequest) GetUpdateMask() *field_mask.FieldMask
func (*UpdateObjectAccessControlRequest) GetUserProject ¶
func (m *UpdateObjectAccessControlRequest) GetUserProject() string
func (*UpdateObjectAccessControlRequest) ProtoMessage ¶
func (*UpdateObjectAccessControlRequest) ProtoMessage()
func (*UpdateObjectAccessControlRequest) Reset ¶
func (m *UpdateObjectAccessControlRequest) Reset()
func (*UpdateObjectAccessControlRequest) String ¶
func (m *UpdateObjectAccessControlRequest) String() string
func (*UpdateObjectAccessControlRequest) XXX_DiscardUnknown ¶
func (m *UpdateObjectAccessControlRequest) XXX_DiscardUnknown()
func (*UpdateObjectAccessControlRequest) XXX_Marshal ¶
func (m *UpdateObjectAccessControlRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateObjectAccessControlRequest) XXX_Merge ¶
func (m *UpdateObjectAccessControlRequest) XXX_Merge(src proto.Message)
func (*UpdateObjectAccessControlRequest) XXX_Size ¶
func (m *UpdateObjectAccessControlRequest) XXX_Size() int
func (*UpdateObjectAccessControlRequest) XXX_Unmarshal ¶
func (m *UpdateObjectAccessControlRequest) XXX_Unmarshal(b []byte) error
type UpdateObjectRequest ¶
type UpdateObjectRequest struct { // Name of the bucket in which the object resides. // Required. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // Name of the object. // Required. Object string `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // If present, selects a specific revision of this object (as opposed to the // latest version, the default). Generation int64 `protobuf:"varint,3,opt,name=generation,proto3" json:"generation,omitempty"` // Makes the operation conditional on whether the object's current generation // matches the given value. Setting to 0 makes the operation succeed only if // there are no live versions of the object. IfGenerationMatch *wrappers.Int64Value `protobuf:"bytes,4,opt,name=if_generation_match,json=ifGenerationMatch,proto3" json:"if_generation_match,omitempty"` // Makes the operation conditional on whether the object's current generation // does not match the given value. If no live object exists, the precondition // fails. Setting to 0 makes the operation succeed only if there is a live // version of the object. IfGenerationNotMatch *wrappers.Int64Value `protobuf:"bytes,5,opt,name=if_generation_not_match,json=ifGenerationNotMatch,proto3" json:"if_generation_not_match,omitempty"` // Makes the operation conditional on whether the object's current // metageneration matches the given value. IfMetagenerationMatch *wrappers.Int64Value `` /* 126-byte string literal not displayed */ // Makes the operation conditional on whether the object's current // metageneration does not match the given value. IfMetagenerationNotMatch *wrappers.Int64Value `` /* 137-byte string literal not displayed */ // Apply a predefined set of access controls to this object. PredefinedAcl CommonEnums_PredefinedObjectAcl `` /* 156-byte string literal not displayed */ // Set of properties to return. Defaults to <code>FULL</code>. Projection CommonEnums_Projection `protobuf:"varint,9,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,10,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // The Object metadata for updating. Metadata *Object `protobuf:"bytes,11,opt,name=metadata,proto3" json:"metadata,omitempty"` // A set of parameters common to Storage API requests concerning an object. CommonObjectRequestParams *CommonObjectRequestParams `` /* 141-byte string literal not displayed */ // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,13,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for UpdateObject.
func (*UpdateObjectRequest) Descriptor ¶
func (*UpdateObjectRequest) Descriptor() ([]byte, []int)
func (*UpdateObjectRequest) GetBucket ¶
func (m *UpdateObjectRequest) GetBucket() string
func (*UpdateObjectRequest) GetCommonObjectRequestParams ¶
func (m *UpdateObjectRequest) GetCommonObjectRequestParams() *CommonObjectRequestParams
func (*UpdateObjectRequest) GetCommonRequestParams ¶
func (m *UpdateObjectRequest) GetCommonRequestParams() *CommonRequestParams
func (*UpdateObjectRequest) GetGeneration ¶
func (m *UpdateObjectRequest) GetGeneration() int64
func (*UpdateObjectRequest) GetIfGenerationMatch ¶
func (m *UpdateObjectRequest) GetIfGenerationMatch() *wrappers.Int64Value
func (*UpdateObjectRequest) GetIfGenerationNotMatch ¶
func (m *UpdateObjectRequest) GetIfGenerationNotMatch() *wrappers.Int64Value
func (*UpdateObjectRequest) GetIfMetagenerationMatch ¶
func (m *UpdateObjectRequest) GetIfMetagenerationMatch() *wrappers.Int64Value
func (*UpdateObjectRequest) GetIfMetagenerationNotMatch ¶
func (m *UpdateObjectRequest) GetIfMetagenerationNotMatch() *wrappers.Int64Value
func (*UpdateObjectRequest) GetMetadata ¶
func (m *UpdateObjectRequest) GetMetadata() *Object
func (*UpdateObjectRequest) GetObject ¶
func (m *UpdateObjectRequest) GetObject() string
func (*UpdateObjectRequest) GetPredefinedAcl ¶
func (m *UpdateObjectRequest) GetPredefinedAcl() CommonEnums_PredefinedObjectAcl
func (*UpdateObjectRequest) GetProjection ¶
func (m *UpdateObjectRequest) GetProjection() CommonEnums_Projection
func (*UpdateObjectRequest) GetUserProject ¶
func (m *UpdateObjectRequest) GetUserProject() string
func (*UpdateObjectRequest) ProtoMessage ¶
func (*UpdateObjectRequest) ProtoMessage()
func (*UpdateObjectRequest) Reset ¶
func (m *UpdateObjectRequest) Reset()
func (*UpdateObjectRequest) String ¶
func (m *UpdateObjectRequest) String() string
func (*UpdateObjectRequest) XXX_DiscardUnknown ¶
func (m *UpdateObjectRequest) XXX_DiscardUnknown()
func (*UpdateObjectRequest) XXX_Marshal ¶
func (m *UpdateObjectRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateObjectRequest) XXX_Merge ¶
func (m *UpdateObjectRequest) XXX_Merge(src proto.Message)
func (*UpdateObjectRequest) XXX_Size ¶
func (m *UpdateObjectRequest) XXX_Size() int
func (*UpdateObjectRequest) XXX_Unmarshal ¶
func (m *UpdateObjectRequest) XXX_Unmarshal(b []byte) error
type WatchAllObjectsRequest ¶
type WatchAllObjectsRequest struct { // Name of the bucket in which to look for objects. Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"` // If <code>true</code>, lists all versions of an object as distinct results. // The default is <code>false</code>. For more information, see <a // href="/storage/docs/object-versioning">Object Versioning</a>. Versions bool `protobuf:"varint,2,opt,name=versions,proto3" json:"versions,omitempty"` // Returns results in a directory-like mode. <code>items</code> will contain // only objects whose names, aside from the <code>prefix</code>, do not // contain <code>delimiter</code>. Objects whose names, aside from the // <code>prefix</code>, contain <code>delimiter</code> will have their name, // truncated after the <code>delimiter</code>, returned in // <code>prefixes</code>. Duplicate <code>prefixes</code> are omitted. Delimiter string `protobuf:"bytes,3,opt,name=delimiter,proto3" json:"delimiter,omitempty"` // Maximum number of <code>items</code> plus <code>prefixes</code> to return // in a single page of responses. As duplicate <code>prefixes</code> are // omitted, fewer total results may be returned than requested. The service // will use this parameter or 1,000 items, whichever is smaller. MaxResults int32 `protobuf:"varint,4,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"` // Filter results to objects whose names begin with this prefix. Prefix string `protobuf:"bytes,5,opt,name=prefix,proto3" json:"prefix,omitempty"` // If true, objects that end in exactly one instance of <code>delimiter</code> // will have their metadata included in <code>items</code> in addition to // <code>prefixes</code>. IncludeTrailingDelimiter bool `` /* 136-byte string literal not displayed */ // A previously-returned page token representing part of the larger set of // results to view. PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // Set of properties to return. Defaults to <code>NO_ACL</code>. Projection CommonEnums_Projection `protobuf:"varint,8,opt,name=projection,proto3,enum=google.storage.v1.CommonEnums_Projection" json:"projection,omitempty"` // The project to be billed for this request. // Required for Requester Pays buckets. UserProject string `protobuf:"bytes,9,opt,name=user_project,json=userProject,proto3" json:"user_project,omitempty"` // Properties of the channel to be inserted. Channel *Channel `protobuf:"bytes,10,opt,name=channel,proto3" json:"channel,omitempty"` // A set of parameters common to all Storage API requests. CommonRequestParams *CommonRequestParams `protobuf:"bytes,11,opt,name=common_request_params,json=commonRequestParams,proto3" json:"common_request_params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request message for WatchAllObjects.
func (*WatchAllObjectsRequest) Descriptor ¶
func (*WatchAllObjectsRequest) Descriptor() ([]byte, []int)
func (*WatchAllObjectsRequest) GetBucket ¶
func (m *WatchAllObjectsRequest) GetBucket() string
func (*WatchAllObjectsRequest) GetChannel ¶
func (m *WatchAllObjectsRequest) GetChannel() *Channel
func (*WatchAllObjectsRequest) GetCommonRequestParams ¶
func (m *WatchAllObjectsRequest) GetCommonRequestParams() *CommonRequestParams
func (*WatchAllObjectsRequest) GetDelimiter ¶
func (m *WatchAllObjectsRequest) GetDelimiter() string
func (*WatchAllObjectsRequest) GetIncludeTrailingDelimiter ¶
func (m *WatchAllObjectsRequest) GetIncludeTrailingDelimiter() bool
func (*WatchAllObjectsRequest) GetMaxResults ¶
func (m *WatchAllObjectsRequest) GetMaxResults() int32
func (*WatchAllObjectsRequest) GetPageToken ¶
func (m *WatchAllObjectsRequest) GetPageToken() string
func (*WatchAllObjectsRequest) GetPrefix ¶
func (m *WatchAllObjectsRequest) GetPrefix() string
func (*WatchAllObjectsRequest) GetProjection ¶
func (m *WatchAllObjectsRequest) GetProjection() CommonEnums_Projection
func (*WatchAllObjectsRequest) GetUserProject ¶
func (m *WatchAllObjectsRequest) GetUserProject() string
func (*WatchAllObjectsRequest) GetVersions ¶
func (m *WatchAllObjectsRequest) GetVersions() bool
func (*WatchAllObjectsRequest) ProtoMessage ¶
func (*WatchAllObjectsRequest) ProtoMessage()
func (*WatchAllObjectsRequest) Reset ¶
func (m *WatchAllObjectsRequest) Reset()
func (*WatchAllObjectsRequest) String ¶
func (m *WatchAllObjectsRequest) String() string
func (*WatchAllObjectsRequest) XXX_DiscardUnknown ¶
func (m *WatchAllObjectsRequest) XXX_DiscardUnknown()
func (*WatchAllObjectsRequest) XXX_Marshal ¶
func (m *WatchAllObjectsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WatchAllObjectsRequest) XXX_Merge ¶
func (m *WatchAllObjectsRequest) XXX_Merge(src proto.Message)
func (*WatchAllObjectsRequest) XXX_Size ¶
func (m *WatchAllObjectsRequest) XXX_Size() int
func (*WatchAllObjectsRequest) XXX_Unmarshal ¶
func (m *WatchAllObjectsRequest) XXX_Unmarshal(b []byte) error