app_identity

package
v0.15.1-0...-94ae93a Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2015 License: Apache-2.0, Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package app_identity is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/app_identity/app_identity_service.proto

It has these top-level messages:

AppIdentityServiceError
SignForAppRequest
SignForAppResponse
GetPublicCertificateForAppRequest
PublicCertificate
GetPublicCertificateForAppResponse
GetServiceAccountNameRequest
GetServiceAccountNameResponse
GetAccessTokenRequest
GetAccessTokenResponse
GetDefaultGcsBucketNameRequest
GetDefaultGcsBucketNameResponse

Index

Constants

This section is empty.

Variables

View Source
var AppIdentityServiceError_ErrorCode_name = map[int32]string{
	0:    "SUCCESS",
	9:    "UNKNOWN_SCOPE",
	1000: "BLOB_TOO_LARGE",
	1001: "DEADLINE_EXCEEDED",
	1002: "NOT_A_VALID_APP",
	1003: "UNKNOWN_ERROR",
	1005: "NOT_ALLOWED",
	1006: "NOT_IMPLEMENTED",
}
View Source
var AppIdentityServiceError_ErrorCode_value = map[string]int32{
	"SUCCESS":           0,
	"UNKNOWN_SCOPE":     9,
	"BLOB_TOO_LARGE":    1000,
	"DEADLINE_EXCEEDED": 1001,
	"NOT_A_VALID_APP":   1002,
	"UNKNOWN_ERROR":     1003,
	"NOT_ALLOWED":       1005,
	"NOT_IMPLEMENTED":   1006,
}

Functions

This section is empty.

Types

type AppIdentityServiceError

type AppIdentityServiceError struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*AppIdentityServiceError) ProtoMessage

func (*AppIdentityServiceError) ProtoMessage()

func (*AppIdentityServiceError) Reset

func (m *AppIdentityServiceError) Reset()

func (*AppIdentityServiceError) String

func (m *AppIdentityServiceError) String() string

type AppIdentityServiceError_ErrorCode

type AppIdentityServiceError_ErrorCode int32
const (
	AppIdentityServiceError_SUCCESS           AppIdentityServiceError_ErrorCode = 0
	AppIdentityServiceError_UNKNOWN_SCOPE     AppIdentityServiceError_ErrorCode = 9
	AppIdentityServiceError_BLOB_TOO_LARGE    AppIdentityServiceError_ErrorCode = 1000
	AppIdentityServiceError_DEADLINE_EXCEEDED AppIdentityServiceError_ErrorCode = 1001
	AppIdentityServiceError_NOT_A_VALID_APP   AppIdentityServiceError_ErrorCode = 1002
	AppIdentityServiceError_UNKNOWN_ERROR     AppIdentityServiceError_ErrorCode = 1003
	AppIdentityServiceError_NOT_ALLOWED       AppIdentityServiceError_ErrorCode = 1005
	AppIdentityServiceError_NOT_IMPLEMENTED   AppIdentityServiceError_ErrorCode = 1006
)

func (AppIdentityServiceError_ErrorCode) Enum

func (AppIdentityServiceError_ErrorCode) String

func (*AppIdentityServiceError_ErrorCode) UnmarshalJSON

func (x *AppIdentityServiceError_ErrorCode) UnmarshalJSON(data []byte) error

type GetAccessTokenRequest

type GetAccessTokenRequest struct {
	Scope              []string `protobuf:"bytes,1,rep,name=scope" json:"scope,omitempty"`
	ServiceAccountId   *int64   `protobuf:"varint,2,opt,name=service_account_id" json:"service_account_id,omitempty"`
	ServiceAccountName *string  `protobuf:"bytes,3,opt,name=service_account_name" json:"service_account_name,omitempty"`
	XXX_unrecognized   []byte   `json:"-"`
}

func (*GetAccessTokenRequest) GetScope

func (m *GetAccessTokenRequest) GetScope() []string

func (*GetAccessTokenRequest) GetServiceAccountId

func (m *GetAccessTokenRequest) GetServiceAccountId() int64

func (*GetAccessTokenRequest) GetServiceAccountName

func (m *GetAccessTokenRequest) GetServiceAccountName() string

func (*GetAccessTokenRequest) ProtoMessage

func (*GetAccessTokenRequest) ProtoMessage()

func (*GetAccessTokenRequest) Reset

func (m *GetAccessTokenRequest) Reset()

func (*GetAccessTokenRequest) String

func (m *GetAccessTokenRequest) String() string

type GetAccessTokenResponse

