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

Constants

StorageControl_CreateFolder_FullMethodName, StorageControl_DeleteFolder_FullMethodName, StorageControl_GetFolder_FullMethodName, StorageControl_ListFolders_FullMethodName, StorageControl_RenameFolder_FullMethodName, StorageControl_GetStorageLayout_FullMethodName, StorageControl_CreateManagedFolder_FullMethodName, StorageControl_DeleteManagedFolder_FullMethodName, StorageControl_GetManagedFolder_FullMethodName, StorageControl_ListManagedFolders_FullMethodName, StorageControl_CreateAnywhereCache_FullMethodName, StorageControl_UpdateAnywhereCache_FullMethodName, StorageControl_DisableAnywhereCache_FullMethodName, StorageControl_PauseAnywhereCache_FullMethodName, StorageControl_ResumeAnywhereCache_FullMethodName, StorageControl_GetAnywhereCache_FullMethodName, StorageControl_ListAnywhereCaches_FullMethodName, StorageControl_GetProjectIntelligenceConfig_FullMethodName, StorageControl_UpdateProjectIntelligenceConfig_FullMethodName, StorageControl_GetFolderIntelligenceConfig_FullMethodName, StorageControl_UpdateFolderIntelligenceConfig_FullMethodName, StorageControl_GetOrganizationIntelligenceConfig_FullMethodName, StorageControl_UpdateOrganizationIntelligenceConfig_FullMethodName, StorageControl_GetIamPolicy_FullMethodName, StorageControl_SetIamPolicy_FullMethodName, StorageControl_TestIamPermissions_FullMethodName

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

IntelligenceConfig_EditionConfig_name, IntelligenceConfig_EditionConfig_value

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

Enum value maps for IntelligenceConfig_EditionConfig.

IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_name, IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition_value

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

Enum value maps for IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition.

File_google_storage_control_v2_storage_control_proto

var File_google_storage_control_v2_storage_control_proto protoreflect.FileDescriptor

StorageControl_ServiceDesc

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)

AnywhereCache

