Documentation ¶
Index ¶
- func PtrTo[T any](t T) *T
- func ValueOf[T any](t *T) T
- type DisksV1
- func (s *DisksV1) Delete(ctx context.Context, req *pb.DeleteDiskRequest) (*pb.Operation, error)
- func (s *DisksV1) Get(ctx context.Context, req *pb.GetDiskRequest) (*pb.Disk, error)
- func (s *DisksV1) Insert(ctx context.Context, req *pb.InsertDiskRequest) (*pb.Operation, error)
- func (s *DisksV1) Update(ctx context.Context, req *pb.UpdateDiskRequest) (*pb.Operation, error)
- type FirewallPoliciesV1
- func (s *FirewallPoliciesV1) AddRule(ctx context.Context, req *pb.AddRuleFirewallPolicyRequest) (*pb.Operation, error)
- func (s *FirewallPoliciesV1) Delete(ctx context.Context, req *pb.DeleteFirewallPolicyRequest) (*pb.Operation, error)
- func (s *FirewallPoliciesV1) Get(ctx context.Context, req *pb.GetFirewallPolicyRequest) (*pb.FirewallPolicy, error)
- func (s *FirewallPoliciesV1) GetRule(ctx context.Context, req *pb.GetRuleFirewallPolicyRequest) (*pb.FirewallPolicyRule, error)
- func (s *FirewallPoliciesV1) Insert(ctx context.Context, req *pb.InsertFirewallPolicyRequest) (*pb.Operation, error)
- func (s *FirewallPoliciesV1) Patch(ctx context.Context, req *pb.PatchFirewallPolicyRequest) (*pb.Operation, error)
- func (s *FirewallPoliciesV1) PatchRule(ctx context.Context, req *pb.PatchRuleFirewallPolicyRequest) (*pb.Operation, error)
- func (s *FirewallPoliciesV1) RemoveRule(ctx context.Context, req *pb.RemoveRuleFirewallPolicyRequest) (*pb.Operation, error)
- type GlobalAddressesV1
- func (s *GlobalAddressesV1) Delete(ctx context.Context, req *pb.DeleteGlobalAddressRequest) (*pb.Operation, error)
- func (s *GlobalAddressesV1) Get(ctx context.Context, req *pb.GetGlobalAddressRequest) (*pb.Address, error)
- func (s *GlobalAddressesV1) Insert(ctx context.Context, req *pb.InsertGlobalAddressRequest) (*pb.Operation, error)
- func (s *GlobalAddressesV1) SetLabels(ctx context.Context, req *pb.SetLabelsGlobalAddressRequest) (*pb.Operation, error)
- type GlobalBackendServicesV1
- func (s *GlobalBackendServicesV1) Delete(ctx context.Context, req *pb.DeleteBackendServiceRequest) (*pb.Operation, error)
- func (s *GlobalBackendServicesV1) Get(ctx context.Context, req *pb.GetBackendServiceRequest) (*pb.BackendService, error)
- func (s *GlobalBackendServicesV1) Insert(ctx context.Context, req *pb.InsertBackendServiceRequest) (*pb.Operation, error)
- func (s *GlobalBackendServicesV1) Update(ctx context.Context, req *pb.UpdateBackendServiceRequest) (*pb.Operation, error)
- type GlobalForwardingRulesV1
- func (s *GlobalForwardingRulesV1) Delete(ctx context.Context, req *pb.DeleteGlobalForwardingRuleRequest) (*pb.Operation, error)
- func (s *GlobalForwardingRulesV1) Get(ctx context.Context, req *pb.GetGlobalForwardingRuleRequest) (*pb.ForwardingRule, error)
- func (s *GlobalForwardingRulesV1) Insert(ctx context.Context, req *pb.InsertGlobalForwardingRuleRequest) (*pb.Operation, error)
- func (s *GlobalForwardingRulesV1) Patch(ctx context.Context, req *pb.PatchGlobalForwardingRuleRequest) (*pb.Operation, error)
- func (s *GlobalForwardingRulesV1) SetLabels(ctx context.Context, req *pb.SetLabelsGlobalForwardingRuleRequest) (*pb.Operation, error)
- func (s *GlobalForwardingRulesV1) SetTarget(ctx context.Context, req *pb.SetTargetGlobalForwardingRuleRequest) (*pb.Operation, error)
- type GlobalHealthCheckV1
- func (s *GlobalHealthCheckV1) Delete(ctx context.Context, req *pb.DeleteHealthCheckRequest) (*pb.Operation, error)
- func (s *GlobalHealthCheckV1) Get(ctx context.Context, req *pb.GetHealthCheckRequest) (*pb.HealthCheck, error)
- func (s *GlobalHealthCheckV1) Insert(ctx context.Context, req *pb.InsertHealthCheckRequest) (*pb.Operation, error)
- func (s *GlobalHealthCheckV1) Patch(ctx context.Context, req *pb.PatchHealthCheckRequest) (*pb.Operation, error)
- func (s *GlobalHealthCheckV1) Update(ctx context.Context, req *pb.UpdateHealthCheckRequest) (*pb.Operation, error)
- type GlobalOperationsV1
- type GlobalOrganizationOperationsV1
- type GlobalSSLCertificatesV1
- func (s *GlobalSSLCertificatesV1) Delete(ctx context.Context, req *pb.DeleteSslCertificateRequest) (*pb.Operation, error)
- func (s *GlobalSSLCertificatesV1) Get(ctx context.Context, req *pb.GetSslCertificateRequest) (*pb.SslCertificate, error)
- func (s *GlobalSSLCertificatesV1) Insert(ctx context.Context, req *pb.InsertSslCertificateRequest) (*pb.Operation, error)
- type GlobalTargetHTTPProxiesV1
- func (s *GlobalTargetHTTPProxiesV1) Delete(ctx context.Context, req *pb.DeleteTargetHttpProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetHTTPProxiesV1) Get(ctx context.Context, req *pb.GetTargetHttpProxyRequest) (*pb.TargetHttpProxy, error)
- func (s *GlobalTargetHTTPProxiesV1) Insert(ctx context.Context, req *pb.InsertTargetHttpProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetHTTPProxiesV1) Patch(ctx context.Context, req *pb.PatchTargetHttpProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetHTTPProxiesV1) SetUrlMap(ctx context.Context, req *pb.SetUrlMapTargetHttpProxyRequest) (*pb.Operation, error)
- type GlobalTargetHTTPSProxiesV1
- func (s *GlobalTargetHTTPSProxiesV1) Delete(ctx context.Context, req *pb.DeleteTargetHttpsProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetHTTPSProxiesV1) Get(ctx context.Context, req *pb.GetTargetHttpsProxyRequest) (*pb.TargetHttpsProxy, error)
- func (s *GlobalTargetHTTPSProxiesV1) Insert(ctx context.Context, req *pb.InsertTargetHttpsProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetHTTPSProxiesV1) Patch(ctx context.Context, req *pb.PatchTargetHttpsProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetHTTPSProxiesV1) SetQuicOverride(ctx context.Context, req *pb.SetQuicOverrideTargetHttpsProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetHTTPSProxiesV1) SetUrlMap(ctx context.Context, req *pb.SetUrlMapTargetHttpsProxyRequest) (*pb.Operation, error)
- type GlobalTargetTcpProxyV1
- func (s *GlobalTargetTcpProxyV1) Delete(ctx context.Context, req *pb.DeleteTargetTcpProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetTcpProxyV1) Get(ctx context.Context, req *pb.GetTargetTcpProxyRequest) (*pb.TargetTcpProxy, error)
- func (s *GlobalTargetTcpProxyV1) Insert(ctx context.Context, req *pb.InsertTargetTcpProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetTcpProxyV1) SetBackendService(ctx context.Context, req *pb.SetBackendServiceTargetTcpProxyRequest) (*pb.Operation, error)
- func (s *GlobalTargetTcpProxyV1) SetProxyHeader(ctx context.Context, req *pb.SetProxyHeaderTargetTcpProxyRequest) (*pb.Operation, error)
- type GlobalURLMapsV1
- func (s *GlobalURLMapsV1) Delete(ctx context.Context, req *pb.DeleteUrlMapRequest) (*pb.Operation, error)
- func (s *GlobalURLMapsV1) Get(ctx context.Context, req *pb.GetUrlMapRequest) (*pb.UrlMap, error)
- func (s *GlobalURLMapsV1) Insert(ctx context.Context, req *pb.InsertUrlMapRequest) (*pb.Operation, error)
- func (s *GlobalURLMapsV1) Patch(ctx context.Context, req *pb.PatchUrlMapRequest) (*pb.Operation, error)
- func (s *GlobalURLMapsV1) Update(ctx context.Context, req *pb.UpdateUrlMapRequest) (*pb.Operation, error)
- type ImageName
- type ImagesV1
- func (s *ImagesV1) Delete(ctx context.Context, req *pb.DeleteImageRequest) (*pb.Operation, error)
- func (s *ImagesV1) Get(ctx context.Context, req *pb.GetImageRequest) (*pb.Image, error)
- func (s *ImagesV1) GetFromFamily(ctx context.Context, req *pb.GetFromFamilyImageRequest) (*pb.Image, error)
- func (s *ImagesV1) Insert(ctx context.Context, req *pb.InsertImageRequest) (*pb.Operation, error)
- func (s *ImagesV1) Patch(ctx context.Context, req *pb.PatchImageRequest) (*pb.Operation, error)
- func (s *ImagesV1) SetLabels(ctx context.Context, req *pb.SetLabelsImageRequest) (*pb.Operation, error)
- type InstancesV1
- func (s *InstancesV1) AttachDisk(ctx context.Context, req *pb.AttachDiskInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) Delete(ctx context.Context, req *pb.DeleteInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) DetachDisk(ctx context.Context, req *pb.DetachDiskInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) Get(ctx context.Context, req *pb.GetInstanceRequest) (*pb.Instance, error)
- func (s *InstancesV1) Insert(ctx context.Context, req *pb.InsertInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) SetLabels(ctx context.Context, req *pb.SetLabelsInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) SetMachineType(ctx context.Context, req *pb.SetMachineTypeInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) SetServiceAccount(ctx context.Context, req *pb.SetServiceAccountInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) Start(ctx context.Context, req *pb.StartInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) Stop(ctx context.Context, req *pb.StopInstanceRequest) (*pb.Operation, error)
- func (s *InstancesV1) Update(ctx context.Context, req *pb.UpdateInstanceRequest) (*pb.Operation, error)
- type MockService
- type NetworksV1
- func (s *NetworksV1) Delete(ctx context.Context, req *pb.DeleteNetworkRequest) (*pb.Operation, error)
- func (s *NetworksV1) Get(ctx context.Context, req *pb.GetNetworkRequest) (*pb.Network, error)
- func (s *NetworksV1) Insert(ctx context.Context, req *pb.InsertNetworkRequest) (*pb.Operation, error)
- func (s *NetworksV1) Patch(ctx context.Context, req *pb.PatchNetworkRequest) (*pb.Operation, error)
- func (s *NetworksV1) RemovePeering(ctx context.Context, req *pb.RemovePeeringNetworkRequest) (*pb.Operation, error)
- type NodeGroupsV1
- func (s *NodeGroupsV1) Delete(ctx context.Context, req *pb.DeleteNodeGroupRequest) (*pb.Operation, error)
- func (s *NodeGroupsV1) Get(ctx context.Context, req *pb.GetNodeGroupRequest) (*pb.NodeGroup, error)
- func (s *NodeGroupsV1) Insert(ctx context.Context, req *pb.InsertNodeGroupRequest) (*pb.Operation, error)
- func (s *NodeGroupsV1) Patch(ctx context.Context, req *pb.PatchNodeGroupRequest) (*pb.Operation, error)
- type NodeTemplatesV1
- func (s *NodeTemplatesV1) Delete(ctx context.Context, req *pb.DeleteNodeTemplateRequest) (*pb.Operation, error)
- func (s *NodeTemplatesV1) Get(ctx context.Context, req *pb.GetNodeTemplateRequest) (*pb.NodeTemplate, error)
- func (s *NodeTemplatesV1) Insert(ctx context.Context, req *pb.InsertNodeTemplateRequest) (*pb.Operation, error)
- type RegionalAddressesV1
- func (s *RegionalAddressesV1) Delete(ctx context.Context, req *pb.DeleteAddressRequest) (*pb.Operation, error)
- func (s *RegionalAddressesV1) Get(ctx context.Context, req *pb.GetAddressRequest) (*pb.Address, error)
- func (s *RegionalAddressesV1) Insert(ctx context.Context, req *pb.InsertAddressRequest) (*pb.Operation, error)
- func (s *RegionalAddressesV1) SetLabels(ctx context.Context, req *pb.SetLabelsAddressRequest) (*pb.Operation, error)
- type RegionalBackendServicesV1
- func (s *RegionalBackendServicesV1) Delete(ctx context.Context, req *pb.DeleteRegionBackendServiceRequest) (*pb.Operation, error)
- func (s *RegionalBackendServicesV1) Get(ctx context.Context, req *pb.GetRegionBackendServiceRequest) (*pb.BackendService, error)
- func (s *RegionalBackendServicesV1) Insert(ctx context.Context, req *pb.InsertRegionBackendServiceRequest) (*pb.Operation, error)
- func (s *RegionalBackendServicesV1) Update(ctx context.Context, req *pb.UpdateRegionBackendServiceRequest) (*pb.Operation, error)
- type RegionalDisksV1
- func (s *RegionalDisksV1) Delete(ctx context.Context, req *pb.DeleteRegionDiskRequest) (*pb.Operation, error)
- func (s *RegionalDisksV1) Get(ctx context.Context, req *pb.GetRegionDiskRequest) (*pb.Disk, error)
- func (s *RegionalDisksV1) Insert(ctx context.Context, req *pb.InsertRegionDiskRequest) (*pb.Operation, error)
- func (s *RegionalDisksV1) Update(ctx context.Context, req *pb.UpdateRegionDiskRequest) (*pb.Operation, error)
- type RegionalForwardingRulesV1
- func (s *RegionalForwardingRulesV1) Delete(ctx context.Context, req *pb.DeleteForwardingRuleRequest) (*pb.Operation, error)
- func (s *RegionalForwardingRulesV1) Get(ctx context.Context, req *pb.GetForwardingRuleRequest) (*pb.ForwardingRule, error)
- func (s *RegionalForwardingRulesV1) Insert(ctx context.Context, req *pb.InsertForwardingRuleRequest) (*pb.Operation, error)
- func (s *RegionalForwardingRulesV1) Patch(ctx context.Context, req *pb.PatchForwardingRuleRequest) (*pb.Operation, error)
- func (s *RegionalForwardingRulesV1) SetLabels(ctx context.Context, req *pb.SetLabelsForwardingRuleRequest) (*pb.Operation, error)
- func (s *RegionalForwardingRulesV1) SetTarget(ctx context.Context, req *pb.SetTargetForwardingRuleRequest) (*pb.Operation, error)
- type RegionalHealthCheckV1
- func (s *RegionalHealthCheckV1) Delete(ctx context.Context, req *pb.DeleteRegionHealthCheckRequest) (*pb.Operation, error)
- func (s *RegionalHealthCheckV1) Get(ctx context.Context, req *pb.GetRegionHealthCheckRequest) (*pb.HealthCheck, error)
- func (s *RegionalHealthCheckV1) Insert(ctx context.Context, req *pb.InsertRegionHealthCheckRequest) (*pb.Operation, error)
- func (s *RegionalHealthCheckV1) Patch(ctx context.Context, req *pb.PatchRegionHealthCheckRequest) (*pb.Operation, error)
- func (s *RegionalHealthCheckV1) Update(ctx context.Context, req *pb.UpdateRegionHealthCheckRequest) (*pb.Operation, error)
- type RegionalOperationsV1
- type RegionalSSLCertificatesV1
- func (s *RegionalSSLCertificatesV1) Delete(ctx context.Context, req *pb.DeleteRegionSslCertificateRequest) (*pb.Operation, error)
- func (s *RegionalSSLCertificatesV1) Get(ctx context.Context, req *pb.GetRegionSslCertificateRequest) (*pb.SslCertificate, error)
- func (s *RegionalSSLCertificatesV1) Insert(ctx context.Context, req *pb.InsertRegionSslCertificateRequest) (*pb.Operation, error)
- type RegionalServiceAttachmentV1
- func (s *RegionalServiceAttachmentV1) Delete(ctx context.Context, req *pb.DeleteServiceAttachmentRequest) (*pb.Operation, error)
- func (s *RegionalServiceAttachmentV1) Get(ctx context.Context, req *pb.GetServiceAttachmentRequest) (*pb.ServiceAttachment, error)
- func (s *RegionalServiceAttachmentV1) Insert(ctx context.Context, req *pb.InsertServiceAttachmentRequest) (*pb.Operation, error)
- func (s *RegionalServiceAttachmentV1) Patch(ctx context.Context, req *pb.PatchServiceAttachmentRequest) (*pb.Operation, error)
- type RegionalTargetHTTPProxiesV1
- func (s *RegionalTargetHTTPProxiesV1) Delete(ctx context.Context, req *pb.DeleteRegionTargetHttpProxyRequest) (*pb.Operation, error)
- func (s *RegionalTargetHTTPProxiesV1) Get(ctx context.Context, req *pb.GetRegionTargetHttpProxyRequest) (*pb.TargetHttpProxy, error)
- func (s *RegionalTargetHTTPProxiesV1) Insert(ctx context.Context, req *pb.InsertRegionTargetHttpProxyRequest) (*pb.Operation, error)
- func (s *RegionalTargetHTTPProxiesV1) SetUrlMap(ctx context.Context, req *pb.SetUrlMapRegionTargetHttpProxyRequest) (*pb.Operation, error)
- type RegionalTargetHTTPSProxiesV1
- func (s *RegionalTargetHTTPSProxiesV1) Delete(ctx context.Context, req *pb.DeleteRegionTargetHttpsProxyRequest) (*pb.Operation, error)
- func (s *RegionalTargetHTTPSProxiesV1) Get(ctx context.Context, req *pb.GetRegionTargetHttpsProxyRequest) (*pb.TargetHttpsProxy, error)
- func (s *RegionalTargetHTTPSProxiesV1) Insert(ctx context.Context, req *pb.InsertRegionTargetHttpsProxyRequest) (*pb.Operation, error)
- func (s *RegionalTargetHTTPSProxiesV1) SetUrlMap(ctx context.Context, req *pb.SetUrlMapRegionTargetHttpsProxyRequest) (*pb.Operation, error)
- type RegionalTargetTcpProxyV1
- func (s *RegionalTargetTcpProxyV1) Delete(ctx context.Context, req *pb.DeleteRegionTargetTcpProxyRequest) (*pb.Operation, error)
- func (s *RegionalTargetTcpProxyV1) Get(ctx context.Context, req *pb.GetRegionTargetTcpProxyRequest) (*pb.TargetTcpProxy, error)
- func (s *RegionalTargetTcpProxyV1) Insert(ctx context.Context, req *pb.InsertRegionTargetTcpProxyRequest) (*pb.Operation, error)
- type RegionalURLMapsV1
- func (s *RegionalURLMapsV1) Delete(ctx context.Context, req *pb.DeleteRegionUrlMapRequest) (*pb.Operation, error)
- func (s *RegionalURLMapsV1) Get(ctx context.Context, req *pb.GetRegionUrlMapRequest) (*pb.UrlMap, error)
- func (s *RegionalURLMapsV1) Insert(ctx context.Context, req *pb.InsertRegionUrlMapRequest) (*pb.Operation, error)
- func (s *RegionalURLMapsV1) Patch(ctx context.Context, req *pb.PatchRegionUrlMapRequest) (*pb.Operation, error)
- func (s *RegionalURLMapsV1) Update(ctx context.Context, req *pb.UpdateRegionUrlMapRequest) (*pb.Operation, error)
- type SubnetsV1
- func (s *SubnetsV1) Delete(ctx context.Context, req *pb.DeleteSubnetworkRequest) (*pb.Operation, error)
- func (s *SubnetsV1) Get(ctx context.Context, req *pb.GetSubnetworkRequest) (*pb.Subnetwork, error)
- func (s *SubnetsV1) Insert(ctx context.Context, req *pb.InsertSubnetworkRequest) (*pb.Operation, error)
- func (s *SubnetsV1) SetPrivateIpGoogleAccess(ctx context.Context, req *pb.SetPrivateIpGoogleAccessSubnetworkRequest) (*pb.Operation, error)
- type TargetGrpcProxyV1
- func (s *TargetGrpcProxyV1) Delete(ctx context.Context, req *pb.DeleteTargetGrpcProxyRequest) (*pb.Operation, error)
- func (s *TargetGrpcProxyV1) Get(ctx context.Context, req *pb.GetTargetGrpcProxyRequest) (*pb.TargetGrpcProxy, error)
- func (s *TargetGrpcProxyV1) Insert(ctx context.Context, req *pb.InsertTargetGrpcProxyRequest) (*pb.Operation, error)
- type TargetSslProxyV1
- func (s *TargetSslProxyV1) Delete(ctx context.Context, req *pb.DeleteTargetSslProxyRequest) (*pb.Operation, error)
- func (s *TargetSslProxyV1) Get(ctx context.Context, req *pb.GetTargetSslProxyRequest) (*pb.TargetSslProxy, error)
- func (s *TargetSslProxyV1) Insert(ctx context.Context, req *pb.InsertTargetSslProxyRequest) (*pb.Operation, error)
- type TargetVpnGatewaysV1
- func (s *TargetVpnGatewaysV1) Delete(ctx context.Context, req *pb.DeleteTargetVpnGatewayRequest) (*pb.Operation, error)
- func (s *TargetVpnGatewaysV1) Get(ctx context.Context, req *pb.GetTargetVpnGatewayRequest) (*pb.TargetVpnGateway, error)
- func (s *TargetVpnGatewaysV1) Insert(ctx context.Context, req *pb.InsertTargetVpnGatewayRequest) (*pb.Operation, error)
- func (s *TargetVpnGatewaysV1) SetLabels(ctx context.Context, req *pb.SetLabelsTargetVpnGatewayRequest) (*pb.Operation, error)
- type VPNGatewaysV1
- func (s *VPNGatewaysV1) Delete(ctx context.Context, req *pb.DeleteVpnGatewayRequest) (*pb.Operation, error)
- func (s *VPNGatewaysV1) Get(ctx context.Context, req *pb.GetVpnGatewayRequest) (*pb.VpnGateway, error)
- func (s *VPNGatewaysV1) Insert(ctx context.Context, req *pb.InsertVpnGatewayRequest) (*pb.Operation, error)
- func (s *VPNGatewaysV1) SetLabels(ctx context.Context, req *pb.SetLabelsVpnGatewayRequest) (*pb.Operation, error)
- type ZonesV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DisksV1 ¶
type DisksV1 struct { *MockService pb.UnimplementedDisksServer }
type FirewallPoliciesV1 ¶
type FirewallPoliciesV1 struct { *MockService pb.UnimplementedFirewallPoliciesServer }
func (*FirewallPoliciesV1) AddRule ¶
func (s *FirewallPoliciesV1) AddRule(ctx context.Context, req *pb.AddRuleFirewallPolicyRequest) (*pb.Operation, error)
func (*FirewallPoliciesV1) Delete ¶
func (s *FirewallPoliciesV1) Delete(ctx context.Context, req *pb.DeleteFirewallPolicyRequest) (*pb.Operation, error)
func (*FirewallPoliciesV1) Get ¶
func (s *FirewallPoliciesV1) Get(ctx context.Context, req *pb.GetFirewallPolicyRequest) (*pb.FirewallPolicy, error)
func (*FirewallPoliciesV1) GetRule ¶
func (s *FirewallPoliciesV1) GetRule(ctx context.Context, req *pb.GetRuleFirewallPolicyRequest) (*pb.FirewallPolicyRule, error)
func (*FirewallPoliciesV1) Insert ¶
func (s *FirewallPoliciesV1) Insert(ctx context.Context, req *pb.InsertFirewallPolicyRequest) (*pb.Operation, error)
func (*FirewallPoliciesV1) Patch ¶
func (s *FirewallPoliciesV1) Patch(ctx context.Context, req *pb.PatchFirewallPolicyRequest) (*pb.Operation, error)
func (*FirewallPoliciesV1) PatchRule ¶
func (s *FirewallPoliciesV1) PatchRule(ctx context.Context, req *pb.PatchRuleFirewallPolicyRequest) (*pb.Operation, error)
func (*FirewallPoliciesV1) RemoveRule ¶
func (s *FirewallPoliciesV1) RemoveRule(ctx context.Context, req *pb.RemoveRuleFirewallPolicyRequest) (*pb.Operation, error)
type GlobalAddressesV1 ¶
type GlobalAddressesV1 struct { *MockService pb.UnimplementedGlobalAddressesServer }
func (*GlobalAddressesV1) Delete ¶
func (s *GlobalAddressesV1) Delete(ctx context.Context, req *pb.DeleteGlobalAddressRequest) (*pb.Operation, error)
func (*GlobalAddressesV1) Get ¶
func (s *GlobalAddressesV1) Get(ctx context.Context, req *pb.GetGlobalAddressRequest) (*pb.Address, error)
func (*GlobalAddressesV1) Insert ¶
func (s *GlobalAddressesV1) Insert(ctx context.Context, req *pb.InsertGlobalAddressRequest) (*pb.Operation, error)
func (*GlobalAddressesV1) SetLabels ¶
func (s *GlobalAddressesV1) SetLabels(ctx context.Context, req *pb.SetLabelsGlobalAddressRequest) (*pb.Operation, error)
type GlobalBackendServicesV1 ¶
type GlobalBackendServicesV1 struct { *MockService pb.UnimplementedBackendServicesServer }
func (*GlobalBackendServicesV1) Delete ¶
func (s *GlobalBackendServicesV1) Delete(ctx context.Context, req *pb.DeleteBackendServiceRequest) (*pb.Operation, error)
func (*GlobalBackendServicesV1) Get ¶
func (s *GlobalBackendServicesV1) Get(ctx context.Context, req *pb.GetBackendServiceRequest) (*pb.BackendService, error)
func (*GlobalBackendServicesV1) Insert ¶
func (s *GlobalBackendServicesV1) Insert(ctx context.Context, req *pb.InsertBackendServiceRequest) (*pb.Operation, error)
func (*GlobalBackendServicesV1) Update ¶
func (s *GlobalBackendServicesV1) Update(ctx context.Context, req *pb.UpdateBackendServiceRequest) (*pb.Operation, error)
type GlobalForwardingRulesV1 ¶
type GlobalForwardingRulesV1 struct { *MockService pb.UnimplementedGlobalForwardingRulesServer }
func (*GlobalForwardingRulesV1) Delete ¶
func (s *GlobalForwardingRulesV1) Delete(ctx context.Context, req *pb.DeleteGlobalForwardingRuleRequest) (*pb.Operation, error)
func (*GlobalForwardingRulesV1) Get ¶
func (s *GlobalForwardingRulesV1) Get(ctx context.Context, req *pb.GetGlobalForwardingRuleRequest) (*pb.ForwardingRule, error)
func (*GlobalForwardingRulesV1) Insert ¶
func (s *GlobalForwardingRulesV1) Insert(ctx context.Context, req *pb.InsertGlobalForwardingRuleRequest) (*pb.Operation, error)
func (*GlobalForwardingRulesV1) Patch ¶
func (s *GlobalForwardingRulesV1) Patch(ctx context.Context, req *pb.PatchGlobalForwardingRuleRequest) (*pb.Operation, error)
func (*GlobalForwardingRulesV1) SetLabels ¶
func (s *GlobalForwardingRulesV1) SetLabels(ctx context.Context, req *pb.SetLabelsGlobalForwardingRuleRequest) (*pb.Operation, error)
func (*GlobalForwardingRulesV1) SetTarget ¶
func (s *GlobalForwardingRulesV1) SetTarget(ctx context.Context, req *pb.SetTargetGlobalForwardingRuleRequest) (*pb.Operation, error)
type GlobalHealthCheckV1 ¶
type GlobalHealthCheckV1 struct { *MockService pb.UnimplementedHealthChecksServer }
func (*GlobalHealthCheckV1) Delete ¶
func (s *GlobalHealthCheckV1) Delete(ctx context.Context, req *pb.DeleteHealthCheckRequest) (*pb.Operation, error)
func (*GlobalHealthCheckV1) Get ¶
func (s *GlobalHealthCheckV1) Get(ctx context.Context, req *pb.GetHealthCheckRequest) (*pb.HealthCheck, error)
func (*GlobalHealthCheckV1) Insert ¶
func (s *GlobalHealthCheckV1) Insert(ctx context.Context, req *pb.InsertHealthCheckRequest) (*pb.Operation, error)
func (*GlobalHealthCheckV1) Patch ¶
func (s *GlobalHealthCheckV1) Patch(ctx context.Context, req *pb.PatchHealthCheckRequest) (*pb.Operation, error)
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*GlobalHealthCheckV1) Update ¶
func (s *GlobalHealthCheckV1) Update(ctx context.Context, req *pb.UpdateHealthCheckRequest) (*pb.Operation, error)
Updates a HealthCheck resource in the specified project using the data included in the request.
type GlobalOperationsV1 ¶
type GlobalOperationsV1 struct { *MockService pb.UnimplementedGlobalOperationsServer }
func (*GlobalOperationsV1) Get ¶
func (s *GlobalOperationsV1) Get(ctx context.Context, req *pb.GetGlobalOperationRequest) (*pb.Operation, error)
type GlobalOrganizationOperationsV1 ¶
type GlobalOrganizationOperationsV1 struct { *MockService pb.UnimplementedGlobalOrganizationOperationsServer }
func (*GlobalOrganizationOperationsV1) Get ¶
func (s *GlobalOrganizationOperationsV1) Get(ctx context.Context, req *pb.GetGlobalOrganizationOperationRequest) (*pb.Operation, error)
type GlobalSSLCertificatesV1 ¶
type GlobalSSLCertificatesV1 struct { *MockService pb.UnimplementedSslCertificatesServer }
func (*GlobalSSLCertificatesV1) Delete ¶
func (s *GlobalSSLCertificatesV1) Delete(ctx context.Context, req *pb.DeleteSslCertificateRequest) (*pb.Operation, error)
func (*GlobalSSLCertificatesV1) Get ¶
func (s *GlobalSSLCertificatesV1) Get(ctx context.Context, req *pb.GetSslCertificateRequest) (*pb.SslCertificate, error)
func (*GlobalSSLCertificatesV1) Insert ¶
func (s *GlobalSSLCertificatesV1) Insert(ctx context.Context, req *pb.InsertSslCertificateRequest) (*pb.Operation, error)
type GlobalTargetHTTPProxiesV1 ¶
type GlobalTargetHTTPProxiesV1 struct { *MockService pb.UnimplementedTargetHttpProxiesServer }
func (*GlobalTargetHTTPProxiesV1) Delete ¶
func (s *GlobalTargetHTTPProxiesV1) Delete(ctx context.Context, req *pb.DeleteTargetHttpProxyRequest) (*pb.Operation, error)
func (*GlobalTargetHTTPProxiesV1) Get ¶
func (s *GlobalTargetHTTPProxiesV1) Get(ctx context.Context, req *pb.GetTargetHttpProxyRequest) (*pb.TargetHttpProxy, error)
func (*GlobalTargetHTTPProxiesV1) Insert ¶
func (s *GlobalTargetHTTPProxiesV1) Insert(ctx context.Context, req *pb.InsertTargetHttpProxyRequest) (*pb.Operation, error)
func (*GlobalTargetHTTPProxiesV1) Patch ¶
func (s *GlobalTargetHTTPProxiesV1) Patch(ctx context.Context, req *pb.PatchTargetHttpProxyRequest) (*pb.Operation, error)
Updates a TargetHttpProxy resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*GlobalTargetHTTPProxiesV1) SetUrlMap ¶
func (s *GlobalTargetHTTPProxiesV1) SetUrlMap(ctx context.Context, req *pb.SetUrlMapTargetHttpProxyRequest) (*pb.Operation, error)
type GlobalTargetHTTPSProxiesV1 ¶
type GlobalTargetHTTPSProxiesV1 struct { *MockService pb.UnimplementedTargetHttpsProxiesServer }
func (*GlobalTargetHTTPSProxiesV1) Delete ¶
func (s *GlobalTargetHTTPSProxiesV1) Delete(ctx context.Context, req *pb.DeleteTargetHttpsProxyRequest) (*pb.Operation, error)
func (*GlobalTargetHTTPSProxiesV1) Get ¶
func (s *GlobalTargetHTTPSProxiesV1) Get(ctx context.Context, req *pb.GetTargetHttpsProxyRequest) (*pb.TargetHttpsProxy, error)
func (*GlobalTargetHTTPSProxiesV1) Insert ¶
func (s *GlobalTargetHTTPSProxiesV1) Insert(ctx context.Context, req *pb.InsertTargetHttpsProxyRequest) (*pb.Operation, error)
func (*GlobalTargetHTTPSProxiesV1) Patch ¶
func (s *GlobalTargetHTTPSProxiesV1) Patch(ctx context.Context, req *pb.PatchTargetHttpsProxyRequest) (*pb.Operation, error)
Updates a TargetHttpsProxy resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*GlobalTargetHTTPSProxiesV1) SetQuicOverride ¶
func (s *GlobalTargetHTTPSProxiesV1) SetQuicOverride(ctx context.Context, req *pb.SetQuicOverrideTargetHttpsProxyRequest) (*pb.Operation, error)
func (*GlobalTargetHTTPSProxiesV1) SetUrlMap ¶
func (s *GlobalTargetHTTPSProxiesV1) SetUrlMap(ctx context.Context, req *pb.SetUrlMapTargetHttpsProxyRequest) (*pb.Operation, error)
type GlobalTargetTcpProxyV1 ¶
type GlobalTargetTcpProxyV1 struct { *MockService pb.UnimplementedTargetTcpProxiesServer }
func (*GlobalTargetTcpProxyV1) Delete ¶
func (s *GlobalTargetTcpProxyV1) Delete(ctx context.Context, req *pb.DeleteTargetTcpProxyRequest) (*pb.Operation, error)
func (*GlobalTargetTcpProxyV1) Get ¶
func (s *GlobalTargetTcpProxyV1) Get(ctx context.Context, req *pb.GetTargetTcpProxyRequest) (*pb.TargetTcpProxy, error)
func (*GlobalTargetTcpProxyV1) Insert ¶
func (s *GlobalTargetTcpProxyV1) Insert(ctx context.Context, req *pb.InsertTargetTcpProxyRequest) (*pb.Operation, error)
func (*GlobalTargetTcpProxyV1) SetBackendService ¶
func (s *GlobalTargetTcpProxyV1) SetBackendService(ctx context.Context, req *pb.SetBackendServiceTargetTcpProxyRequest) (*pb.Operation, error)
func (*GlobalTargetTcpProxyV1) SetProxyHeader ¶
func (s *GlobalTargetTcpProxyV1) SetProxyHeader(ctx context.Context, req *pb.SetProxyHeaderTargetTcpProxyRequest) (*pb.Operation, error)
type GlobalURLMapsV1 ¶
type GlobalURLMapsV1 struct { *MockService pb.UnimplementedUrlMapsServer }
func (*GlobalURLMapsV1) Delete ¶
func (s *GlobalURLMapsV1) Delete(ctx context.Context, req *pb.DeleteUrlMapRequest) (*pb.Operation, error)
func (*GlobalURLMapsV1) Get ¶
func (s *GlobalURLMapsV1) Get(ctx context.Context, req *pb.GetUrlMapRequest) (*pb.UrlMap, error)
func (*GlobalURLMapsV1) Insert ¶
func (s *GlobalURLMapsV1) Insert(ctx context.Context, req *pb.InsertUrlMapRequest) (*pb.Operation, error)
func (*GlobalURLMapsV1) Patch ¶
func (s *GlobalURLMapsV1) Patch(ctx context.Context, req *pb.PatchUrlMapRequest) (*pb.Operation, error)
Updates a UrlMap resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*GlobalURLMapsV1) Update ¶
func (s *GlobalURLMapsV1) Update(ctx context.Context, req *pb.UpdateUrlMapRequest) (*pb.Operation, error)
Updates a UrlMap resource in the specified project using the data included in the request.
type ImageName ¶
type ImageName struct { Project *projects.ProjectData Name string }
type ImagesV1 ¶
type ImagesV1 struct { *MockService pb.UnimplementedImagesServer }
func (*ImagesV1) GetFromFamily ¶
type InstancesV1 ¶
type InstancesV1 struct { *MockService pb.UnimplementedInstancesServer }
func (*InstancesV1) AttachDisk ¶
func (s *InstancesV1) AttachDisk(ctx context.Context, req *pb.AttachDiskInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) Delete ¶
func (s *InstancesV1) Delete(ctx context.Context, req *pb.DeleteInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) DetachDisk ¶
func (s *InstancesV1) DetachDisk(ctx context.Context, req *pb.DetachDiskInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) Get ¶
func (s *InstancesV1) Get(ctx context.Context, req *pb.GetInstanceRequest) (*pb.Instance, error)
func (*InstancesV1) Insert ¶
func (s *InstancesV1) Insert(ctx context.Context, req *pb.InsertInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) SetLabels ¶
func (s *InstancesV1) SetLabels(ctx context.Context, req *pb.SetLabelsInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) SetMachineType ¶
func (s *InstancesV1) SetMachineType(ctx context.Context, req *pb.SetMachineTypeInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) SetServiceAccount ¶
func (s *InstancesV1) SetServiceAccount(ctx context.Context, req *pb.SetServiceAccountInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) Start ¶
func (s *InstancesV1) Start(ctx context.Context, req *pb.StartInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) Stop ¶
func (s *InstancesV1) Stop(ctx context.Context, req *pb.StopInstanceRequest) (*pb.Operation, error)
func (*InstancesV1) Update ¶
func (s *InstancesV1) Update(ctx context.Context, req *pb.UpdateInstanceRequest) (*pb.Operation, error)
Updates a Instance resource in the specified project using the data included in the request.
type MockService ¶
type MockService struct { *common.MockEnvironment // contains filtered or unexported fields }
MockService represents a mocked compute service.
func New ¶
func New(env *common.MockEnvironment, storage storage.Storage) *MockService
New creates a MockService.
func (*MockService) ExpectedHosts ¶
func (s *MockService) ExpectedHosts() []string
func (*MockService) NewHTTPMux ¶
func (s *MockService) NewHTTPMux(ctx context.Context, conn *grpc.ClientConn) (http.Handler, error)
func (*MockService) Register ¶
func (s *MockService) Register(grpcServer *grpc.Server)
type NetworksV1 ¶
type NetworksV1 struct { *MockService pb.UnimplementedNetworksServer }
func (*NetworksV1) Delete ¶
func (s *NetworksV1) Delete(ctx context.Context, req *pb.DeleteNetworkRequest) (*pb.Operation, error)
func (*NetworksV1) Get ¶
func (s *NetworksV1) Get(ctx context.Context, req *pb.GetNetworkRequest) (*pb.Network, error)
func (*NetworksV1) Insert ¶
func (s *NetworksV1) Insert(ctx context.Context, req *pb.InsertNetworkRequest) (*pb.Operation, error)
func (*NetworksV1) Patch ¶
func (s *NetworksV1) Patch(ctx context.Context, req *pb.PatchNetworkRequest) (*pb.Operation, error)
Patches the specified network with the data included in the request. Only the following fields can be modified: routingConfig.routingMode.
func (*NetworksV1) RemovePeering ¶
func (s *NetworksV1) RemovePeering(ctx context.Context, req *pb.RemovePeeringNetworkRequest) (*pb.Operation, error)
type NodeGroupsV1 ¶
type NodeGroupsV1 struct { *MockService pb.UnimplementedNodeGroupsServer }
func (*NodeGroupsV1) Delete ¶
func (s *NodeGroupsV1) Delete(ctx context.Context, req *pb.DeleteNodeGroupRequest) (*pb.Operation, error)
func (*NodeGroupsV1) Get ¶
func (s *NodeGroupsV1) Get(ctx context.Context, req *pb.GetNodeGroupRequest) (*pb.NodeGroup, error)
func (*NodeGroupsV1) Insert ¶
func (s *NodeGroupsV1) Insert(ctx context.Context, req *pb.InsertNodeGroupRequest) (*pb.Operation, error)
func (*NodeGroupsV1) Patch ¶
func (s *NodeGroupsV1) Patch(ctx context.Context, req *pb.PatchNodeGroupRequest) (*pb.Operation, error)
type NodeTemplatesV1 ¶
type NodeTemplatesV1 struct { *MockService pb.UnimplementedNodeTemplatesServer }
func (*NodeTemplatesV1) Delete ¶
func (s *NodeTemplatesV1) Delete(ctx context.Context, req *pb.DeleteNodeTemplateRequest) (*pb.Operation, error)
func (*NodeTemplatesV1) Get ¶
func (s *NodeTemplatesV1) Get(ctx context.Context, req *pb.GetNodeTemplateRequest) (*pb.NodeTemplate, error)
func (*NodeTemplatesV1) Insert ¶
func (s *NodeTemplatesV1) Insert(ctx context.Context, req *pb.InsertNodeTemplateRequest) (*pb.Operation, error)
type RegionalAddressesV1 ¶
type RegionalAddressesV1 struct { *MockService pb.UnimplementedAddressesServer }
func (*RegionalAddressesV1) Delete ¶
func (s *RegionalAddressesV1) Delete(ctx context.Context, req *pb.DeleteAddressRequest) (*pb.Operation, error)
func (*RegionalAddressesV1) Get ¶
func (s *RegionalAddressesV1) Get(ctx context.Context, req *pb.GetAddressRequest) (*pb.Address, error)
func (*RegionalAddressesV1) Insert ¶
func (s *RegionalAddressesV1) Insert(ctx context.Context, req *pb.InsertAddressRequest) (*pb.Operation, error)
func (*RegionalAddressesV1) SetLabels ¶
func (s *RegionalAddressesV1) SetLabels(ctx context.Context, req *pb.SetLabelsAddressRequest) (*pb.Operation, error)
type RegionalBackendServicesV1 ¶
type RegionalBackendServicesV1 struct { *MockService pb.UnimplementedRegionBackendServicesServer }
func (*RegionalBackendServicesV1) Delete ¶
func (s *RegionalBackendServicesV1) Delete(ctx context.Context, req *pb.DeleteRegionBackendServiceRequest) (*pb.Operation, error)
func (*RegionalBackendServicesV1) Get ¶
func (s *RegionalBackendServicesV1) Get(ctx context.Context, req *pb.GetRegionBackendServiceRequest) (*pb.BackendService, error)
func (*RegionalBackendServicesV1) Insert ¶
func (s *RegionalBackendServicesV1) Insert(ctx context.Context, req *pb.InsertRegionBackendServiceRequest) (*pb.Operation, error)
func (*RegionalBackendServicesV1) Update ¶
func (s *RegionalBackendServicesV1) Update(ctx context.Context, req *pb.UpdateRegionBackendServiceRequest) (*pb.Operation, error)
type RegionalDisksV1 ¶
type RegionalDisksV1 struct { *MockService pb.UnimplementedRegionDisksServer }
func (*RegionalDisksV1) Delete ¶
func (s *RegionalDisksV1) Delete(ctx context.Context, req *pb.DeleteRegionDiskRequest) (*pb.Operation, error)
func (*RegionalDisksV1) Get ¶
func (s *RegionalDisksV1) Get(ctx context.Context, req *pb.GetRegionDiskRequest) (*pb.Disk, error)
func (*RegionalDisksV1) Insert ¶
func (s *RegionalDisksV1) Insert(ctx context.Context, req *pb.InsertRegionDiskRequest) (*pb.Operation, error)
func (*RegionalDisksV1) Update ¶
func (s *RegionalDisksV1) Update(ctx context.Context, req *pb.UpdateRegionDiskRequest) (*pb.Operation, error)
Updates a disk resource in the specified project using the data included in the request.
type RegionalForwardingRulesV1 ¶
type RegionalForwardingRulesV1 struct { *MockService pb.UnimplementedForwardingRulesServer }
func (*RegionalForwardingRulesV1) Delete ¶
func (s *RegionalForwardingRulesV1) Delete(ctx context.Context, req *pb.DeleteForwardingRuleRequest) (*pb.Operation, error)
func (*RegionalForwardingRulesV1) Get ¶
func (s *RegionalForwardingRulesV1) Get(ctx context.Context, req *pb.GetForwardingRuleRequest) (*pb.ForwardingRule, error)
func (*RegionalForwardingRulesV1) Insert ¶
func (s *RegionalForwardingRulesV1) Insert(ctx context.Context, req *pb.InsertForwardingRuleRequest) (*pb.Operation, error)
func (*RegionalForwardingRulesV1) Patch ¶
func (s *RegionalForwardingRulesV1) Patch(ctx context.Context, req *pb.PatchForwardingRuleRequest) (*pb.Operation, error)
func (*RegionalForwardingRulesV1) SetLabels ¶
func (s *RegionalForwardingRulesV1) SetLabels(ctx context.Context, req *pb.SetLabelsForwardingRuleRequest) (*pb.Operation, error)
func (*RegionalForwardingRulesV1) SetTarget ¶
func (s *RegionalForwardingRulesV1) SetTarget(ctx context.Context, req *pb.SetTargetForwardingRuleRequest) (*pb.Operation, error)
type RegionalHealthCheckV1 ¶
type RegionalHealthCheckV1 struct { *MockService pb.UnimplementedRegionHealthChecksServer }
func (*RegionalHealthCheckV1) Delete ¶
func (s *RegionalHealthCheckV1) Delete(ctx context.Context, req *pb.DeleteRegionHealthCheckRequest) (*pb.Operation, error)
func (*RegionalHealthCheckV1) Get ¶
func (s *RegionalHealthCheckV1) Get(ctx context.Context, req *pb.GetRegionHealthCheckRequest) (*pb.HealthCheck, error)
func (*RegionalHealthCheckV1) Insert ¶
func (s *RegionalHealthCheckV1) Insert(ctx context.Context, req *pb.InsertRegionHealthCheckRequest) (*pb.Operation, error)
func (*RegionalHealthCheckV1) Patch ¶
func (s *RegionalHealthCheckV1) Patch(ctx context.Context, req *pb.PatchRegionHealthCheckRequest) (*pb.Operation, error)
Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*RegionalHealthCheckV1) Update ¶
func (s *RegionalHealthCheckV1) Update(ctx context.Context, req *pb.UpdateRegionHealthCheckRequest) (*pb.Operation, error)
Updates a HealthCheck resource in the specified project using the data included in the request.
type RegionalOperationsV1 ¶
type RegionalOperationsV1 struct { *MockService pb.UnimplementedRegionOperationsServer }
func (*RegionalOperationsV1) Get ¶
func (s *RegionalOperationsV1) Get(ctx context.Context, req *pb.GetRegionOperationRequest) (*pb.Operation, error)
type RegionalSSLCertificatesV1 ¶
type RegionalSSLCertificatesV1 struct { *MockService pb.UnimplementedRegionSslCertificatesServer }
func (*RegionalSSLCertificatesV1) Delete ¶
func (s *RegionalSSLCertificatesV1) Delete(ctx context.Context, req *pb.DeleteRegionSslCertificateRequest) (*pb.Operation, error)
func (*RegionalSSLCertificatesV1) Get ¶
func (s *RegionalSSLCertificatesV1) Get(ctx context.Context, req *pb.GetRegionSslCertificateRequest) (*pb.SslCertificate, error)
func (*RegionalSSLCertificatesV1) Insert ¶
func (s *RegionalSSLCertificatesV1) Insert(ctx context.Context, req *pb.InsertRegionSslCertificateRequest) (*pb.Operation, error)
type RegionalServiceAttachmentV1 ¶
type RegionalServiceAttachmentV1 struct { *MockService pb.UnimplementedServiceAttachmentsServer }
func (*RegionalServiceAttachmentV1) Delete ¶
func (s *RegionalServiceAttachmentV1) Delete(ctx context.Context, req *pb.DeleteServiceAttachmentRequest) (*pb.Operation, error)
func (*RegionalServiceAttachmentV1) Get ¶
func (s *RegionalServiceAttachmentV1) Get(ctx context.Context, req *pb.GetServiceAttachmentRequest) (*pb.ServiceAttachment, error)
func (*RegionalServiceAttachmentV1) Insert ¶
func (s *RegionalServiceAttachmentV1) Insert(ctx context.Context, req *pb.InsertServiceAttachmentRequest) (*pb.Operation, error)
func (*RegionalServiceAttachmentV1) Patch ¶
func (s *RegionalServiceAttachmentV1) Patch(ctx context.Context, req *pb.PatchServiceAttachmentRequest) (*pb.Operation, error)
Updates a ServiceAttachment resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
type RegionalTargetHTTPProxiesV1 ¶
type RegionalTargetHTTPProxiesV1 struct { *MockService pb.UnimplementedRegionTargetHttpProxiesServer }
func (*RegionalTargetHTTPProxiesV1) Delete ¶
func (s *RegionalTargetHTTPProxiesV1) Delete(ctx context.Context, req *pb.DeleteRegionTargetHttpProxyRequest) (*pb.Operation, error)
func (*RegionalTargetHTTPProxiesV1) Get ¶
func (s *RegionalTargetHTTPProxiesV1) Get(ctx context.Context, req *pb.GetRegionTargetHttpProxyRequest) (*pb.TargetHttpProxy, error)
func (*RegionalTargetHTTPProxiesV1) Insert ¶
func (s *RegionalTargetHTTPProxiesV1) Insert(ctx context.Context, req *pb.InsertRegionTargetHttpProxyRequest) (*pb.Operation, error)
func (*RegionalTargetHTTPProxiesV1) SetUrlMap ¶
func (s *RegionalTargetHTTPProxiesV1) SetUrlMap(ctx context.Context, req *pb.SetUrlMapRegionTargetHttpProxyRequest) (*pb.Operation, error)
type RegionalTargetHTTPSProxiesV1 ¶
type RegionalTargetHTTPSProxiesV1 struct { *MockService pb.UnimplementedRegionTargetHttpsProxiesServer }
func (*RegionalTargetHTTPSProxiesV1) Delete ¶
func (s *RegionalTargetHTTPSProxiesV1) Delete(ctx context.Context, req *pb.DeleteRegionTargetHttpsProxyRequest) (*pb.Operation, error)
func (*RegionalTargetHTTPSProxiesV1) Get ¶
func (s *RegionalTargetHTTPSProxiesV1) Get(ctx context.Context, req *pb.GetRegionTargetHttpsProxyRequest) (*pb.TargetHttpsProxy, error)
func (*RegionalTargetHTTPSProxiesV1) Insert ¶
func (s *RegionalTargetHTTPSProxiesV1) Insert(ctx context.Context, req *pb.InsertRegionTargetHttpsProxyRequest) (*pb.Operation, error)
func (*RegionalTargetHTTPSProxiesV1) SetUrlMap ¶
func (s *RegionalTargetHTTPSProxiesV1) SetUrlMap(ctx context.Context, req *pb.SetUrlMapRegionTargetHttpsProxyRequest) (*pb.Operation, error)
type RegionalTargetTcpProxyV1 ¶
type RegionalTargetTcpProxyV1 struct { *MockService pb.UnimplementedRegionTargetTcpProxiesServer }
func (*RegionalTargetTcpProxyV1) Delete ¶
func (s *RegionalTargetTcpProxyV1) Delete(ctx context.Context, req *pb.DeleteRegionTargetTcpProxyRequest) (*pb.Operation, error)
func (*RegionalTargetTcpProxyV1) Get ¶
func (s *RegionalTargetTcpProxyV1) Get(ctx context.Context, req *pb.GetRegionTargetTcpProxyRequest) (*pb.TargetTcpProxy, error)
func (*RegionalTargetTcpProxyV1) Insert ¶
func (s *RegionalTargetTcpProxyV1) Insert(ctx context.Context, req *pb.InsertRegionTargetTcpProxyRequest) (*pb.Operation, error)
type RegionalURLMapsV1 ¶
type RegionalURLMapsV1 struct { *MockService pb.UnimplementedRegionUrlMapsServer }
func (*RegionalURLMapsV1) Delete ¶
func (s *RegionalURLMapsV1) Delete(ctx context.Context, req *pb.DeleteRegionUrlMapRequest) (*pb.Operation, error)
func (*RegionalURLMapsV1) Get ¶
func (s *RegionalURLMapsV1) Get(ctx context.Context, req *pb.GetRegionUrlMapRequest) (*pb.UrlMap, error)
func (*RegionalURLMapsV1) Insert ¶
func (s *RegionalURLMapsV1) Insert(ctx context.Context, req *pb.InsertRegionUrlMapRequest) (*pb.Operation, error)
func (*RegionalURLMapsV1) Patch ¶
func (s *RegionalURLMapsV1) Patch(ctx context.Context, req *pb.PatchRegionUrlMapRequest) (*pb.Operation, error)
Updates a UrlMap resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*RegionalURLMapsV1) Update ¶
func (s *RegionalURLMapsV1) Update(ctx context.Context, req *pb.UpdateRegionUrlMapRequest) (*pb.Operation, error)
Updates a UrlMap resource in the specified project using the data included in the request.
type SubnetsV1 ¶
type SubnetsV1 struct { *MockService pb.UnimplementedSubnetworksServer }
func (*SubnetsV1) Get ¶
func (s *SubnetsV1) Get(ctx context.Context, req *pb.GetSubnetworkRequest) (*pb.Subnetwork, error)
func (*SubnetsV1) SetPrivateIpGoogleAccess ¶
type TargetGrpcProxyV1 ¶
type TargetGrpcProxyV1 struct { *MockService pb.UnimplementedTargetGrpcProxiesServer }
func (*TargetGrpcProxyV1) Delete ¶
func (s *TargetGrpcProxyV1) Delete(ctx context.Context, req *pb.DeleteTargetGrpcProxyRequest) (*pb.Operation, error)
func (*TargetGrpcProxyV1) Get ¶
func (s *TargetGrpcProxyV1) Get(ctx context.Context, req *pb.GetTargetGrpcProxyRequest) (*pb.TargetGrpcProxy, error)
func (*TargetGrpcProxyV1) Insert ¶
func (s *TargetGrpcProxyV1) Insert(ctx context.Context, req *pb.InsertTargetGrpcProxyRequest) (*pb.Operation, error)
type TargetSslProxyV1 ¶
type TargetSslProxyV1 struct { *MockService pb.UnimplementedTargetSslProxiesServer }
func (*TargetSslProxyV1) Delete ¶
func (s *TargetSslProxyV1) Delete(ctx context.Context, req *pb.DeleteTargetSslProxyRequest) (*pb.Operation, error)
func (*TargetSslProxyV1) Get ¶
func (s *TargetSslProxyV1) Get(ctx context.Context, req *pb.GetTargetSslProxyRequest) (*pb.TargetSslProxy, error)
func (*TargetSslProxyV1) Insert ¶
func (s *TargetSslProxyV1) Insert(ctx context.Context, req *pb.InsertTargetSslProxyRequest) (*pb.Operation, error)
type TargetVpnGatewaysV1 ¶
type TargetVpnGatewaysV1 struct { *MockService pb.UnimplementedTargetVpnGatewaysServer }
func (*TargetVpnGatewaysV1) Delete ¶
func (s *TargetVpnGatewaysV1) Delete(ctx context.Context, req *pb.DeleteTargetVpnGatewayRequest) (*pb.Operation, error)
func (*TargetVpnGatewaysV1) Get ¶
func (s *TargetVpnGatewaysV1) Get(ctx context.Context, req *pb.GetTargetVpnGatewayRequest) (*pb.TargetVpnGateway, error)
func (*TargetVpnGatewaysV1) Insert ¶
func (s *TargetVpnGatewaysV1) Insert(ctx context.Context, req *pb.InsertTargetVpnGatewayRequest) (*pb.Operation, error)
func (*TargetVpnGatewaysV1) SetLabels ¶
func (s *TargetVpnGatewaysV1) SetLabels(ctx context.Context, req *pb.SetLabelsTargetVpnGatewayRequest) (*pb.Operation, error)
type VPNGatewaysV1 ¶
type VPNGatewaysV1 struct { *MockService pb.UnimplementedVpnGatewaysServer }
func (*VPNGatewaysV1) Delete ¶
func (s *VPNGatewaysV1) Delete(ctx context.Context, req *pb.DeleteVpnGatewayRequest) (*pb.Operation, error)
func (*VPNGatewaysV1) Get ¶
func (s *VPNGatewaysV1) Get(ctx context.Context, req *pb.GetVpnGatewayRequest) (*pb.VpnGateway, error)
func (*VPNGatewaysV1) Insert ¶
func (s *VPNGatewaysV1) Insert(ctx context.Context, req *pb.InsertVpnGatewayRequest) (*pb.Operation, error)
func (*VPNGatewaysV1) SetLabels ¶
func (s *VPNGatewaysV1) SetLabels(ctx context.Context, req *pb.SetLabelsVpnGatewayRequest) (*pb.Operation, error)
type ZonesV1 ¶
type ZonesV1 struct { *MockService pb.UnimplementedZonesServer }
Source Files ¶
- disksv1.go
- firewallpoliciesv1.go
- globaladdress.go
- globalbackendservicesv1.go
- globalforwardingrulesv1.go
- globalhealthcheckv1.go
- globaloperationsv1.go
- globalorganizationoperationsv1.go
- globalsslcertificatesv1.go
- globaltargethttpproxiesv1.go
- globaltargethttpsproxiesv1.go
- globaltargettcpproxyv1.go
- globalurlmapsv1.go
- ids.go
- imagesv1.go
- instancesv1.go
- networksv1.go
- nodegroupsv1.go
- nodetemplatesv1.go
- operations.go
- regionaladdress.go
- regionalbackendservicev1.go
- regionalforwardingrulev1.go
- regionalhealthcheckv1.go
- regionaloperationsv1.go
- regionalserviceattachmentv1.go
- regionalsslcertificatesv1.go
- regionaltargethttpproxiesv1.go
- regionaltargethttpsproxiesv1.go
- regionaltargettcpproxyv1.go
- regionalurlmapsv1.go
- regiondisksv1.go
- service.go
- subnetsv1.go
- targetgrpcproxyv1.go
- targetsslproxyv1.go
- targetvpngatewayv1.go
- utils.go
- vpngatewayv1.go
- zonesv1.go