Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + type AbortInfo struct + Cause string + ForceSendFields []string + NullFields []string + ResourceUri string + func (s *AbortInfo) MarshalJSON() ([]byte, error) + type AuditConfig struct + AuditLogConfigs []*AuditLogConfig + ForceSendFields []string + NullFields []string + Service string + func (s *AuditConfig) MarshalJSON() ([]byte, error) + type AuditLogConfig struct + ExemptedMembers []string + ForceSendFields []string + LogType string + NullFields []string + func (s *AuditLogConfig) MarshalJSON() ([]byte, error) + type Binding struct + BindingId string + Condition *Expr + ForceSendFields []string + Members []string + NullFields []string + Role string + func (s *Binding) MarshalJSON() ([]byte, error) + type CancelOperationRequest struct + type ConnectivityTest struct + CreateTime string + Description string + Destination *Endpoint + DisplayName string + ForceSendFields []string + Labels map[string]string + Name string + NullFields []string + Protocol string + ReachabilityDetails *ReachabilityDetails + RelatedProjects []string + Source *Endpoint + UpdateTime string + func (s *ConnectivityTest) MarshalJSON() ([]byte, error) + type DeliverInfo struct + ForceSendFields []string + NullFields []string + ResourceUri string + Target string + func (s *DeliverInfo) MarshalJSON() ([]byte, error) + type DropInfo struct + Cause string + ForceSendFields []string + NullFields []string + ResourceUri string + func (s *DropInfo) MarshalJSON() ([]byte, error) + type Empty struct + type Endpoint struct + ForceSendFields []string + Instance string + IpAddress string + Network string + NetworkType string + NullFields []string + Port int64 + ProjectId string + func (s *Endpoint) MarshalJSON() ([]byte, error) + type EndpointInfo struct + DestinationIp string + DestinationNetworkUri string + DestinationPort int64 + ForceSendFields []string + NullFields []string + Protocol string + SourceIp string + SourceNetworkUri string + SourcePort int64 + func (s *EndpointInfo) MarshalJSON() ([]byte, error) + type Expr struct + Description string + Expression string + ForceSendFields []string + Location string + NullFields []string + Title string + func (s *Expr) MarshalJSON() ([]byte, error) + type FirewallInfo struct + Action string + Direction string + DisplayName string + ForceSendFields []string + NetworkUri string + NullFields []string + Priority int64 + TargetServiceAccounts []string + TargetTags []string + Uri string + func (s *FirewallInfo) MarshalJSON() ([]byte, error) + type ForwardInfo struct + ForceSendFields []string + NullFields []string + ResourceUri string + Target string + func (s *ForwardInfo) MarshalJSON() ([]byte, error) + type ForwardingRuleInfo struct + DisplayName string + ForceSendFields []string + MatchedPortRange string + MatchedProtocol string + NetworkUri string + NullFields []string + Target string + Uri string + Vip string + func (s *ForwardingRuleInfo) MarshalJSON() ([]byte, error) + type InstanceInfo struct + DisplayName string + ExternalIp string + ForceSendFields []string + Interface string + InternalIp string + NetworkTags []string + NetworkUri string + NullFields []string + ServiceAccount string + Uri string + func (s *InstanceInfo) MarshalJSON() ([]byte, error) + type ListConnectivityTestsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + Resources []*ConnectivityTest + Unreachable []string + func (s *ListConnectivityTestsResponse) 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 LoadBalancerBackend struct + DisplayName string + ForceSendFields []string + HealthCheckAllowingFirewallRules []string + HealthCheckBlockingFirewallRules []string + HealthCheckFirewallState string + NullFields []string + Uri string + func (s *LoadBalancerBackend) MarshalJSON() ([]byte, error) + type LoadBalancerInfo struct + BackendType string + BackendUri string + Backends []*LoadBalancerBackend + ForceSendFields []string + HealthCheckUri string + LoadBalancerType string + NullFields []string + func (s *LoadBalancerInfo) 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 NetworkInfo struct + DisplayName string + ForceSendFields []string + MatchedIpRange string + NullFields []string + Uri string + func (s *NetworkInfo) 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 Policy struct + AuditConfigs []*AuditConfig + Bindings []*Binding + Etag string + ForceSendFields []string + NullFields []string + Version int64 + func (s *Policy) 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 ProjectsLocationsGlobalConnectivityTestsCreateCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsCreateCall + func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsCreateCall + func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) Header() http.Header + func (c *ProjectsLocationsGlobalConnectivityTestsCreateCall) TestId(testId string) *ProjectsLocationsGlobalConnectivityTestsCreateCall + type ProjectsLocationsGlobalConnectivityTestsDeleteCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsDeleteCall + func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsDeleteCall + func (c *ProjectsLocationsGlobalConnectivityTestsDeleteCall) Header() http.Header + type ProjectsLocationsGlobalConnectivityTestsGetCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsGetCall + func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) Do(opts ...googleapi.CallOption) (*ConnectivityTest, error) + func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsGetCall + func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) Header() http.Header + func (c *ProjectsLocationsGlobalConnectivityTestsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalConnectivityTestsGetCall + type ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall + func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall + func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) Header() http.Header + func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall + func (c *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall + type ProjectsLocationsGlobalConnectivityTestsListCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsListCall + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Do(opts ...googleapi.CallOption) (*ListConnectivityTestsResponse, error) + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsListCall + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Filter(filter string) *ProjectsLocationsGlobalConnectivityTestsListCall + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Header() http.Header + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalConnectivityTestsListCall + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) OrderBy(orderBy string) *ProjectsLocationsGlobalConnectivityTestsListCall + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) PageSize(pageSize int64) *ProjectsLocationsGlobalConnectivityTestsListCall + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) PageToken(pageToken string) *ProjectsLocationsGlobalConnectivityTestsListCall + func (c *ProjectsLocationsGlobalConnectivityTestsListCall) Pages(ctx context.Context, f func(*ListConnectivityTestsResponse) error) error + type ProjectsLocationsGlobalConnectivityTestsPatchCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsPatchCall + func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsPatchCall + func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) Header() http.Header + func (c *ProjectsLocationsGlobalConnectivityTestsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsGlobalConnectivityTestsPatchCall + type ProjectsLocationsGlobalConnectivityTestsRerunCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsRerunCall + func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsRerunCall + func (c *ProjectsLocationsGlobalConnectivityTestsRerunCall) Header() http.Header + type ProjectsLocationsGlobalConnectivityTestsService struct + func NewProjectsLocationsGlobalConnectivityTestsService(s *Service) *ProjectsLocationsGlobalConnectivityTestsService + func (r *ProjectsLocationsGlobalConnectivityTestsService) Create(parent string, connectivitytest *ConnectivityTest) *ProjectsLocationsGlobalConnectivityTestsCreateCall + func (r *ProjectsLocationsGlobalConnectivityTestsService) Delete(name string) *ProjectsLocationsGlobalConnectivityTestsDeleteCall + func (r *ProjectsLocationsGlobalConnectivityTestsService) Get(name string) *ProjectsLocationsGlobalConnectivityTestsGetCall + func (r *ProjectsLocationsGlobalConnectivityTestsService) GetIamPolicy(resource string) *ProjectsLocationsGlobalConnectivityTestsGetIamPolicyCall + func (r *ProjectsLocationsGlobalConnectivityTestsService) List(parent string) *ProjectsLocationsGlobalConnectivityTestsListCall + func (r *ProjectsLocationsGlobalConnectivityTestsService) Patch(name string, connectivitytest *ConnectivityTest) *ProjectsLocationsGlobalConnectivityTestsPatchCall + func (r *ProjectsLocationsGlobalConnectivityTestsService) Rerun(name string, rerunconnectivitytestrequest *RerunConnectivityTestRequest) *ProjectsLocationsGlobalConnectivityTestsRerunCall + func (r *ProjectsLocationsGlobalConnectivityTestsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall + func (r *ProjectsLocationsGlobalConnectivityTestsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall + type ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall + func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error) + func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall + func (c *ProjectsLocationsGlobalConnectivityTestsSetIamPolicyCall) Header() http.Header + type ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall struct + func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall + func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error) + func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall + func (c *ProjectsLocationsGlobalConnectivityTestsTestIamPermissionsCall) Header() http.Header + type ProjectsLocationsGlobalOperationsCancelCall struct + func (c *ProjectsLocationsGlobalOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsGlobalOperationsCancelCall + func (c *ProjectsLocationsGlobalOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsGlobalOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalOperationsCancelCall + func (c *ProjectsLocationsGlobalOperationsCancelCall) Header() http.Header + type ProjectsLocationsGlobalOperationsDeleteCall struct + func (c *ProjectsLocationsGlobalOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsGlobalOperationsDeleteCall + func (c *ProjectsLocationsGlobalOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsGlobalOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalOperationsDeleteCall + func (c *ProjectsLocationsGlobalOperationsDeleteCall) Header() http.Header + type ProjectsLocationsGlobalOperationsGetCall struct + func (c *ProjectsLocationsGlobalOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsGlobalOperationsGetCall + func (c *ProjectsLocationsGlobalOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsLocationsGlobalOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalOperationsGetCall + func (c *ProjectsLocationsGlobalOperationsGetCall) Header() http.Header + func (c *ProjectsLocationsGlobalOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalOperationsGetCall + type ProjectsLocationsGlobalOperationsListCall struct + func (c *ProjectsLocationsGlobalOperationsListCall) Context(ctx context.Context) *ProjectsLocationsGlobalOperationsListCall + func (c *ProjectsLocationsGlobalOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error) + func (c *ProjectsLocationsGlobalOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsGlobalOperationsListCall + func (c *ProjectsLocationsGlobalOperationsListCall) Filter(filter string) *ProjectsLocationsGlobalOperationsListCall + func (c *ProjectsLocationsGlobalOperationsListCall) Header() http.Header + func (c *ProjectsLocationsGlobalOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsGlobalOperationsListCall + func (c *ProjectsLocationsGlobalOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsGlobalOperationsListCall + func (c *ProjectsLocationsGlobalOperationsListCall) PageToken(pageToken string) *ProjectsLocationsGlobalOperationsListCall + func (c *ProjectsLocationsGlobalOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error + type ProjectsLocationsGlobalOperationsService struct + func NewProjectsLocationsGlobalOperationsService(s *Service) *ProjectsLocationsGlobalOperationsService + func (r *ProjectsLocationsGlobalOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsGlobalOperationsCancelCall + func (r *ProjectsLocationsGlobalOperationsService) Delete(name string) *ProjectsLocationsGlobalOperationsDeleteCall + func (r *ProjectsLocationsGlobalOperationsService) Get(name string) *ProjectsLocationsGlobalOperationsGetCall + func (r *ProjectsLocationsGlobalOperationsService) List(name string) *ProjectsLocationsGlobalOperationsListCall + type ProjectsLocationsGlobalService struct + ConnectivityTests *ProjectsLocationsGlobalConnectivityTestsService + Operations *ProjectsLocationsGlobalOperationsService + func NewProjectsLocationsGlobalService(s *Service) *ProjectsLocationsGlobalService + 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) PageSize(pageSize int64) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall + func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error + type ProjectsLocationsService struct + Global *ProjectsLocationsGlobalService + 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 ReachabilityDetails struct + Error *Status + ForceSendFields []string + NullFields []string + Result string + Traces []*Trace + VerifyTime string + func (s *ReachabilityDetails) MarshalJSON() ([]byte, error) + type RerunConnectivityTestRequest struct + type RouteInfo struct + DestIpRange string + DisplayName string + ForceSendFields []string + InstanceTags []string + NetworkUri string + NextHop string + NextHopType string + NullFields []string + Priority int64 + RouteType string + Uri string + func (s *RouteInfo) 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 SetIamPolicyRequest struct + ForceSendFields []string + NullFields []string + Policy *Policy + UpdateMask string + func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type Step struct + Abort *AbortInfo + CausesDrop bool + Deliver *DeliverInfo + Description string + Drop *DropInfo + Endpoint *EndpointInfo + Firewall *FirewallInfo + ForceSendFields []string + Forward *ForwardInfo + ForwardingRule *ForwardingRuleInfo + Instance *InstanceInfo + LoadBalancer *LoadBalancerInfo + Network *NetworkInfo + NullFields []string + ProjectId string + Route *RouteInfo + State string + VpnGateway *VpnGatewayInfo + VpnTunnel *VpnTunnelInfo + func (s *Step) MarshalJSON() ([]byte, error) + type TestIamPermissionsRequest struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error) + type TestIamPermissionsResponse struct + ForceSendFields []string + NullFields []string + Permissions []string + func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) + type Trace struct + EndpointInfo *EndpointInfo + ForceSendFields []string + NullFields []string + Steps []*Step + func (s *Trace) MarshalJSON() ([]byte, error) + type VpnGatewayInfo struct + DisplayName string + ForceSendFields []string + IpAddress string + NetworkUri string + NullFields []string + Region string + Uri string + VpnTunnelUri string + func (s *VpnGatewayInfo) MarshalJSON() ([]byte, error) + type VpnTunnelInfo struct + DisplayName string + ForceSendFields []string + NetworkUri string + NullFields []string + Region string + RemoteGateway string + RemoteGatewayIp string + RoutingType string + SourceGateway string + SourceGatewayIp string + Uri string + func (s *VpnTunnelInfo) MarshalJSON() ([]byte, error)