dto

package
v0.0.0-...-ed11039 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrorInfo

type ErrorInfo struct {
	Reason   string            `json:"reason"`
	Domain   string            `json:"domain"`
	Metadata map[string]string `json:"metadata"`
}

type FieldViolation

type FieldViolation struct {
	Field          string      `json:"-"`
	Description    *string     `json:"-"`
	DescriptionID  *string     `json:"-"`
	DescriptionAny interface{} `json:"-"`
}
type HelpLink struct {
	URL         string `json:"url"`
	Description string `json:"description"`
}

type Localized

type Localized struct {
	TextID *string     `json:"-"`
	Any    interface{} `json:"-"`
}

type PreconditionViolation

type PreconditionViolation struct {
	Type        string `json:"type"`
	Subject     string `json:"subject"`
	Description string `json:"description"`
}

type QuotaViolation

type QuotaViolation struct {
	Subject     string `json:"subject"`
	Description string `json:"description"`
}

type RequestInfo

type RequestInfo struct {
	RequestID           string         `json:"requestId"`
	RequestDuration     *time.Duration `json:"requestDuration,omitempty"`
	ServingData         string         `json:"servingData"`
	ApproximatedLatency *time.Duration `json:"approximatedLatency,omitempty"`
}

type ResourceInfo

type ResourceInfo struct {
	Type        string `json:"type"`
	Name        string `json:"name"`
	Owner       string `json:"owner"`
	Description string `json:"description"`
}

type RetryInfo

type RetryInfo struct {
	Delay time.Duration `json:"delay"`
}

Jump to

Keyboard shortcuts

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