type GetAccessTokenResponse struct {
	AccessToken      *string `protobuf:"bytes,1,opt,name=access_token" json:"access_token,omitempty"`
	ExpirationTime   *int64  `protobuf:"varint,2,opt,name=expiration_time" json:"expiration_time,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*GetAccessTokenResponse) GetAccessToken

func (m *GetAccessTokenResponse) GetAccessToken() string

func (*GetAccessTokenResponse) GetExpirationTime

func (m *GetAccessTokenResponse) GetExpirationTime() int64

func (*GetAccessTokenResponse) ProtoMessage

func (*GetAccessTokenResponse) ProtoMessage()

func (*GetAccessTokenResponse) Reset

func (m *GetAccessTokenResponse) Reset()

func (*GetAccessTokenResponse) String

func (m *GetAccessTokenResponse) String() string

type GetDefaultGcsBucketNameRequest

type GetDefaultGcsBucketNameRequest struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*GetDefaultGcsBucketNameRequest) ProtoMessage

func (*GetDefaultGcsBucketNameRequest) ProtoMessage()

func (*GetDefaultGcsBucketNameRequest) Reset

func (m *GetDefaultGcsBucketNameRequest) Reset()

func (*GetDefaultGcsBucketNameRequest) String

type GetDefaultGcsBucketNameResponse

type GetDefaultGcsBucketNameResponse struct {
	DefaultGcsBucketName *string `protobuf:"bytes,1,opt,name=default_gcs_bucket_name" json:"default_gcs_bucket_name,omitempty"`
	XXX_unrecognized     []byte  `json:"-"`
}

func (*GetDefaultGcsBucketNameResponse) GetDefaultGcsBucketName

func (m *GetDefaultGcsBucketNameResponse) GetDefaultGcsBucketName() string

func (*GetDefaultGcsBucketNameResponse) ProtoMessage

func (*GetDefaultGcsBucketNameResponse) ProtoMessage()

func (*GetDefaultGcsBucketNameResponse) Reset

func (*GetDefaultGcsBucketNameResponse) String

type GetPublicCertificateForAppRequest

type GetPublicCertificateForAppRequest struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*GetPublicCertificateForAppRequest) ProtoMessage

func (*GetPublicCertificateForAppRequest) ProtoMessage()

func (*GetPublicCertificateForAppRequest) Reset

func (*GetPublicCertificateForAppRequest) String

type GetPublicCertificateForAppResponse

type GetPublicCertificateForAppResponse struct {
	PublicCertificateList      []*PublicCertificate `protobuf:"bytes,1,rep,name=public_certificate_list" json:"public_certificate_list,omitempty"`
	MaxClientCacheTimeInSecond *int64               `protobuf:"varint,2,opt,name=max_client_cache_time_in_second" json:"max_client_cache_time_in_second,omitempty"`
	XXX_unrecognized           []byte               `json:"-"`
}

func (*GetPublicCertificateForAppResponse) GetMaxClientCacheTimeInSecond

func (m *GetPublicCertificateForAppResponse) GetMaxClientCacheTimeInSecond() int64

func (*GetPublicCertificateForAppResponse) GetPublicCertificateList

func (m *GetPublicCertificateForAppResponse) GetPublicCertificateList() []*PublicCertificate

func (*GetPublicCertificateForAppResponse) ProtoMessage

func (*GetPublicCertificateForAppResponse) ProtoMessage()

func (*GetPublicCertificateForAppResponse) Reset

func (*GetPublicCertificateForAppResponse) String

type GetServiceAccountNameRequest

type GetServiceAccountNameRequest struct {
	XXX_unrecognized []byte `json:"-"`
}

func (*GetServiceAccountNameRequest) ProtoMessage

func (*GetServiceAccountNameRequest) ProtoMessage()

func (*GetServiceAccountNameRequest) Reset

func (m *GetServiceAccountNameRequest) Reset()

func (*GetServiceAccountNameRequest) String

type GetServiceAccountNameResponse

type GetServiceAccountNameResponse struct {
	ServiceAccountName *string `protobuf:"bytes,1,opt,name=service_account_name" json:"service_account_name,omitempty"`
	XXX_unrecognized   []byte  `json:"-"`
}

func (*GetServiceAccountNameResponse) GetServiceAccountName

func (m *GetServiceAccountNameResponse) GetServiceAccountName() string

func (*GetServiceAccountNameResponse) ProtoMessage

func (*GetServiceAccountNameResponse) ProtoMessage()

func (*GetServiceAccountNameResponse) Reset

func (m *GetServiceAccountNameResponse) Reset()

func (*GetServiceAccountNameResponse) String

type PublicCertificate

type PublicCertificate struct {
	KeyName            *string `protobuf:"bytes,1,opt,name=key_name" json:"key_name,omitempty"`
	X509CertificatePem *string `protobuf:"bytes,2,opt,name=x509_certificate_pem" json:"x509_certificate_pem,omitempty"`
	XXX_unrecognized   []byte  `json:"-"`
}

func (*PublicCertificate) GetKeyName

func (m *PublicCertificate) GetKeyName() string

func (*PublicCertificate) GetX509CertificatePem

func (m *PublicCertificate) GetX509CertificatePem() string

func (*PublicCertificate) ProtoMessage

func (*PublicCertificate) ProtoMessage()

func (*PublicCertificate) Reset

func (m *PublicCertificate) Reset()

func (*PublicCertificate) String

func (m *PublicCertificate) String() string

type SignForAppRequest

type SignForAppRequest struct {
	BytesToSign      []byte `protobuf:"bytes,1,opt,name=bytes_to_sign" json:"bytes_to_sign,omitempty"`
	XXX_unrecognized []byte `json:"-"`
}

func (*SignForAppRequest) GetBytesToSign

func (m *SignForAppRequest) GetBytesToSign() []byte

func (*SignForAppRequest) ProtoMessage

func (*SignForAppRequest) ProtoMessage()

func (*SignForAppRequest) Reset

func (m *SignForAppRequest) Reset()

func (*SignForAppRequest) String

func (m *SignForAppRequest) String() string

type SignForAppResponse

type SignForAppResponse struct {
	KeyName          *string `protobuf:"bytes,1,opt,name=key_name" json:"key_name,omitempty"`
	SignatureBytes   []byte  `protobuf:"bytes,2,opt,name=signature_bytes" json:"signature_bytes,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*SignForAppResponse) GetKeyName

func (m *SignForAppResponse) GetKeyName() string

func (*SignForAppResponse) GetSignatureBytes

func (m *SignForAppResponse) GetSignatureBytes() []byte

func (*SignForAppResponse) ProtoMessage

func (*SignForAppResponse) ProtoMessage()

func (*SignForAppResponse) Reset

func (m *SignForAppResponse) Reset()

func (*SignForAppResponse) String

func (m *SignForAppResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL