controlpb

package
v1.57.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 15 Imported by: 6

Documentation

Index

Constants

View Source
const (
	StorageControl_CreateFolder_FullMethodName                         = "/google.storage.control.v2.StorageControl/CreateFolder"
	StorageControl_DeleteFolder_FullMethodName                         = "/google.storage.control.v2.StorageControl/DeleteFolder"
	StorageControl_GetFolder_FullMethodName                            = "/google.storage.control.v2.StorageControl/GetFolder"
	StorageControl_ListFolders_FullMethodName                          = "/google.storage.control.v2.StorageControl/ListFolders"
	StorageControl_RenameFolder_FullMethodName                         = "/google.storage.control.v2.StorageControl/RenameFolder"
	StorageControl_GetStorageLayout_FullMethodName                     = "/google.storage.control.v2.StorageControl/GetStorageLayout"
	StorageControl_CreateManagedFolder_FullMethodName                  = "/google.storage.control.v2.StorageControl/CreateManagedFolder"
	StorageControl_DeleteManagedFolder_FullMethodName                  = "/google.storage.control.v2.StorageControl/DeleteManagedFolder"
	StorageControl_GetManagedFolder_FullMethodName                     = "/google.storage.control.v2.StorageControl/GetManagedFolder"
	StorageControl_ListManagedFolders_FullMethodName                   = "/google.storage.control.v2.StorageControl/ListManagedFolders"
	StorageControl_CreateAnywhereCache_FullMethodName                  = "/google.storage.control.v2.StorageControl/CreateAnywhereCache"
	StorageControl_UpdateAnywhereCache_FullMethodName                  = "/google.storage.control.v2.StorageControl/UpdateAnywhereCache"
	StorageControl_DisableAnywhereCache_FullMethodName                 = "/google.storage.control.v2.StorageControl/DisableAnywhereCache"
	StorageControl_PauseAnywhereCache_FullMethodName                   = "/google.storage.control.v2.StorageControl/PauseAnywhereCache"
	StorageControl_ResumeAnywhereCache_FullMethodName                  = "/google.storage.control.v2.StorageControl/ResumeAnywhereCache"
	StorageControl_GetAnywhereCache_FullMethodName                     = "/google.storage.control.v2.StorageControl/GetAnywhereCache"
	StorageControl_ListAnywhereCaches_FullMethodName                   = "/google.storage.control.v2.StorageControl/ListAnywhereCaches"
	StorageControl_GetProjectIntelligenceConfig_FullMethodName         = "/google.storage.control.v2.StorageControl/GetProjectIntelligenceConfig"
	StorageControl_UpdateProjectIntelligenceConfig_FullMethodName      = "/google.storage.control.v2.StorageControl/UpdateProjectIntelligenceConfig"
	StorageControl_GetFolderIntelligenceConfig_FullMethodName          = "/google.storage.control.v2.StorageControl/GetFolderIntelligenceConfig"
	StorageControl_UpdateFolderIntelligenceConfig_FullMethodName       = "/google.storage.control.v2.StorageControl/UpdateFolderIntelligenceConfig"
	StorageControl_GetOrganizationIntelligenceConfig_FullMethodName    = "/google.storage.control.v2.StorageControl/GetOrganizationIntelligenceConfig"
	StorageControl_UpdateOrganizationIntelligenceConfig_FullMethodName = "/google.storage.control.v2.StorageControl/UpdateOrganizationIntelligenceConfig"
	StorageControl_GetIamPolicy_FullMethodName                         = "/google.storage.control.v2.StorageControl/GetIamPolicy"
	StorageControl_SetIamPolicy_FullMethodName                         = "/google.storage.control.v2.StorageControl/SetIamPolicy"
	StorageControl_TestIamPermissions_FullMethodName                   = "/google.storage.control.v2.StorageControl/TestIamPermissions"
)

Variables

View Source
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.

View Source
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.

View Source
var File_google_storage_control_v2_storage_control_proto protoreflect.FileDescriptor
View Source
var StorageControl_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.storage.control.v2.StorageControl",
	HandlerType: (*StorageControlServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateFolder",
			Handler:    _StorageControl_CreateFolder_Handler,
		},
		{
			MethodName: "DeleteFolder",
			Handler:    _StorageControl_DeleteFolder_Handler,
		},
		{
			MethodName: "GetFolder",
			Handler:    _StorageControl_GetFolder_Handler,
		},
		{
			MethodName: "ListFolders",
			Handler:    _StorageControl_ListFolders_Handler,
		},
		{
			MethodName: "RenameFolder",
			Handler:    _StorageControl_RenameFolder_Handler,
		},
		{
			MethodName: "GetStorageLayout",
			Handler:    _StorageControl_GetStorageLayout_Handler,
		},
		{
			MethodName: "CreateManagedFolder",
			Handler:    _StorageControl_CreateManagedFolder_Handler,
		},
		{
			MethodName: "DeleteManagedFolder",
			Handler:    _StorageControl_DeleteManagedFolder_Handler,
		},
		{
			MethodName: "GetManagedFolder",
			Handler:    _StorageControl_GetManagedFolder_Handler,
		},
		{
			MethodName: "ListManagedFolders",
			Handler:    _StorageControl_ListManagedFolders_Handler,
		},
		{
			MethodName: "CreateAnywhereCache",
			Handler:    _StorageControl_CreateAnywhereCache_Handler,
		},
		{
			MethodName: "UpdateAnywhereCache",
			Handler:    _StorageControl_UpdateAnywhereCache_Handler,
		},
		{
			MethodName: "DisableAnywhereCache",
			Handler:    _StorageControl_DisableAnywhereCache_Handler,
		},
		{
			MethodName: "PauseAnywhereCache",
			Handler:    _StorageControl_PauseAnywhereCache_Handler,
		},
		{
			MethodName: "ResumeAnywhereCache",
			Handler:    _StorageControl_ResumeAnywhereCache_Handler,
		},
		{
			MethodName: "GetAnywhereCache",
			Handler:    _StorageControl_GetAnywhereCache_Handler,
		},
		{
			MethodName: "ListAnywhereCaches",
			Handler:    _StorageControl_ListAnywhereCaches_Handler,
		},
		{
			MethodName: "GetProjectIntelligenceConfig",
			Handler:    _StorageControl_GetProjectIntelligenceConfig_Handler,
		},
		{
			MethodName: "UpdateProjectIntelligenceConfig",
			Handler:    _StorageControl_UpdateProjectIntelligenceConfig_Handler,
		},
		{
			MethodName: "GetFolderIntelligenceConfig",
			Handler:    _StorageControl_GetFolderIntelligenceConfig_Handler,
		},
		{
			MethodName: "UpdateFolderIntelligenceConfig",
			Handler:    _StorageControl_UpdateFolderIntelligenceConfig_Handler,
		},
		{
			MethodName: "GetOrganizationIntelligenceConfig",
			Handler:    _StorageControl_GetOrganizationIntelligenceConfig_Handler,
		},
		{
			MethodName: "UpdateOrganizationIntelligenceConfig",
			Handler:    _StorageControl_UpdateOrganizationIntelligenceConfig_Handler,
		},
		{
			MethodName: "GetIamPolicy",
			Handler:    _StorageControl_GetIamPolicy_Handler,
		},
		{
			MethodName: "SetIamPolicy",
			Handler:    _StorageControl_SetIamPolicy_Handler,
		},
		{
			MethodName: "TestIamPermissions",
			Handler:    _StorageControl_TestIamPermissions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/storage/control/v2/storage_control.proto",
}

StorageControl_ServiceDesc is the grpc.ServiceDesc for StorageControl service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterStorageControlServer

func RegisterStorageControlServer(s grpc.ServiceRegistrar, srv StorageControlServer)

Types

type AnywhereCache added in v1.53.0

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 deprecated added in v1.53.0

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

Deprecated: Use AnywhereCache.ProtoReflect.Descriptor instead.

func (*AnywhereCache) GetAdmissionPolicy added in v1.53.0

func (x *AnywhereCache) GetAdmissionPolicy() string

func (*AnywhereCache) GetCreateTime added in v1.53.0

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

func (*AnywhereCache) GetName added in v1.53.0

func (x *AnywhereCache) GetName() string

func (*AnywhereCache) GetPendingUpdate added in v1.53.0

func (x *AnywhereCache) GetPendingUpdate() bool

func (*AnywhereCache) GetState added in v1.53.0

func (x *AnywhereCache) GetState() string

func (*AnywhereCache) GetTtl added in v1.53.0

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

