Package cloud.google.com/go/storage/control/apiv2/controlpb (v1.56.1)

Variables

IntelligenceConfig_EditionConfig_name, IntelligenceConfig_EditionConfig_value

var (
	IntelligenceConfig_EditionConfig_name = map[int32]string{
		0: "EDITION_CONFIG_UNSPECIFIED",
		1: "INHERIT",
		2: "DISABLED",
		3: "STANDARD",
		5: "TRIAL",
	}
	IntelligenceConfig_EditionConfig_value = map[string]int32{
		"EDITION_CONFIG_UNSPECIFIED": 0,
		"INHERIT":                    1,
		"DISABLED":                   2,
		"STANDARD":                   3,
		"TRIAL":                      5,
	}
)

Enum value maps for IntelligenceConfig_EditionConfig.

IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_name, IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_value

var (
	IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_name = map[int32]string{
		0: "EFFECTIVE_EDITION_UNSPECIFIED",
		1: "NONE",
		2: "STANDARD",
	}
	IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_value = map[string]int32{
		"EFFECTIVE_EDITION_UNSPECIFIED": 0,
		"NONE":                          1,
		"STANDARD":                      2,
	}
)

Enum value maps for IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition.

File_google_storage_control_v2_storage_control_proto

var File_google_storage_control_v2_storage_control_proto protoreflect.FileDescriptor

Functions

func RegisterStorageControlServer

func RegisterStorageControlServer(s *grpc.Server, srv StorageControlServer)

AnywhereCache

type AnywhereCache struct {

	// Immutable. The resource name of this AnywhereCache.
	// Format:
	// `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Immutable. The zone in which the cache instance is running. For example,
	// us-central1-a.
	Zone string `protobuf:"bytes,10,opt,name=zone,proto3" json:"zone,omitempty"`
	// Cache entry TTL (ranges between 1h to 7d). This is a cache-level config
	// that defines how long a cache entry can live. Default ttl value (24hrs)
	// is applied if not specified in the create request. TTL must be in whole
	// seconds.
	Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
	// Cache admission policy. Valid policies includes:
	// `admit-on-first-miss` and `admit-on-second-miss`. Defaults to
	// `admit-on-first-miss`. Default value is applied if not specified in the
	// create request.
	AdmissionPolicy string `protobuf:"bytes,9,opt,name=admission_policy,json=admissionPolicy,proto3" json:"admission_policy,omitempty"`
	// Output only. Cache state including RUNNING, CREATING, DISABLED and PAUSED.
	State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// Output only. Time when Anywhere cache instance is allocated.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Time when Anywhere cache instance is last updated, including
	// creation.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. True if there is an active update operation against this cache
	// instance. Subsequential update requests will be rejected if this field is
	// true. Output only.
	PendingUpdate bool `protobuf:"varint,8,opt,name=pending_update,json=pendingUpdate,proto3" json:"pending_update,omitempty"`
	// contains filtered or unexported fields
}

An Anywhere Cache Instance.

func (*AnywhereCache) Descriptor

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

Deprecated: Use AnywhereCache.ProtoReflect.Descriptor instead.

func (*AnywhereCache) GetAdmissionPolicy

func (x *AnywhereCache) GetAdmissionPolicy() string

func (*AnywhereCache) GetCreateTime

func (x *AnywhereCache) GetCreateTime() *timestamppb.Timestamp

func (*AnywhereCache) GetName

func (x *AnywhereCache) GetName() string

func (*AnywhereCache) GetPendingUpdate

func (x *AnywhereCache) GetPendingUpdate() bool

func (*AnywhereCache) GetState

func (x *AnywhereCache) GetState() string

func (*AnywhereCache) GetTtl

func (x *AnywhereCache) GetTtl() *durationpb.Duration

func (*AnywhereCache) GetUpdateTime

func (x *AnywhereCache) GetUpdateTime() *timestamppb.Timestamp

func (*AnywhereCache) GetZone

func (x *AnywhereCache) GetZone() string

func (*AnywhereCache) ProtoMessage

func (*AnywhereCache) ProtoMessage()

func (*AnywhereCache) ProtoReflect

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

func (*AnywhereCache) Reset

func (x *AnywhereCache) Reset()

func (*AnywhereCache) String

func (x *AnywhereCache) String() string

CommonLongRunningOperationMetadata

type CommonLongRunningOperationMetadata struct {

	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. The time the operation was last modified.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. The type of operation invoked.
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// Output only. Identifies whether the user has requested cancellation.
	RequestedCancellation bool `protobuf:"varint,5,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. The estimated progress of the operation in percentage [0,
	// 100]. The value -1 means the progress is unknown.
	ProgressPercent int32 `protobuf:"varint,6,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// contains filtered or unexported fields
}

The message contains metadata that is common to all Storage Control long-running operations, present in its google.longrunning.Operation messages, and accessible via metadata.common_metadata.

func (*CommonLongRunningOperationMetadata) Descriptor

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

Deprecated: Use CommonLongRunningOperationMetadata.ProtoReflect.Descriptor instead.

func (*CommonLongRunningOperationMetadata) GetCreateTime

func (*CommonLongRunningOperationMetadata) GetEndTime

func (*CommonLongRunningOperationMetadata) GetProgressPercent

func (x *CommonLongRunningOperationMetadata) GetProgressPercent() int32

func (*CommonLongRunningOperationMetadata) GetRequestedCancellation

func (x *CommonLongRunningOperationMetadata) GetRequestedCancellation() bool

func (*CommonLongRunningOperationMetadata) GetType

func (*CommonLongRunningOperationMetadata) GetUpdateTime

func (*CommonLongRunningOperationMetadata) ProtoMessage

func (*CommonLongRunningOperationMetadata) ProtoMessage()

func (*CommonLongRunningOperationMetadata) ProtoReflect

func (*CommonLongRunningOperationMetadata) Reset

func (*CommonLongRunningOperationMetadata) String

CreateAnywhereCacheMetadata

type CreateAnywhereCacheMetadata struct {

	// Generic metadata for the long running operation.
	CommonMetadata *CommonLongRunningOperationMetadata `protobuf:"bytes,1,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"`
	// Anywhere Cache ID.
	AnywhereCacheId *string `protobuf:"bytes,2,opt,name=anywhere_cache_id,json=anywhereCacheId,proto3,oneof" json:"anywhere_cache_id,omitempty"`
	// The zone in which the cache instance is running. For example,
	// us-central1-a.
	Zone *string `protobuf:"bytes,6,opt,name=zone,proto3,oneof" json:"zone,omitempty"`
	// Anywhere Cache entry's TTL. A cache-level config that is applied to all new
	// cache entries on admission. Default ttl value (24hrs) is applied if not
	// specified in the create request.
	Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"`
	// Anywhere Cache entry Admission Policy in kebab-case (e.g.,
	// "admit-on-first-miss"). Default admission policy (admit-on-first-miss) is
	// applied if not specified in the create request.
	AdmissionPolicy *string `protobuf:"bytes,5,opt,name=admission_policy,json=admissionPolicy,proto3,oneof" json:"admission_policy,omitempty"`
	// contains filtered or unexported fields
}

Message returned in the metadata field of the Operation resource for CreateAnywhereCache operations.

func (*CreateAnywhereCacheMetadata) Descriptor

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

Deprecated: Use CreateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.

func (*CreateAnywhereCacheMetadata) GetAdmissionPolicy

func (x *CreateAnywhereCacheMetadata) GetAdmissionPolicy() string

func (*CreateAnywhereCacheMetadata) GetAnywhereCacheId

func (x *CreateAnywhereCacheMetadata) GetAnywhereCacheId() string

func (*CreateAnywhereCacheMetadata) GetCommonMetadata

func (*CreateAnywhereCacheMetadata) GetTtl

func (*CreateAnywhereCacheMetadata) GetZone

func (x *CreateAnywhereCacheMetadata) GetZone() string

func (*CreateAnywhereCacheMetadata) ProtoMessage

func (*CreateAnywhereCacheMetadata) ProtoMessage()

func (*CreateAnywhereCacheMetadata) ProtoReflect

func (*CreateAnywhereCacheMetadata) Reset

func (x *CreateAnywhereCacheMetadata) Reset()

func (*CreateAnywhereCacheMetadata) String

func (x *CreateAnywhereCacheMetadata) String() string

