Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + type AttributeValue struct + BoolValue bool + ForceSendFields []string + IntValue int64 + NullFields []string + StringValue *TruncatableString + func (s *AttributeValue) MarshalJSON() ([]byte, error) + type Attributes struct + AttributeMap map[string]AttributeValue + DroppedAttributesCount int64 + ForceSendFields []string + NullFields []string + func (s *Attributes) MarshalJSON() ([]byte, error) + type BillingView struct + ForceSendFields []string + NullFields []string + ReportRequests []*ReportRequest + func (s *BillingView) MarshalJSON() ([]byte, error) + type CancelOperationRequest struct + type Distribution struct + BucketCounts googleapi.Int64s + Count int64 + Exemplars []*Exemplar + ExplicitBuckets *ExplicitBuckets + ExponentialBuckets *ExponentialBuckets + ForceSendFields []string + LinearBuckets *LinearBuckets + Maximum float64 + Mean float64 + Minimum float64 + NullFields []string + SumOfSquaredDeviation float64 + func (s *Distribution) MarshalJSON() ([]byte, error) + func (s *Distribution) UnmarshalJSON(data []byte) error + type Empty struct + type Exemplar struct + Attachments []googleapi.RawMessage + ForceSendFields []string + NullFields []string + Timestamp string + Value float64 + func (s *Exemplar) MarshalJSON() ([]byte, error) + func (s *Exemplar) UnmarshalJSON(data []byte) error + type ExplicitBuckets struct + Bounds []float64 + ForceSendFields []string + NullFields []string + func (s *ExplicitBuckets) MarshalJSON() ([]byte, error) + type ExponentialBuckets struct + ForceSendFields []string + GrowthFactor float64 + NullFields []string + NumFiniteBuckets int64 + Scale float64 + func (s *ExponentialBuckets) MarshalJSON() ([]byte, error) + func (s *ExponentialBuckets) UnmarshalJSON(data []byte) error + type FileShareConfig struct + CapacityGb int64 + ForceSendFields []string + Name string + NullFields []string + func (s *FileShareConfig) MarshalJSON() ([]byte, error) + type GoogleApiServicecontrolV1Operation struct + ConsumerId string + EndTime string + ForceSendFields []string + Importance string + Labels map[string]string + LogEntries []*LogEntry + MetricValueSets []*MetricValueSet + NullFields []string + OperationId string + OperationName string + QuotaProperties *QuotaProperties + Resources []*ResourceInfo + StartTime string + TraceSpans []*TraceSpan + UserLabels map[string]string + func (s *GoogleApiServicecontrolV1Operation) MarshalJSON() ([]byte, error) + type GoogleCloudSaasacceleratorManagementProvidersV1Instance struct + ConsumerDefinedName string + CreateTime string + ForceSendFields []string + Labels map[string]string + MaintenancePolicyNames map[string]string + MaintenanceSchedules map[string]GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule + Name string + NullFields []string + ProducerMetadata map[string]string + ProvisionedResources []*GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource + SlmInstanceTemplate string + SloMetadata *GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata + SoftwareVersions map[string]string + State string + TenantProjectId string + UpdateTime string + func (s *GoogleCloudSaasacceleratorManagementProvidersV1Instance) MarshalJSON() ([]byte, error) + type GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule struct + CanReschedule bool + EndTime string + ForceSendFields []string + NullFields []string + RolloutManagementPolicy string + StartTime string + func (s *GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule) MarshalJSON() ([]byte, error) + type GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata struct + Exclusions []*GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion + ForceSendFields []string + Location string + NodeId string + NullFields []string + func (s *GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata) MarshalJSON() ([]byte, error) + type GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource struct + ForceSendFields []string + NullFields []string + ResourceType string + ResourceUrl string + func (s *GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource) MarshalJSON() ([]byte, error) + type GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility struct + Eligible bool + ForceSendFields []string + NullFields []string + Reason string + func (s *GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility) MarshalJSON() ([]byte, error) + type GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion struct + Duration string + ForceSendFields []string + NullFields []string + Reason string + SliName string + StartTime string + func (s *GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion) MarshalJSON() ([]byte, error) + type GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata struct + Eligibility *GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility + Exclusions []*GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion + ForceSendFields []string + Nodes []*GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata + NullFields []string + Tier string + func (s *GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata) MarshalJSON() ([]byte, error) + type HttpRequest 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 *HttpRequest) MarshalJSON() ([]byte, error) + type Instance struct + CreateTime string + Description string + Etag string + FileShares []*FileShareConfig + ForceSendFields []string + Labels map[string]string + Name string + Networks []*NetworkConfig + NullFields []string + State string + StatusMessage string + Tier string + func (s *Instance) MarshalJSON() ([]byte, error) + type LinearBuckets struct + ForceSendFields []string + NullFields []string + NumFiniteBuckets int64 + Offset float64 + Width float64 + func (s *LinearBuckets) MarshalJSON() ([]byte, error) + func (s *LinearBuckets) UnmarshalJSON(data []byte) error + type ListInstancesResponse struct + ForceSendFields []string + Instances []*Instance + NextPageToken string + NullFields []string + Unreachable []string + func (s *ListInstancesResponse) MarshalJSON() ([]byte, error) + type ListLocationsResponse struct + ForceSendFields []string + Locations []*Location + NextPageToken string + NullFields []string + func (s *ListLocationsResponse) MarshalJSON() ([]byte, error) + type ListOperationsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Operations []*Operation + func (s *ListOperationsResponse) MarshalJSON() ([]byte, error) + type Location struct + DisplayName string + ForceSendFields []string + Labels map[string]string + LocationId string + Metadata googleapi.RawMessage + Name string + NullFields []string + func (s *Location) MarshalJSON() ([]byte, error) + type LogEntry struct + ForceSendFields []string + HttpRequest *HttpRequest + InsertId string + Labels map[string]string + Name string + NullFields []string + Operation *LogEntryOperation + ProtoPayload googleapi.RawMessage + Severity string + SourceLocation *LogEntrySourceLocation + StructPayload googleapi.RawMessage + TextPayload string + Timestamp string + Trace string + func (s *LogEntry) MarshalJSON() ([]byte, error) + type LogEntryOperation struct + First bool + ForceSendFields []string + Id string + Last bool + NullFields []string + Producer string + func (s *LogEntryOperation) MarshalJSON() ([]byte, error) + type LogEntrySourceLocation struct + File string + ForceSendFields []string + Function string + Line int64 + NullFields []string + func (s *LogEntrySourceLocation) MarshalJSON() ([]byte, error) + type MetricValue struct + BoolValue bool + DistributionValue *Distribution + DoubleValue float64 + EndTime string + ForceSendFields []string + Int64Value int64 + Labels map[string]string + MoneyValue *Money + NullFields []string + StartTime string + StringValue string + func (s *MetricValue) MarshalJSON() ([]byte, error) + func (s *MetricValue) UnmarshalJSON(data []byte) error + type MetricValueSet struct + ForceSendFields []string + MetricName string + MetricValues []*MetricValue + NullFields []string + func (s *MetricValueSet) MarshalJSON() ([]byte, error) + type Money struct + CurrencyCode string + ForceSendFields []string + Nanos int64 + NullFields []string + Units int64 + func (s *Money) MarshalJSON() ([]byte, error) + type NetworkConfig struct + ForceSendFields []string + IpAddresses []string + Modes []string + Network string + NullFields []string + ReservedIpRange string + func (s *NetworkConfig) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type OperationMetadata struct + ApiVersion string + CancelRequested bool + CreateTime string + EndTime string + ForceSendFields []string + NullFields []string + StatusDetail string + Target string + Verb string + func (s *OperationMetadata) MarshalJSON() ([]byte, error) + type ProjectsLocationsGetCall struct + func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall + func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error) + func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall + func (c *ProjectsLocationsGetCall) Header() http.Header + func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall + type ProjectsLocationsInstancesCreateCall struct + func (c *ProjectsLocationsInstancesCreateCall) Context(ctx context.Context) *ProjectsLocationsInstancesCreateCall + func (c *ProjectsLocationsInstancesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesCreateCall + func (c *ProjectsLocationsInstancesCreateCall) Header() http.Header + func (c *ProjectsLocationsInstancesCreateCall) InstanceId(instanceId string) *ProjectsLocationsInstancesCreateCall + type ProjectsLocationsInstancesDeleteCall struct + func (c *ProjectsLocationsInstancesDeleteCall) Context(ctx context.Context) *ProjectsLocationsInstancesDeleteCall + func (c *ProjectsLocationsInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesDeleteCall + func (c *ProjectsLocationsInstancesDeleteCall) Header() http.Header + type ProjectsLocationsInstancesGetCall struct + func (c *ProjectsLocationsInstancesGetCall) Context(ctx context.Context) *ProjectsLocationsInstancesGetCall + func (c *ProjectsLocationsInstancesGetCall) Do(opts ...googleapi.CallOption) (*Instance, error) + func (c *ProjectsLocationsInstancesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesGetCall + func (c *ProjectsLocationsInstancesGetCall) Header() http.Header + func (c *ProjectsLocationsInstancesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesGetCall + type ProjectsLocationsInstancesListCall struct + func (c *ProjectsLocationsInstancesListCall) Context(ctx context.Context) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) Do(opts ...googleapi.CallOption) (*ListInstancesResponse, error) + func (c *ProjectsLocationsInstancesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) Filter(filter string) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) Header() http.Header + func (c *ProjectsLocationsInstancesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) OrderBy(orderBy string) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) PageSize(pageSize int64) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) PageToken(pageToken string) *ProjectsLocationsInstancesListCall + func (c *ProjectsLocationsInstancesListCall) Pages(ctx context.Context, f func(*ListInstancesResponse) error) error + type ProjectsLocationsInstancesPatchCall struct + func (c *ProjectsLocationsInstancesPatchCall) Context(ctx context.Context) *ProjectsLocationsInstancesPatchCall + func (c *ProjectsLocationsInstancesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsInstancesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsInstancesPatchCall + func (c *ProjectsLocationsInstancesPatchCall) Header() http.Header + func (c *ProjectsLocationsInstancesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsInstancesPatchCall + type ProjectsLocationsInstancesService struct + func NewProjectsLocationsInstancesService(s *Service) *ProjectsLocationsInstancesService + func (r *ProjectsLocationsInstancesService) Create(parent string, instance *Instance) *ProjectsLocationsInstancesCreateCall + func (r *ProjectsLocationsInstancesService) Delete(name string) *ProjectsLocationsInstancesDeleteCall + func (r *ProjectsLocationsInstancesService) Get(name string) *ProjectsLocationsInstancesGetCall + func (r *ProjectsLocationsInstancesService) List(parent string) *ProjectsLocationsInstancesListCall + func (r *ProjectsLocationsInstancesService) Patch(name string, instance *Instance) *ProjectsLocationsInstancesPatchCall + type ProjectsLocationsListCall struct + func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error) + func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Header() http.Header + func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) IncludeUnrevealedLocations(includeUnrevealedLocations bool) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error + type ProjectsLocationsOperationsCancelCall struct + func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall + func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall + func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header + type ProjectsLocationsOperationsDeleteCall struct + func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall + func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall + func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header + type ProjectsLocationsOperationsGetCall struct + func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall + func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall + func (c *ProjectsLocationsOperationsGetCall) Header() http.Header + func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall + type ProjectsLocationsOperationsListCall struct + func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Header() http.Header + func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall + func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type ProjectsLocationsOperationsService struct + func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService + func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall + func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall + func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall + func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall + type ProjectsLocationsService struct + Instances *ProjectsLocationsInstancesService + Operations *ProjectsLocationsOperationsService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall + func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type QuotaProperties struct + ForceSendFields []string + NullFields []string + QuotaMode string + func (s *QuotaProperties) MarshalJSON() ([]byte, error) + type ReportRequest struct + ForceSendFields []string + NullFields []string + Operations []*GoogleApiServicecontrolV1Operation + ServiceConfigId string + ServiceName string + func (s *ReportRequest) MarshalJSON() ([]byte, error) + type ResourceInfo struct + ForceSendFields []string + NullFields []string + ResourceContainer string + ResourceLocation string + ResourceName string + func (s *ResourceInfo) MarshalJSON() ([]byte, error) + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type TraceSpan struct + Attributes *Attributes + ChildSpanCount int64 + DisplayName *TruncatableString + EndTime string + ForceSendFields []string + Name string + NullFields []string + ParentSpanId string + SameProcessAsParentSpan bool + SpanId string + SpanKind string + StartTime string + Status *Status + func (s *TraceSpan) MarshalJSON() ([]byte, error) + type TruncatableString struct + ForceSendFields []string + NullFields []string + TruncatedByteCount int64 + Value string + func (s *TruncatableString) MarshalJSON() ([]byte, error)