func (*AnywhereCache) GetUpdateTime added in v1.53.0

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

func (*AnywhereCache) GetZone added in v1.53.0

func (x *AnywhereCache) GetZone() string

func (*AnywhereCache) ProtoMessage added in v1.53.0

func (*AnywhereCache) ProtoMessage()

func (*AnywhereCache) ProtoReflect added in v1.53.0

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

func (*AnywhereCache) Reset added in v1.53.0

func (x *AnywhereCache) Reset()

func (*AnywhereCache) String added in v1.53.0

func (x *AnywhereCache) String() string

type 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 deprecated

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

type CreateAnywhereCacheMetadata added in v1.53.0

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 deprecated added in v1.53.0

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

Deprecated: Use CreateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.

func (*CreateAnywhereCacheMetadata) GetAdmissionPolicy added in v1.53.0

func (x *CreateAnywhereCacheMetadata) GetAdmissionPolicy() string

func (*CreateAnywhereCacheMetadata) GetAnywhereCacheId added in v1.53.0

func (x *CreateAnywhereCacheMetadata) GetAnywhereCacheId() string

func (*CreateAnywhereCacheMetadata) GetCommonMetadata added in v1.53.0

func (*CreateAnywhereCacheMetadata) GetTtl added in v1.53.0

func (*CreateAnywhereCacheMetadata) GetZone added in v1.53.0

func (x *CreateAnywhereCacheMetadata) GetZone() string

func (*CreateAnywhereCacheMetadata) ProtoMessage added in v1.53.0

func (*CreateAnywhereCacheMetadata) ProtoMessage()

func (*CreateAnywhereCacheMetadata) ProtoReflect added in v1.53.0

func (*CreateAnywhereCacheMetadata) Reset added in v1.53.0

func (x *CreateAnywhereCacheMetadata) Reset()

func (*CreateAnywhereCacheMetadata) String added in v1.53.0

func (x *CreateAnywhereCacheMetadata) String() string

type CreateAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

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

Deprecated: Use CreateAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*CreateAnywhereCacheRequest) GetAnywhereCache added in v1.53.0

func (x *CreateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache

func (*CreateAnywhereCacheRequest) GetParent added in v1.53.0

func (x *CreateAnywhereCacheRequest) GetParent() string

func (*CreateAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *CreateAnywhereCacheRequest) GetRequestId() string

func (*CreateAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*CreateAnywhereCacheRequest) ProtoMessage()

func (*CreateAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*CreateAnywhereCacheRequest) Reset added in v1.53.0

func (x *CreateAnywhereCacheRequest) Reset()

func (*CreateAnywhereCacheRequest) String added in v1.53.0

func (x *CreateAnywhereCacheRequest) String() string

type 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 deprecated

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

type CreateManagedFolderRequest added in v1.41.0

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 deprecated added in v1.41.0

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

Deprecated: Use CreateManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*CreateManagedFolderRequest) GetManagedFolder added in v1.41.0

func (x *CreateManagedFolderRequest) GetManagedFolder() *ManagedFolder

func (*CreateManagedFolderRequest) GetManagedFolderId added in v1.41.0

func (x *CreateManagedFolderRequest) GetManagedFolderId() string

func (*CreateManagedFolderRequest) GetParent added in v1.41.0

func (x *CreateManagedFolderRequest) GetParent() string

func (*CreateManagedFolderRequest) GetRequestId added in v1.41.0

func (x *CreateManagedFolderRequest) GetRequestId() string

func (*CreateManagedFolderRequest) ProtoMessage added in v1.41.0

func (*CreateManagedFolderRequest) ProtoMessage()

func (*CreateManagedFolderRequest) ProtoReflect added in v1.41.0

func (*CreateManagedFolderRequest) Reset added in v1.41.0

func (x *CreateManagedFolderRequest) Reset()

func (*CreateManagedFolderRequest) String added in v1.41.0

func (x *CreateManagedFolderRequest) String() string

type 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 `` /* 133-byte string literal not displayed */
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated

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

type DeleteManagedFolderRequest added in v1.41.0

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 `` /* 133-byte string literal not displayed */
	// The operation succeeds conditional on the managed folder's current
	// metageneration NOT matching the value here specified.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated added in v1.41.0

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

Deprecated: Use DeleteManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*DeleteManagedFolderRequest) GetAllowNonEmpty added in v1.41.0

func (x *DeleteManagedFolderRequest) GetAllowNonEmpty() bool

func (*DeleteManagedFolderRequest) GetIfMetagenerationMatch added in v1.41.0

func (x *DeleteManagedFolderRequest) GetIfMetagenerationMatch() int64

func (*DeleteManagedFolderRequest) GetIfMetagenerationNotMatch added in v1.41.0

func (x *DeleteManagedFolderRequest) GetIfMetagenerationNotMatch() int64

func (*DeleteManagedFolderRequest) GetName added in v1.41.0

func (x *DeleteManagedFolderRequest) GetName() string

func (*DeleteManagedFolderRequest) GetRequestId added in v1.41.0

func (x *DeleteManagedFolderRequest) GetRequestId() string

func (*DeleteManagedFolderRequest) ProtoMessage added in v1.41.0

func (*DeleteManagedFolderRequest) ProtoMessage()

func (*DeleteManagedFolderRequest) ProtoReflect added in v1.41.0

func (*DeleteManagedFolderRequest) Reset added in v1.41.0

func (x *DeleteManagedFolderRequest) Reset()

func (*DeleteManagedFolderRequest) String added in v1.41.0

func (x *DeleteManagedFolderRequest) String() string

type DisableAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

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

Deprecated: Use DisableAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*DisableAnywhereCacheRequest) GetName added in v1.53.0

func (x *DisableAnywhereCacheRequest) GetName() string

func (*DisableAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *DisableAnywhereCacheRequest) GetRequestId() string

func (*DisableAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*DisableAnywhereCacheRequest) ProtoMessage()

func (*DisableAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*DisableAnywhereCacheRequest) Reset added in v1.53.0

func (x *DisableAnywhereCacheRequest) Reset()

func (*DisableAnywhereCacheRequest) String added in v1.53.0

func (x *DisableAnywhereCacheRequest) String() string

type 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 deprecated

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

type GetAnywhereCacheRequest added in v1.53.0

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 deprecated added in v1.53.0

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

Deprecated: Use GetAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*GetAnywhereCacheRequest) GetName added in v1.53.0

func (x *GetAnywhereCacheRequest) GetName() string

func (*GetAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *GetAnywhereCacheRequest) GetRequestId() string

func (*GetAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*GetAnywhereCacheRequest) ProtoMessage()

func (*GetAnywhereCacheRequest) ProtoReflect added in v1.53.0

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

func (*GetAnywhereCacheRequest) Reset added in v1.53.0

func (x *GetAnywhereCacheRequest) Reset()

func (*GetAnywhereCacheRequest) String added in v1.53.0

func (x *GetAnywhereCacheRequest) String() string

type GetFolderIntelligenceConfigRequest added in v1.55.0

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](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.

func (*GetFolderIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

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

Deprecated: Use GetFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetFolderIntelligenceConfigRequest) GetName added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) ProtoMessage()

func (*GetFolderIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) Reset added in v1.55.0

func (*GetFolderIntelligenceConfigRequest) String added in v1.55.0

type 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 `` /* 133-byte string literal not displayed */
	// Makes the operation only succeed conditional on whether the folder's
	// current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated

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

type GetManagedFolderRequest added in v1.41.0

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 `` /* 133-byte string literal not displayed */
	// The operation succeeds conditional on the managed folder's current
	// metageneration NOT matching the value here specified.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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 deprecated added in v1.41.0

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

Deprecated: Use GetManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*GetManagedFolderRequest) GetIfMetagenerationMatch added in v1.41.0

func (x *GetManagedFolderRequest) GetIfMetagenerationMatch() int64

func (*GetManagedFolderRequest) GetIfMetagenerationNotMatch added in v1.41.0

func (x *GetManagedFolderRequest) GetIfMetagenerationNotMatch() int64

func (*GetManagedFolderRequest) GetName added in v1.41.0

func (x *GetManagedFolderRequest) GetName() string

func (*GetManagedFolderRequest) GetRequestId added in v1.41.0

func (x *GetManagedFolderRequest) GetRequestId() string

func (*GetManagedFolderRequest) ProtoMessage added in v1.41.0

func (*GetManagedFolderRequest) ProtoMessage()