CreateAnywhereCacheRequest

type CreateAnywhereCacheRequest struct {

	// Required. The bucket to which this cache belongs.
	// Format: `projects/{project}/buckets/{bucket}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Properties of the Anywhere Cache instance being created.
	// The parent bucket name is specified in the `parent` field. Server uses the
	// default value of `ttl` or `admission_policy` if not specified in
	// request.
	AnywhereCache *AnywhereCache `protobuf:"bytes,3,opt,name=anywhere_cache,json=anywhereCache,proto3" json:"anywhere_cache,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted. This request is only
	// idempotent if a `request_id` is provided.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateAnywhereCache.

func (*CreateAnywhereCacheRequest) Descriptor

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

Deprecated: Use CreateAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*CreateAnywhereCacheRequest) GetAnywhereCache

func (x *CreateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache

func (*CreateAnywhereCacheRequest) GetParent

func (x *CreateAnywhereCacheRequest) GetParent() string

func (*CreateAnywhereCacheRequest) GetRequestId

func (x *CreateAnywhereCacheRequest) GetRequestId() string

func (*CreateAnywhereCacheRequest) ProtoMessage

func (*CreateAnywhereCacheRequest) ProtoMessage()

func (*CreateAnywhereCacheRequest) ProtoReflect

func (*CreateAnywhereCacheRequest) Reset

func (x *CreateAnywhereCacheRequest) Reset()

func (*CreateAnywhereCacheRequest) String

func (x *CreateAnywhereCacheRequest) String() string

CreateFolderRequest

type CreateFolderRequest struct {

	// Required. Name of the bucket in which the folder will reside. The bucket
	// must be a hierarchical namespace enabled bucket.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Properties of the new folder being created.
	// The bucket and name of the folder are specified in the parent and folder_id
	// fields, respectively. Populating those fields in `folder` will result in an
	// error.
	Folder *Folder `protobuf:"bytes,2,opt,name=folder,proto3" json:"folder,omitempty"`
	// Required. The full name of a folder, including all its parent folders.
	// Folders use single '/' characters as a delimiter.
	// The folder_id must end with a slash.
	// For example, the folder_id of "books/biographies/" would create a new
	// "biographies/" folder under the "books/" folder.
	FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Optional. If true, parent folder doesn't have to be present and all missing
	// ancestor folders will be created atomically.
	Recursive bool `protobuf:"varint,4,opt,name=recursive,proto3" json:"recursive,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

func (*CreateFolderRequest) Descriptor

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

Deprecated: Use CreateFolderRequest.ProtoReflect.Descriptor instead.

func (*CreateFolderRequest) GetFolder

func (x *CreateFolderRequest) GetFolder() *Folder

func (*CreateFolderRequest) GetFolderId

func (x *CreateFolderRequest) GetFolderId() string

func (*CreateFolderRequest) GetParent

func (x *CreateFolderRequest) GetParent() string

func (*CreateFolderRequest) GetRecursive

func (x *CreateFolderRequest) GetRecursive() bool

func (*CreateFolderRequest) GetRequestId

func (x *CreateFolderRequest) GetRequestId() string

func (*CreateFolderRequest) ProtoMessage

func (*CreateFolderRequest) ProtoMessage()

func (*CreateFolderRequest) ProtoReflect

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

func (*CreateFolderRequest) Reset

func (x *CreateFolderRequest) Reset()

func (*CreateFolderRequest) String

func (x *CreateFolderRequest) String() string

CreateManagedFolderRequest

type CreateManagedFolderRequest struct {

	// Required. Name of the bucket this managed folder belongs to.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Properties of the managed folder being created.
	// The bucket and managed folder names are specified in the `parent` and
	// `managed_folder_id` fields. Populating these fields in `managed_folder`
	// will result in an error.
	ManagedFolder *ManagedFolder `protobuf:"bytes,2,opt,name=managed_folder,json=managedFolder,proto3" json:"managed_folder,omitempty"`
	// Required. The name of the managed folder. It uses a single `/` as delimiter
	// and leading and trailing `/` are allowed.
	ManagedFolderId string `protobuf:"bytes,3,opt,name=managed_folder_id,json=managedFolderId,proto3" json:"managed_folder_id,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for CreateManagedFolder.

func (*CreateManagedFolderRequest) Descriptor

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

Deprecated: Use CreateManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*CreateManagedFolderRequest) GetManagedFolder

func (x *CreateManagedFolderRequest) GetManagedFolder() *ManagedFolder

func (*CreateManagedFolderRequest) GetManagedFolderId

func (x *CreateManagedFolderRequest) GetManagedFolderId() string

func (*CreateManagedFolderRequest) GetParent

func (x *CreateManagedFolderRequest) GetParent() string

func (*CreateManagedFolderRequest) GetRequestId

func (x *CreateManagedFolderRequest) GetRequestId() string

func (*CreateManagedFolderRequest) ProtoMessage

func (*CreateManagedFolderRequest) ProtoMessage()

func (*CreateManagedFolderRequest) ProtoReflect

func (*CreateManagedFolderRequest) Reset

func (x *CreateManagedFolderRequest) Reset()

func (*CreateManagedFolderRequest) String

func (x *CreateManagedFolderRequest) String() string

DeleteFolderRequest

type DeleteFolderRequest struct {

	// Required. Name of the folder.
	// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for DeleteFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

func (*DeleteFolderRequest) Descriptor

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

Deprecated: Use DeleteFolderRequest.ProtoReflect.Descriptor instead.

func (*DeleteFolderRequest) GetIfMetagenerationMatch

func (x *DeleteFolderRequest) GetIfMetagenerationMatch() int64

func (*DeleteFolderRequest) GetIfMetagenerationNotMatch

func (x *DeleteFolderRequest) GetIfMetagenerationNotMatch() int64

func (*DeleteFolderRequest) GetName

func (x *DeleteFolderRequest) GetName() string

func (*DeleteFolderRequest) GetRequestId

func (x *DeleteFolderRequest) GetRequestId() string

func (*DeleteFolderRequest) ProtoMessage

func (*DeleteFolderRequest) ProtoMessage()

func (*DeleteFolderRequest) ProtoReflect

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

func (*DeleteFolderRequest) Reset

func (x *DeleteFolderRequest) Reset()

func (*DeleteFolderRequest) String

func (x *DeleteFolderRequest) String() string

DeleteManagedFolderRequest

type DeleteManagedFolderRequest struct {

	// Required. Name of the managed folder.
	// Format:
	// `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// The operation succeeds conditional on the managed folder's current
	// metageneration matching the value here specified.
	IfMetagenerationMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// The operation succeeds conditional on the managed folder's current
	// metageneration NOT matching the value here specified.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Allows deletion of a managed folder even if it is not empty.
	// A managed folder is empty if it manages no child managed folders or
	// objects. Caller must have permission for
	// storage.managedFolders.setIamPolicy.
	AllowNonEmpty bool `protobuf:"varint,5,opt,name=allow_non_empty,json=allowNonEmpty,proto3" json:"allow_non_empty,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

DeleteManagedFolder RPC request message.

func (*DeleteManagedFolderRequest) Descriptor

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

Deprecated: Use DeleteManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*DeleteManagedFolderRequest) GetAllowNonEmpty

func (x *DeleteManagedFolderRequest) GetAllowNonEmpty() bool

func (*DeleteManagedFolderRequest) GetIfMetagenerationMatch

func (x *DeleteManagedFolderRequest) GetIfMetagenerationMatch() int64

func (*DeleteManagedFolderRequest) GetIfMetagenerationNotMatch

func (x *DeleteManagedFolderRequest) GetIfMetagenerationNotMatch() int64

func (*DeleteManagedFolderRequest) GetName

func (x *DeleteManagedFolderRequest) GetName() string

func (*DeleteManagedFolderRequest) GetRequestId

func (x *DeleteManagedFolderRequest) GetRequestId() string

func (*DeleteManagedFolderRequest) ProtoMessage

func (*DeleteManagedFolderRequest) ProtoMessage()

func (*DeleteManagedFolderRequest) ProtoReflect

func (*DeleteManagedFolderRequest) Reset

func (x *DeleteManagedFolderRequest) Reset()

func (*DeleteManagedFolderRequest) String

func (x *DeleteManagedFolderRequest) String() string

DisableAnywhereCacheRequest

type DisableAnywhereCacheRequest struct {

	// Required. The name field in the request should be:
	// `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted. This request is only
	// idempotent if a `request_id` is provided.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for DisableAnywhereCache.

func (*DisableAnywhereCacheRequest) Descriptor

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

Deprecated: Use DisableAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*DisableAnywhereCacheRequest) GetName

func (x *DisableAnywhereCacheRequest) GetName() string

func (*DisableAnywhereCacheRequest) GetRequestId

func (x *DisableAnywhereCacheRequest) GetRequestId() string

func (*DisableAnywhereCacheRequest) ProtoMessage

func (*DisableAnywhereCacheRequest) ProtoMessage()

func (*DisableAnywhereCacheRequest) ProtoReflect

func (*DisableAnywhereCacheRequest) Reset

func (x *DisableAnywhereCacheRequest) Reset()

func (*DisableAnywhereCacheRequest) String

func (x *DisableAnywhereCacheRequest) String() string

Folder

type Folder struct {

	// Identifier. The name of this folder.
	// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The version of the metadata for this folder. Used for
	// preconditions and for detecting changes in metadata.
	Metageneration int64 `protobuf:"varint,3,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
	// Output only. The creation time of the folder.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The modification time of the folder.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Output only. Only present if the folder is part of an ongoing RenameFolder
	// operation. Contains information which can be used to query the operation
	// status. The presence of this field also indicates all write operations are
	// blocked for this folder, including folder, managed folder, and object
	// operations.
	PendingRenameInfo *PendingRenameInfo `protobuf:"bytes,7,opt,name=pending_rename_info,json=pendingRenameInfo,proto3" json:"pending_rename_info,omitempty"`
	// contains filtered or unexported fields
}

A folder resource. This resource can only exist in a hierarchical namespace enabled bucket.

func (*Folder) Descriptor

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

Deprecated: Use Folder.ProtoReflect.Descriptor instead.

func (*Folder) GetCreateTime

func (x *Folder) GetCreateTime() *timestamppb.Timestamp

func (*Folder) GetMetageneration

func (x *Folder) GetMetageneration() int64

func (*Folder) GetName

func (x *Folder) GetName() string

func (*Folder) GetPendingRenameInfo

func (x *Folder) GetPendingRenameInfo() *PendingRenameInfo

func (*Folder) GetUpdateTime

func (x *Folder) GetUpdateTime() *timestamppb.Timestamp

func (*Folder) ProtoMessage

func (*Folder) ProtoMessage()

func (*Folder) ProtoReflect

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

func (*Folder) Reset

func (x *Folder) Reset()

func (*Folder) String

func (x *Folder) String() string

GetAnywhereCacheRequest

type GetAnywhereCacheRequest struct {

	// Required. The name field in the request should be:
	// `projects/{project}/buckets/{bucket}/anywhereCaches/{anywhere_cache}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetAnywhereCache.

func (*GetAnywhereCacheRequest) Descriptor

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

Deprecated: Use GetAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*GetAnywhereCacheRequest) GetName

func (x *GetAnywhereCacheRequest) GetName() string

func (*GetAnywhereCacheRequest) GetRequestId

func (x *GetAnywhereCacheRequest) GetRequestId() string

func (*GetAnywhereCacheRequest) ProtoMessage

func (*GetAnywhereCacheRequest) ProtoMessage()

func (*GetAnywhereCacheRequest) ProtoReflect

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

func (*GetAnywhereCacheRequest) Reset

func (x *GetAnywhereCacheRequest) Reset()

func (*GetAnywhereCacheRequest) String

func (x *GetAnywhereCacheRequest) String() string

GetFolderIntelligenceConfigRequest

type GetFolderIntelligenceConfigRequest struct {

	// Required. The name of the `IntelligenceConfig` resource associated with
	// your folder.
	//
	// Format: `folders/{id}/locations/global/intelligenceConfig`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the IntelligenceConfig resource associated with your folder.

IAM Permissions

Requires storage.intelligenceConfigs.get IAM permission on the folder.

func (*GetFolderIntelligenceConfigRequest) Descriptor

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

Deprecated: Use GetFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetFolderIntelligenceConfigRequest) GetName

func (*GetFolderIntelligenceConfigRequest) ProtoMessage

func (*GetFolderIntelligenceConfigRequest) ProtoMessage()

func (*GetFolderIntelligenceConfigRequest) ProtoReflect

func (*GetFolderIntelligenceConfigRequest) Reset

func (*GetFolderIntelligenceConfigRequest) String

GetFolderRequest

type GetFolderRequest struct {

	// Required. Name of the folder.
	// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration matches the given value.
	IfMetagenerationMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetFolder. This operation is only applicable to a hierarchical namespace enabled bucket.

func (*GetFolderRequest) Descriptor

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

Deprecated: Use GetFolderRequest.ProtoReflect.Descriptor instead.

func (*GetFolderRequest) GetIfMetagenerationMatch

func (x *GetFolderRequest) GetIfMetagenerationMatch() int64

func (*GetFolderRequest) GetIfMetagenerationNotMatch

func (x *GetFolderRequest) GetIfMetagenerationNotMatch() int64

func (*GetFolderRequest) GetName

func (x *GetFolderRequest) GetName() string

func (*GetFolderRequest) GetRequestId

func (x *GetFolderRequest) GetRequestId() string

func (*GetFolderRequest) ProtoMessage

func (*GetFolderRequest) ProtoMessage()

func (*GetFolderRequest) ProtoReflect

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

func (*GetFolderRequest) Reset

func (x *GetFolderRequest) Reset()

func (*GetFolderRequest) String

func (x *GetFolderRequest) String() string

GetManagedFolderRequest

type GetManagedFolderRequest struct {

	// Required. Name of the managed folder.
	// Format:
	// `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// The operation succeeds conditional on the managed folder's current
	// metageneration matching the value here specified.
	IfMetagenerationMatch *int64 `protobuf:"varint,3,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// The operation succeeds conditional on the managed folder's current
	// metageneration NOT matching the value here specified.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,4,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetManagedFolder.

func (*GetManagedFolderRequest) Descriptor

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

Deprecated: Use GetManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*GetManagedFolderRequest) GetIfMetagenerationMatch

func (x *GetManagedFolderRequest) GetIfMetagenerationMatch() int64

func (*GetManagedFolderRequest) GetIfMetagenerationNotMatch

func (x *GetManagedFolderRequest) GetIfMetagenerationNotMatch() int64

func (*GetManagedFolderRequest) GetName

func (x *GetManagedFolderRequest) GetName() string

func (*GetManagedFolderRequest) GetRequestId

func (x *GetManagedFolderRequest) GetRequestId() string

func (*GetManagedFolderRequest) ProtoMessage

func (*GetManagedFolderRequest) ProtoMessage()

func (*GetManagedFolderRequest) ProtoReflect

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

func (*GetManagedFolderRequest) Reset

func (x *GetManagedFolderRequest) Reset()

func (*GetManagedFolderRequest) String

func (x *GetManagedFolderRequest) String() string

GetOrganizationIntelligenceConfigRequest

type GetOrganizationIntelligenceConfigRequest struct {

	// Required. The name of the `IntelligenceConfig` resource associated with
	// your organization.
	//
	// Format: `organizations/{org_id}/locations/global/intelligenceConfig`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the IntelligenceConfig resource associated with your organization.

IAM Permissions

Requires storage.intelligenceConfigs.get IAM permission on the organization.

func (*GetOrganizationIntelligenceConfigRequest) Descriptor

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

Deprecated: Use GetOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationIntelligenceConfigRequest) GetName

func (*GetOrganizationIntelligenceConfigRequest) ProtoMessage

func (*GetOrganizationIntelligenceConfigRequest) ProtoReflect

func (*GetOrganizationIntelligenceConfigRequest) Reset

func (*GetOrganizationIntelligenceConfigRequest) String

GetProjectIntelligenceConfigRequest

type GetProjectIntelligenceConfigRequest struct {

	// Required. The name of the `IntelligenceConfig` resource associated with
	// your project.
	//
	// Format: `projects/{id}/locations/global/intelligenceConfig`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message to get the IntelligenceConfig resource associated with your project.

IAM Permissions:

Requires storage.intelligenceConfigs.get IAM permission on the project.

func (*GetProjectIntelligenceConfigRequest) Descriptor

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

Deprecated: Use GetProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetProjectIntelligenceConfigRequest) GetName

func (*GetProjectIntelligenceConfigRequest) ProtoMessage

func (*GetProjectIntelligenceConfigRequest) ProtoMessage()

func (*GetProjectIntelligenceConfigRequest) ProtoReflect

func (*GetProjectIntelligenceConfigRequest) Reset

func (*GetProjectIntelligenceConfigRequest) String

GetStorageLayoutRequest

type GetStorageLayoutRequest struct {

	// Required. The name of the StorageLayout resource.
	// Format: `projects/{project}/buckets/{bucket}/storageLayout`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// An optional prefix used for permission check. It is useful when the caller
	// only has limited permissions under a specific prefix.
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetStorageLayout.

func (*GetStorageLayoutRequest) Descriptor

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

Deprecated: Use GetStorageLayoutRequest.ProtoReflect.Descriptor instead.

func (*GetStorageLayoutRequest) GetName

func (x *GetStorageLayoutRequest) GetName() string

func (*GetStorageLayoutRequest) GetPrefix

func (x *GetStorageLayoutRequest) GetPrefix() string

func (*GetStorageLayoutRequest) GetRequestId

func (x *GetStorageLayoutRequest) GetRequestId() string

func (*GetStorageLayoutRequest) ProtoMessage

func (*GetStorageLayoutRequest) ProtoMessage()

func (*GetStorageLayoutRequest) ProtoReflect

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

func (*GetStorageLayoutRequest) Reset

func (x *GetStorageLayoutRequest) Reset()

func (*GetStorageLayoutRequest) String

func (x *GetStorageLayoutRequest) String() string

IntelligenceConfig

type IntelligenceConfig struct {

	// Identifier. The name of the `IntelligenceConfig` resource associated with
	// your organization, folder, or project.
	//
	// The name format varies based on the GCP resource hierarchy as follows:
	//
	// * For project:
	// `projects/{project_number}/locations/global/intelligenceConfig`
	// * For organization:
	// `organizations/{org_id}/locations/global/intelligenceConfig`
	// * For folder: `folders/{folder_id}/locations/global/intelligenceConfig`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. The edition configuration of the `IntelligenceConfig` resource.
	EditionConfig IntelligenceConfig_EditionConfig `protobuf:"varint,2,opt,name=edition_config,json=editionConfig,proto3,enum=google.storage.control.v2.IntelligenceConfig_EditionConfig" json:"edition_config,omitempty"`
	// Output only. The time at which the `IntelligenceConfig` resource is last
	// updated.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Filter over location and bucket.
	Filter *IntelligenceConfig_Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Output only. The `IntelligenceConfig` resource that is applicable for the
	// resource.
	EffectiveIntelligenceConfig *IntelligenceConfig_EffectiveIntelligenceConfig `protobuf:"bytes,5,opt,name=effective_intelligence_config,json=effectiveIntelligenceConfig,proto3" json:"effective_intelligence_config,omitempty"`
	// The trial configuration of the `IntelligenceConfig` resource.
	TrialConfig *IntelligenceConfig_TrialConfig `protobuf:"bytes,7,opt,name=trial_config,json=trialConfig,proto3" json:"trial_config,omitempty"`
	// contains filtered or unexported fields
}

The IntelligenceConfig resource associated with your organization, folder, or project.

func (*IntelligenceConfig) Descriptor

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

Deprecated: Use IntelligenceConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig) GetEditionConfig

func (*IntelligenceConfig) GetEffectiveIntelligenceConfig

func (x *IntelligenceConfig) GetEffectiveIntelligenceConfig() *IntelligenceConfig_EffectiveIntelligenceConfig

func (*IntelligenceConfig) GetFilter

func (*IntelligenceConfig) GetName

func (x *IntelligenceConfig) GetName() string

func (*IntelligenceConfig) GetTrialConfig

func (*IntelligenceConfig) GetUpdateTime

func (x *IntelligenceConfig) GetUpdateTime() *timestamppb.Timestamp

func (*IntelligenceConfig) ProtoMessage

func (*IntelligenceConfig) ProtoMessage()

func (*IntelligenceConfig) ProtoReflect

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

func (*IntelligenceConfig) Reset

func (x *IntelligenceConfig) Reset()

func (*IntelligenceConfig) String

func (x *IntelligenceConfig) String() string

IntelligenceConfig_EditionConfig

type IntelligenceConfig_EditionConfig int32

The edition configuration of the IntelligenceConfig resource. This signifies the edition used for configuring the IntelligenceConfig resource and can only take the following values: EDITION_CONFIG_UNSPECIFIED, INHERIT, DISABLED, STANDARD and TRIAL.

IntelligenceConfig_EDITION_CONFIG_UNSPECIFIED, IntelligenceConfig_INHERIT, IntelligenceConfig_DISABLED, IntelligenceConfig_STANDARD, IntelligenceConfig_TRIAL

const (
	// This is an unknown edition of the resource.
	IntelligenceConfig_EDITION_CONFIG_UNSPECIFIED IntelligenceConfig_EditionConfig = 0
	// The inherited edition from the parent and filters. This is the default
	// edition when there is no `IntelligenceConfig` setup for a GCP resource.
	IntelligenceConfig_INHERIT IntelligenceConfig_EditionConfig = 1
	// The edition configuration is disabled for the `IntelligenceConfig`
	// resource and its children. Filters are not applicable.
	IntelligenceConfig_DISABLED IntelligenceConfig_EditionConfig = 2
	// The `IntelligenceConfig` resource is of STANDARD edition.
	IntelligenceConfig_STANDARD IntelligenceConfig_EditionConfig = 3
	// The `IntelligenceConfig` resource is available in `TRIAL` edition. During
	// the trial period, Cloud Storage does not charge for Storage Intelligence
	// usage. You can specify the buckets to include in the trial period by
	// using filters. At the end of the trial period, the `IntelligenceConfig`
	// resource is upgraded to `STANDARD` edition.
	IntelligenceConfig_TRIAL IntelligenceConfig_EditionConfig = 5
)

func (IntelligenceConfig_EditionConfig) Descriptor

func (IntelligenceConfig_EditionConfig) Enum

func (IntelligenceConfig_EditionConfig) EnumDescriptor

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

Deprecated: Use IntelligenceConfig_EditionConfig.Descriptor instead.

func (IntelligenceConfig_EditionConfig) Number

func (IntelligenceConfig_EditionConfig) String

func (IntelligenceConfig_EditionConfig) Type

IntelligenceConfig_EffectiveIntelligenceConfig

type IntelligenceConfig_EffectiveIntelligenceConfig struct {

	// Output only. The `IntelligenceConfig` edition that is applicable for the
	// resource.
	EffectiveEdition IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition `protobuf:"varint,1,opt,name=effective_edition,json=effectiveEdition,proto3,enum=google.storage.control.v2.IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition" json:"effective_edition,omitempty"`
	// Output only. The `IntelligenceConfig` resource that is applied for the
	// target resource. Format:
	// `{organizations|folders|projects}/{id}/locations/{location}/intelligenceConfig`
	IntelligenceConfig string `protobuf:"bytes,2,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
	// contains filtered or unexported fields
}

The effective IntelligenceConfig for the resource.

func (*IntelligenceConfig_EffectiveIntelligenceConfig) Descriptor

Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetEffectiveEdition

func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig

func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig() string

func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage

func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect

func (*IntelligenceConfig_EffectiveIntelligenceConfig) Reset

func (*IntelligenceConfig_EffectiveIntelligenceConfig) String

IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition

type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition int32

The effective edition of the IntelligenceConfig resource.

IntelligenceConfig_EffectiveIntelligenceConfig_EFFECTIVE_EDITION_UNSPECIFIED, IntelligenceConfig_EffectiveIntelligenceConfig_NONE, IntelligenceConfig_EffectiveIntelligenceConfig_STANDARD

const (
	// This is an unknown edition of the resource.
	IntelligenceConfig_EffectiveIntelligenceConfig_EFFECTIVE_EDITION_UNSPECIFIED IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 0
	// No edition.
	IntelligenceConfig_EffectiveIntelligenceConfig_NONE IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 1
	// The `IntelligenceConfig` resource is of STANDARD edition.
	IntelligenceConfig_EffectiveIntelligenceConfig_STANDARD