type AnywhereCache struct {

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

An Anywhere Cache Instance.

func (*AnywhereCache) Descriptor

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

Deprecated: Use AnywhereCache.ProtoReflect.Descriptor instead.

func (*AnywhereCache) GetAdmissionPolicy

func (x *AnywhereCache) GetAdmissionPolicy() string

func (*AnywhereCache) GetCreateTime

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

func (*AnywhereCache) GetName

func (x *AnywhereCache) GetName() string

func (*AnywhereCache) GetPendingUpdate

func (x *AnywhereCache) GetPendingUpdate() bool

func (*AnywhereCache) GetState

func (x *AnywhereCache) GetState() string

func (*AnywhereCache) GetTtl

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

func (*AnywhereCache) GetUpdateTime

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

func (*AnywhereCache) GetZone

func (x *AnywhereCache) GetZone() string

func (*AnywhereCache) ProtoMessage

func (*AnywhereCache) ProtoMessage()

func (*AnywhereCache) ProtoReflect

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

func (*AnywhereCache) Reset

func (x *AnywhereCache) Reset()

func (*AnywhereCache) String

func (x *AnywhereCache) String() string

CommonLongRunningOperationMetadata

type CommonLongRunningOperationMetadata struct {

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

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

func (*CommonLongRunningOperationMetadata) Descriptor

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

Deprecated: Use CommonLongRunningOperationMetadata.ProtoReflect.Descriptor instead.

func (*CommonLongRunningOperationMetadata) GetCreateTime

func (*CommonLongRunningOperationMetadata) GetEndTime

func (*CommonLongRunningOperationMetadata) GetProgressPercent

func (x *CommonLongRunningOperationMetadata) GetProgressPercent() int32

func (*CommonLongRunningOperationMetadata) GetRequestedCancellation

func (x *CommonLongRunningOperationMetadata) GetRequestedCancellation() bool

func (*CommonLongRunningOperationMetadata) GetType

func (*CommonLongRunningOperationMetadata) GetUpdateTime

func (*CommonLongRunningOperationMetadata) ProtoMessage

func (*CommonLongRunningOperationMetadata) ProtoMessage()

func (*CommonLongRunningOperationMetadata) ProtoReflect

func (*CommonLongRunningOperationMetadata) Reset

func (*CommonLongRunningOperationMetadata) String

CreateAnywhereCacheMetadata

type CreateAnywhereCacheMetadata struct {

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

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

func (*CreateAnywhereCacheMetadata) Descriptor

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

Deprecated: Use CreateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.

func (*CreateAnywhereCacheMetadata) GetAdmissionPolicy

func (x *CreateAnywhereCacheMetadata) GetAdmissionPolicy() string

func (*CreateAnywhereCacheMetadata) GetAnywhereCacheId

func (x *CreateAnywhereCacheMetadata) GetAnywhereCacheId() string

func (*CreateAnywhereCacheMetadata) GetCommonMetadata

func (*CreateAnywhereCacheMetadata) GetTtl

func (*CreateAnywhereCacheMetadata) GetZone

func (x *CreateAnywhereCacheMetadata) GetZone() string

func (*CreateAnywhereCacheMetadata) ProtoMessage

func (*CreateAnywhereCacheMetadata) ProtoMessage()

func (*CreateAnywhereCacheMetadata) ProtoReflect

func (*CreateAnywhereCacheMetadata) Reset

func (x *CreateAnywhereCacheMetadata) Reset()

func (*CreateAnywhereCacheMetadata) String

func (x *CreateAnywhereCacheMetadata) String() string

CreateAnywhereCacheRequest

type CreateAnywhereCacheRequest struct {

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

Request message for CreateAnywhereCache.

func (*CreateAnywhereCacheRequest) Descriptor

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

Deprecated: Use CreateAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*CreateAnywhereCacheRequest) GetAnywhereCache

func (x *CreateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache

func (*CreateAnywhereCacheRequest) GetParent

func (x *CreateAnywhereCacheRequest) GetParent() string

func (*CreateAnywhereCacheRequest) GetRequestId

func (x *CreateAnywhereCacheRequest) GetRequestId() string

func (*CreateAnywhereCacheRequest) ProtoMessage

func (*CreateAnywhereCacheRequest) ProtoMessage()

func (*CreateAnywhereCacheRequest) ProtoReflect

func (*CreateAnywhereCacheRequest) Reset

func (x *CreateAnywhereCacheRequest) Reset()

func (*CreateAnywhereCacheRequest) String

func (x *CreateAnywhereCacheRequest) String() string

CreateFolderRequest

type CreateFolderRequest struct {

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

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

func (*CreateFolderRequest) Descriptor

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

Deprecated: Use CreateFolderRequest.ProtoReflect.Descriptor instead.

func (*CreateFolderRequest) GetFolder

func (x *CreateFolderRequest) GetFolder() *Folder

func (*CreateFolderRequest) GetFolderId

func (x *CreateFolderRequest) GetFolderId() string

func (*CreateFolderRequest) GetParent

func (x *CreateFolderRequest) GetParent() string

func (*CreateFolderRequest) GetRecursive

func (x *CreateFolderRequest) GetRecursive() bool

func (*CreateFolderRequest) GetRequestId

func (x *CreateFolderRequest) GetRequestId() string

func (*CreateFolderRequest) ProtoMessage

func (*CreateFolderRequest) ProtoMessage()

func (*CreateFolderRequest) ProtoReflect

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

func (*CreateFolderRequest) Reset

func (x *CreateFolderRequest) Reset()

func (*CreateFolderRequest) String

func (x *CreateFolderRequest) String() string

CreateManagedFolderRequest

type CreateManagedFolderRequest struct {

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

Request message for CreateManagedFolder.

func (*CreateManagedFolderRequest) Descriptor

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

Deprecated: Use CreateManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*CreateManagedFolderRequest) GetManagedFolder

func (x *CreateManagedFolderRequest) GetManagedFolder() *ManagedFolder

func (*CreateManagedFolderRequest) GetManagedFolderId

func (x *CreateManagedFolderRequest) GetManagedFolderId() string

func (*CreateManagedFolderRequest) GetParent

func (x *CreateManagedFolderRequest) GetParent() string

func (*CreateManagedFolderRequest) GetRequestId

func (x *CreateManagedFolderRequest) GetRequestId() string

func (*CreateManagedFolderRequest) ProtoMessage

func (*CreateManagedFolderRequest) ProtoMessage()

func (*CreateManagedFolderRequest) ProtoReflect

func (*CreateManagedFolderRequest) Reset

func (x *CreateManagedFolderRequest) Reset()

func (*CreateManagedFolderRequest) String

func (x *CreateManagedFolderRequest) String() string

DeleteFolderRequest

type DeleteFolderRequest struct {

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

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

func (*DeleteFolderRequest) Descriptor

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

Deprecated: Use DeleteFolderRequest.ProtoReflect.Descriptor instead.

func (*DeleteFolderRequest) GetIfMetagenerationMatch

func (x *DeleteFolderRequest) GetIfMetagenerationMatch() int64

func (*DeleteFolderRequest) GetIfMetagenerationNotMatch

func (x *DeleteFolderRequest) GetIfMetagenerationNotMatch() int64

func (*DeleteFolderRequest) GetName

func (x *DeleteFolderRequest) GetName() string

func (*DeleteFolderRequest) GetRequestId

func (x *DeleteFolderRequest) GetRequestId() string

func (*DeleteFolderRequest) ProtoMessage

func (*DeleteFolderRequest) ProtoMessage()

func (*DeleteFolderRequest) ProtoReflect

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

func (*DeleteFolderRequest) Reset

func (x *DeleteFolderRequest) Reset()

func (*DeleteFolderRequest) String

func (x *DeleteFolderRequest) String() string

DeleteManagedFolderRequest

type DeleteManagedFolderRequest struct {

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

DeleteManagedFolder RPC request message.

func (*DeleteManagedFolderRequest) Descriptor

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

Deprecated: Use DeleteManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*DeleteManagedFolderRequest) GetAllowNonEmpty

func (x *DeleteManagedFolderRequest) GetAllowNonEmpty() bool

func (*DeleteManagedFolderRequest) GetIfMetagenerationMatch

func (x *DeleteManagedFolderRequest) GetIfMetagenerationMatch() int64

func (*DeleteManagedFolderRequest) GetIfMetagenerationNotMatch

func (x *DeleteManagedFolderRequest) GetIfMetagenerationNotMatch() int64

func (*DeleteManagedFolderRequest) GetName

func (x *DeleteManagedFolderRequest) GetName() string

func (*DeleteManagedFolderRequest) GetRequestId

func (x *DeleteManagedFolderRequest) GetRequestId() string

func (*DeleteManagedFolderRequest) ProtoMessage

func (*DeleteManagedFolderRequest) ProtoMessage()

func (*DeleteManagedFolderRequest) ProtoReflect

func (*DeleteManagedFolderRequest) Reset

func (x *DeleteManagedFolderRequest) Reset()

func (*DeleteManagedFolderRequest) String

func (x *DeleteManagedFolderRequest) String() string

DisableAnywhereCacheRequest

type DisableAnywhereCacheRequest struct {

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

Request message for DisableAnywhereCache.

func (*DisableAnywhereCacheRequest) Descriptor

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

Deprecated: Use DisableAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*DisableAnywhereCacheRequest) GetName

func (x *DisableAnywhereCacheRequest) GetName() string

func (*DisableAnywhereCacheRequest) GetRequestId

func (x *DisableAnywhereCacheRequest) GetRequestId() string

func (*DisableAnywhereCacheRequest) ProtoMessage

func (*DisableAnywhereCacheRequest) ProtoMessage()

func (*DisableAnywhereCacheRequest) ProtoReflect

func (*DisableAnywhereCacheRequest) Reset

func (x *DisableAnywhereCacheRequest) Reset()

func (*DisableAnywhereCacheRequest) String

func (x *DisableAnywhereCacheRequest) String() string

Folder

type Folder struct {

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

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

func (*Folder) Descriptor

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

Deprecated: Use Folder.ProtoReflect.Descriptor instead.

func (*Folder) GetCreateTime

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

func (*Folder) GetMetageneration

func (x *Folder) GetMetageneration() int64

func (*Folder) GetName

func (x *Folder) GetName() string

func (*Folder) GetPendingRenameInfo

func (x *Folder) GetPendingRenameInfo() *PendingRenameInfo

func (*Folder) GetUpdateTime

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

func (*Folder) ProtoMessage

func (*Folder) ProtoMessage()

func (*Folder) ProtoReflect

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

func (*Folder) Reset

func (x *Folder) Reset()

func (*Folder) String

func (x *Folder) String() string

GetAnywhereCacheRequest

type GetAnywhereCacheRequest struct {

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

Request message for GetAnywhereCache.

func (*GetAnywhereCacheRequest) Descriptor

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

Deprecated: Use GetAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*GetAnywhereCacheRequest) GetName

func (x *GetAnywhereCacheRequest) GetName() string

func (*GetAnywhereCacheRequest) GetRequestId

func (x *GetAnywhereCacheRequest) GetRequestId() string

func (*GetAnywhereCacheRequest) ProtoMessage

func (*GetAnywhereCacheRequest) ProtoMessage()

func (*GetAnywhereCacheRequest) ProtoReflect

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

func (*GetAnywhereCacheRequest) Reset

func (x *GetAnywhereCacheRequest) Reset()

func (*GetAnywhereCacheRequest) String

func (x *GetAnywhereCacheRequest) String() string

GetFolderIntelligenceConfigRequest

type GetFolderIntelligenceConfigRequest struct {

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

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

IAM Permissions

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

func (*GetFolderIntelligenceConfigRequest) Descriptor

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

Deprecated: Use GetFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetFolderIntelligenceConfigRequest) GetName

func (*GetFolderIntelligenceConfigRequest) ProtoMessage

func (*GetFolderIntelligenceConfigRequest) ProtoMessage()

func (*GetFolderIntelligenceConfigRequest) ProtoReflect

func (*GetFolderIntelligenceConfigRequest) Reset

func (*GetFolderIntelligenceConfigRequest) String

GetFolderRequest

type GetFolderRequest struct {

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

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

func (*GetFolderRequest) Descriptor

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

Deprecated: Use GetFolderRequest.ProtoReflect.Descriptor instead.

func (*GetFolderRequest) GetIfMetagenerationMatch

func (x *GetFolderRequest) GetIfMetagenerationMatch() int64

func (*GetFolderRequest) GetIfMetagenerationNotMatch

func (x *GetFolderRequest) GetIfMetagenerationNotMatch() int64

func (*GetFolderRequest) GetName

func (x *GetFolderRequest) GetName() string

func (*GetFolderRequest) GetRequestId

func (x *GetFolderRequest) GetRequestId() string

func (*GetFolderRequest) ProtoMessage

func (*GetFolderRequest) ProtoMessage()

func (*GetFolderRequest) ProtoReflect

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

func (*GetFolderRequest) Reset

func (x *GetFolderRequest) Reset()

func (*GetFolderRequest) String

func (x *GetFolderRequest) String() string

GetManagedFolderRequest

type GetManagedFolderRequest struct {

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

Request message for GetManagedFolder.

func (*GetManagedFolderRequest) Descriptor

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

Deprecated: Use GetManagedFolderRequest.ProtoReflect.Descriptor instead.

func (*GetManagedFolderRequest) GetIfMetagenerationMatch

func (x *GetManagedFolderRequest) GetIfMetagenerationMatch() int64

func (*GetManagedFolderRequest) GetIfMetagenerationNotMatch

func (x *GetManagedFolderRequest) GetIfMetagenerationNotMatch() int64

func (*GetManagedFolderRequest) GetName

func (x *GetManagedFolderRequest) GetName() string

func (*GetManagedFolderRequest) GetRequestId

func (x *GetManagedFolderRequest) GetRequestId() string

func (*GetManagedFolderRequest) ProtoMessage

func (*GetManagedFolderRequest) ProtoMessage()

func (*GetManagedFolderRequest) ProtoReflect

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

func (*GetManagedFolderRequest) Reset

func (x *GetManagedFolderRequest) Reset()

func (*GetManagedFolderRequest) String

func (x *GetManagedFolderRequest) String() string

GetOrganizationIntelligenceConfigRequest

type GetOrganizationIntelligenceConfigRequest struct {

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

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

IAM Permissions

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

func (*GetOrganizationIntelligenceConfigRequest) Descriptor

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

Deprecated: Use GetOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetOrganizationIntelligenceConfigRequest) GetName

func (*GetOrganizationIntelligenceConfigRequest) ProtoMessage

func (*GetOrganizationIntelligenceConfigRequest) ProtoReflect

func (*GetOrganizationIntelligenceConfigRequest) Reset

func (*GetOrganizationIntelligenceConfigRequest) String

GetProjectIntelligenceConfigRequest

type GetProjectIntelligenceConfigRequest struct {

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

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

IAM Permissions:

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

func (*GetProjectIntelligenceConfigRequest) Descriptor

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

Deprecated: Use GetProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetProjectIntelligenceConfigRequest) GetName

func (*GetProjectIntelligenceConfigRequest) ProtoMessage

func (*GetProjectIntelligenceConfigRequest) ProtoMessage()

func (*GetProjectIntelligenceConfigRequest) ProtoReflect

func (*GetProjectIntelligenceConfigRequest) Reset

func (*GetProjectIntelligenceConfigRequest) String

GetStorageLayoutRequest

type GetStorageLayoutRequest struct {

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

Request message for GetStorageLayout.

func (*GetStorageLayoutRequest) Descriptor

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

Deprecated: Use GetStorageLayoutRequest.ProtoReflect.Descriptor instead.

func (*GetStorageLayoutRequest) GetName

func (x *GetStorageLayoutRequest) GetName() string

func (*GetStorageLayoutRequest) GetPrefix

func (x *GetStorageLayoutRequest) GetPrefix() string

func (*GetStorageLayoutRequest) GetRequestId

func (x *GetStorageLayoutRequest) GetRequestId() string

func (*GetStorageLayoutRequest) ProtoMessage

func (*GetStorageLayoutRequest) ProtoMessage()

func (*GetStorageLayoutRequest) ProtoReflect

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

func (*GetStorageLayoutRequest) Reset

func (x *GetStorageLayoutRequest) Reset()

func (*GetStorageLayoutRequest) String

func (x *GetStorageLayoutRequest) String() string

IntelligenceConfig

type IntelligenceConfig struct {

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

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

func (*IntelligenceConfig) Descriptor

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

Deprecated: Use IntelligenceConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig) GetEditionConfig

func (*IntelligenceConfig) GetEffectiveIntelligenceConfig

func (x *IntelligenceConfig) GetEffectiveIntelligenceConfig() *IntelligenceConfig_EffectiveIntelligenceConfig

func (*IntelligenceConfig) GetFilter

func (*IntelligenceConfig) GetName

func (x *IntelligenceConfig) GetName() string

func (*IntelligenceConfig) GetTrialConfig

func (*IntelligenceConfig) GetUpdateTime

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

func (*IntelligenceConfig) ProtoMessage

func (*IntelligenceConfig) ProtoMessage()

func (*IntelligenceConfig) ProtoReflect

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

func (*IntelligenceConfig) Reset

func (x *IntelligenceConfig) Reset()

func (*IntelligenceConfig) String

func (x *IntelligenceConfig) String() string

IntelligenceConfig_EditionConfig

type IntelligenceConfig_EditionConfig int32

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

IntelligenceConfig_EDITION_CONFIG_UNSPECIFIED, IntelligenceConfig_INHERIT, IntelligenceConfig_DISABLED, IntelligenceConfig_STANDARD, IntelligenceConfig_TRIAL

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

func (IntelligenceConfig_EditionConfig) Descriptor

func (IntelligenceConfig_EditionConfig) Enum

func (IntelligenceConfig_EditionConfig) EnumDescriptor

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

Deprecated: Use IntelligenceConfig_EditionConfig.Descriptor instead.

func (IntelligenceConfig_EditionConfig) Number

func (IntelligenceConfig_EditionConfig) String

func (IntelligenceConfig_EditionConfig) Type

IntelligenceConfig_EffectiveIntelligenceConfig

type IntelligenceConfig_EffectiveIntelligenceConfig struct {

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

The effective IntelligenceConfig for the resource.

func (*IntelligenceConfig_EffectiveIntelligenceConfig) Descriptor

Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetEffectiveEdition

func (*IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig

func (x *IntelligenceConfig_EffectiveIntelligenceConfig) GetIntelligenceConfig() string

func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoMessage

func (*IntelligenceConfig_EffectiveIntelligenceConfig) ProtoReflect

func (*IntelligenceConfig_EffectiveIntelligenceConfig) Reset

func (*IntelligenceConfig_EffectiveIntelligenceConfig) String

IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition

type IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition int32

The effective edition of the IntelligenceConfig resource.

IntelligenceConfig_EffectiveIntelligenceConfig_EFFECTIVE_EDITION_UNSPECIFIED, IntelligenceConfig_EffectiveIntelligenceConfig_NONE, IntelligenceConfig_EffectiveIntelligenceConfig_STANDARD

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

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Descriptor

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Enum

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) EnumDescriptor

Deprecated: Use IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition.Descriptor instead.

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Number

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) String

func (IntelligenceConfig_EffectiveIntelligenceConfig_EffectiveEdition) Type

IntelligenceConfig_Filter

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

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

Deprecated: Use IntelligenceConfig_Filter.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter) GetCloudStorageBuckets

func (m *IntelligenceConfig_Filter) GetCloudStorageBuckets() isIntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetCloudStorageLocations

func (m *IntelligenceConfig_Filter) GetCloudStorageLocations() isIntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets

func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetExcludedCloudStorageLocations

func (x *IntelligenceConfig_Filter) GetExcludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets

func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageBuckets() *IntelligenceConfig_Filter_CloudStorageBuckets

func (*IntelligenceConfig_Filter) GetIncludedCloudStorageLocations

func (x *IntelligenceConfig_Filter) GetIncludedCloudStorageLocations() *IntelligenceConfig_Filter_CloudStorageLocations

func (*IntelligenceConfig_Filter) ProtoMessage

func (*IntelligenceConfig_Filter) ProtoMessage()

func (*IntelligenceConfig_Filter) ProtoReflect

func (*IntelligenceConfig_Filter) Reset

func (x *IntelligenceConfig_Filter) Reset()

func (*IntelligenceConfig_Filter) String

func (x *IntelligenceConfig_Filter) String() string

IntelligenceConfig_Filter_CloudStorageBuckets

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: Use IntelligenceConfig_Filter_CloudStorageBuckets.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter_CloudStorageBuckets) GetBucketIdRegexes

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

func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoMessage

func (*IntelligenceConfig_Filter_CloudStorageBuckets) ProtoReflect

func (*IntelligenceConfig_Filter_CloudStorageBuckets) Reset

func (*IntelligenceConfig_Filter_CloudStorageBuckets) String

IntelligenceConfig_Filter_CloudStorageLocations

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: Use IntelligenceConfig_Filter_CloudStorageLocations.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_Filter_CloudStorageLocations) GetLocations

func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoMessage

func (*IntelligenceConfig_Filter_CloudStorageLocations) ProtoReflect

func (*IntelligenceConfig_Filter_CloudStorageLocations) Reset

func (*IntelligenceConfig_Filter_CloudStorageLocations) String

IntelligenceConfig_Filter_ExcludedCloudStorageBuckets

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"`
}

IntelligenceConfig_Filter_ExcludedCloudStorageLocations

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"`
}

IntelligenceConfig_Filter_IncludedCloudStorageBuckets

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"`
}

IntelligenceConfig_Filter_IncludedCloudStorageLocations

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"`
}

IntelligenceConfig_TrialConfig

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

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

Deprecated: Use IntelligenceConfig_TrialConfig.ProtoReflect.Descriptor instead.

func (*IntelligenceConfig_TrialConfig) GetExpireTime

func (*IntelligenceConfig_TrialConfig) ProtoMessage

func (*IntelligenceConfig_TrialConfig) ProtoMessage()

func (*IntelligenceConfig_TrialConfig) ProtoReflect

func (*IntelligenceConfig_TrialConfig) Reset

func (x *IntelligenceConfig_TrialConfig) Reset()

func (*IntelligenceConfig_TrialConfig) String

ListAnywhereCachesRequest

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

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

Deprecated: Use ListAnywhereCachesRequest.ProtoReflect.Descriptor instead.

func (*ListAnywhereCachesRequest) GetPageSize

func (x *ListAnywhereCachesRequest) GetPageSize() int32

func (*ListAnywhereCachesRequest) GetPageToken

func (x *ListAnywhereCachesRequest) GetPageToken() string

func (*ListAnywhereCachesRequest) GetParent

func (x *ListAnywhereCachesRequest) GetParent() string

func (*ListAnywhereCachesRequest) GetRequestId

func (x *ListAnywhereCachesRequest) GetRequestId() string

func (*ListAnywhereCachesRequest) ProtoMessage

func (*ListAnywhereCachesRequest) ProtoMessage()

func (*ListAnywhereCachesRequest) ProtoReflect

func (*ListAnywhereCachesRequest) Reset

func (x *ListAnywhereCachesRequest) Reset()

func (*ListAnywhereCachesRequest) String

func (x *ListAnywhereCachesRequest) String() string

ListAnywhereCachesResponse

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

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

Deprecated: Use ListAnywhereCachesResponse.ProtoReflect.Descriptor instead.

func (*ListAnywhereCachesResponse) GetAnywhereCaches

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

func (*ListAnywhereCachesResponse) GetNextPageToken

func (x *ListAnywhereCachesResponse) GetNextPageToken() string

func (*ListAnywhereCachesResponse) ProtoMessage

func (*ListAnywhereCachesResponse) ProtoMessage()

func (*ListAnywhereCachesResponse) ProtoReflect

func (*ListAnywhereCachesResponse) Reset

func (x *ListAnywhereCachesResponse) Reset()

func (*ListAnywhereCachesResponse) String

func (x *ListAnywhereCachesResponse) String() string

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

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

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

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

ListManagedFoldersRequest

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

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

Deprecated: Use ListManagedFoldersRequest.ProtoReflect.Descriptor instead.

func (*ListManagedFoldersRequest) GetPageSize

func (x *ListManagedFoldersRequest) GetPageSize() int32

func (*ListManagedFoldersRequest) GetPageToken

func (x *ListManagedFoldersRequest) GetPageToken() string

func (*ListManagedFoldersRequest) GetParent

func (x *ListManagedFoldersRequest) GetParent() string

func (*ListManagedFoldersRequest) GetPrefix

func (x *ListManagedFoldersRequest) GetPrefix() string

func (*ListManagedFoldersRequest) GetRequestId

func (x *ListManagedFoldersRequest) GetRequestId() string

func (*ListManagedFoldersRequest) ProtoMessage

func (*ListManagedFoldersRequest) ProtoMessage()

func (*ListManagedFoldersRequest) ProtoReflect

func (*ListManagedFoldersRequest) Reset

func (x *ListManagedFoldersRequest) Reset()

func (*ListManagedFoldersRequest) String

func (x *ListManagedFoldersRequest) String() string

ListManagedFoldersResponse

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

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

Deprecated: Use ListManagedFoldersResponse.ProtoReflect.Descriptor instead.

func (*ListManagedFoldersResponse) GetManagedFolders

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

func (*ListManagedFoldersResponse) GetNextPageToken

func (x *ListManagedFoldersResponse) GetNextPageToken() string

func (*ListManagedFoldersResponse) ProtoMessage

func (*ListManagedFoldersResponse) ProtoMessage()

func (*ListManagedFoldersResponse) ProtoReflect

func (*ListManagedFoldersResponse) Reset

func (x *ListManagedFoldersResponse) Reset()

func (*ListManagedFoldersResponse) String

func (x *ListManagedFoldersResponse) String() string

ManagedFolder

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

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

Deprecated: Use ManagedFolder.ProtoReflect.Descriptor instead.

func (*ManagedFolder) GetCreateTime

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

func (*ManagedFolder) GetMetageneration

func (x *ManagedFolder) GetMetageneration() int64

func (*ManagedFolder) GetName

func (x *ManagedFolder) GetName() string

func (*ManagedFolder) GetUpdateTime

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

func (*ManagedFolder) ProtoMessage

func (*ManagedFolder) ProtoMessage()

func (*ManagedFolder) ProtoReflect

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

func (*ManagedFolder) Reset

func (x *ManagedFolder) Reset()

func (*ManagedFolder) String

func (x *ManagedFolder) String() string

PauseAnywhereCacheRequest

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

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

Deprecated: Use PauseAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*PauseAnywhereCacheRequest) GetName

func (x *PauseAnywhereCacheRequest) GetName() string

func (*PauseAnywhereCacheRequest) GetRequestId

func (x *PauseAnywhereCacheRequest) GetRequestId() string

func (*PauseAnywhereCacheRequest) ProtoMessage

func (*PauseAnywhereCacheRequest) ProtoMessage()

func (*PauseAnywhereCacheRequest) ProtoReflect

func (*PauseAnywhereCacheRequest) Reset

func (x *PauseAnywhereCacheRequest) Reset()

func (*PauseAnywhereCacheRequest) String

func (x *PauseAnywhereCacheRequest) String() string

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

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

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

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

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 `protobuf:"varint,4,opt,name=if_metageneration_match,json=ifMetagenerationMatch,proto3,oneof" json:"if_metageneration_match,omitempty"`
	// Makes the operation only succeed conditional on whether the source
	// folder's current metageneration does not match the given value.
	IfMetagenerationNotMatch *int64 `protobuf:"varint,5,opt,name=if_metageneration_not_match,json=ifMetagenerationNotMatch,proto3,oneof" json:"if_metageneration_not_match,omitempty"`
	// Optional. A unique identifier for this request. UUID is the recommended
	// format, but other formats are still accepted. 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

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

ResumeAnywhereCacheRequest

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

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

Deprecated: Use ResumeAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*ResumeAnywhereCacheRequest) GetName

func (x *ResumeAnywhereCacheRequest) GetName() string

func (*ResumeAnywhereCacheRequest) GetRequestId

func (x *ResumeAnywhereCacheRequest) GetRequestId() string

func (*ResumeAnywhereCacheRequest) ProtoMessage

func (*ResumeAnywhereCacheRequest) ProtoMessage()

func (*ResumeAnywhereCacheRequest) ProtoReflect

func (*ResumeAnywhereCacheRequest) Reset

func (x *ResumeAnywhereCacheRequest) Reset()

func (*ResumeAnywhereCacheRequest) String

func (x *ResumeAnywhereCacheRequest) String() string

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.

func NewStorageControlClient

func NewStorageControlClient(cc grpc.ClientConnInterface) StorageControlClient

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

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 `protobuf:"bytes,4,opt,name=custom_placement_config,json=customPlacementConfig,proto3" json:"custom_placement_config,omitempty"`
	// 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

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

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.

func (*StorageLayout_CustomPlacementConfig) Descriptor

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

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

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

UnimplementedStorageControlServer

type UnimplementedStorageControlServer struct {
}

UnimplementedStorageControlServer should be embedded to have forward compatible implementations.

func (UnimplementedStorageControlServer) CreateAnywhereCache

func (UnimplementedStorageControlServer) CreateFolder

func (UnimplementedStorageControlServer) CreateManagedFolder

func (UnimplementedStorageControlServer) DeleteFolder

func (UnimplementedStorageControlServer) DeleteManagedFolder

func (UnimplementedStorageControlServer) DisableAnywhereCache

func (UnimplementedStorageControlServer) GetAnywhereCache

func (UnimplementedStorageControlServer) GetFolder

func (UnimplementedStorageControlServer) GetFolderIntelligenceConfig

func (UnimplementedStorageControlServer) GetIamPolicy

func (UnimplementedStorageControlServer) GetManagedFolder

func (UnimplementedStorageControlServer) GetOrganizationIntelligenceConfig

func (UnimplementedStorageControlServer) GetProjectIntelligenceConfig

func (UnimplementedStorageControlServer) GetStorageLayout

func (UnimplementedStorageControlServer) ListAnywhereCaches

func (UnimplementedStorageControlServer) ListFolders

func (UnimplementedStorageControlServer) ListManagedFolders

func (UnimplementedStorageControlServer) PauseAnywhereCache

func (UnimplementedStorageControlServer) RenameFolder

func (UnimplementedStorageControlServer) ResumeAnywhereCache

func (UnimplementedStorageControlServer) SetIamPolicy

func (UnimplementedStorageControlServer) TestIamPermissions

func (UnimplementedStorageControlServer) UpdateAnywhereCache

func (UnimplementedStorageControlServer) UpdateFolderIntelligenceConfig

func (UnimplementedStorageControlServer) UpdateOrganizationIntelligenceConfig

func (UnimplementedStorageControlServer) UpdateProjectIntelligenceConfig

UnsafeStorageControlServer

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.

UpdateAnywhereCacheMetadata

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

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

Deprecated: Use UpdateAnywhereCacheMetadata.ProtoReflect.Descriptor instead.

func (*UpdateAnywhereCacheMetadata) GetAdmissionPolicy

func (x *UpdateAnywhereCacheMetadata) GetAdmissionPolicy() string

func (*UpdateAnywhereCacheMetadata) GetAnywhereCacheId

func (x *UpdateAnywhereCacheMetadata) GetAnywhereCacheId() string

func (*UpdateAnywhereCacheMetadata) GetCommonMetadata

func (*UpdateAnywhereCacheMetadata) GetTtl

func (*UpdateAnywhereCacheMetadata) GetZone

func (x *UpdateAnywhereCacheMetadata) GetZone() string

func (*UpdateAnywhereCacheMetadata) ProtoMessage

func (*UpdateAnywhereCacheMetadata) ProtoMessage()

func (*UpdateAnywhereCacheMetadata) ProtoReflect

func (*UpdateAnywhereCacheMetadata) Reset

func (x *UpdateAnywhereCacheMetadata) Reset()

func (*UpdateAnywhereCacheMetadata) String

func (x *UpdateAnywhereCacheMetadata) String() string

UpdateAnywhereCacheRequest

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

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

Deprecated: Use UpdateAnywhereCacheRequest.ProtoReflect.Descriptor instead.

func (*UpdateAnywhereCacheRequest) GetAnywhereCache

func (x *UpdateAnywhereCacheRequest) GetAnywhereCache() *AnywhereCache

func (*UpdateAnywhereCacheRequest) GetRequestId

func (x *UpdateAnywhereCacheRequest) GetRequestId() string

func (*UpdateAnywhereCacheRequest) GetUpdateMask

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

func (*UpdateAnywhereCacheRequest) ProtoMessage

func (*UpdateAnywhereCacheRequest) ProtoMessage()

func (*UpdateAnywhereCacheRequest) ProtoReflect

func (*UpdateAnywhereCacheRequest) Reset

func (x *UpdateAnywhereCacheRequest) Reset()

func (*UpdateAnywhereCacheRequest) String

func (x *UpdateAnywhereCacheRequest) String() string

UpdateFolderIntelligenceConfigRequest

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 permission on the folder.

func (*UpdateFolderIntelligenceConfigRequest) Descriptor

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

Deprecated: Use UpdateFolderIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig

func (x *UpdateFolderIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig

func (*UpdateFolderIntelligenceConfigRequest) GetRequestId

func (*UpdateFolderIntelligenceConfigRequest) GetUpdateMask

func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage

func (*UpdateFolderIntelligenceConfigRequest) ProtoMessage()

func (*UpdateFolderIntelligenceConfigRequest) ProtoReflect

func (*UpdateFolderIntelligenceConfigRequest) Reset

func (*UpdateFolderIntelligenceConfigRequest) String

UpdateOrganizationIntelligenceConfigRequest

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 permission on the organization.

func (*UpdateOrganizationIntelligenceConfigRequest) Descriptor

Deprecated: Use UpdateOrganizationIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrganizationIntelligenceConfigRequest) GetIntelligenceConfig

func (*UpdateOrganizationIntelligenceConfigRequest) GetRequestId

func (*UpdateOrganizationIntelligenceConfigRequest) GetUpdateMask

func (*UpdateOrganizationIntelligenceConfigRequest) ProtoMessage

func (*UpdateOrganizationIntelligenceConfigRequest) ProtoReflect

func (*UpdateOrganizationIntelligenceConfigRequest) Reset

func (*UpdateOrganizationIntelligenceConfigRequest) String

UpdateProjectIntelligenceConfigRequest

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 permission on the folder.

func (*UpdateProjectIntelligenceConfigRequest) Descriptor

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

Deprecated: Use UpdateProjectIntelligenceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig

func (x *UpdateProjectIntelligenceConfigRequest) GetIntelligenceConfig() *IntelligenceConfig

func (*UpdateProjectIntelligenceConfigRequest) GetRequestId

func (*UpdateProjectIntelligenceConfigRequest) GetUpdateMask

func (*UpdateProjectIntelligenceConfigRequest) ProtoMessage

func (*UpdateProjectIntelligenceConfigRequest) ProtoReflect

func (*UpdateProjectIntelligenceConfigRequest) Reset

func (*UpdateProjectIntelligenceConfigRequest) String