func (*GetManagedFolderRequest) ProtoReflect added in v1.41.0

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

func (*GetManagedFolderRequest) Reset added in v1.41.0

func (x *GetManagedFolderRequest) Reset()

func (*GetManagedFolderRequest) String added in v1.41.0

func (x *GetManagedFolderRequest) String() string

type GetOrganizationIntelligenceConfigRequest added in v1.55.0

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](https://cloud.google.com/iam/docs/overview#permissions) permission on the organization.

func (*GetOrganizationIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

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

Deprecated: Use GetOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationIntelligenceConfigRequest) GetName added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) Reset added in v1.55.0

func (*GetOrganizationIntelligenceConfigRequest) String added in v1.55.0

type GetProjectIntelligenceConfigRequest added in v1.55.0

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](https://cloud.google.com/iam/docs/overview#permissions) permission on the project.

func (*GetProjectIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

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

Deprecated: Use GetProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetProjectIntelligenceConfigRequest) GetName added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) ProtoMessage()

func (*GetProjectIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) Reset added in v1.55.0

func (*GetProjectIntelligenceConfigRequest) String added in v1.55.0

type 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 deprecated

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

type IntelligenceConfig added in v1.55.0

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 `` /* 165-byte string literal not displayed */
	// 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 `` /* 144-byte string literal not displayed */
	// 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 deprecated added in v1.55.0

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

Deprecated: Use IntelligenceConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig) GetEditionConfig added in v1.55.0

func (*IntelligenceConfig) GetEffectiveIntelligenceConfig added in v1.55.0

func (x *IntelligenceConfig) GetEffectiveIntelligenceConfig() *IntelligenceConfig_EffectiveIntelligenceConfig

func (*IntelligenceConfig) GetFilter added in v1.55.0

func (*IntelligenceConfig) GetName added in v1.55.0

func (x *IntelligenceConfig) GetName() string

func (*IntelligenceConfig) GetTrialConfig added in v1.55.0

func (*IntelligenceConfig) GetUpdateTime added in v1.55.0

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

func (*IntelligenceConfig) ProtoMessage added in v1.55.0

func (*IntelligenceConfig) ProtoMessage()

func (*IntelligenceConfig) ProtoReflect added in v1.55.0

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

func (*IntelligenceConfig) Reset added in v1.55.0

func (x *IntelligenceConfig) Reset()

func (*IntelligenceConfig) String added in v1.55.0

func (x *IntelligenceConfig) String() string

type IntelligenceConfig_EditionConfig added in v1.55.0

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`.

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 added in v1.55.0

func (IntelligenceConfig_EditionConfig) Enum added in v1.55.0

func (IntelligenceConfig_EditionConfig) EnumDescriptor deprecated added in v1.55.0

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

Deprecated: Use IntelligenceConfig_EditionConfig.Descriptor instead.

func (IntelligenceConfig_EditionConfig) Number added in v1.55.0

func (IntelligenceConfig_EditionConfig) String added in v1.55.0

func (IntelligenceConfig_EditionConfig) Type added in v1.55.0

type IntelligenceConfig_EffectiveIntelligenceConfig added in v1.55.0

type IntelligenceConfig_EffectiveIntelligenceConfig struct {

	// Output only. The `IntelligenceConfig` edition that is applicable for the
	// resource.
	EffectiveEdition IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition `` /* 205-byte string literal not displayed */
	// 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 added in v1.55.0

Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetEffectiveEdition added in v1.55.0

func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig added in v1.55.0

func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig() string

func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_EffectiveIntelligenceConfig) Reset added in v1.55.0

func (*IntelligenceConfig_EffectiveIntelligenceConfig) String added in v1.55.0

type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition added in v1.55.0

type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition int32

The effective edition of the `IntelligenceConfig` resource.

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 IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition = 2
)

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Descriptor added in v1.55.0

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Enum added in v1.55.0

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) EnumDescriptor deprecated added in v1.55.0

Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition.Descriptor instead.

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Number added in v1.55.0

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) String added in v1.55.0

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Type added in v1.55.0

type IntelligenceConfig_Filter added in v1.55.0

type IntelligenceConfig_Filter struct {

	// Bucket locations to include or exclude.
	//
	// Types that are assignable to CloudStorageLocations:
	//
	//	*IntelligenceConfig_Filter_IncludedCloudStorageLocations
	//	*IntelligenceConfig_Filter_ExcludedCloudStorageLocations
	CloudStorageLocations isIntelligenceConfig_Filter_CloudStorageLocations `protobuf_oneof:"cloud_storage_locations"`
	// Buckets to include or exclude.
	//
	// Types that are assignable to CloudStorageBuckets:
	//
	//	*IntelligenceConfig_Filter_IncludedCloudStorageBuckets
	//	*IntelligenceConfig_Filter_ExcludedCloudStorageBuckets
	CloudStorageBuckets isIntelligenceConfig_Filter_CloudStorageBuckets `protobuf_oneof:"cloud_storage_buckets"`
	// contains filtered or unexported fields
}

Filter over location and bucket using include or exclude semantics. Resources that match the include or exclude filter are exclusively included or excluded from the Storage Intelligence plan.

func (*IntelligenceConfig_Filter) Descriptor deprecated added in v1.55.0

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

Deprecated: Use IntelligenceConfig_Filter.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter) GetCloudStorageBuckets added in v1.55.0

func (m *IntelligenceConfig_Filter) GetCloudStorageBuckets() isIntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetCloudStorageLocations added in v1.55.0

func (m *IntelligenceConfig_Filter) GetCloudStorageLocations() isIntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets added in v1.55.0

func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetExcludedCloudStorageLocations added in v1.55.0

func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets added in v1.55.0

func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetIncludedCloudStorageLocations added in v1.55.0

func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_Filter) ProtoMessage()

func (*IntelligenceConfig_Filter) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_Filter) Reset added in v1.55.0

func (x *IntelligenceConfig_Filter) Reset()

func (*IntelligenceConfig_Filter) String added in v1.55.0

func (x *IntelligenceConfig_Filter) String() string

type IntelligenceConfig_Filter_CloudStorageBuckets added in v1.55.0

type IntelligenceConfig_Filter_CloudStorageBuckets struct {

	// Optional. A regex pattern for matching bucket names. Regex should
	// follow the syntax specified in
	// [google/re2](https://github.com/google/re2). For example,
	// `^sample_.*` matches all buckets of the form
	// `gs://sample_bucket-1`, `gs://sample_bucket-2`,
	// `gs://sample_bucket-n` but not `gs://test_sample_bucket`.
	// If you want to match a single bucket, say `gs://sample_bucket`,
	// use `sample_bucket`.
	BucketIdRegexes []string `protobuf:"bytes,1,rep,name=bucket_id_regexes,json=bucketIdRegexes,proto3" json:"bucket_id_regexes,omitempty"`
	// contains filtered or unexported fields
}

Collection of buckets.

func (*IntelligenceConfig_Filter_CloudStorageBuckets) Descriptor deprecated added in v1.55.0

Deprecated: Use IntelligenceConfig_Filter_CloudStorageBuckets.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter_CloudStorageBuckets) GetBucketIdRegexes added in v1.55.0

func (x *IntelligenceConfig_Filter_CloudStorageBuckets) GetBucketIdRegexes() []string

func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageBuckets) Reset added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageBuckets) String added in v1.55.0

type IntelligenceConfig_Filter_CloudStorageLocations added in v1.55.0

