Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + const CloudPlatformScope + const ServiceManagementScope + type APIService struct + BasePath string + Operations *OperationsService + Services *ServicesService + UserAgent string + func New(client *http.Client) (*APIService, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, error) + type AddRolesMetadata struct + type AddRolesResponse struct + ForceSendFields []string + NullFields []string + PolicyBinding []*PolicyBinding + func (s *AddRolesResponse) MarshalJSON() ([]byte, error) + type AddSubnetworkRequest struct + Consumer string + ConsumerNetwork string + Description string + ForceSendFields []string + IpPrefixLength int64 + NullFields []string + Region string + RequestedAddress string + Subnetwork string + SubnetworkUsers []string + func (s *AddSubnetworkRequest) MarshalJSON() ([]byte, error) + type Api struct + ForceSendFields []string + Methods []*Method + Mixins []*Mixin + Name string + NullFields []string + Options []*Option + SourceContext *SourceContext + Syntax string + Version string + func (s *Api) MarshalJSON() ([]byte, error) + type AuthProvider struct + Audiences string + AuthorizationUrl string + ForceSendFields []string + Id string + Issuer string + JwksUri string + JwtLocations []*JwtLocation + NullFields []string + func (s *AuthProvider) MarshalJSON() ([]byte, error) + type AuthRequirement struct + Audiences string + ForceSendFields []string + NullFields []string + ProviderId string + func (s *AuthRequirement) MarshalJSON() ([]byte, error) + type Authentication struct + ForceSendFields []string + NullFields []string + Providers []*AuthProvider + Rules []*AuthenticationRule + func (s *Authentication) MarshalJSON() ([]byte, error) + type AuthenticationRule struct + AllowWithoutCredential bool + ForceSendFields []string + NullFields []string + Oauth *OAuthRequirements + Requirements []*AuthRequirement + Selector string + func (s *AuthenticationRule) MarshalJSON() ([]byte, error) + type Backend struct + ForceSendFields []string + NullFields []string + Rules []*BackendRule + func (s *Backend) MarshalJSON() ([]byte, error) + type BackendRule struct + Address string + Deadline float64 + DisableAuth bool + ForceSendFields []string + JwtAudience string + MinDeadline float64 + NullFields []string + OperationDeadline float64 + PathTranslation string + Protocol string + RenameTo string + Selector string + func (s *BackendRule) MarshalJSON() ([]byte, error) + func (s *BackendRule) UnmarshalJSON(data []byte) error + type Billing struct + ConsumerDestinations []*BillingDestination + ForceSendFields []string + NullFields []string + func (s *Billing) MarshalJSON() ([]byte, error) + type BillingDestination struct + ForceSendFields []string + Metrics []string + MonitoredResource string + NullFields []string + func (s *BillingDestination) MarshalJSON() ([]byte, error) + type Connection struct + ForceSendFields []string + Network string + NullFields []string + Peering string + ReservedPeeringRanges []string + Service string + func (s *Connection) MarshalJSON() ([]byte, error) + type Context struct + ForceSendFields []string + NullFields []string + Rules []*ContextRule + func (s *Context) MarshalJSON() ([]byte, error) + type ContextRule struct + AllowedRequestExtensions []string + AllowedResponseExtensions []string + ForceSendFields []string + NullFields []string + Provided []string + Requested []string + Selector string + func (s *ContextRule) MarshalJSON() ([]byte, error) + type Control struct + Environment string + ForceSendFields []string + NullFields []string + func (s *Control) MarshalJSON() ([]byte, error) + type CustomError struct + ForceSendFields []string + NullFields []string + Rules []*CustomErrorRule + Types []string + func (s *CustomError) MarshalJSON() ([]byte, error) + type CustomErrorRule struct + ForceSendFields []string + IsErrorType bool + NullFields []string + Selector string + func (s *CustomErrorRule) MarshalJSON() ([]byte, error) + type CustomHttpPattern struct + ForceSendFields []string + Kind string + NullFields []string + Path string + func (s *CustomHttpPattern) MarshalJSON() ([]byte, error) + type Documentation struct + DocumentationRootUrl string + ForceSendFields []string + NullFields []string + Overview string + Pages []*Page + Rules []*DocumentationRule + ServiceRootUrl string + Summary string + func (s *Documentation) MarshalJSON() ([]byte, error) + type DocumentationRule struct + DeprecationDescription string + Description string + ForceSendFields []string + NullFields []string + Selector string + func (s *DocumentationRule) MarshalJSON() ([]byte, error) + type Endpoint struct + Aliases []string + AllowCors bool + Features []string + ForceSendFields []string + Name string + NullFields []string + Target string + func (s *Endpoint) MarshalJSON() ([]byte, error) + type Enum struct + Enumvalue []*EnumValue + ForceSendFields []string + Name string + NullFields []string + Options []*Option + SourceContext *SourceContext + Syntax string + func (s *Enum) MarshalJSON() ([]byte, error) + type EnumValue struct + ForceSendFields []string + Name string + NullFields []string + Number int64 + Options []*Option + func (s *EnumValue) MarshalJSON() ([]byte, error) + type Field struct + Cardinality string + DefaultValue string + ForceSendFields []string + JsonName string + Kind string + Name string + NullFields []string + Number int64 + OneofIndex int64 + Options []*Option + Packed bool + TypeUrl string + func (s *Field) MarshalJSON() ([]byte, error) + type GoogleCloudServicenetworkingV1betaSubnetwork struct + ForceSendFields []string + IpCidrRange string + Name string + Network string + NullFields []string + OutsideAllocation bool + func (s *GoogleCloudServicenetworkingV1betaSubnetwork) MarshalJSON() ([]byte, error) + type Http struct + ForceSendFields []string + FullyDecodeReservedExpansion bool + NullFields []string + Rules []*HttpRule + func (s *Http) MarshalJSON() ([]byte, error) + type HttpRule struct + AdditionalBindings []*HttpRule + AllowHalfDuplex bool + Body string + Custom *CustomHttpPattern + Delete string + ForceSendFields []string + Get string + NullFields []string + Patch string + Post string + Put string + ResponseBody string + Selector string + func (s *HttpRule) MarshalJSON() ([]byte, error) + type JwtLocation struct + ForceSendFields []string + Header string + NullFields []string + Query string + ValuePrefix string + func (s *JwtLocation) MarshalJSON() ([]byte, error) + type LabelDescriptor struct + Description string + ForceSendFields []string + Key string + NullFields []string + ValueType string + func (s *LabelDescriptor) MarshalJSON() ([]byte, error) + type ListConnectionsResponse struct + Connections []*Connection + ForceSendFields []string + NullFields []string + func (s *ListConnectionsResponse) MarshalJSON() ([]byte, error) + type LogDescriptor struct + Description string + DisplayName string + ForceSendFields []string + Labels []*LabelDescriptor + Name string + NullFields []string + func (s *LogDescriptor) MarshalJSON() ([]byte, error) + type Logging struct + ConsumerDestinations []*LoggingDestination + ForceSendFields []string + NullFields []string + ProducerDestinations []*LoggingDestination + func (s *Logging) MarshalJSON() ([]byte, error) + type LoggingDestination struct + ForceSendFields []string + Logs []string + MonitoredResource string + NullFields []string + func (s *LoggingDestination) MarshalJSON() ([]byte, error) + type Method struct + ForceSendFields []string + Name string + NullFields []string + Options []*Option + RequestStreaming bool + RequestTypeUrl string + ResponseStreaming bool + ResponseTypeUrl string + Syntax string + func (s *Method) MarshalJSON() ([]byte, error) + type MetricDescriptor struct + Description string + DisplayName string + ForceSendFields []string + Labels []*LabelDescriptor + LaunchStage string + Metadata *MetricDescriptorMetadata + MetricKind string + MonitoredResourceTypes []string + Name string + NullFields []string + Type string + Unit string + ValueType string + func (s *MetricDescriptor) MarshalJSON() ([]byte, error) + type MetricDescriptorMetadata struct + ForceSendFields []string + IngestDelay string + LaunchStage string + NullFields []string + SamplePeriod string + func (s *MetricDescriptorMetadata) MarshalJSON() ([]byte, error) + type MetricRule struct + ForceSendFields []string + MetricCosts map[string]string + NullFields []string + Selector string + func (s *MetricRule) MarshalJSON() ([]byte, error) + type Mixin struct + ForceSendFields []string + Name string + NullFields []string + Root string + func (s *Mixin) MarshalJSON() ([]byte, error) + type MonitoredResourceDescriptor struct + Description string + DisplayName string + ForceSendFields []string + Labels []*LabelDescriptor + LaunchStage string + Name string + NullFields []string + Type string + func (s *MonitoredResourceDescriptor) MarshalJSON() ([]byte, error) + type Monitoring struct + ConsumerDestinations []*MonitoringDestination + ForceSendFields []string + NullFields []string + ProducerDestinations []*MonitoringDestination + func (s *Monitoring) MarshalJSON() ([]byte, error) + type MonitoringDestination struct + ForceSendFields []string + Metrics []string + MonitoredResource string + NullFields []string + func (s *MonitoringDestination) MarshalJSON() ([]byte, error) + type OAuthRequirements struct + CanonicalScopes string + ForceSendFields []string + NullFields []string + func (s *OAuthRequirements) 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 OperationsGetCall struct + func (c *OperationsGetCall) Context(ctx context.Context) *OperationsGetCall + func (c *OperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *OperationsGetCall) Fields(s ...googleapi.Field) *OperationsGetCall + func (c *OperationsGetCall) Header() http.Header + func (c *OperationsGetCall) IfNoneMatch(entityTag string) *OperationsGetCall + type OperationsService struct + func NewOperationsService(s *APIService) *OperationsService + func (r *OperationsService) Get(name string) *OperationsGetCall + type Option struct + ForceSendFields []string + Name string + NullFields []string + Value googleapi.RawMessage + func (s *Option) MarshalJSON() ([]byte, error) + type Page struct + Content string + ForceSendFields []string + Name string + NullFields []string + Subpages []*Page + func (s *Page) MarshalJSON() ([]byte, error) + type PolicyBinding struct + ForceSendFields []string + Member string + NullFields []string + Role string + func (s *PolicyBinding) MarshalJSON() ([]byte, error) + type Quota struct + ForceSendFields []string + Limits []*QuotaLimit + MetricRules []*MetricRule + NullFields []string + func (s *Quota) MarshalJSON() ([]byte, error) + type QuotaLimit struct + DefaultLimit int64 + Description string + DisplayName string + Duration string + ForceSendFields []string + FreeTier int64 + MaxLimit int64 + Metric string + Name string + NullFields []string + Unit string + Values map[string]string + func (s *QuotaLimit) MarshalJSON() ([]byte, error) + type Range struct + ForceSendFields []string + IpCidrRange string + Network string + NullFields []string + func (s *Range) MarshalJSON() ([]byte, error) + type Route struct + DestRange string + ForceSendFields []string + Name string + Network string + NextHopGateway string + NullFields []string + func (s *Route) MarshalJSON() ([]byte, error) + type SearchRangeRequest struct + ForceSendFields []string + IpPrefixLength int64 + Network string + NullFields []string + func (s *SearchRangeRequest) MarshalJSON() ([]byte, error) + type Service struct + Apis []*Api + Authentication *Authentication + Backend *Backend + Billing *Billing + ConfigVersion int64 + Context *Context + Control *Control + CustomError *CustomError + Documentation *Documentation + Endpoints []*Endpoint + Enums []*Enum + ForceSendFields []string + Http *Http + Id string + Logging *Logging + Logs []*LogDescriptor + Metrics []*MetricDescriptor + MonitoredResources []*MonitoredResourceDescriptor + Monitoring *Monitoring + Name string + NullFields []string + ProducerProjectId string + Quota *Quota + SourceInfo *SourceInfo + SystemParameters *SystemParameters + SystemTypes []*Type + Title string + Types []*Type + Usage *Usage + func (s *Service) MarshalJSON() ([]byte, error) + type ServiceIdentity struct + Description string + DisplayName string + ForceSendFields []string + NullFields []string + ServiceAccountParent string + func (s *ServiceIdentity) MarshalJSON() ([]byte, error) + type ServicesAddSubnetworkCall struct + func (c *ServicesAddSubnetworkCall) Context(ctx context.Context) *ServicesAddSubnetworkCall + func (c *ServicesAddSubnetworkCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ServicesAddSubnetworkCall) Fields(s ...googleapi.Field) *ServicesAddSubnetworkCall + func (c *ServicesAddSubnetworkCall) Header() http.Header + type ServicesConnectionsCreateCall struct + func (c *ServicesConnectionsCreateCall) Context(ctx context.Context) *ServicesConnectionsCreateCall + func (c *ServicesConnectionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ServicesConnectionsCreateCall) Fields(s ...googleapi.Field) *ServicesConnectionsCreateCall + func (c *ServicesConnectionsCreateCall) Header() http.Header + type ServicesConnectionsListCall struct + func (c *ServicesConnectionsListCall) Context(ctx context.Context) *ServicesConnectionsListCall + func (c *ServicesConnectionsListCall) Do(opts ...googleapi.CallOption) (*ListConnectionsResponse, error) + func (c *ServicesConnectionsListCall) Fields(s ...googleapi.Field) *ServicesConnectionsListCall + func (c *ServicesConnectionsListCall) Header() http.Header + func (c *ServicesConnectionsListCall) IfNoneMatch(entityTag string) *ServicesConnectionsListCall + func (c *ServicesConnectionsListCall) Network(network string) *ServicesConnectionsListCall + type ServicesConnectionsService struct + func NewServicesConnectionsService(s *APIService) *ServicesConnectionsService + func (r *ServicesConnectionsService) Create(parent string, connection *Connection) *ServicesConnectionsCreateCall + func (r *ServicesConnectionsService) List(parent string) *ServicesConnectionsListCall + type ServicesSearchRangeCall struct + func (c *ServicesSearchRangeCall) Context(ctx context.Context) *ServicesSearchRangeCall + func (c *ServicesSearchRangeCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ServicesSearchRangeCall) Fields(s ...googleapi.Field) *ServicesSearchRangeCall + func (c *ServicesSearchRangeCall) Header() http.Header + type ServicesService struct + Connections *ServicesConnectionsService + func NewServicesService(s *APIService) *ServicesService + func (r *ServicesService) AddSubnetwork(parent string, addsubnetworkrequest *AddSubnetworkRequest) *ServicesAddSubnetworkCall + func (r *ServicesService) SearchRange(parent string, searchrangerequest *SearchRangeRequest) *ServicesSearchRangeCall + func (r *ServicesService) UpdateConnections(name string, connection *Connection) *ServicesUpdateConnectionsCall + type ServicesUpdateConnectionsCall struct + func (c *ServicesUpdateConnectionsCall) Context(ctx context.Context) *ServicesUpdateConnectionsCall + func (c *ServicesUpdateConnectionsCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ServicesUpdateConnectionsCall) Fields(s ...googleapi.Field) *ServicesUpdateConnectionsCall + func (c *ServicesUpdateConnectionsCall) Force(force bool) *ServicesUpdateConnectionsCall + func (c *ServicesUpdateConnectionsCall) Header() http.Header + func (c *ServicesUpdateConnectionsCall) UpdateMask(updateMask string) *ServicesUpdateConnectionsCall + type SourceContext struct + FileName string + ForceSendFields []string + NullFields []string + func (s *SourceContext) MarshalJSON() ([]byte, error) + type SourceInfo struct + ForceSendFields []string + NullFields []string + SourceFiles []googleapi.RawMessage + func (s *SourceInfo) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type Subnetwork struct + ForceSendFields []string + IpCidrRange string + Name string + Network string + NullFields []string + OutsideAllocation bool + func (s *Subnetwork) MarshalJSON() ([]byte, error) + type SystemParameter struct + ForceSendFields []string + HttpHeader string + Name string + NullFields []string + UrlQueryParameter string + func (s *SystemParameter) MarshalJSON() ([]byte, error) + type SystemParameterRule struct + ForceSendFields []string + NullFields []string + Parameters []*SystemParameter + Selector string + func (s *SystemParameterRule) MarshalJSON() ([]byte, error) + type SystemParameters struct + ForceSendFields []string + NullFields []string + Rules []*SystemParameterRule + func (s *SystemParameters) MarshalJSON() ([]byte, error) + type Type struct + Fields []*Field + ForceSendFields []string + Name string + NullFields []string + Oneofs []string + Options []*Option + SourceContext *SourceContext + Syntax string + func (s *Type) MarshalJSON() ([]byte, error) + type Usage struct + ForceSendFields []string + NullFields []string + ProducerNotificationChannel string + Requirements []string + Rules []*UsageRule + ServiceIdentity *ServiceIdentity + func (s *Usage) MarshalJSON() ([]byte, error) + type UsageRule struct + AllowUnregisteredCalls bool + ForceSendFields []string + NullFields []string + Selector string + SkipServiceControl bool + func (s *UsageRule) MarshalJSON() ([]byte, error)