Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterStorageInsightsServer(s grpc.ServiceRegistrar, srv StorageInsightsServer)
- type CSVOptions
- func (*CSVOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CSVOptions) GetDelimiter() string
- func (x *CSVOptions) GetHeaderRequired() bool
- func (x *CSVOptions) GetRecordSeparator() string
- func (*CSVOptions) ProtoMessage()
- func (x *CSVOptions) ProtoReflect() protoreflect.Message
- func (x *CSVOptions) Reset()
- func (x *CSVOptions) String() string
- type CloudStorageDestinationOptions
- func (*CloudStorageDestinationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CloudStorageDestinationOptions) GetBucket() string
- func (x *CloudStorageDestinationOptions) GetDestinationPath() string
- func (*CloudStorageDestinationOptions) ProtoMessage()
- func (x *CloudStorageDestinationOptions) ProtoReflect() protoreflect.Message
- func (x *CloudStorageDestinationOptions) Reset()
- func (x *CloudStorageDestinationOptions) String() string
- type CloudStorageFilters
- func (*CloudStorageFilters) Descriptor() ([]byte, []int)deprecated
- func (x *CloudStorageFilters) GetBucket() string
- func (*CloudStorageFilters) ProtoMessage()
- func (x *CloudStorageFilters) ProtoReflect() protoreflect.Message
- func (x *CloudStorageFilters) Reset()
- func (x *CloudStorageFilters) String() string
- type CreateDatasetConfigRequest
- func (*CreateDatasetConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatasetConfigRequest) GetDatasetConfig() *DatasetConfig
- func (x *CreateDatasetConfigRequest) GetDatasetConfigId() string
- func (x *CreateDatasetConfigRequest) GetParent() string
- func (x *CreateDatasetConfigRequest) GetRequestId() string
- func (*CreateDatasetConfigRequest) ProtoMessage()
- func (x *CreateDatasetConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDatasetConfigRequest) Reset()
- func (x *CreateDatasetConfigRequest) String() string
- type CreateReportConfigRequest
- func (*CreateReportConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateReportConfigRequest) GetParent() string
- func (x *CreateReportConfigRequest) GetReportConfig() *ReportConfig
- func (x *CreateReportConfigRequest) GetRequestId() string
- func (*CreateReportConfigRequest) ProtoMessage()
- func (x *CreateReportConfigRequest) ProtoReflect() protoreflect.Message
- func (x *CreateReportConfigRequest) Reset()
- func (x *CreateReportConfigRequest) String() string
- type DatasetConfig
- func (*DatasetConfig) Descriptor() ([]byte, []int)deprecated
- func (m *DatasetConfig) GetCloudStorageBuckets() isDatasetConfig_CloudStorageBuckets
- func (m *DatasetConfig) GetCloudStorageLocations() isDatasetConfig_CloudStorageLocations
- func (x *DatasetConfig) GetCloudStorageObjectPath() string
- func (x *DatasetConfig) GetCreateTime() *timestamppb.Timestamp
- func (x *DatasetConfig) GetDatasetConfigState() DatasetConfig_ConfigState
- func (x *DatasetConfig) GetDescription() string
- func (x *DatasetConfig) GetExcludeCloudStorageBuckets() *DatasetConfig_CloudStorageBuckets
- func (x *DatasetConfig) GetExcludeCloudStorageLocations() *DatasetConfig_CloudStorageLocations
- func (x *DatasetConfig) GetIdentity() *Identity
- func (x *DatasetConfig) GetIncludeCloudStorageBuckets() *DatasetConfig_CloudStorageBuckets
- func (x *DatasetConfig) GetIncludeCloudStorageLocations() *DatasetConfig_CloudStorageLocations
- func (x *DatasetConfig) GetIncludeNewlyCreatedBuckets() bool
- func (x *DatasetConfig) GetLabels() map[string]string
- func (x *DatasetConfig) GetLink() *DatasetConfig_Link
- func (x *DatasetConfig) GetName() string
- func (x *DatasetConfig) GetOrganizationNumber() int64
- func (x *DatasetConfig) GetOrganizationScope() bool
- func (x *DatasetConfig) GetRetentionPeriodDays() int32
- func (x *DatasetConfig) GetSkipVerificationAndIngest() booldeprecated
- func (x *DatasetConfig) GetSourceFolders() *DatasetConfig_SourceFolders
- func (m *DatasetConfig) GetSourceOptions() isDatasetConfig_SourceOptions
- func (x *DatasetConfig) GetSourceProjects() *DatasetConfig_SourceProjects
- func (x *DatasetConfig) GetStatus() *status.Status
- func (x *DatasetConfig) GetUid() string
- func (x *DatasetConfig) GetUpdateTime() *timestamppb.Timestamp
- func (*DatasetConfig) ProtoMessage()
- func (x *DatasetConfig) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig) Reset()
- func (x *DatasetConfig) String() string
- type DatasetConfig_BucketErrors
- func (*DatasetConfig_BucketErrors) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_BucketErrors) GetInternalErrorCount() int64
- func (x *DatasetConfig_BucketErrors) GetNonManagementHubEntitledCount() int64deprecated
- func (x *DatasetConfig_BucketErrors) GetNonStorageIntelligenceEntitledBucketIds() []string
- func (x *DatasetConfig_BucketErrors) GetNonStorageIntelligenceEntitledCount() int64
- func (x *DatasetConfig_BucketErrors) GetPermissionDeniedBucketIds() []string
- func (x *DatasetConfig_BucketErrors) GetPermissionDeniedCount() int64
- func (x *DatasetConfig_BucketErrors) GetValidatedCount() int64
- func (*DatasetConfig_BucketErrors) ProtoMessage()
- func (x *DatasetConfig_BucketErrors) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_BucketErrors) Reset()
- func (x *DatasetConfig_BucketErrors) String() string
- type DatasetConfig_CloudStorageBuckets
- func (*DatasetConfig_CloudStorageBuckets) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_CloudStorageBuckets) GetCloudStorageBuckets() []*DatasetConfig_CloudStorageBuckets_CloudStorageBucket
- func (*DatasetConfig_CloudStorageBuckets) ProtoMessage()
- func (x *DatasetConfig_CloudStorageBuckets) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_CloudStorageBuckets) Reset()
- func (x *DatasetConfig_CloudStorageBuckets) String() string
- type DatasetConfig_CloudStorageBuckets_CloudStorageBucket
- func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetBucketName() string
- func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetBucketPrefixRegex() string
- func (m *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetCloudStorageBucket() isDatasetConfig_CloudStorageBuckets_CloudStorageBucket_CloudStorageBucket
- func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) ProtoMessage()
- func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) Reset()
- func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) String() string
- type DatasetConfig_CloudStorageBuckets_CloudStorageBucket_BucketName
- type DatasetConfig_CloudStorageBuckets_CloudStorageBucket_BucketPrefixRegex
- type DatasetConfig_CloudStorageLocations
- func (*DatasetConfig_CloudStorageLocations) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_CloudStorageLocations) GetLocations() []string
- func (*DatasetConfig_CloudStorageLocations) ProtoMessage()
- func (x *DatasetConfig_CloudStorageLocations) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_CloudStorageLocations) Reset()
- func (x *DatasetConfig_CloudStorageLocations) String() string
- type DatasetConfig_CloudStorageObjectPath
- type DatasetConfig_ConfigState
- func (DatasetConfig_ConfigState) Descriptor() protoreflect.EnumDescriptor
- func (x DatasetConfig_ConfigState) Enum() *DatasetConfig_ConfigState
- func (DatasetConfig_ConfigState) EnumDescriptor() ([]byte, []int)deprecated
- func (x DatasetConfig_ConfigState) Number() protoreflect.EnumNumber
- func (x DatasetConfig_ConfigState) String() string
- func (DatasetConfig_ConfigState) Type() protoreflect.EnumType
- type DatasetConfig_ExcludeCloudStorageBuckets
- type DatasetConfig_ExcludeCloudStorageLocations
- type DatasetConfig_IncludeCloudStorageBuckets
- type DatasetConfig_IncludeCloudStorageLocations
- type DatasetConfig_Link
- func (*DatasetConfig_Link) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_Link) GetDataset() string
- func (x *DatasetConfig_Link) GetLinked() bool
- func (*DatasetConfig_Link) ProtoMessage()
- func (x *DatasetConfig_Link) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_Link) Reset()
- func (x *DatasetConfig_Link) String() string
- type DatasetConfig_OrganizationScope
- type DatasetConfig_ProjectErrors
- func (*DatasetConfig_ProjectErrors) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_ProjectErrors) GetDestinationProjectCheckHasInternalError() bool
- func (m *DatasetConfig_ProjectErrors) GetDestinationProjectCheckResult() isDatasetConfig_ProjectErrors_DestinationProjectCheckResult
- func (x *DatasetConfig_ProjectErrors) GetDestinationProjectOrgError() bool
- func (x *DatasetConfig_ProjectErrors) GetInternalErrorCount() int64
- func (x *DatasetConfig_ProjectErrors) GetNonManagementHubEntitledErrorCount() int64deprecated
- func (x *DatasetConfig_ProjectErrors) GetNonManagementHubEntitledProjectNumbers() []int64deprecated
- func (x *DatasetConfig_ProjectErrors) GetNonStorageIntelligenceEntitledErrorCount() int64
- func (x *DatasetConfig_ProjectErrors) GetNonStorageIntelligenceEntitledProjectNumbers() []int64
- func (x *DatasetConfig_ProjectErrors) GetOutsideOrgErrorCount() int64
- func (x *DatasetConfig_ProjectErrors) GetOutsideOrgProjectNumbers() []int64
- func (x *DatasetConfig_ProjectErrors) GetValidatedCount() int64
- func (*DatasetConfig_ProjectErrors) ProtoMessage()
- func (x *DatasetConfig_ProjectErrors) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_ProjectErrors) Reset()
- func (x *DatasetConfig_ProjectErrors) String() string
- type DatasetConfig_ProjectErrors_DestinationProjectCheckHasInternalError
- type DatasetConfig_ProjectErrors_DestinationProjectOrgError
- type DatasetConfig_SourceFolders
- func (*DatasetConfig_SourceFolders) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_SourceFolders) GetFolderNumbers() []int64
- func (*DatasetConfig_SourceFolders) ProtoMessage()
- func (x *DatasetConfig_SourceFolders) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_SourceFolders) Reset()
- func (x *DatasetConfig_SourceFolders) String() string
- type DatasetConfig_SourceFolders_
- type DatasetConfig_SourceProjects
- func (*DatasetConfig_SourceProjects) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_SourceProjects) GetProjectNumbers() []int64
- func (*DatasetConfig_SourceProjects) ProtoMessage()
- func (x *DatasetConfig_SourceProjects) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_SourceProjects) Reset()
- func (x *DatasetConfig_SourceProjects) String() string
- type DatasetConfig_SourceProjects_
- type DatasetConfig_ValidationErrorsBeforeIngestion
- func (*DatasetConfig_ValidationErrorsBeforeIngestion) Descriptor() ([]byte, []int)deprecated
- func (x *DatasetConfig_ValidationErrorsBeforeIngestion) GetBucketErrors() *DatasetConfig_BucketErrors
- func (x *DatasetConfig_ValidationErrorsBeforeIngestion) GetProjectErrors() *DatasetConfig_ProjectErrors
- func (*DatasetConfig_ValidationErrorsBeforeIngestion) ProtoMessage()
- func (x *DatasetConfig_ValidationErrorsBeforeIngestion) ProtoReflect() protoreflect.Message
- func (x *DatasetConfig_ValidationErrorsBeforeIngestion) Reset()
- func (x *DatasetConfig_ValidationErrorsBeforeIngestion) String() string
- type DeleteDatasetConfigRequest
- func (*DeleteDatasetConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDatasetConfigRequest) GetName() string
- func (x *DeleteDatasetConfigRequest) GetRequestId() string
- func (*DeleteDatasetConfigRequest) ProtoMessage()
- func (x *DeleteDatasetConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDatasetConfigRequest) Reset()
- func (x *DeleteDatasetConfigRequest) String() string
- type DeleteReportConfigRequest
- func (*DeleteReportConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteReportConfigRequest) GetForce() bool
- func (x *DeleteReportConfigRequest) GetName() string
- func (x *DeleteReportConfigRequest) GetRequestId() string
- func (*DeleteReportConfigRequest) ProtoMessage()
- func (x *DeleteReportConfigRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteReportConfigRequest) Reset()
- func (x *DeleteReportConfigRequest) String() string
- type FrequencyOptions
- func (*FrequencyOptions) Descriptor() ([]byte, []int)deprecated
- func (x *FrequencyOptions) GetEndDate() *date.Date
- func (x *FrequencyOptions) GetFrequency() FrequencyOptions_Frequency
- func (x *FrequencyOptions) GetStartDate() *date.Date
- func (*FrequencyOptions) ProtoMessage()
- func (x *FrequencyOptions) ProtoReflect() protoreflect.Message
- func (x *FrequencyOptions) Reset()
- func (x *FrequencyOptions) String() string
- type FrequencyOptions_Frequency
- func (FrequencyOptions_Frequency) Descriptor() protoreflect.EnumDescriptor
- func (x FrequencyOptions_Frequency) Enum() *FrequencyOptions_Frequency
- func (FrequencyOptions_Frequency) EnumDescriptor() ([]byte, []int)deprecated
- func (x FrequencyOptions_Frequency) Number() protoreflect.EnumNumber
- func (x FrequencyOptions_Frequency) String() string
- func (FrequencyOptions_Frequency) Type() protoreflect.EnumType
- type GetDatasetConfigRequest
- func (*GetDatasetConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatasetConfigRequest) GetName() string
- func (*GetDatasetConfigRequest) ProtoMessage()
- func (x *GetDatasetConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatasetConfigRequest) Reset()
- func (x *GetDatasetConfigRequest) String() string
- type GetReportConfigRequest
- func (*GetReportConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReportConfigRequest) GetName() string
- func (*GetReportConfigRequest) ProtoMessage()
- func (x *GetReportConfigRequest) ProtoReflect() protoreflect.Message
- func (x *GetReportConfigRequest) Reset()
- func (x *GetReportConfigRequest) String() string
- type GetReportDetailRequest
- func (*GetReportDetailRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetReportDetailRequest) GetName() string
- func (*GetReportDetailRequest) ProtoMessage()
- func (x *GetReportDetailRequest) ProtoReflect() protoreflect.Message
- func (x *GetReportDetailRequest) Reset()
- func (x *GetReportDetailRequest) String() string
- type Identity
- type Identity_IdentityType
- func (Identity_IdentityType) Descriptor() protoreflect.EnumDescriptor
- func (x Identity_IdentityType) Enum() *Identity_IdentityType
- func (Identity_IdentityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Identity_IdentityType) Number() protoreflect.EnumNumber
- func (x Identity_IdentityType) String() string
- func (Identity_IdentityType) Type() protoreflect.EnumType
- type LinkDatasetRequest
- func (*LinkDatasetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *LinkDatasetRequest) GetName() string
- func (*LinkDatasetRequest) ProtoMessage()
- func (x *LinkDatasetRequest) ProtoReflect() protoreflect.Message
- func (x *LinkDatasetRequest) Reset()
- func (x *LinkDatasetRequest) String() string
- type LinkDatasetResponse
- type ListDatasetConfigsRequest
- func (*ListDatasetConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatasetConfigsRequest) GetFilter() string
- func (x *ListDatasetConfigsRequest) GetOrderBy() string
- func (x *ListDatasetConfigsRequest) GetPageSize() int32
- func (x *ListDatasetConfigsRequest) GetPageToken() string
- func (x *ListDatasetConfigsRequest) GetParent() string
- func (*ListDatasetConfigsRequest) ProtoMessage()
- func (x *ListDatasetConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatasetConfigsRequest) Reset()
- func (x *ListDatasetConfigsRequest) String() string
- type ListDatasetConfigsResponse
- func (*ListDatasetConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatasetConfigsResponse) GetDatasetConfigs() []*DatasetConfig
- func (x *ListDatasetConfigsResponse) GetNextPageToken() string
- func (x *ListDatasetConfigsResponse) GetUnreachable() []string
- func (*ListDatasetConfigsResponse) ProtoMessage()
- func (x *ListDatasetConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatasetConfigsResponse) Reset()
- func (x *ListDatasetConfigsResponse) String() string
- type ListReportConfigsRequest
- func (*ListReportConfigsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReportConfigsRequest) GetFilter() string
- func (x *ListReportConfigsRequest) GetOrderBy() string
- func (x *ListReportConfigsRequest) GetPageSize() int32
- func (x *ListReportConfigsRequest) GetPageToken() string
- func (x *ListReportConfigsRequest) GetParent() string
- func (*ListReportConfigsRequest) ProtoMessage()
- func (x *ListReportConfigsRequest) ProtoReflect() protoreflect.Message
- func (x *ListReportConfigsRequest) Reset()
- func (x *ListReportConfigsRequest) String() string
- type ListReportConfigsResponse
- func (*ListReportConfigsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReportConfigsResponse) GetNextPageToken() string
- func (x *ListReportConfigsResponse) GetReportConfigs() []*ReportConfig
- func (x *ListReportConfigsResponse) GetUnreachable() []string
- func (*ListReportConfigsResponse) ProtoMessage()
- func (x *ListReportConfigsResponse) ProtoReflect() protoreflect.Message
- func (x *ListReportConfigsResponse) Reset()
- func (x *ListReportConfigsResponse) String() string
- type ListReportDetailsRequest
- func (*ListReportDetailsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListReportDetailsRequest) GetFilter() string
- func (x *ListReportDetailsRequest) GetOrderBy() string
- func (x *ListReportDetailsRequest) GetPageSize() int32
- func (x *ListReportDetailsRequest) GetPageToken() string
- func (x *ListReportDetailsRequest) GetParent() string
- func (*ListReportDetailsRequest) ProtoMessage()
- func (x *ListReportDetailsRequest) ProtoReflect() protoreflect.Message
- func (x *ListReportDetailsRequest) Reset()
- func (x *ListReportDetailsRequest) String() string
- type ListReportDetailsResponse
- func (*ListReportDetailsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListReportDetailsResponse) GetNextPageToken() string
- func (x *ListReportDetailsResponse) GetReportDetails() []*ReportDetail
- func (x *ListReportDetailsResponse) GetUnreachable() []string
- func (*ListReportDetailsResponse) ProtoMessage()
- func (x *ListReportDetailsResponse) ProtoReflect() protoreflect.Message
- func (x *ListReportDetailsResponse) Reset()
- func (x *ListReportDetailsResponse) String() string
- type LocationMetadata
- func (*LocationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *LocationMetadata) GetDatasetConfigAvailable() bool
- func (x *LocationMetadata) GetReportConfigAvailable() bool
- func (*LocationMetadata) ProtoMessage()
- func (x *LocationMetadata) ProtoReflect() protoreflect.Message
- func (x *LocationMetadata) Reset()
- func (x *LocationMetadata) String() string
- type ObjectMetadataReportOptions
- func (*ObjectMetadataReportOptions) Descriptor() ([]byte, []int)deprecated
- func (m *ObjectMetadataReportOptions) GetDestinationOptions() isObjectMetadataReportOptions_DestinationOptions
- func (m *ObjectMetadataReportOptions) GetFilter() isObjectMetadataReportOptions_Filter
- func (x *ObjectMetadataReportOptions) GetMetadataFields() []string
- func (x *ObjectMetadataReportOptions) GetStorageDestinationOptions() *CloudStorageDestinationOptions
- func (x *ObjectMetadataReportOptions) GetStorageFilters() *CloudStorageFilters
- func (*ObjectMetadataReportOptions) ProtoMessage()
- func (x *ObjectMetadataReportOptions) ProtoReflect() protoreflect.Message
- func (x *ObjectMetadataReportOptions) Reset()
- func (x *ObjectMetadataReportOptions) String() string
- type ObjectMetadataReportOptions_StorageDestinationOptions
- type ObjectMetadataReportOptions_StorageFilters
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetRequestedCancellation() bool
- func (x *OperationMetadata) GetStatusMessage() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type ParquetOptions
- type ReportConfig
- func (*ReportConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ReportConfig) GetCreateTime() *timestamppb.Timestamp
- func (x *ReportConfig) GetCsvOptions() *CSVOptions
- func (x *ReportConfig) GetDisplayName() string
- func (x *ReportConfig) GetFrequencyOptions() *FrequencyOptions
- func (x *ReportConfig) GetLabels() map[string]string
- func (x *ReportConfig) GetName() string
- func (x *ReportConfig) GetObjectMetadataReportOptions() *ObjectMetadataReportOptions
- func (x *ReportConfig) GetParquetOptions() *ParquetOptions
- func (m *ReportConfig) GetReportFormat() isReportConfig_ReportFormat
- func (m *ReportConfig) GetReportKind() isReportConfig_ReportKind
- func (x *ReportConfig) GetUpdateTime() *timestamppb.Timestamp
- func (*ReportConfig) ProtoMessage()
- func (x *ReportConfig) ProtoReflect() protoreflect.Message
- func (x *ReportConfig) Reset()
- func (x *ReportConfig) String() string
- type ReportConfig_CsvOptions
- type ReportConfig_ObjectMetadataReportOptions
- type ReportConfig_ParquetOptions
- type ReportDetail
- func (*ReportDetail) Descriptor() ([]byte, []int)deprecated
- func (x *ReportDetail) GetLabels() map[string]string
- func (x *ReportDetail) GetName() string
- func (x *ReportDetail) GetReportMetrics() *ReportDetail_Metrics
- func (x *ReportDetail) GetReportPathPrefix() string
- func (x *ReportDetail) GetShardsCount() int64
- func (x *ReportDetail) GetSnapshotTime() *timestamppb.Timestamp
- func (x *ReportDetail) GetStatus() *status.Status
- func (x *ReportDetail) GetTargetDatetime() *datetime.DateTime
- func (*ReportDetail) ProtoMessage()
- func (x *ReportDetail) ProtoReflect() protoreflect.Message
- func (x *ReportDetail) Reset()
- func (x *ReportDetail) String() string
- type ReportDetail_Metrics
- func (*ReportDetail_Metrics) Descriptor() ([]byte, []int)deprecated
- func (x *ReportDetail_Metrics) GetProcessedRecordsCount() int64
- func (*ReportDetail_Metrics) ProtoMessage()
- func (x *ReportDetail_Metrics) ProtoReflect() protoreflect.Message
- func (x *ReportDetail_Metrics) Reset()
- func (x *ReportDetail_Metrics) String() string
- type StorageInsightsClient
- type StorageInsightsServer
- type UnimplementedStorageInsightsServer
- func (UnimplementedStorageInsightsServer) CreateDatasetConfig(context.Context, *CreateDatasetConfigRequest) (*longrunningpb.Operation, error)
- func (UnimplementedStorageInsightsServer) CreateReportConfig(context.Context, *CreateReportConfigRequest) (*ReportConfig, error)
- func (UnimplementedStorageInsightsServer) DeleteDatasetConfig(context.Context, *DeleteDatasetConfigRequest) (*longrunningpb.Operation, error)
- func (UnimplementedStorageInsightsServer) DeleteReportConfig(context.Context, *DeleteReportConfigRequest) (*emptypb.Empty, error)
- func (UnimplementedStorageInsightsServer) GetDatasetConfig(context.Context, *GetDatasetConfigRequest) (*DatasetConfig, error)
- func (UnimplementedStorageInsightsServer) GetReportConfig(context.Context, *GetReportConfigRequest) (*ReportConfig, error)
- func (UnimplementedStorageInsightsServer) GetReportDetail(context.Context, *GetReportDetailRequest) (*ReportDetail, error)
- func (UnimplementedStorageInsightsServer) LinkDataset(context.Context, *LinkDatasetRequest) (*longrunningpb.Operation, error)
- func (UnimplementedStorageInsightsServer) ListDatasetConfigs(context.Context, *ListDatasetConfigsRequest) (*ListDatasetConfigsResponse, error)
- func (UnimplementedStorageInsightsServer) ListReportConfigs(context.Context, *ListReportConfigsRequest) (*ListReportConfigsResponse, error)
- func (UnimplementedStorageInsightsServer) ListReportDetails(context.Context, *ListReportDetailsRequest) (*ListReportDetailsResponse, error)
- func (UnimplementedStorageInsightsServer) UnlinkDataset(context.Context, *UnlinkDatasetRequest) (*longrunningpb.Operation, error)
- func (UnimplementedStorageInsightsServer) UpdateDatasetConfig(context.Context, *UpdateDatasetConfigRequest) (*longrunningpb.Operation, error)
- func (UnimplementedStorageInsightsServer) UpdateReportConfig(context.Context, *UpdateReportConfigRequest) (*ReportConfig, error)
- type UnlinkDatasetRequest
- func (*UnlinkDatasetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnlinkDatasetRequest) GetName() string
- func (*UnlinkDatasetRequest) ProtoMessage()
- func (x *UnlinkDatasetRequest) ProtoReflect() protoreflect.Message
- func (x *UnlinkDatasetRequest) Reset()
- func (x *UnlinkDatasetRequest) String() string
- type UnsafeStorageInsightsServer
- type UpdateDatasetConfigRequest
- func (*UpdateDatasetConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDatasetConfigRequest) GetDatasetConfig() *DatasetConfig
- func (x *UpdateDatasetConfigRequest) GetRequestId() string
- func (x *UpdateDatasetConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDatasetConfigRequest) ProtoMessage()
- func (x *UpdateDatasetConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDatasetConfigRequest) Reset()
- func (x *UpdateDatasetConfigRequest) String() string
- type UpdateReportConfigRequest
- func (*UpdateReportConfigRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateReportConfigRequest) GetReportConfig() *ReportConfig
- func (x *UpdateReportConfigRequest) GetRequestId() string
- func (x *UpdateReportConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateReportConfigRequest) ProtoMessage()
- func (x *UpdateReportConfigRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateReportConfigRequest) Reset()
- func (x *UpdateReportConfigRequest) String() string
Constants ¶
const ( StorageInsights_ListReportConfigs_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/ListReportConfigs" StorageInsights_GetReportConfig_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/GetReportConfig" StorageInsights_CreateReportConfig_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/CreateReportConfig" StorageInsights_UpdateReportConfig_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/UpdateReportConfig" StorageInsights_DeleteReportConfig_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/DeleteReportConfig" StorageInsights_ListReportDetails_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/ListReportDetails" StorageInsights_GetReportDetail_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/GetReportDetail" StorageInsights_ListDatasetConfigs_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/ListDatasetConfigs" StorageInsights_GetDatasetConfig_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/GetDatasetConfig" StorageInsights_CreateDatasetConfig_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/CreateDatasetConfig" StorageInsights_UpdateDatasetConfig_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/UpdateDatasetConfig" StorageInsights_DeleteDatasetConfig_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/DeleteDatasetConfig" StorageInsights_LinkDataset_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/LinkDataset" StorageInsights_UnlinkDataset_FullMethodName = "/google.cloud.storageinsights.v1.StorageInsights/UnlinkDataset" )
Variables ¶
var ( FrequencyOptions_Frequency_name = map[int32]string{ 0: "FREQUENCY_UNSPECIFIED", 1: "DAILY", 2: "WEEKLY", } FrequencyOptions_Frequency_value = map[string]int32{ "FREQUENCY_UNSPECIFIED": 0, "DAILY": 1, "WEEKLY": 2, } )
Enum value maps for FrequencyOptions_Frequency.
var ( Identity_IdentityType_name = map[int32]string{ 0: "IDENTITY_TYPE_UNSPECIFIED", 1: "IDENTITY_TYPE_PER_CONFIG", 2: "IDENTITY_TYPE_PER_PROJECT", } Identity_IdentityType_value = map[string]int32{ "IDENTITY_TYPE_UNSPECIFIED": 0, "IDENTITY_TYPE_PER_CONFIG": 1, "IDENTITY_TYPE_PER_PROJECT": 2, } )
Enum value maps for Identity_IdentityType.
var ( DatasetConfig_ConfigState_name = map[int32]string{ 0: "CONFIG_STATE_UNSPECIFIED", 1: "CONFIG_STATE_ACTIVE", 2: "CONFIG_STATE_VERIFICATION_IN_PROGRESS", 3: "CONFIG_STATE_CREATED", 4: "CONFIG_STATE_PROCESSING", } DatasetConfig_ConfigState_value = map[string]int32{ "CONFIG_STATE_UNSPECIFIED": 0, "CONFIG_STATE_ACTIVE": 1, "CONFIG_STATE_VERIFICATION_IN_PROGRESS": 2, "CONFIG_STATE_CREATED": 3, "CONFIG_STATE_PROCESSING": 4, } )
Enum value maps for DatasetConfig_ConfigState.
var File_google_cloud_storageinsights_v1_storageinsights_proto protoreflect.FileDescriptor
var StorageInsights_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.storageinsights.v1.StorageInsights", HandlerType: (*StorageInsightsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListReportConfigs", Handler: _StorageInsights_ListReportConfigs_Handler, }, { MethodName: "GetReportConfig", Handler: _StorageInsights_GetReportConfig_Handler, }, { MethodName: "CreateReportConfig", Handler: _StorageInsights_CreateReportConfig_Handler, }, { MethodName: "UpdateReportConfig", Handler: _StorageInsights_UpdateReportConfig_Handler, }, { MethodName: "DeleteReportConfig", Handler: _StorageInsights_DeleteReportConfig_Handler, }, { MethodName: "ListReportDetails", Handler: _StorageInsights_ListReportDetails_Handler, }, { MethodName: "GetReportDetail", Handler: _StorageInsights_GetReportDetail_Handler, }, { MethodName: "ListDatasetConfigs", Handler: _StorageInsights_ListDatasetConfigs_Handler, }, { MethodName: "GetDatasetConfig", Handler: _StorageInsights_GetDatasetConfig_Handler, }, { MethodName: "CreateDatasetConfig", Handler: _StorageInsights_CreateDatasetConfig_Handler, }, { MethodName: "UpdateDatasetConfig", Handler: _StorageInsights_UpdateDatasetConfig_Handler, }, { MethodName: "DeleteDatasetConfig", Handler: _StorageInsights_DeleteDatasetConfig_Handler, }, { MethodName: "LinkDataset", Handler: _StorageInsights_LinkDataset_Handler, }, { MethodName: "UnlinkDataset", Handler: _StorageInsights_UnlinkDataset_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/storageinsights/v1/storageinsights.proto", }
StorageInsights_ServiceDesc is the grpc.ServiceDesc for StorageInsights service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterStorageInsightsServer ¶
func RegisterStorageInsightsServer(s grpc.ServiceRegistrar, srv StorageInsightsServer)
Types ¶
type CSVOptions ¶
type CSVOptions struct {
// Record separator characters in CSV.
RecordSeparator string `protobuf:"bytes,1,opt,name=record_separator,json=recordSeparator,proto3" json:"record_separator,omitempty"`
// Delimiter characters in CSV.
Delimiter string `protobuf:"bytes,2,opt,name=delimiter,proto3" json:"delimiter,omitempty"`
// If set, will include a header row in the CSV report.
HeaderRequired bool `protobuf:"varint,3,opt,name=header_required,json=headerRequired,proto3" json:"header_required,omitempty"`
// contains filtered or unexported fields
}
Options to configure CSV formatted reports.
func (*CSVOptions) Descriptor
deprecated
func (*CSVOptions) Descriptor() ([]byte, []int)
Deprecated: Use CSVOptions.ProtoReflect.Descriptor instead.
func (*CSVOptions) GetDelimiter ¶
func (x *CSVOptions) GetDelimiter() string
func (*CSVOptions) GetHeaderRequired ¶
func (x *CSVOptions) GetHeaderRequired() bool
func (*CSVOptions) GetRecordSeparator ¶
func (x *CSVOptions) GetRecordSeparator() string
func (*CSVOptions) ProtoMessage ¶
func (*CSVOptions) ProtoMessage()
func (*CSVOptions) ProtoReflect ¶
func (x *CSVOptions) ProtoReflect() protoreflect.Message
func (*CSVOptions) Reset ¶
func (x *CSVOptions) Reset()
func (*CSVOptions) String ¶
func (x *CSVOptions) String() string
type CloudStorageDestinationOptions ¶
type CloudStorageDestinationOptions struct {
// Destination bucket.
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
// Destination path is the path in the bucket where the report should be
// generated.
DestinationPath string `protobuf:"bytes,2,opt,name=destination_path,json=destinationPath,proto3" json:"destination_path,omitempty"`
// contains filtered or unexported fields
}
Options to store reports in storage systems. Next ID: 3
func (*CloudStorageDestinationOptions) Descriptor
deprecated
func (*CloudStorageDestinationOptions) Descriptor() ([]byte, []int)
Deprecated: Use CloudStorageDestinationOptions.ProtoReflect.Descriptor instead.
func (*CloudStorageDestinationOptions) GetBucket ¶
func (x *CloudStorageDestinationOptions) GetBucket() string
func (*CloudStorageDestinationOptions) GetDestinationPath ¶
func (x *CloudStorageDestinationOptions) GetDestinationPath() string
func (*CloudStorageDestinationOptions) ProtoMessage ¶
func (*CloudStorageDestinationOptions) ProtoMessage()
func (*CloudStorageDestinationOptions) ProtoReflect ¶
func (x *CloudStorageDestinationOptions) ProtoReflect() protoreflect.Message
func (*CloudStorageDestinationOptions) Reset ¶
func (x *CloudStorageDestinationOptions) Reset()
func (*CloudStorageDestinationOptions) String ¶
func (x *CloudStorageDestinationOptions) String() string
type CloudStorageFilters ¶
type CloudStorageFilters struct {
// Bucket for which the report will be generated.
Bucket string `protobuf:"bytes,1,opt,name=bucket,proto3" json:"bucket,omitempty"`
// contains filtered or unexported fields
}
Options to filter data on storage systems. Next ID: 2
func (*CloudStorageFilters) Descriptor
deprecated
func (*CloudStorageFilters) Descriptor() ([]byte, []int)
Deprecated: Use CloudStorageFilters.ProtoReflect.Descriptor instead.
func (*CloudStorageFilters) GetBucket ¶
func (x *CloudStorageFilters) GetBucket() string
func (*CloudStorageFilters) ProtoMessage ¶
func (*CloudStorageFilters) ProtoMessage()
func (*CloudStorageFilters) ProtoReflect ¶
func (x *CloudStorageFilters) ProtoReflect() protoreflect.Message
func (*CloudStorageFilters) Reset ¶
func (x *CloudStorageFilters) Reset()
func (*CloudStorageFilters) String ¶
func (x *CloudStorageFilters) String() string
type CreateDatasetConfigRequest ¶ added in v1.2.0
type CreateDatasetConfigRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. ID of the requesting object.
// If auto-generating ID is enabled on the server-side, remove this field and
// `dataset_config_id` from the method_signature of Create RPC
// Note: The value should not contain any hyphens.
DatasetConfigId string `protobuf:"bytes,2,opt,name=dataset_config_id,json=datasetConfigId,proto3" json:"dataset_config_id,omitempty"`
// Required. The resource being created
DatasetConfig *DatasetConfig `protobuf:"bytes,3,opt,name=dataset_config,json=datasetConfig,proto3" json:"dataset_config,omitempty"`
// Optional. A unique identifier for your request.
// Specify the request ID if you need to retry the request.
// If you retry the request with the same ID within 60 minutes, the server
// ignores the request if it has already completed the original request.
//
// For example, if your initial request times out and you retry the request
// using the same request ID, the server recognizes the original request and
// does not process the new request.
//
// The request ID must be a valid UUID and cannot be a zero UUID
// (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [`CreateDatasetConfig`][google.cloud.storageinsights.v1.StorageInsights.CreateDatasetConfig]
func (*CreateDatasetConfigRequest) Descriptor
deprecated
added in
v1.2.0
func (*CreateDatasetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDatasetConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateDatasetConfigRequest) GetDatasetConfig ¶ added in v1.2.0
func (x *CreateDatasetConfigRequest) GetDatasetConfig() *DatasetConfig
func (*CreateDatasetConfigRequest) GetDatasetConfigId ¶ added in v1.2.0
func (x *CreateDatasetConfigRequest) GetDatasetConfigId() string
func (*CreateDatasetConfigRequest) GetParent ¶ added in v1.2.0
func (x *CreateDatasetConfigRequest) GetParent() string
func (*CreateDatasetConfigRequest) GetRequestId ¶ added in v1.2.0
func (x *CreateDatasetConfigRequest) GetRequestId() string
func (*CreateDatasetConfigRequest) ProtoMessage ¶ added in v1.2.0
func (*CreateDatasetConfigRequest) ProtoMessage()
func (*CreateDatasetConfigRequest) ProtoReflect ¶ added in v1.2.0
func (x *CreateDatasetConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateDatasetConfigRequest) Reset ¶ added in v1.2.0
func (x *CreateDatasetConfigRequest) Reset()
func (*CreateDatasetConfigRequest) String ¶ added in v1.2.0
func (x *CreateDatasetConfigRequest) String() string
type CreateReportConfigRequest ¶
type CreateReportConfigRequest struct {
// Required. Value for parent.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The resource being created
ReportConfig *ReportConfig `protobuf:"bytes,3,opt,name=report_config,json=reportConfig,proto3" json:"report_config,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for creating a ReportConfig
func (*CreateReportConfigRequest) Descriptor
deprecated
func (*CreateReportConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateReportConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateReportConfigRequest) GetParent ¶
func (x *CreateReportConfigRequest) GetParent() string
func (*CreateReportConfigRequest) GetReportConfig ¶
func (x *CreateReportConfigRequest) GetReportConfig() *ReportConfig
func (*CreateReportConfigRequest) GetRequestId ¶
func (x *CreateReportConfigRequest) GetRequestId() string
func (*CreateReportConfigRequest) ProtoMessage ¶
func (*CreateReportConfigRequest) ProtoMessage()
func (*CreateReportConfigRequest) ProtoReflect ¶
func (x *CreateReportConfigRequest) ProtoReflect() protoreflect.Message
func (*CreateReportConfigRequest) Reset ¶
func (x *CreateReportConfigRequest) Reset()
func (*CreateReportConfigRequest) String ¶
func (x *CreateReportConfigRequest) String() string
type DatasetConfig ¶ added in v1.2.0
type DatasetConfig struct {
// Identifier. name of resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The UTC time at which the dataset configuration was created.
// This is auto-populated.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The UTC time at which the dataset configuration was last
// updated. This is auto-populated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Labels as key value pairs
Labels map[string]string `` /* 153-byte string literal not displayed */
// Output only. System generated unique identifier for the resource.
Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. Organization resource ID that the source projects should belong
// to. Projects that do not belong to the provided organization are not
// considered when creating the dataset.
OrganizationNumber int64 `protobuf:"varint,22,opt,name=organization_number,json=organizationNumber,proto3" json:"organization_number,omitempty"`
// Defines the options for providing source identifiers for the dataset.
//
// Types that are assignable to SourceOptions:
//
// *DatasetConfig_SourceProjects_
// *DatasetConfig_SourceFolders_
// *DatasetConfig_OrganizationScope
// *DatasetConfig_CloudStorageObjectPath
SourceOptions isDatasetConfig_SourceOptions `protobuf_oneof:"source_options"`
// Cloud Storage locations to include or exclude.
//
// Types that are assignable to CloudStorageLocations:
//
// *DatasetConfig_IncludeCloudStorageLocations
// *DatasetConfig_ExcludeCloudStorageLocations
CloudStorageLocations isDatasetConfig_CloudStorageLocations `protobuf_oneof:"cloud_storage_locations"`
// Cloud Storage buckets to include or exclude.
//
// Types that are assignable to CloudStorageBuckets:
//
// *DatasetConfig_IncludeCloudStorageBuckets
// *DatasetConfig_ExcludeCloudStorageBuckets
CloudStorageBuckets isDatasetConfig_CloudStorageBuckets `protobuf_oneof:"cloud_storage_buckets"`
// If set to `true`, the request includes all the newly created buckets in the
// dataset that meet the inclusion and exclusion rules.
IncludeNewlyCreatedBuckets bool `` /* 145-byte string literal not displayed */
// Optional. If set to `false`, then all the permission checks must be
// successful before the system can start ingesting data. This field can only
// be updated before the system ingests data for the first time. Any attempt
// to modify the field after data ingestion starts results in an error.
//
// Deprecated: Marked as deprecated in google/cloud/storageinsights/v1/storageinsights.proto.
SkipVerificationAndIngest bool `` /* 142-byte string literal not displayed */
// Number of days of history that must be retained.
RetentionPeriodDays int32 `protobuf:"varint,14,opt,name=retention_period_days,json=retentionPeriodDays,proto3" json:"retention_period_days,omitempty"`
// Details of the linked dataset.
Link *DatasetConfig_Link `protobuf:"bytes,15,opt,name=link,proto3" json:"link,omitempty"`
// Identity used by this `datasetConfig`.
Identity *Identity `protobuf:"bytes,16,opt,name=identity,proto3" json:"identity,omitempty"`
// Output only. Status of the `datasetConfig`.
Status *status.Status `protobuf:"bytes,17,opt,name=status,proto3" json:"status,omitempty"`
// Output only. State of the `datasetConfig`.
DatasetConfigState DatasetConfig_ConfigState `` /* 182-byte string literal not displayed */
// Optional. A user-provided description for the dataset configuration.
//
// Maximum length: 256 characters.
Description string `protobuf:"bytes,20,opt,name=description,proto3" json:"description,omitempty"`
// contains filtered or unexported fields
}
Message describing the dataset configuration properties. For more information, see [Dataset configuration properties](https://cloud.google.com/storage/docs/insights/datasets#dataset-config).
func (*DatasetConfig) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig.ProtoReflect.Descriptor instead.
func (*DatasetConfig) GetCloudStorageBuckets ¶ added in v1.2.0
func (m *DatasetConfig) GetCloudStorageBuckets() isDatasetConfig_CloudStorageBuckets
func (*DatasetConfig) GetCloudStorageLocations ¶ added in v1.2.0
func (m *DatasetConfig) GetCloudStorageLocations() isDatasetConfig_CloudStorageLocations
func (*DatasetConfig) GetCloudStorageObjectPath ¶ added in v1.2.0
func (x *DatasetConfig) GetCloudStorageObjectPath() string
func (*DatasetConfig) GetCreateTime ¶ added in v1.2.0
func (x *DatasetConfig) GetCreateTime() *timestamppb.Timestamp
func (*DatasetConfig) GetDatasetConfigState ¶ added in v1.2.0
func (x *DatasetConfig) GetDatasetConfigState() DatasetConfig_ConfigState
func (*DatasetConfig) GetDescription ¶ added in v1.2.0
func (x *DatasetConfig) GetDescription() string
func (*DatasetConfig) GetExcludeCloudStorageBuckets ¶ added in v1.2.0
func (x *DatasetConfig) GetExcludeCloudStorageBuckets() *DatasetConfig_CloudStorageBuckets
func (*DatasetConfig) GetExcludeCloudStorageLocations ¶ added in v1.2.0
func (x *DatasetConfig) GetExcludeCloudStorageLocations() *DatasetConfig_CloudStorageLocations
func (*DatasetConfig) GetIdentity ¶ added in v1.2.0
func (x *DatasetConfig) GetIdentity() *Identity
func (*DatasetConfig) GetIncludeCloudStorageBuckets ¶ added in v1.2.0
func (x *DatasetConfig) GetIncludeCloudStorageBuckets() *DatasetConfig_CloudStorageBuckets
func (*DatasetConfig) GetIncludeCloudStorageLocations ¶ added in v1.2.0
func (x *DatasetConfig) GetIncludeCloudStorageLocations() *DatasetConfig_CloudStorageLocations
func (*DatasetConfig) GetIncludeNewlyCreatedBuckets ¶ added in v1.2.0
func (x *DatasetConfig) GetIncludeNewlyCreatedBuckets() bool
func (*DatasetConfig) GetLabels ¶ added in v1.2.0
func (x *DatasetConfig) GetLabels() map[string]string
func (*DatasetConfig) GetLink ¶ added in v1.2.0
func (x *DatasetConfig) GetLink() *DatasetConfig_Link
func (*DatasetConfig) GetName ¶ added in v1.2.0
func (x *DatasetConfig) GetName() string
func (*DatasetConfig) GetOrganizationNumber ¶ added in v1.2.0
func (x *DatasetConfig) GetOrganizationNumber() int64
func (*DatasetConfig) GetOrganizationScope ¶ added in v1.2.0
func (x *DatasetConfig) GetOrganizationScope() bool
func (*DatasetConfig) GetRetentionPeriodDays ¶ added in v1.2.0
func (x *DatasetConfig) GetRetentionPeriodDays() int32
func (*DatasetConfig) GetSkipVerificationAndIngest
deprecated
added in
v1.2.0
func (x *DatasetConfig) GetSkipVerificationAndIngest() bool
Deprecated: Marked as deprecated in google/cloud/storageinsights/v1/storageinsights.proto.
func (*DatasetConfig) GetSourceFolders ¶ added in v1.2.0
func (x *DatasetConfig) GetSourceFolders() *DatasetConfig_SourceFolders
func (*DatasetConfig) GetSourceOptions ¶ added in v1.2.0
func (m *DatasetConfig) GetSourceOptions() isDatasetConfig_SourceOptions
func (*DatasetConfig) GetSourceProjects ¶ added in v1.2.0
func (x *DatasetConfig) GetSourceProjects() *DatasetConfig_SourceProjects
func (*DatasetConfig) GetStatus ¶ added in v1.2.0
func (x *DatasetConfig) GetStatus() *status.Status
func (*DatasetConfig) GetUid ¶ added in v1.2.0
func (x *DatasetConfig) GetUid() string
func (*DatasetConfig) GetUpdateTime ¶ added in v1.2.0
func (x *DatasetConfig) GetUpdateTime() *timestamppb.Timestamp
func (*DatasetConfig) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig) ProtoMessage()
func (*DatasetConfig) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig) ProtoReflect() protoreflect.Message
func (*DatasetConfig) Reset ¶ added in v1.2.0
func (x *DatasetConfig) Reset()
func (*DatasetConfig) String ¶ added in v1.2.0
func (x *DatasetConfig) String() string
type DatasetConfig_BucketErrors ¶ added in v1.2.0
type DatasetConfig_BucketErrors struct {
// Optional. Count of successfully validated buckets.
ValidatedCount int64 `protobuf:"varint,1,opt,name=validated_count,json=validatedCount,proto3" json:"validated_count,omitempty"`
// Optional. Count of buckets with permission denied errors.
PermissionDeniedCount int64 `` /* 127-byte string literal not displayed */
// Optional. Subset of bucket names that have permission denied.
PermissionDeniedBucketIds []string `` /* 140-byte string literal not displayed */
// Optional. Count of buckets that are not subscribed to Storage
// Intelligence.
//
// Deprecated: Marked as deprecated in google/cloud/storageinsights/v1/storageinsights.proto.
NonManagementHubEntitledCount int64 `` /* 155-byte string literal not displayed */
// Optional. Number of buckets that encountered internal errors during the
// validation process. These buckets are automatically retried in subsequent
// validation attempts.
InternalErrorCount int64 `protobuf:"varint,4,opt,name=internal_error_count,json=internalErrorCount,proto3" json:"internal_error_count,omitempty"`
// Optional. Count of buckets that are not subscribed to Storage
// Intelligence.
NonStorageIntelligenceEntitledCount int64 `` /* 173-byte string literal not displayed */
// Optional. Subset of bucket names that are not subscribed to Storage
// Intelligence.
NonStorageIntelligenceEntitledBucketIds []string `` /* 186-byte string literal not displayed */
// contains filtered or unexported fields
}
Provides a summary of the bucket level error statistics.
func (*DatasetConfig_BucketErrors) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_BucketErrors) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_BucketErrors.ProtoReflect.Descriptor instead.
func (*DatasetConfig_BucketErrors) GetInternalErrorCount ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) GetInternalErrorCount() int64
func (*DatasetConfig_BucketErrors) GetNonManagementHubEntitledCount
deprecated
added in
v1.2.0
func (x *DatasetConfig_BucketErrors) GetNonManagementHubEntitledCount() int64
Deprecated: Marked as deprecated in google/cloud/storageinsights/v1/storageinsights.proto.
func (*DatasetConfig_BucketErrors) GetNonStorageIntelligenceEntitledBucketIds ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) GetNonStorageIntelligenceEntitledBucketIds() []string
func (*DatasetConfig_BucketErrors) GetNonStorageIntelligenceEntitledCount ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) GetNonStorageIntelligenceEntitledCount() int64
func (*DatasetConfig_BucketErrors) GetPermissionDeniedBucketIds ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) GetPermissionDeniedBucketIds() []string
func (*DatasetConfig_BucketErrors) GetPermissionDeniedCount ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) GetPermissionDeniedCount() int64
func (*DatasetConfig_BucketErrors) GetValidatedCount ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) GetValidatedCount() int64
func (*DatasetConfig_BucketErrors) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_BucketErrors) ProtoMessage()
func (*DatasetConfig_BucketErrors) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) ProtoReflect() protoreflect.Message
func (*DatasetConfig_BucketErrors) Reset ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) Reset()
func (*DatasetConfig_BucketErrors) String ¶ added in v1.2.0
func (x *DatasetConfig_BucketErrors) String() string
type DatasetConfig_CloudStorageBuckets ¶ added in v1.2.0
type DatasetConfig_CloudStorageBuckets struct {
CloudStorageBuckets []*DatasetConfig_CloudStorageBuckets_CloudStorageBucket `protobuf:"bytes,1,rep,name=cloud_storage_buckets,json=cloudStorageBuckets,proto3" json:"cloud_storage_buckets,omitempty"`
// contains filtered or unexported fields
}
Collection of Cloud Storage buckets.
func (*DatasetConfig_CloudStorageBuckets) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_CloudStorageBuckets) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_CloudStorageBuckets.ProtoReflect.Descriptor instead.
func (*DatasetConfig_CloudStorageBuckets) GetCloudStorageBuckets ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets) GetCloudStorageBuckets() []*DatasetConfig_CloudStorageBuckets_CloudStorageBucket
func (*DatasetConfig_CloudStorageBuckets) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_CloudStorageBuckets) ProtoMessage()
func (*DatasetConfig_CloudStorageBuckets) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets) ProtoReflect() protoreflect.Message
func (*DatasetConfig_CloudStorageBuckets) Reset ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets) Reset()
func (*DatasetConfig_CloudStorageBuckets) String ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets) String() string
type DatasetConfig_CloudStorageBuckets_CloudStorageBucket ¶ added in v1.2.0
type DatasetConfig_CloudStorageBuckets_CloudStorageBucket struct {
// Types that are assignable to CloudStorageBucket:
//
// *DatasetConfig_CloudStorageBuckets_CloudStorageBucket_BucketName
// *DatasetConfig_CloudStorageBuckets_CloudStorageBucket_BucketPrefixRegex
CloudStorageBucket isDatasetConfig_CloudStorageBuckets_CloudStorageBucket_CloudStorageBucket `protobuf_oneof:"cloud_storage_bucket"`
// contains filtered or unexported fields
}
Defines the bucket by its name or a regex pattern to match buckets.
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_CloudStorageBuckets_CloudStorageBucket.ProtoReflect.Descriptor instead.
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetBucketName ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetBucketName() string
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetBucketPrefixRegex ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetBucketPrefixRegex() string
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetCloudStorageBucket ¶ added in v1.2.0
func (m *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) GetCloudStorageBucket() isDatasetConfig_CloudStorageBuckets_CloudStorageBucket_CloudStorageBucket
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) ProtoMessage()
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) ProtoReflect() protoreflect.Message
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) Reset ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) Reset()
func (*DatasetConfig_CloudStorageBuckets_CloudStorageBucket) String ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageBuckets_CloudStorageBucket) String() string
type DatasetConfig_CloudStorageBuckets_CloudStorageBucket_BucketName ¶ added in v1.2.0
type DatasetConfig_CloudStorageBuckets_CloudStorageBucket_BucketName struct {
// Cloud Storage bucket name.
BucketName string `protobuf:"bytes,1,opt,name=bucket_name,json=bucketName,proto3,oneof"`
}
type DatasetConfig_CloudStorageBuckets_CloudStorageBucket_BucketPrefixRegex ¶ added in v1.2.0
type DatasetConfig_CloudStorageBuckets_CloudStorageBucket_BucketPrefixRegex struct {
// A regex pattern for bucket names matching the regex. Regex should
// follow the syntax specified in `google/re2` on GitHub.
BucketPrefixRegex string `protobuf:"bytes,2,opt,name=bucket_prefix_regex,json=bucketPrefixRegex,proto3,oneof"`
}
type DatasetConfig_CloudStorageLocations ¶ added in v1.2.0
type DatasetConfig_CloudStorageLocations struct {
Locations []string `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
// contains filtered or unexported fields
}
Collection of Cloud Storage locations.
func (*DatasetConfig_CloudStorageLocations) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_CloudStorageLocations) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_CloudStorageLocations.ProtoReflect.Descriptor instead.
func (*DatasetConfig_CloudStorageLocations) GetLocations ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageLocations) GetLocations() []string
func (*DatasetConfig_CloudStorageLocations) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_CloudStorageLocations) ProtoMessage()
func (*DatasetConfig_CloudStorageLocations) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageLocations) ProtoReflect() protoreflect.Message
func (*DatasetConfig_CloudStorageLocations) Reset ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageLocations) Reset()
func (*DatasetConfig_CloudStorageLocations) String ¶ added in v1.2.0
func (x *DatasetConfig_CloudStorageLocations) String() string
type DatasetConfig_CloudStorageObjectPath ¶ added in v1.2.0
type DatasetConfig_CloudStorageObjectPath struct {
// Input only. Cloud Storage object path containing a list of
// project or folder numbers to include in the dataset;
// it cannot contain a mix of project and folders.
//
// The object must be a text file where each line has one of the following
// entries:
//
// - Project number, formatted as `projects/{project_number}`, for example,
// `projects/1234567890`.
// - Folder identifier, formatted as `folders/{folder_number}`, for example,
// `folders/9876543210`.
// Path must be in the format `gs://{bucket_name}/{object_name}`.
CloudStorageObjectPath string `protobuf:"bytes,21,opt,name=cloud_storage_object_path,json=cloudStorageObjectPath,proto3,oneof"`
}
type DatasetConfig_ConfigState ¶ added in v1.2.0
type DatasetConfig_ConfigState int32
State of the configuration.
const ( // Unspecified state. DatasetConfig_CONFIG_STATE_UNSPECIFIED DatasetConfig_ConfigState = 0 // Active configuration indicates that the configuration is // actively ingesting data. DatasetConfig_CONFIG_STATE_ACTIVE DatasetConfig_ConfigState = 1 // In this state, the configuration is being verified for various // permissions. DatasetConfig_CONFIG_STATE_VERIFICATION_IN_PROGRESS DatasetConfig_ConfigState = 2 // Configuration is created and further processing needs to happen. DatasetConfig_CONFIG_STATE_CREATED DatasetConfig_ConfigState = 3 // Configuration is under processing DatasetConfig_CONFIG_STATE_PROCESSING DatasetConfig_ConfigState = 4 )
func (DatasetConfig_ConfigState) Descriptor ¶ added in v1.2.0
func (DatasetConfig_ConfigState) Descriptor() protoreflect.EnumDescriptor
func (DatasetConfig_ConfigState) Enum ¶ added in v1.2.0
func (x DatasetConfig_ConfigState) Enum() *DatasetConfig_ConfigState
func (DatasetConfig_ConfigState) EnumDescriptor
deprecated
added in
v1.2.0
func (DatasetConfig_ConfigState) EnumDescriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_ConfigState.Descriptor instead.
func (DatasetConfig_ConfigState) Number ¶ added in v1.2.0
func (x DatasetConfig_ConfigState) Number() protoreflect.EnumNumber
func (DatasetConfig_ConfigState) String ¶ added in v1.2.0
func (x DatasetConfig_ConfigState) String() string
func (DatasetConfig_ConfigState) Type ¶ added in v1.2.0
func (DatasetConfig_ConfigState) Type() protoreflect.EnumType
type DatasetConfig_ExcludeCloudStorageBuckets ¶ added in v1.2.0
type DatasetConfig_ExcludeCloudStorageBuckets struct {
ExcludeCloudStorageBuckets *DatasetConfig_CloudStorageBuckets `protobuf:"bytes,11,opt,name=exclude_cloud_storage_buckets,json=excludeCloudStorageBuckets,proto3,oneof"`
}
type DatasetConfig_ExcludeCloudStorageLocations ¶ added in v1.2.0
type DatasetConfig_ExcludeCloudStorageLocations struct {
ExcludeCloudStorageLocations *DatasetConfig_CloudStorageLocations `protobuf:"bytes,9,opt,name=exclude_cloud_storage_locations,json=excludeCloudStorageLocations,proto3,oneof"`
}
type DatasetConfig_IncludeCloudStorageBuckets ¶ added in v1.2.0
type DatasetConfig_IncludeCloudStorageBuckets struct {
IncludeCloudStorageBuckets *DatasetConfig_CloudStorageBuckets `protobuf:"bytes,10,opt,name=include_cloud_storage_buckets,json=includeCloudStorageBuckets,proto3,oneof"`
}
type DatasetConfig_IncludeCloudStorageLocations ¶ added in v1.2.0
type DatasetConfig_IncludeCloudStorageLocations struct {
IncludeCloudStorageLocations *DatasetConfig_CloudStorageLocations `protobuf:"bytes,8,opt,name=include_cloud_storage_locations,json=includeCloudStorageLocations,proto3,oneof"`
}
type DatasetConfig_Link ¶ added in v1.2.0
type DatasetConfig_Link struct {
// Output only. Dataset name for linked dataset.
Dataset string `protobuf:"bytes,1,opt,name=dataset,proto3" json:"dataset,omitempty"`
// Output only. State of the linked dataset.
Linked bool `protobuf:"varint,2,opt,name=linked,proto3" json:"linked,omitempty"`
// contains filtered or unexported fields
}
Defines the details about the linked dataset.
func (*DatasetConfig_Link) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_Link) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_Link.ProtoReflect.Descriptor instead.
func (*DatasetConfig_Link) GetDataset ¶ added in v1.2.0
func (x *DatasetConfig_Link) GetDataset() string
func (*DatasetConfig_Link) GetLinked ¶ added in v1.2.0
func (x *DatasetConfig_Link) GetLinked() bool
func (*DatasetConfig_Link) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_Link) ProtoMessage()
func (*DatasetConfig_Link) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_Link) ProtoReflect() protoreflect.Message
func (*DatasetConfig_Link) Reset ¶ added in v1.2.0
func (x *DatasetConfig_Link) Reset()
func (*DatasetConfig_Link) String ¶ added in v1.2.0
func (x *DatasetConfig_Link) String() string
type DatasetConfig_OrganizationScope ¶ added in v1.2.0
type DatasetConfig_OrganizationScope struct {
// Defines the options for providing a source organization for the dataset.
OrganizationScope bool `protobuf:"varint,25,opt,name=organization_scope,json=organizationScope,proto3,oneof"`
}
type DatasetConfig_ProjectErrors ¶ added in v1.2.0
type DatasetConfig_ProjectErrors struct {
// Optional. Count of successfully validated projects.
ValidatedCount *int64 `protobuf:"varint,1,opt,name=validated_count,json=validatedCount,proto3,oneof" json:"validated_count,omitempty"`
// Optional. Count of projects which are not in the same organization.
OutsideOrgErrorCount *int64 `` /* 132-byte string literal not displayed */
// Optional. Subset of project numbers which are not in the same
// organization.
OutsideOrgProjectNumbers []int64 `` /* 145-byte string literal not displayed */
// Optional. Count of projects that are not subscribed to Storage
// Intelligence.
//
// Deprecated: Marked as deprecated in google/cloud/storageinsights/v1/storageinsights.proto.
NonManagementHubEntitledErrorCount *int64 `` /* 178-byte string literal not displayed */
// Optional. Subset of project numbers that are not subscribed to Storage
// Intelligence.
//
// Deprecated: Marked as deprecated in google/cloud/storageinsights/v1/storageinsights.proto.
NonManagementHubEntitledProjectNumbers []int64 `` /* 191-byte string literal not displayed */
// Optional. Count of projects that are not subscribed to Storage
// Intelligence.
NonStorageIntelligenceEntitledErrorCount *int64 `` /* 196-byte string literal not displayed */
// Optional. Subset of project numbers that are not subscribed to Storage
// Intelligence.
NonStorageIntelligenceEntitledProjectNumbers []int64 `` /* 210-byte string literal not displayed */
// Optional. Number of projects that encountered internal errors during
// validation and are automatically retried.
InternalErrorCount *int64 `protobuf:"varint,4,opt,name=internal_error_count,json=internalErrorCount,proto3,oneof" json:"internal_error_count,omitempty"`
// The destination project check result. It indicates whether the project
// is in the correct organization or if an internal error occurred during
// the check.
//
// Types that are assignable to DestinationProjectCheckResult:
//
// *DatasetConfig_ProjectErrors_DestinationProjectOrgError
// *DatasetConfig_ProjectErrors_DestinationProjectCheckHasInternalError
DestinationProjectCheckResult isDatasetConfig_ProjectErrors_DestinationProjectCheckResult `protobuf_oneof:"destination_project_check_result"`
// contains filtered or unexported fields
}
Provides a summary of the project level error statistics.
func (*DatasetConfig_ProjectErrors) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_ProjectErrors) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_ProjectErrors.ProtoReflect.Descriptor instead.
func (*DatasetConfig_ProjectErrors) GetDestinationProjectCheckHasInternalError ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) GetDestinationProjectCheckHasInternalError() bool
func (*DatasetConfig_ProjectErrors) GetDestinationProjectCheckResult ¶ added in v1.2.0
func (m *DatasetConfig_ProjectErrors) GetDestinationProjectCheckResult() isDatasetConfig_ProjectErrors_DestinationProjectCheckResult
func (*DatasetConfig_ProjectErrors) GetDestinationProjectOrgError ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) GetDestinationProjectOrgError() bool
func (*DatasetConfig_ProjectErrors) GetInternalErrorCount ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) GetInternalErrorCount() int64
func (*DatasetConfig_ProjectErrors) GetNonManagementHubEntitledErrorCount
deprecated
added in
v1.2.0
func (x *DatasetConfig_ProjectErrors) GetNonManagementHubEntitledErrorCount() int64
Deprecated: Marked as deprecated in google/cloud/storageinsights/v1/storageinsights.proto.
func (*DatasetConfig_ProjectErrors) GetNonManagementHubEntitledProjectNumbers
deprecated
added in
v1.2.0
func (x *DatasetConfig_ProjectErrors) GetNonManagementHubEntitledProjectNumbers() []int64
Deprecated: Marked as deprecated in google/cloud/storageinsights/v1/storageinsights.proto.
func (*DatasetConfig_ProjectErrors) GetNonStorageIntelligenceEntitledErrorCount ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) GetNonStorageIntelligenceEntitledErrorCount() int64
func (*DatasetConfig_ProjectErrors) GetNonStorageIntelligenceEntitledProjectNumbers ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) GetNonStorageIntelligenceEntitledProjectNumbers() []int64
func (*DatasetConfig_ProjectErrors) GetOutsideOrgErrorCount ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) GetOutsideOrgErrorCount() int64
func (*DatasetConfig_ProjectErrors) GetOutsideOrgProjectNumbers ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) GetOutsideOrgProjectNumbers() []int64
func (*DatasetConfig_ProjectErrors) GetValidatedCount ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) GetValidatedCount() int64
func (*DatasetConfig_ProjectErrors) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_ProjectErrors) ProtoMessage()
func (*DatasetConfig_ProjectErrors) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) ProtoReflect() protoreflect.Message
func (*DatasetConfig_ProjectErrors) Reset ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) Reset()
func (*DatasetConfig_ProjectErrors) String ¶ added in v1.2.0
func (x *DatasetConfig_ProjectErrors) String() string
type DatasetConfig_ProjectErrors_DestinationProjectCheckHasInternalError ¶ added in v1.2.0
type DatasetConfig_ProjectErrors_DestinationProjectCheckHasInternalError struct {
// Optional. Indicates whether the destination project check failed due to
// an internal error. If `true`, the system automatically retries the
// check.
DestinationProjectCheckHasInternalError bool `` /* 131-byte string literal not displayed */
}
type DatasetConfig_ProjectErrors_DestinationProjectOrgError ¶ added in v1.2.0
type DatasetConfig_ProjectErrors_DestinationProjectOrgError struct {
// Optional. Indicates if the destination project resides within the same
// organization as the source project.
DestinationProjectOrgError bool `protobuf:"varint,5,opt,name=destination_project_org_error,json=destinationProjectOrgError,proto3,oneof"`
}
type DatasetConfig_SourceFolders ¶ added in v1.2.0
type DatasetConfig_SourceFolders struct {
// Optional. The list of folder numbers to include in the dataset.
FolderNumbers []int64 `protobuf:"varint,1,rep,packed,name=folder_numbers,json=folderNumbers,proto3" json:"folder_numbers,omitempty"`
// contains filtered or unexported fields
}
Specifies a set of folders to include in the dataset
func (*DatasetConfig_SourceFolders) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_SourceFolders) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_SourceFolders.ProtoReflect.Descriptor instead.
func (*DatasetConfig_SourceFolders) GetFolderNumbers ¶ added in v1.2.0
func (x *DatasetConfig_SourceFolders) GetFolderNumbers() []int64
func (*DatasetConfig_SourceFolders) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_SourceFolders) ProtoMessage()
func (*DatasetConfig_SourceFolders) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_SourceFolders) ProtoReflect() protoreflect.Message
func (*DatasetConfig_SourceFolders) Reset ¶ added in v1.2.0
func (x *DatasetConfig_SourceFolders) Reset()
func (*DatasetConfig_SourceFolders) String ¶ added in v1.2.0
func (x *DatasetConfig_SourceFolders) String() string
type DatasetConfig_SourceFolders_ ¶ added in v1.2.0
type DatasetConfig_SourceFolders_ struct {
// Defines the options for providing source folders for the dataset.
SourceFolders *DatasetConfig_SourceFolders `protobuf:"bytes,24,opt,name=source_folders,json=sourceFolders,proto3,oneof"`
}
type DatasetConfig_SourceProjects ¶ added in v1.2.0
type DatasetConfig_SourceProjects struct {
ProjectNumbers []int64 `protobuf:"varint,1,rep,packed,name=project_numbers,json=projectNumbers,proto3" json:"project_numbers,omitempty"`
// contains filtered or unexported fields
}
Collection of project numbers
func (*DatasetConfig_SourceProjects) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_SourceProjects) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_SourceProjects.ProtoReflect.Descriptor instead.
func (*DatasetConfig_SourceProjects) GetProjectNumbers ¶ added in v1.2.0
func (x *DatasetConfig_SourceProjects) GetProjectNumbers() []int64
func (*DatasetConfig_SourceProjects) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_SourceProjects) ProtoMessage()
func (*DatasetConfig_SourceProjects) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_SourceProjects) ProtoReflect() protoreflect.Message
func (*DatasetConfig_SourceProjects) Reset ¶ added in v1.2.0
func (x *DatasetConfig_SourceProjects) Reset()
func (*DatasetConfig_SourceProjects) String ¶ added in v1.2.0
func (x *DatasetConfig_SourceProjects) String() string
type DatasetConfig_SourceProjects_ ¶ added in v1.2.0
type DatasetConfig_SourceProjects_ struct {
// Defines the options for providing source projects for the dataset.
SourceProjects *DatasetConfig_SourceProjects `protobuf:"bytes,7,opt,name=source_projects,json=sourceProjects,proto3,oneof"`
}
type DatasetConfig_ValidationErrorsBeforeIngestion ¶ added in v1.2.0
type DatasetConfig_ValidationErrorsBeforeIngestion struct {
// Optional. Provides a summary of the bucket level error stats.
BucketErrors *DatasetConfig_BucketErrors `protobuf:"bytes,1,opt,name=bucket_errors,json=bucketErrors,proto3" json:"bucket_errors,omitempty"`
// Optional. Provides a summary of the project level error stats.
ProjectErrors *DatasetConfig_ProjectErrors `protobuf:"bytes,2,opt,name=project_errors,json=projectErrors,proto3" json:"project_errors,omitempty"`
// contains filtered or unexported fields
}
Summary of validation errors that occurred during the verification phase.
func (*DatasetConfig_ValidationErrorsBeforeIngestion) Descriptor
deprecated
added in
v1.2.0
func (*DatasetConfig_ValidationErrorsBeforeIngestion) Descriptor() ([]byte, []int)
Deprecated: Use DatasetConfig_ValidationErrorsBeforeIngestion.ProtoReflect.Descriptor instead.
func (*DatasetConfig_ValidationErrorsBeforeIngestion) GetBucketErrors ¶ added in v1.2.0
func (x *DatasetConfig_ValidationErrorsBeforeIngestion) GetBucketErrors() *DatasetConfig_BucketErrors
func (*DatasetConfig_ValidationErrorsBeforeIngestion) GetProjectErrors ¶ added in v1.2.0
func (x *DatasetConfig_ValidationErrorsBeforeIngestion) GetProjectErrors() *DatasetConfig_ProjectErrors
func (*DatasetConfig_ValidationErrorsBeforeIngestion) ProtoMessage ¶ added in v1.2.0
func (*DatasetConfig_ValidationErrorsBeforeIngestion) ProtoMessage()
func (*DatasetConfig_ValidationErrorsBeforeIngestion) ProtoReflect ¶ added in v1.2.0
func (x *DatasetConfig_ValidationErrorsBeforeIngestion) ProtoReflect() protoreflect.Message
func (*DatasetConfig_ValidationErrorsBeforeIngestion) Reset ¶ added in v1.2.0
func (x *DatasetConfig_ValidationErrorsBeforeIngestion) Reset()
func (*DatasetConfig_ValidationErrorsBeforeIngestion) String ¶ added in v1.2.0
func (x *DatasetConfig_ValidationErrorsBeforeIngestion) String() string
type DeleteDatasetConfigRequest ¶ added in v1.2.0
type DeleteDatasetConfigRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. A unique identifier for your request.
// Specify the request ID if you need to retry the request.
// If you retry the request with the same ID within 60 minutes, the server
// ignores the request if it has already completed the original request.
//
// For example, if your initial request times out and you retry the request
// using the same request ID, the server recognizes the original request and
// does not process the new request.
//
// The request ID must be a valid UUID and cannot be a zero UUID
// (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [`DeleteDatasetConfig`][google.cloud.storageinsights.v1.StorageInsights.DeleteDatasetConfig]
func (*DeleteDatasetConfigRequest) Descriptor
deprecated
added in
v1.2.0
func (*DeleteDatasetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDatasetConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteDatasetConfigRequest) GetName ¶ added in v1.2.0
func (x *DeleteDatasetConfigRequest) GetName() string
func (*DeleteDatasetConfigRequest) GetRequestId ¶ added in v1.2.0
func (x *DeleteDatasetConfigRequest) GetRequestId() string
func (*DeleteDatasetConfigRequest) ProtoMessage ¶ added in v1.2.0
func (*DeleteDatasetConfigRequest) ProtoMessage()
func (*DeleteDatasetConfigRequest) ProtoReflect ¶ added in v1.2.0
func (x *DeleteDatasetConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteDatasetConfigRequest) Reset ¶ added in v1.2.0
func (x *DeleteDatasetConfigRequest) Reset()
func (*DeleteDatasetConfigRequest) String ¶ added in v1.2.0
func (x *DeleteDatasetConfigRequest) String() string
type DeleteReportConfigRequest ¶
type DeleteReportConfigRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. If set, all ReportDetails for this ReportConfig will be deleted.
Force bool `protobuf:"varint,2,opt,name=force,proto3" json:"force,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for deleting a ReportConfig
func (*DeleteReportConfigRequest) Descriptor
deprecated
func (*DeleteReportConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteReportConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteReportConfigRequest) GetForce ¶
func (x *DeleteReportConfigRequest) GetForce() bool
func (*DeleteReportConfigRequest) GetName ¶
func (x *DeleteReportConfigRequest) GetName() string
func (*DeleteReportConfigRequest) GetRequestId ¶
func (x *DeleteReportConfigRequest) GetRequestId() string
func (*DeleteReportConfigRequest) ProtoMessage ¶
func (*DeleteReportConfigRequest) ProtoMessage()
func (*DeleteReportConfigRequest) ProtoReflect ¶
func (x *DeleteReportConfigRequest) ProtoReflect() protoreflect.Message
func (*DeleteReportConfigRequest) Reset ¶
func (x *DeleteReportConfigRequest) Reset()
func (*DeleteReportConfigRequest) String ¶
func (x *DeleteReportConfigRequest) String() string
type FrequencyOptions ¶
type FrequencyOptions struct {
// Frequency of report generation.
Frequency FrequencyOptions_Frequency `` /* 136-byte string literal not displayed */
// The date from which report generation should start.
// UTC time zone.
StartDate *date.Date `protobuf:"bytes,2,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
// The date on which report generation should stop (Inclusive).
// UTC time zone.
EndDate *date.Date `protobuf:"bytes,3,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
// contains filtered or unexported fields
}
ReportConfig Resource:
Options to setup frequency of report generation.
func (*FrequencyOptions) Descriptor
deprecated
func (*FrequencyOptions) Descriptor() ([]byte, []int)
Deprecated: Use FrequencyOptions.ProtoReflect.Descriptor instead.
func (*FrequencyOptions) GetEndDate ¶
func (x *FrequencyOptions) GetEndDate() *date.Date
func (*FrequencyOptions) GetFrequency ¶
func (x *FrequencyOptions) GetFrequency() FrequencyOptions_Frequency
func (*FrequencyOptions) GetStartDate ¶
func (x *FrequencyOptions) GetStartDate() *date.Date
func (*FrequencyOptions) ProtoMessage ¶
func (*FrequencyOptions) ProtoMessage()
func (*FrequencyOptions) ProtoReflect ¶
func (x *FrequencyOptions) ProtoReflect() protoreflect.Message
func (*FrequencyOptions) Reset ¶
func (x *FrequencyOptions) Reset()
func (*FrequencyOptions) String ¶
func (x *FrequencyOptions) String() string
type FrequencyOptions_Frequency ¶
type FrequencyOptions_Frequency int32
This ENUM specifies possible frequencies of report generation.
const ( // Unspecified. FrequencyOptions_FREQUENCY_UNSPECIFIED FrequencyOptions_Frequency = 0 // Report will be generated daily. FrequencyOptions_DAILY FrequencyOptions_Frequency = 1 // Report will be generated weekly. FrequencyOptions_WEEKLY FrequencyOptions_Frequency = 2 )
func (FrequencyOptions_Frequency) Descriptor ¶
func (FrequencyOptions_Frequency) Descriptor() protoreflect.EnumDescriptor
func (FrequencyOptions_Frequency) Enum ¶
func (x FrequencyOptions_Frequency) Enum() *FrequencyOptions_Frequency
func (FrequencyOptions_Frequency) EnumDescriptor
deprecated
func (FrequencyOptions_Frequency) EnumDescriptor() ([]byte, []int)
Deprecated: Use FrequencyOptions_Frequency.Descriptor instead.
func (FrequencyOptions_Frequency) Number ¶
func (x FrequencyOptions_Frequency) Number() protoreflect.EnumNumber
func (FrequencyOptions_Frequency) String ¶
func (x FrequencyOptions_Frequency) String() string
func (FrequencyOptions_Frequency) Type ¶
func (FrequencyOptions_Frequency) Type() protoreflect.EnumType
type GetDatasetConfigRequest ¶ added in v1.2.0
type GetDatasetConfigRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [`GetDatasetConfig`][google.cloud.storageinsights.v1.StorageInsights.GetDatasetConfig]
func (*GetDatasetConfigRequest) Descriptor
deprecated
added in
v1.2.0
func (*GetDatasetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDatasetConfigRequest.ProtoReflect.Descriptor instead.
func (*GetDatasetConfigRequest) GetName ¶ added in v1.2.0
func (x *GetDatasetConfigRequest) GetName() string
func (*GetDatasetConfigRequest) ProtoMessage ¶ added in v1.2.0
func (*GetDatasetConfigRequest) ProtoMessage()
func (*GetDatasetConfigRequest) ProtoReflect ¶ added in v1.2.0
func (x *GetDatasetConfigRequest) ProtoReflect() protoreflect.Message
func (*GetDatasetConfigRequest) Reset ¶ added in v1.2.0
func (x *GetDatasetConfigRequest) Reset()
func (*GetDatasetConfigRequest) String ¶ added in v1.2.0
func (x *GetDatasetConfigRequest) String() string
type GetReportConfigRequest ¶
type GetReportConfigRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a ReportConfig
func (*GetReportConfigRequest) Descriptor
deprecated
func (*GetReportConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReportConfigRequest.ProtoReflect.Descriptor instead.
func (*GetReportConfigRequest) GetName ¶
func (x *GetReportConfigRequest) GetName() string
func (*GetReportConfigRequest) ProtoMessage ¶
func (*GetReportConfigRequest) ProtoMessage()
func (*GetReportConfigRequest) ProtoReflect ¶
func (x *GetReportConfigRequest) ProtoReflect() protoreflect.Message
func (*GetReportConfigRequest) Reset ¶
func (x *GetReportConfigRequest) Reset()
func (*GetReportConfigRequest) String ¶
func (x *GetReportConfigRequest) String() string
type GetReportDetailRequest ¶
type GetReportDetailRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Message for getting a ReportDetail
func (*GetReportDetailRequest) Descriptor
deprecated
func (*GetReportDetailRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetReportDetailRequest.ProtoReflect.Descriptor instead.
func (*GetReportDetailRequest) GetName ¶
func (x *GetReportDetailRequest) GetName() string
func (*GetReportDetailRequest) ProtoMessage ¶
func (*GetReportDetailRequest) ProtoMessage()
func (*GetReportDetailRequest) ProtoReflect ¶
func (x *GetReportDetailRequest) ProtoReflect() protoreflect.Message
func (*GetReportDetailRequest) Reset ¶
func (x *GetReportDetailRequest) Reset()
func (*GetReportDetailRequest) String ¶
func (x *GetReportDetailRequest) String() string
type Identity ¶ added in v1.2.0
type Identity struct {
// Output only. Name of the identity.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Type of identity to use for the datasetConfig.
Type Identity_IdentityType `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.storageinsights.v1.Identity_IdentityType" json:"type,omitempty"`
// contains filtered or unexported fields
}
Identity lets the user provide the type of identity to use, and outputs the identity string that can be used for IAM policy changes.
func (*Identity) Descriptor
deprecated
added in
v1.2.0
func (*Identity) GetType ¶ added in v1.2.0
func (x *Identity) GetType() Identity_IdentityType
func (*Identity) ProtoMessage ¶ added in v1.2.0
func (*Identity) ProtoMessage()
func (*Identity) ProtoReflect ¶ added in v1.2.0
func (x *Identity) ProtoReflect() protoreflect.Message
type Identity_IdentityType ¶ added in v1.2.0
type Identity_IdentityType int32
Type of service account to use for the dataset configuration.
const ( // Default is unspecified and should not be used. Identity_IDENTITY_TYPE_UNSPECIFIED Identity_IdentityType = 0 // Google managed service account per resource. Identity_IDENTITY_TYPE_PER_CONFIG Identity_IdentityType = 1 // Google managed service account per project. Identity_IDENTITY_TYPE_PER_PROJECT Identity_IdentityType = 2 )
func (Identity_IdentityType) Descriptor ¶ added in v1.2.0
func (Identity_IdentityType) Descriptor() protoreflect.EnumDescriptor
func (Identity_IdentityType) Enum ¶ added in v1.2.0
func (x Identity_IdentityType) Enum() *Identity_IdentityType
func (Identity_IdentityType) EnumDescriptor
deprecated
added in
v1.2.0
func (Identity_IdentityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Identity_IdentityType.Descriptor instead.
func (Identity_IdentityType) Number ¶ added in v1.2.0
func (x Identity_IdentityType) Number() protoreflect.EnumNumber
func (Identity_IdentityType) String ¶ added in v1.2.0
func (x Identity_IdentityType) String() string
func (Identity_IdentityType) Type ¶ added in v1.2.0
func (Identity_IdentityType) Type() protoreflect.EnumType
type LinkDatasetRequest ¶ added in v1.2.0
type LinkDatasetRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [`LinkDataset`][google.cloud.storageinsights.v1.StorageInsights.LinkDataset]
func (*LinkDatasetRequest) Descriptor
deprecated
added in
v1.2.0
func (*LinkDatasetRequest) Descriptor() ([]byte, []int)
Deprecated: Use LinkDatasetRequest.ProtoReflect.Descriptor instead.
func (*LinkDatasetRequest) GetName ¶ added in v1.2.0
func (x *LinkDatasetRequest) GetName() string
func (*LinkDatasetRequest) ProtoMessage ¶ added in v1.2.0
func (*LinkDatasetRequest) ProtoMessage()
func (*LinkDatasetRequest) ProtoReflect ¶ added in v1.2.0
func (x *LinkDatasetRequest) ProtoReflect() protoreflect.Message
func (*LinkDatasetRequest) Reset ¶ added in v1.2.0
func (x *LinkDatasetRequest) Reset()
func (*LinkDatasetRequest) String ¶ added in v1.2.0
func (x *LinkDatasetRequest) String() string
type LinkDatasetResponse ¶ added in v1.2.0
type LinkDatasetResponse struct {
// contains filtered or unexported fields
}
Response message for [`LinkDataset`][google.cloud.storageinsights.v1.StorageInsights.LinkDataset]
func (*LinkDatasetResponse) Descriptor
deprecated
added in
v1.2.0
func (*LinkDatasetResponse) Descriptor() ([]byte, []int)
Deprecated: Use LinkDatasetResponse.ProtoReflect.Descriptor instead.
func (*LinkDatasetResponse) ProtoMessage ¶ added in v1.2.0
func (*LinkDatasetResponse) ProtoMessage()
func (*LinkDatasetResponse) ProtoReflect ¶ added in v1.2.0
func (x *LinkDatasetResponse) ProtoReflect() protoreflect.Message
func (*LinkDatasetResponse) Reset ¶ added in v1.2.0
func (x *LinkDatasetResponse) Reset()
func (*LinkDatasetResponse) String ¶ added in v1.2.0
func (x *LinkDatasetResponse) String() string
type ListDatasetConfigsRequest ¶ added in v1.2.0
type ListDatasetConfigsRequest struct {
// Required. Parent value for ListDatasetConfigsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server might return fewer items than requested.
// If unspecified, server picks an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for [`ListDatasetConfigs`][google.cloud.storageinsights.v1.StorageInsights.ListDatasetConfigs]
func (*ListDatasetConfigsRequest) Descriptor
deprecated
added in
v1.2.0
func (*ListDatasetConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDatasetConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListDatasetConfigsRequest) GetFilter ¶ added in v1.2.0
func (x *ListDatasetConfigsRequest) GetFilter() string
func (*ListDatasetConfigsRequest) GetOrderBy ¶ added in v1.2.0
func (x *ListDatasetConfigsRequest) GetOrderBy() string
func (*ListDatasetConfigsRequest) GetPageSize ¶ added in v1.2.0
func (x *ListDatasetConfigsRequest) GetPageSize() int32
func (*ListDatasetConfigsRequest) GetPageToken ¶ added in v1.2.0
func (x *ListDatasetConfigsRequest) GetPageToken() string
func (*ListDatasetConfigsRequest) GetParent ¶ added in v1.2.0
func (x *ListDatasetConfigsRequest) GetParent() string
func (*ListDatasetConfigsRequest) ProtoMessage ¶ added in v1.2.0
func (*ListDatasetConfigsRequest) ProtoMessage()
func (*ListDatasetConfigsRequest) ProtoReflect ¶ added in v1.2.0
func (x *ListDatasetConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListDatasetConfigsRequest) Reset ¶ added in v1.2.0
func (x *ListDatasetConfigsRequest) Reset()
func (*ListDatasetConfigsRequest) String ¶ added in v1.2.0
func (x *ListDatasetConfigsRequest) String() string
type ListDatasetConfigsResponse ¶ added in v1.2.0
type ListDatasetConfigsResponse struct {
// The list of `DatasetConfigs`
DatasetConfigs []*DatasetConfig `protobuf:"bytes,1,rep,name=dataset_configs,json=datasetConfigs,proto3" json:"dataset_configs,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response message for [`ListDatasetConfigs`][google.cloud.storageinsights.v1.StorageInsights.ListDatasetConfigs]
func (*ListDatasetConfigsResponse) Descriptor
deprecated
added in
v1.2.0
func (*ListDatasetConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDatasetConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListDatasetConfigsResponse) GetDatasetConfigs ¶ added in v1.2.0
func (x *ListDatasetConfigsResponse) GetDatasetConfigs() []*DatasetConfig
func (*ListDatasetConfigsResponse) GetNextPageToken ¶ added in v1.2.0
func (x *ListDatasetConfigsResponse) GetNextPageToken() string
func (*ListDatasetConfigsResponse) GetUnreachable ¶ added in v1.2.0
func (x *ListDatasetConfigsResponse) GetUnreachable() []string
func (*ListDatasetConfigsResponse) ProtoMessage ¶ added in v1.2.0
func (*ListDatasetConfigsResponse) ProtoMessage()
func (*ListDatasetConfigsResponse) ProtoReflect ¶ added in v1.2.0
func (x *ListDatasetConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListDatasetConfigsResponse) Reset ¶ added in v1.2.0
func (x *ListDatasetConfigsResponse) Reset()
func (*ListDatasetConfigsResponse) String ¶ added in v1.2.0
func (x *ListDatasetConfigsResponse) String() string
type ListReportConfigsRequest ¶
type ListReportConfigsRequest struct {
// Required. Parent value for ListReportConfigsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Request message for [`ListReportConfigs`][google.cloud.storageinsights.v1.StorageInsights.ListReportConfigs]
func (*ListReportConfigsRequest) Descriptor
deprecated
func (*ListReportConfigsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReportConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListReportConfigsRequest) GetFilter ¶
func (x *ListReportConfigsRequest) GetFilter() string
func (*ListReportConfigsRequest) GetOrderBy ¶
func (x *ListReportConfigsRequest) GetOrderBy() string
func (*ListReportConfigsRequest) GetPageSize ¶
func (x *ListReportConfigsRequest) GetPageSize() int32
func (*ListReportConfigsRequest) GetPageToken ¶
func (x *ListReportConfigsRequest) GetPageToken() string
func (*ListReportConfigsRequest) GetParent ¶
func (x *ListReportConfigsRequest) GetParent() string
func (*ListReportConfigsRequest) ProtoMessage ¶
func (*ListReportConfigsRequest) ProtoMessage()
func (*ListReportConfigsRequest) ProtoReflect ¶
func (x *ListReportConfigsRequest) ProtoReflect() protoreflect.Message
func (*ListReportConfigsRequest) Reset ¶
func (x *ListReportConfigsRequest) Reset()
func (*ListReportConfigsRequest) String ¶
func (x *ListReportConfigsRequest) String() string
type ListReportConfigsResponse ¶
type ListReportConfigsResponse struct {
// The list of ReportConfig
ReportConfigs []*ReportConfig `protobuf:"bytes,1,rep,name=report_configs,json=reportConfigs,proto3" json:"report_configs,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing ReportConfigs
func (*ListReportConfigsResponse) Descriptor
deprecated
func (*ListReportConfigsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReportConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListReportConfigsResponse) GetNextPageToken ¶
func (x *ListReportConfigsResponse) GetNextPageToken() string
func (*ListReportConfigsResponse) GetReportConfigs ¶
func (x *ListReportConfigsResponse) GetReportConfigs() []*ReportConfig
func (*ListReportConfigsResponse) GetUnreachable ¶
func (x *ListReportConfigsResponse) GetUnreachable() []string
func (*ListReportConfigsResponse) ProtoMessage ¶
func (*ListReportConfigsResponse) ProtoMessage()
func (*ListReportConfigsResponse) ProtoReflect ¶
func (x *ListReportConfigsResponse) ProtoReflect() protoreflect.Message
func (*ListReportConfigsResponse) Reset ¶
func (x *ListReportConfigsResponse) Reset()
func (*ListReportConfigsResponse) String ¶
func (x *ListReportConfigsResponse) String() string
type ListReportDetailsRequest ¶
type ListReportDetailsRequest struct {
// Required. Parent value for ListReportDetailsRequest
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Requested page size. Server may return fewer items than requested.
// If unspecified, server will pick an appropriate default.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// A token identifying a page of results the server should return.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// Filtering results
Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Hint for how to order the results
OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
// contains filtered or unexported fields
}
Message for requesting list of ReportDetails
func (*ListReportDetailsRequest) Descriptor
deprecated
func (*ListReportDetailsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListReportDetailsRequest.ProtoReflect.Descriptor instead.
func (*ListReportDetailsRequest) GetFilter ¶
func (x *ListReportDetailsRequest) GetFilter() string
func (*ListReportDetailsRequest) GetOrderBy ¶
func (x *ListReportDetailsRequest) GetOrderBy() string
func (*ListReportDetailsRequest) GetPageSize ¶
func (x *ListReportDetailsRequest) GetPageSize() int32
func (*ListReportDetailsRequest) GetPageToken ¶
func (x *ListReportDetailsRequest) GetPageToken() string
func (*ListReportDetailsRequest) GetParent ¶
func (x *ListReportDetailsRequest) GetParent() string
func (*ListReportDetailsRequest) ProtoMessage ¶
func (*ListReportDetailsRequest) ProtoMessage()
func (*ListReportDetailsRequest) ProtoReflect ¶
func (x *ListReportDetailsRequest) ProtoReflect() protoreflect.Message
func (*ListReportDetailsRequest) Reset ¶
func (x *ListReportDetailsRequest) Reset()
func (*ListReportDetailsRequest) String ¶
func (x *ListReportDetailsRequest) String() string
type ListReportDetailsResponse ¶
type ListReportDetailsResponse struct {
// The list of ReportDetail
ReportDetails []*ReportDetail `protobuf:"bytes,1,rep,name=report_details,json=reportDetails,proto3" json:"report_details,omitempty"`
// A token identifying a page of results the server should return.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Message for response to listing ReportDetails
func (*ListReportDetailsResponse) Descriptor
deprecated
func (*ListReportDetailsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListReportDetailsResponse.ProtoReflect.Descriptor instead.
func (*ListReportDetailsResponse) GetNextPageToken ¶
func (x *ListReportDetailsResponse) GetNextPageToken() string
func (*ListReportDetailsResponse) GetReportDetails ¶
func (x *ListReportDetailsResponse) GetReportDetails() []*ReportDetail
func (*ListReportDetailsResponse) GetUnreachable ¶
func (x *ListReportDetailsResponse) GetUnreachable() []string
func (*ListReportDetailsResponse) ProtoMessage ¶
func (*ListReportDetailsResponse) ProtoMessage()
func (*ListReportDetailsResponse) ProtoReflect ¶
func (x *ListReportDetailsResponse) ProtoReflect() protoreflect.Message
func (*ListReportDetailsResponse) Reset ¶
func (x *ListReportDetailsResponse) Reset()
func (*ListReportDetailsResponse) String ¶
func (x *ListReportDetailsResponse) String() string
type LocationMetadata ¶ added in v1.2.0
type LocationMetadata struct {
// If true, `storageinsights.googleapis.com/ReportConfig` resource is
// available at the location.
ReportConfigAvailable bool `` /* 127-byte string literal not displayed */
// If true, `storageinsights.googleapis.com/DatasetConfig` resource is
// available at the location.
DatasetConfigAvailable bool `` /* 130-byte string literal not displayed */
// contains filtered or unexported fields
}
Metadata that helps discover which resources are available in a location.
func (*LocationMetadata) Descriptor
deprecated
added in
v1.2.0
func (*LocationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
func (*LocationMetadata) GetDatasetConfigAvailable ¶ added in v1.2.0
func (x *LocationMetadata) GetDatasetConfigAvailable() bool
func (*LocationMetadata) GetReportConfigAvailable ¶ added in v1.2.0
func (x *LocationMetadata) GetReportConfigAvailable() bool
func (*LocationMetadata) ProtoMessage ¶ added in v1.2.0
func (*LocationMetadata) ProtoMessage()
func (*LocationMetadata) ProtoReflect ¶ added in v1.2.0
func (x *LocationMetadata) ProtoReflect() protoreflect.Message
func (*LocationMetadata) Reset ¶ added in v1.2.0
func (x *LocationMetadata) Reset()
func (*LocationMetadata) String ¶ added in v1.2.0
func (x *LocationMetadata) String() string
type ObjectMetadataReportOptions ¶
type ObjectMetadataReportOptions struct {
// Metadata fields to be included in the report.
MetadataFields []string `protobuf:"bytes,1,rep,name=metadata_fields,json=metadataFields,proto3" json:"metadata_fields,omitempty"`
// Filter options for storage systems.
//
// Types that are assignable to Filter:
//
// *ObjectMetadataReportOptions_StorageFilters
Filter isObjectMetadataReportOptions_Filter `protobuf_oneof:"filter"`
// Options on destination for storage systems.
//
// Types that are assignable to DestinationOptions:
//
// *ObjectMetadataReportOptions_StorageDestinationOptions
DestinationOptions isObjectMetadataReportOptions_DestinationOptions `protobuf_oneof:"destination_options"`
// contains filtered or unexported fields
}
Report specification for exporting object metadata. Next ID: 4
func (*ObjectMetadataReportOptions) Descriptor
deprecated
func (*ObjectMetadataReportOptions) Descriptor() ([]byte, []int)
Deprecated: Use ObjectMetadataReportOptions.ProtoReflect.Descriptor instead.
func (*ObjectMetadataReportOptions) GetDestinationOptions ¶
func (m *ObjectMetadataReportOptions) GetDestinationOptions() isObjectMetadataReportOptions_DestinationOptions
func (*ObjectMetadataReportOptions) GetFilter ¶
func (m *ObjectMetadataReportOptions) GetFilter() isObjectMetadataReportOptions_Filter
func (*ObjectMetadataReportOptions) GetMetadataFields ¶
func (x *ObjectMetadataReportOptions) GetMetadataFields() []string
func (*ObjectMetadataReportOptions) GetStorageDestinationOptions ¶
func (x *ObjectMetadataReportOptions) GetStorageDestinationOptions() *CloudStorageDestinationOptions
func (*ObjectMetadataReportOptions) GetStorageFilters ¶
func (x *ObjectMetadataReportOptions) GetStorageFilters() *CloudStorageFilters
func (*ObjectMetadataReportOptions) ProtoMessage ¶
func (*ObjectMetadataReportOptions) ProtoMessage()
func (*ObjectMetadataReportOptions) ProtoReflect ¶
func (x *ObjectMetadataReportOptions) ProtoReflect() protoreflect.Message
func (*ObjectMetadataReportOptions) Reset ¶
func (x *ObjectMetadataReportOptions) Reset()
func (*ObjectMetadataReportOptions) String ¶
func (x *ObjectMetadataReportOptions) String() string
type ObjectMetadataReportOptions_StorageDestinationOptions ¶
type ObjectMetadataReportOptions_StorageDestinationOptions struct {
// Cloud Storage as the storage system.
StorageDestinationOptions *CloudStorageDestinationOptions `protobuf:"bytes,3,opt,name=storage_destination_options,json=storageDestinationOptions,proto3,oneof"`
}
type ObjectMetadataReportOptions_StorageFilters ¶
type ObjectMetadataReportOptions_StorageFilters struct {
// Cloud Storage as the storage system.
StorageFilters *CloudStorageFilters `protobuf:"bytes,2,opt,name=storage_filters,json=storageFilters,proto3,oneof"`
}
type OperationMetadata ¶
type OperationMetadata 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. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have been cancelled successfully
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Represents the metadata of the long-running operation.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion ¶
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime ¶
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation ¶
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage ¶
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget ¶
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb ¶
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type ParquetOptions ¶
type ParquetOptions struct {
// contains filtered or unexported fields
}
Options to configure Parquet formatted reports.
func (*ParquetOptions) Descriptor
deprecated
func (*ParquetOptions) Descriptor() ([]byte, []int)
Deprecated: Use ParquetOptions.ProtoReflect.Descriptor instead.
func (*ParquetOptions) ProtoMessage ¶
func (*ParquetOptions) ProtoMessage()
func (*ParquetOptions) ProtoReflect ¶
func (x *ParquetOptions) ProtoReflect() protoreflect.Message
func (*ParquetOptions) Reset ¶
func (x *ParquetOptions) Reset()
func (*ParquetOptions) String ¶
func (x *ParquetOptions) String() string
type ReportConfig ¶
type ReportConfig struct {
// name of resource. It will be of form
// projects/<project>/locations/<location>/reportConfigs/<report-config-id>.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. [Output only] Create time stamp
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. [Output only] Update time stamp
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// The frequency of report generation.
FrequencyOptions *FrequencyOptions `protobuf:"bytes,5,opt,name=frequency_options,json=frequencyOptions,proto3" json:"frequency_options,omitempty"`
// Format in which report will be published.
//
// Types that are assignable to ReportFormat:
//
// *ReportConfig_CsvOptions
// *ReportConfig_ParquetOptions
ReportFormat isReportConfig_ReportFormat `protobuf_oneof:"report_format"`
// Configuration options for report contents.
//
// Types that are assignable to ReportKind:
//
// *ReportConfig_ObjectMetadataReportOptions
ReportKind isReportConfig_ReportKind `protobuf_oneof:"report_kind"`
// Labels as key value pairs
Labels map[string]string `` /* 154-byte string literal not displayed */
// User provided display name which can be empty and limited to 256 characters
// that is editable.
DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
// contains filtered or unexported fields
}
Message describing ReportConfig object. ReportConfig is the configuration to generate reports. See https://cloud.google.com/storage/docs/insights/using-inventory-reports#create-config-rest for more details on how to set various fields. Next ID: 12
func (*ReportConfig) Descriptor
deprecated
func (*ReportConfig) Descriptor() ([]byte, []int)
Deprecated: Use ReportConfig.ProtoReflect.Descriptor instead.
func (*ReportConfig) GetCreateTime ¶
func (x *ReportConfig) GetCreateTime() *timestamppb.Timestamp
func (*ReportConfig) GetCsvOptions ¶
func (x *ReportConfig) GetCsvOptions() *CSVOptions
func (*ReportConfig) GetDisplayName ¶
func (x *ReportConfig) GetDisplayName() string
func (*ReportConfig) GetFrequencyOptions ¶
func (x *ReportConfig) GetFrequencyOptions() *FrequencyOptions
func (*ReportConfig) GetLabels ¶
func (x *ReportConfig) GetLabels() map[string]string
func (*ReportConfig) GetName ¶
func (x *ReportConfig) GetName() string
func (*ReportConfig) GetObjectMetadataReportOptions ¶
func (x *ReportConfig) GetObjectMetadataReportOptions() *ObjectMetadataReportOptions
func (*ReportConfig) GetParquetOptions ¶
func (x *ReportConfig) GetParquetOptions() *ParquetOptions
func (*ReportConfig) GetReportFormat ¶
func (m *ReportConfig) GetReportFormat() isReportConfig_ReportFormat
func (*ReportConfig) GetReportKind ¶
func (m *ReportConfig) GetReportKind() isReportConfig_ReportKind
func (*ReportConfig) GetUpdateTime ¶
func (x *ReportConfig) GetUpdateTime() *timestamppb.Timestamp
func (*ReportConfig) ProtoMessage ¶
func (*ReportConfig) ProtoMessage()
func (*ReportConfig) ProtoReflect ¶
func (x *ReportConfig) ProtoReflect() protoreflect.Message
func (*ReportConfig) Reset ¶
func (x *ReportConfig) Reset()
func (*ReportConfig) String ¶
func (x *ReportConfig) String() string
type ReportConfig_CsvOptions ¶
type ReportConfig_CsvOptions struct {
// Options for CSV formatted reports.
CsvOptions *CSVOptions `protobuf:"bytes,6,opt,name=csv_options,json=csvOptions,proto3,oneof"`
}
type ReportConfig_ObjectMetadataReportOptions ¶
type ReportConfig_ObjectMetadataReportOptions struct {
// Report for exporting object metadata.
ObjectMetadataReportOptions *ObjectMetadataReportOptions `protobuf:"bytes,8,opt,name=object_metadata_report_options,json=objectMetadataReportOptions,proto3,oneof"`
}
type ReportConfig_ParquetOptions ¶
type ReportConfig_ParquetOptions struct {
// Options for Parquet formatted reports.
ParquetOptions *ParquetOptions `protobuf:"bytes,7,opt,name=parquet_options,json=parquetOptions,proto3,oneof"`
}
type ReportDetail ¶
type ReportDetail struct {
// Name of resource. It will be of form
// projects/<project>/locations/<location>/reportConfigs/<report-config-id>/reportDetails/<report-detail-id>.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The snapshot time.
// All the report data is referenced at this point of time.
SnapshotTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"`
// Prefix of the object name of each report's shard. This will have full
// prefix except the "extension" and "shard_id".
// For example, if the `destination_path` is
// `{{report-config-id}}/dt={{datetime}}`, the shard object name would be
// `gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_5.csv`
// and the value of `report_path_prefix` field would be
// `gs://my-insights/1A34-F2E456-12B456-1C3D/dt=2022-05-20T06:35/1A34-F2E456-12B456-1C3D_2022-05-20T06:35_`.
ReportPathPrefix string `protobuf:"bytes,8,opt,name=report_path_prefix,json=reportPathPrefix,proto3" json:"report_path_prefix,omitempty"`
// Total shards generated for the report.
ShardsCount int64 `protobuf:"varint,9,opt,name=shards_count,json=shardsCount,proto3" json:"shards_count,omitempty"`
// Status of the ReportDetail.
Status *status.Status `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
// Labels as key value pairs
Labels map[string]string `` /* 153-byte string literal not displayed */
// The date for which report is generated. The time part of target_datetime
// will be zero till we support multiple reports per day.
TargetDatetime *datetime.DateTime `protobuf:"bytes,6,opt,name=target_datetime,json=targetDatetime,proto3" json:"target_datetime,omitempty"`
// Metrics of the report.
ReportMetrics *ReportDetail_Metrics `protobuf:"bytes,7,opt,name=report_metrics,json=reportMetrics,proto3" json:"report_metrics,omitempty"`
// contains filtered or unexported fields
}
Message describing ReportDetail object. ReportDetail represents metadata of generated reports for a ReportConfig. Next ID: 10
func (*ReportDetail) Descriptor
deprecated
func (*ReportDetail) Descriptor() ([]byte, []int)
Deprecated: Use ReportDetail.ProtoReflect.Descriptor instead.
func (*ReportDetail) GetLabels ¶
func (x *ReportDetail) GetLabels() map[string]string
func (*ReportDetail) GetName ¶
func (x *ReportDetail) GetName() string
func (*ReportDetail) GetReportMetrics ¶
func (x *ReportDetail) GetReportMetrics() *ReportDetail_Metrics
func (*ReportDetail) GetReportPathPrefix ¶
func (x *ReportDetail) GetReportPathPrefix() string
func (*ReportDetail) GetShardsCount ¶
func (x *ReportDetail) GetShardsCount() int64
func (*ReportDetail) GetSnapshotTime ¶
func (x *ReportDetail) GetSnapshotTime() *timestamppb.Timestamp
func (*ReportDetail) GetStatus ¶
func (x *ReportDetail) GetStatus() *status.Status
func (*ReportDetail) GetTargetDatetime ¶
func (x *ReportDetail) GetTargetDatetime() *datetime.DateTime
func (*ReportDetail) ProtoMessage ¶
func (*ReportDetail) ProtoMessage()
func (*ReportDetail) ProtoReflect ¶
func (x *ReportDetail) ProtoReflect() protoreflect.Message
func (*ReportDetail) Reset ¶
func (x *ReportDetail) Reset()
func (*ReportDetail) String ¶
func (x *ReportDetail) String() string
type ReportDetail_Metrics ¶
type ReportDetail_Metrics struct {
// Count of Cloud Storage objects which are part of the report.
ProcessedRecordsCount int64 `` /* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
Different metrics associated with the generated report.
func (*ReportDetail_Metrics) Descriptor
deprecated
func (*ReportDetail_Metrics) Descriptor() ([]byte, []int)
Deprecated: Use ReportDetail_Metrics.ProtoReflect.Descriptor instead.
func (*ReportDetail_Metrics) GetProcessedRecordsCount ¶
func (x *ReportDetail_Metrics) GetProcessedRecordsCount() int64
func (*ReportDetail_Metrics) ProtoMessage ¶
func (*ReportDetail_Metrics) ProtoMessage()
func (*ReportDetail_Metrics) ProtoReflect ¶
func (x *ReportDetail_Metrics) ProtoReflect() protoreflect.Message
func (*ReportDetail_Metrics) Reset ¶
func (x *ReportDetail_Metrics) Reset()
func (*ReportDetail_Metrics) String ¶
func (x *ReportDetail_Metrics) String() string
type StorageInsightsClient ¶
type StorageInsightsClient interface {
// Lists ReportConfigs in a given project and location.
ListReportConfigs(ctx context.Context, in *ListReportConfigsRequest, opts ...grpc.CallOption) (*ListReportConfigsResponse, error)
// Gets details of a single ReportConfig.
GetReportConfig(ctx context.Context, in *GetReportConfigRequest, opts ...grpc.CallOption) (*ReportConfig, error)
// Creates a new ReportConfig in a given project and location.
CreateReportConfig(ctx context.Context, in *CreateReportConfigRequest, opts ...grpc.CallOption) (*ReportConfig, error)
// Updates the parameters of a single ReportConfig.
UpdateReportConfig(ctx context.Context, in *UpdateReportConfigRequest, opts ...grpc.CallOption) (*ReportConfig, error)
// Deletes a single ReportConfig.
DeleteReportConfig(ctx context.Context, in *DeleteReportConfigRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Lists ReportDetails in a given project and location.
ListReportDetails(ctx context.Context, in *ListReportDetailsRequest, opts ...grpc.CallOption) (*ListReportDetailsResponse, error)
// Gets details of a single ReportDetail.
GetReportDetail(ctx context.Context, in *GetReportDetailRequest, opts ...grpc.CallOption) (*ReportDetail, error)
// Lists the dataset configurations in a given project for a given location.
ListDatasetConfigs(ctx context.Context, in *ListDatasetConfigsRequest, opts ...grpc.CallOption) (*ListDatasetConfigsResponse, error)
// Gets the dataset configuration in a given project for a given location.
GetDatasetConfig(ctx context.Context, in *GetDatasetConfigRequest, opts ...grpc.CallOption) (*DatasetConfig, error)
// Creates a dataset configuration in a given project for a given location.
CreateDatasetConfig(ctx context.Context, in *CreateDatasetConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Updates a dataset configuration in a given project for a given location.
UpdateDatasetConfig(ctx context.Context, in *UpdateDatasetConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a dataset configuration in a given project for a given location.
DeleteDatasetConfig(ctx context.Context, in *DeleteDatasetConfigRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Links a dataset to BigQuery in a given project for a given location.
LinkDataset(ctx context.Context, in *LinkDatasetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Unlinks a dataset from BigQuery in a given project
// for a given location.
UnlinkDataset(ctx context.Context, in *UnlinkDatasetRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
StorageInsightsClient is the client API for StorageInsights 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 NewStorageInsightsClient ¶
func NewStorageInsightsClient(cc grpc.ClientConnInterface) StorageInsightsClient
type StorageInsightsServer ¶
type StorageInsightsServer interface {
// Lists ReportConfigs in a given project and location.
ListReportConfigs(context.Context, *ListReportConfigsRequest) (*ListReportConfigsResponse, error)
// Gets details of a single ReportConfig.
GetReportConfig(context.Context, *GetReportConfigRequest) (*ReportConfig, error)
// Creates a new ReportConfig in a given project and location.
CreateReportConfig(context.Context, *CreateReportConfigRequest) (*ReportConfig, error)
// Updates the parameters of a single ReportConfig.
UpdateReportConfig(context.Context, *UpdateReportConfigRequest) (*ReportConfig, error)
// Deletes a single ReportConfig.
DeleteReportConfig(context.Context, *DeleteReportConfigRequest) (*emptypb.Empty, error)
// Lists ReportDetails in a given project and location.
ListReportDetails(context.Context, *ListReportDetailsRequest) (*ListReportDetailsResponse, error)
// Gets details of a single ReportDetail.
GetReportDetail(context.Context, *GetReportDetailRequest) (*ReportDetail, error)
// Lists the dataset configurations in a given project for a given location.
ListDatasetConfigs(context.Context, *ListDatasetConfigsRequest) (*ListDatasetConfigsResponse, error)
// Gets the dataset configuration in a given project for a given location.
GetDatasetConfig(context.Context, *GetDatasetConfigRequest) (*DatasetConfig, error)
// Creates a dataset configuration in a given project for a given location.
CreateDatasetConfig(context.Context, *CreateDatasetConfigRequest) (*longrunningpb.Operation, error)
// Updates a dataset configuration in a given project for a given location.
UpdateDatasetConfig(context.Context, *UpdateDatasetConfigRequest) (*longrunningpb.Operation, error)
// Deletes a dataset configuration in a given project for a given location.
DeleteDatasetConfig(context.Context, *DeleteDatasetConfigRequest) (*longrunningpb.Operation, error)
// Links a dataset to BigQuery in a given project for a given location.
LinkDataset(context.Context, *LinkDatasetRequest) (*longrunningpb.Operation, error)
// Unlinks a dataset from BigQuery in a given project
// for a given location.
UnlinkDataset(context.Context, *UnlinkDatasetRequest) (*longrunningpb.Operation, error)
}
StorageInsightsServer is the server API for StorageInsights service. All implementations should embed UnimplementedStorageInsightsServer for forward compatibility
type UnimplementedStorageInsightsServer ¶
type UnimplementedStorageInsightsServer struct {
}
UnimplementedStorageInsightsServer should be embedded to have forward compatible implementations.
func (UnimplementedStorageInsightsServer) CreateDatasetConfig ¶ added in v1.2.0
func (UnimplementedStorageInsightsServer) CreateDatasetConfig(context.Context, *CreateDatasetConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedStorageInsightsServer) CreateReportConfig ¶
func (UnimplementedStorageInsightsServer) CreateReportConfig(context.Context, *CreateReportConfigRequest) (*ReportConfig, error)
func (UnimplementedStorageInsightsServer) DeleteDatasetConfig ¶ added in v1.2.0
func (UnimplementedStorageInsightsServer) DeleteDatasetConfig(context.Context, *DeleteDatasetConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedStorageInsightsServer) DeleteReportConfig ¶
func (UnimplementedStorageInsightsServer) DeleteReportConfig(context.Context, *DeleteReportConfigRequest) (*emptypb.Empty, error)
func (UnimplementedStorageInsightsServer) GetDatasetConfig ¶ added in v1.2.0
func (UnimplementedStorageInsightsServer) GetDatasetConfig(context.Context, *GetDatasetConfigRequest) (*DatasetConfig, error)
func (UnimplementedStorageInsightsServer) GetReportConfig ¶
func (UnimplementedStorageInsightsServer) GetReportConfig(context.Context, *GetReportConfigRequest) (*ReportConfig, error)
func (UnimplementedStorageInsightsServer) GetReportDetail ¶
func (UnimplementedStorageInsightsServer) GetReportDetail(context.Context, *GetReportDetailRequest) (*ReportDetail, error)
func (UnimplementedStorageInsightsServer) LinkDataset ¶ added in v1.2.0
func (UnimplementedStorageInsightsServer) LinkDataset(context.Context, *LinkDatasetRequest) (*longrunningpb.Operation, error)
func (UnimplementedStorageInsightsServer) ListDatasetConfigs ¶ added in v1.2.0
func (UnimplementedStorageInsightsServer) ListDatasetConfigs(context.Context, *ListDatasetConfigsRequest) (*ListDatasetConfigsResponse, error)
func (UnimplementedStorageInsightsServer) ListReportConfigs ¶
func (UnimplementedStorageInsightsServer) ListReportConfigs(context.Context, *ListReportConfigsRequest) (*ListReportConfigsResponse, error)
func (UnimplementedStorageInsightsServer) ListReportDetails ¶
func (UnimplementedStorageInsightsServer) ListReportDetails(context.Context, *ListReportDetailsRequest) (*ListReportDetailsResponse, error)
func (UnimplementedStorageInsightsServer) UnlinkDataset ¶ added in v1.2.0
func (UnimplementedStorageInsightsServer) UnlinkDataset(context.Context, *UnlinkDatasetRequest) (*longrunningpb.Operation, error)
func (UnimplementedStorageInsightsServer) UpdateDatasetConfig ¶ added in v1.2.0
func (UnimplementedStorageInsightsServer) UpdateDatasetConfig(context.Context, *UpdateDatasetConfigRequest) (*longrunningpb.Operation, error)
func (UnimplementedStorageInsightsServer) UpdateReportConfig ¶
func (UnimplementedStorageInsightsServer) UpdateReportConfig(context.Context, *UpdateReportConfigRequest) (*ReportConfig, error)
type UnlinkDatasetRequest ¶ added in v1.2.0
type UnlinkDatasetRequest struct {
// Required. Name of the resource
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request message for [`UnlinkDataset`][google.cloud.storageinsights.v1.StorageInsights.UnlinkDataset]
func (*UnlinkDatasetRequest) Descriptor
deprecated
added in
v1.2.0
func (*UnlinkDatasetRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnlinkDatasetRequest.ProtoReflect.Descriptor instead.
func (*UnlinkDatasetRequest) GetName ¶ added in v1.2.0
func (x *UnlinkDatasetRequest) GetName() string
func (*UnlinkDatasetRequest) ProtoMessage ¶ added in v1.2.0
func (*UnlinkDatasetRequest) ProtoMessage()
func (*UnlinkDatasetRequest) ProtoReflect ¶ added in v1.2.0
func (x *UnlinkDatasetRequest) ProtoReflect() protoreflect.Message
func (*UnlinkDatasetRequest) Reset ¶ added in v1.2.0
func (x *UnlinkDatasetRequest) Reset()
func (*UnlinkDatasetRequest) String ¶ added in v1.2.0
func (x *UnlinkDatasetRequest) String() string
type UnsafeStorageInsightsServer ¶ added in v1.2.1
type UnsafeStorageInsightsServer interface {
// contains filtered or unexported methods
}
UnsafeStorageInsightsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StorageInsightsServer will result in compilation errors.
type UpdateDatasetConfigRequest ¶ added in v1.2.0
type UpdateDatasetConfigRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// `DatasetConfig` resource by the update.
// The fields specified in the `update_mask` are relative to the resource, not
// the full request. A field is overwritten if it is in the mask. If the
// user does not provide a mask then it returns an "Invalid Argument" error.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
DatasetConfig *DatasetConfig `protobuf:"bytes,2,opt,name=dataset_config,json=datasetConfig,proto3" json:"dataset_config,omitempty"`
// Optional. A unique identifier for your request.
// Specify the request ID if you need to retry the request.
// If you retry the request with the same ID within 60 minutes, the server
// ignores the request if it has already completed the original request.
//
// For example, if your initial request times out and you retry the request
// using the same request ID, the server recognizes the original request and
// does not process the new request.
//
// The request ID must be a valid UUID and cannot be a zero UUID
// (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request message for [`UpdateDatasetConfig`][google.cloud.storageinsights.v1.StorageInsights.UpdateDatasetConfig]
func (*UpdateDatasetConfigRequest) Descriptor
deprecated
added in
v1.2.0
func (*UpdateDatasetConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateDatasetConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateDatasetConfigRequest) GetDatasetConfig ¶ added in v1.2.0
func (x *UpdateDatasetConfigRequest) GetDatasetConfig() *DatasetConfig
func (*UpdateDatasetConfigRequest) GetRequestId ¶ added in v1.2.0
func (x *UpdateDatasetConfigRequest) GetRequestId() string
func (*UpdateDatasetConfigRequest) GetUpdateMask ¶ added in v1.2.0
func (x *UpdateDatasetConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateDatasetConfigRequest) ProtoMessage ¶ added in v1.2.0
func (*UpdateDatasetConfigRequest) ProtoMessage()
func (*UpdateDatasetConfigRequest) ProtoReflect ¶ added in v1.2.0
func (x *UpdateDatasetConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateDatasetConfigRequest) Reset ¶ added in v1.2.0
func (x *UpdateDatasetConfigRequest) Reset()
func (*UpdateDatasetConfigRequest) String ¶ added in v1.2.0
func (x *UpdateDatasetConfigRequest) String() string
type UpdateReportConfigRequest ¶
type UpdateReportConfigRequest struct {
// Required. Field mask is used to specify the fields to be overwritten in the
// ReportConfig resource by the update.
// The fields specified in the update_mask are relative to the resource, not
// the full request. A field will be overwritten if it is in the mask. If the
// user does not provide a mask then all fields will be overwritten.
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. The resource being updated
ReportConfig *ReportConfig `protobuf:"bytes,2,opt,name=report_config,json=reportConfig,proto3" json:"report_config,omitempty"`
// Optional. An optional request ID to identify requests. Specify a unique
// request ID so that if you must retry your request, the server will know to
// ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes since the first request.
//
// For example, consider a situation where you make an initial request and
// the request times out. If you make the request again with the same request
// ID, the server can check if original operation with the same request ID
// was received, and if so, will ignore the second request. This prevents
// clients from accidentally creating duplicate commitments.
//
// The request ID must be a valid UUID with the exception that zero UUID is
// not supported (00000000-0000-0000-0000-000000000000).
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Message for updating a ReportConfig
func (*UpdateReportConfigRequest) Descriptor
deprecated
func (*UpdateReportConfigRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateReportConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateReportConfigRequest) GetReportConfig ¶
func (x *UpdateReportConfigRequest) GetReportConfig() *ReportConfig
func (*UpdateReportConfigRequest) GetRequestId ¶
func (x *UpdateReportConfigRequest) GetRequestId() string
func (*UpdateReportConfigRequest) GetUpdateMask ¶
func (x *UpdateReportConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateReportConfigRequest) ProtoMessage ¶
func (*UpdateReportConfigRequest) ProtoMessage()
func (*UpdateReportConfigRequest) ProtoReflect ¶
func (x *UpdateReportConfigRequest) ProtoReflect() protoreflect.Message
func (*UpdateReportConfigRequest) Reset ¶
func (x *UpdateReportConfigRequest) Reset()
func (*UpdateReportConfigRequest) String ¶
func (x *UpdateReportConfigRequest) String() string