type IntelligenceConfig_Filter_CloudStorageLocations struct {

	// Optional. Bucket locations. Location can be any of the Cloud Storage
	// regions specified in lower case format. For example, `us-east1`,
	// `us-west1`.
	Locations []string `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
	// contains filtered or unexported fields
}

Collection of bucket locations.

func (*IntelligenceConfig_Filter_CloudStorageLocations) Descriptor deprecated added in v1.55.0

Deprecated: Use IntelligenceConfig_Filter_CloudStorageLocations.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter_CloudStorageLocations) GetLocations added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageLocations) Reset added in v1.55.0

func (*IntelligenceConfig_Filter_CloudStorageLocations) String added in v1.55.0

type IntelligenceConfig_Filter_ExcludedCloudStorageBuckets added in v1.55.0

type IntelligenceConfig_Filter_ExcludedCloudStorageBuckets struct {
	// Buckets to exclude.
	ExcludedCloudStorageBuckets *IntelligenceConfig_Filter_CloudStorageBuckets `protobuf:"bytes,4,opt,name=excluded_cloud_storage_buckets,json=excludedCloudStorageBuckets,proto3,oneof"`
}

type IntelligenceConfig_Filter_ExcludedCloudStorageLocations added in v1.55.0

type IntelligenceConfig_Filter_ExcludedCloudStorageLocations struct {
	// Bucket locations to exclude.
	ExcludedCloudStorageLocations *IntelligenceConfig_Filter_CloudStorageLocations `protobuf:"bytes,2,opt,name=excluded_cloud_storage_locations,json=excludedCloudStorageLocations,proto3,oneof"`
}

type IntelligenceConfig_Filter_IncludedCloudStorageBuckets added in v1.55.0

type IntelligenceConfig_Filter_IncludedCloudStorageBuckets struct {
	// Buckets to include.
	IncludedCloudStorageBuckets *IntelligenceConfig_Filter_CloudStorageBuckets `protobuf:"bytes,3,opt,name=included_cloud_storage_buckets,json=includedCloudStorageBuckets,proto3,oneof"`
}

type IntelligenceConfig_Filter_IncludedCloudStorageLocations added in v1.55.0

type IntelligenceConfig_Filter_IncludedCloudStorageLocations struct {
	// Bucket locations to include.
	IncludedCloudStorageLocations *IntelligenceConfig_Filter_CloudStorageLocations `protobuf:"bytes,1,opt,name=included_cloud_storage_locations,json=includedCloudStorageLocations,proto3,oneof"`
}

type IntelligenceConfig_TrialConfig added in v1.55.0

type IntelligenceConfig_TrialConfig struct {

	// Output only. The time at which the trial expires.
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
	// contains filtered or unexported fields
}

The trial configuration of the `IntelligenceConfig` resource.

func (*IntelligenceConfig_TrialConfig) Descriptor deprecated added in v1.55.0

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

Deprecated: Use IntelligenceConfig_TrialConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_TrialConfig) GetExpireTime added in v1.55.0

func (*IntelligenceConfig_TrialConfig) ProtoMessage added in v1.55.0

func (*IntelligenceConfig_TrialConfig) ProtoMessage()

func (*IntelligenceConfig_TrialConfig) ProtoReflect added in v1.55.0

func (*IntelligenceConfig_TrialConfig) Reset added in v1.55.0

func (x *IntelligenceConfig_TrialConfig) Reset()

func (*IntelligenceConfig_TrialConfig) String added in v1.55.0

type ListAnywhereCachesRequest added in v1.53.0

type ListAnywhereCachesRequest struct {

	// Required. The bucket to which this cache belongs.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Maximum number of caches to return in a single response.
	// The service will use this parameter or 1,000 items, whichever is smaller.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A previously-returned page token representing part of the larger set of
	// results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,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 ListAnywhereCaches.

func (*ListAnywhereCachesRequest) Descriptor deprecated added in v1.53.0

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

Deprecated: Use ListAnywhereCachesRequest.ProtoReflect.Descriptor instead.

func (*ListAnywhereCachesRequest) GetPageSize added in v1.53.0

func (x *ListAnywhereCachesRequest) GetPageSize() int32

func (*ListAnywhereCachesRequest) GetPageToken added in v1.53.0

func (x *ListAnywhereCachesRequest) GetPageToken() string

func (*ListAnywhereCachesRequest) GetParent added in v1.53.0

func (x *ListAnywhereCachesRequest) GetParent() string

func (*ListAnywhereCachesRequest) GetRequestId added in v1.53.0

func (x *ListAnywhereCachesRequest) GetRequestId() string

func (*ListAnywhereCachesRequest) ProtoMessage added in v1.53.0

func (*ListAnywhereCachesRequest) ProtoMessage()

func (*ListAnywhereCachesRequest) ProtoReflect added in v1.53.0

func (*ListAnywhereCachesRequest) Reset added in v1.53.0

func (x *ListAnywhereCachesRequest) Reset()

func (*ListAnywhereCachesRequest) String added in v1.53.0

func (x *ListAnywhereCachesRequest) String() string

type ListAnywhereCachesResponse added in v1.53.0

type ListAnywhereCachesResponse struct {

	// The list of items.
	AnywhereCaches []*AnywhereCache `protobuf:"bytes,1,rep,name=anywhere_caches,json=anywhereCaches,proto3" json:"anywhere_caches,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListAnywhereCaches.

func (*ListAnywhereCachesResponse) Descriptor deprecated added in v1.53.0

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

Deprecated: Use ListAnywhereCachesResponse.ProtoReflect.Descriptor instead.

func (*ListAnywhereCachesResponse) GetAnywhereCaches added in v1.53.0

func (x *ListAnywhereCachesResponse) GetAnywhereCaches() []*AnywhereCache

func (*ListAnywhereCachesResponse) GetNextPageToken added in v1.53.0

func (x *ListAnywhereCachesResponse) GetNextPageToken() string

func (*ListAnywhereCachesResponse) ProtoMessage added in v1.53.0

func (*ListAnywhereCachesResponse) ProtoMessage()

func (*ListAnywhereCachesResponse) ProtoReflect added in v1.53.0

func (*ListAnywhereCachesResponse) Reset added in v1.53.0

func (x *ListAnywhereCachesResponse) Reset()

func (*ListAnywhereCachesResponse) String added in v1.53.0

func (x *ListAnywhereCachesResponse) String() string

type ListFoldersRequest

type ListFoldersRequest struct {

	// Required. Name of the bucket in which to look for folders. The bucket must
	// be a hierarchical namespace enabled bucket.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of folders to return in a single response. The
	// service will use this parameter or 1,000 items, whichever is smaller.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A previously-returned page token representing part of the larger
	// set of results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter results to folders whose names begin with this prefix.
	// If set, the value must either be an empty string or end with a '/'.
	Prefix string `protobuf:"bytes,4,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// Optional. If set, returns results in a directory-like mode. The results
	// will only include folders that either exactly match the above prefix, or
	// are one level below the prefix. The only supported value is '/'.
	Delimiter string `protobuf:"bytes,8,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
	// Optional. Filter results to folders whose names are lexicographically equal
	// to or after lexicographic_start. If lexicographic_end is also set, the
	// folders listed have names between lexicographic_start (inclusive) and
	// lexicographic_end (exclusive).
	LexicographicStart string `protobuf:"bytes,6,opt,name=lexicographic_start,json=lexicographicStart,proto3" json:"lexicographic_start,omitempty"`
	// Optional. Filter results to folders whose names are lexicographically
	// before lexicographic_end. If lexicographic_start is also set, the folders
	// listed have names between lexicographic_start (inclusive) and
	// lexicographic_end (exclusive).
	LexicographicEnd string `protobuf:"bytes,7,opt,name=lexicographic_end,json=lexicographicEnd,proto3" json:"lexicographic_end,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted.
	RequestId string `protobuf:"bytes,9,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*ListFoldersRequest) Descriptor deprecated

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

Deprecated: Use ListFoldersRequest.ProtoReflect.Descriptor instead.

func (*ListFoldersRequest) GetDelimiter

func (x *ListFoldersRequest) GetDelimiter() string

func (*ListFoldersRequest) GetLexicographicEnd

func (x *ListFoldersRequest) GetLexicographicEnd() string

func (*ListFoldersRequest) GetLexicographicStart

func (x *ListFoldersRequest) GetLexicographicStart() string

func (*ListFoldersRequest) GetPageSize

func (x *ListFoldersRequest) GetPageSize() int32

func (*ListFoldersRequest) GetPageToken

func (x *ListFoldersRequest) GetPageToken() string

func (*ListFoldersRequest) GetParent

func (x *ListFoldersRequest) GetParent() string

func (*ListFoldersRequest) GetPrefix

func (x *ListFoldersRequest) GetPrefix() string

func (*ListFoldersRequest) GetRequestId

func (x *ListFoldersRequest) GetRequestId() string

func (*ListFoldersRequest) ProtoMessage

func (*ListFoldersRequest) ProtoMessage()

func (*ListFoldersRequest) ProtoReflect

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

func (*ListFoldersRequest) Reset

func (x *ListFoldersRequest) Reset()

func (*ListFoldersRequest) String

func (x *ListFoldersRequest) String() string

type ListFoldersResponse

type ListFoldersResponse struct {

	// The list of child folders
	Folders []*Folder `protobuf:"bytes,1,rep,name=folders,proto3" json:"folders,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListFolders.

func (*ListFoldersResponse) Descriptor deprecated

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

Deprecated: Use ListFoldersResponse.ProtoReflect.Descriptor instead.

func (*ListFoldersResponse) GetFolders

func (x *ListFoldersResponse) GetFolders() []*Folder

func (*ListFoldersResponse) GetNextPageToken

func (x *ListFoldersResponse) GetNextPageToken() string

func (*ListFoldersResponse) ProtoMessage

func (*ListFoldersResponse) ProtoMessage()

func (*ListFoldersResponse) ProtoReflect

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

func (*ListFoldersResponse) Reset

func (x *ListFoldersResponse) Reset()

func (*ListFoldersResponse) String

func (x *ListFoldersResponse) String() string

type ListManagedFoldersRequest added in v1.41.0

type ListManagedFoldersRequest struct {

	// Required. Name of the bucket this managed folder belongs to.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Maximum number of managed folders to return in a single response.
	// The service will use this parameter or 1,000 items, whichever is smaller.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A previously-returned page token representing part of the larger
	// set of results to view.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filter results to match managed folders with name starting with
	// this prefix.
	Prefix string `protobuf:"bytes,4,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,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for ListManagedFolders.

func (*ListManagedFoldersRequest) Descriptor deprecated added in v1.41.0

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

Deprecated: Use ListManagedFoldersRequest.ProtoReflect.Descriptor instead.

func (*ListManagedFoldersRequest) GetPageSize added in v1.41.0

func (x *ListManagedFoldersRequest) GetPageSize() int32

func (*ListManagedFoldersRequest) GetPageToken added in v1.41.0

func (x *ListManagedFoldersRequest) GetPageToken() string

func (*ListManagedFoldersRequest) GetParent added in v1.41.0

func (x *ListManagedFoldersRequest) GetParent() string

func (*ListManagedFoldersRequest) GetPrefix added in v1.41.0

func (x *ListManagedFoldersRequest) GetPrefix() string

func (*ListManagedFoldersRequest) GetRequestId added in v1.41.0

func (x *ListManagedFoldersRequest) GetRequestId() string

func (*ListManagedFoldersRequest) ProtoMessage added in v1.41.0

func (*ListManagedFoldersRequest) ProtoMessage()

func (*ListManagedFoldersRequest) ProtoReflect added in v1.41.0

func (*ListManagedFoldersRequest) Reset added in v1.41.0

func (x *ListManagedFoldersRequest) Reset()

func (*ListManagedFoldersRequest) String added in v1.41.0

func (x *ListManagedFoldersRequest) String() string

type ListManagedFoldersResponse added in v1.41.0

type ListManagedFoldersResponse struct {

	// The list of matching managed folders
	ManagedFolders []*ManagedFolder `protobuf:"bytes,1,rep,name=managed_folders,json=managedFolders,proto3" json:"managed_folders,omitempty"`
	// The continuation token, used to page through large result sets. Provide
	// this value in a subsequent request to return the next page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for ListManagedFolders.

func (*ListManagedFoldersResponse) Descriptor deprecated added in v1.41.0

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

Deprecated: Use ListManagedFoldersResponse.ProtoReflect.Descriptor instead.

func (*ListManagedFoldersResponse) GetManagedFolders added in v1.41.0

func (x *ListManagedFoldersResponse) GetManagedFolders() []*ManagedFolder

func (*ListManagedFoldersResponse) GetNextPageToken added in v1.41.0

func (x *ListManagedFoldersResponse) GetNextPageToken() string

func (*ListManagedFoldersResponse) ProtoMessage added in v1.41.0

func (*ListManagedFoldersResponse) ProtoMessage()

func (*ListManagedFoldersResponse) ProtoReflect added in v1.41.0

func (*ListManagedFoldersResponse) Reset added in v1.41.0

func (x *ListManagedFoldersResponse) Reset()

func (*ListManagedFoldersResponse) String added in v1.41.0

func (x *ListManagedFoldersResponse) String() string

type ManagedFolder added in v1.41.0

type ManagedFolder struct {

	// Identifier. The name of this managed folder.
	// Format:
	// `projects/{project}/buckets/{bucket}/managedFolders/{managedFolder}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The metadata version of this managed folder. It increases
	// whenever the metadata is updated. Used for preconditions and for detecting
	// changes in metadata. Managed folders don't have a generation number.
	Metageneration int64 `protobuf:"varint,3,opt,name=metageneration,proto3" json:"metageneration,omitempty"`
	// Output only. The creation time of the managed 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 managed folder.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// contains filtered or unexported fields
}

A managed folder.

func (*ManagedFolder) Descriptor deprecated added in v1.41.0

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

Deprecated: Use ManagedFolder.ProtoReflect.Descriptor instead.

func (*ManagedFolder) GetCreateTime added in v1.41.0

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

func (*ManagedFolder) GetMetageneration added in v1.41.0

func (x *ManagedFolder) GetMetageneration() int64

func (*ManagedFolder) GetName added in v1.41.0

func (x *ManagedFolder) GetName() string

func (*ManagedFolder) GetUpdateTime added in v1.41.0

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

func (*ManagedFolder) ProtoMessage added in v1.41.0

func (*ManagedFolder) ProtoMessage()

func (*ManagedFolder) ProtoReflect added in v1.41.0

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

func (*ManagedFolder) Reset added in v1.41.0

func (x *ManagedFolder) Reset()

func (*ManagedFolder) String added in v1.41.0

func (x *ManagedFolder) String() string

type PauseAnywhereCacheRequest added in v1.53.0

type PauseAnywhereCacheRequest 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 PauseAnywhereCache.

func (*PauseAnywhereCacheRequest) Descriptor deprecated added in v1.53.0

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

Deprecated: Use PauseAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*PauseAnywhereCacheRequest) GetName added in v1.53.0

func (x *PauseAnywhereCacheRequest) GetName() string

func (*PauseAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *PauseAnywhereCacheRequest) GetRequestId() string

func (*PauseAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*PauseAnywhereCacheRequest) ProtoMessage()

func (*PauseAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*PauseAnywhereCacheRequest) Reset added in v1.53.0

func (x *PauseAnywhereCacheRequest) Reset()

func (*PauseAnywhereCacheRequest) String added in v1.53.0

func (x *PauseAnywhereCacheRequest) String() string

type PendingRenameInfo

type PendingRenameInfo struct {

	// Output only. The name of the rename operation.
	Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
	// contains filtered or unexported fields
}

Contains information about a pending rename operation.

func (*PendingRenameInfo) Descriptor deprecated

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

Deprecated: Use PendingRenameInfo.ProtoReflect.Descriptor instead.

func (*PendingRenameInfo) GetOperation

func (x *PendingRenameInfo) GetOperation() string

func (*PendingRenameInfo) ProtoMessage

func (*PendingRenameInfo) ProtoMessage()

func (*PendingRenameInfo) ProtoReflect

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

func (*PendingRenameInfo) Reset

func (x *PendingRenameInfo) Reset()

func (*PendingRenameInfo) String

func (x *PendingRenameInfo) String() string

type RenameFolderMetadata

type RenameFolderMetadata struct {

	// Generic metadata for the long running operation.
	CommonMetadata *CommonLongRunningOperationMetadata `protobuf:"bytes,1,opt,name=common_metadata,json=commonMetadata,proto3" json:"common_metadata,omitempty"`
	// The path of the source folder.
	SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"`
	// The path of the destination folder.
	DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*RenameFolderMetadata) Descriptor deprecated

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

Deprecated: Use RenameFolderMetadata.ProtoReflect.Descriptor instead.

func (*RenameFolderMetadata) GetCommonMetadata

func (*RenameFolderMetadata) GetDestinationFolderId

func (x *RenameFolderMetadata) GetDestinationFolderId() string

func (*RenameFolderMetadata) GetSourceFolderId

func (x *RenameFolderMetadata) GetSourceFolderId() string

func (*RenameFolderMetadata) ProtoMessage

func (*RenameFolderMetadata) ProtoMessage()

func (*RenameFolderMetadata) ProtoReflect

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

func (*RenameFolderMetadata) Reset

func (x *RenameFolderMetadata) Reset()

func (*RenameFolderMetadata) String

func (x *RenameFolderMetadata) String() string

type RenameFolderRequest

type RenameFolderRequest struct {

	// Required. Name of the source folder being renamed.
	// Format: `projects/{project}/buckets/{bucket}/folders/{folder}`
	Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The destination folder ID, e.g. `foo/bar/`.
	DestinationFolderId string `protobuf:"bytes,8,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// Makes the operation only succeed conditional on whether the source
	// folder's current metageneration matches the given value.
	IfMetagenerationMatch *int64 `` /* 133-byte string literal not displayed */
	// Makes the operation only succeed conditional on whether the source
	// folder's current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `` /* 144-byte string literal not displayed */
	// 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,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

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

func (*RenameFolderRequest) Descriptor deprecated

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

Deprecated: Use RenameFolderRequest.ProtoReflect.Descriptor instead.

func (*RenameFolderRequest) GetDestinationFolderId

func (x *RenameFolderRequest) GetDestinationFolderId() string

func (*RenameFolderRequest) GetIfMetagenerationMatch

func (x *RenameFolderRequest) GetIfMetagenerationMatch() int64

func (*RenameFolderRequest) GetIfMetagenerationNotMatch

func (x *RenameFolderRequest) GetIfMetagenerationNotMatch() int64

func (*RenameFolderRequest) GetName

func (x *RenameFolderRequest) GetName() string

func (*RenameFolderRequest) GetRequestId

func (x *RenameFolderRequest) GetRequestId() string

func (*RenameFolderRequest) ProtoMessage

func (*RenameFolderRequest) ProtoMessage()

func (*RenameFolderRequest) ProtoReflect

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

func (*RenameFolderRequest) Reset

func (x *RenameFolderRequest) Reset()

func (*RenameFolderRequest) String

func (x *RenameFolderRequest) String() string

type ResumeAnywhereCacheRequest added in v1.53.0

type ResumeAnywhereCacheRequest 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 ResumeAnywhereCache.

func (*ResumeAnywhereCacheRequest) Descriptor deprecated added in v1.53.0

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

Deprecated: Use ResumeAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*ResumeAnywhereCacheRequest) GetName added in v1.53.0

func (x *ResumeAnywhereCacheRequest) GetName() string

func (*ResumeAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *ResumeAnywhereCacheRequest) GetRequestId() string

func (*ResumeAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*ResumeAnywhereCacheRequest) ProtoMessage()

func (*ResumeAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*ResumeAnywhereCacheRequest) Reset added in v1.53.0

func (x *ResumeAnywhereCacheRequest) Reset()

func (*ResumeAnywhereCacheRequest) String added in v1.53.0

func (x *ResumeAnywhereCacheRequest) String() string

type StorageControlClient

type StorageControlClient interface {
	// Creates a new folder. This operation is only applicable to a hierarchical
	// namespace enabled bucket.
	CreateFolder(ctx context.Context, in *CreateFolderRequest, opts ...grpc.CallOption) (*Folder, error)
	// Permanently deletes an empty folder. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	DeleteFolder(ctx context.Context, in *DeleteFolderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns metadata for the specified folder. This operation is only
	// applicable to a hierarchical namespace enabled bucket.
	GetFolder(ctx context.Context, in *GetFolderRequest, opts ...grpc.CallOption) (*Folder, error)
	// Retrieves a list of folders. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	ListFolders(ctx context.Context, in *ListFoldersRequest, opts ...grpc.CallOption) (*ListFoldersResponse, error)
	// Renames a source folder to a destination folder. This operation is only
	// applicable to a hierarchical namespace enabled bucket. During a rename, the
	// source and destination folders are locked until the long running operation
	// completes.
	RenameFolder(ctx context.Context, in *RenameFolderRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Returns the storage layout configuration for a given bucket.
	GetStorageLayout(ctx context.Context, in *GetStorageLayoutRequest, opts ...grpc.CallOption) (*StorageLayout, error)
	// Creates a new managed folder.
	CreateManagedFolder(ctx context.Context, in *CreateManagedFolderRequest, opts ...grpc.CallOption) (*ManagedFolder, error)
	// Permanently deletes an empty managed folder.
	DeleteManagedFolder(ctx context.Context, in *DeleteManagedFolderRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns metadata for the specified managed folder.
	GetManagedFolder(ctx context.Context, in *GetManagedFolderRequest, opts ...grpc.CallOption) (*ManagedFolder, error)
	// Retrieves a list of managed folders for a given bucket.
	ListManagedFolders(ctx context.Context, in *ListManagedFoldersRequest, opts ...grpc.CallOption) (*ListManagedFoldersResponse, error)
	// Creates an Anywhere Cache instance.
	CreateAnywhereCache(ctx context.Context, in *CreateAnywhereCacheRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates an Anywhere Cache instance. Mutable fields include `ttl` and
	// `admission_policy`.
	UpdateAnywhereCache(ctx context.Context, in *UpdateAnywhereCacheRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Disables an Anywhere Cache instance. A disabled instance is read-only. The
	// disablement could be revoked by calling ResumeAnywhereCache. The cache
	// instance will be deleted automatically if it remains in the disabled state
	// for at least one hour.
	DisableAnywhereCache(ctx context.Context, in *DisableAnywhereCacheRequest, opts ...grpc.CallOption) (*AnywhereCache, error)
	// Pauses an Anywhere Cache instance.
	PauseAnywhereCache(ctx context.Context, in *PauseAnywhereCacheRequest, opts ...grpc.CallOption) (*AnywhereCache, error)
	// Resumes a disabled or paused Anywhere Cache instance.
	ResumeAnywhereCache(ctx context.Context, in *ResumeAnywhereCacheRequest, opts ...grpc.CallOption) (*AnywhereCache, error)
	// Gets an Anywhere Cache instance.
	GetAnywhereCache(ctx context.Context, in *GetAnywhereCacheRequest, opts ...grpc.CallOption) (*AnywhereCache, error)
	// Lists Anywhere Cache instances for a given bucket.
	ListAnywhereCaches(ctx context.Context, in *ListAnywhereCachesRequest, opts ...grpc.CallOption) (*ListAnywhereCachesResponse, error)
	// Returns the Project scoped singleton IntelligenceConfig resource.
	GetProjectIntelligenceConfig(ctx context.Context, in *GetProjectIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
	// Updates the Project scoped singleton IntelligenceConfig resource.
	UpdateProjectIntelligenceConfig(ctx context.Context, in *UpdateProjectIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
	// Returns the Folder scoped singleton IntelligenceConfig resource.
	GetFolderIntelligenceConfig(ctx context.Context, in *GetFolderIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
	// Updates the Folder scoped singleton IntelligenceConfig resource.
	UpdateFolderIntelligenceConfig(ctx context.Context, in *UpdateFolderIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
	// Returns the Organization scoped singleton IntelligenceConfig resource.
	GetOrganizationIntelligenceConfig(ctx context.Context, in *GetOrganizationIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
	// Updates the Organization scoped singleton IntelligenceConfig resource.
	UpdateOrganizationIntelligenceConfig(ctx context.Context, in *UpdateOrganizationIntelligenceConfigRequest, opts ...grpc.CallOption) (*IntelligenceConfig, error)
	// Gets the IAM policy for a specified bucket.
	// The `resource` field in the request should be
	// `projects/_/buckets/{bucket}` for a bucket, or
	// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
	// for a managed folder.
	GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Updates an IAM policy for the specified bucket.
	// The `resource` field in the request should be
	// `projects/_/buckets/{bucket}` for a bucket, or
	// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
	// for a managed folder.
	SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
	// Tests a set of permissions on the given bucket, object, or managed folder
	// to see which, if any, are held by the caller.
	// The `resource` field in the request should be
	// `projects/_/buckets/{bucket}` for a bucket,
	// `projects/_/buckets/{bucket}/objects/{object}` for an object, or
	// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
	// for a managed folder.
	TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
}

StorageControlClient is the client API for StorageControl service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StorageControlServer

type StorageControlServer interface {
	// Creates a new folder. This operation is only applicable to a hierarchical
	// namespace enabled bucket.
	CreateFolder(context.Context, *CreateFolderRequest) (*Folder, error)
	// Permanently deletes an empty folder. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	DeleteFolder(context.Context, *DeleteFolderRequest) (*emptypb.Empty, error)
	// Returns metadata for the specified folder. This operation is only
	// applicable to a hierarchical namespace enabled bucket.
	GetFolder(context.Context, *GetFolderRequest) (*Folder, error)
	// Retrieves a list of folders. This operation is only applicable to a
	// hierarchical namespace enabled bucket.
	ListFolders(context.Context, *ListFoldersRequest) (*ListFoldersResponse, error)
	// Renames a source folder to a destination folder. This operation is only
	// applicable to a hierarchical namespace enabled bucket. During a rename, the
	// source and destination folders are locked until the long running operation
	// completes.
	RenameFolder(context.Context, *RenameFolderRequest) (*longrunningpb.Operation, error)
	// Returns the storage layout configuration for a given bucket.
	GetStorageLayout(context.Context, *GetStorageLayoutRequest) (*StorageLayout, error)
	// Creates a new managed folder.
	CreateManagedFolder(context.Context, *CreateManagedFolderRequest) (*ManagedFolder, error)
	// Permanently deletes an empty managed folder.
	DeleteManagedFolder(context.Context, *DeleteManagedFolderRequest) (*emptypb.Empty, error)
	// Returns metadata for the specified managed folder.
	GetManagedFolder(context.Context, *GetManagedFolderRequest) (*ManagedFolder, error)
	// Retrieves a list of managed folders for a given bucket.
	ListManagedFolders(context.Context, *ListManagedFoldersRequest) (*ListManagedFoldersResponse, error)
	// Creates an Anywhere Cache instance.
	CreateAnywhereCache(context.Context, *CreateAnywhereCacheRequest) (*longrunningpb.Operation, error)
	// Updates an Anywhere Cache instance. Mutable fields include `ttl` and
	// `admission_policy`.
	UpdateAnywhereCache(context.Context, *UpdateAnywhereCacheRequest) (*longrunningpb.Operation, error)
	// Disables an Anywhere Cache instance. A disabled instance is read-only. The
	// disablement could be revoked by calling ResumeAnywhereCache. The cache
	// instance will be deleted automatically if it remains in the disabled state
	// for at least one hour.
	DisableAnywhereCache(context.Context, *DisableAnywhereCacheRequest) (*AnywhereCache, error)
	// Pauses an Anywhere Cache instance.
	PauseAnywhereCache(context.Context, *PauseAnywhereCacheRequest) (*AnywhereCache, error)
	// Resumes a disabled or paused Anywhere Cache instance.
	ResumeAnywhereCache(context.Context, *ResumeAnywhereCacheRequest) (*AnywhereCache, error)
	// Gets an Anywhere Cache instance.
	GetAnywhereCache(context.Context, *GetAnywhereCacheRequest) (*AnywhereCache, error)
	// Lists Anywhere Cache instances for a given bucket.
	ListAnywhereCaches(context.Context, *ListAnywhereCachesRequest) (*ListAnywhereCachesResponse, error)
	// Returns the Project scoped singleton IntelligenceConfig resource.
	GetProjectIntelligenceConfig(context.Context, *GetProjectIntelligenceConfigRequest) (*IntelligenceConfig, error)
	// Updates the Project scoped singleton IntelligenceConfig resource.
	UpdateProjectIntelligenceConfig(context.Context, *UpdateProjectIntelligenceConfigRequest) (*IntelligenceConfig, error)
	// Returns the Folder scoped singleton IntelligenceConfig resource.
	GetFolderIntelligenceConfig(context.Context, *GetFolderIntelligenceConfigRequest) (*IntelligenceConfig, error)
	// Updates the Folder scoped singleton IntelligenceConfig resource.
	UpdateFolderIntelligenceConfig(context.Context, *UpdateFolderIntelligenceConfigRequest) (*IntelligenceConfig, error)
	// Returns the Organization scoped singleton IntelligenceConfig resource.
	GetOrganizationIntelligenceConfig(context.Context, *GetOrganizationIntelligenceConfigRequest) (*IntelligenceConfig, error)
	// Updates the Organization scoped singleton IntelligenceConfig resource.
	UpdateOrganizationIntelligenceConfig(context.Context, *UpdateOrganizationIntelligenceConfigRequest) (*IntelligenceConfig, error)
	// Gets the IAM policy for a specified bucket.
	// The `resource` field in the request should be
	// `projects/_/buckets/{bucket}` for a bucket, or
	// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
	// for a managed folder.
	GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
	// Updates an IAM policy for the specified bucket.
	// The `resource` field in the request should be
	// `projects/_/buckets/{bucket}` for a bucket, or
	// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
	// for a managed folder.
	SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
	// Tests a set of permissions on the given bucket, object, or managed folder
	// to see which, if any, are held by the caller.
	// The `resource` field in the request should be
	// `projects/_/buckets/{bucket}` for a bucket,
	// `projects/_/buckets/{bucket}/objects/{object}` for an object, or
	// `projects/_/buckets/{bucket}/managedFolders/{managedFolder}`
	// for a managed folder.
	TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
}

StorageControlServer is the server API for StorageControl service. All implementations should embed UnimplementedStorageControlServer for forward compatibility

type StorageLayout

type StorageLayout struct {

	// Output only. The name of the StorageLayout resource.
	// Format: `projects/{project}/buckets/{bucket}/storageLayout`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The location of the bucket.
	Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
	// Output only. The location type of the bucket (region, dual-region,
	// multi-region, etc).
	LocationType string `protobuf:"bytes,3,opt,name=location_type,json=locationType,proto3" json:"location_type,omitempty"`
	// Output only. The data placement configuration for custom dual region. If
	// there is no configuration, this is not a custom dual region bucket.
	CustomPlacementConfig *StorageLayout_CustomPlacementConfig `` /* 126-byte string literal not displayed */
	// Output only. The bucket's hierarchical namespace configuration. If there is
	// no configuration, the hierarchical namespace is disabled.
	HierarchicalNamespace *StorageLayout_HierarchicalNamespace `protobuf:"bytes,5,opt,name=hierarchical_namespace,json=hierarchicalNamespace,proto3" json:"hierarchical_namespace,omitempty"`
	// contains filtered or unexported fields
}

The storage layout configuration of a bucket.

func (*StorageLayout) Descriptor deprecated

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

Deprecated: Use StorageLayout.ProtoReflect.Descriptor instead.

func (*StorageLayout) GetCustomPlacementConfig

func (x *StorageLayout) GetCustomPlacementConfig() *StorageLayout_CustomPlacementConfig

func (*StorageLayout) GetHierarchicalNamespace

func (x *StorageLayout) GetHierarchicalNamespace() *StorageLayout_HierarchicalNamespace

func (*StorageLayout) GetLocation

func (x *StorageLayout) GetLocation() string

func (*StorageLayout) GetLocationType

func (x *StorageLayout) GetLocationType() string

func (*StorageLayout) GetName

func (x *StorageLayout) GetName() string

func (*StorageLayout) ProtoMessage

func (*StorageLayout) ProtoMessage()

func (*StorageLayout) ProtoReflect

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

func (*StorageLayout) Reset

func (x *StorageLayout) Reset()

func (*StorageLayout) String

func (x *StorageLayout) String() string

type StorageLayout_CustomPlacementConfig

type StorageLayout_CustomPlacementConfig struct {

	// List of locations to use for data placement.
	DataLocations []string `protobuf:"bytes,1,rep,name=data_locations,json=dataLocations,proto3" json:"data_locations,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Custom Dual Regions. It should specify precisely two eligible regions within the same Multiregion. More information on regions may be found [here](https://cloud.google.com/storage/docs/locations).

func (*StorageLayout_CustomPlacementConfig) Descriptor deprecated

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

Deprecated: Use StorageLayout_CustomPlacementConfig.ProtoReflect.Descriptor instead.

func (*StorageLayout_CustomPlacementConfig) GetDataLocations

func (x *StorageLayout_CustomPlacementConfig) GetDataLocations() []string

func (*StorageLayout_CustomPlacementConfig) ProtoMessage

func (*StorageLayout_CustomPlacementConfig) ProtoMessage()

func (*StorageLayout_CustomPlacementConfig) ProtoReflect

func (*StorageLayout_CustomPlacementConfig) Reset

func (*StorageLayout_CustomPlacementConfig) String

type StorageLayout_HierarchicalNamespace

type StorageLayout_HierarchicalNamespace struct {

	// Enables the hierarchical namespace feature.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a bucket's hierarchical namespace feature.

func (*StorageLayout_HierarchicalNamespace) Descriptor deprecated

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

Deprecated: Use StorageLayout_HierarchicalNamespace.ProtoReflect.Descriptor instead.

func (*StorageLayout_HierarchicalNamespace) GetEnabled

func (x *StorageLayout_HierarchicalNamespace) GetEnabled() bool

func (*StorageLayout_HierarchicalNamespace) ProtoMessage

func (*StorageLayout_HierarchicalNamespace) ProtoMessage()

func (*StorageLayout_HierarchicalNamespace) ProtoReflect

func (*StorageLayout_HierarchicalNamespace) Reset

func (*StorageLayout_HierarchicalNamespace) String

type UnimplementedStorageControlServer

type UnimplementedStorageControlServer struct {
}

UnimplementedStorageControlServer should be embedded to have forward compatible implementations.

func (UnimplementedStorageControlServer) CreateAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) CreateFolder

func (UnimplementedStorageControlServer) CreateManagedFolder added in v1.41.0

func (UnimplementedStorageControlServer) DeleteFolder

func (UnimplementedStorageControlServer) DeleteManagedFolder added in v1.41.0

func (UnimplementedStorageControlServer) DisableAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) GetAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) GetFolder

func (UnimplementedStorageControlServer) GetFolderIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) GetIamPolicy added in v1.57.0

func (UnimplementedStorageControlServer) GetManagedFolder added in v1.41.0

func (UnimplementedStorageControlServer) GetOrganizationIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) GetProjectIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) GetStorageLayout

