package
1.22.0
Repository: https://github.com/sinmetal/gcpbox.git
Documentation: pkg.go.dev

# Functions

NewErrPermissionDenied is return ErrPermissionDenied.
NewStorageService is StorageServiceを生成する.
NewStorageSignedURLService is StorageServiceを生成する 利用するServiceAccountの roles/iam.serviceAccountTokenCreator https://cloud.google.com/iam/docs/service-accounts?hl=en#the_service_account_token_creator_role を持っている必要がある serviceAccountEmail is SignedURLを発行するServiceAccountEmail iamService is iamService iamCredentialsClient is iamCredentialsClient.
ParseStorageClassType is 文字列からStorageClassType へ変換する.
ParseStorageNotifyEventType is 文字列から PubSubNotifyEventType へ変換する.
ReadPubSubNotifyBody is PubSubからPushされたリクエストのBodyを読み込む.

# Constants

StorageClassType.
StorageClassType.
StorageClassType.
StorageClassType.
PubSubNotifyEventType.
PubSubNotifyEventType.
PubSubNotifyEventType.
PubSubNotifyEventType.
StorageClassType.
StorageClassType.

# Variables

ErrInvalidFormat is Format Error.
ErrParseFailure is Parse失敗時のError.

# Structs

Attributes is PubSubからPushされたMessageのObjectの変更に関連する内容.
CreateDownloadSignedURLParam is param for create download signed url.
Error is Error情報を保持する struct.
Message is PubSubからPushされたMessageの中で、Messageに関連すること.
MessageBody is PubSubからPushされたMessageのBody.
MessageData is PubSubからPushされたMessageのObjectに関連する内容.
StorageService is Storage Util Service.
StorageSignedURLService is Storage Signed URL Util Service.

# Type aliases

PubSubNotifyEventType is Cloud Storage PubSub Notification EventType see https://cloud.google.com/storage/docs/pubsub-notifications#events.
StorageClassType is Cloud Storage Class Type see https://cloud.google.com/storage/docs/storage-classes#classes.