Versions in this module Expand all Collapse all v0 v0.0.1 Dec 7, 2023 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 + PolicyViolationInfo *PolicyViolationInfo + 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 + ServiceDelegationHistory *ServiceDelegationHistory + 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 + Flags string + 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 OrgPolicyViolationInfo struct + ForceSendFields []string + NullFields []string + Payload googleapi.RawMessage + ResourceTags map[string]string + ResourceType string + ViolationInfo []*ViolationInfo + func (s *OrgPolicyViolationInfo) 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 PolicyViolationInfo struct + ForceSendFields []string + NullFields []string + OrgPolicyViolationInfo *OrgPolicyViolationInfo + func (s *PolicyViolationInfo) 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 + Location string + Name string + NullFields []string + Service string + Type string + Uid string + UpdateTime string + func (s *Resource) MarshalJSON() ([]byte, error) + type ResourceInfo struct + Container string + ForceSendFields []string + Location 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 + BackendLatency string + 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 ServiceDelegationHistory struct + ForceSendFields []string + NullFields []string + OriginalPrincipal string + ServiceMetadata []*ServiceMetadata + func (s *ServiceDelegationHistory) MarshalJSON() ([]byte, error) + type ServiceMetadata struct + ForceSendFields []string + JobMetadata googleapi.RawMessage + NullFields []string + PrincipalSubject string + ServiceDomain string + func (s *ServiceMetadata) 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) + type V2HttpRequest struct + CacheFillBytes int64 + CacheHit bool + CacheLookup bool + CacheValidatedWithOriginServer bool + ForceSendFields []string + Latency string + NullFields []string + Protocol string + Referer string + RemoteIp string + RequestMethod string + RequestSize int64 + RequestUrl string + ResponseSize int64 + ServerIp string + Status int64 + UserAgent string + func (s *V2HttpRequest) MarshalJSON() ([]byte, error) + type V2LogEntry struct + ForceSendFields []string + HttpRequest *V2HttpRequest + InsertId string + Labels map[string]string + MonitoredResourceLabels map[string]string + Name string + NullFields []string + Operation *V2LogEntryOperation + ProtoPayload googleapi.RawMessage + Severity string + SourceLocation *V2LogEntrySourceLocation + StructPayload googleapi.RawMessage + TextPayload string + Timestamp string + Trace string + func (s *V2LogEntry) MarshalJSON() ([]byte, error) + type V2LogEntryOperation struct + First bool + ForceSendFields []string + Id string + Last bool + NullFields []string + Producer string + func (s *V2LogEntryOperation) MarshalJSON() ([]byte, error) + type V2LogEntrySourceLocation struct + File string + ForceSendFields []string + Function string + Line int64 + NullFields []string + func (s *V2LogEntrySourceLocation) MarshalJSON() ([]byte, error) + type ViolationInfo struct + CheckedValue string + Constraint string + ErrorMessage string + ForceSendFields []string + NullFields []string + PolicyType string + func (s *ViolationInfo) MarshalJSON() ([]byte, error)