Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + const ServicecontrolScope + type Api struct + ForceSendFields []string + NullFields []string + Operation string + Protocol string + Service string + Version string + func (s *Api) MarshalJSON() ([]byte, error) + type AttributeContext struct + Api *Api + Destination *Peer + Extensions []googleapi.RawMessage + ForceSendFields []string + NullFields []string + Origin *Peer + Request *Request + Resource *Resource + Response *Response + Source *Peer + func (s *AttributeContext) MarshalJSON() ([]byte, error) + type AuditLog struct + AuthenticationInfo *AuthenticationInfo + AuthorizationInfo []*AuthorizationInfo + ForceSendFields []string + Metadata googleapi.RawMessage + MethodName string + NullFields []string + NumResponseItems int64 + Request googleapi.RawMessage + RequestMetadata *RequestMetadata + ResourceLocation *ResourceLocation + ResourceName string + ResourceOriginalState googleapi.RawMessage + Response googleapi.RawMessage + ServiceData googleapi.RawMessage + ServiceName string + Status *Status + func (s *AuditLog) MarshalJSON() ([]byte, error) + type Auth struct + AccessLevels []string + Audiences []string + Claims googleapi.RawMessage + ForceSendFields []string + NullFields []string + Presenter string + Principal string + func (s *Auth) MarshalJSON() ([]byte, error) + type AuthenticationInfo struct + AuthoritySelector string + ForceSendFields []string + NullFields []string + PrincipalEmail string + PrincipalSubject string + ServiceAccountDelegationInfo []*ServiceAccountDelegationInfo + ServiceAccountKeyName string + ThirdPartyPrincipal googleapi.RawMessage + func (s *AuthenticationInfo) MarshalJSON() ([]byte, error) + type AuthorizationInfo struct + ForceSendFields []string + Granted bool + NullFields []string + Permission string + Resource string + ResourceAttributes *Resource + func (s *AuthorizationInfo) MarshalJSON() ([]byte, error) + type CheckRequest struct + Attributes *AttributeContext + ForceSendFields []string + NullFields []string + Resources []*ResourceInfo + ServiceConfigId string + func (s *CheckRequest) MarshalJSON() ([]byte, error) + type CheckResponse struct + ForceSendFields []string + Headers map[string]string + NullFields []string + Status *Status + func (s *CheckResponse) MarshalJSON() ([]byte, error) + type FirstPartyPrincipal struct + ForceSendFields []string + NullFields []string + PrincipalEmail string + ServiceMetadata googleapi.RawMessage + func (s *FirstPartyPrincipal) MarshalJSON() ([]byte, error) + type Peer struct + ForceSendFields []string + Ip string + Labels map[string]string + NullFields []string + Port int64 + Principal string + RegionCode string + func (s *Peer) MarshalJSON() ([]byte, error) + type ReportRequest struct + ForceSendFields []string + NullFields []string + Operations []*AttributeContext + ServiceConfigId string + func (s *ReportRequest) MarshalJSON() ([]byte, error) + type ReportResponse struct + type Request struct + Auth *Auth + ForceSendFields []string + Headers map[string]string + Host string + Id string + Method string + NullFields []string + Path string + Protocol string + Query string + Reason string + Scheme string + Size int64 + Time string + func (s *Request) MarshalJSON() ([]byte, error) + type RequestMetadata struct + CallerIp string + CallerNetwork string + CallerSuppliedUserAgent string + DestinationAttributes *Peer + ForceSendFields []string + NullFields []string + RequestAttributes *Request + func (s *RequestMetadata) MarshalJSON() ([]byte, error) + type Resource struct + Annotations map[string]string + CreateTime string + DeleteTime string + DisplayName string + Etag string + ForceSendFields []string + Labels map[string]string + Name string + NullFields []string + Service string + Type string + Uid string + UpdateTime string + func (s *Resource) MarshalJSON() ([]byte, error) + type ResourceInfo struct + ForceSendFields []string + Name string + NullFields []string + Permission string + Type string + func (s *ResourceInfo) MarshalJSON() ([]byte, error) + type ResourceLocation struct + CurrentLocations []string + ForceSendFields []string + NullFields []string + OriginalLocations []string + func (s *ResourceLocation) MarshalJSON() ([]byte, error) + type Response struct + Code int64 + ForceSendFields []string + Headers map[string]string + NullFields []string + Size int64 + Time string + func (s *Response) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Services *ServicesService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type ServiceAccountDelegationInfo struct + FirstPartyPrincipal *FirstPartyPrincipal + ForceSendFields []string + NullFields []string + PrincipalSubject string + ThirdPartyPrincipal *ThirdPartyPrincipal + func (s *ServiceAccountDelegationInfo) MarshalJSON() ([]byte, error) + type ServicesCheckCall struct + func (c *ServicesCheckCall) Context(ctx context.Context) *ServicesCheckCall + func (c *ServicesCheckCall) Do(opts ...googleapi.CallOption) (*CheckResponse, error) + func (c *ServicesCheckCall) Fields(s ...googleapi.Field) *ServicesCheckCall + func (c *ServicesCheckCall) Header() http.Header + type ServicesReportCall struct + func (c *ServicesReportCall) Context(ctx context.Context) *ServicesReportCall + func (c *ServicesReportCall) Do(opts ...googleapi.CallOption) (*ReportResponse, error) + func (c *ServicesReportCall) Fields(s ...googleapi.Field) *ServicesReportCall + func (c *ServicesReportCall) Header() http.Header + type ServicesService struct + func NewServicesService(s *Service) *ServicesService + func (r *ServicesService) Check(serviceName string, checkrequest *CheckRequest) *ServicesCheckCall + func (r *ServicesService) Report(serviceName string, reportrequest *ReportRequest) *ServicesReportCall + type SpanContext struct + ForceSendFields []string + NullFields []string + SpanName string + func (s *SpanContext) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type ThirdPartyPrincipal struct + ForceSendFields []string + NullFields []string + ThirdPartyClaims googleapi.RawMessage + func (s *ThirdPartyPrincipal) MarshalJSON() ([]byte, error)