func (UnimplementedStorageControlServer) ListAnywhereCaches added in v1.53.0

func (UnimplementedStorageControlServer) ListFolders

func (UnimplementedStorageControlServer) ListManagedFolders added in v1.41.0

func (UnimplementedStorageControlServer) PauseAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) RenameFolder

func (UnimplementedStorageControlServer) ResumeAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) SetIamPolicy added in v1.57.0

func (UnimplementedStorageControlServer) TestIamPermissions added in v1.57.0

func (UnimplementedStorageControlServer) UpdateAnywhereCache added in v1.53.0

func (UnimplementedStorageControlServer) UpdateFolderIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) UpdateOrganizationIntelligenceConfig added in v1.55.0

func (UnimplementedStorageControlServer) UpdateProjectIntelligenceConfig added in v1.55.0

type UnsafeStorageControlServer added in v1.57.1

type UnsafeStorageControlServer interface {
	// contains filtered or unexported methods
}

UnsafeStorageControlServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageControlServer will result in compilation errors.

type UpdateAnywhereCacheMetadata added in v1.53.0

type UpdateAnywhereCacheMetadata 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,5,opt,name=zone,proto3,oneof" json:"zone,omitempty"`
	// Anywhere Cache entry's TTL between 1h and 7days. A cache-level config that
	// is applied to all new cache entries on admission. If `ttl` is pending
	// update, this field equals to the new value specified in the Update request.
	Ttl *durationpb.Duration `protobuf:"bytes,3,opt,name=ttl,proto3,oneof" json:"ttl,omitempty"`
	// L4 Cache entry Admission Policy in kebab-case (e.g.,
	// "admit-on-first-miss"). If `admission_policy` is pending
	// update, this field equals to the new value specified in the Update request.
	AdmissionPolicy *string `protobuf:"bytes,4,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 UpdateAnywhereCache operation.

func (*UpdateAnywhereCacheMetadata) Descriptor deprecated added in v1.53.0

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

Deprecated: Use UpdateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.

func (*UpdateAnywhereCacheMetadata) GetAdmissionPolicy added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) GetAdmissionPolicy() string

func (*UpdateAnywhereCacheMetadata) GetAnywhereCacheId added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) GetAnywhereCacheId() string

func (*UpdateAnywhereCacheMetadata) GetCommonMetadata added in v1.53.0

func (*UpdateAnywhereCacheMetadata) GetTtl added in v1.53.0

func (*UpdateAnywhereCacheMetadata) GetZone added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) GetZone() string

func (*UpdateAnywhereCacheMetadata) ProtoMessage added in v1.53.0

func (*UpdateAnywhereCacheMetadata) ProtoMessage()

func (*UpdateAnywhereCacheMetadata) ProtoReflect added in v1.53.0

func (*UpdateAnywhereCacheMetadata) Reset added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) Reset()

func (*UpdateAnywhereCacheMetadata) String added in v1.53.0

func (x *UpdateAnywhereCacheMetadata) String() string

type UpdateAnywhereCacheRequest added in v1.53.0

type UpdateAnywhereCacheRequest struct {

	// Required. The Anywhere Cache instance to be updated.
	AnywhereCache *AnywhereCache `protobuf:"bytes,1,opt,name=anywhere_cache,json=anywhereCache,proto3" json:"anywhere_cache,omitempty"`
	// Required. List of fields to be updated. Mutable fields of AnywhereCache
	// include `ttl` and `admission_policy`.
	//
	// To specify ALL fields, specify a single field with the value `*`. Note: We
	// recommend against doing this. 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.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,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,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for UpdateAnywhereCache.

func (*UpdateAnywhereCacheRequest) Descriptor deprecated added in v1.53.0

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

Deprecated: Use UpdateAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*UpdateAnywhereCacheRequest) GetAnywhereCache added in v1.53.0

func (x *UpdateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache

func (*UpdateAnywhereCacheRequest) GetRequestId added in v1.53.0

func (x *UpdateAnywhereCacheRequest) GetRequestId() string

func (*UpdateAnywhereCacheRequest) GetUpdateMask added in v1.53.0

func (x *UpdateAnywhereCacheRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateAnywhereCacheRequest) ProtoMessage added in v1.53.0

func (*UpdateAnywhereCacheRequest) ProtoMessage()

func (*UpdateAnywhereCacheRequest) ProtoReflect added in v1.53.0

func (*UpdateAnywhereCacheRequest) Reset added in v1.53.0

func (x *UpdateAnywhereCacheRequest) Reset()

func (*UpdateAnywhereCacheRequest) String added in v1.53.0

func (x *UpdateAnywhereCacheRequest) String() string

type UpdateFolderIntelligenceConfigRequest added in v1.55.0

type UpdateFolderIntelligenceConfigRequest struct {

	// Required. The `IntelligenceConfig` resource to be updated.
	IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
	// Required. The `update_mask` that specifies the fields within the
	// `IntelligenceConfig` resource that should be modified by this update. Only
	// the listed fields are updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. The ID that uniquely identifies the request, preventing duplicate
	// processing.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message to update the `IntelligenceConfig` resource associated with your folder.

**IAM Permissions**:

Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.

func (*UpdateFolderIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

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

Deprecated: Use UpdateFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig added in v1.55.0

func (x *UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig

func (*UpdateFolderIntelligenceConfigRequest) GetRequestId added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) GetUpdateMask added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage()

func (*UpdateFolderIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) Reset added in v1.55.0

func (*UpdateFolderIntelligenceConfigRequest) String added in v1.55.0

type UpdateOrganizationIntelligenceConfigRequest added in v1.55.0

type UpdateOrganizationIntelligenceConfigRequest struct {

	// Required. The `IntelligenceConfig` resource to be updated.
	IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
	// Required. The `update_mask` that specifies the fields within the
	// `IntelligenceConfig` resource that should be modified by this update. Only
	// the listed fields are updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. The ID that uniquely identifies the request, preventing duplicate
	// processing.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message to update the `IntelligenceConfig` resource associated with your organization.

**IAM Permissions**:

Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the organization.

func (*UpdateOrganizationIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

Deprecated: Use UpdateOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationIntelligenceConfigRequest) GetIntelligenceConfig added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) GetRequestId added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) GetUpdateMask added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) Reset added in v1.55.0

func (*UpdateOrganizationIntelligenceConfigRequest) String added in v1.55.0

type UpdateProjectIntelligenceConfigRequest added in v1.55.0

type UpdateProjectIntelligenceConfigRequest struct {

	// Required. The `IntelligenceConfig` resource to be updated.
	IntelligenceConfig *IntelligenceConfig `protobuf:"bytes,1,opt,name=intelligence_config,json=intelligenceConfig,proto3" json:"intelligence_config,omitempty"`
	// Required. The `update_mask` that specifies the fields within the
	// `IntelligenceConfig` resource that should be modified by this update. Only
	// the listed fields are updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Optional. The ID that uniquely identifies the request, preventing duplicate
	// processing.
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message to update the `IntelligenceConfig` resource associated with your project.

**IAM Permissions**:

Requires `storage.intelligenceConfigs.update` [IAM](https://cloud.google.com/iam/docs/overview#permissions) permission on the folder.

func (*UpdateProjectIntelligenceConfigRequest) Descriptor deprecated added in v1.55.0

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

Deprecated: Use UpdateProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig added in v1.55.0

func (x *UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig

func (*UpdateProjectIntelligenceConfigRequest) GetRequestId added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) GetUpdateMask added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) ProtoMessage added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) ProtoReflect added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) Reset added in v1.55.0

func (*UpdateProjectIntelligenceConfigRequest) String added in v1.55.0