compute - ActiveState ActiveGo 1.8
...

Package compute

import "google.golang.org/api/compute/v1"
Overview
Index

Overview ▾

Package compute provides access to the Compute Engine API.

See https://developers.google.com/compute/docs/reference/latest/

Usage example:

import "google.golang.org/api/compute/v1"
...
computeService, err := compute.New(oauthHttpClient)

Index ▾

Constants
type AccessConfig
    func (s *AccessConfig) MarshalJSON() ([]byte, error)
type Address
    func (s *Address) MarshalJSON() ([]byte, error)
type AddressAggregatedList
    func (s *AddressAggregatedList) MarshalJSON() ([]byte, error)
type AddressList
    func (s *AddressList) MarshalJSON() ([]byte, error)
type AddressesAggregatedListCall
    func (c *AddressesAggregatedListCall) Context(ctx context.Context) *AddressesAggregatedListCall
    func (c *AddressesAggregatedListCall) Do(opts ...googleapi.CallOption) (*AddressAggregatedList, error)
    func (c *AddressesAggregatedListCall) Fields(s ...googleapi.Field) *AddressesAggregatedListCall
    func (c *AddressesAggregatedListCall) Filter(filter string) *AddressesAggregatedListCall
    func (c *AddressesAggregatedListCall) Header() http.Header
    func (c *AddressesAggregatedListCall) IfNoneMatch(entityTag string) *AddressesAggregatedListCall
    func (c *AddressesAggregatedListCall) MaxResults(maxResults int64) *AddressesAggregatedListCall
    func (c *AddressesAggregatedListCall) OrderBy(orderBy string) *AddressesAggregatedListCall
    func (c *AddressesAggregatedListCall) PageToken(pageToken string) *AddressesAggregatedListCall
    func (c *AddressesAggregatedListCall) Pages(ctx context.Context, f func(*AddressAggregatedList) error) error
type AddressesDeleteCall
    func (c *AddressesDeleteCall) Context(ctx context.Context) *AddressesDeleteCall
    func (c *AddressesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *AddressesDeleteCall) Fields(s ...googleapi.Field) *AddressesDeleteCall
    func (c *AddressesDeleteCall) Header() http.Header
type AddressesGetCall
    func (c *AddressesGetCall) Context(ctx context.Context) *AddressesGetCall
    func (c *AddressesGetCall) Do(opts ...googleapi.CallOption) (*Address, error)
    func (c *AddressesGetCall) Fields(s ...googleapi.Field) *AddressesGetCall
    func (c *AddressesGetCall) Header() http.Header
    func (c *AddressesGetCall) IfNoneMatch(entityTag string) *AddressesGetCall
type AddressesInsertCall
    func (c *AddressesInsertCall) Context(ctx context.Context) *AddressesInsertCall
    func (c *AddressesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *AddressesInsertCall) Fields(s ...googleapi.Field) *AddressesInsertCall
    func (c *AddressesInsertCall) Header() http.Header
type AddressesListCall
    func (c *AddressesListCall) Context(ctx context.Context) *AddressesListCall
    func (c *AddressesListCall) Do(opts ...googleapi.CallOption) (*AddressList, error)
    func (c *AddressesListCall) Fields(s ...googleapi.Field) *AddressesListCall
    func (c *AddressesListCall) Filter(filter string) *AddressesListCall
    func (c *AddressesListCall) Header() http.Header
    func (c *AddressesListCall) IfNoneMatch(entityTag string) *AddressesListCall
    func (c *AddressesListCall) MaxResults(maxResults int64) *AddressesListCall
    func (c *AddressesListCall) OrderBy(orderBy string) *AddressesListCall
    func (c *AddressesListCall) PageToken(pageToken string) *AddressesListCall
    func (c *AddressesListCall) Pages(ctx context.Context, f func(*AddressList) error) error
type AddressesScopedList
    func (s *AddressesScopedList) MarshalJSON() ([]byte, error)
type AddressesScopedListWarning
    func (s *AddressesScopedListWarning) MarshalJSON() ([]byte, error)
type AddressesScopedListWarningData
    func (s *AddressesScopedListWarningData) MarshalJSON() ([]byte, error)
type AddressesService
    func NewAddressesService(s *Service) *AddressesService
    func (r *AddressesService) AggregatedList(project string) *AddressesAggregatedListCall
    func (r *AddressesService) Delete(project string, region string, address string) *AddressesDeleteCall
    func (r *AddressesService) Get(project string, region string, address string) *AddressesGetCall
    func (r *AddressesService) Insert(project string, region string, address *Address) *AddressesInsertCall
    func (r *AddressesService) List(project string, region string) *AddressesListCall
type AttachedDisk
    func (s *AttachedDisk) MarshalJSON() ([]byte, error)
type AttachedDiskInitializeParams
    func (s *AttachedDiskInitializeParams) MarshalJSON() ([]byte, error)
type Autoscaler
    func (s *Autoscaler) MarshalJSON() ([]byte, error)
type AutoscalerAggregatedList
    func (s *AutoscalerAggregatedList) MarshalJSON() ([]byte, error)
type AutoscalerList
    func (s *AutoscalerList) MarshalJSON() ([]byte, error)
type AutoscalersAggregatedListCall
    func (c *AutoscalersAggregatedListCall) Context(ctx context.Context) *AutoscalersAggregatedListCall
    func (c *AutoscalersAggregatedListCall) Do(opts ...googleapi.CallOption) (*AutoscalerAggregatedList, error)
    func (c *AutoscalersAggregatedListCall) Fields(s ...googleapi.Field) *AutoscalersAggregatedListCall
    func (c *AutoscalersAggregatedListCall) Filter(filter string) *AutoscalersAggregatedListCall
    func (c *AutoscalersAggregatedListCall) Header() http.Header
    func (c *AutoscalersAggregatedListCall) IfNoneMatch(entityTag string) *AutoscalersAggregatedListCall
    func (c *AutoscalersAggregatedListCall) MaxResults(maxResults int64) *AutoscalersAggregatedListCall
    func (c *AutoscalersAggregatedListCall) OrderBy(orderBy string) *AutoscalersAggregatedListCall
    func (c *AutoscalersAggregatedListCall) PageToken(pageToken string) *AutoscalersAggregatedListCall
    func (c *AutoscalersAggregatedListCall) Pages(ctx context.Context, f func(*AutoscalerAggregatedList) error) error
type AutoscalersDeleteCall
    func (c *AutoscalersDeleteCall) Context(ctx context.Context) *AutoscalersDeleteCall
    func (c *AutoscalersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *AutoscalersDeleteCall) Fields(s ...googleapi.Field) *AutoscalersDeleteCall
    func (c *AutoscalersDeleteCall) Header() http.Header
type AutoscalersGetCall
    func (c *AutoscalersGetCall) Context(ctx context.Context) *AutoscalersGetCall
    func (c *AutoscalersGetCall) Do(opts ...googleapi.CallOption) (*Autoscaler, error)
    func (c *AutoscalersGetCall) Fields(s ...googleapi.Field) *AutoscalersGetCall
    func (c *AutoscalersGetCall) Header() http.Header
    func (c *AutoscalersGetCall) IfNoneMatch(entityTag string) *AutoscalersGetCall
type AutoscalersInsertCall
    func (c *AutoscalersInsertCall) Context(ctx context.Context) *AutoscalersInsertCall
    func (c *AutoscalersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *AutoscalersInsertCall) Fields(s ...googleapi.Field) *AutoscalersInsertCall
    func (c *AutoscalersInsertCall) Header() http.Header
type AutoscalersListCall
    func (c *AutoscalersListCall) Context(ctx context.Context) *AutoscalersListCall
    func (c *AutoscalersListCall) Do(opts ...googleapi.CallOption) (*AutoscalerList, error)
    func (c *AutoscalersListCall) Fields(s ...googleapi.Field) *AutoscalersListCall
    func (c *AutoscalersListCall) Filter(filter string) *AutoscalersListCall
    func (c *AutoscalersListCall) Header() http.Header
    func (c *AutoscalersListCall) IfNoneMatch(entityTag string) *AutoscalersListCall
    func (c *AutoscalersListCall) MaxResults(maxResults int64) *AutoscalersListCall
    func (c *AutoscalersListCall) OrderBy(orderBy string) *AutoscalersListCall
    func (c *AutoscalersListCall) PageToken(pageToken string) *AutoscalersListCall
    func (c *AutoscalersListCall) Pages(ctx context.Context, f func(*AutoscalerList) error) error
type AutoscalersPatchCall
    func (c *AutoscalersPatchCall) Autoscaler(autoscaler string) *AutoscalersPatchCall
    func (c *AutoscalersPatchCall) Context(ctx context.Context) *AutoscalersPatchCall
    func (c *AutoscalersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *AutoscalersPatchCall) Fields(s ...googleapi.Field) *AutoscalersPatchCall
    func (c *AutoscalersPatchCall) Header() http.Header
type AutoscalersScopedList
    func (s *AutoscalersScopedList) MarshalJSON() ([]byte, error)
type AutoscalersScopedListWarning
    func (s *AutoscalersScopedListWarning) MarshalJSON() ([]byte, error)
type AutoscalersScopedListWarningData
    func (s *AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error)
type AutoscalersService
    func NewAutoscalersService(s *Service) *AutoscalersService
    func (r *AutoscalersService) AggregatedList(project string) *AutoscalersAggregatedListCall
    func (r *AutoscalersService) Delete(project string, zone string, autoscaler string) *AutoscalersDeleteCall
    func (r *AutoscalersService) Get(project string, zone string, autoscaler string) *AutoscalersGetCall
    func (r *AutoscalersService) Insert(project string, zone string, autoscaler *Autoscaler) *AutoscalersInsertCall
    func (r *AutoscalersService) List(project string, zone string) *AutoscalersListCall
    func (r *AutoscalersService) Patch(project string, zone string, autoscaler *Autoscaler) *AutoscalersPatchCall
    func (r *AutoscalersService) Update(project string, zone string, autoscaler *Autoscaler) *AutoscalersUpdateCall
type AutoscalersUpdateCall
    func (c *AutoscalersUpdateCall) Autoscaler(autoscaler string) *AutoscalersUpdateCall
    func (c *AutoscalersUpdateCall) Context(ctx context.Context) *AutoscalersUpdateCall
    func (c *AutoscalersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *AutoscalersUpdateCall) Fields(s ...googleapi.Field) *AutoscalersUpdateCall
    func (c *AutoscalersUpdateCall) Header() http.Header
type AutoscalingPolicy
    func (s *AutoscalingPolicy) MarshalJSON() ([]byte, error)
type AutoscalingPolicyCpuUtilization
    func (s *AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error)
    func (s *AutoscalingPolicyCpuUtilization) UnmarshalJSON(data []byte) error
type AutoscalingPolicyCustomMetricUtilization
    func (s *AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error)
    func (s *AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON(data []byte) error
type AutoscalingPolicyLoadBalancingUtilization
    func (s *AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error)
    func (s *AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON(data []byte) error
type Backend
    func (s *Backend) MarshalJSON() ([]byte, error)
    func (s *Backend) UnmarshalJSON(data []byte) error
type BackendBucket
    func (s *BackendBucket) MarshalJSON() ([]byte, error)
type BackendBucketList
    func (s *BackendBucketList) MarshalJSON() ([]byte, error)
type BackendBucketsDeleteCall
    func (c *BackendBucketsDeleteCall) Context(ctx context.Context) *BackendBucketsDeleteCall
    func (c *BackendBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *BackendBucketsDeleteCall) Fields(s ...googleapi.Field) *BackendBucketsDeleteCall
    func (c *BackendBucketsDeleteCall) Header() http.Header
type BackendBucketsGetCall
    func (c *BackendBucketsGetCall) Context(ctx context.Context) *BackendBucketsGetCall
    func (c *BackendBucketsGetCall) Do(opts ...googleapi.CallOption) (*BackendBucket, error)
    func (c *BackendBucketsGetCall) Fields(s ...googleapi.Field) *BackendBucketsGetCall
    func (c *BackendBucketsGetCall) Header() http.Header
    func (c *BackendBucketsGetCall) IfNoneMatch(entityTag string) *BackendBucketsGetCall
type BackendBucketsInsertCall
    func (c *BackendBucketsInsertCall) Context(ctx context.Context) *BackendBucketsInsertCall
    func (c *BackendBucketsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *BackendBucketsInsertCall) Fields(s ...googleapi.Field) *BackendBucketsInsertCall
    func (c *BackendBucketsInsertCall) Header() http.Header
type BackendBucketsListCall
    func (c *BackendBucketsListCall) Context(ctx context.Context) *BackendBucketsListCall
    func (c *BackendBucketsListCall) Do(opts ...googleapi.CallOption) (*BackendBucketList, error)
    func (c *BackendBucketsListCall) Fields(s ...googleapi.Field) *BackendBucketsListCall
    func (c *BackendBucketsListCall) Filter(filter string) *BackendBucketsListCall
    func (c *BackendBucketsListCall) Header() http.Header
    func (c *BackendBucketsListCall) IfNoneMatch(entityTag string) *BackendBucketsListCall
    func (c *BackendBucketsListCall) MaxResults(maxResults int64) *BackendBucketsListCall
    func (c *BackendBucketsListCall) OrderBy(orderBy string) *BackendBucketsListCall
    func (c *BackendBucketsListCall) PageToken(pageToken string) *BackendBucketsListCall
    func (c *BackendBucketsListCall) Pages(ctx context.Context, f func(*BackendBucketList) error) error
type BackendBucketsPatchCall
    func (c *BackendBucketsPatchCall) Context(ctx context.Context) *BackendBucketsPatchCall
    func (c *BackendBucketsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *BackendBucketsPatchCall) Fields(s ...googleapi.Field) *BackendBucketsPatchCall
    func (c *BackendBucketsPatchCall) Header() http.Header
type BackendBucketsService
    func NewBackendBucketsService(s *Service) *BackendBucketsService
    func (r *BackendBucketsService) Delete(project string, backendBucket string) *BackendBucketsDeleteCall
    func (r *BackendBucketsService) Get(project string, backendBucket string) *BackendBucketsGetCall
    func (r *BackendBucketsService) Insert(project string, backendbucket *BackendBucket) *BackendBucketsInsertCall
    func (r *BackendBucketsService) List(project string) *BackendBucketsListCall
    func (r *BackendBucketsService) Patch(project string, backendBucket string, backendbucket *BackendBucket) *BackendBucketsPatchCall
    func (r *BackendBucketsService) Update(project string, backendBucket string, backendbucket *BackendBucket) *BackendBucketsUpdateCall
type BackendBucketsUpdateCall
    func (c *BackendBucketsUpdateCall) Context(ctx context.Context) *BackendBucketsUpdateCall
    func (c *BackendBucketsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *BackendBucketsUpdateCall) Fields(s ...googleapi.Field) *BackendBucketsUpdateCall
    func (c *BackendBucketsUpdateCall) Header() http.Header
type BackendService
    func (s *BackendService) MarshalJSON() ([]byte, error)
type BackendServiceAggregatedList
    func (s *BackendServiceAggregatedList) MarshalJSON() ([]byte, error)
type BackendServiceCdnPolicy
    func (s *BackendServiceCdnPolicy) MarshalJSON() ([]byte, error)
type BackendServiceGroupHealth
    func (s *BackendServiceGroupHealth) MarshalJSON() ([]byte, error)
type BackendServiceIAP
    func (s *BackendServiceIAP) MarshalJSON() ([]byte, error)
type BackendServiceList
    func (s *BackendServiceList) MarshalJSON() ([]byte, error)
type BackendServicesAggregatedListCall
    func (c *BackendServicesAggregatedListCall) Context(ctx context.Context) *BackendServicesAggregatedListCall
    func (c *BackendServicesAggregatedListCall) Do(opts ...googleapi.CallOption) (*BackendServiceAggregatedList, error)
    func (c *BackendServicesAggregatedListCall) Fields(s ...googleapi.Field) *BackendServicesAggregatedListCall
    func (c *BackendServicesAggregatedListCall) Filter(filter string) *BackendServicesAggregatedListCall
    func (c *BackendServicesAggregatedListCall) Header() http.Header
    func (c *BackendServicesAggregatedListCall) IfNoneMatch(entityTag string) *BackendServicesAggregatedListCall
    func (c *BackendServicesAggregatedListCall) MaxResults(maxResults int64) *BackendServicesAggregatedListCall
    func (c *BackendServicesAggregatedListCall) OrderBy(orderBy string) *BackendServicesAggregatedListCall
    func (c *BackendServicesAggregatedListCall) PageToken(pageToken string) *BackendServicesAggregatedListCall
    func (c *BackendServicesAggregatedListCall) Pages(ctx context.Context, f func(*BackendServiceAggregatedList) error) error
type BackendServicesDeleteCall
    func (c *BackendServicesDeleteCall) Context(ctx context.Context) *BackendServicesDeleteCall
    func (c *BackendServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *BackendServicesDeleteCall) Fields(s ...googleapi.Field) *BackendServicesDeleteCall
    func (c *BackendServicesDeleteCall) Header() http.Header
type BackendServicesGetCall
    func (c *BackendServicesGetCall) Context(ctx context.Context) *BackendServicesGetCall
    func (c *BackendServicesGetCall) Do(opts ...googleapi.CallOption) (*BackendService, error)
    func (c *BackendServicesGetCall) Fields(s ...googleapi.Field) *BackendServicesGetCall
    func (c *BackendServicesGetCall) Header() http.Header
    func (c *BackendServicesGetCall) IfNoneMatch(entityTag string) *BackendServicesGetCall
type BackendServicesGetHealthCall
    func (c *BackendServicesGetHealthCall) Context(ctx context.Context) *BackendServicesGetHealthCall
    func (c *BackendServicesGetHealthCall) Do(opts ...googleapi.CallOption) (*BackendServiceGroupHealth, error)
    func (c *BackendServicesGetHealthCall) Fields(s ...googleapi.Field) *BackendServicesGetHealthCall
    func (c *BackendServicesGetHealthCall) Header() http.Header
type BackendServicesInsertCall
    func (c *BackendServicesInsertCall) Context(ctx context.Context) *BackendServicesInsertCall
    func (c *BackendServicesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *BackendServicesInsertCall) Fields(s ...googleapi.Field) *BackendServicesInsertCall
    func (c *BackendServicesInsertCall) Header() http.Header
type BackendServicesListCall
    func (c *BackendServicesListCall) Context(ctx context.Context) *BackendServicesListCall
    func (c *BackendServicesListCall) Do(opts ...googleapi.CallOption) (*BackendServiceList, error)
    func (c *BackendServicesListCall) Fields(s ...googleapi.Field) *BackendServicesListCall
    func (c *BackendServicesListCall) Filter(filter string) *BackendServicesListCall
    func (c *BackendServicesListCall) Header() http.Header
    func (c *BackendServicesListCall) IfNoneMatch(entityTag string) *BackendServicesListCall
    func (c *BackendServicesListCall) MaxResults(maxResults int64) *BackendServicesListCall
    func (c *BackendServicesListCall) OrderBy(orderBy string) *BackendServicesListCall
    func (c *BackendServicesListCall) PageToken(pageToken string) *BackendServicesListCall
    func (c *BackendServicesListCall) Pages(ctx context.Context, f func(*BackendServiceList) error) error
type BackendServicesPatchCall
    func (c *BackendServicesPatchCall) Context(ctx context.Context) *BackendServicesPatchCall
    func (c *BackendServicesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *BackendServicesPatchCall) Fields(s ...googleapi.Field) *BackendServicesPatchCall
    func (c *BackendServicesPatchCall) Header() http.Header
type BackendServicesScopedList
    func (s *BackendServicesScopedList) MarshalJSON() ([]byte, error)
type BackendServicesScopedListWarning
    func (s *BackendServicesScopedListWarning) MarshalJSON() ([]byte, error)
type BackendServicesScopedListWarningData
    func (s *BackendServicesScopedListWarningData) MarshalJSON() ([]byte, error)
type BackendServicesService
    func NewBackendServicesService(s *Service) *BackendServicesService
    func (r *BackendServicesService) AggregatedList(project string) *BackendServicesAggregatedListCall
    func (r *BackendServicesService) Delete(project string, backendService string) *BackendServicesDeleteCall
    func (r *BackendServicesService) Get(project string, backendService string) *BackendServicesGetCall
    func (r *BackendServicesService) GetHealth(project string, backendService string, resourcegroupreference *ResourceGroupReference) *BackendServicesGetHealthCall
    func (r *BackendServicesService) Insert(project string, backendservice *BackendService) *BackendServicesInsertCall
    func (r *BackendServicesService) List(project string) *BackendServicesListCall
    func (r *BackendServicesService) Patch(project string, backendService string, backendservice *BackendService) *BackendServicesPatchCall
    func (r *BackendServicesService) Update(project string, backendService string, backendservice *BackendService) *BackendServicesUpdateCall
type BackendServicesUpdateCall
    func (c *BackendServicesUpdateCall) Context(ctx context.Context) *BackendServicesUpdateCall
    func (c *BackendServicesUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *BackendServicesUpdateCall) Fields(s ...googleapi.Field) *BackendServicesUpdateCall
    func (c *BackendServicesUpdateCall) Header() http.Header
type CacheInvalidationRule
    func (s *CacheInvalidationRule) MarshalJSON() ([]byte, error)
type CacheKeyPolicy
    func (s *CacheKeyPolicy) MarshalJSON() ([]byte, error)
type ConnectionDraining
    func (s *ConnectionDraining) MarshalJSON() ([]byte, error)
type CustomerEncryptionKey
    func (s *CustomerEncryptionKey) MarshalJSON() ([]byte, error)
type CustomerEncryptionKeyProtectedDisk
    func (s *CustomerEncryptionKeyProtectedDisk) MarshalJSON() ([]byte, error)
type DeprecationStatus
    func (s *DeprecationStatus) MarshalJSON() ([]byte, error)
type Disk
    func (s *Disk) MarshalJSON() ([]byte, error)
type DiskAggregatedList
    func (s *DiskAggregatedList) MarshalJSON() ([]byte, error)
type DiskList
    func (s *DiskList) MarshalJSON() ([]byte, error)
type DiskMoveRequest
    func (s *DiskMoveRequest) MarshalJSON() ([]byte, error)
type DiskType
    func (s *DiskType) MarshalJSON() ([]byte, error)
type DiskTypeAggregatedList
    func (s *DiskTypeAggregatedList) MarshalJSON() ([]byte, error)
type DiskTypeList
    func (s *DiskTypeList) MarshalJSON() ([]byte, error)
type DiskTypesAggregatedListCall
    func (c *DiskTypesAggregatedListCall) Context(ctx context.Context) *DiskTypesAggregatedListCall
    func (c *DiskTypesAggregatedListCall) Do(opts ...googleapi.CallOption) (*DiskTypeAggregatedList, error)
    func (c *DiskTypesAggregatedListCall) Fields(s ...googleapi.Field) *DiskTypesAggregatedListCall
    func (c *DiskTypesAggregatedListCall) Filter(filter string) *DiskTypesAggregatedListCall
    func (c *DiskTypesAggregatedListCall) Header() http.Header
    func (c *DiskTypesAggregatedListCall) IfNoneMatch(entityTag string) *DiskTypesAggregatedListCall
    func (c *DiskTypesAggregatedListCall) MaxResults(maxResults int64) *DiskTypesAggregatedListCall
    func (c *DiskTypesAggregatedListCall) OrderBy(orderBy string) *DiskTypesAggregatedListCall
    func (c *DiskTypesAggregatedListCall) PageToken(pageToken string) *DiskTypesAggregatedListCall
    func (c *DiskTypesAggregatedListCall) Pages(ctx context.Context, f func(*DiskTypeAggregatedList) error) error
type DiskTypesGetCall
    func (c *DiskTypesGetCall) Context(ctx context.Context) *DiskTypesGetCall
    func (c *DiskTypesGetCall) Do(opts ...googleapi.CallOption) (*DiskType, error)
    func (c *DiskTypesGetCall) Fields(s ...googleapi.Field) *DiskTypesGetCall
    func (c *DiskTypesGetCall) Header() http.Header
    func (c *DiskTypesGetCall) IfNoneMatch(entityTag string) *DiskTypesGetCall
type DiskTypesListCall
    func (c *DiskTypesListCall) Context(ctx context.Context) *DiskTypesListCall
    func (c *DiskTypesListCall) Do(opts ...googleapi.CallOption) (*DiskTypeList, error)
    func (c *DiskTypesListCall) Fields(s ...googleapi.Field) *DiskTypesListCall
    func (c *DiskTypesListCall) Filter(filter string) *DiskTypesListCall
    func (c *DiskTypesListCall) Header() http.Header
    func (c *DiskTypesListCall) IfNoneMatch(entityTag string) *DiskTypesListCall
    func (c *DiskTypesListCall) MaxResults(maxResults int64) *DiskTypesListCall
    func (c *DiskTypesListCall) OrderBy(orderBy string) *DiskTypesListCall
    func (c *DiskTypesListCall) PageToken(pageToken string) *DiskTypesListCall
    func (c *DiskTypesListCall) Pages(ctx context.Context, f func(*DiskTypeList) error) error
type DiskTypesScopedList
    func (s *DiskTypesScopedList) MarshalJSON() ([]byte, error)
type DiskTypesScopedListWarning
    func (s *DiskTypesScopedListWarning) MarshalJSON() ([]byte, error)
type DiskTypesScopedListWarningData
    func (s *DiskTypesScopedListWarningData) MarshalJSON() ([]byte, error)
type DiskTypesService
    func NewDiskTypesService(s *Service) *DiskTypesService
    func (r *DiskTypesService) AggregatedList(project string) *DiskTypesAggregatedListCall
    func (r *DiskTypesService) Get(project string, zone string, diskType string) *DiskTypesGetCall
    func (r *DiskTypesService) List(project string, zone string) *DiskTypesListCall
type DisksAggregatedListCall
    func (c *DisksAggregatedListCall) Context(ctx context.Context) *DisksAggregatedListCall
    func (c *DisksAggregatedListCall) Do(opts ...googleapi.CallOption) (*DiskAggregatedList, error)
    func (c *DisksAggregatedListCall) Fields(s ...googleapi.Field) *DisksAggregatedListCall
    func (c *DisksAggregatedListCall) Filter(filter string) *DisksAggregatedListCall
    func (c *DisksAggregatedListCall) Header() http.Header
    func (c *DisksAggregatedListCall) IfNoneMatch(entityTag string) *DisksAggregatedListCall
    func (c *DisksAggregatedListCall) MaxResults(maxResults int64) *DisksAggregatedListCall
    func (c *DisksAggregatedListCall) OrderBy(orderBy string) *DisksAggregatedListCall
    func (c *DisksAggregatedListCall) PageToken(pageToken string) *DisksAggregatedListCall
    func (c *DisksAggregatedListCall) Pages(ctx context.Context, f func(*DiskAggregatedList) error) error
type DisksCreateSnapshotCall
    func (c *DisksCreateSnapshotCall) Context(ctx context.Context) *DisksCreateSnapshotCall
    func (c *DisksCreateSnapshotCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *DisksCreateSnapshotCall) Fields(s ...googleapi.Field) *DisksCreateSnapshotCall
    func (c *DisksCreateSnapshotCall) GuestFlush(guestFlush bool) *DisksCreateSnapshotCall
    func (c *DisksCreateSnapshotCall) Header() http.Header
type DisksDeleteCall
    func (c *DisksDeleteCall) Context(ctx context.Context) *DisksDeleteCall
    func (c *DisksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *DisksDeleteCall) Fields(s ...googleapi.Field) *DisksDeleteCall
    func (c *DisksDeleteCall) Header() http.Header
type DisksGetCall
    func (c *DisksGetCall) Context(ctx context.Context) *DisksGetCall
    func (c *DisksGetCall) Do(opts ...googleapi.CallOption) (*Disk, error)
    func (c *DisksGetCall) Fields(s ...googleapi.Field) *DisksGetCall
    func (c *DisksGetCall) Header() http.Header
    func (c *DisksGetCall) IfNoneMatch(entityTag string) *DisksGetCall
type DisksInsertCall
    func (c *DisksInsertCall) Context(ctx context.Context) *DisksInsertCall
    func (c *DisksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *DisksInsertCall) Fields(s ...googleapi.Field) *DisksInsertCall
    func (c *DisksInsertCall) Header() http.Header
    func (c *DisksInsertCall) SourceImage(sourceImage string) *DisksInsertCall
type DisksListCall
    func (c *DisksListCall) Context(ctx context.Context) *DisksListCall
    func (c *DisksListCall) Do(opts ...googleapi.CallOption) (*DiskList, error)
    func (c *DisksListCall) Fields(s ...googleapi.Field) *DisksListCall
    func (c *DisksListCall) Filter(filter string) *DisksListCall
    func (c *DisksListCall) Header() http.Header
    func (c *DisksListCall) IfNoneMatch(entityTag string) *DisksListCall
    func (c *DisksListCall) MaxResults(maxResults int64) *DisksListCall
    func (c *DisksListCall) OrderBy(orderBy string) *DisksListCall
    func (c *DisksListCall) PageToken(pageToken string) *DisksListCall
    func (c *DisksListCall) Pages(ctx context.Context, f func(*DiskList) error) error
type DisksResizeCall
    func (c *DisksResizeCall) Context(ctx context.Context) *DisksResizeCall
    func (c *DisksResizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *DisksResizeCall) Fields(s ...googleapi.Field) *DisksResizeCall
    func (c *DisksResizeCall) Header() http.Header
type DisksResizeRequest
    func (s *DisksResizeRequest) MarshalJSON() ([]byte, error)
type DisksScopedList
    func (s *DisksScopedList) MarshalJSON() ([]byte, error)
type DisksScopedListWarning
    func (s *DisksScopedListWarning) MarshalJSON() ([]byte, error)
type DisksScopedListWarningData
    func (s *DisksScopedListWarningData) MarshalJSON() ([]byte, error)
type DisksService
    func NewDisksService(s *Service) *DisksService
    func (r *DisksService) AggregatedList(project string) *DisksAggregatedListCall
    func (r *DisksService) CreateSnapshot(project string, zone string, disk string, snapshot *Snapshot) *DisksCreateSnapshotCall
    func (r *DisksService) Delete(project string, zone string, disk string) *DisksDeleteCall
    func (r *DisksService) Get(project string, zone string, disk string) *DisksGetCall
    func (r *DisksService) Insert(project string, zone string, disk *Disk) *DisksInsertCall
    func (r *DisksService) List(project string, zone string) *DisksListCall
    func (r *DisksService) Resize(project string, zone string, disk string, disksresizerequest *DisksResizeRequest) *DisksResizeCall
    func (r *DisksService) SetLabels(project string, zone string, resource string, zonesetlabelsrequest *ZoneSetLabelsRequest) *DisksSetLabelsCall
type DisksSetLabelsCall
    func (c *DisksSetLabelsCall) Context(ctx context.Context) *DisksSetLabelsCall
    func (c *DisksSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *DisksSetLabelsCall) Fields(s ...googleapi.Field) *DisksSetLabelsCall
    func (c *DisksSetLabelsCall) Header() http.Header
type Firewall
    func (s *Firewall) MarshalJSON() ([]byte, error)
type FirewallAllowed
    func (s *FirewallAllowed) MarshalJSON() ([]byte, error)
type FirewallList
    func (s *FirewallList) MarshalJSON() ([]byte, error)
type FirewallsDeleteCall
    func (c *FirewallsDeleteCall) Context(ctx context.Context) *FirewallsDeleteCall
    func (c *FirewallsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *FirewallsDeleteCall) Fields(s ...googleapi.Field) *FirewallsDeleteCall
    func (c *FirewallsDeleteCall) Header() http.Header
type FirewallsGetCall
    func (c *FirewallsGetCall) Context(ctx context.Context) *FirewallsGetCall
    func (c *FirewallsGetCall) Do(opts ...googleapi.CallOption) (*Firewall, error)
    func (c *FirewallsGetCall) Fields(s ...googleapi.Field) *FirewallsGetCall
    func (c *FirewallsGetCall) Header() http.Header
    func (c *FirewallsGetCall) IfNoneMatch(entityTag string) *FirewallsGetCall
type FirewallsInsertCall
    func (c *FirewallsInsertCall) Context(ctx context.Context) *FirewallsInsertCall
    func (c *FirewallsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *FirewallsInsertCall) Fields(s ...googleapi.Field) *FirewallsInsertCall
    func (c *FirewallsInsertCall) Header() http.Header
type FirewallsListCall
    func (c *FirewallsListCall) Context(ctx context.Context) *FirewallsListCall
    func (c *FirewallsListCall) Do(opts ...googleapi.CallOption) (*FirewallList, error)
    func (c *FirewallsListCall) Fields(s ...googleapi.Field) *FirewallsListCall
    func (c *FirewallsListCall) Filter(filter string) *FirewallsListCall
    func (c *FirewallsListCall) Header() http.Header
    func (c *FirewallsListCall) IfNoneMatch(entityTag string) *FirewallsListCall
    func (c *FirewallsListCall) MaxResults(maxResults int64) *FirewallsListCall
    func (c *FirewallsListCall) OrderBy(orderBy string) *FirewallsListCall
    func (c *FirewallsListCall) PageToken(pageToken string) *FirewallsListCall
    func (c *FirewallsListCall) Pages(ctx context.Context, f func(*FirewallList) error) error
type FirewallsPatchCall
    func (c *FirewallsPatchCall) Context(ctx context.Context) *FirewallsPatchCall
    func (c *FirewallsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *FirewallsPatchCall) Fields(s ...googleapi.Field) *FirewallsPatchCall
    func (c *FirewallsPatchCall) Header() http.Header
type FirewallsService
    func NewFirewallsService(s *Service) *FirewallsService
    func (r *FirewallsService) Delete(project string, firewall string) *FirewallsDeleteCall
    func (r *FirewallsService) Get(project string, firewall string) *FirewallsGetCall
    func (r *FirewallsService) Insert(project string, firewall *Firewall) *FirewallsInsertCall
    func (r *FirewallsService) List(project string) *FirewallsListCall
    func (r *FirewallsService) Patch(project string, firewall string, firewall2 *Firewall) *FirewallsPatchCall
    func (r *FirewallsService) Update(project string, firewall string, firewall2 *Firewall) *FirewallsUpdateCall
type FirewallsUpdateCall
    func (c *FirewallsUpdateCall) Context(ctx context.Context) *FirewallsUpdateCall
    func (c *FirewallsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *FirewallsUpdateCall) Fields(s ...googleapi.Field) *FirewallsUpdateCall
    func (c *FirewallsUpdateCall) Header() http.Header
type ForwardingRule
    func (s *ForwardingRule) MarshalJSON() ([]byte, error)
type ForwardingRuleAggregatedList
    func (s *ForwardingRuleAggregatedList) MarshalJSON() ([]byte, error)
type ForwardingRuleList
    func (s *ForwardingRuleList) MarshalJSON() ([]byte, error)
type ForwardingRulesAggregatedListCall
    func (c *ForwardingRulesAggregatedListCall) Context(ctx context.Context) *ForwardingRulesAggregatedListCall
    func (c *ForwardingRulesAggregatedListCall) Do(opts ...googleapi.CallOption) (*ForwardingRuleAggregatedList, error)
    func (c *ForwardingRulesAggregatedListCall) Fields(s ...googleapi.Field) *ForwardingRulesAggregatedListCall
    func (c *ForwardingRulesAggregatedListCall) Filter(filter string) *ForwardingRulesAggregatedListCall
    func (c *ForwardingRulesAggregatedListCall) Header() http.Header
    func (c *ForwardingRulesAggregatedListCall) IfNoneMatch(entityTag string) *ForwardingRulesAggregatedListCall
    func (c *ForwardingRulesAggregatedListCall) MaxResults(maxResults int64) *ForwardingRulesAggregatedListCall
    func (c *ForwardingRulesAggregatedListCall) OrderBy(orderBy string) *ForwardingRulesAggregatedListCall
    func (c *ForwardingRulesAggregatedListCall) PageToken(pageToken string) *ForwardingRulesAggregatedListCall
    func (c *ForwardingRulesAggregatedListCall) Pages(ctx context.Context, f func(*ForwardingRuleAggregatedList) error) error
type ForwardingRulesDeleteCall
    func (c *ForwardingRulesDeleteCall) Context(ctx context.Context) *ForwardingRulesDeleteCall
    func (c *ForwardingRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ForwardingRulesDeleteCall) Fields(s ...googleapi.Field) *ForwardingRulesDeleteCall
    func (c *ForwardingRulesDeleteCall) Header() http.Header
type ForwardingRulesGetCall
    func (c *ForwardingRulesGetCall) Context(ctx context.Context) *ForwardingRulesGetCall
    func (c *ForwardingRulesGetCall) Do(opts ...googleapi.CallOption) (*ForwardingRule, error)
    func (c *ForwardingRulesGetCall) Fields(s ...googleapi.Field) *ForwardingRulesGetCall
    func (c *ForwardingRulesGetCall) Header() http.Header
    func (c *ForwardingRulesGetCall) IfNoneMatch(entityTag string) *ForwardingRulesGetCall
type ForwardingRulesInsertCall
    func (c *ForwardingRulesInsertCall) Context(ctx context.Context) *ForwardingRulesInsertCall
    func (c *ForwardingRulesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ForwardingRulesInsertCall) Fields(s ...googleapi.Field) *ForwardingRulesInsertCall
    func (c *ForwardingRulesInsertCall) Header() http.Header
type ForwardingRulesListCall
    func (c *ForwardingRulesListCall) Context(ctx context.Context) *ForwardingRulesListCall
    func (c *ForwardingRulesListCall) Do(opts ...googleapi.CallOption) (*ForwardingRuleList, error)
    func (c *ForwardingRulesListCall) Fields(s ...googleapi.Field) *ForwardingRulesListCall
    func (c *ForwardingRulesListCall) Filter(filter string) *ForwardingRulesListCall
    func (c *ForwardingRulesListCall) Header() http.Header
    func (c *ForwardingRulesListCall) IfNoneMatch(entityTag string) *ForwardingRulesListCall
    func (c *ForwardingRulesListCall) MaxResults(maxResults int64) *ForwardingRulesListCall
    func (c *ForwardingRulesListCall) OrderBy(orderBy string) *ForwardingRulesListCall
    func (c *ForwardingRulesListCall) PageToken(pageToken string) *ForwardingRulesListCall
    func (c *ForwardingRulesListCall) Pages(ctx context.Context, f func(*ForwardingRuleList) error) error
type ForwardingRulesScopedList
    func (s *ForwardingRulesScopedList) MarshalJSON() ([]byte, error)
type ForwardingRulesScopedListWarning
    func (s *ForwardingRulesScopedListWarning) MarshalJSON() ([]byte, error)
type ForwardingRulesScopedListWarningData
    func (s *ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error)
type ForwardingRulesService
    func NewForwardingRulesService(s *Service) *ForwardingRulesService
    func (r *ForwardingRulesService) AggregatedList(project string) *ForwardingRulesAggregatedListCall
    func (r *ForwardingRulesService) Delete(project string, region string, forwardingRule string) *ForwardingRulesDeleteCall
    func (r *ForwardingRulesService) Get(project string, region string, forwardingRule string) *ForwardingRulesGetCall
    func (r *ForwardingRulesService) Insert(project string, region string, forwardingrule *ForwardingRule) *ForwardingRulesInsertCall
    func (r *ForwardingRulesService) List(project string, region string) *ForwardingRulesListCall
    func (r *ForwardingRulesService) SetTarget(project string, region string, forwardingRule string, targetreference *TargetReference) *ForwardingRulesSetTargetCall
type ForwardingRulesSetTargetCall
    func (c *ForwardingRulesSetTargetCall) Context(ctx context.Context) *ForwardingRulesSetTargetCall
    func (c *ForwardingRulesSetTargetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ForwardingRulesSetTargetCall) Fields(s ...googleapi.Field) *ForwardingRulesSetTargetCall
    func (c *ForwardingRulesSetTargetCall) Header() http.Header
type GlobalAddressesDeleteCall
    func (c *GlobalAddressesDeleteCall) Context(ctx context.Context) *GlobalAddressesDeleteCall
    func (c *GlobalAddressesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *GlobalAddressesDeleteCall) Fields(s ...googleapi.Field) *GlobalAddressesDeleteCall
    func (c *GlobalAddressesDeleteCall) Header() http.Header
type GlobalAddressesGetCall
    func (c *GlobalAddressesGetCall) Context(ctx context.Context) *GlobalAddressesGetCall
    func (c *GlobalAddressesGetCall) Do(opts ...googleapi.CallOption) (*Address, error)
    func (c *GlobalAddressesGetCall) Fields(s ...googleapi.Field) *GlobalAddressesGetCall
    func (c *GlobalAddressesGetCall) Header() http.Header
    func (c *GlobalAddressesGetCall) IfNoneMatch(entityTag string) *GlobalAddressesGetCall
type GlobalAddressesInsertCall
    func (c *GlobalAddressesInsertCall) Context(ctx context.Context) *GlobalAddressesInsertCall
    func (c *GlobalAddressesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *GlobalAddressesInsertCall) Fields(s ...googleapi.Field) *GlobalAddressesInsertCall
    func (c *GlobalAddressesInsertCall) Header() http.Header
type GlobalAddressesListCall
    func (c *GlobalAddressesListCall) Context(ctx context.Context) *GlobalAddressesListCall
    func (c *GlobalAddressesListCall) Do(opts ...googleapi.CallOption) (*AddressList, error)
    func (c *GlobalAddressesListCall) Fields(s ...googleapi.Field) *GlobalAddressesListCall
    func (c *GlobalAddressesListCall) Filter(filter string) *GlobalAddressesListCall
    func (c *GlobalAddressesListCall) Header() http.Header
    func (c *GlobalAddressesListCall) IfNoneMatch(entityTag string) *GlobalAddressesListCall
    func (c *GlobalAddressesListCall) MaxResults(maxResults int64) *GlobalAddressesListCall
    func (c *GlobalAddressesListCall) OrderBy(orderBy string) *GlobalAddressesListCall
    func (c *GlobalAddressesListCall) PageToken(pageToken string) *GlobalAddressesListCall
    func (c *GlobalAddressesListCall) Pages(ctx context.Context, f func(*AddressList) error) error
type GlobalAddressesService
    func NewGlobalAddressesService(s *Service) *GlobalAddressesService
    func (r *GlobalAddressesService) Delete(project string, address string) *GlobalAddressesDeleteCall
    func (r *GlobalAddressesService) Get(project string, address string) *GlobalAddressesGetCall
    func (r *GlobalAddressesService) Insert(project string, address *Address) *GlobalAddressesInsertCall
    func (r *GlobalAddressesService) List(project string) *GlobalAddressesListCall
type GlobalForwardingRulesDeleteCall
    func (c *GlobalForwardingRulesDeleteCall) Context(ctx context.Context) *GlobalForwardingRulesDeleteCall
    func (c *GlobalForwardingRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *GlobalForwardingRulesDeleteCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesDeleteCall
    func (c *GlobalForwardingRulesDeleteCall) Header() http.Header
type GlobalForwardingRulesGetCall
    func (c *GlobalForwardingRulesGetCall) Context(ctx context.Context) *GlobalForwardingRulesGetCall
    func (c *GlobalForwardingRulesGetCall) Do(opts ...googleapi.CallOption) (*ForwardingRule, error)
    func (c *GlobalForwardingRulesGetCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesGetCall
    func (c *GlobalForwardingRulesGetCall) Header() http.Header
    func (c *GlobalForwardingRulesGetCall) IfNoneMatch(entityTag string) *GlobalForwardingRulesGetCall
type GlobalForwardingRulesInsertCall
    func (c *GlobalForwardingRulesInsertCall) Context(ctx context.Context) *GlobalForwardingRulesInsertCall
    func (c *GlobalForwardingRulesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *GlobalForwardingRulesInsertCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesInsertCall
    func (c *GlobalForwardingRulesInsertCall) Header() http.Header
type GlobalForwardingRulesListCall
    func (c *GlobalForwardingRulesListCall) Context(ctx context.Context) *GlobalForwardingRulesListCall
    func (c *GlobalForwardingRulesListCall) Do(opts ...googleapi.CallOption) (*ForwardingRuleList, error)
    func (c *GlobalForwardingRulesListCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesListCall
    func (c *GlobalForwardingRulesListCall) Filter(filter string) *GlobalForwardingRulesListCall
    func (c *GlobalForwardingRulesListCall) Header() http.Header
    func (c *GlobalForwardingRulesListCall) IfNoneMatch(entityTag string) *GlobalForwardingRulesListCall
    func (c *GlobalForwardingRulesListCall) MaxResults(maxResults int64) *GlobalForwardingRulesListCall
    func (c *GlobalForwardingRulesListCall) OrderBy(orderBy string) *GlobalForwardingRulesListCall
    func (c *GlobalForwardingRulesListCall) PageToken(pageToken string) *GlobalForwardingRulesListCall
    func (c *GlobalForwardingRulesListCall) Pages(ctx context.Context, f func(*ForwardingRuleList) error) error
type GlobalForwardingRulesService
    func NewGlobalForwardingRulesService(s *Service) *GlobalForwardingRulesService
    func (r *GlobalForwardingRulesService) Delete(project string, forwardingRule string) *GlobalForwardingRulesDeleteCall
    func (r *GlobalForwardingRulesService) Get(project string, forwardingRule string) *GlobalForwardingRulesGetCall
    func (r *GlobalForwardingRulesService) Insert(project string, forwardingrule *ForwardingRule) *GlobalForwardingRulesInsertCall
    func (r *GlobalForwardingRulesService) List(project string) *GlobalForwardingRulesListCall
    func (r *GlobalForwardingRulesService) SetTarget(project string, forwardingRule string, targetreference *TargetReference) *GlobalForwardingRulesSetTargetCall
type GlobalForwardingRulesSetTargetCall
    func (c *GlobalForwardingRulesSetTargetCall) Context(ctx context.Context) *GlobalForwardingRulesSetTargetCall
    func (c *GlobalForwardingRulesSetTargetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *GlobalForwardingRulesSetTargetCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesSetTargetCall
    func (c *GlobalForwardingRulesSetTargetCall) Header() http.Header
type GlobalOperationsAggregatedListCall
    func (c *GlobalOperationsAggregatedListCall) Context(ctx context.Context) *GlobalOperationsAggregatedListCall
    func (c *GlobalOperationsAggregatedListCall) Do(opts ...googleapi.CallOption) (*OperationAggregatedList, error)
    func (c *GlobalOperationsAggregatedListCall) Fields(s ...googleapi.Field) *GlobalOperationsAggregatedListCall
    func (c *GlobalOperationsAggregatedListCall) Filter(filter string) *GlobalOperationsAggregatedListCall
    func (c *GlobalOperationsAggregatedListCall) Header() http.Header
    func (c *GlobalOperationsAggregatedListCall) IfNoneMatch(entityTag string) *GlobalOperationsAggregatedListCall
    func (c *GlobalOperationsAggregatedListCall) MaxResults(maxResults int64) *GlobalOperationsAggregatedListCall
    func (c *GlobalOperationsAggregatedListCall) OrderBy(orderBy string) *GlobalOperationsAggregatedListCall
    func (c *GlobalOperationsAggregatedListCall) PageToken(pageToken string) *GlobalOperationsAggregatedListCall
    func (c *GlobalOperationsAggregatedListCall) Pages(ctx context.Context, f func(*OperationAggregatedList) error) error
type GlobalOperationsDeleteCall
    func (c *GlobalOperationsDeleteCall) Context(ctx context.Context) *GlobalOperationsDeleteCall
    func (c *GlobalOperationsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *GlobalOperationsDeleteCall) Fields(s ...googleapi.Field) *GlobalOperationsDeleteCall
    func (c *GlobalOperationsDeleteCall) Header() http.Header
type GlobalOperationsGetCall
    func (c *GlobalOperationsGetCall) Context(ctx context.Context) *GlobalOperationsGetCall
    func (c *GlobalOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *GlobalOperationsGetCall) Fields(s ...googleapi.Field) *GlobalOperationsGetCall
    func (c *GlobalOperationsGetCall) Header() http.Header
    func (c *GlobalOperationsGetCall) IfNoneMatch(entityTag string) *GlobalOperationsGetCall
type GlobalOperationsListCall
    func (c *GlobalOperationsListCall) Context(ctx context.Context) *GlobalOperationsListCall
    func (c *GlobalOperationsListCall) Do(opts ...googleapi.CallOption) (*OperationList, error)
    func (c *GlobalOperationsListCall) Fields(s ...googleapi.Field) *GlobalOperationsListCall
    func (c *GlobalOperationsListCall) Filter(filter string) *GlobalOperationsListCall
    func (c *GlobalOperationsListCall) Header() http.Header
    func (c *GlobalOperationsListCall) IfNoneMatch(entityTag string) *GlobalOperationsListCall
    func (c *GlobalOperationsListCall) MaxResults(maxResults int64) *GlobalOperationsListCall
    func (c *GlobalOperationsListCall) OrderBy(orderBy string) *GlobalOperationsListCall
    func (c *GlobalOperationsListCall) PageToken(pageToken string) *GlobalOperationsListCall
    func (c *GlobalOperationsListCall) Pages(ctx context.Context, f func(*OperationList) error) error
type GlobalOperationsService
    func NewGlobalOperationsService(s *Service) *GlobalOperationsService
    func (r *GlobalOperationsService) AggregatedList(project string) *GlobalOperationsAggregatedListCall
    func (r *GlobalOperationsService) Delete(project string, operation string) *GlobalOperationsDeleteCall
    func (r *GlobalOperationsService) Get(project string, operation string) *GlobalOperationsGetCall
    func (r *GlobalOperationsService) List(project string) *GlobalOperationsListCall
type GlobalSetLabelsRequest
    func (s *GlobalSetLabelsRequest) MarshalJSON() ([]byte, error)
type GuestOsFeature
    func (s *GuestOsFeature) MarshalJSON() ([]byte, error)
type HTTPHealthCheck
    func (s *HTTPHealthCheck) MarshalJSON() ([]byte, error)
type HTTPSHealthCheck
    func (s *HTTPSHealthCheck) MarshalJSON() ([]byte, error)
type HealthCheck
    func (s *HealthCheck) MarshalJSON() ([]byte, error)
type HealthCheckList
    func (s *HealthCheckList) MarshalJSON() ([]byte, error)
type HealthCheckReference
    func (s *HealthCheckReference) MarshalJSON() ([]byte, error)
type HealthChecksDeleteCall
    func (c *HealthChecksDeleteCall) Context(ctx context.Context) *HealthChecksDeleteCall
    func (c *HealthChecksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HealthChecksDeleteCall) Fields(s ...googleapi.Field) *HealthChecksDeleteCall
    func (c *HealthChecksDeleteCall) Header() http.Header
type HealthChecksGetCall
    func (c *HealthChecksGetCall) Context(ctx context.Context) *HealthChecksGetCall
    func (c *HealthChecksGetCall) Do(opts ...googleapi.CallOption) (*HealthCheck, error)
    func (c *HealthChecksGetCall) Fields(s ...googleapi.Field) *HealthChecksGetCall
    func (c *HealthChecksGetCall) Header() http.Header
    func (c *HealthChecksGetCall) IfNoneMatch(entityTag string) *HealthChecksGetCall
type HealthChecksInsertCall
    func (c *HealthChecksInsertCall) Context(ctx context.Context) *HealthChecksInsertCall
    func (c *HealthChecksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HealthChecksInsertCall) Fields(s ...googleapi.Field) *HealthChecksInsertCall
    func (c *HealthChecksInsertCall) Header() http.Header
type HealthChecksListCall
    func (c *HealthChecksListCall) Context(ctx context.Context) *HealthChecksListCall
    func (c *HealthChecksListCall) Do(opts ...googleapi.CallOption) (*HealthCheckList, error)
    func (c *HealthChecksListCall) Fields(s ...googleapi.Field) *HealthChecksListCall
    func (c *HealthChecksListCall) Filter(filter string) *HealthChecksListCall
    func (c *HealthChecksListCall) Header() http.Header
    func (c *HealthChecksListCall) IfNoneMatch(entityTag string) *HealthChecksListCall
    func (c *HealthChecksListCall) MaxResults(maxResults int64) *HealthChecksListCall
    func (c *HealthChecksListCall) OrderBy(orderBy string) *HealthChecksListCall
    func (c *HealthChecksListCall) PageToken(pageToken string) *HealthChecksListCall
    func (c *HealthChecksListCall) Pages(ctx context.Context, f func(*HealthCheckList) error) error
type HealthChecksPatchCall
    func (c *HealthChecksPatchCall) Context(ctx context.Context) *HealthChecksPatchCall
    func (c *HealthChecksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HealthChecksPatchCall) Fields(s ...googleapi.Field) *HealthChecksPatchCall
    func (c *HealthChecksPatchCall) Header() http.Header
type HealthChecksService
    func NewHealthChecksService(s *Service) *HealthChecksService
    func (r *HealthChecksService) Delete(project string, healthCheck string) *HealthChecksDeleteCall
    func (r *HealthChecksService) Get(project string, healthCheck string) *HealthChecksGetCall
    func (r *HealthChecksService) Insert(project string, healthcheck *HealthCheck) *HealthChecksInsertCall
    func (r *HealthChecksService) List(project string) *HealthChecksListCall
    func (r *HealthChecksService) Patch(project string, healthCheck string, healthcheck *HealthCheck) *HealthChecksPatchCall
    func (r *HealthChecksService) Update(project string, healthCheck string, healthcheck *HealthCheck) *HealthChecksUpdateCall
type HealthChecksUpdateCall
    func (c *HealthChecksUpdateCall) Context(ctx context.Context) *HealthChecksUpdateCall
    func (c *HealthChecksUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HealthChecksUpdateCall) Fields(s ...googleapi.Field) *HealthChecksUpdateCall
    func (c *HealthChecksUpdateCall) Header() http.Header
type HealthStatus
    func (s *HealthStatus) MarshalJSON() ([]byte, error)
type HostRule
    func (s *HostRule) MarshalJSON() ([]byte, error)
type HttpHealthCheck
    func (s *HttpHealthCheck) MarshalJSON() ([]byte, error)
type HttpHealthCheckList
    func (s *HttpHealthCheckList) MarshalJSON() ([]byte, error)
type HttpHealthChecksDeleteCall
    func (c *HttpHealthChecksDeleteCall) Context(ctx context.Context) *HttpHealthChecksDeleteCall
    func (c *HttpHealthChecksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HttpHealthChecksDeleteCall) Fields(s ...googleapi.Field) *HttpHealthChecksDeleteCall
    func (c *HttpHealthChecksDeleteCall) Header() http.Header
type HttpHealthChecksGetCall
    func (c *HttpHealthChecksGetCall) Context(ctx context.Context) *HttpHealthChecksGetCall
    func (c *HttpHealthChecksGetCall) Do(opts ...googleapi.CallOption) (*HttpHealthCheck, error)
    func (c *HttpHealthChecksGetCall) Fields(s ...googleapi.Field) *HttpHealthChecksGetCall
    func (c *HttpHealthChecksGetCall) Header() http.Header
    func (c *HttpHealthChecksGetCall) IfNoneMatch(entityTag string) *HttpHealthChecksGetCall
type HttpHealthChecksInsertCall
    func (c *HttpHealthChecksInsertCall) Context(ctx context.Context) *HttpHealthChecksInsertCall
    func (c *HttpHealthChecksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HttpHealthChecksInsertCall) Fields(s ...googleapi.Field) *HttpHealthChecksInsertCall
    func (c *HttpHealthChecksInsertCall) Header() http.Header
type HttpHealthChecksListCall
    func (c *HttpHealthChecksListCall) Context(ctx context.Context) *HttpHealthChecksListCall
    func (c *HttpHealthChecksListCall) Do(opts ...googleapi.CallOption) (*HttpHealthCheckList, error)
    func (c *HttpHealthChecksListCall) Fields(s ...googleapi.Field) *HttpHealthChecksListCall
    func (c *HttpHealthChecksListCall) Filter(filter string) *HttpHealthChecksListCall
    func (c *HttpHealthChecksListCall) Header() http.Header
    func (c *HttpHealthChecksListCall) IfNoneMatch(entityTag string) *HttpHealthChecksListCall
    func (c *HttpHealthChecksListCall) MaxResults(maxResults int64) *HttpHealthChecksListCall
    func (c *HttpHealthChecksListCall) OrderBy(orderBy string) *HttpHealthChecksListCall
    func (c *HttpHealthChecksListCall) PageToken(pageToken string) *HttpHealthChecksListCall
    func (c *HttpHealthChecksListCall) Pages(ctx context.Context, f func(*HttpHealthCheckList) error) error
type HttpHealthChecksPatchCall
    func (c *HttpHealthChecksPatchCall) Context(ctx context.Context) *HttpHealthChecksPatchCall
    func (c *HttpHealthChecksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HttpHealthChecksPatchCall) Fields(s ...googleapi.Field) *HttpHealthChecksPatchCall
    func (c *HttpHealthChecksPatchCall) Header() http.Header
type HttpHealthChecksService
    func NewHttpHealthChecksService(s *Service) *HttpHealthChecksService
    func (r *HttpHealthChecksService) Delete(project string, httpHealthCheck string) *HttpHealthChecksDeleteCall
    func (r *HttpHealthChecksService) Get(project string, httpHealthCheck string) *HttpHealthChecksGetCall
    func (r *HttpHealthChecksService) Insert(project string, httphealthcheck *HttpHealthCheck) *HttpHealthChecksInsertCall
    func (r *HttpHealthChecksService) List(project string) *HttpHealthChecksListCall
    func (r *HttpHealthChecksService) Patch(project string, httpHealthCheck string, httphealthcheck *HttpHealthCheck) *HttpHealthChecksPatchCall
    func (r *HttpHealthChecksService) Update(project string, httpHealthCheck string, httphealthcheck *HttpHealthCheck) *HttpHealthChecksUpdateCall
type HttpHealthChecksUpdateCall
    func (c *HttpHealthChecksUpdateCall) Context(ctx context.Context) *HttpHealthChecksUpdateCall
    func (c *HttpHealthChecksUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HttpHealthChecksUpdateCall) Fields(s ...googleapi.Field) *HttpHealthChecksUpdateCall
    func (c *HttpHealthChecksUpdateCall) Header() http.Header
type HttpsHealthCheck
    func (s *HttpsHealthCheck) MarshalJSON() ([]byte, error)
type HttpsHealthCheckList
    func (s *HttpsHealthCheckList) MarshalJSON() ([]byte, error)
type HttpsHealthChecksDeleteCall
    func (c *HttpsHealthChecksDeleteCall) Context(ctx context.Context) *HttpsHealthChecksDeleteCall
    func (c *HttpsHealthChecksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HttpsHealthChecksDeleteCall) Fields(s ...googleapi.Field) *HttpsHealthChecksDeleteCall
    func (c *HttpsHealthChecksDeleteCall) Header() http.Header
type HttpsHealthChecksGetCall
    func (c *HttpsHealthChecksGetCall) Context(ctx context.Context) *HttpsHealthChecksGetCall
    func (c *HttpsHealthChecksGetCall) Do(opts ...googleapi.CallOption) (*HttpsHealthCheck, error)
    func (c *HttpsHealthChecksGetCall) Fields(s ...googleapi.Field) *HttpsHealthChecksGetCall
    func (c *HttpsHealthChecksGetCall) Header() http.Header
    func (c *HttpsHealthChecksGetCall) IfNoneMatch(entityTag string) *HttpsHealthChecksGetCall
type HttpsHealthChecksInsertCall
    func (c *HttpsHealthChecksInsertCall) Context(ctx context.Context) *HttpsHealthChecksInsertCall
    func (c *HttpsHealthChecksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HttpsHealthChecksInsertCall) Fields(s ...googleapi.Field) *HttpsHealthChecksInsertCall
    func (c *HttpsHealthChecksInsertCall) Header() http.Header
type HttpsHealthChecksListCall
    func (c *HttpsHealthChecksListCall) Context(ctx context.Context) *HttpsHealthChecksListCall
    func (c *HttpsHealthChecksListCall) Do(opts ...googleapi.CallOption) (*HttpsHealthCheckList, error)
    func (c *HttpsHealthChecksListCall) Fields(s ...googleapi.Field) *HttpsHealthChecksListCall
    func (c *HttpsHealthChecksListCall) Filter(filter string) *HttpsHealthChecksListCall
    func (c *HttpsHealthChecksListCall) Header() http.Header
    func (c *HttpsHealthChecksListCall) IfNoneMatch(entityTag string) *HttpsHealthChecksListCall
    func (c *HttpsHealthChecksListCall) MaxResults(maxResults int64) *HttpsHealthChecksListCall
    func (c *HttpsHealthChecksListCall) OrderBy(orderBy string) *HttpsHealthChecksListCall
    func (c *HttpsHealthChecksListCall) PageToken(pageToken string) *HttpsHealthChecksListCall
    func (c *HttpsHealthChecksListCall) Pages(ctx context.Context, f func(*HttpsHealthCheckList) error) error
type HttpsHealthChecksPatchCall
    func (c *HttpsHealthChecksPatchCall) Context(ctx context.Context) *HttpsHealthChecksPatchCall
    func (c *HttpsHealthChecksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HttpsHealthChecksPatchCall) Fields(s ...googleapi.Field) *HttpsHealthChecksPatchCall
    func (c *HttpsHealthChecksPatchCall) Header() http.Header
type HttpsHealthChecksService
    func NewHttpsHealthChecksService(s *Service) *HttpsHealthChecksService
    func (r *HttpsHealthChecksService) Delete(project string, httpsHealthCheck string) *HttpsHealthChecksDeleteCall
    func (r *HttpsHealthChecksService) Get(project string, httpsHealthCheck string) *HttpsHealthChecksGetCall
    func (r *HttpsHealthChecksService) Insert(project string, httpshealthcheck *HttpsHealthCheck) *HttpsHealthChecksInsertCall
    func (r *HttpsHealthChecksService) List(project string) *HttpsHealthChecksListCall
    func (r *HttpsHealthChecksService) Patch(project string, httpsHealthCheck string, httpshealthcheck *HttpsHealthCheck) *HttpsHealthChecksPatchCall
    func (r *HttpsHealthChecksService) Update(project string, httpsHealthCheck string, httpshealthcheck *HttpsHealthCheck) *HttpsHealthChecksUpdateCall
type HttpsHealthChecksUpdateCall
    func (c *HttpsHealthChecksUpdateCall) Context(ctx context.Context) *HttpsHealthChecksUpdateCall
    func (c *HttpsHealthChecksUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *HttpsHealthChecksUpdateCall) Fields(s ...googleapi.Field) *HttpsHealthChecksUpdateCall
    func (c *HttpsHealthChecksUpdateCall) Header() http.Header
type Image
    func (s *Image) MarshalJSON() ([]byte, error)
type ImageList
    func (s *ImageList) MarshalJSON() ([]byte, error)
type ImageRawDisk
    func (s *ImageRawDisk) MarshalJSON() ([]byte, error)
type ImagesDeleteCall
    func (c *ImagesDeleteCall) Context(ctx context.Context) *ImagesDeleteCall
    func (c *ImagesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ImagesDeleteCall) Fields(s ...googleapi.Field) *ImagesDeleteCall
    func (c *ImagesDeleteCall) Header() http.Header
type ImagesDeprecateCall
    func (c *ImagesDeprecateCall) Context(ctx context.Context) *ImagesDeprecateCall
    func (c *ImagesDeprecateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ImagesDeprecateCall) Fields(s ...googleapi.Field) *ImagesDeprecateCall
    func (c *ImagesDeprecateCall) Header() http.Header
type ImagesGetCall
    func (c *ImagesGetCall) Context(ctx context.Context) *ImagesGetCall
    func (c *ImagesGetCall) Do(opts ...googleapi.CallOption) (*Image, error)
    func (c *ImagesGetCall) Fields(s ...googleapi.Field) *ImagesGetCall
    func (c *ImagesGetCall) Header() http.Header
    func (c *ImagesGetCall) IfNoneMatch(entityTag string) *ImagesGetCall
type ImagesGetFromFamilyCall
    func (c *ImagesGetFromFamilyCall) Context(ctx context.Context) *ImagesGetFromFamilyCall
    func (c *ImagesGetFromFamilyCall) Do(opts ...googleapi.CallOption) (*Image, error)
    func (c *ImagesGetFromFamilyCall) Fields(s ...googleapi.Field) *ImagesGetFromFamilyCall
    func (c *ImagesGetFromFamilyCall) Header() http.Header
    func (c *ImagesGetFromFamilyCall) IfNoneMatch(entityTag string) *ImagesGetFromFamilyCall
type ImagesInsertCall
    func (c *ImagesInsertCall) Context(ctx context.Context) *ImagesInsertCall
    func (c *ImagesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ImagesInsertCall) Fields(s ...googleapi.Field) *ImagesInsertCall
    func (c *ImagesInsertCall) Header() http.Header
type ImagesListCall
    func (c *ImagesListCall) Context(ctx context.Context) *ImagesListCall
    func (c *ImagesListCall) Do(opts ...googleapi.CallOption) (*ImageList, error)
    func (c *ImagesListCall) Fields(s ...googleapi.Field) *ImagesListCall
    func (c *ImagesListCall) Filter(filter string) *ImagesListCall
    func (c *ImagesListCall) Header() http.Header
    func (c *ImagesListCall) IfNoneMatch(entityTag string) *ImagesListCall
    func (c *ImagesListCall) MaxResults(maxResults int64) *ImagesListCall
    func (c *ImagesListCall) OrderBy(orderBy string) *ImagesListCall
    func (c *ImagesListCall) PageToken(pageToken string) *ImagesListCall
    func (c *ImagesListCall) Pages(ctx context.Context, f func(*ImageList) error) error
type ImagesService
    func NewImagesService(s *Service) *ImagesService
    func (r *ImagesService) Delete(project string, image string) *ImagesDeleteCall
    func (r *ImagesService) Deprecate(project string, image string, deprecationstatus *DeprecationStatus) *ImagesDeprecateCall
    func (r *ImagesService) Get(project string, image string) *ImagesGetCall
    func (r *ImagesService) GetFromFamily(project string, family string) *ImagesGetFromFamilyCall
    func (r *ImagesService) Insert(project string, image *Image) *ImagesInsertCall
    func (r *ImagesService) List(project string) *ImagesListCall
    func (r *ImagesService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *ImagesSetLabelsCall
type ImagesSetLabelsCall
    func (c *ImagesSetLabelsCall) Context(ctx context.Context) *ImagesSetLabelsCall
    func (c *ImagesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ImagesSetLabelsCall) Fields(s ...googleapi.Field) *ImagesSetLabelsCall
    func (c *ImagesSetLabelsCall) Header() http.Header
type Instance
    func (s *Instance) MarshalJSON() ([]byte, error)
type InstanceAggregatedList
    func (s *InstanceAggregatedList) MarshalJSON() ([]byte, error)
type InstanceGroup
    func (s *InstanceGroup) MarshalJSON() ([]byte, error)
type InstanceGroupAggregatedList
    func (s *InstanceGroupAggregatedList) MarshalJSON() ([]byte, error)
type InstanceGroupList
    func (s *InstanceGroupList) MarshalJSON() ([]byte, error)
type InstanceGroupManager
    func (s *InstanceGroupManager) MarshalJSON() ([]byte, error)
type InstanceGroupManagerActionsSummary
    func (s *InstanceGroupManagerActionsSummary) MarshalJSON() ([]byte, error)
type InstanceGroupManagerAggregatedList
    func (s *InstanceGroupManagerAggregatedList) MarshalJSON() ([]byte, error)
type InstanceGroupManagerList
    func (s *InstanceGroupManagerList) MarshalJSON() ([]byte, error)
type InstanceGroupManagersAbandonInstancesCall
    func (c *InstanceGroupManagersAbandonInstancesCall) Context(ctx context.Context) *InstanceGroupManagersAbandonInstancesCall
    func (c *InstanceGroupManagersAbandonInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupManagersAbandonInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersAbandonInstancesCall
    func (c *InstanceGroupManagersAbandonInstancesCall) Header() http.Header
type InstanceGroupManagersAbandonInstancesRequest
    func (s *InstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersAggregatedListCall
    func (c *InstanceGroupManagersAggregatedListCall) Context(ctx context.Context) *InstanceGroupManagersAggregatedListCall
    func (c *InstanceGroupManagersAggregatedListCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManagerAggregatedList, error)
    func (c *InstanceGroupManagersAggregatedListCall) Fields(s ...googleapi.Field) *InstanceGroupManagersAggregatedListCall
    func (c *InstanceGroupManagersAggregatedListCall) Filter(filter string) *InstanceGroupManagersAggregatedListCall
    func (c *InstanceGroupManagersAggregatedListCall) Header() http.Header
    func (c *InstanceGroupManagersAggregatedListCall) IfNoneMatch(entityTag string) *InstanceGroupManagersAggregatedListCall
    func (c *InstanceGroupManagersAggregatedListCall) MaxResults(maxResults int64) *InstanceGroupManagersAggregatedListCall
    func (c *InstanceGroupManagersAggregatedListCall) OrderBy(orderBy string) *InstanceGroupManagersAggregatedListCall
    func (c *InstanceGroupManagersAggregatedListCall) PageToken(pageToken string) *InstanceGroupManagersAggregatedListCall
    func (c *InstanceGroupManagersAggregatedListCall) Pages(ctx context.Context, f func(*InstanceGroupManagerAggregatedList) error) error
type InstanceGroupManagersDeleteCall
    func (c *InstanceGroupManagersDeleteCall) Context(ctx context.Context) *InstanceGroupManagersDeleteCall
    func (c *InstanceGroupManagersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupManagersDeleteCall) Fields(s ...googleapi.Field) *InstanceGroupManagersDeleteCall
    func (c *InstanceGroupManagersDeleteCall) Header() http.Header
type InstanceGroupManagersDeleteInstancesCall
    func (c *InstanceGroupManagersDeleteInstancesCall) Context(ctx context.Context) *InstanceGroupManagersDeleteInstancesCall
    func (c *InstanceGroupManagersDeleteInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupManagersDeleteInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersDeleteInstancesCall
    func (c *InstanceGroupManagersDeleteInstancesCall) Header() http.Header
type InstanceGroupManagersDeleteInstancesRequest
    func (s *InstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersGetCall
    func (c *InstanceGroupManagersGetCall) Context(ctx context.Context) *InstanceGroupManagersGetCall
    func (c *InstanceGroupManagersGetCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManager, error)
    func (c *InstanceGroupManagersGetCall) Fields(s ...googleapi.Field) *InstanceGroupManagersGetCall
    func (c *InstanceGroupManagersGetCall) Header() http.Header
    func (c *InstanceGroupManagersGetCall) IfNoneMatch(entityTag string) *InstanceGroupManagersGetCall
type InstanceGroupManagersInsertCall
    func (c *InstanceGroupManagersInsertCall) Context(ctx context.Context) *InstanceGroupManagersInsertCall
    func (c *InstanceGroupManagersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupManagersInsertCall) Fields(s ...googleapi.Field) *InstanceGroupManagersInsertCall
    func (c *InstanceGroupManagersInsertCall) Header() http.Header
type InstanceGroupManagersListCall
    func (c *InstanceGroupManagersListCall) Context(ctx context.Context) *InstanceGroupManagersListCall
    func (c *InstanceGroupManagersListCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManagerList, error)
    func (c *InstanceGroupManagersListCall) Fields(s ...googleapi.Field) *InstanceGroupManagersListCall
    func (c *InstanceGroupManagersListCall) Filter(filter string) *InstanceGroupManagersListCall
    func (c *InstanceGroupManagersListCall) Header() http.Header
    func (c *InstanceGroupManagersListCall) IfNoneMatch(entityTag string) *InstanceGroupManagersListCall
    func (c *InstanceGroupManagersListCall) MaxResults(maxResults int64) *InstanceGroupManagersListCall
    func (c *InstanceGroupManagersListCall) OrderBy(orderBy string) *InstanceGroupManagersListCall
    func (c *InstanceGroupManagersListCall) PageToken(pageToken string) *InstanceGroupManagersListCall
    func (c *InstanceGroupManagersListCall) Pages(ctx context.Context, f func(*InstanceGroupManagerList) error) error
type InstanceGroupManagersListManagedInstancesCall
    func (c *InstanceGroupManagersListManagedInstancesCall) Context(ctx context.Context) *InstanceGroupManagersListManagedInstancesCall
    func (c *InstanceGroupManagersListManagedInstancesCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManagersListManagedInstancesResponse, error)
    func (c *InstanceGroupManagersListManagedInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersListManagedInstancesCall
    func (c *InstanceGroupManagersListManagedInstancesCall) Filter(filter string) *InstanceGroupManagersListManagedInstancesCall
    func (c *InstanceGroupManagersListManagedInstancesCall) Header() http.Header
    func (c *InstanceGroupManagersListManagedInstancesCall) MaxResults(maxResults int64) *InstanceGroupManagersListManagedInstancesCall
    func (c *InstanceGroupManagersListManagedInstancesCall) OrderBy(orderBy string) *InstanceGroupManagersListManagedInstancesCall
    func (c *InstanceGroupManagersListManagedInstancesCall) PageToken(pageToken string) *InstanceGroupManagersListManagedInstancesCall
type InstanceGroupManagersListManagedInstancesResponse
    func (s *InstanceGroupManagersListManagedInstancesResponse) MarshalJSON() ([]byte, error)
type InstanceGroupManagersRecreateInstancesCall
    func (c *InstanceGroupManagersRecreateInstancesCall) Context(ctx context.Context) *InstanceGroupManagersRecreateInstancesCall
    func (c *InstanceGroupManagersRecreateInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupManagersRecreateInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersRecreateInstancesCall
    func (c *InstanceGroupManagersRecreateInstancesCall) Header() http.Header
type InstanceGroupManagersRecreateInstancesRequest
    func (s *InstanceGroupManagersRecreateInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersResizeCall
    func (c *InstanceGroupManagersResizeCall) Context(ctx context.Context) *InstanceGroupManagersResizeCall
    func (c *InstanceGroupManagersResizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupManagersResizeCall) Fields(s ...googleapi.Field) *InstanceGroupManagersResizeCall
    func (c *InstanceGroupManagersResizeCall) Header() http.Header
type InstanceGroupManagersScopedList
    func (s *InstanceGroupManagersScopedList) MarshalJSON() ([]byte, error)
type InstanceGroupManagersScopedListWarning
    func (s *InstanceGroupManagersScopedListWarning) MarshalJSON() ([]byte, error)
type InstanceGroupManagersScopedListWarningData
    func (s *InstanceGroupManagersScopedListWarningData) MarshalJSON() ([]byte, error)
type InstanceGroupManagersService
    func NewInstanceGroupManagersService(s *Service) *InstanceGroupManagersService
    func (r *InstanceGroupManagersService) AbandonInstances(project string, zone string, instanceGroupManager string, instancegroupmanagersabandoninstancesrequest *InstanceGroupManagersAbandonInstancesRequest) *InstanceGroupManagersAbandonInstancesCall
    func (r *InstanceGroupManagersService) AggregatedList(project string) *InstanceGroupManagersAggregatedListCall
    func (r *InstanceGroupManagersService) Delete(project string, zone string, instanceGroupManager string) *InstanceGroupManagersDeleteCall
    func (r *InstanceGroupManagersService) DeleteInstances(project string, zone string, instanceGroupManager string, instancegroupmanagersdeleteinstancesrequest *InstanceGroupManagersDeleteInstancesRequest) *InstanceGroupManagersDeleteInstancesCall
    func (r *InstanceGroupManagersService) Get(project string, zone string, instanceGroupManager string) *InstanceGroupManagersGetCall
    func (r *InstanceGroupManagersService) Insert(project string, zone string, instancegroupmanager *InstanceGroupManager) *InstanceGroupManagersInsertCall
    func (r *InstanceGroupManagersService) List(project string, zone string) *InstanceGroupManagersListCall
    func (r *InstanceGroupManagersService) ListManagedInstances(project string, zone string, instanceGroupManager string) *InstanceGroupManagersListManagedInstancesCall
    func (r *InstanceGroupManagersService) RecreateInstances(project string, zone string, instanceGroupManager string, instancegroupmanagersrecreateinstancesrequest *InstanceGroupManagersRecreateInstancesRequest) *InstanceGroupManagersRecreateInstancesCall
    func (r *InstanceGroupManagersService) Resize(project string, zone string, instanceGroupManager string, size int64) *InstanceGroupManagersResizeCall
    func (r *InstanceGroupManagersService) SetInstanceTemplate(project string, zone string, instanceGroupManager string, instancegroupmanagerssetinstancetemplaterequest *InstanceGroupManagersSetInstanceTemplateRequest) *InstanceGroupManagersSetInstanceTemplateCall
    func (r *InstanceGroupManagersService) SetTargetPools(project string, zone string, instanceGroupManager string, instancegroupmanagerssettargetpoolsrequest *InstanceGroupManagersSetTargetPoolsRequest) *InstanceGroupManagersSetTargetPoolsCall
type InstanceGroupManagersSetInstanceTemplateCall
    func (c *InstanceGroupManagersSetInstanceTemplateCall) Context(ctx context.Context) *InstanceGroupManagersSetInstanceTemplateCall
    func (c *InstanceGroupManagersSetInstanceTemplateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupManagersSetInstanceTemplateCall) Fields(s ...googleapi.Field) *InstanceGroupManagersSetInstanceTemplateCall
    func (c *InstanceGroupManagersSetInstanceTemplateCall) Header() http.Header
type InstanceGroupManagersSetInstanceTemplateRequest
    func (s *InstanceGroupManagersSetInstanceTemplateRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersSetTargetPoolsCall
    func (c *InstanceGroupManagersSetTargetPoolsCall) Context(ctx context.Context) *InstanceGroupManagersSetTargetPoolsCall
    func (c *InstanceGroupManagersSetTargetPoolsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupManagersSetTargetPoolsCall) Fields(s ...googleapi.Field) *InstanceGroupManagersSetTargetPoolsCall
    func (c *InstanceGroupManagersSetTargetPoolsCall) Header() http.Header
type InstanceGroupManagersSetTargetPoolsRequest
    func (s *InstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error)
type InstanceGroupsAddInstancesCall
    func (c *InstanceGroupsAddInstancesCall) Context(ctx context.Context) *InstanceGroupsAddInstancesCall
    func (c *InstanceGroupsAddInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupsAddInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupsAddInstancesCall
    func (c *InstanceGroupsAddInstancesCall) Header() http.Header
type InstanceGroupsAddInstancesRequest
    func (s *InstanceGroupsAddInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupsAggregatedListCall
    func (c *InstanceGroupsAggregatedListCall) Context(ctx context.Context) *InstanceGroupsAggregatedListCall
    func (c *InstanceGroupsAggregatedListCall) Do(opts ...googleapi.CallOption) (*InstanceGroupAggregatedList, error)
    func (c *InstanceGroupsAggregatedListCall) Fields(s ...googleapi.Field) *InstanceGroupsAggregatedListCall
    func (c *InstanceGroupsAggregatedListCall) Filter(filter string) *InstanceGroupsAggregatedListCall
    func (c *InstanceGroupsAggregatedListCall) Header() http.Header
    func (c *InstanceGroupsAggregatedListCall) IfNoneMatch(entityTag string) *InstanceGroupsAggregatedListCall
    func (c *InstanceGroupsAggregatedListCall) MaxResults(maxResults int64) *InstanceGroupsAggregatedListCall
    func (c *InstanceGroupsAggregatedListCall) OrderBy(orderBy string) *InstanceGroupsAggregatedListCall
    func (c *InstanceGroupsAggregatedListCall) PageToken(pageToken string) *InstanceGroupsAggregatedListCall
    func (c *InstanceGroupsAggregatedListCall) Pages(ctx context.Context, f func(*InstanceGroupAggregatedList) error) error
type InstanceGroupsDeleteCall
    func (c *InstanceGroupsDeleteCall) Context(ctx context.Context) *InstanceGroupsDeleteCall
    func (c *InstanceGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupsDeleteCall) Fields(s ...googleapi.Field) *InstanceGroupsDeleteCall
    func (c *InstanceGroupsDeleteCall) Header() http.Header
type InstanceGroupsGetCall
    func (c *InstanceGroupsGetCall) Context(ctx context.Context) *InstanceGroupsGetCall
    func (c *InstanceGroupsGetCall) Do(opts ...googleapi.CallOption) (*InstanceGroup, error)
    func (c *InstanceGroupsGetCall) Fields(s ...googleapi.Field) *InstanceGroupsGetCall
    func (c *InstanceGroupsGetCall) Header() http.Header
    func (c *InstanceGroupsGetCall) IfNoneMatch(entityTag string) *InstanceGroupsGetCall
type InstanceGroupsInsertCall
    func (c *InstanceGroupsInsertCall) Context(ctx context.Context) *InstanceGroupsInsertCall
    func (c *InstanceGroupsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupsInsertCall) Fields(s ...googleapi.Field) *InstanceGroupsInsertCall
    func (c *InstanceGroupsInsertCall) Header() http.Header
type InstanceGroupsListCall
    func (c *InstanceGroupsListCall) Context(ctx context.Context) *InstanceGroupsListCall
    func (c *InstanceGroupsListCall) Do(opts ...googleapi.CallOption) (*InstanceGroupList, error)
    func (c *InstanceGroupsListCall) Fields(s ...googleapi.Field) *InstanceGroupsListCall
    func (c *InstanceGroupsListCall) Filter(filter string) *InstanceGroupsListCall
    func (c *InstanceGroupsListCall) Header() http.Header
    func (c *InstanceGroupsListCall) IfNoneMatch(entityTag string) *InstanceGroupsListCall
    func (c *InstanceGroupsListCall) MaxResults(maxResults int64) *InstanceGroupsListCall
    func (c *InstanceGroupsListCall) OrderBy(orderBy string) *InstanceGroupsListCall
    func (c *InstanceGroupsListCall) PageToken(pageToken string) *InstanceGroupsListCall
    func (c *InstanceGroupsListCall) Pages(ctx context.Context, f func(*InstanceGroupList) error) error
type InstanceGroupsListInstances
    func (s *InstanceGroupsListInstances) MarshalJSON() ([]byte, error)
type InstanceGroupsListInstancesCall
    func (c *InstanceGroupsListInstancesCall) Context(ctx context.Context) *InstanceGroupsListInstancesCall
    func (c *InstanceGroupsListInstancesCall) Do(opts ...googleapi.CallOption) (*InstanceGroupsListInstances, error)
    func (c *InstanceGroupsListInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupsListInstancesCall
    func (c *InstanceGroupsListInstancesCall) Filter(filter string) *InstanceGroupsListInstancesCall
    func (c *InstanceGroupsListInstancesCall) Header() http.Header
    func (c *InstanceGroupsListInstancesCall) MaxResults(maxResults int64) *InstanceGroupsListInstancesCall
    func (c *InstanceGroupsListInstancesCall) OrderBy(orderBy string) *InstanceGroupsListInstancesCall
    func (c *InstanceGroupsListInstancesCall) PageToken(pageToken string) *InstanceGroupsListInstancesCall
    func (c *InstanceGroupsListInstancesCall) Pages(ctx context.Context, f func(*InstanceGroupsListInstances) error) error
type InstanceGroupsListInstancesRequest
    func (s *InstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupsRemoveInstancesCall
    func (c *InstanceGroupsRemoveInstancesCall) Context(ctx context.Context) *InstanceGroupsRemoveInstancesCall
    func (c *InstanceGroupsRemoveInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupsRemoveInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupsRemoveInstancesCall
    func (c *InstanceGroupsRemoveInstancesCall) Header() http.Header
type InstanceGroupsRemoveInstancesRequest
    func (s *InstanceGroupsRemoveInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupsScopedList
    func (s *InstanceGroupsScopedList) MarshalJSON() ([]byte, error)
type InstanceGroupsScopedListWarning
    func (s *InstanceGroupsScopedListWarning) MarshalJSON() ([]byte, error)
type InstanceGroupsScopedListWarningData
    func (s *InstanceGroupsScopedListWarningData) MarshalJSON() ([]byte, error)
type InstanceGroupsService
    func NewInstanceGroupsService(s *Service) *InstanceGroupsService
    func (r *InstanceGroupsService) AddInstances(project string, zone string, instanceGroup string, instancegroupsaddinstancesrequest *InstanceGroupsAddInstancesRequest) *InstanceGroupsAddInstancesCall
    func (r *InstanceGroupsService) AggregatedList(project string) *InstanceGroupsAggregatedListCall
    func (r *InstanceGroupsService) Delete(project string, zone string, instanceGroup string) *InstanceGroupsDeleteCall
    func (r *InstanceGroupsService) Get(project string, zone string, instanceGroup string) *InstanceGroupsGetCall
    func (r *InstanceGroupsService) Insert(project string, zone string, instancegroup *InstanceGroup) *InstanceGroupsInsertCall
    func (r *InstanceGroupsService) List(project string, zone string) *InstanceGroupsListCall
    func (r *InstanceGroupsService) ListInstances(project string, zone string, instanceGroup string, instancegroupslistinstancesrequest *InstanceGroupsListInstancesRequest) *InstanceGroupsListInstancesCall
    func (r *InstanceGroupsService) RemoveInstances(project string, zone string, instanceGroup string, instancegroupsremoveinstancesrequest *InstanceGroupsRemoveInstancesRequest) *InstanceGroupsRemoveInstancesCall
    func (r *InstanceGroupsService) SetNamedPorts(project string, zone string, instanceGroup string, instancegroupssetnamedportsrequest *InstanceGroupsSetNamedPortsRequest) *InstanceGroupsSetNamedPortsCall
type InstanceGroupsSetNamedPortsCall
    func (c *InstanceGroupsSetNamedPortsCall) Context(ctx context.Context) *InstanceGroupsSetNamedPortsCall
    func (c *InstanceGroupsSetNamedPortsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceGroupsSetNamedPortsCall) Fields(s ...googleapi.Field) *InstanceGroupsSetNamedPortsCall
    func (c *InstanceGroupsSetNamedPortsCall) Header() http.Header
type InstanceGroupsSetNamedPortsRequest
    func (s *InstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error)
type InstanceList
    func (s *InstanceList) MarshalJSON() ([]byte, error)
type InstanceMoveRequest
    func (s *InstanceMoveRequest) MarshalJSON() ([]byte, error)
type InstanceProperties
    func (s *InstanceProperties) MarshalJSON() ([]byte, error)
type InstanceReference
    func (s *InstanceReference) MarshalJSON() ([]byte, error)
type InstanceTemplate
    func (s *InstanceTemplate) MarshalJSON() ([]byte, error)
type InstanceTemplateList
    func (s *InstanceTemplateList) MarshalJSON() ([]byte, error)
type InstanceTemplatesDeleteCall
    func (c *InstanceTemplatesDeleteCall) Context(ctx context.Context) *InstanceTemplatesDeleteCall
    func (c *InstanceTemplatesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceTemplatesDeleteCall) Fields(s ...googleapi.Field) *InstanceTemplatesDeleteCall
    func (c *InstanceTemplatesDeleteCall) Header() http.Header
type InstanceTemplatesGetCall
    func (c *InstanceTemplatesGetCall) Context(ctx context.Context) *InstanceTemplatesGetCall
    func (c *InstanceTemplatesGetCall) Do(opts ...googleapi.CallOption) (*InstanceTemplate, error)
    func (c *InstanceTemplatesGetCall) Fields(s ...googleapi.Field) *InstanceTemplatesGetCall
    func (c *InstanceTemplatesGetCall) Header() http.Header
    func (c *InstanceTemplatesGetCall) IfNoneMatch(entityTag string) *InstanceTemplatesGetCall
type InstanceTemplatesInsertCall
    func (c *InstanceTemplatesInsertCall) Context(ctx context.Context) *InstanceTemplatesInsertCall
    func (c *InstanceTemplatesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstanceTemplatesInsertCall) Fields(s ...googleapi.Field) *InstanceTemplatesInsertCall
    func (c *InstanceTemplatesInsertCall) Header() http.Header
type InstanceTemplatesListCall
    func (c *InstanceTemplatesListCall) Context(ctx context.Context) *InstanceTemplatesListCall
    func (c *InstanceTemplatesListCall) Do(opts ...googleapi.CallOption) (*InstanceTemplateList, error)
    func (c *InstanceTemplatesListCall) Fields(s ...googleapi.Field) *InstanceTemplatesListCall
    func (c *InstanceTemplatesListCall) Filter(filter string) *InstanceTemplatesListCall
    func (c *InstanceTemplatesListCall) Header() http.Header
    func (c *InstanceTemplatesListCall) IfNoneMatch(entityTag string) *InstanceTemplatesListCall
    func (c *InstanceTemplatesListCall) MaxResults(maxResults int64) *InstanceTemplatesListCall
    func (c *InstanceTemplatesListCall) OrderBy(orderBy string) *InstanceTemplatesListCall
    func (c *InstanceTemplatesListCall) PageToken(pageToken string) *InstanceTemplatesListCall
    func (c *InstanceTemplatesListCall) Pages(ctx context.Context, f func(*InstanceTemplateList) error) error
type InstanceTemplatesService
    func NewInstanceTemplatesService(s *Service) *InstanceTemplatesService
    func (r *InstanceTemplatesService) Delete(project string, instanceTemplate string) *InstanceTemplatesDeleteCall
    func (r *InstanceTemplatesService) Get(project string, instanceTemplate string) *InstanceTemplatesGetCall
    func (r *InstanceTemplatesService) Insert(project string, instancetemplate *InstanceTemplate) *InstanceTemplatesInsertCall
    func (r *InstanceTemplatesService) List(project string) *InstanceTemplatesListCall
type InstanceWithNamedPorts
    func (s *InstanceWithNamedPorts) MarshalJSON() ([]byte, error)
type InstancesAddAccessConfigCall
    func (c *InstancesAddAccessConfigCall) Context(ctx context.Context) *InstancesAddAccessConfigCall
    func (c *InstancesAddAccessConfigCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesAddAccessConfigCall) Fields(s ...googleapi.Field) *InstancesAddAccessConfigCall
    func (c *InstancesAddAccessConfigCall) Header() http.Header
type InstancesAggregatedListCall
    func (c *InstancesAggregatedListCall) Context(ctx context.Context) *InstancesAggregatedListCall
    func (c *InstancesAggregatedListCall) Do(opts ...googleapi.CallOption) (*InstanceAggregatedList, error)
    func (c *InstancesAggregatedListCall) Fields(s ...googleapi.Field) *InstancesAggregatedListCall
    func (c *InstancesAggregatedListCall) Filter(filter string) *InstancesAggregatedListCall
    func (c *InstancesAggregatedListCall) Header() http.Header
    func (c *InstancesAggregatedListCall) IfNoneMatch(entityTag string) *InstancesAggregatedListCall
    func (c *InstancesAggregatedListCall) MaxResults(maxResults int64) *InstancesAggregatedListCall
    func (c *InstancesAggregatedListCall) OrderBy(orderBy string) *InstancesAggregatedListCall
    func (c *InstancesAggregatedListCall) PageToken(pageToken string) *InstancesAggregatedListCall
    func (c *InstancesAggregatedListCall) Pages(ctx context.Context, f func(*InstanceAggregatedList) error) error
type InstancesAttachDiskCall
    func (c *InstancesAttachDiskCall) Context(ctx context.Context) *InstancesAttachDiskCall
    func (c *InstancesAttachDiskCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesAttachDiskCall) Fields(s ...googleapi.Field) *InstancesAttachDiskCall
    func (c *InstancesAttachDiskCall) Header() http.Header
type InstancesDeleteAccessConfigCall
    func (c *InstancesDeleteAccessConfigCall) Context(ctx context.Context) *InstancesDeleteAccessConfigCall
    func (c *InstancesDeleteAccessConfigCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesDeleteAccessConfigCall) Fields(s ...googleapi.Field) *InstancesDeleteAccessConfigCall
    func (c *InstancesDeleteAccessConfigCall) Header() http.Header
type InstancesDeleteCall
    func (c *InstancesDeleteCall) Context(ctx context.Context) *InstancesDeleteCall
    func (c *InstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesDeleteCall) Fields(s ...googleapi.Field) *InstancesDeleteCall
    func (c *InstancesDeleteCall) Header() http.Header
type InstancesDetachDiskCall
    func (c *InstancesDetachDiskCall) Context(ctx context.Context) *InstancesDetachDiskCall
    func (c *InstancesDetachDiskCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesDetachDiskCall) Fields(s ...googleapi.Field) *InstancesDetachDiskCall
    func (c *InstancesDetachDiskCall) Header() http.Header
type InstancesGetCall
    func (c *InstancesGetCall) Context(ctx context.Context) *InstancesGetCall
    func (c *InstancesGetCall) Do(opts ...googleapi.CallOption) (*Instance, error)
    func (c *InstancesGetCall) Fields(s ...googleapi.Field) *InstancesGetCall
    func (c *InstancesGetCall) Header() http.Header
    func (c *InstancesGetCall) IfNoneMatch(entityTag string) *InstancesGetCall
type InstancesGetSerialPortOutputCall
    func (c *InstancesGetSerialPortOutputCall) Context(ctx context.Context) *InstancesGetSerialPortOutputCall
    func (c *InstancesGetSerialPortOutputCall) Do(opts ...googleapi.CallOption) (*SerialPortOutput, error)
    func (c *InstancesGetSerialPortOutputCall) Fields(s ...googleapi.Field) *InstancesGetSerialPortOutputCall
    func (c *InstancesGetSerialPortOutputCall) Header() http.Header
    func (c *InstancesGetSerialPortOutputCall) IfNoneMatch(entityTag string) *InstancesGetSerialPortOutputCall
    func (c *InstancesGetSerialPortOutputCall) Port(port int64) *InstancesGetSerialPortOutputCall
    func (c *InstancesGetSerialPortOutputCall) Start(start int64) *InstancesGetSerialPortOutputCall
type InstancesInsertCall
    func (c *InstancesInsertCall) Context(ctx context.Context) *InstancesInsertCall
    func (c *InstancesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesInsertCall) Fields(s ...googleapi.Field) *InstancesInsertCall
    func (c *InstancesInsertCall) Header() http.Header
type InstancesListCall
    func (c *InstancesListCall) Context(ctx context.Context) *InstancesListCall
    func (c *InstancesListCall) Do(opts ...googleapi.CallOption) (*InstanceList, error)
    func (c *InstancesListCall) Fields(s ...googleapi.Field) *InstancesListCall
    func (c *InstancesListCall) Filter(filter string) *InstancesListCall
    func (c *InstancesListCall) Header() http.Header
    func (c *InstancesListCall) IfNoneMatch(entityTag string) *InstancesListCall
    func (c *InstancesListCall) MaxResults(maxResults int64) *InstancesListCall
    func (c *InstancesListCall) OrderBy(orderBy string) *InstancesListCall
    func (c *InstancesListCall) PageToken(pageToken string) *InstancesListCall
    func (c *InstancesListCall) Pages(ctx context.Context, f func(*InstanceList) error) error
type InstancesResetCall
    func (c *InstancesResetCall) Context(ctx context.Context) *InstancesResetCall
    func (c *InstancesResetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesResetCall) Fields(s ...googleapi.Field) *InstancesResetCall
    func (c *InstancesResetCall) Header() http.Header
type InstancesScopedList
    func (s *InstancesScopedList) MarshalJSON() ([]byte, error)
type InstancesScopedListWarning
    func (s *InstancesScopedListWarning) MarshalJSON() ([]byte, error)
type InstancesScopedListWarningData
    func (s *InstancesScopedListWarningData) MarshalJSON() ([]byte, error)
type InstancesService
    func NewInstancesService(s *Service) *InstancesService
    func (r *InstancesService) AddAccessConfig(project string, zone string, instance string, networkInterface string, accessconfig *AccessConfig) *InstancesAddAccessConfigCall
    func (r *InstancesService) AggregatedList(project string) *InstancesAggregatedListCall
    func (r *InstancesService) AttachDisk(project string, zone string, instance string, attacheddisk *AttachedDisk) *InstancesAttachDiskCall
    func (r *InstancesService) Delete(project string, zone string, instance string) *InstancesDeleteCall
    func (r *InstancesService) DeleteAccessConfig(project string, zone string, instance string, accessConfig string, networkInterface string) *InstancesDeleteAccessConfigCall
    func (r *InstancesService) DetachDisk(project string, zone string, instance string, deviceName string) *InstancesDetachDiskCall
    func (r *InstancesService) Get(project string, zone string, instance string) *InstancesGetCall
    func (r *InstancesService) GetSerialPortOutput(project string, zone string, instance string) *InstancesGetSerialPortOutputCall
    func (r *InstancesService) Insert(project string, zone string, instance *Instance) *InstancesInsertCall
    func (r *InstancesService) List(project string, zone string) *InstancesListCall
    func (r *InstancesService) Reset(project string, zone string, instance string) *InstancesResetCall
    func (r *InstancesService) SetDiskAutoDelete(project string, zone string, instance string, autoDelete bool, deviceName string) *InstancesSetDiskAutoDeleteCall
    func (r *InstancesService) SetLabels(project string, zone string, instance string, instancessetlabelsrequest *InstancesSetLabelsRequest) *InstancesSetLabelsCall
    func (r *InstancesService) SetMachineType(project string, zone string, instance string, instancessetmachinetyperequest *InstancesSetMachineTypeRequest) *InstancesSetMachineTypeCall
    func (r *InstancesService) SetMetadata(project string, zone string, instance string, metadata *Metadata) *InstancesSetMetadataCall
    func (r *InstancesService) SetScheduling(project string, zone string, instance string, scheduling *Scheduling) *InstancesSetSchedulingCall
    func (r *InstancesService) SetServiceAccount(project string, zone string, instance string, instancessetserviceaccountrequest *InstancesSetServiceAccountRequest) *InstancesSetServiceAccountCall
    func (r *InstancesService) SetTags(project string, zone string, instance string, tags *Tags) *InstancesSetTagsCall
    func (r *InstancesService) Start(project string, zone string, instance string) *InstancesStartCall
    func (r *InstancesService) StartWithEncryptionKey(project string, zone string, instance string, instancesstartwithencryptionkeyrequest *InstancesStartWithEncryptionKeyRequest) *InstancesStartWithEncryptionKeyCall
    func (r *InstancesService) Stop(project string, zone string, instance string) *InstancesStopCall
type InstancesSetDiskAutoDeleteCall
    func (c *InstancesSetDiskAutoDeleteCall) Context(ctx context.Context) *InstancesSetDiskAutoDeleteCall
    func (c *InstancesSetDiskAutoDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesSetDiskAutoDeleteCall) Fields(s ...googleapi.Field) *InstancesSetDiskAutoDeleteCall
    func (c *InstancesSetDiskAutoDeleteCall) Header() http.Header
type InstancesSetLabelsCall
    func (c *InstancesSetLabelsCall) Context(ctx context.Context) *InstancesSetLabelsCall
    func (c *InstancesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesSetLabelsCall) Fields(s ...googleapi.Field) *InstancesSetLabelsCall
    func (c *InstancesSetLabelsCall) Header() http.Header
type InstancesSetLabelsRequest
    func (s *InstancesSetLabelsRequest) MarshalJSON() ([]byte, error)
type InstancesSetMachineTypeCall
    func (c *InstancesSetMachineTypeCall) Context(ctx context.Context) *InstancesSetMachineTypeCall
    func (c *InstancesSetMachineTypeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesSetMachineTypeCall) Fields(s ...googleapi.Field) *InstancesSetMachineTypeCall
    func (c *InstancesSetMachineTypeCall) Header() http.Header
type InstancesSetMachineTypeRequest
    func (s *InstancesSetMachineTypeRequest) MarshalJSON() ([]byte, error)
type InstancesSetMetadataCall
    func (c *InstancesSetMetadataCall) Context(ctx context.Context) *InstancesSetMetadataCall
    func (c *InstancesSetMetadataCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesSetMetadataCall) Fields(s ...googleapi.Field) *InstancesSetMetadataCall
    func (c *InstancesSetMetadataCall) Header() http.Header
type InstancesSetSchedulingCall
    func (c *InstancesSetSchedulingCall) Context(ctx context.Context) *InstancesSetSchedulingCall
    func (c *InstancesSetSchedulingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesSetSchedulingCall) Fields(s ...googleapi.Field) *InstancesSetSchedulingCall
    func (c *InstancesSetSchedulingCall) Header() http.Header
type InstancesSetServiceAccountCall
    func (c *InstancesSetServiceAccountCall) Context(ctx context.Context) *InstancesSetServiceAccountCall
    func (c *InstancesSetServiceAccountCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesSetServiceAccountCall) Fields(s ...googleapi.Field) *InstancesSetServiceAccountCall
    func (c *InstancesSetServiceAccountCall) Header() http.Header
type InstancesSetServiceAccountRequest
    func (s *InstancesSetServiceAccountRequest) MarshalJSON() ([]byte, error)
type InstancesSetTagsCall
    func (c *InstancesSetTagsCall) Context(ctx context.Context) *InstancesSetTagsCall
    func (c *InstancesSetTagsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesSetTagsCall) Fields(s ...googleapi.Field) *InstancesSetTagsCall
    func (c *InstancesSetTagsCall) Header() http.Header
type InstancesStartCall
    func (c *InstancesStartCall) Context(ctx context.Context) *InstancesStartCall
    func (c *InstancesStartCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesStartCall) Fields(s ...googleapi.Field) *InstancesStartCall
    func (c *InstancesStartCall) Header() http.Header
type InstancesStartWithEncryptionKeyCall
    func (c *InstancesStartWithEncryptionKeyCall) Context(ctx context.Context) *InstancesStartWithEncryptionKeyCall
    func (c *InstancesStartWithEncryptionKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesStartWithEncryptionKeyCall) Fields(s ...googleapi.Field) *InstancesStartWithEncryptionKeyCall
    func (c *InstancesStartWithEncryptionKeyCall) Header() http.Header
type InstancesStartWithEncryptionKeyRequest
    func (s *InstancesStartWithEncryptionKeyRequest) MarshalJSON() ([]byte, error)
type InstancesStopCall
    func (c *InstancesStopCall) Context(ctx context.Context) *InstancesStopCall
    func (c *InstancesStopCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *InstancesStopCall) Fields(s ...googleapi.Field) *InstancesStopCall
    func (c *InstancesStopCall) Header() http.Header
type License
    func (s *License) MarshalJSON() ([]byte, error)
type LicensesGetCall
    func (c *LicensesGetCall) Context(ctx context.Context) *LicensesGetCall
    func (c *LicensesGetCall) Do(opts ...googleapi.CallOption) (*License, error)
    func (c *LicensesGetCall) Fields(s ...googleapi.Field) *LicensesGetCall
    func (c *LicensesGetCall) Header() http.Header
    func (c *LicensesGetCall) IfNoneMatch(entityTag string) *LicensesGetCall
type LicensesService
    func NewLicensesService(s *Service) *LicensesService
    func (r *LicensesService) Get(project string, license string) *LicensesGetCall
type MachineType
    func (s *MachineType) MarshalJSON() ([]byte, error)
type MachineTypeAggregatedList
    func (s *MachineTypeAggregatedList) MarshalJSON() ([]byte, error)
type MachineTypeList
    func (s *MachineTypeList) MarshalJSON() ([]byte, error)
type MachineTypeScratchDisks
    func (s *MachineTypeScratchDisks) MarshalJSON() ([]byte, error)
type MachineTypesAggregatedListCall
    func (c *MachineTypesAggregatedListCall) Context(ctx context.Context) *MachineTypesAggregatedListCall
    func (c *MachineTypesAggregatedListCall) Do(opts ...googleapi.CallOption) (*MachineTypeAggregatedList, error)
    func (c *MachineTypesAggregatedListCall) Fields(s ...googleapi.Field) *MachineTypesAggregatedListCall
    func (c *MachineTypesAggregatedListCall) Filter(filter string) *MachineTypesAggregatedListCall
    func (c *MachineTypesAggregatedListCall) Header() http.Header
    func (c *MachineTypesAggregatedListCall) IfNoneMatch(entityTag string) *MachineTypesAggregatedListCall
    func (c *MachineTypesAggregatedListCall) MaxResults(maxResults int64) *MachineTypesAggregatedListCall
    func (c *MachineTypesAggregatedListCall) OrderBy(orderBy string) *MachineTypesAggregatedListCall
    func (c *MachineTypesAggregatedListCall) PageToken(pageToken string) *MachineTypesAggregatedListCall
    func (c *MachineTypesAggregatedListCall) Pages(ctx context.Context, f func(*MachineTypeAggregatedList) error) error
type MachineTypesGetCall
    func (c *MachineTypesGetCall) Context(ctx context.Context) *MachineTypesGetCall
    func (c *MachineTypesGetCall) Do(opts ...googleapi.CallOption) (*MachineType, error)
    func (c *MachineTypesGetCall) Fields(s ...googleapi.Field) *MachineTypesGetCall
    func (c *MachineTypesGetCall) Header() http.Header
    func (c *MachineTypesGetCall) IfNoneMatch(entityTag string) *MachineTypesGetCall
type MachineTypesListCall
    func (c *MachineTypesListCall) Context(ctx context.Context) *MachineTypesListCall
    func (c *MachineTypesListCall) Do(opts ...googleapi.CallOption) (*MachineTypeList, error)
    func (c *MachineTypesListCall) Fields(s ...googleapi.Field) *MachineTypesListCall
    func (c *MachineTypesListCall) Filter(filter string) *MachineTypesListCall
    func (c *MachineTypesListCall) Header() http.Header
    func (c *MachineTypesListCall) IfNoneMatch(entityTag string) *MachineTypesListCall
    func (c *MachineTypesListCall) MaxResults(maxResults int64) *MachineTypesListCall
    func (c *MachineTypesListCall) OrderBy(orderBy string) *MachineTypesListCall
    func (c *MachineTypesListCall) PageToken(pageToken string) *MachineTypesListCall
    func (c *MachineTypesListCall) Pages(ctx context.Context, f func(*MachineTypeList) error) error
type MachineTypesScopedList
    func (s *MachineTypesScopedList) MarshalJSON() ([]byte, error)
type MachineTypesScopedListWarning
    func (s *MachineTypesScopedListWarning) MarshalJSON() ([]byte, error)
type MachineTypesScopedListWarningData
    func (s *MachineTypesScopedListWarningData) MarshalJSON() ([]byte, error)
type MachineTypesService
    func NewMachineTypesService(s *Service) *MachineTypesService
    func (r *MachineTypesService) AggregatedList(project string) *MachineTypesAggregatedListCall
    func (r *MachineTypesService) Get(project string, zone string, machineType string) *MachineTypesGetCall
    func (r *MachineTypesService) List(project string, zone string) *MachineTypesListCall
type ManagedInstance
    func (s *ManagedInstance) MarshalJSON() ([]byte, error)
type ManagedInstanceLastAttempt
    func (s *ManagedInstanceLastAttempt) MarshalJSON() ([]byte, error)
type ManagedInstanceLastAttemptErrors
    func (s *ManagedInstanceLastAttemptErrors) MarshalJSON() ([]byte, error)
type ManagedInstanceLastAttemptErrorsErrors
    func (s *ManagedInstanceLastAttemptErrorsErrors) MarshalJSON() ([]byte, error)
type Metadata
    func (s *Metadata) MarshalJSON() ([]byte, error)
type MetadataItems
    func (s *MetadataItems) MarshalJSON() ([]byte, error)
type NamedPort
    func (s *NamedPort) MarshalJSON() ([]byte, error)
type Network
    func (s *Network) MarshalJSON() ([]byte, error)
type NetworkInterface
    func (s *NetworkInterface) MarshalJSON() ([]byte, error)
type NetworkList
    func (s *NetworkList) MarshalJSON() ([]byte, error)
type NetworkPeering
    func (s *NetworkPeering) MarshalJSON() ([]byte, error)
type NetworksAddPeeringCall
    func (c *NetworksAddPeeringCall) Context(ctx context.Context) *NetworksAddPeeringCall
    func (c *NetworksAddPeeringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *NetworksAddPeeringCall) Fields(s ...googleapi.Field) *NetworksAddPeeringCall
    func (c *NetworksAddPeeringCall) Header() http.Header
type NetworksAddPeeringRequest
    func (s *NetworksAddPeeringRequest) MarshalJSON() ([]byte, error)
type NetworksDeleteCall
    func (c *NetworksDeleteCall) Context(ctx context.Context) *NetworksDeleteCall
    func (c *NetworksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *NetworksDeleteCall) Fields(s ...googleapi.Field) *NetworksDeleteCall
    func (c *NetworksDeleteCall) Header() http.Header
type NetworksGetCall
    func (c *NetworksGetCall) Context(ctx context.Context) *NetworksGetCall
    func (c *NetworksGetCall) Do(opts ...googleapi.CallOption) (*Network, error)
    func (c *NetworksGetCall) Fields(s ...googleapi.Field) *NetworksGetCall
    func (c *NetworksGetCall) Header() http.Header
    func (c *NetworksGetCall) IfNoneMatch(entityTag string) *NetworksGetCall
type NetworksInsertCall
    func (c *NetworksInsertCall) Context(ctx context.Context) *NetworksInsertCall
    func (c *NetworksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *NetworksInsertCall) Fields(s ...googleapi.Field) *NetworksInsertCall
    func (c *NetworksInsertCall) Header() http.Header
type NetworksListCall
    func (c *NetworksListCall) Context(ctx context.Context) *NetworksListCall
    func (c *NetworksListCall) Do(opts ...googleapi.CallOption) (*NetworkList, error)
    func (c *NetworksListCall) Fields(s ...googleapi.Field) *NetworksListCall
    func (c *NetworksListCall) Filter(filter string) *NetworksListCall
    func (c *NetworksListCall) Header() http.Header
    func (c *NetworksListCall) IfNoneMatch(entityTag string) *NetworksListCall
    func (c *NetworksListCall) MaxResults(maxResults int64) *NetworksListCall
    func (c *NetworksListCall) OrderBy(orderBy string) *NetworksListCall
    func (c *NetworksListCall) PageToken(pageToken string) *NetworksListCall
    func (c *NetworksListCall) Pages(ctx context.Context, f func(*NetworkList) error) error
type NetworksRemovePeeringCall
    func (c *NetworksRemovePeeringCall) Context(ctx context.Context) *NetworksRemovePeeringCall
    func (c *NetworksRemovePeeringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *NetworksRemovePeeringCall) Fields(s ...googleapi.Field) *NetworksRemovePeeringCall
    func (c *NetworksRemovePeeringCall) Header() http.Header
type NetworksRemovePeeringRequest
    func (s *NetworksRemovePeeringRequest) MarshalJSON() ([]byte, error)
type NetworksService
    func NewNetworksService(s *Service) *NetworksService
    func (r *NetworksService) AddPeering(project string, network string, networksaddpeeringrequest *NetworksAddPeeringRequest) *NetworksAddPeeringCall
    func (r *NetworksService) Delete(project string, network string) *NetworksDeleteCall
    func (r *NetworksService) Get(project string, network string) *NetworksGetCall
    func (r *NetworksService) Insert(project string, network *Network) *NetworksInsertCall
    func (r *NetworksService) List(project string) *NetworksListCall
    func (r *NetworksService) RemovePeering(project string, network string, networksremovepeeringrequest *NetworksRemovePeeringRequest) *NetworksRemovePeeringCall
    func (r *NetworksService) SwitchToCustomMode(project string, network string) *NetworksSwitchToCustomModeCall
type NetworksSwitchToCustomModeCall
    func (c *NetworksSwitchToCustomModeCall) Context(ctx context.Context) *NetworksSwitchToCustomModeCall
    func (c *NetworksSwitchToCustomModeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *NetworksSwitchToCustomModeCall) Fields(s ...googleapi.Field) *NetworksSwitchToCustomModeCall
    func (c *NetworksSwitchToCustomModeCall) Header() http.Header
type Operation
    func (s *Operation) MarshalJSON() ([]byte, error)
type OperationAggregatedList
    func (s *OperationAggregatedList) MarshalJSON() ([]byte, error)
type OperationError
    func (s *OperationError) MarshalJSON() ([]byte, error)
type OperationErrorErrors
    func (s *OperationErrorErrors) MarshalJSON() ([]byte, error)
type OperationList
    func (s *OperationList) MarshalJSON() ([]byte, error)
type OperationWarnings
    func (s *OperationWarnings) MarshalJSON() ([]byte, error)
type OperationWarningsData
    func (s *OperationWarningsData) MarshalJSON() ([]byte, error)
type OperationsScopedList
    func (s *OperationsScopedList) MarshalJSON() ([]byte, error)
type OperationsScopedListWarning
    func (s *OperationsScopedListWarning) MarshalJSON() ([]byte, error)
type OperationsScopedListWarningData
    func (s *OperationsScopedListWarningData) MarshalJSON() ([]byte, error)
type PathMatcher
    func (s *PathMatcher) MarshalJSON() ([]byte, error)
type PathRule
    func (s *PathRule) MarshalJSON() ([]byte, error)
type Project
    func (s *Project) MarshalJSON() ([]byte, error)
type ProjectsDisableXpnHostCall
    func (c *ProjectsDisableXpnHostCall) Context(ctx context.Context) *ProjectsDisableXpnHostCall
    func (c *ProjectsDisableXpnHostCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsDisableXpnHostCall) Fields(s ...googleapi.Field) *ProjectsDisableXpnHostCall
    func (c *ProjectsDisableXpnHostCall) Header() http.Header
type ProjectsDisableXpnResourceCall
    func (c *ProjectsDisableXpnResourceCall) Context(ctx context.Context) *ProjectsDisableXpnResourceCall
    func (c *ProjectsDisableXpnResourceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsDisableXpnResourceCall) Fields(s ...googleapi.Field) *ProjectsDisableXpnResourceCall
    func (c *ProjectsDisableXpnResourceCall) Header() http.Header
type ProjectsDisableXpnResourceRequest
    func (s *ProjectsDisableXpnResourceRequest) MarshalJSON() ([]byte, error)
type ProjectsEnableXpnHostCall
    func (c *ProjectsEnableXpnHostCall) Context(ctx context.Context) *ProjectsEnableXpnHostCall
    func (c *ProjectsEnableXpnHostCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsEnableXpnHostCall) Fields(s ...googleapi.Field) *ProjectsEnableXpnHostCall
    func (c *ProjectsEnableXpnHostCall) Header() http.Header
type ProjectsEnableXpnResourceCall
    func (c *ProjectsEnableXpnResourceCall) Context(ctx context.Context) *ProjectsEnableXpnResourceCall
    func (c *ProjectsEnableXpnResourceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsEnableXpnResourceCall) Fields(s ...googleapi.Field) *ProjectsEnableXpnResourceCall
    func (c *ProjectsEnableXpnResourceCall) Header() http.Header
type ProjectsEnableXpnResourceRequest
    func (s *ProjectsEnableXpnResourceRequest) MarshalJSON() ([]byte, error)
type ProjectsGetCall
    func (c *ProjectsGetCall) Context(ctx context.Context) *ProjectsGetCall
    func (c *ProjectsGetCall) Do(opts ...googleapi.CallOption) (*Project, error)
    func (c *ProjectsGetCall) Fields(s ...googleapi.Field) *ProjectsGetCall
    func (c *ProjectsGetCall) Header() http.Header
    func (c *ProjectsGetCall) IfNoneMatch(entityTag string) *ProjectsGetCall
type ProjectsGetXpnHostCall
    func (c *ProjectsGetXpnHostCall) Context(ctx context.Context) *ProjectsGetXpnHostCall
    func (c *ProjectsGetXpnHostCall) Do(opts ...googleapi.CallOption) (*Project, error)
    func (c *ProjectsGetXpnHostCall) Fields(s ...googleapi.Field) *ProjectsGetXpnHostCall
    func (c *ProjectsGetXpnHostCall) Header() http.Header
    func (c *ProjectsGetXpnHostCall) IfNoneMatch(entityTag string) *ProjectsGetXpnHostCall
type ProjectsGetXpnResources
    func (s *ProjectsGetXpnResources) MarshalJSON() ([]byte, error)
type ProjectsGetXpnResourcesCall
    func (c *ProjectsGetXpnResourcesCall) Context(ctx context.Context) *ProjectsGetXpnResourcesCall
    func (c *ProjectsGetXpnResourcesCall) Do(opts ...googleapi.CallOption) (*ProjectsGetXpnResources, error)
    func (c *ProjectsGetXpnResourcesCall) Fields(s ...googleapi.Field) *ProjectsGetXpnResourcesCall
    func (c *ProjectsGetXpnResourcesCall) Filter(filter string) *ProjectsGetXpnResourcesCall
    func (c *ProjectsGetXpnResourcesCall) Header() http.Header
    func (c *ProjectsGetXpnResourcesCall) IfNoneMatch(entityTag string) *ProjectsGetXpnResourcesCall
    func (c *ProjectsGetXpnResourcesCall) MaxResults(maxResults int64) *ProjectsGetXpnResourcesCall
    func (c *ProjectsGetXpnResourcesCall) OrderBy(orderBy string) *ProjectsGetXpnResourcesCall
    func (c *ProjectsGetXpnResourcesCall) PageToken(pageToken string) *ProjectsGetXpnResourcesCall
    func (c *ProjectsGetXpnResourcesCall) Pages(ctx context.Context, f func(*ProjectsGetXpnResources) error) error
type ProjectsListXpnHostsCall
    func (c *ProjectsListXpnHostsCall) Context(ctx context.Context) *ProjectsListXpnHostsCall
    func (c *ProjectsListXpnHostsCall) Do(opts ...googleapi.CallOption) (*XpnHostList, error)
    func (c *ProjectsListXpnHostsCall) Fields(s ...googleapi.Field) *ProjectsListXpnHostsCall
    func (c *ProjectsListXpnHostsCall) Filter(filter string) *ProjectsListXpnHostsCall
    func (c *ProjectsListXpnHostsCall) Header() http.Header
    func (c *ProjectsListXpnHostsCall) MaxResults(maxResults int64) *ProjectsListXpnHostsCall
    func (c *ProjectsListXpnHostsCall) OrderBy(orderBy string) *ProjectsListXpnHostsCall
    func (c *ProjectsListXpnHostsCall) PageToken(pageToken string) *ProjectsListXpnHostsCall
    func (c *ProjectsListXpnHostsCall) Pages(ctx context.Context, f func(*XpnHostList) error) error
type ProjectsListXpnHostsRequest
    func (s *ProjectsListXpnHostsRequest) MarshalJSON() ([]byte, error)
type ProjectsMoveDiskCall
    func (c *ProjectsMoveDiskCall) Context(ctx context.Context) *ProjectsMoveDiskCall
    func (c *ProjectsMoveDiskCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsMoveDiskCall) Fields(s ...googleapi.Field) *ProjectsMoveDiskCall
    func (c *ProjectsMoveDiskCall) Header() http.Header
type ProjectsMoveInstanceCall
    func (c *ProjectsMoveInstanceCall) Context(ctx context.Context) *ProjectsMoveInstanceCall
    func (c *ProjectsMoveInstanceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsMoveInstanceCall) Fields(s ...googleapi.Field) *ProjectsMoveInstanceCall
    func (c *ProjectsMoveInstanceCall) Header() http.Header
type ProjectsService
    func NewProjectsService(s *Service) *ProjectsService
    func (r *ProjectsService) DisableXpnHost(project string) *ProjectsDisableXpnHostCall
    func (r *ProjectsService) DisableXpnResource(project string, projectsdisablexpnresourcerequest *ProjectsDisableXpnResourceRequest) *ProjectsDisableXpnResourceCall
    func (r *ProjectsService) EnableXpnHost(project string) *ProjectsEnableXpnHostCall
    func (r *ProjectsService) EnableXpnResource(project string, projectsenablexpnresourcerequest *ProjectsEnableXpnResourceRequest) *ProjectsEnableXpnResourceCall
    func (r *ProjectsService) Get(project string) *ProjectsGetCall
    func (r *ProjectsService) GetXpnHost(project string) *ProjectsGetXpnHostCall
    func (r *ProjectsService) GetXpnResources(project string) *ProjectsGetXpnResourcesCall
    func (r *ProjectsService) ListXpnHosts(project string, projectslistxpnhostsrequest *ProjectsListXpnHostsRequest) *ProjectsListXpnHostsCall
    func (r *ProjectsService) MoveDisk(project string, diskmoverequest *DiskMoveRequest) *ProjectsMoveDiskCall
    func (r *ProjectsService) MoveInstance(project string, instancemoverequest *InstanceMoveRequest) *ProjectsMoveInstanceCall
    func (r *ProjectsService) SetCommonInstanceMetadata(project string, metadata *Metadata) *ProjectsSetCommonInstanceMetadataCall
    func (r *ProjectsService) SetUsageExportBucket(project string, usageexportlocation *UsageExportLocation) *ProjectsSetUsageExportBucketCall
type ProjectsSetCommonInstanceMetadataCall
    func (c *ProjectsSetCommonInstanceMetadataCall) Context(ctx context.Context) *ProjectsSetCommonInstanceMetadataCall
    func (c *ProjectsSetCommonInstanceMetadataCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsSetCommonInstanceMetadataCall) Fields(s ...googleapi.Field) *ProjectsSetCommonInstanceMetadataCall
    func (c *ProjectsSetCommonInstanceMetadataCall) Header() http.Header
type ProjectsSetUsageExportBucketCall
    func (c *ProjectsSetUsageExportBucketCall) Context(ctx context.Context) *ProjectsSetUsageExportBucketCall
    func (c *ProjectsSetUsageExportBucketCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ProjectsSetUsageExportBucketCall) Fields(s ...googleapi.Field) *ProjectsSetUsageExportBucketCall
    func (c *ProjectsSetUsageExportBucketCall) Header() http.Header
type Quota
    func (s *Quota) MarshalJSON() ([]byte, error)
    func (s *Quota) UnmarshalJSON(data []byte) error
type Region
    func (s *Region) MarshalJSON() ([]byte, error)
type RegionAutoscalerList
    func (s *RegionAutoscalerList) MarshalJSON() ([]byte, error)
type RegionAutoscalersDeleteCall
    func (c *RegionAutoscalersDeleteCall) Context(ctx context.Context) *RegionAutoscalersDeleteCall
    func (c *RegionAutoscalersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionAutoscalersDeleteCall) Fields(s ...googleapi.Field) *RegionAutoscalersDeleteCall
    func (c *RegionAutoscalersDeleteCall) Header() http.Header
type RegionAutoscalersGetCall
    func (c *RegionAutoscalersGetCall) Context(ctx context.Context) *RegionAutoscalersGetCall
    func (c *RegionAutoscalersGetCall) Do(opts ...googleapi.CallOption) (*Autoscaler, error)
    func (c *RegionAutoscalersGetCall) Fields(s ...googleapi.Field) *RegionAutoscalersGetCall
    func (c *RegionAutoscalersGetCall) Header() http.Header
    func (c *RegionAutoscalersGetCall) IfNoneMatch(entityTag string) *RegionAutoscalersGetCall
type RegionAutoscalersInsertCall
    func (c *RegionAutoscalersInsertCall) Context(ctx context.Context) *RegionAutoscalersInsertCall
    func (c *RegionAutoscalersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionAutoscalersInsertCall) Fields(s ...googleapi.Field) *RegionAutoscalersInsertCall
    func (c *RegionAutoscalersInsertCall) Header() http.Header
type RegionAutoscalersListCall
    func (c *RegionAutoscalersListCall) Context(ctx context.Context) *RegionAutoscalersListCall
    func (c *RegionAutoscalersListCall) Do(opts ...googleapi.CallOption) (*RegionAutoscalerList, error)
    func (c *RegionAutoscalersListCall) Fields(s ...googleapi.Field) *RegionAutoscalersListCall
    func (c *RegionAutoscalersListCall) Filter(filter string) *RegionAutoscalersListCall
    func (c *RegionAutoscalersListCall) Header() http.Header
    func (c *RegionAutoscalersListCall) IfNoneMatch(entityTag string) *RegionAutoscalersListCall
    func (c *RegionAutoscalersListCall) MaxResults(maxResults int64) *RegionAutoscalersListCall
    func (c *RegionAutoscalersListCall) OrderBy(orderBy string) *RegionAutoscalersListCall
    func (c *RegionAutoscalersListCall) PageToken(pageToken string) *RegionAutoscalersListCall
    func (c *RegionAutoscalersListCall) Pages(ctx context.Context, f func(*RegionAutoscalerList) error) error
type RegionAutoscalersPatchCall
    func (c *RegionAutoscalersPatchCall) Autoscaler(autoscaler string) *RegionAutoscalersPatchCall
    func (c *RegionAutoscalersPatchCall) Context(ctx context.Context) *RegionAutoscalersPatchCall
    func (c *RegionAutoscalersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionAutoscalersPatchCall) Fields(s ...googleapi.Field) *RegionAutoscalersPatchCall
    func (c *RegionAutoscalersPatchCall) Header() http.Header
type RegionAutoscalersService
    func NewRegionAutoscalersService(s *Service) *RegionAutoscalersService
    func (r *RegionAutoscalersService) Delete(project string, region string, autoscaler string) *RegionAutoscalersDeleteCall
    func (r *RegionAutoscalersService) Get(project string, region string, autoscaler string) *RegionAutoscalersGetCall
    func (r *RegionAutoscalersService) Insert(project string, region string, autoscaler *Autoscaler) *RegionAutoscalersInsertCall
    func (r *RegionAutoscalersService) List(project string, region string) *RegionAutoscalersListCall
    func (r *RegionAutoscalersService) Patch(project string, region string, autoscaler *Autoscaler) *RegionAutoscalersPatchCall
    func (r *RegionAutoscalersService) Update(project string, region string, autoscaler *Autoscaler) *RegionAutoscalersUpdateCall
type RegionAutoscalersUpdateCall
    func (c *RegionAutoscalersUpdateCall) Autoscaler(autoscaler string) *RegionAutoscalersUpdateCall
    func (c *RegionAutoscalersUpdateCall) Context(ctx context.Context) *RegionAutoscalersUpdateCall
    func (c *RegionAutoscalersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionAutoscalersUpdateCall) Fields(s ...googleapi.Field) *RegionAutoscalersUpdateCall
    func (c *RegionAutoscalersUpdateCall) Header() http.Header
type RegionBackendServicesDeleteCall
    func (c *RegionBackendServicesDeleteCall) Context(ctx context.Context) *RegionBackendServicesDeleteCall
    func (c *RegionBackendServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionBackendServicesDeleteCall) Fields(s ...googleapi.Field) *RegionBackendServicesDeleteCall
    func (c *RegionBackendServicesDeleteCall) Header() http.Header
type RegionBackendServicesGetCall
    func (c *RegionBackendServicesGetCall) Context(ctx context.Context) *RegionBackendServicesGetCall
    func (c *RegionBackendServicesGetCall) Do(opts ...googleapi.CallOption) (*BackendService, error)
    func (c *RegionBackendServicesGetCall) Fields(s ...googleapi.Field) *RegionBackendServicesGetCall
    func (c *RegionBackendServicesGetCall) Header() http.Header
    func (c *RegionBackendServicesGetCall) IfNoneMatch(entityTag string) *RegionBackendServicesGetCall
type RegionBackendServicesGetHealthCall
    func (c *RegionBackendServicesGetHealthCall) Context(ctx context.Context) *RegionBackendServicesGetHealthCall
    func (c *RegionBackendServicesGetHealthCall) Do(opts ...googleapi.CallOption) (*BackendServiceGroupHealth, error)
    func (c *RegionBackendServicesGetHealthCall) Fields(s ...googleapi.Field) *RegionBackendServicesGetHealthCall
    func (c *RegionBackendServicesGetHealthCall) Header() http.Header
type RegionBackendServicesInsertCall
    func (c *RegionBackendServicesInsertCall) Context(ctx context.Context) *RegionBackendServicesInsertCall
    func (c *RegionBackendServicesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionBackendServicesInsertCall) Fields(s ...googleapi.Field) *RegionBackendServicesInsertCall
    func (c *RegionBackendServicesInsertCall) Header() http.Header
type RegionBackendServicesListCall
    func (c *RegionBackendServicesListCall) Context(ctx context.Context) *RegionBackendServicesListCall
    func (c *RegionBackendServicesListCall) Do(opts ...googleapi.CallOption) (*BackendServiceList, error)
    func (c *RegionBackendServicesListCall) Fields(s ...googleapi.Field) *RegionBackendServicesListCall
    func (c *RegionBackendServicesListCall) Filter(filter string) *RegionBackendServicesListCall
    func (c *RegionBackendServicesListCall) Header() http.Header
    func (c *RegionBackendServicesListCall) IfNoneMatch(entityTag string) *RegionBackendServicesListCall
    func (c *RegionBackendServicesListCall) MaxResults(maxResults int64) *RegionBackendServicesListCall
    func (c *RegionBackendServicesListCall) OrderBy(orderBy string) *RegionBackendServicesListCall
    func (c *RegionBackendServicesListCall) PageToken(pageToken string) *RegionBackendServicesListCall
    func (c *RegionBackendServicesListCall) Pages(ctx context.Context, f func(*BackendServiceList) error) error
type RegionBackendServicesPatchCall
    func (c *RegionBackendServicesPatchCall) Context(ctx context.Context) *RegionBackendServicesPatchCall
    func (c *RegionBackendServicesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionBackendServicesPatchCall) Fields(s ...googleapi.Field) *RegionBackendServicesPatchCall
    func (c *RegionBackendServicesPatchCall) Header() http.Header
type RegionBackendServicesService
    func NewRegionBackendServicesService(s *Service) *RegionBackendServicesService
    func (r *RegionBackendServicesService) Delete(project string, region string, backendService string) *RegionBackendServicesDeleteCall
    func (r *RegionBackendServicesService) Get(project string, region string, backendService string) *RegionBackendServicesGetCall
    func (r *RegionBackendServicesService) GetHealth(project string, region string, backendService string, resourcegroupreference *ResourceGroupReference) *RegionBackendServicesGetHealthCall
    func (r *RegionBackendServicesService) Insert(project string, region string, backendservice *BackendService) *RegionBackendServicesInsertCall
    func (r *RegionBackendServicesService) List(project string, region string) *RegionBackendServicesListCall
    func (r *RegionBackendServicesService) Patch(project string, region string, backendService string, backendservice *BackendService) *RegionBackendServicesPatchCall
    func (r *RegionBackendServicesService) Update(project string, region string, backendService string, backendservice *BackendService) *RegionBackendServicesUpdateCall
type RegionBackendServicesUpdateCall
    func (c *RegionBackendServicesUpdateCall) Context(ctx context.Context) *RegionBackendServicesUpdateCall
    func (c *RegionBackendServicesUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionBackendServicesUpdateCall) Fields(s ...googleapi.Field) *RegionBackendServicesUpdateCall
    func (c *RegionBackendServicesUpdateCall) Header() http.Header
type RegionInstanceGroupList
    func (s *RegionInstanceGroupList) MarshalJSON() ([]byte, error)
type RegionInstanceGroupManagerList
    func (s *RegionInstanceGroupManagerList) MarshalJSON() ([]byte, error)
type RegionInstanceGroupManagersAbandonInstancesCall
    func (c *RegionInstanceGroupManagersAbandonInstancesCall) Context(ctx context.Context) *RegionInstanceGroupManagersAbandonInstancesCall
    func (c *RegionInstanceGroupManagersAbandonInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupManagersAbandonInstancesCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersAbandonInstancesCall
    func (c *RegionInstanceGroupManagersAbandonInstancesCall) Header() http.Header
type RegionInstanceGroupManagersAbandonInstancesRequest
    func (s *RegionInstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error)
type RegionInstanceGroupManagersDeleteCall
    func (c *RegionInstanceGroupManagersDeleteCall) Context(ctx context.Context) *RegionInstanceGroupManagersDeleteCall
    func (c *RegionInstanceGroupManagersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupManagersDeleteCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersDeleteCall
    func (c *RegionInstanceGroupManagersDeleteCall) Header() http.Header
type RegionInstanceGroupManagersDeleteInstancesCall
    func (c *RegionInstanceGroupManagersDeleteInstancesCall) Context(ctx context.Context) *RegionInstanceGroupManagersDeleteInstancesCall
    func (c *RegionInstanceGroupManagersDeleteInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupManagersDeleteInstancesCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersDeleteInstancesCall
    func (c *RegionInstanceGroupManagersDeleteInstancesCall) Header() http.Header
type RegionInstanceGroupManagersDeleteInstancesRequest
    func (s *RegionInstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error)
type RegionInstanceGroupManagersGetCall
    func (c *RegionInstanceGroupManagersGetCall) Context(ctx context.Context) *RegionInstanceGroupManagersGetCall
    func (c *RegionInstanceGroupManagersGetCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManager, error)
    func (c *RegionInstanceGroupManagersGetCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersGetCall
    func (c *RegionInstanceGroupManagersGetCall) Header() http.Header
    func (c *RegionInstanceGroupManagersGetCall) IfNoneMatch(entityTag string) *RegionInstanceGroupManagersGetCall
type RegionInstanceGroupManagersInsertCall
    func (c *RegionInstanceGroupManagersInsertCall) Context(ctx context.Context) *RegionInstanceGroupManagersInsertCall
    func (c *RegionInstanceGroupManagersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupManagersInsertCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersInsertCall
    func (c *RegionInstanceGroupManagersInsertCall) Header() http.Header
type RegionInstanceGroupManagersListCall
    func (c *RegionInstanceGroupManagersListCall) Context(ctx context.Context) *RegionInstanceGroupManagersListCall
    func (c *RegionInstanceGroupManagersListCall) Do(opts ...googleapi.CallOption) (*RegionInstanceGroupManagerList, error)
    func (c *RegionInstanceGroupManagersListCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersListCall
    func (c *RegionInstanceGroupManagersListCall) Filter(filter string) *RegionInstanceGroupManagersListCall
    func (c *RegionInstanceGroupManagersListCall) Header() http.Header
    func (c *RegionInstanceGroupManagersListCall) IfNoneMatch(entityTag string) *RegionInstanceGroupManagersListCall
    func (c *RegionInstanceGroupManagersListCall) MaxResults(maxResults int64) *RegionInstanceGroupManagersListCall
    func (c *RegionInstanceGroupManagersListCall) OrderBy(orderBy string) *RegionInstanceGroupManagersListCall
    func (c *RegionInstanceGroupManagersListCall) PageToken(pageToken string) *RegionInstanceGroupManagersListCall
    func (c *RegionInstanceGroupManagersListCall) Pages(ctx context.Context, f func(*RegionInstanceGroupManagerList) error) error
type RegionInstanceGroupManagersListInstancesResponse
    func (s *RegionInstanceGroupManagersListInstancesResponse) MarshalJSON() ([]byte, error)
type RegionInstanceGroupManagersListManagedInstancesCall
    func (c *RegionInstanceGroupManagersListManagedInstancesCall) Context(ctx context.Context) *RegionInstanceGroupManagersListManagedInstancesCall
    func (c *RegionInstanceGroupManagersListManagedInstancesCall) Do(opts ...googleapi.CallOption) (*RegionInstanceGroupManagersListInstancesResponse, error)
    func (c *RegionInstanceGroupManagersListManagedInstancesCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersListManagedInstancesCall
    func (c *RegionInstanceGroupManagersListManagedInstancesCall) Filter(filter string) *RegionInstanceGroupManagersListManagedInstancesCall
    func (c *RegionInstanceGroupManagersListManagedInstancesCall) Header() http.Header
    func (c *RegionInstanceGroupManagersListManagedInstancesCall) MaxResults(maxResults int64) *RegionInstanceGroupManagersListManagedInstancesCall
    func (c *RegionInstanceGroupManagersListManagedInstancesCall) OrderBy(orderBy string) *RegionInstanceGroupManagersListManagedInstancesCall
    func (c *RegionInstanceGroupManagersListManagedInstancesCall) PageToken(pageToken string) *RegionInstanceGroupManagersListManagedInstancesCall
type RegionInstanceGroupManagersRecreateInstancesCall
    func (c *RegionInstanceGroupManagersRecreateInstancesCall) Context(ctx context.Context) *RegionInstanceGroupManagersRecreateInstancesCall
    func (c *RegionInstanceGroupManagersRecreateInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupManagersRecreateInstancesCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersRecreateInstancesCall
    func (c *RegionInstanceGroupManagersRecreateInstancesCall) Header() http.Header
type RegionInstanceGroupManagersRecreateRequest
    func (s *RegionInstanceGroupManagersRecreateRequest) MarshalJSON() ([]byte, error)
type RegionInstanceGroupManagersResizeCall
    func (c *RegionInstanceGroupManagersResizeCall) Context(ctx context.Context) *RegionInstanceGroupManagersResizeCall
    func (c *RegionInstanceGroupManagersResizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupManagersResizeCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersResizeCall
    func (c *RegionInstanceGroupManagersResizeCall) Header() http.Header
type RegionInstanceGroupManagersService
    func NewRegionInstanceGroupManagersService(s *Service) *RegionInstanceGroupManagersService
    func (r *RegionInstanceGroupManagersService) AbandonInstances(project string, region string, instanceGroupManager string, regioninstancegroupmanagersabandoninstancesrequest *RegionInstanceGroupManagersAbandonInstancesRequest) *RegionInstanceGroupManagersAbandonInstancesCall
    func (r *RegionInstanceGroupManagersService) Delete(project string, region string, instanceGroupManager string) *RegionInstanceGroupManagersDeleteCall
    func (r *RegionInstanceGroupManagersService) DeleteInstances(project string, region string, instanceGroupManager string, regioninstancegroupmanagersdeleteinstancesrequest *RegionInstanceGroupManagersDeleteInstancesRequest) *RegionInstanceGroupManagersDeleteInstancesCall
    func (r *RegionInstanceGroupManagersService) Get(project string, region string, instanceGroupManager string) *RegionInstanceGroupManagersGetCall
    func (r *RegionInstanceGroupManagersService) Insert(project string, region string, instancegroupmanager *InstanceGroupManager) *RegionInstanceGroupManagersInsertCall
    func (r *RegionInstanceGroupManagersService) List(project string, region string) *RegionInstanceGroupManagersListCall
    func (r *RegionInstanceGroupManagersService) ListManagedInstances(project string, region string, instanceGroupManager string) *RegionInstanceGroupManagersListManagedInstancesCall
    func (r *RegionInstanceGroupManagersService) RecreateInstances(project string, region string, instanceGroupManager string, regioninstancegroupmanagersrecreaterequest *RegionInstanceGroupManagersRecreateRequest) *RegionInstanceGroupManagersRecreateInstancesCall
    func (r *RegionInstanceGroupManagersService) Resize(project string, region string, instanceGroupManager string, size int64) *RegionInstanceGroupManagersResizeCall
    func (r *RegionInstanceGroupManagersService) SetInstanceTemplate(project string, region string, instanceGroupManager string, regioninstancegroupmanagerssettemplaterequest *RegionInstanceGroupManagersSetTemplateRequest) *RegionInstanceGroupManagersSetInstanceTemplateCall
    func (r *RegionInstanceGroupManagersService) SetTargetPools(project string, region string, instanceGroupManager string, regioninstancegroupmanagerssettargetpoolsrequest *RegionInstanceGroupManagersSetTargetPoolsRequest) *RegionInstanceGroupManagersSetTargetPoolsCall
type RegionInstanceGroupManagersSetInstanceTemplateCall
    func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Context(ctx context.Context) *RegionInstanceGroupManagersSetInstanceTemplateCall
    func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersSetInstanceTemplateCall
    func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) Header() http.Header
type RegionInstanceGroupManagersSetTargetPoolsCall
    func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Context(ctx context.Context) *RegionInstanceGroupManagersSetTargetPoolsCall
    func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersSetTargetPoolsCall
    func (c *RegionInstanceGroupManagersSetTargetPoolsCall) Header() http.Header
type RegionInstanceGroupManagersSetTargetPoolsRequest
    func (s *RegionInstanceGroupManagersSetTargetPoolsRequest) MarshalJSON() ([]byte, error)
type RegionInstanceGroupManagersSetTemplateRequest
    func (s *RegionInstanceGroupManagersSetTemplateRequest) MarshalJSON() ([]byte, error)
type RegionInstanceGroupsGetCall
    func (c *RegionInstanceGroupsGetCall) Context(ctx context.Context) *RegionInstanceGroupsGetCall
    func (c *RegionInstanceGroupsGetCall) Do(opts ...googleapi.CallOption) (*InstanceGroup, error)
    func (c *RegionInstanceGroupsGetCall) Fields(s ...googleapi.Field) *RegionInstanceGroupsGetCall
    func (c *RegionInstanceGroupsGetCall) Header() http.Header
    func (c *RegionInstanceGroupsGetCall) IfNoneMatch(entityTag string) *RegionInstanceGroupsGetCall
type RegionInstanceGroupsListCall
    func (c *RegionInstanceGroupsListCall) Context(ctx context.Context) *RegionInstanceGroupsListCall
    func (c *RegionInstanceGroupsListCall) Do(opts ...googleapi.CallOption) (*RegionInstanceGroupList, error)
    func (c *RegionInstanceGroupsListCall) Fields(s ...googleapi.Field) *RegionInstanceGroupsListCall
    func (c *RegionInstanceGroupsListCall) Filter(filter string) *RegionInstanceGroupsListCall
    func (c *RegionInstanceGroupsListCall) Header() http.Header
    func (c *RegionInstanceGroupsListCall) IfNoneMatch(entityTag string) *RegionInstanceGroupsListCall
    func (c *RegionInstanceGroupsListCall) MaxResults(maxResults int64) *RegionInstanceGroupsListCall
    func (c *RegionInstanceGroupsListCall) OrderBy(orderBy string) *RegionInstanceGroupsListCall
    func (c *RegionInstanceGroupsListCall) PageToken(pageToken string) *RegionInstanceGroupsListCall
    func (c *RegionInstanceGroupsListCall) Pages(ctx context.Context, f func(*RegionInstanceGroupList) error) error
type RegionInstanceGroupsListInstances
    func (s *RegionInstanceGroupsListInstances) MarshalJSON() ([]byte, error)
type RegionInstanceGroupsListInstancesCall
    func (c *RegionInstanceGroupsListInstancesCall) Context(ctx context.Context) *RegionInstanceGroupsListInstancesCall
    func (c *RegionInstanceGroupsListInstancesCall) Do(opts ...googleapi.CallOption) (*RegionInstanceGroupsListInstances, error)
    func (c *RegionInstanceGroupsListInstancesCall) Fields(s ...googleapi.Field) *RegionInstanceGroupsListInstancesCall
    func (c *RegionInstanceGroupsListInstancesCall) Filter(filter string) *RegionInstanceGroupsListInstancesCall
    func (c *RegionInstanceGroupsListInstancesCall) Header() http.Header
    func (c *RegionInstanceGroupsListInstancesCall) MaxResults(maxResults int64) *RegionInstanceGroupsListInstancesCall
    func (c *RegionInstanceGroupsListInstancesCall) OrderBy(orderBy string) *RegionInstanceGroupsListInstancesCall
    func (c *RegionInstanceGroupsListInstancesCall) PageToken(pageToken string) *RegionInstanceGroupsListInstancesCall
    func (c *RegionInstanceGroupsListInstancesCall) Pages(ctx context.Context, f func(*RegionInstanceGroupsListInstances) error) error
type RegionInstanceGroupsListInstancesRequest
    func (s *RegionInstanceGroupsListInstancesRequest) MarshalJSON() ([]byte, error)
type RegionInstanceGroupsService
    func NewRegionInstanceGroupsService(s *Service) *RegionInstanceGroupsService
    func (r *RegionInstanceGroupsService) Get(project string, region string, instanceGroup string) *RegionInstanceGroupsGetCall
    func (r *RegionInstanceGroupsService) List(project string, region string) *RegionInstanceGroupsListCall
    func (r *RegionInstanceGroupsService) ListInstances(project string, region string, instanceGroup string, regioninstancegroupslistinstancesrequest *RegionInstanceGroupsListInstancesRequest) *RegionInstanceGroupsListInstancesCall
    func (r *RegionInstanceGroupsService) SetNamedPorts(project string, region string, instanceGroup string, regioninstancegroupssetnamedportsrequest *RegionInstanceGroupsSetNamedPortsRequest) *RegionInstanceGroupsSetNamedPortsCall
type RegionInstanceGroupsSetNamedPortsCall
    func (c *RegionInstanceGroupsSetNamedPortsCall) Context(ctx context.Context) *RegionInstanceGroupsSetNamedPortsCall
    func (c *RegionInstanceGroupsSetNamedPortsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionInstanceGroupsSetNamedPortsCall) Fields(s ...googleapi.Field) *RegionInstanceGroupsSetNamedPortsCall
    func (c *RegionInstanceGroupsSetNamedPortsCall) Header() http.Header
type RegionInstanceGroupsSetNamedPortsRequest
    func (s *RegionInstanceGroupsSetNamedPortsRequest) MarshalJSON() ([]byte, error)
type RegionList
    func (s *RegionList) MarshalJSON() ([]byte, error)
type RegionOperationsDeleteCall
    func (c *RegionOperationsDeleteCall) Context(ctx context.Context) *RegionOperationsDeleteCall
    func (c *RegionOperationsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *RegionOperationsDeleteCall) Fields(s ...googleapi.Field) *RegionOperationsDeleteCall
    func (c *RegionOperationsDeleteCall) Header() http.Header
type RegionOperationsGetCall
    func (c *RegionOperationsGetCall) Context(ctx context.Context) *RegionOperationsGetCall
    func (c *RegionOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RegionOperationsGetCall) Fields(s ...googleapi.Field) *RegionOperationsGetCall
    func (c *RegionOperationsGetCall) Header() http.Header
    func (c *RegionOperationsGetCall) IfNoneMatch(entityTag string) *RegionOperationsGetCall
type RegionOperationsListCall
    func (c *RegionOperationsListCall) Context(ctx context.Context) *RegionOperationsListCall
    func (c *RegionOperationsListCall) Do(opts ...googleapi.CallOption) (*OperationList, error)
    func (c *RegionOperationsListCall) Fields(s ...googleapi.Field) *RegionOperationsListCall
    func (c *RegionOperationsListCall) Filter(filter string) *RegionOperationsListCall
    func (c *RegionOperationsListCall) Header() http.Header
    func (c *RegionOperationsListCall) IfNoneMatch(entityTag string) *RegionOperationsListCall
    func (c *RegionOperationsListCall) MaxResults(maxResults int64) *RegionOperationsListCall
    func (c *RegionOperationsListCall) OrderBy(orderBy string) *RegionOperationsListCall
    func (c *RegionOperationsListCall) PageToken(pageToken string) *RegionOperationsListCall
    func (c *RegionOperationsListCall) Pages(ctx context.Context, f func(*OperationList) error) error
type RegionOperationsService
    func NewRegionOperationsService(s *Service) *RegionOperationsService
    func (r *RegionOperationsService) Delete(project string, region string, operation string) *RegionOperationsDeleteCall
    func (r *RegionOperationsService) Get(project string, region string, operation string) *RegionOperationsGetCall
    func (r *RegionOperationsService) List(project string, region string) *RegionOperationsListCall
type RegionsGetCall
    func (c *RegionsGetCall) Context(ctx context.Context) *RegionsGetCall
    func (c *RegionsGetCall) Do(opts ...googleapi.CallOption) (*Region, error)
    func (c *RegionsGetCall) Fields(s ...googleapi.Field) *RegionsGetCall
    func (c *RegionsGetCall) Header() http.Header
    func (c *RegionsGetCall) IfNoneMatch(entityTag string) *RegionsGetCall
type RegionsListCall
    func (c *RegionsListCall) Context(ctx context.Context) *RegionsListCall
    func (c *RegionsListCall) Do(opts ...googleapi.CallOption) (*RegionList, error)
    func (c *RegionsListCall) Fields(s ...googleapi.Field) *RegionsListCall
    func (c *RegionsListCall) Filter(filter string) *RegionsListCall
    func (c *RegionsListCall) Header() http.Header
    func (c *RegionsListCall) IfNoneMatch(entityTag string) *RegionsListCall
    func (c *RegionsListCall) MaxResults(maxResults int64) *RegionsListCall
    func (c *RegionsListCall) OrderBy(orderBy string) *RegionsListCall
    func (c *RegionsListCall) PageToken(pageToken string) *RegionsListCall
    func (c *RegionsListCall) Pages(ctx context.Context, f func(*RegionList) error) error
type RegionsService
    func NewRegionsService(s *Service) *RegionsService
    func (r *RegionsService) Get(project string, region string) *RegionsGetCall
    func (r *RegionsService) List(project string) *RegionsListCall
type ResourceGroupReference
    func (s *ResourceGroupReference) MarshalJSON() ([]byte, error)
type Route
    func (s *Route) MarshalJSON() ([]byte, error)
type RouteList
    func (s *RouteList) MarshalJSON() ([]byte, error)
type RouteWarnings
    func (s *RouteWarnings) MarshalJSON() ([]byte, error)
type RouteWarningsData
    func (s *RouteWarningsData) MarshalJSON() ([]byte, error)
type Router
    func (s *Router) MarshalJSON() ([]byte, error)
type RouterAggregatedList
    func (s *RouterAggregatedList) MarshalJSON() ([]byte, error)
type RouterBgp
    func (s *RouterBgp) MarshalJSON() ([]byte, error)
type RouterBgpPeer
    func (s *RouterBgpPeer) MarshalJSON() ([]byte, error)
type RouterInterface
    func (s *RouterInterface) MarshalJSON() ([]byte, error)
type RouterList
    func (s *RouterList) MarshalJSON() ([]byte, error)
type RouterStatus
    func (s *RouterStatus) MarshalJSON() ([]byte, error)
type RouterStatusBgpPeerStatus
    func (s *RouterStatusBgpPeerStatus) MarshalJSON() ([]byte, error)
type RouterStatusResponse
    func (s *RouterStatusResponse) MarshalJSON() ([]byte, error)
type RoutersAggregatedListCall
    func (c *RoutersAggregatedListCall) Context(ctx context.Context) *RoutersAggregatedListCall
    func (c *RoutersAggregatedListCall) Do(opts ...googleapi.CallOption) (*RouterAggregatedList, error)
    func (c *RoutersAggregatedListCall) Fields(s ...googleapi.Field) *RoutersAggregatedListCall
    func (c *RoutersAggregatedListCall) Filter(filter string) *RoutersAggregatedListCall
    func (c *RoutersAggregatedListCall) Header() http.Header
    func (c *RoutersAggregatedListCall) IfNoneMatch(entityTag string) *RoutersAggregatedListCall
    func (c *RoutersAggregatedListCall) MaxResults(maxResults int64) *RoutersAggregatedListCall
    func (c *RoutersAggregatedListCall) OrderBy(orderBy string) *RoutersAggregatedListCall
    func (c *RoutersAggregatedListCall) PageToken(pageToken string) *RoutersAggregatedListCall
    func (c *RoutersAggregatedListCall) Pages(ctx context.Context, f func(*RouterAggregatedList) error) error
type RoutersDeleteCall
    func (c *RoutersDeleteCall) Context(ctx context.Context) *RoutersDeleteCall
    func (c *RoutersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RoutersDeleteCall) Fields(s ...googleapi.Field) *RoutersDeleteCall
    func (c *RoutersDeleteCall) Header() http.Header
type RoutersGetCall
    func (c *RoutersGetCall) Context(ctx context.Context) *RoutersGetCall
    func (c *RoutersGetCall) Do(opts ...googleapi.CallOption) (*Router, error)
    func (c *RoutersGetCall) Fields(s ...googleapi.Field) *RoutersGetCall
    func (c *RoutersGetCall) Header() http.Header
    func (c *RoutersGetCall) IfNoneMatch(entityTag string) *RoutersGetCall
type RoutersGetRouterStatusCall
    func (c *RoutersGetRouterStatusCall) Context(ctx context.Context) *RoutersGetRouterStatusCall
    func (c *RoutersGetRouterStatusCall) Do(opts ...googleapi.CallOption) (*RouterStatusResponse, error)
    func (c *RoutersGetRouterStatusCall) Fields(s ...googleapi.Field) *RoutersGetRouterStatusCall
    func (c *RoutersGetRouterStatusCall) Header() http.Header
    func (c *RoutersGetRouterStatusCall) IfNoneMatch(entityTag string) *RoutersGetRouterStatusCall
type RoutersInsertCall
    func (c *RoutersInsertCall) Context(ctx context.Context) *RoutersInsertCall
    func (c *RoutersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RoutersInsertCall) Fields(s ...googleapi.Field) *RoutersInsertCall
    func (c *RoutersInsertCall) Header() http.Header
type RoutersListCall
    func (c *RoutersListCall) Context(ctx context.Context) *RoutersListCall
    func (c *RoutersListCall) Do(opts ...googleapi.CallOption) (*RouterList, error)
    func (c *RoutersListCall) Fields(s ...googleapi.Field) *RoutersListCall
    func (c *RoutersListCall) Filter(filter string) *RoutersListCall
    func (c *RoutersListCall) Header() http.Header
    func (c *RoutersListCall) IfNoneMatch(entityTag string) *RoutersListCall
    func (c *RoutersListCall) MaxResults(maxResults int64) *RoutersListCall
    func (c *RoutersListCall) OrderBy(orderBy string) *RoutersListCall
    func (c *RoutersListCall) PageToken(pageToken string) *RoutersListCall
    func (c *RoutersListCall) Pages(ctx context.Context, f func(*RouterList) error) error
type RoutersPatchCall
    func (c *RoutersPatchCall) Context(ctx context.Context) *RoutersPatchCall
    func (c *RoutersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RoutersPatchCall) Fields(s ...googleapi.Field) *RoutersPatchCall
    func (c *RoutersPatchCall) Header() http.Header
type RoutersPreviewCall
    func (c *RoutersPreviewCall) Context(ctx context.Context) *RoutersPreviewCall
    func (c *RoutersPreviewCall) Do(opts ...googleapi.CallOption) (*RoutersPreviewResponse, error)
    func (c *RoutersPreviewCall) Fields(s ...googleapi.Field) *RoutersPreviewCall
    func (c *RoutersPreviewCall) Header() http.Header
type RoutersPreviewResponse
    func (s *RoutersPreviewResponse) MarshalJSON() ([]byte, error)
type RoutersScopedList
    func (s *RoutersScopedList) MarshalJSON() ([]byte, error)
type RoutersScopedListWarning
    func (s *RoutersScopedListWarning) MarshalJSON() ([]byte, error)
type RoutersScopedListWarningData
    func (s *RoutersScopedListWarningData) MarshalJSON() ([]byte, error)
type RoutersService
    func NewRoutersService(s *Service) *RoutersService
    func (r *RoutersService) AggregatedList(project string) *RoutersAggregatedListCall
    func (r *RoutersService) Delete(project string, region string, router string) *RoutersDeleteCall
    func (r *RoutersService) Get(project string, region string, router string) *RoutersGetCall
    func (r *RoutersService) GetRouterStatus(project string, region string, router string) *RoutersGetRouterStatusCall
    func (r *RoutersService) Insert(project string, region string, router *Router) *RoutersInsertCall
    func (r *RoutersService) List(project string, region string) *RoutersListCall
    func (r *RoutersService) Patch(project string, region string, router string, router2 *Router) *RoutersPatchCall
    func (r *RoutersService) Preview(project string, region string, router string, router2 *Router) *RoutersPreviewCall
    func (r *RoutersService) Update(project string, region string, router string, router2 *Router) *RoutersUpdateCall
type RoutersUpdateCall
    func (c *RoutersUpdateCall) Context(ctx context.Context) *RoutersUpdateCall
    func (c *RoutersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RoutersUpdateCall) Fields(s ...googleapi.Field) *RoutersUpdateCall
    func (c *RoutersUpdateCall) Header() http.Header
type RoutesDeleteCall
    func (c *RoutesDeleteCall) Context(ctx context.Context) *RoutesDeleteCall
    func (c *RoutesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RoutesDeleteCall) Fields(s ...googleapi.Field) *RoutesDeleteCall
    func (c *RoutesDeleteCall) Header() http.Header
type RoutesGetCall
    func (c *RoutesGetCall) Context(ctx context.Context) *RoutesGetCall
    func (c *RoutesGetCall) Do(opts ...googleapi.CallOption) (*Route, error)
    func (c *RoutesGetCall) Fields(s ...googleapi.Field) *RoutesGetCall
    func (c *RoutesGetCall) Header() http.Header
    func (c *RoutesGetCall) IfNoneMatch(entityTag string) *RoutesGetCall
type RoutesInsertCall
    func (c *RoutesInsertCall) Context(ctx context.Context) *RoutesInsertCall
    func (c *RoutesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *RoutesInsertCall) Fields(s ...googleapi.Field) *RoutesInsertCall
    func (c *RoutesInsertCall) Header() http.Header
type RoutesListCall
    func (c *RoutesListCall) Context(ctx context.Context) *RoutesListCall
    func (c *RoutesListCall) Do(opts ...googleapi.CallOption) (*RouteList, error)
    func (c *RoutesListCall) Fields(s ...googleapi.Field) *RoutesListCall
    func (c *RoutesListCall) Filter(filter string) *RoutesListCall
    func (c *RoutesListCall) Header() http.Header
    func (c *RoutesListCall) IfNoneMatch(entityTag string) *RoutesListCall
    func (c *RoutesListCall) MaxResults(maxResults int64) *RoutesListCall
    func (c *RoutesListCall) OrderBy(orderBy string) *RoutesListCall
    func (c *RoutesListCall) PageToken(pageToken string) *RoutesListCall
    func (c *RoutesListCall) Pages(ctx context.Context, f func(*RouteList) error) error
type RoutesService
    func NewRoutesService(s *Service) *RoutesService
    func (r *RoutesService) Delete(project string, route string) *RoutesDeleteCall
    func (r *RoutesService) Get(project string, route string) *RoutesGetCall
    func (r *RoutesService) Insert(project string, route *Route) *RoutesInsertCall
    func (r *RoutesService) List(project string) *RoutesListCall
type SSLHealthCheck
    func (s *SSLHealthCheck) MarshalJSON() ([]byte, error)
type Scheduling
    func (s *Scheduling) MarshalJSON() ([]byte, error)
type SerialPortOutput
    func (s *SerialPortOutput) MarshalJSON() ([]byte, error)
type Service
    func New(client *http.Client) (*Service, error)
type ServiceAccount
    func (s *ServiceAccount) MarshalJSON() ([]byte, error)
type Snapshot
    func (s *Snapshot) MarshalJSON() ([]byte, error)
type SnapshotList
    func (s *SnapshotList) MarshalJSON() ([]byte, error)
type SnapshotsDeleteCall
    func (c *SnapshotsDeleteCall) Context(ctx context.Context) *SnapshotsDeleteCall
    func (c *SnapshotsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *SnapshotsDeleteCall) Fields(s ...googleapi.Field) *SnapshotsDeleteCall
    func (c *SnapshotsDeleteCall) Header() http.Header
type SnapshotsGetCall
    func (c *SnapshotsGetCall) Context(ctx context.Context) *SnapshotsGetCall
    func (c *SnapshotsGetCall) Do(opts ...googleapi.CallOption) (*Snapshot, error)
    func (c *SnapshotsGetCall) Fields(s ...googleapi.Field) *SnapshotsGetCall
    func (c *SnapshotsGetCall) Header() http.Header
    func (c *SnapshotsGetCall) IfNoneMatch(entityTag string) *SnapshotsGetCall
type SnapshotsListCall
    func (c *SnapshotsListCall) Context(ctx context.Context) *SnapshotsListCall
    func (c *SnapshotsListCall) Do(opts ...googleapi.CallOption) (*SnapshotList, error)
    func (c *SnapshotsListCall) Fields(s ...googleapi.Field) *SnapshotsListCall
    func (c *SnapshotsListCall) Filter(filter string) *SnapshotsListCall
    func (c *SnapshotsListCall) Header() http.Header
    func (c *SnapshotsListCall) IfNoneMatch(entityTag string) *SnapshotsListCall
    func (c *SnapshotsListCall) MaxResults(maxResults int64) *SnapshotsListCall
    func (c *SnapshotsListCall) OrderBy(orderBy string) *SnapshotsListCall
    func (c *SnapshotsListCall) PageToken(pageToken string) *SnapshotsListCall
    func (c *SnapshotsListCall) Pages(ctx context.Context, f func(*SnapshotList) error) error
type SnapshotsService
    func NewSnapshotsService(s *Service) *SnapshotsService
    func (r *SnapshotsService) Delete(project string, snapshot string) *SnapshotsDeleteCall
    func (r *SnapshotsService) Get(project string, snapshot string) *SnapshotsGetCall
    func (r *SnapshotsService) List(project string) *SnapshotsListCall
    func (r *SnapshotsService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *SnapshotsSetLabelsCall
type SnapshotsSetLabelsCall
    func (c *SnapshotsSetLabelsCall) Context(ctx context.Context) *SnapshotsSetLabelsCall
    func (c *SnapshotsSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *SnapshotsSetLabelsCall) Fields(s ...googleapi.Field) *SnapshotsSetLabelsCall
    func (c *SnapshotsSetLabelsCall) Header() http.Header
type SslCertificate
    func (s *SslCertificate) MarshalJSON() ([]byte, error)
type SslCertificateList
    func (s *SslCertificateList) MarshalJSON() ([]byte, error)
type SslCertificatesDeleteCall
    func (c *SslCertificatesDeleteCall) Context(ctx context.Context) *SslCertificatesDeleteCall
    func (c *SslCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *SslCertificatesDeleteCall) Fields(s ...googleapi.Field) *SslCertificatesDeleteCall
    func (c *SslCertificatesDeleteCall) Header() http.Header
type SslCertificatesGetCall
    func (c *SslCertificatesGetCall) Context(ctx context.Context) *SslCertificatesGetCall
    func (c *SslCertificatesGetCall) Do(opts ...googleapi.CallOption) (*SslCertificate, error)
    func (c *SslCertificatesGetCall) Fields(s ...googleapi.Field) *SslCertificatesGetCall
    func (c *SslCertificatesGetCall) Header() http.Header
    func (c *SslCertificatesGetCall) IfNoneMatch(entityTag string) *SslCertificatesGetCall
type SslCertificatesInsertCall
    func (c *SslCertificatesInsertCall) Context(ctx context.Context) *SslCertificatesInsertCall
    func (c *SslCertificatesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *SslCertificatesInsertCall) Fields(s ...googleapi.Field) *SslCertificatesInsertCall
    func (c *SslCertificatesInsertCall) Header() http.Header
type SslCertificatesListCall
    func (c *SslCertificatesListCall) Context(ctx context.Context) *SslCertificatesListCall
    func (c *SslCertificatesListCall) Do(opts ...googleapi.CallOption) (*SslCertificateList, error)
    func (c *SslCertificatesListCall) Fields(s ...googleapi.Field) *SslCertificatesListCall
    func (c *SslCertificatesListCall) Filter(filter string) *SslCertificatesListCall
    func (c *SslCertificatesListCall) Header() http.Header
    func (c *SslCertificatesListCall) IfNoneMatch(entityTag string) *SslCertificatesListCall
    func (c *SslCertificatesListCall) MaxResults(maxResults int64) *SslCertificatesListCall
    func (c *SslCertificatesListCall) OrderBy(orderBy string) *SslCertificatesListCall
    func (c *SslCertificatesListCall) PageToken(pageToken string) *SslCertificatesListCall
    func (c *SslCertificatesListCall) Pages(ctx context.Context, f func(*SslCertificateList) error) error
type SslCertificatesService
    func NewSslCertificatesService(s *Service) *SslCertificatesService
    func (r *SslCertificatesService) Delete(project string, sslCertificate string) *SslCertificatesDeleteCall
    func (r *SslCertificatesService) Get(project string, sslCertificate string) *SslCertificatesGetCall
    func (r *SslCertificatesService) Insert(project string, sslcertificate *SslCertificate) *SslCertificatesInsertCall
    func (r *SslCertificatesService) List(project string) *SslCertificatesListCall
type Subnetwork
    func (s *Subnetwork) MarshalJSON() ([]byte, error)
type SubnetworkAggregatedList
    func (s *SubnetworkAggregatedList) MarshalJSON() ([]byte, error)
type SubnetworkList
    func (s *SubnetworkList) MarshalJSON() ([]byte, error)
type SubnetworksAggregatedListCall
    func (c *SubnetworksAggregatedListCall) Context(ctx context.Context) *SubnetworksAggregatedListCall
    func (c *SubnetworksAggregatedListCall) Do(opts ...googleapi.CallOption) (*SubnetworkAggregatedList, error)
    func (c *SubnetworksAggregatedListCall) Fields(s ...googleapi.Field) *SubnetworksAggregatedListCall
    func (c *SubnetworksAggregatedListCall) Filter(filter string) *SubnetworksAggregatedListCall
    func (c *SubnetworksAggregatedListCall) Header() http.Header
    func (c *SubnetworksAggregatedListCall) IfNoneMatch(entityTag string) *SubnetworksAggregatedListCall
    func (c *SubnetworksAggregatedListCall) MaxResults(maxResults int64) *SubnetworksAggregatedListCall
    func (c *SubnetworksAggregatedListCall) OrderBy(orderBy string) *SubnetworksAggregatedListCall
    func (c *SubnetworksAggregatedListCall) PageToken(pageToken string) *SubnetworksAggregatedListCall
    func (c *SubnetworksAggregatedListCall) Pages(ctx context.Context, f func(*SubnetworkAggregatedList) error) error
type SubnetworksDeleteCall
    func (c *SubnetworksDeleteCall) Context(ctx context.Context) *SubnetworksDeleteCall
    func (c *SubnetworksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *SubnetworksDeleteCall) Fields(s ...googleapi.Field) *SubnetworksDeleteCall
    func (c *SubnetworksDeleteCall) Header() http.Header
type SubnetworksExpandIpCidrRangeCall
    func (c *SubnetworksExpandIpCidrRangeCall) Context(ctx context.Context) *SubnetworksExpandIpCidrRangeCall
    func (c *SubnetworksExpandIpCidrRangeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *SubnetworksExpandIpCidrRangeCall) Fields(s ...googleapi.Field) *SubnetworksExpandIpCidrRangeCall
    func (c *SubnetworksExpandIpCidrRangeCall) Header() http.Header
type SubnetworksExpandIpCidrRangeRequest
    func (s *SubnetworksExpandIpCidrRangeRequest) MarshalJSON() ([]byte, error)
type SubnetworksGetCall
    func (c *SubnetworksGetCall) Context(ctx context.Context) *SubnetworksGetCall
    func (c *SubnetworksGetCall) Do(opts ...googleapi.CallOption) (*Subnetwork, error)
    func (c *SubnetworksGetCall) Fields(s ...googleapi.Field) *SubnetworksGetCall
    func (c *SubnetworksGetCall) Header() http.Header
    func (c *SubnetworksGetCall) IfNoneMatch(entityTag string) *SubnetworksGetCall
type SubnetworksInsertCall
    func (c *SubnetworksInsertCall) Context(ctx context.Context) *SubnetworksInsertCall
    func (c *SubnetworksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *SubnetworksInsertCall) Fields(s ...googleapi.Field) *SubnetworksInsertCall
    func (c *SubnetworksInsertCall) Header() http.Header
type SubnetworksListCall
    func (c *SubnetworksListCall) Context(ctx context.Context) *SubnetworksListCall
    func (c *SubnetworksListCall) Do(opts ...googleapi.CallOption) (*SubnetworkList, error)
    func (c *SubnetworksListCall) Fields(s ...googleapi.Field) *SubnetworksListCall
    func (c *SubnetworksListCall) Filter(filter string) *SubnetworksListCall
    func (c *SubnetworksListCall) Header() http.Header
    func (c *SubnetworksListCall) IfNoneMatch(entityTag string) *SubnetworksListCall
    func (c *SubnetworksListCall) MaxResults(maxResults int64) *SubnetworksListCall
    func (c *SubnetworksListCall) OrderBy(orderBy string) *SubnetworksListCall
    func (c *SubnetworksListCall) PageToken(pageToken string) *SubnetworksListCall
    func (c *SubnetworksListCall) Pages(ctx context.Context, f func(*SubnetworkList) error) error
type SubnetworksScopedList
    func (s *SubnetworksScopedList) MarshalJSON() ([]byte, error)
type SubnetworksScopedListWarning
    func (s *SubnetworksScopedListWarning) MarshalJSON() ([]byte, error)
type SubnetworksScopedListWarningData
    func (s *SubnetworksScopedListWarningData) MarshalJSON() ([]byte, error)
type SubnetworksService
    func NewSubnetworksService(s *Service) *SubnetworksService
    func (r *SubnetworksService) AggregatedList(project string) *SubnetworksAggregatedListCall
    func (r *SubnetworksService) Delete(project string, region string, subnetwork string) *SubnetworksDeleteCall
    func (r *SubnetworksService) ExpandIpCidrRange(project string, region string, subnetwork string, subnetworksexpandipcidrrangerequest *SubnetworksExpandIpCidrRangeRequest) *SubnetworksExpandIpCidrRangeCall
    func (r *SubnetworksService) Get(project string, region string, subnetwork string) *SubnetworksGetCall
    func (r *SubnetworksService) Insert(project string, region string, subnetwork *Subnetwork) *SubnetworksInsertCall
    func (r *SubnetworksService) List(project string, region string) *SubnetworksListCall
    func (r *SubnetworksService) SetPrivateIpGoogleAccess(project string, region string, subnetwork string, subnetworkssetprivateipgoogleaccessrequest *SubnetworksSetPrivateIpGoogleAccessRequest) *SubnetworksSetPrivateIpGoogleAccessCall
type SubnetworksSetPrivateIpGoogleAccessCall
    func (c *SubnetworksSetPrivateIpGoogleAccessCall) Context(ctx context.Context) *SubnetworksSetPrivateIpGoogleAccessCall
    func (c *SubnetworksSetPrivateIpGoogleAccessCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *SubnetworksSetPrivateIpGoogleAccessCall) Fields(s ...googleapi.Field) *SubnetworksSetPrivateIpGoogleAccessCall
    func (c *SubnetworksSetPrivateIpGoogleAccessCall) Header() http.Header
type SubnetworksSetPrivateIpGoogleAccessRequest
    func (s *SubnetworksSetPrivateIpGoogleAccessRequest) MarshalJSON() ([]byte, error)
type TCPHealthCheck
    func (s *TCPHealthCheck) MarshalJSON() ([]byte, error)
type Tags
    func (s *Tags) MarshalJSON() ([]byte, error)
type TargetHttpProxiesDeleteCall
    func (c *TargetHttpProxiesDeleteCall) Context(ctx context.Context) *TargetHttpProxiesDeleteCall
    func (c *TargetHttpProxiesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetHttpProxiesDeleteCall) Fields(s ...googleapi.Field) *TargetHttpProxiesDeleteCall
    func (c *TargetHttpProxiesDeleteCall) Header() http.Header
type TargetHttpProxiesGetCall
    func (c *TargetHttpProxiesGetCall) Context(ctx context.Context) *TargetHttpProxiesGetCall
    func (c *TargetHttpProxiesGetCall) Do(opts ...googleapi.CallOption) (*TargetHttpProxy, error)
    func (c *TargetHttpProxiesGetCall) Fields(s ...googleapi.Field) *TargetHttpProxiesGetCall
    func (c *TargetHttpProxiesGetCall) Header() http.Header
    func (c *TargetHttpProxiesGetCall) IfNoneMatch(entityTag string) *TargetHttpProxiesGetCall
type TargetHttpProxiesInsertCall
    func (c *TargetHttpProxiesInsertCall) Context(ctx context.Context) *TargetHttpProxiesInsertCall
    func (c *TargetHttpProxiesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetHttpProxiesInsertCall) Fields(s ...googleapi.Field) *TargetHttpProxiesInsertCall
    func (c *TargetHttpProxiesInsertCall) Header() http.Header
type TargetHttpProxiesListCall
    func (c *TargetHttpProxiesListCall) Context(ctx context.Context) *TargetHttpProxiesListCall
    func (c *TargetHttpProxiesListCall) Do(opts ...googleapi.CallOption) (*TargetHttpProxyList, error)
    func (c *TargetHttpProxiesListCall) Fields(s ...googleapi.Field) *TargetHttpProxiesListCall
    func (c *TargetHttpProxiesListCall) Filter(filter string) *TargetHttpProxiesListCall
    func (c *TargetHttpProxiesListCall) Header() http.Header
    func (c *TargetHttpProxiesListCall) IfNoneMatch(entityTag string) *TargetHttpProxiesListCall
    func (c *TargetHttpProxiesListCall) MaxResults(maxResults int64) *TargetHttpProxiesListCall
    func (c *TargetHttpProxiesListCall) OrderBy(orderBy string) *TargetHttpProxiesListCall
    func (c *TargetHttpProxiesListCall) PageToken(pageToken string) *TargetHttpProxiesListCall
    func (c *TargetHttpProxiesListCall) Pages(ctx context.Context, f func(*TargetHttpProxyList) error) error
type TargetHttpProxiesService
    func NewTargetHttpProxiesService(s *Service) *TargetHttpProxiesService
    func (r *TargetHttpProxiesService) Delete(project string, targetHttpProxy string) *TargetHttpProxiesDeleteCall
    func (r *TargetHttpProxiesService) Get(project string, targetHttpProxy string) *TargetHttpProxiesGetCall
    func (r *TargetHttpProxiesService) Insert(project string, targethttpproxy *TargetHttpProxy) *TargetHttpProxiesInsertCall
    func (r *TargetHttpProxiesService) List(project string) *TargetHttpProxiesListCall
    func (r *TargetHttpProxiesService) SetUrlMap(project string, targetHttpProxy string, urlmapreference *UrlMapReference) *TargetHttpProxiesSetUrlMapCall
type TargetHttpProxiesSetUrlMapCall
    func (c *TargetHttpProxiesSetUrlMapCall) Context(ctx context.Context) *TargetHttpProxiesSetUrlMapCall
    func (c *TargetHttpProxiesSetUrlMapCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetHttpProxiesSetUrlMapCall) Fields(s ...googleapi.Field) *TargetHttpProxiesSetUrlMapCall
    func (c *TargetHttpProxiesSetUrlMapCall) Header() http.Header
type TargetHttpProxy
    func (s *TargetHttpProxy) MarshalJSON() ([]byte, error)
type TargetHttpProxyList
    func (s *TargetHttpProxyList) MarshalJSON() ([]byte, error)
type TargetHttpsProxiesDeleteCall
    func (c *TargetHttpsProxiesDeleteCall) Context(ctx context.Context) *TargetHttpsProxiesDeleteCall
    func (c *TargetHttpsProxiesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetHttpsProxiesDeleteCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesDeleteCall
    func (c *TargetHttpsProxiesDeleteCall) Header() http.Header
type TargetHttpsProxiesGetCall
    func (c *TargetHttpsProxiesGetCall) Context(ctx context.Context) *TargetHttpsProxiesGetCall
    func (c *TargetHttpsProxiesGetCall) Do(opts ...googleapi.CallOption) (*TargetHttpsProxy, error)
    func (c *TargetHttpsProxiesGetCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesGetCall
    func (c *TargetHttpsProxiesGetCall) Header() http.Header
    func (c *TargetHttpsProxiesGetCall) IfNoneMatch(entityTag string) *TargetHttpsProxiesGetCall
type TargetHttpsProxiesInsertCall
    func (c *TargetHttpsProxiesInsertCall) Context(ctx context.Context) *TargetHttpsProxiesInsertCall
    func (c *TargetHttpsProxiesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetHttpsProxiesInsertCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesInsertCall
    func (c *TargetHttpsProxiesInsertCall) Header() http.Header
type TargetHttpsProxiesListCall
    func (c *TargetHttpsProxiesListCall) Context(ctx context.Context) *TargetHttpsProxiesListCall
    func (c *TargetHttpsProxiesListCall) Do(opts ...googleapi.CallOption) (*TargetHttpsProxyList, error)
    func (c *TargetHttpsProxiesListCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesListCall
    func (c *TargetHttpsProxiesListCall) Filter(filter string) *TargetHttpsProxiesListCall
    func (c *TargetHttpsProxiesListCall) Header() http.Header
    func (c *TargetHttpsProxiesListCall) IfNoneMatch(entityTag string) *TargetHttpsProxiesListCall
    func (c *TargetHttpsProxiesListCall) MaxResults(maxResults int64) *TargetHttpsProxiesListCall
    func (c *TargetHttpsProxiesListCall) OrderBy(orderBy string) *TargetHttpsProxiesListCall
    func (c *TargetHttpsProxiesListCall) PageToken(pageToken string) *TargetHttpsProxiesListCall
    func (c *TargetHttpsProxiesListCall) Pages(ctx context.Context, f func(*TargetHttpsProxyList) error) error
type TargetHttpsProxiesService
    func NewTargetHttpsProxiesService(s *Service) *TargetHttpsProxiesService
    func (r *TargetHttpsProxiesService) Delete(project string, targetHttpsProxy string) *TargetHttpsProxiesDeleteCall
    func (r *TargetHttpsProxiesService) Get(project string, targetHttpsProxy string) *TargetHttpsProxiesGetCall
    func (r *TargetHttpsProxiesService) Insert(project string, targethttpsproxy *TargetHttpsProxy) *TargetHttpsProxiesInsertCall
    func (r *TargetHttpsProxiesService) List(project string) *TargetHttpsProxiesListCall
    func (r *TargetHttpsProxiesService) SetSslCertificates(project string, targetHttpsProxy string, targethttpsproxiessetsslcertificatesrequest *TargetHttpsProxiesSetSslCertificatesRequest) *TargetHttpsProxiesSetSslCertificatesCall
    func (r *TargetHttpsProxiesService) SetUrlMap(project string, targetHttpsProxy string, urlmapreference *UrlMapReference) *TargetHttpsProxiesSetUrlMapCall
type TargetHttpsProxiesSetSslCertificatesCall
    func (c *TargetHttpsProxiesSetSslCertificatesCall) Context(ctx context.Context) *TargetHttpsProxiesSetSslCertificatesCall
    func (c *TargetHttpsProxiesSetSslCertificatesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetHttpsProxiesSetSslCertificatesCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesSetSslCertificatesCall
    func (c *TargetHttpsProxiesSetSslCertificatesCall) Header() http.Header
type TargetHttpsProxiesSetSslCertificatesRequest
    func (s *TargetHttpsProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error)
type TargetHttpsProxiesSetUrlMapCall
    func (c *TargetHttpsProxiesSetUrlMapCall) Context(ctx context.Context) *TargetHttpsProxiesSetUrlMapCall
    func (c *TargetHttpsProxiesSetUrlMapCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetHttpsProxiesSetUrlMapCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesSetUrlMapCall
    func (c *TargetHttpsProxiesSetUrlMapCall) Header() http.Header
type TargetHttpsProxy
    func (s *TargetHttpsProxy) MarshalJSON() ([]byte, error)
type TargetHttpsProxyList
    func (s *TargetHttpsProxyList) MarshalJSON() ([]byte, error)
type TargetInstance
    func (s *TargetInstance) MarshalJSON() ([]byte, error)
type TargetInstanceAggregatedList
    func (s *TargetInstanceAggregatedList) MarshalJSON() ([]byte, error)
type TargetInstanceList
    func (s *TargetInstanceList) MarshalJSON() ([]byte, error)
type TargetInstancesAggregatedListCall
    func (c *TargetInstancesAggregatedListCall) Context(ctx context.Context) *TargetInstancesAggregatedListCall
    func (c *TargetInstancesAggregatedListCall) Do(opts ...googleapi.CallOption) (*TargetInstanceAggregatedList, error)
    func (c *TargetInstancesAggregatedListCall) Fields(s ...googleapi.Field) *TargetInstancesAggregatedListCall
    func (c *TargetInstancesAggregatedListCall) Filter(filter string) *TargetInstancesAggregatedListCall
    func (c *TargetInstancesAggregatedListCall) Header() http.Header
    func (c *TargetInstancesAggregatedListCall) IfNoneMatch(entityTag string) *TargetInstancesAggregatedListCall
    func (c *TargetInstancesAggregatedListCall) MaxResults(maxResults int64) *TargetInstancesAggregatedListCall
    func (c *TargetInstancesAggregatedListCall) OrderBy(orderBy string) *TargetInstancesAggregatedListCall
    func (c *TargetInstancesAggregatedListCall) PageToken(pageToken string) *TargetInstancesAggregatedListCall
    func (c *TargetInstancesAggregatedListCall) Pages(ctx context.Context, f func(*TargetInstanceAggregatedList) error) error
type TargetInstancesDeleteCall
    func (c *TargetInstancesDeleteCall) Context(ctx context.Context) *TargetInstancesDeleteCall
    func (c *TargetInstancesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetInstancesDeleteCall) Fields(s ...googleapi.Field) *TargetInstancesDeleteCall
    func (c *TargetInstancesDeleteCall) Header() http.Header
type TargetInstancesGetCall
    func (c *TargetInstancesGetCall) Context(ctx context.Context) *TargetInstancesGetCall
    func (c *TargetInstancesGetCall) Do(opts ...googleapi.CallOption) (*TargetInstance, error)
    func (c *TargetInstancesGetCall) Fields(s ...googleapi.Field) *TargetInstancesGetCall
    func (c *TargetInstancesGetCall) Header() http.Header
    func (c *TargetInstancesGetCall) IfNoneMatch(entityTag string) *TargetInstancesGetCall
type TargetInstancesInsertCall
    func (c *TargetInstancesInsertCall) Context(ctx context.Context) *TargetInstancesInsertCall
    func (c *TargetInstancesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetInstancesInsertCall) Fields(s ...googleapi.Field) *TargetInstancesInsertCall
    func (c *TargetInstancesInsertCall) Header() http.Header
type TargetInstancesListCall
    func (c *TargetInstancesListCall) Context(ctx context.Context) *TargetInstancesListCall
    func (c *TargetInstancesListCall) Do(opts ...googleapi.CallOption) (*TargetInstanceList, error)
    func (c *TargetInstancesListCall) Fields(s ...googleapi.Field) *TargetInstancesListCall
    func (c *TargetInstancesListCall) Filter(filter string) *TargetInstancesListCall
    func (c *TargetInstancesListCall) Header() http.Header
    func (c *TargetInstancesListCall) IfNoneMatch(entityTag string) *TargetInstancesListCall
    func (c *TargetInstancesListCall) MaxResults(maxResults int64) *TargetInstancesListCall
    func (c *TargetInstancesListCall) OrderBy(orderBy string) *TargetInstancesListCall
    func (c *TargetInstancesListCall) PageToken(pageToken string) *TargetInstancesListCall
    func (c *TargetInstancesListCall) Pages(ctx context.Context, f func(*TargetInstanceList) error) error
type TargetInstancesScopedList
    func (s *TargetInstancesScopedList) MarshalJSON() ([]byte, error)
type TargetInstancesScopedListWarning
    func (s *TargetInstancesScopedListWarning) MarshalJSON() ([]byte, error)
type TargetInstancesScopedListWarningData
    func (s *TargetInstancesScopedListWarningData) MarshalJSON() ([]byte, error)
type TargetInstancesService
    func NewTargetInstancesService(s *Service) *TargetInstancesService
    func (r *TargetInstancesService) AggregatedList(project string) *TargetInstancesAggregatedListCall
    func (r *TargetInstancesService) Delete(project string, zone string, targetInstance string) *TargetInstancesDeleteCall
    func (r *TargetInstancesService) Get(project string, zone string, targetInstance string) *TargetInstancesGetCall
    func (r *TargetInstancesService) Insert(project string, zone string, targetinstance *TargetInstance) *TargetInstancesInsertCall
    func (r *TargetInstancesService) List(project string, zone string) *TargetInstancesListCall
type TargetPool
    func (s *TargetPool) MarshalJSON() ([]byte, error)
    func (s *TargetPool) UnmarshalJSON(data []byte) error
type TargetPoolAggregatedList
    func (s *TargetPoolAggregatedList) MarshalJSON() ([]byte, error)
type TargetPoolInstanceHealth
    func (s *TargetPoolInstanceHealth) MarshalJSON() ([]byte, error)
type TargetPoolList
    func (s *TargetPoolList) MarshalJSON() ([]byte, error)
type TargetPoolsAddHealthCheckCall
    func (c *TargetPoolsAddHealthCheckCall) Context(ctx context.Context) *TargetPoolsAddHealthCheckCall
    func (c *TargetPoolsAddHealthCheckCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetPoolsAddHealthCheckCall) Fields(s ...googleapi.Field) *TargetPoolsAddHealthCheckCall
    func (c *TargetPoolsAddHealthCheckCall) Header() http.Header
type TargetPoolsAddHealthCheckRequest
    func (s *TargetPoolsAddHealthCheckRequest) MarshalJSON() ([]byte, error)
type TargetPoolsAddInstanceCall
    func (c *TargetPoolsAddInstanceCall) Context(ctx context.Context) *TargetPoolsAddInstanceCall
    func (c *TargetPoolsAddInstanceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetPoolsAddInstanceCall) Fields(s ...googleapi.Field) *TargetPoolsAddInstanceCall
    func (c *TargetPoolsAddInstanceCall) Header() http.Header
type TargetPoolsAddInstanceRequest
    func (s *TargetPoolsAddInstanceRequest) MarshalJSON() ([]byte, error)
type TargetPoolsAggregatedListCall
    func (c *TargetPoolsAggregatedListCall) Context(ctx context.Context) *TargetPoolsAggregatedListCall
    func (c *TargetPoolsAggregatedListCall) Do(opts ...googleapi.CallOption) (*TargetPoolAggregatedList, error)
    func (c *TargetPoolsAggregatedListCall) Fields(s ...googleapi.Field) *TargetPoolsAggregatedListCall
    func (c *TargetPoolsAggregatedListCall) Filter(filter string) *TargetPoolsAggregatedListCall
    func (c *TargetPoolsAggregatedListCall) Header() http.Header
    func (c *TargetPoolsAggregatedListCall) IfNoneMatch(entityTag string) *TargetPoolsAggregatedListCall
    func (c *TargetPoolsAggregatedListCall) MaxResults(maxResults int64) *TargetPoolsAggregatedListCall
    func (c *TargetPoolsAggregatedListCall) OrderBy(orderBy string) *TargetPoolsAggregatedListCall
    func (c *TargetPoolsAggregatedListCall) PageToken(pageToken string) *TargetPoolsAggregatedListCall
    func (c *TargetPoolsAggregatedListCall) Pages(ctx context.Context, f func(*TargetPoolAggregatedList) error) error
type TargetPoolsDeleteCall
    func (c *TargetPoolsDeleteCall) Context(ctx context.Context) *TargetPoolsDeleteCall
    func (c *TargetPoolsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetPoolsDeleteCall) Fields(s ...googleapi.Field) *TargetPoolsDeleteCall
    func (c *TargetPoolsDeleteCall) Header() http.Header
type TargetPoolsGetCall
    func (c *TargetPoolsGetCall) Context(ctx context.Context) *TargetPoolsGetCall
    func (c *TargetPoolsGetCall) Do(opts ...googleapi.CallOption) (*TargetPool, error)
    func (c *TargetPoolsGetCall) Fields(s ...googleapi.Field) *TargetPoolsGetCall
    func (c *TargetPoolsGetCall) Header() http.Header
    func (c *TargetPoolsGetCall) IfNoneMatch(entityTag string) *TargetPoolsGetCall
type TargetPoolsGetHealthCall
    func (c *TargetPoolsGetHealthCall) Context(ctx context.Context) *TargetPoolsGetHealthCall
    func (c *TargetPoolsGetHealthCall) Do(opts ...googleapi.CallOption) (*TargetPoolInstanceHealth, error)
    func (c *TargetPoolsGetHealthCall) Fields(s ...googleapi.Field) *TargetPoolsGetHealthCall
    func (c *TargetPoolsGetHealthCall) Header() http.Header
type TargetPoolsInsertCall
    func (c *TargetPoolsInsertCall) Context(ctx context.Context) *TargetPoolsInsertCall
    func (c *TargetPoolsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetPoolsInsertCall) Fields(s ...googleapi.Field) *TargetPoolsInsertCall
    func (c *TargetPoolsInsertCall) Header() http.Header
type TargetPoolsListCall
    func (c *TargetPoolsListCall) Context(ctx context.Context) *TargetPoolsListCall
    func (c *TargetPoolsListCall) Do(opts ...googleapi.CallOption) (*TargetPoolList, error)
    func (c *TargetPoolsListCall) Fields(s ...googleapi.Field) *TargetPoolsListCall
    func (c *TargetPoolsListCall) Filter(filter string) *TargetPoolsListCall
    func (c *TargetPoolsListCall) Header() http.Header
    func (c *TargetPoolsListCall) IfNoneMatch(entityTag string) *TargetPoolsListCall
    func (c *TargetPoolsListCall) MaxResults(maxResults int64) *TargetPoolsListCall
    func (c *TargetPoolsListCall) OrderBy(orderBy string) *TargetPoolsListCall
    func (c *TargetPoolsListCall) PageToken(pageToken string) *TargetPoolsListCall
    func (c *TargetPoolsListCall) Pages(ctx context.Context, f func(*TargetPoolList) error) error
type TargetPoolsRemoveHealthCheckCall
    func (c *TargetPoolsRemoveHealthCheckCall) Context(ctx context.Context) *TargetPoolsRemoveHealthCheckCall
    func (c *TargetPoolsRemoveHealthCheckCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetPoolsRemoveHealthCheckCall) Fields(s ...googleapi.Field) *TargetPoolsRemoveHealthCheckCall
    func (c *TargetPoolsRemoveHealthCheckCall) Header() http.Header
type TargetPoolsRemoveHealthCheckRequest
    func (s *TargetPoolsRemoveHealthCheckRequest) MarshalJSON() ([]byte, error)
type TargetPoolsRemoveInstanceCall
    func (c *TargetPoolsRemoveInstanceCall) Context(ctx context.Context) *TargetPoolsRemoveInstanceCall
    func (c *TargetPoolsRemoveInstanceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetPoolsRemoveInstanceCall) Fields(s ...googleapi.Field) *TargetPoolsRemoveInstanceCall
    func (c *TargetPoolsRemoveInstanceCall) Header() http.Header
type TargetPoolsRemoveInstanceRequest
    func (s *TargetPoolsRemoveInstanceRequest) MarshalJSON() ([]byte, error)
type TargetPoolsScopedList
    func (s *TargetPoolsScopedList) MarshalJSON() ([]byte, error)
type TargetPoolsScopedListWarning
    func (s *TargetPoolsScopedListWarning) MarshalJSON() ([]byte, error)
type TargetPoolsScopedListWarningData
    func (s *TargetPoolsScopedListWarningData) MarshalJSON() ([]byte, error)
type TargetPoolsService
    func NewTargetPoolsService(s *Service) *TargetPoolsService
    func (r *TargetPoolsService) AddHealthCheck(project string, region string, targetPool string, targetpoolsaddhealthcheckrequest *TargetPoolsAddHealthCheckRequest) *TargetPoolsAddHealthCheckCall
    func (r *TargetPoolsService) AddInstance(project string, region string, targetPool string, targetpoolsaddinstancerequest *TargetPoolsAddInstanceRequest) *TargetPoolsAddInstanceCall
    func (r *TargetPoolsService) AggregatedList(project string) *TargetPoolsAggregatedListCall
    func (r *TargetPoolsService) Delete(project string, region string, targetPool string) *TargetPoolsDeleteCall
    func (r *TargetPoolsService) Get(project string, region string, targetPool string) *TargetPoolsGetCall
    func (r *TargetPoolsService) GetHealth(project string, region string, targetPool string, instancereference *InstanceReference) *TargetPoolsGetHealthCall
    func (r *TargetPoolsService) Insert(project string, region string, targetpool *TargetPool) *TargetPoolsInsertCall
    func (r *TargetPoolsService) List(project string, region string) *TargetPoolsListCall
    func (r *TargetPoolsService) RemoveHealthCheck(project string, region string, targetPool string, targetpoolsremovehealthcheckrequest *TargetPoolsRemoveHealthCheckRequest) *TargetPoolsRemoveHealthCheckCall
    func (r *TargetPoolsService) RemoveInstance(project string, region string, targetPool string, targetpoolsremoveinstancerequest *TargetPoolsRemoveInstanceRequest) *TargetPoolsRemoveInstanceCall
    func (r *TargetPoolsService) SetBackup(project string, region string, targetPool string, targetreference *TargetReference) *TargetPoolsSetBackupCall
type TargetPoolsSetBackupCall
    func (c *TargetPoolsSetBackupCall) Context(ctx context.Context) *TargetPoolsSetBackupCall
    func (c *TargetPoolsSetBackupCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetPoolsSetBackupCall) FailoverRatio(failoverRatio float64) *TargetPoolsSetBackupCall
    func (c *TargetPoolsSetBackupCall) Fields(s ...googleapi.Field) *TargetPoolsSetBackupCall
    func (c *TargetPoolsSetBackupCall) Header() http.Header
type TargetReference
    func (s *TargetReference) MarshalJSON() ([]byte, error)
type TargetSslProxiesDeleteCall
    func (c *TargetSslProxiesDeleteCall) Context(ctx context.Context) *TargetSslProxiesDeleteCall
    func (c *TargetSslProxiesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetSslProxiesDeleteCall) Fields(s ...googleapi.Field) *TargetSslProxiesDeleteCall
    func (c *TargetSslProxiesDeleteCall) Header() http.Header
type TargetSslProxiesGetCall
    func (c *TargetSslProxiesGetCall) Context(ctx context.Context) *TargetSslProxiesGetCall
    func (c *TargetSslProxiesGetCall) Do(opts ...googleapi.CallOption) (*TargetSslProxy, error)
    func (c *TargetSslProxiesGetCall) Fields(s ...googleapi.Field) *TargetSslProxiesGetCall
    func (c *TargetSslProxiesGetCall) Header() http.Header
    func (c *TargetSslProxiesGetCall) IfNoneMatch(entityTag string) *TargetSslProxiesGetCall
type TargetSslProxiesInsertCall
    func (c *TargetSslProxiesInsertCall) Context(ctx context.Context) *TargetSslProxiesInsertCall
    func (c *TargetSslProxiesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetSslProxiesInsertCall) Fields(s ...googleapi.Field) *TargetSslProxiesInsertCall
    func (c *TargetSslProxiesInsertCall) Header() http.Header
type TargetSslProxiesListCall
    func (c *TargetSslProxiesListCall) Context(ctx context.Context) *TargetSslProxiesListCall
    func (c *TargetSslProxiesListCall) Do(opts ...googleapi.CallOption) (*TargetSslProxyList, error)
    func (c *TargetSslProxiesListCall) Fields(s ...googleapi.Field) *TargetSslProxiesListCall
    func (c *TargetSslProxiesListCall) Filter(filter string) *TargetSslProxiesListCall
    func (c *TargetSslProxiesListCall) Header() http.Header
    func (c *TargetSslProxiesListCall) IfNoneMatch(entityTag string) *TargetSslProxiesListCall
    func (c *TargetSslProxiesListCall) MaxResults(maxResults int64) *TargetSslProxiesListCall
    func (c *TargetSslProxiesListCall) OrderBy(orderBy string) *TargetSslProxiesListCall
    func (c *TargetSslProxiesListCall) PageToken(pageToken string) *TargetSslProxiesListCall
    func (c *TargetSslProxiesListCall) Pages(ctx context.Context, f func(*TargetSslProxyList) error) error
type TargetSslProxiesService
    func NewTargetSslProxiesService(s *Service) *TargetSslProxiesService
    func (r *TargetSslProxiesService) Delete(project string, targetSslProxy string) *TargetSslProxiesDeleteCall
    func (r *TargetSslProxiesService) Get(project string, targetSslProxy string) *TargetSslProxiesGetCall
    func (r *TargetSslProxiesService) Insert(project string, targetsslproxy *TargetSslProxy) *TargetSslProxiesInsertCall
    func (r *TargetSslProxiesService) List(project string) *TargetSslProxiesListCall
    func (r *TargetSslProxiesService) SetBackendService(project string, targetSslProxy string, targetsslproxiessetbackendservicerequest *TargetSslProxiesSetBackendServiceRequest) *TargetSslProxiesSetBackendServiceCall
    func (r *TargetSslProxiesService) SetProxyHeader(project string, targetSslProxy string, targetsslproxiessetproxyheaderrequest *TargetSslProxiesSetProxyHeaderRequest) *TargetSslProxiesSetProxyHeaderCall
    func (r *TargetSslProxiesService) SetSslCertificates(project string, targetSslProxy string, targetsslproxiessetsslcertificatesrequest *TargetSslProxiesSetSslCertificatesRequest) *TargetSslProxiesSetSslCertificatesCall
type TargetSslProxiesSetBackendServiceCall
    func (c *TargetSslProxiesSetBackendServiceCall) Context(ctx context.Context) *TargetSslProxiesSetBackendServiceCall
    func (c *TargetSslProxiesSetBackendServiceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetSslProxiesSetBackendServiceCall) Fields(s ...googleapi.Field) *TargetSslProxiesSetBackendServiceCall
    func (c *TargetSslProxiesSetBackendServiceCall) Header() http.Header
type TargetSslProxiesSetBackendServiceRequest
    func (s *TargetSslProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error)
type TargetSslProxiesSetProxyHeaderCall
    func (c *TargetSslProxiesSetProxyHeaderCall) Context(ctx context.Context) *TargetSslProxiesSetProxyHeaderCall
    func (c *TargetSslProxiesSetProxyHeaderCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetSslProxiesSetProxyHeaderCall) Fields(s ...googleapi.Field) *TargetSslProxiesSetProxyHeaderCall
    func (c *TargetSslProxiesSetProxyHeaderCall) Header() http.Header
type TargetSslProxiesSetProxyHeaderRequest
    func (s *TargetSslProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error)
type TargetSslProxiesSetSslCertificatesCall
    func (c *TargetSslProxiesSetSslCertificatesCall) Context(ctx context.Context) *TargetSslProxiesSetSslCertificatesCall
    func (c *TargetSslProxiesSetSslCertificatesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetSslProxiesSetSslCertificatesCall) Fields(s ...googleapi.Field) *TargetSslProxiesSetSslCertificatesCall
    func (c *TargetSslProxiesSetSslCertificatesCall) Header() http.Header
type TargetSslProxiesSetSslCertificatesRequest
    func (s *TargetSslProxiesSetSslCertificatesRequest) MarshalJSON() ([]byte, error)
type TargetSslProxy
    func (s *TargetSslProxy) MarshalJSON() ([]byte, error)
type TargetSslProxyList
    func (s *TargetSslProxyList) MarshalJSON() ([]byte, error)
type TargetTcpProxiesDeleteCall
    func (c *TargetTcpProxiesDeleteCall) Context(ctx context.Context) *TargetTcpProxiesDeleteCall
    func (c *TargetTcpProxiesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetTcpProxiesDeleteCall) Fields(s ...googleapi.Field) *TargetTcpProxiesDeleteCall
    func (c *TargetTcpProxiesDeleteCall) Header() http.Header
type TargetTcpProxiesGetCall
    func (c *TargetTcpProxiesGetCall) Context(ctx context.Context) *TargetTcpProxiesGetCall
    func (c *TargetTcpProxiesGetCall) Do(opts ...googleapi.CallOption) (*TargetTcpProxy, error)
    func (c *TargetTcpProxiesGetCall) Fields(s ...googleapi.Field) *TargetTcpProxiesGetCall
    func (c *TargetTcpProxiesGetCall) Header() http.Header
    func (c *TargetTcpProxiesGetCall) IfNoneMatch(entityTag string) *TargetTcpProxiesGetCall
type TargetTcpProxiesInsertCall
    func (c *TargetTcpProxiesInsertCall) Context(ctx context.Context) *TargetTcpProxiesInsertCall
    func (c *TargetTcpProxiesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetTcpProxiesInsertCall) Fields(s ...googleapi.Field) *TargetTcpProxiesInsertCall
    func (c *TargetTcpProxiesInsertCall) Header() http.Header
type TargetTcpProxiesListCall
    func (c *TargetTcpProxiesListCall) Context(ctx context.Context) *TargetTcpProxiesListCall
    func (c *TargetTcpProxiesListCall) Do(opts ...googleapi.CallOption) (*TargetTcpProxyList, error)
    func (c *TargetTcpProxiesListCall) Fields(s ...googleapi.Field) *TargetTcpProxiesListCall
    func (c *TargetTcpProxiesListCall) Filter(filter string) *TargetTcpProxiesListCall
    func (c *TargetTcpProxiesListCall) Header() http.Header
    func (c *TargetTcpProxiesListCall) IfNoneMatch(entityTag string) *TargetTcpProxiesListCall
    func (c *TargetTcpProxiesListCall) MaxResults(maxResults int64) *TargetTcpProxiesListCall
    func (c *TargetTcpProxiesListCall) OrderBy(orderBy string) *TargetTcpProxiesListCall
    func (c *TargetTcpProxiesListCall) PageToken(pageToken string) *TargetTcpProxiesListCall
    func (c *TargetTcpProxiesListCall) Pages(ctx context.Context, f func(*TargetTcpProxyList) error) error
type TargetTcpProxiesService
    func NewTargetTcpProxiesService(s *Service) *TargetTcpProxiesService
    func (r *TargetTcpProxiesService) Delete(project string, targetTcpProxy string) *TargetTcpProxiesDeleteCall
    func (r *TargetTcpProxiesService) Get(project string, targetTcpProxy string) *TargetTcpProxiesGetCall
    func (r *TargetTcpProxiesService) Insert(project string, targettcpproxy *TargetTcpProxy) *TargetTcpProxiesInsertCall
    func (r *TargetTcpProxiesService) List(project string) *TargetTcpProxiesListCall
    func (r *TargetTcpProxiesService) SetBackendService(project string, targetTcpProxy string, targettcpproxiessetbackendservicerequest *TargetTcpProxiesSetBackendServiceRequest) *TargetTcpProxiesSetBackendServiceCall
    func (r *TargetTcpProxiesService) SetProxyHeader(project string, targetTcpProxy string, targettcpproxiessetproxyheaderrequest *TargetTcpProxiesSetProxyHeaderRequest) *TargetTcpProxiesSetProxyHeaderCall
type TargetTcpProxiesSetBackendServiceCall
    func (c *TargetTcpProxiesSetBackendServiceCall) Context(ctx context.Context) *TargetTcpProxiesSetBackendServiceCall
    func (c *TargetTcpProxiesSetBackendServiceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetTcpProxiesSetBackendServiceCall) Fields(s ...googleapi.Field) *TargetTcpProxiesSetBackendServiceCall
    func (c *TargetTcpProxiesSetBackendServiceCall) Header() http.Header
type TargetTcpProxiesSetBackendServiceRequest
    func (s *TargetTcpProxiesSetBackendServiceRequest) MarshalJSON() ([]byte, error)
type TargetTcpProxiesSetProxyHeaderCall
    func (c *TargetTcpProxiesSetProxyHeaderCall) Context(ctx context.Context) *TargetTcpProxiesSetProxyHeaderCall
    func (c *TargetTcpProxiesSetProxyHeaderCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetTcpProxiesSetProxyHeaderCall) Fields(s ...googleapi.Field) *TargetTcpProxiesSetProxyHeaderCall
    func (c *TargetTcpProxiesSetProxyHeaderCall) Header() http.Header
type TargetTcpProxiesSetProxyHeaderRequest
    func (s *TargetTcpProxiesSetProxyHeaderRequest) MarshalJSON() ([]byte, error)
type TargetTcpProxy
    func (s *TargetTcpProxy) MarshalJSON() ([]byte, error)
type TargetTcpProxyList
    func (s *TargetTcpProxyList) MarshalJSON() ([]byte, error)
type TargetVpnGateway
    func (s *TargetVpnGateway) MarshalJSON() ([]byte, error)
type TargetVpnGatewayAggregatedList
    func (s *TargetVpnGatewayAggregatedList) MarshalJSON() ([]byte, error)
type TargetVpnGatewayList
    func (s *TargetVpnGatewayList) MarshalJSON() ([]byte, error)
type TargetVpnGatewaysAggregatedListCall
    func (c *TargetVpnGatewaysAggregatedListCall) Context(ctx context.Context) *TargetVpnGatewaysAggregatedListCall
    func (c *TargetVpnGatewaysAggregatedListCall) Do(opts ...googleapi.CallOption) (*TargetVpnGatewayAggregatedList, error)
    func (c *TargetVpnGatewaysAggregatedListCall) Fields(s ...googleapi.Field) *TargetVpnGatewaysAggregatedListCall
    func (c *TargetVpnGatewaysAggregatedListCall) Filter(filter string) *TargetVpnGatewaysAggregatedListCall
    func (c *TargetVpnGatewaysAggregatedListCall) Header() http.Header
    func (c *TargetVpnGatewaysAggregatedListCall) IfNoneMatch(entityTag string) *TargetVpnGatewaysAggregatedListCall
    func (c *TargetVpnGatewaysAggregatedListCall) MaxResults(maxResults int64) *TargetVpnGatewaysAggregatedListCall
    func (c *TargetVpnGatewaysAggregatedListCall) OrderBy(orderBy string) *TargetVpnGatewaysAggregatedListCall
    func (c *TargetVpnGatewaysAggregatedListCall) PageToken(pageToken string) *TargetVpnGatewaysAggregatedListCall
    func (c *TargetVpnGatewaysAggregatedListCall) Pages(ctx context.Context, f func(*TargetVpnGatewayAggregatedList) error) error
type TargetVpnGatewaysDeleteCall
    func (c *TargetVpnGatewaysDeleteCall) Context(ctx context.Context) *TargetVpnGatewaysDeleteCall
    func (c *TargetVpnGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetVpnGatewaysDeleteCall) Fields(s ...googleapi.Field) *TargetVpnGatewaysDeleteCall
    func (c *TargetVpnGatewaysDeleteCall) Header() http.Header
type TargetVpnGatewaysGetCall
    func (c *TargetVpnGatewaysGetCall) Context(ctx context.Context) *TargetVpnGatewaysGetCall
    func (c *TargetVpnGatewaysGetCall) Do(opts ...googleapi.CallOption) (*TargetVpnGateway, error)
    func (c *TargetVpnGatewaysGetCall) Fields(s ...googleapi.Field) *TargetVpnGatewaysGetCall
    func (c *TargetVpnGatewaysGetCall) Header() http.Header
    func (c *TargetVpnGatewaysGetCall) IfNoneMatch(entityTag string) *TargetVpnGatewaysGetCall
type TargetVpnGatewaysInsertCall
    func (c *TargetVpnGatewaysInsertCall) Context(ctx context.Context) *TargetVpnGatewaysInsertCall
    func (c *TargetVpnGatewaysInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *TargetVpnGatewaysInsertCall) Fields(s ...googleapi.Field) *TargetVpnGatewaysInsertCall
    func (c *TargetVpnGatewaysInsertCall) Header() http.Header
type TargetVpnGatewaysListCall
    func (c *TargetVpnGatewaysListCall) Context(ctx context.Context) *TargetVpnGatewaysListCall
    func (c *TargetVpnGatewaysListCall) Do(opts ...googleapi.CallOption) (*TargetVpnGatewayList, error)
    func (c *TargetVpnGatewaysListCall) Fields(s ...googleapi.Field) *TargetVpnGatewaysListCall
    func (c *TargetVpnGatewaysListCall) Filter(filter string) *TargetVpnGatewaysListCall
    func (c *TargetVpnGatewaysListCall) Header() http.Header
    func (c *TargetVpnGatewaysListCall) IfNoneMatch(entityTag string) *TargetVpnGatewaysListCall
    func (c *TargetVpnGatewaysListCall) MaxResults(maxResults int64) *TargetVpnGatewaysListCall
    func (c *TargetVpnGatewaysListCall) OrderBy(orderBy string) *TargetVpnGatewaysListCall
    func (c *TargetVpnGatewaysListCall) PageToken(pageToken string) *TargetVpnGatewaysListCall
    func (c *TargetVpnGatewaysListCall) Pages(ctx context.Context, f func(*TargetVpnGatewayList) error) error
type TargetVpnGatewaysScopedList
    func (s *TargetVpnGatewaysScopedList) MarshalJSON() ([]byte, error)
type TargetVpnGatewaysScopedListWarning
    func (s *TargetVpnGatewaysScopedListWarning) MarshalJSON() ([]byte, error)
type TargetVpnGatewaysScopedListWarningData
    func (s *TargetVpnGatewaysScopedListWarningData) MarshalJSON() ([]byte, error)
type TargetVpnGatewaysService
    func NewTargetVpnGatewaysService(s *Service) *TargetVpnGatewaysService
    func (r *TargetVpnGatewaysService) AggregatedList(project string) *TargetVpnGatewaysAggregatedListCall
    func (r *TargetVpnGatewaysService) Delete(project string, region string, targetVpnGateway string) *TargetVpnGatewaysDeleteCall
    func (r *TargetVpnGatewaysService) Get(project string, region string, targetVpnGateway string) *TargetVpnGatewaysGetCall
    func (r *TargetVpnGatewaysService) Insert(project string, region string, targetvpngateway *TargetVpnGateway) *TargetVpnGatewaysInsertCall
    func (r *TargetVpnGatewaysService) List(project string, region string) *TargetVpnGatewaysListCall
type TestFailure
    func (s *TestFailure) MarshalJSON() ([]byte, error)
type UrlMap
    func (s *UrlMap) MarshalJSON() ([]byte, error)
type UrlMapList
    func (s *UrlMapList) MarshalJSON() ([]byte, error)
type UrlMapReference
    func (s *UrlMapReference) MarshalJSON() ([]byte, error)
type UrlMapTest
    func (s *UrlMapTest) MarshalJSON() ([]byte, error)
type UrlMapValidationResult
    func (s *UrlMapValidationResult) MarshalJSON() ([]byte, error)
type UrlMapsDeleteCall
    func (c *UrlMapsDeleteCall) Context(ctx context.Context) *UrlMapsDeleteCall
    func (c *UrlMapsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *UrlMapsDeleteCall) Fields(s ...googleapi.Field) *UrlMapsDeleteCall
    func (c *UrlMapsDeleteCall) Header() http.Header
type UrlMapsGetCall
    func (c *UrlMapsGetCall) Context(ctx context.Context) *UrlMapsGetCall
    func (c *UrlMapsGetCall) Do(opts ...googleapi.CallOption) (*UrlMap, error)
    func (c *UrlMapsGetCall) Fields(s ...googleapi.Field) *UrlMapsGetCall
    func (c *UrlMapsGetCall) Header() http.Header
    func (c *UrlMapsGetCall) IfNoneMatch(entityTag string) *UrlMapsGetCall
type UrlMapsInsertCall
    func (c *UrlMapsInsertCall) Context(ctx context.Context) *UrlMapsInsertCall
    func (c *UrlMapsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *UrlMapsInsertCall) Fields(s ...googleapi.Field) *UrlMapsInsertCall
    func (c *UrlMapsInsertCall) Header() http.Header
type UrlMapsInvalidateCacheCall
    func (c *UrlMapsInvalidateCacheCall) Context(ctx context.Context) *UrlMapsInvalidateCacheCall
    func (c *UrlMapsInvalidateCacheCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *UrlMapsInvalidateCacheCall) Fields(s ...googleapi.Field) *UrlMapsInvalidateCacheCall
    func (c *UrlMapsInvalidateCacheCall) Header() http.Header
type UrlMapsListCall
    func (c *UrlMapsListCall) Context(ctx context.Context) *UrlMapsListCall
    func (c *UrlMapsListCall) Do(opts ...googleapi.CallOption) (*UrlMapList, error)
    func (c *UrlMapsListCall) Fields(s ...googleapi.Field) *UrlMapsListCall
    func (c *UrlMapsListCall) Filter(filter string) *UrlMapsListCall
    func (c *UrlMapsListCall) Header() http.Header
    func (c *UrlMapsListCall) IfNoneMatch(entityTag string) *UrlMapsListCall
    func (c *UrlMapsListCall) MaxResults(maxResults int64) *UrlMapsListCall
    func (c *UrlMapsListCall) OrderBy(orderBy string) *UrlMapsListCall
    func (c *UrlMapsListCall) PageToken(pageToken string) *UrlMapsListCall
    func (c *UrlMapsListCall) Pages(ctx context.Context, f func(*UrlMapList) error) error
type UrlMapsPatchCall
    func (c *UrlMapsPatchCall) Context(ctx context.Context) *UrlMapsPatchCall
    func (c *UrlMapsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *UrlMapsPatchCall) Fields(s ...googleapi.Field) *UrlMapsPatchCall
    func (c *UrlMapsPatchCall) Header() http.Header
type UrlMapsService
    func NewUrlMapsService(s *Service) *UrlMapsService
    func (r *UrlMapsService) Delete(project string, urlMap string) *UrlMapsDeleteCall
    func (r *UrlMapsService) Get(project string, urlMap string) *UrlMapsGetCall
    func (r *UrlMapsService) Insert(project string, urlmap *UrlMap) *UrlMapsInsertCall
    func (r *UrlMapsService) InvalidateCache(project string, urlMap string, cacheinvalidationrule *CacheInvalidationRule) *UrlMapsInvalidateCacheCall
    func (r *UrlMapsService) List(project string) *UrlMapsListCall
    func (r *UrlMapsService) Patch(project string, urlMap string, urlmap *UrlMap) *UrlMapsPatchCall
    func (r *UrlMapsService) Update(project string, urlMap string, urlmap *UrlMap) *UrlMapsUpdateCall
    func (r *UrlMapsService) Validate(project string, urlMap string, urlmapsvalidaterequest *UrlMapsValidateRequest) *UrlMapsValidateCall
type UrlMapsUpdateCall
    func (c *UrlMapsUpdateCall) Context(ctx context.Context) *UrlMapsUpdateCall
    func (c *UrlMapsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *UrlMapsUpdateCall) Fields(s ...googleapi.Field) *UrlMapsUpdateCall
    func (c *UrlMapsUpdateCall) Header() http.Header
type UrlMapsValidateCall
    func (c *UrlMapsValidateCall) Context(ctx context.Context) *UrlMapsValidateCall
    func (c *UrlMapsValidateCall) Do(opts ...googleapi.CallOption) (*UrlMapsValidateResponse, error)
    func (c *UrlMapsValidateCall) Fields(s ...googleapi.Field) *UrlMapsValidateCall
    func (c *UrlMapsValidateCall) Header() http.Header
type UrlMapsValidateRequest
    func (s *UrlMapsValidateRequest) MarshalJSON() ([]byte, error)
type UrlMapsValidateResponse
    func (s *UrlMapsValidateResponse) MarshalJSON() ([]byte, error)
type UsageExportLocation
    func (s *UsageExportLocation) MarshalJSON() ([]byte, error)
type VpnTunnel
    func (s *VpnTunnel) MarshalJSON() ([]byte, error)
type VpnTunnelAggregatedList
    func (s *VpnTunnelAggregatedList) MarshalJSON() ([]byte, error)
type VpnTunnelList
    func (s *VpnTunnelList) MarshalJSON() ([]byte, error)
type VpnTunnelsAggregatedListCall
    func (c *VpnTunnelsAggregatedListCall) Context(ctx context.Context) *VpnTunnelsAggregatedListCall
    func (c *VpnTunnelsAggregatedListCall) Do(opts ...googleapi.CallOption) (*VpnTunnelAggregatedList, error)
    func (c *VpnTunnelsAggregatedListCall) Fields(s ...googleapi.Field) *VpnTunnelsAggregatedListCall
    func (c *VpnTunnelsAggregatedListCall) Filter(filter string) *VpnTunnelsAggregatedListCall
    func (c *VpnTunnelsAggregatedListCall) Header() http.Header
    func (c *VpnTunnelsAggregatedListCall) IfNoneMatch(entityTag string) *VpnTunnelsAggregatedListCall
    func (c *VpnTunnelsAggregatedListCall) MaxResults(maxResults int64) *VpnTunnelsAggregatedListCall
    func (c *VpnTunnelsAggregatedListCall) OrderBy(orderBy string) *VpnTunnelsAggregatedListCall
    func (c *VpnTunnelsAggregatedListCall) PageToken(pageToken string) *VpnTunnelsAggregatedListCall
    func (c *VpnTunnelsAggregatedListCall) Pages(ctx context.Context, f func(*VpnTunnelAggregatedList) error) error
type VpnTunnelsDeleteCall
    func (c *VpnTunnelsDeleteCall) Context(ctx context.Context) *VpnTunnelsDeleteCall
    func (c *VpnTunnelsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *VpnTunnelsDeleteCall) Fields(s ...googleapi.Field) *VpnTunnelsDeleteCall
    func (c *VpnTunnelsDeleteCall) Header() http.Header
type VpnTunnelsGetCall
    func (c *VpnTunnelsGetCall) Context(ctx context.Context) *VpnTunnelsGetCall
    func (c *VpnTunnelsGetCall) Do(opts ...googleapi.CallOption) (*VpnTunnel, error)
    func (c *VpnTunnelsGetCall) Fields(s ...googleapi.Field) *VpnTunnelsGetCall
    func (c *VpnTunnelsGetCall) Header() http.Header
    func (c *VpnTunnelsGetCall) IfNoneMatch(entityTag string) *VpnTunnelsGetCall
type VpnTunnelsInsertCall
    func (c *VpnTunnelsInsertCall) Context(ctx context.Context) *VpnTunnelsInsertCall
    func (c *VpnTunnelsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *VpnTunnelsInsertCall) Fields(s ...googleapi.Field) *VpnTunnelsInsertCall
    func (c *VpnTunnelsInsertCall) Header() http.Header
type VpnTunnelsListCall
    func (c *VpnTunnelsListCall) Context(ctx context.Context) *VpnTunnelsListCall
    func (c *VpnTunnelsListCall) Do(opts ...googleapi.CallOption) (*VpnTunnelList, error)
    func (c *VpnTunnelsListCall) Fields(s ...googleapi.Field) *VpnTunnelsListCall
    func (c *VpnTunnelsListCall) Filter(filter string) *VpnTunnelsListCall
    func (c *VpnTunnelsListCall) Header() http.Header
    func (c *VpnTunnelsListCall) IfNoneMatch(entityTag string) *VpnTunnelsListCall
    func (c *VpnTunnelsListCall) MaxResults(maxResults int64) *VpnTunnelsListCall
    func (c *VpnTunnelsListCall) OrderBy(orderBy string) *VpnTunnelsListCall
    func (c *VpnTunnelsListCall) PageToken(pageToken string) *VpnTunnelsListCall
    func (c *VpnTunnelsListCall) Pages(ctx context.Context, f func(*VpnTunnelList) error) error
type VpnTunnelsScopedList
    func (s *VpnTunnelsScopedList) MarshalJSON() ([]byte, error)
type VpnTunnelsScopedListWarning
    func (s *VpnTunnelsScopedListWarning) MarshalJSON() ([]byte, error)
type VpnTunnelsScopedListWarningData
    func (s *VpnTunnelsScopedListWarningData) MarshalJSON() ([]byte, error)
type VpnTunnelsService
    func NewVpnTunnelsService(s *Service) *VpnTunnelsService
    func (r *VpnTunnelsService) AggregatedList(project string) *VpnTunnelsAggregatedListCall
    func (r *VpnTunnelsService) Delete(project string, region string, vpnTunnel string) *VpnTunnelsDeleteCall
    func (r *VpnTunnelsService) Get(project string, region string, vpnTunnel string) *VpnTunnelsGetCall
    func (r *VpnTunnelsService) Insert(project string, region string, vpntunnel *VpnTunnel) *VpnTunnelsInsertCall
    func (r *VpnTunnelsService) List(project string, region string) *VpnTunnelsListCall
type XpnHostList
    func (s *XpnHostList) MarshalJSON() ([]byte, error)
type XpnResourceId
    func (s *XpnResourceId) MarshalJSON() ([]byte, error)
type Zone
    func (s *Zone) MarshalJSON() ([]byte, error)
type ZoneList
    func (s *ZoneList) MarshalJSON() ([]byte, error)
type ZoneOperationsDeleteCall
    func (c *ZoneOperationsDeleteCall) Context(ctx context.Context) *ZoneOperationsDeleteCall
    func (c *ZoneOperationsDeleteCall) Do(opts ...googleapi.CallOption) error
    func (c *ZoneOperationsDeleteCall) Fields(s ...googleapi.Field) *ZoneOperationsDeleteCall
    func (c *ZoneOperationsDeleteCall) Header() http.Header
type ZoneOperationsGetCall
    func (c *ZoneOperationsGetCall) Context(ctx context.Context) *ZoneOperationsGetCall
    func (c *ZoneOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
    func (c *ZoneOperationsGetCall) Fields(s ...googleapi.Field) *ZoneOperationsGetCall
    func (c *ZoneOperationsGetCall) Header() http.Header
    func (c *ZoneOperationsGetCall) IfNoneMatch(entityTag string) *ZoneOperationsGetCall
type ZoneOperationsListCall
    func (c *ZoneOperationsListCall) Context(ctx context.Context) *ZoneOperationsListCall
    func (c *ZoneOperationsListCall) Do(opts ...googleapi.CallOption) (*OperationList, error)
    func (c *ZoneOperationsListCall) Fields(s ...googleapi.Field) *ZoneOperationsListCall
    func (c *ZoneOperationsListCall) Filter(filter string) *ZoneOperationsListCall
    func (c *ZoneOperationsListCall) Header() http.Header
    func (c *ZoneOperationsListCall) IfNoneMatch(entityTag string) *ZoneOperationsListCall
    func (c *ZoneOperationsListCall) MaxResults(maxResults int64) *ZoneOperationsListCall
    func (c *ZoneOperationsListCall) OrderBy(orderBy string) *ZoneOperationsListCall
    func (c *ZoneOperationsListCall) PageToken(pageToken string) *ZoneOperationsListCall
    func (c *ZoneOperationsListCall) Pages(ctx context.Context, f func(*OperationList) error) error
type ZoneOperationsService
    func NewZoneOperationsService(s *Service) *ZoneOperationsService
    func (r *ZoneOperationsService) Delete(project string, zone string, operation string) *ZoneOperationsDeleteCall
    func (r *ZoneOperationsService) Get(project string, zone string, operation string) *ZoneOperationsGetCall
    func (r *ZoneOperationsService) List(project string, zone string) *ZoneOperationsListCall
type ZoneSetLabelsRequest
    func (s *ZoneSetLabelsRequest) MarshalJSON() ([]byte, error)
type ZonesGetCall
    func (c *ZonesGetCall) Context(ctx context.Context) *ZonesGetCall
    func (c *ZonesGetCall) Do(opts ...googleapi.CallOption) (*Zone, error)
    func (c *ZonesGetCall) Fields(s ...googleapi.Field) *ZonesGetCall
    func (c *ZonesGetCall) Header() http.Header
    func (c *ZonesGetCall) IfNoneMatch(entityTag string) *ZonesGetCall
type ZonesListCall
    func (c *ZonesListCall) Context(ctx context.Context) *ZonesListCall
    func (c *ZonesListCall) Do(opts ...googleapi.CallOption) (*ZoneList, error)
    func (c *ZonesListCall) Fields(s ...googleapi.Field) *ZonesListCall
    func (c *ZonesListCall) Filter(filter string) *ZonesListCall
    func (c *ZonesListCall) Header() http.Header
    func (c *ZonesListCall) IfNoneMatch(entityTag string) *ZonesListCall
    func (c *ZonesListCall) MaxResults(maxResults int64) *ZonesListCall
    func (c *ZonesListCall) OrderBy(orderBy string) *ZonesListCall
    func (c *ZonesListCall) PageToken(pageToken string) *ZonesListCall
    func (c *ZonesListCall) Pages(ctx context.Context, f func(*ZoneList) error) error
type ZonesService
    func NewZonesService(s *Service) *ZonesService
    func (r *ZonesService) Get(project string, zone string) *ZonesGetCall
    func (r *ZonesService) List(project string) *ZonesListCall

Package files

compute-gen.go

Constants

OAuth2 scopes used by this API.

const (
    // View and manage your data across Google Cloud Platform services
    CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"

    // View and manage your Google Compute Engine resources
    ComputeScope = "https://www.googleapis.com/auth/compute"

    // View your Google Compute Engine resources
    ComputeReadonlyScope = "https://www.googleapis.com/auth/compute.readonly"

    // Manage your data and permissions in Google Cloud Storage
    DevstorageFullControlScope = "https://www.googleapis.com/auth/devstorage.full_control"

    // View your data in Google Cloud Storage
    DevstorageReadOnlyScope = "https://www.googleapis.com/auth/devstorage.read_only"

    // Manage your data in Google Cloud Storage
    DevstorageReadWriteScope = "https://www.googleapis.com/auth/devstorage.read_write"
)

type AccessConfig

AccessConfig: An access configuration attached to an instance's network interface. Only one access config per instance is supported.

type AccessConfig struct {
    // Kind: [Output Only] Type of the resource. Always compute#accessConfig
    // for access configs.
    Kind string `json:"kind,omitempty"`

    // Name: The name of this access configuration. The default and
    // recommended name is External NAT but you can use any arbitrary string
    // you would like. For example, My external IP or Network Access.
    Name string `json:"name,omitempty"`

    // NatIP: An external IP address associated with this instance. Specify
    // an unused static external IP address available to the project or
    // leave this field undefined to use an IP from a shared ephemeral IP
    // address pool. If you specify a static external IP address, it must
    // live in the same region as the zone of the instance.
    NatIP string `json:"natIP,omitempty"`

    // Type: The type of configuration. The default and only option is
    // ONE_TO_ONE_NAT.
    //
    // Possible values:
    //   "ONE_TO_ONE_NAT" (default)
    Type string `json:"type,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Kind") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Kind") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AccessConfig) MarshalJSON

func (s *AccessConfig) MarshalJSON() ([]byte, error)

type Address

Address: A reserved address resource.

type Address struct {
    // Address: The static external IP address represented by this resource.
    Address string `json:"address,omitempty"`

    // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
    // format.
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // Description: An optional description of this resource. Provide this
    // property when you create the resource.
    Description string `json:"description,omitempty"`

    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id uint64 `json:"id,omitempty,string"`

    // IpVersion: The IP Version that will be used by this address. Valid
    // options are IPV4 or IPV6. This can only be specified for a global
    // address.
    //
    // Possible values:
    //   "IPV4"
    //   "IPV6"
    //   "UNSPECIFIED_VERSION"
    IpVersion string `json:"ipVersion,omitempty"`

    // Kind: [Output Only] Type of the resource. Always compute#address for
    // addresses.
    Kind string `json:"kind,omitempty"`

    // Name: Name of the resource. Provided by the client when the resource
    // is created. The name must be 1-63 characters long, and comply with
    // RFC1035. Specifically, the name must be 1-63 characters long and
    // match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
    // the first character must be a lowercase letter, and all following
    // characters must be a dash, lowercase letter, or digit, except the
    // last character, which cannot be a dash.
    Name string `json:"name,omitempty"`

    // Region: [Output Only] URL of the region where the regional address
    // resides. This field is not applicable to global addresses.
    Region string `json:"region,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for the resource.
    SelfLink string `json:"selfLink,omitempty"`

    // Status: [Output Only] The status of the address, which can be either
    // IN_USE or RESERVED. An address that is RESERVED is currently reserved
    // and available to use. An IN_USE address is currently being used by
    // another resource and is not available.
    //
    // Possible values:
    //   "IN_USE"
    //   "RESERVED"
    Status string `json:"status,omitempty"`

    // Users: [Output Only] The URLs of the resources that are using this
    // address.
    Users []string `json:"users,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Address") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Address") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Address) MarshalJSON

func (s *Address) MarshalJSON() ([]byte, error)

type AddressAggregatedList

type AddressAggregatedList struct {
    // Id: [Output Only] Unique identifier for the resource; defined by the
    // server.
    Id string `json:"id,omitempty"`

    // Items: [Output Only] A map of scoped address lists.
    Items map[string]AddressesScopedList `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always
    // compute#addressAggregatedList for aggregated lists of addresses.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AddressAggregatedList) MarshalJSON

func (s *AddressAggregatedList) MarshalJSON() ([]byte, error)

type AddressList

AddressList: Contains a list of addresses.

type AddressList struct {
    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id string `json:"id,omitempty"`

    // Items: [Output Only] A list of addresses.
    Items []*Address `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always compute#addressList for
    // lists of addresses.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for the resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AddressList) MarshalJSON

func (s *AddressList) MarshalJSON() ([]byte, error)

type AddressesAggregatedListCall

type AddressesAggregatedListCall struct {
    // contains filtered or unexported fields
}

func (*AddressesAggregatedListCall) Context

func (c *AddressesAggregatedListCall) Context(ctx context.Context) *AddressesAggregatedListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AddressesAggregatedListCall) Do

func (c *AddressesAggregatedListCall) Do(opts ...googleapi.CallOption) (*AddressAggregatedList, error)

Do executes the "compute.addresses.aggregatedList" call. Exactly one of *AddressAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AddressAggregatedList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AddressesAggregatedListCall) Fields

func (c *AddressesAggregatedListCall) Fields(s ...googleapi.Field) *AddressesAggregatedListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AddressesAggregatedListCall) Filter

func (c *AddressesAggregatedListCall) Filter(filter string) *AddressesAggregatedListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*AddressesAggregatedListCall) Header

func (c *AddressesAggregatedListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AddressesAggregatedListCall) IfNoneMatch

func (c *AddressesAggregatedListCall) IfNoneMatch(entityTag string) *AddressesAggregatedListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AddressesAggregatedListCall) MaxResults

func (c *AddressesAggregatedListCall) MaxResults(maxResults int64) *AddressesAggregatedListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*AddressesAggregatedListCall) OrderBy

func (c *AddressesAggregatedListCall) OrderBy(orderBy string) *AddressesAggregatedListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*AddressesAggregatedListCall) PageToken

func (c *AddressesAggregatedListCall) PageToken(pageToken string) *AddressesAggregatedListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*AddressesAggregatedListCall) Pages

func (c *AddressesAggregatedListCall) Pages(ctx context.Context, f func(*AddressAggregatedList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AddressesDeleteCall

type AddressesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*AddressesDeleteCall) Context

func (c *AddressesDeleteCall) Context(ctx context.Context) *AddressesDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AddressesDeleteCall) Do

func (c *AddressesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.addresses.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AddressesDeleteCall) Fields

func (c *AddressesDeleteCall) Fields(s ...googleapi.Field) *AddressesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AddressesDeleteCall) Header

func (c *AddressesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AddressesGetCall

type AddressesGetCall struct {
    // contains filtered or unexported fields
}

func (*AddressesGetCall) Context

func (c *AddressesGetCall) Context(ctx context.Context) *AddressesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AddressesGetCall) Do

func (c *AddressesGetCall) Do(opts ...googleapi.CallOption) (*Address, error)

Do executes the "compute.addresses.get" call. Exactly one of *Address or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Address.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AddressesGetCall) Fields

func (c *AddressesGetCall) Fields(s ...googleapi.Field) *AddressesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AddressesGetCall) Header

func (c *AddressesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AddressesGetCall) IfNoneMatch

func (c *AddressesGetCall) IfNoneMatch(entityTag string) *AddressesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AddressesInsertCall

type AddressesInsertCall struct {
    // contains filtered or unexported fields
}

func (*AddressesInsertCall) Context

func (c *AddressesInsertCall) Context(ctx context.Context) *AddressesInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AddressesInsertCall) Do

func (c *AddressesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.addresses.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AddressesInsertCall) Fields

func (c *AddressesInsertCall) Fields(s ...googleapi.Field) *AddressesInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AddressesInsertCall) Header

func (c *AddressesInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AddressesListCall

type AddressesListCall struct {
    // contains filtered or unexported fields
}

func (*AddressesListCall) Context

func (c *AddressesListCall) Context(ctx context.Context) *AddressesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AddressesListCall) Do

func (c *AddressesListCall) Do(opts ...googleapi.CallOption) (*AddressList, error)

Do executes the "compute.addresses.list" call. Exactly one of *AddressList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AddressList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AddressesListCall) Fields

func (c *AddressesListCall) Fields(s ...googleapi.Field) *AddressesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AddressesListCall) Filter

func (c *AddressesListCall) Filter(filter string) *AddressesListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*AddressesListCall) Header

func (c *AddressesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AddressesListCall) IfNoneMatch

func (c *AddressesListCall) IfNoneMatch(entityTag string) *AddressesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AddressesListCall) MaxResults

func (c *AddressesListCall) MaxResults(maxResults int64) *AddressesListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*AddressesListCall) OrderBy

func (c *AddressesListCall) OrderBy(orderBy string) *AddressesListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*AddressesListCall) PageToken

func (c *AddressesListCall) PageToken(pageToken string) *AddressesListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*AddressesListCall) Pages

func (c *AddressesListCall) Pages(ctx context.Context, f func(*AddressList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AddressesScopedList

type AddressesScopedList struct {
    // Addresses: [Output Only] List of addresses contained in this scope.
    Addresses []*Address `json:"addresses,omitempty"`

    // Warning: [Output Only] Informational warning which replaces the list
    // of addresses when the list is empty.
    Warning *AddressesScopedListWarning `json:"warning,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Addresses") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Addresses") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AddressesScopedList) MarshalJSON

func (s *AddressesScopedList) MarshalJSON() ([]byte, error)

type AddressesScopedListWarning

AddressesScopedListWarning: [Output Only] Informational warning which replaces the list of addresses when the list is empty.

type AddressesScopedListWarning struct {
    // Code: [Output Only] A warning code, if applicable. For example,
    // Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in
    // the response.
    //
    // Possible values:
    //   "CLEANUP_FAILED"
    //   "DEPRECATED_RESOURCE_USED"
    //   "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
    //   "FIELD_VALUE_OVERRIDEN"
    //   "INJECTED_KERNELS_DEPRECATED"
    //   "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
    //   "NEXT_HOP_CANNOT_IP_FORWARD"
    //   "NEXT_HOP_INSTANCE_NOT_FOUND"
    //   "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
    //   "NEXT_HOP_NOT_RUNNING"
    //   "NOT_CRITICAL_ERROR"
    //   "NO_RESULTS_ON_PAGE"
    //   "REQUIRED_TOS_AGREEMENT"
    //   "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
    //   "RESOURCE_NOT_DELETED"
    //   "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
    //   "UNREACHABLE"
    Code string `json:"code,omitempty"`

    // Data: [Output Only] Metadata about this warning in key: value format.
    // For example:
    // "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    Data []*AddressesScopedListWarningData `json:"data,omitempty"`

    // Message: [Output Only] A human-readable description of the warning
    // code.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Code") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AddressesScopedListWarning) MarshalJSON

func (s *AddressesScopedListWarning) MarshalJSON() ([]byte, error)

type AddressesScopedListWarningData

type AddressesScopedListWarningData struct {
    // Key: [Output Only] A key that provides more detail on the warning
    // being returned. For example, for warnings where there are no results
    // in a list request for a particular zone, this key might be scope and
    // the key value might be the zone name. Other examples might be a key
    // indicating a deprecated resource and a suggested replacement, or a
    // warning about invalid network settings (for example, if an instance
    // attempts to perform IP forwarding but is not enabled for IP
    // forwarding).
    Key string `json:"key,omitempty"`

    // Value: [Output Only] A warning data value corresponding to the key.
    Value string `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Key") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Key") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AddressesScopedListWarningData) MarshalJSON

func (s *AddressesScopedListWarningData) MarshalJSON() ([]byte, error)

type AddressesService

type AddressesService struct {
    // contains filtered or unexported fields
}

func NewAddressesService

func NewAddressesService(s *Service) *AddressesService

func (*AddressesService) AggregatedList

func (r *AddressesService) AggregatedList(project string) *AddressesAggregatedListCall

AggregatedList: Retrieves an aggregated list of addresses. For details, see https://cloud.google.com/compute/docs/reference/latest/addresses/aggregatedList

func (*AddressesService) Delete

func (r *AddressesService) Delete(project string, region string, address string) *AddressesDeleteCall

Delete: Deletes the specified address resource. For details, see https://cloud.google.com/compute/docs/reference/latest/addresses/delete

func (*AddressesService) Get

func (r *AddressesService) Get(project string, region string, address string) *AddressesGetCall

Get: Returns the specified address resource. For details, see https://cloud.google.com/compute/docs/reference/latest/addresses/get

func (*AddressesService) Insert

func (r *AddressesService) Insert(project string, region string, address *Address) *AddressesInsertCall

Insert: Creates an address resource in the specified project using the data included in the request. For details, see https://cloud.google.com/compute/docs/reference/latest/addresses/insert

func (*AddressesService) List

func (r *AddressesService) List(project string, region string) *AddressesListCall

List: Retrieves a list of addresses contained within the specified region. For details, see https://cloud.google.com/compute/docs/reference/latest/addresses/list

type AttachedDisk

AttachedDisk: An instance-attached disk resource.

type AttachedDisk struct {
    // AutoDelete: Specifies whether the disk will be auto-deleted when the
    // instance is deleted (but not when the disk is detached from the
    // instance).
    AutoDelete bool `json:"autoDelete,omitempty"`

    // Boot: Indicates that this is a boot disk. The virtual machine will
    // use the first partition of the disk for its root filesystem.
    Boot bool `json:"boot,omitempty"`

    // DeviceName: Specifies a unique device name of your choice that is
    // reflected into the /dev/disk/by-id/google-* tree of a Linux operating
    // system running within the instance. This name can be used to
    // reference the device for mounting, resizing, and so on, from within
    // the instance.
    //
    // If not specified, the server chooses a default device name to apply
    // to this disk, in the form persistent-disks-x, where x is a number
    // assigned by Google Compute Engine. This field is only applicable for
    // persistent disks.
    DeviceName string `json:"deviceName,omitempty"`

    // DiskEncryptionKey: Encrypts or decrypts a disk using a
    // customer-supplied encryption key.
    //
    // If you are creating a new disk, this field encrypts the new disk
    // using an encryption key that you provide. If you are attaching an
    // existing disk that is already encrypted, this field decrypts the disk
    // using the customer-supplied encryption key.
    //
    // If you encrypt a disk using a customer-supplied key, you must provide
    // the same key again when you attempt to use this resource at a later
    // time. For example, you must provide the key when you create a
    // snapshot or an image from the disk or when you attach the disk to a
    // virtual machine instance.
    //
    // If you do not provide an encryption key, then the disk will be
    // encrypted using an automatically generated key and you do not need to
    // provide a key to use the disk later.
    //
    // Instance templates do not store customer-supplied encryption keys, so
    // you cannot use your own keys to encrypt disks in a managed instance
    // group.
    DiskEncryptionKey *CustomerEncryptionKey `json:"diskEncryptionKey,omitempty"`

    // Index: Assigns a zero-based index to this disk, where 0 is reserved
    // for the boot disk. For example, if you have many disks attached to an
    // instance, each disk would have a unique index number. If not
    // specified, the server will choose an appropriate value.
    Index int64 `json:"index,omitempty"`

    // InitializeParams: [Input Only] Specifies the parameters for a new
    // disk that will be created alongside the new instance. Use
    // initialization parameters to create boot disks or local SSDs attached
    // to the new instance.
    //
    // This property is mutually exclusive with the source property; you can
    // only define one or the other, but not both.
    InitializeParams *AttachedDiskInitializeParams `json:"initializeParams,omitempty"`

    // Interface: Specifies the disk interface to use for attaching this
    // disk, which is either SCSI or NVME. The default is SCSI. Persistent
    // disks must always use SCSI and the request will fail if you attempt
    // to attach a persistent disk in any other format than SCSI. Local SSDs
    // can use either NVME or SCSI. For performance characteristics of SCSI
    // over NVMe, see Local SSD performance.
    //
    // Possible values:
    //   "NVME"
    //   "SCSI"
    Interface string `json:"interface,omitempty"`

    // Kind: [Output Only] Type of the resource. Always compute#attachedDisk
    // for attached disks.
    Kind string `json:"kind,omitempty"`

    // Licenses: [Output Only] Any valid publicly visible licenses.
    Licenses []string `json:"licenses,omitempty"`

    // Mode: The mode in which to attach this disk, either READ_WRITE or
    // READ_ONLY. If not specified, the default is to attach the disk in
    // READ_WRITE mode.
    //
    // Possible values:
    //   "READ_ONLY"
    //   "READ_WRITE"
    Mode string `json:"mode,omitempty"`

    // Source: Specifies a valid partial or full URL to an existing
    // Persistent Disk resource. When creating a new instance, one of
    // initializeParams.sourceImage or disks.source is required.
    //
    // If desired, you can also attach existing non-root persistent disks
    // using this property. This field is only applicable for persistent
    // disks.
    //
    // Note that for InstanceTemplate, specify the disk name, not the URL
    // for the disk.
    Source string `json:"source,omitempty"`

    // Type: Specifies the type of the disk, either SCRATCH or PERSISTENT.
    // If not specified, the default is PERSISTENT.
    //
    // Possible values:
    //   "PERSISTENT"
    //   "SCRATCH"
    Type string `json:"type,omitempty"`

    // ForceSendFields is a list of field names (e.g. "AutoDelete") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AutoDelete") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AttachedDisk) MarshalJSON

func (s *AttachedDisk) MarshalJSON() ([]byte, error)

type AttachedDiskInitializeParams

AttachedDiskInitializeParams: [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance.

This property is mutually exclusive with the source property; you can only define one or the other, but not both.

type AttachedDiskInitializeParams struct {
    // DiskName: Specifies the disk name. If not specified, the default is
    // to use the name of the instance.
    DiskName string `json:"diskName,omitempty"`

    // DiskSizeGb: Specifies the size of the disk in base-2 GB.
    DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"`

    // DiskType: Specifies the disk type to use to create the instance. If
    // not specified, the default is pd-standard, specified using the full
    // URL. For
    // example:
    //
    // https://www.googleapis.com/compute/v1/projects/project/zones
    // /zone/diskTypes/pd-standard
    //
    // Other values include pd-ssd and local-ssd. If you define this field,
    // you can provide either the full or partial URL. For example, the
    // following are valid values:
    // -
    // https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType
    // - projects/project/zones/zone/diskTypes/diskType
    // - zones/zone/diskTypes/diskType  Note that for InstanceTemplate, this
    // is the name of the disk type, not URL.
    DiskType string `json:"diskType,omitempty"`

    // SourceImage: The source image to create this disk. When creating a
    // new instance, one of initializeParams.sourceImage or disks.source is
    // required.
    //
    // To create a disk with one of the public operating system images,
    // specify the image by its family name. For example, specify
    // family/debian-8 to use the latest Debian 8
    // image:
    //
    // projects/debian-cloud/global/images/family/debian-8
    //
    // Alternatively, use a specific version of a public operating system
    // image:
    //
    // projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
    //
    // To create a disk with a private image that you created, specify the
    // image name in the following format:
    //
    // global/images/my-private-image
    //
    // You can also specify a private image by its image family, which
    // returns the latest version of the image in that family. Replace the
    // image name with
    // family/family-name:
    //
    // global/images/family/my-private-family
    //
    // If the source image is deleted later, this field will not be set.
    SourceImage string `json:"sourceImage,omitempty"`

    // SourceImageEncryptionKey: The customer-supplied encryption key of the
    // source image. Required if the source image is protected by a
    // customer-supplied encryption key.
    //
    // Instance templates do not store customer-supplied encryption keys, so
    // you cannot create disks for instances in a managed instance group if
    // the source images are encrypted with your own keys.
    SourceImageEncryptionKey *CustomerEncryptionKey `json:"sourceImageEncryptionKey,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DiskName") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DiskName") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AttachedDiskInitializeParams) MarshalJSON

func (s *AttachedDiskInitializeParams) MarshalJSON() ([]byte, error)

type Autoscaler

Autoscaler: Represents an Autoscaler resource. Autoscalers allow you to automatically scale virtual machine instances in managed instance groups according to an autoscaling policy that you define. For more information, read Autoscaling Groups of Instances.

type Autoscaler struct {
    // AutoscalingPolicy: The configuration parameters for the autoscaling
    // algorithm. You can define one or more of the policies for an
    // autoscaler: cpuUtilization, customMetricUtilizations, and
    // loadBalancingUtilization.
    //
    // If none of these are specified, the default will be to autoscale
    // based on cpuUtilization to 0.6 or 60%.
    AutoscalingPolicy *AutoscalingPolicy `json:"autoscalingPolicy,omitempty"`

    // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
    // format.
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // Description: An optional description of this resource. Provide this
    // property when you create the resource.
    Description string `json:"description,omitempty"`

    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id uint64 `json:"id,omitempty,string"`

    // Kind: [Output Only] Type of the resource. Always compute#autoscaler
    // for autoscalers.
    Kind string `json:"kind,omitempty"`

    // Name: Name of the resource. Provided by the client when the resource
    // is created. The name must be 1-63 characters long, and comply with
    // RFC1035. Specifically, the name must be 1-63 characters long and
    // match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
    // the first character must be a lowercase letter, and all following
    // characters must be a dash, lowercase letter, or digit, except the
    // last character, which cannot be a dash.
    Name string `json:"name,omitempty"`

    // Region: [Output Only] URL of the region where the instance group
    // resides (for autoscalers living in regional scope).
    Region string `json:"region,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for the resource.
    SelfLink string `json:"selfLink,omitempty"`

    // Target: URL of the managed instance group that this autoscaler will
    // scale.
    Target string `json:"target,omitempty"`

    // Zone: [Output Only] URL of the zone where the instance group resides
    // (for autoscalers living in zonal scope).
    Zone string `json:"zone,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "AutoscalingPolicy")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AutoscalingPolicy") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*Autoscaler) MarshalJSON

func (s *Autoscaler) MarshalJSON() ([]byte, error)

type AutoscalerAggregatedList

type AutoscalerAggregatedList struct {
    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id string `json:"id,omitempty"`

    // Items: A map of scoped autoscaler lists.
    Items map[string]AutoscalersScopedList `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always
    // compute#autoscalerAggregatedList for aggregated lists of autoscalers.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AutoscalerAggregatedList) MarshalJSON

func (s *AutoscalerAggregatedList) MarshalJSON() ([]byte, error)

type AutoscalerList

AutoscalerList: Contains a list of Autoscaler resources.

type AutoscalerList struct {
    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id string `json:"id,omitempty"`

    // Items: A list of Autoscaler resources.
    Items []*Autoscaler `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always compute#autoscalerList
    // for lists of autoscalers.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AutoscalerList) MarshalJSON

func (s *AutoscalerList) MarshalJSON() ([]byte, error)

type AutoscalersAggregatedListCall

type AutoscalersAggregatedListCall struct {
    // contains filtered or unexported fields
}

func (*AutoscalersAggregatedListCall) Context

func (c *AutoscalersAggregatedListCall) Context(ctx context.Context) *AutoscalersAggregatedListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AutoscalersAggregatedListCall) Do

func (c *AutoscalersAggregatedListCall) Do(opts ...googleapi.CallOption) (*AutoscalerAggregatedList, error)

Do executes the "compute.autoscalers.aggregatedList" call. Exactly one of *AutoscalerAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AutoscalerAggregatedList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AutoscalersAggregatedListCall) Fields

func (c *AutoscalersAggregatedListCall) Fields(s ...googleapi.Field) *AutoscalersAggregatedListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AutoscalersAggregatedListCall) Filter

func (c *AutoscalersAggregatedListCall) Filter(filter string) *AutoscalersAggregatedListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*AutoscalersAggregatedListCall) Header

func (c *AutoscalersAggregatedListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AutoscalersAggregatedListCall) IfNoneMatch

func (c *AutoscalersAggregatedListCall) IfNoneMatch(entityTag string) *AutoscalersAggregatedListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AutoscalersAggregatedListCall) MaxResults

func (c *AutoscalersAggregatedListCall) MaxResults(maxResults int64) *AutoscalersAggregatedListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*AutoscalersAggregatedListCall) OrderBy

func (c *AutoscalersAggregatedListCall) OrderBy(orderBy string) *AutoscalersAggregatedListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*AutoscalersAggregatedListCall) PageToken

func (c *AutoscalersAggregatedListCall) PageToken(pageToken string) *AutoscalersAggregatedListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*AutoscalersAggregatedListCall) Pages

func (c *AutoscalersAggregatedListCall) Pages(ctx context.Context, f func(*AutoscalerAggregatedList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AutoscalersDeleteCall

type AutoscalersDeleteCall struct {
    // contains filtered or unexported fields
}

func (*AutoscalersDeleteCall) Context

func (c *AutoscalersDeleteCall) Context(ctx context.Context) *AutoscalersDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AutoscalersDeleteCall) Do

func (c *AutoscalersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.autoscalers.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AutoscalersDeleteCall) Fields

func (c *AutoscalersDeleteCall) Fields(s ...googleapi.Field) *AutoscalersDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AutoscalersDeleteCall) Header

func (c *AutoscalersDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AutoscalersGetCall

type AutoscalersGetCall struct {
    // contains filtered or unexported fields
}

func (*AutoscalersGetCall) Context

func (c *AutoscalersGetCall) Context(ctx context.Context) *AutoscalersGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AutoscalersGetCall) Do

func (c *AutoscalersGetCall) Do(opts ...googleapi.CallOption) (*Autoscaler, error)

Do executes the "compute.autoscalers.get" call. Exactly one of *Autoscaler or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Autoscaler.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AutoscalersGetCall) Fields

func (c *AutoscalersGetCall) Fields(s ...googleapi.Field) *AutoscalersGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AutoscalersGetCall) Header

func (c *AutoscalersGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AutoscalersGetCall) IfNoneMatch

func (c *AutoscalersGetCall) IfNoneMatch(entityTag string) *AutoscalersGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type AutoscalersInsertCall

type AutoscalersInsertCall struct {
    // contains filtered or unexported fields
}

func (*AutoscalersInsertCall) Context

func (c *AutoscalersInsertCall) Context(ctx context.Context) *AutoscalersInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AutoscalersInsertCall) Do

func (c *AutoscalersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.autoscalers.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AutoscalersInsertCall) Fields

func (c *AutoscalersInsertCall) Fields(s ...googleapi.Field) *AutoscalersInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AutoscalersInsertCall) Header

func (c *AutoscalersInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AutoscalersListCall

type AutoscalersListCall struct {
    // contains filtered or unexported fields
}

func (*AutoscalersListCall) Context

func (c *AutoscalersListCall) Context(ctx context.Context) *AutoscalersListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AutoscalersListCall) Do

func (c *AutoscalersListCall) Do(opts ...googleapi.CallOption) (*AutoscalerList, error)

Do executes the "compute.autoscalers.list" call. Exactly one of *AutoscalerList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AutoscalerList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AutoscalersListCall) Fields

func (c *AutoscalersListCall) Fields(s ...googleapi.Field) *AutoscalersListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AutoscalersListCall) Filter

func (c *AutoscalersListCall) Filter(filter string) *AutoscalersListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*AutoscalersListCall) Header

func (c *AutoscalersListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*AutoscalersListCall) IfNoneMatch

func (c *AutoscalersListCall) IfNoneMatch(entityTag string) *AutoscalersListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*AutoscalersListCall) MaxResults

func (c *AutoscalersListCall) MaxResults(maxResults int64) *AutoscalersListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*AutoscalersListCall) OrderBy

func (c *AutoscalersListCall) OrderBy(orderBy string) *AutoscalersListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*AutoscalersListCall) PageToken

func (c *AutoscalersListCall) PageToken(pageToken string) *AutoscalersListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*AutoscalersListCall) Pages

func (c *AutoscalersListCall) Pages(ctx context.Context, f func(*AutoscalerList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type AutoscalersPatchCall

type AutoscalersPatchCall struct {
    // contains filtered or unexported fields
}

func (*AutoscalersPatchCall) Autoscaler

func (c *AutoscalersPatchCall) Autoscaler(autoscaler string) *AutoscalersPatchCall

Autoscaler sets the optional parameter "autoscaler": Name of the autoscaler to patch.

func (*AutoscalersPatchCall) Context

func (c *AutoscalersPatchCall) Context(ctx context.Context) *AutoscalersPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AutoscalersPatchCall) Do

func (c *AutoscalersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.autoscalers.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AutoscalersPatchCall) Fields

func (c *AutoscalersPatchCall) Fields(s ...googleapi.Field) *AutoscalersPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AutoscalersPatchCall) Header

func (c *AutoscalersPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AutoscalersScopedList

type AutoscalersScopedList struct {
    // Autoscalers: [Output Only] List of autoscalers contained in this
    // scope.
    Autoscalers []*Autoscaler `json:"autoscalers,omitempty"`

    // Warning: [Output Only] Informational warning which replaces the list
    // of autoscalers when the list is empty.
    Warning *AutoscalersScopedListWarning `json:"warning,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Autoscalers") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Autoscalers") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AutoscalersScopedList) MarshalJSON

func (s *AutoscalersScopedList) MarshalJSON() ([]byte, error)

type AutoscalersScopedListWarning

AutoscalersScopedListWarning: [Output Only] Informational warning which replaces the list of autoscalers when the list is empty.

type AutoscalersScopedListWarning struct {
    // Code: [Output Only] A warning code, if applicable. For example,
    // Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in
    // the response.
    //
    // Possible values:
    //   "CLEANUP_FAILED"
    //   "DEPRECATED_RESOURCE_USED"
    //   "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
    //   "FIELD_VALUE_OVERRIDEN"
    //   "INJECTED_KERNELS_DEPRECATED"
    //   "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
    //   "NEXT_HOP_CANNOT_IP_FORWARD"
    //   "NEXT_HOP_INSTANCE_NOT_FOUND"
    //   "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
    //   "NEXT_HOP_NOT_RUNNING"
    //   "NOT_CRITICAL_ERROR"
    //   "NO_RESULTS_ON_PAGE"
    //   "REQUIRED_TOS_AGREEMENT"
    //   "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
    //   "RESOURCE_NOT_DELETED"
    //   "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
    //   "UNREACHABLE"
    Code string `json:"code,omitempty"`

    // Data: [Output Only] Metadata about this warning in key: value format.
    // For example:
    // "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    Data []*AutoscalersScopedListWarningData `json:"data,omitempty"`

    // Message: [Output Only] A human-readable description of the warning
    // code.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Code") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AutoscalersScopedListWarning) MarshalJSON

func (s *AutoscalersScopedListWarning) MarshalJSON() ([]byte, error)

type AutoscalersScopedListWarningData

type AutoscalersScopedListWarningData struct {
    // Key: [Output Only] A key that provides more detail on the warning
    // being returned. For example, for warnings where there are no results
    // in a list request for a particular zone, this key might be scope and
    // the key value might be the zone name. Other examples might be a key
    // indicating a deprecated resource and a suggested replacement, or a
    // warning about invalid network settings (for example, if an instance
    // attempts to perform IP forwarding but is not enabled for IP
    // forwarding).
    Key string `json:"key,omitempty"`

    // Value: [Output Only] A warning data value corresponding to the key.
    Value string `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Key") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Key") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AutoscalersScopedListWarningData) MarshalJSON

func (s *AutoscalersScopedListWarningData) MarshalJSON() ([]byte, error)

type AutoscalersService

type AutoscalersService struct {
    // contains filtered or unexported fields
}

func NewAutoscalersService

func NewAutoscalersService(s *Service) *AutoscalersService

func (*AutoscalersService) AggregatedList

func (r *AutoscalersService) AggregatedList(project string) *AutoscalersAggregatedListCall

AggregatedList: Retrieves an aggregated list of autoscalers.

func (*AutoscalersService) Delete

func (r *AutoscalersService) Delete(project string, zone string, autoscaler string) *AutoscalersDeleteCall

Delete: Deletes the specified autoscaler.

func (*AutoscalersService) Get

func (r *AutoscalersService) Get(project string, zone string, autoscaler string) *AutoscalersGetCall

Get: Returns the specified autoscaler resource. Get a list of available autoscalers by making a list() request.

func (*AutoscalersService) Insert

func (r *AutoscalersService) Insert(project string, zone string, autoscaler *Autoscaler) *AutoscalersInsertCall

Insert: Creates an autoscaler in the specified project using the data included in the request.

func (*AutoscalersService) List

func (r *AutoscalersService) List(project string, zone string) *AutoscalersListCall

List: Retrieves a list of autoscalers contained within the specified zone.

func (*AutoscalersService) Patch

func (r *AutoscalersService) Patch(project string, zone string, autoscaler *Autoscaler) *AutoscalersPatchCall

Patch: Updates an autoscaler in the specified project using the data included in the request. This method supports patch semantics.

func (*AutoscalersService) Update

func (r *AutoscalersService) Update(project string, zone string, autoscaler *Autoscaler) *AutoscalersUpdateCall

Update: Updates an autoscaler in the specified project using the data included in the request.

type AutoscalersUpdateCall

type AutoscalersUpdateCall struct {
    // contains filtered or unexported fields
}

func (*AutoscalersUpdateCall) Autoscaler

func (c *AutoscalersUpdateCall) Autoscaler(autoscaler string) *AutoscalersUpdateCall

Autoscaler sets the optional parameter "autoscaler": Name of the autoscaler to update.

func (*AutoscalersUpdateCall) Context

func (c *AutoscalersUpdateCall) Context(ctx context.Context) *AutoscalersUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*AutoscalersUpdateCall) Do

func (c *AutoscalersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.autoscalers.update" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*AutoscalersUpdateCall) Fields

func (c *AutoscalersUpdateCall) Fields(s ...googleapi.Field) *AutoscalersUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*AutoscalersUpdateCall) Header

func (c *AutoscalersUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type AutoscalingPolicy

AutoscalingPolicy: Cloud Autoscaler policy.

type AutoscalingPolicy struct {
    // CoolDownPeriodSec: The number of seconds that the autoscaler should
    // wait before it starts collecting information from a new instance.
    // This prevents the autoscaler from collecting information when the
    // instance is initializing, during which the collected usage would not
    // be reliable. The default time autoscaler waits is 60
    // seconds.
    //
    // Virtual machine initialization times might vary because of numerous
    // factors. We recommend that you test how long an instance may take to
    // initialize. To do this, create an instance and time the startup
    // process.
    CoolDownPeriodSec int64 `json:"coolDownPeriodSec,omitempty"`

    // CpuUtilization: Defines the CPU utilization policy that allows the
    // autoscaler to scale based on the average CPU utilization of a managed
    // instance group.
    CpuUtilization *AutoscalingPolicyCpuUtilization `json:"cpuUtilization,omitempty"`

    // CustomMetricUtilizations: Configuration parameters of autoscaling
    // based on a custom metric.
    CustomMetricUtilizations []*AutoscalingPolicyCustomMetricUtilization `json:"customMetricUtilizations,omitempty"`

    // LoadBalancingUtilization: Configuration parameters of autoscaling
    // based on load balancer.
    LoadBalancingUtilization *AutoscalingPolicyLoadBalancingUtilization `json:"loadBalancingUtilization,omitempty"`

    // MaxNumReplicas: The maximum number of instances that the autoscaler
    // can scale up to. This is required when creating or updating an
    // autoscaler. The maximum number of replicas should not be lower than
    // minimal number of replicas.
    MaxNumReplicas int64 `json:"maxNumReplicas,omitempty"`

    // MinNumReplicas: The minimum number of replicas that the autoscaler
    // can scale down to. This cannot be less than 0. If not provided,
    // autoscaler will choose a default value depending on maximum number of
    // instances allowed.
    MinNumReplicas int64 `json:"minNumReplicas,omitempty"`

    // ForceSendFields is a list of field names (e.g. "CoolDownPeriodSec")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CoolDownPeriodSec") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AutoscalingPolicy) MarshalJSON

func (s *AutoscalingPolicy) MarshalJSON() ([]byte, error)

type AutoscalingPolicyCpuUtilization

AutoscalingPolicyCpuUtilization: CPU utilization policy.

type AutoscalingPolicyCpuUtilization struct {
    // UtilizationTarget: The target CPU utilization that the autoscaler
    // should maintain. Must be a float value in the range (0, 1]. If not
    // specified, the default is 0.6.
    //
    // If the CPU level is below the target utilization, the autoscaler
    // scales down the number of instances until it reaches the minimum
    // number of instances you specified or until the average CPU of your
    // instances reaches the target utilization.
    //
    // If the average CPU is above the target utilization, the autoscaler
    // scales up until it reaches the maximum number of instances you
    // specified or until the average utilization reaches the target
    // utilization.
    UtilizationTarget float64 `json:"utilizationTarget,omitempty"`

    // ForceSendFields is a list of field names (e.g. "UtilizationTarget")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "UtilizationTarget") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AutoscalingPolicyCpuUtilization) MarshalJSON

func (s *AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error)

func (*AutoscalingPolicyCpuUtilization) UnmarshalJSON

func (s *AutoscalingPolicyCpuUtilization) UnmarshalJSON(data []byte) error

type AutoscalingPolicyCustomMetricUtilization

AutoscalingPolicyCustomMetricUtilization: Custom utilization metric policy.

type AutoscalingPolicyCustomMetricUtilization struct {
    // Metric: The identifier (type) of the Stackdriver Monitoring metric.
    // The metric cannot have negative values and should be a utilization
    // metric, which means that the number of virtual machines handling
    // requests should increase or decrease proportionally to the
    // metric.
    //
    // The metric must have a value type of INT64 or DOUBLE.
    Metric string `json:"metric,omitempty"`

    // UtilizationTarget: The target value of the metric that autoscaler
    // should maintain. This must be a positive value.
    //
    // For example, a good metric to use as a utilization_target is
    // compute.googleapis.com/instance/network/received_bytes_count. The
    // autoscaler will work to keep this value constant for each of the
    // instances.
    UtilizationTarget float64 `json:"utilizationTarget,omitempty"`

    // UtilizationTargetType: Defines how target utilization value is
    // expressed for a Stackdriver Monitoring metric. Either GAUGE,
    // DELTA_PER_SECOND, or DELTA_PER_MINUTE. If not specified, the default
    // is GAUGE.
    //
    // Possible values:
    //   "DELTA_PER_MINUTE"
    //   "DELTA_PER_SECOND"
    //   "GAUGE"
    UtilizationTargetType string `json:"utilizationTargetType,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Metric") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Metric") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*AutoscalingPolicyCustomMetricUtilization) MarshalJSON

func (s *AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error)

func (*AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON

func (s *AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON(data []byte) error

type AutoscalingPolicyLoadBalancingUtilization

AutoscalingPolicyLoadBalancingUtilization: Configuration parameters of autoscaling based on load balancing.

type AutoscalingPolicyLoadBalancingUtilization struct {
    // UtilizationTarget: Fraction of backend capacity utilization (set in
    // HTTP(s) load balancing configuration) that autoscaler should
    // maintain. Must be a positive float value. If not defined, the default
    // is 0.8.
    UtilizationTarget float64 `json:"utilizationTarget,omitempty"`

    // ForceSendFields is a list of field names (e.g. "UtilizationTarget")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "UtilizationTarget") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*AutoscalingPolicyLoadBalancingUtilization) MarshalJSON

func (s *AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error)

func (*AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON

func (s *AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON(data []byte) error

type Backend

Backend: Message containing information of one individual backend.

type Backend struct {
    // BalancingMode: Specifies the balancing mode for this backend. For
    // global HTTP(S) or TCP/SSL load balancing, the default is UTILIZATION.
    // Valid values are UTILIZATION, RATE (for HTTP(S)) and CONNECTION (for
    // TCP/SSL).
    //
    // This cannot be used for internal load balancing.
    //
    // Possible values:
    //   "CONNECTION"
    //   "RATE"
    //   "UTILIZATION"
    BalancingMode string `json:"balancingMode,omitempty"`

    // CapacityScaler: A multiplier applied to the group's maximum servicing
    // capacity (based on UTILIZATION, RATE or CONNECTION). Default value is
    // 1, which means the group will serve up to 100% of its configured
    // capacity (depending on balancingMode). A setting of 0 means the group
    // is completely drained, offering 0% of its available Capacity. Valid
    // range is [0.0,1.0].
    //
    // This cannot be used for internal load balancing.
    CapacityScaler float64 `json:"capacityScaler,omitempty"`

    // Description: An optional description of this resource. Provide this
    // property when you create the resource.
    Description string `json:"description,omitempty"`

    // Group: The fully-qualified URL of a zonal Instance Group resource.
    // This instance group defines the list of instances that serve traffic.
    // Member virtual machine instances from each instance group must live
    // in the same zone as the instance group itself. No two backends in a
    // backend service are allowed to use same Instance Group
    // resource.
    //
    // Note that you must specify an Instance Group resource using the
    // fully-qualified URL, rather than a partial URL.
    //
    // When the BackendService has load balancing scheme INTERNAL, the
    // instance group must be in a zone within the same region as the
    // BackendService.
    Group string `json:"group,omitempty"`

    // MaxConnections: The max number of simultaneous connections for the
    // group. Can be used with either CONNECTION or UTILIZATION balancing
    // modes. For CONNECTION mode, either maxConnections or
    // maxConnectionsPerInstance must be set.
    //
    // This cannot be used for internal load balancing.
    MaxConnections int64 `json:"maxConnections,omitempty"`

    // MaxConnectionsPerInstance: The max number of simultaneous connections
    // that a single backend instance can handle. This is used to calculate
    // the capacity of the group. Can be used in either CONNECTION or
    // UTILIZATION balancing modes. For CONNECTION mode, either
    // maxConnections or maxConnectionsPerInstance must be set.
    //
    // This cannot be used for internal load balancing.
    MaxConnectionsPerInstance int64 `json:"maxConnectionsPerInstance,omitempty"`

    // MaxRate: The max requests per second (RPS) of the group. Can be used
    // with either RATE or UTILIZATION balancing modes, but required if RATE
    // mode. For RATE mode, either maxRate or maxRatePerInstance must be
    // set.
    //
    // This cannot be used for internal load balancing.
    MaxRate int64 `json:"maxRate,omitempty"`

    // MaxRatePerInstance: The max requests per second (RPS) that a single
    // backend instance can handle. This is used to calculate the capacity
    // of the group. Can be used in either balancing mode. For RATE mode,
    // either maxRate or maxRatePerInstance must be set.
    //
    // This cannot be used for internal load balancing.
    MaxRatePerInstance float64 `json:"maxRatePerInstance,omitempty"`

    // MaxUtilization: Used when balancingMode is UTILIZATION. This ratio
    // defines the CPU utilization target for the group. The default is 0.8.
    // Valid range is [0.0, 1.0].
    //
    // This cannot be used for internal load balancing.
    MaxUtilization float64 `json:"maxUtilization,omitempty"`

    // ForceSendFields is a list of field names (e.g. "BalancingMode") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "BalancingMode") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Backend) MarshalJSON

func (s *Backend) MarshalJSON() ([]byte, error)

func (*Backend) UnmarshalJSON

func (s *Backend) UnmarshalJSON(data []byte) error

type BackendBucket

BackendBucket: A BackendBucket resource. This resource defines a Cloud Storage bucket.

type BackendBucket struct {
    // BucketName: Cloud Storage bucket name.
    BucketName string `json:"bucketName,omitempty"`

    // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
    // format.
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // Description: An optional textual description of the resource;
    // provided by the client when the resource is created.
    Description string `json:"description,omitempty"`

    // EnableCdn: If true, enable Cloud CDN for this BackendBucket.
    EnableCdn bool `json:"enableCdn,omitempty"`

    // Id: [Output Only] Unique identifier for the resource; defined by the
    // server.
    Id uint64 `json:"id,omitempty,string"`

    // Kind: Type of the resource.
    Kind string `json:"kind,omitempty"`

    // Name: Name of the resource. Provided by the client when the resource
    // is created. The name must be 1-63 characters long, and comply with
    // RFC1035. Specifically, the name must be 1-63 characters long and
    // match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
    // the first character must be a lowercase letter, and all following
    // characters must be a dash, lowercase letter, or digit, except the
    // last character, which cannot be a dash.
    Name string `json:"name,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for the resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "BucketName") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "BucketName") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BackendBucket) MarshalJSON

func (s *BackendBucket) MarshalJSON() ([]byte, error)

type BackendBucketList

BackendBucketList: Contains a list of BackendBucket resources.

type BackendBucketList struct {
    // Id: [Output Only] Unique identifier for the resource; defined by the
    // server.
    Id string `json:"id,omitempty"`

    // Items: A list of BackendBucket resources.
    Items []*BackendBucket `json:"items,omitempty"`

    // Kind: Type of resource.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] A token used to continue a truncated
    // list request.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BackendBucketList) MarshalJSON

func (s *BackendBucketList) MarshalJSON() ([]byte, error)

type BackendBucketsDeleteCall

type BackendBucketsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*BackendBucketsDeleteCall) Context

func (c *BackendBucketsDeleteCall) Context(ctx context.Context) *BackendBucketsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendBucketsDeleteCall) Do

func (c *BackendBucketsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.backendBuckets.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendBucketsDeleteCall) Fields

func (c *BackendBucketsDeleteCall) Fields(s ...googleapi.Field) *BackendBucketsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendBucketsDeleteCall) Header

func (c *BackendBucketsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type BackendBucketsGetCall

type BackendBucketsGetCall struct {
    // contains filtered or unexported fields
}

func (*BackendBucketsGetCall) Context

func (c *BackendBucketsGetCall) Context(ctx context.Context) *BackendBucketsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendBucketsGetCall) Do

func (c *BackendBucketsGetCall) Do(opts ...googleapi.CallOption) (*BackendBucket, error)

Do executes the "compute.backendBuckets.get" call. Exactly one of *BackendBucket or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BackendBucket.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendBucketsGetCall) Fields

func (c *BackendBucketsGetCall) Fields(s ...googleapi.Field) *BackendBucketsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendBucketsGetCall) Header

func (c *BackendBucketsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*BackendBucketsGetCall) IfNoneMatch

func (c *BackendBucketsGetCall) IfNoneMatch(entityTag string) *BackendBucketsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type BackendBucketsInsertCall

type BackendBucketsInsertCall struct {
    // contains filtered or unexported fields
}

func (*BackendBucketsInsertCall) Context

func (c *BackendBucketsInsertCall) Context(ctx context.Context) *BackendBucketsInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendBucketsInsertCall) Do

func (c *BackendBucketsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.backendBuckets.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendBucketsInsertCall) Fields

func (c *BackendBucketsInsertCall) Fields(s ...googleapi.Field) *BackendBucketsInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendBucketsInsertCall) Header

func (c *BackendBucketsInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type BackendBucketsListCall

type BackendBucketsListCall struct {
    // contains filtered or unexported fields
}

func (*BackendBucketsListCall) Context

func (c *BackendBucketsListCall) Context(ctx context.Context) *BackendBucketsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendBucketsListCall) Do

func (c *BackendBucketsListCall) Do(opts ...googleapi.CallOption) (*BackendBucketList, error)

Do executes the "compute.backendBuckets.list" call. Exactly one of *BackendBucketList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BackendBucketList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendBucketsListCall) Fields

func (c *BackendBucketsListCall) Fields(s ...googleapi.Field) *BackendBucketsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendBucketsListCall) Filter

func (c *BackendBucketsListCall) Filter(filter string) *BackendBucketsListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*BackendBucketsListCall) Header

func (c *BackendBucketsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*BackendBucketsListCall) IfNoneMatch

func (c *BackendBucketsListCall) IfNoneMatch(entityTag string) *BackendBucketsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*BackendBucketsListCall) MaxResults

func (c *BackendBucketsListCall) MaxResults(maxResults int64) *BackendBucketsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*BackendBucketsListCall) OrderBy

func (c *BackendBucketsListCall) OrderBy(orderBy string) *BackendBucketsListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*BackendBucketsListCall) PageToken

func (c *BackendBucketsListCall) PageToken(pageToken string) *BackendBucketsListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*BackendBucketsListCall) Pages

func (c *BackendBucketsListCall) Pages(ctx context.Context, f func(*BackendBucketList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BackendBucketsPatchCall

type BackendBucketsPatchCall struct {
    // contains filtered or unexported fields
}

func (*BackendBucketsPatchCall) Context

func (c *BackendBucketsPatchCall) Context(ctx context.Context) *BackendBucketsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendBucketsPatchCall) Do

func (c *BackendBucketsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.backendBuckets.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendBucketsPatchCall) Fields

func (c *BackendBucketsPatchCall) Fields(s ...googleapi.Field) *BackendBucketsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendBucketsPatchCall) Header

func (c *BackendBucketsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type BackendBucketsService

type BackendBucketsService struct {
    // contains filtered or unexported fields
}

func NewBackendBucketsService

func NewBackendBucketsService(s *Service) *BackendBucketsService

func (*BackendBucketsService) Delete

func (r *BackendBucketsService) Delete(project string, backendBucket string) *BackendBucketsDeleteCall

Delete: Deletes the specified BackendBucket resource.

func (*BackendBucketsService) Get

func (r *BackendBucketsService) Get(project string, backendBucket string) *BackendBucketsGetCall

Get: Returns the specified BackendBucket resource. Get a list of available backend buckets by making a list() request.

func (*BackendBucketsService) Insert

func (r *BackendBucketsService) Insert(project string, backendbucket *BackendBucket) *BackendBucketsInsertCall

Insert: Creates a BackendBucket resource in the specified project using the data included in the request.

func (*BackendBucketsService) List

func (r *BackendBucketsService) List(project string) *BackendBucketsListCall

List: Retrieves the list of BackendBucket resources available to the specified project.

func (*BackendBucketsService) Patch

func (r *BackendBucketsService) Patch(project string, backendBucket string, backendbucket *BackendBucket) *BackendBucketsPatchCall

Patch: Updates the specified BackendBucket resource with the data included in the request. This method supports patch semantics.

func (*BackendBucketsService) Update

func (r *BackendBucketsService) Update(project string, backendBucket string, backendbucket *BackendBucket) *BackendBucketsUpdateCall

Update: Updates the specified BackendBucket resource with the data included in the request.

type BackendBucketsUpdateCall

type BackendBucketsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*BackendBucketsUpdateCall) Context

func (c *BackendBucketsUpdateCall) Context(ctx context.Context) *BackendBucketsUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendBucketsUpdateCall) Do

func (c *BackendBucketsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.backendBuckets.update" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendBucketsUpdateCall) Fields

func (c *BackendBucketsUpdateCall) Fields(s ...googleapi.Field) *BackendBucketsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendBucketsUpdateCall) Header

func (c *BackendBucketsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type BackendService

BackendService: A BackendService resource. This resource defines a group of backend virtual machines and their serving capacity.

type BackendService struct {
    // AffinityCookieTtlSec: Lifetime of cookies in seconds if
    // session_affinity is GENERATED_COOKIE. If set to 0, the cookie is
    // non-persistent and lasts only until the end of the browser session
    // (or equivalent). The maximum allowed value for TTL is one day.
    //
    // When the load balancing scheme is INTERNAL, this field is not used.
    AffinityCookieTtlSec int64 `json:"affinityCookieTtlSec,omitempty"`

    // Backends: The list of backends that serve this BackendService.
    Backends []*Backend `json:"backends,omitempty"`

    // CdnPolicy: Cloud CDN configuration for this BackendService.
    CdnPolicy *BackendServiceCdnPolicy `json:"cdnPolicy,omitempty"`

    ConnectionDraining *ConnectionDraining `json:"connectionDraining,omitempty"`

    // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
    // format.
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // Description: An optional description of this resource. Provide this
    // property when you create the resource.
    Description string `json:"description,omitempty"`

    // EnableCDN: If true, enable Cloud CDN for this BackendService.
    //
    // When the load balancing scheme is INTERNAL, this field is not used.
    EnableCDN bool `json:"enableCDN,omitempty"`

    // Fingerprint: Fingerprint of this resource. A hash of the contents
    // stored in this object. This field is used in optimistic locking. This
    // field will be ignored when inserting a BackendService. An up-to-date
    // fingerprint must be provided in order to update the BackendService.
    Fingerprint string `json:"fingerprint,omitempty"`

    // HealthChecks: The list of URLs to the HttpHealthCheck or
    // HttpsHealthCheck resource for health checking this BackendService.
    // Currently at most one health check can be specified, and a health
    // check is required.
    //
    // For internal load balancing, a URL to a HealthCheck resource must be
    // specified instead.
    HealthChecks []string `json:"healthChecks,omitempty"`

    Iap *BackendServiceIAP `json:"iap,omitempty"`

    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id uint64 `json:"id,omitempty,string"`

    // Kind: [Output Only] Type of resource. Always compute#backendService
    // for backend services.
    Kind string `json:"kind,omitempty"`

    // Possible values:
    //   "EXTERNAL"
    //   "INTERNAL"
    //   "INVALID_LOAD_BALANCING_SCHEME"
    LoadBalancingScheme string `json:"loadBalancingScheme,omitempty"`

    // Name: Name of the resource. Provided by the client when the resource
    // is created. The name must be 1-63 characters long, and comply with
    // RFC1035. Specifically, the name must be 1-63 characters long and
    // match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
    // the first character must be a lowercase letter, and all following
    // characters must be a dash, lowercase letter, or digit, except the
    // last character, which cannot be a dash.
    Name string `json:"name,omitempty"`

    // Port: Deprecated in favor of portName. The TCP port to connect on the
    // backend. The default value is 80.
    //
    // This cannot be used for internal load balancing.
    Port int64 `json:"port,omitempty"`

    // PortName: Name of backend port. The same name should appear in the
    // instance groups referenced by this service. Required when the load
    // balancing scheme is EXTERNAL.
    //
    // When the load balancing scheme is INTERNAL, this field is not used.
    PortName string `json:"portName,omitempty"`

    // Protocol: The protocol this BackendService uses to communicate with
    // backends.
    //
    // Possible values are HTTP, HTTPS, TCP, and SSL. The default is
    // HTTP.
    //
    // For internal load balancing, the possible values are TCP and UDP, and
    // the default is TCP.
    //
    // Possible values:
    //   "HTTP"
    //   "HTTPS"
    //   "SSL"
    //   "TCP"
    //   "UDP"
    Protocol string `json:"protocol,omitempty"`

    // Region: [Output Only] URL of the region where the regional backend
    // service resides. This field is not applicable to global backend
    // services.
    Region string `json:"region,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for the resource.
    SelfLink string `json:"selfLink,omitempty"`

    // SessionAffinity: Type of session affinity to use. The default is
    // NONE.
    //
    // When the load balancing scheme is EXTERNAL, can be NONE, CLIENT_IP,
    // or GENERATED_COOKIE.
    //
    // When the load balancing scheme is INTERNAL, can be NONE, CLIENT_IP,
    // CLIENT_IP_PROTO, or CLIENT_IP_PORT_PROTO.
    //
    // When the protocol is UDP, this field is not used.
    //
    // Possible values:
    //   "CLIENT_IP"
    //   "CLIENT_IP_PORT_PROTO"
    //   "CLIENT_IP_PROTO"
    //   "GENERATED_COOKIE"
    //   "NONE"
    SessionAffinity string `json:"sessionAffinity,omitempty"`

    // TimeoutSec: How many seconds to wait for the backend before
    // considering it a failed request. Default is 30 seconds.
    TimeoutSec int64 `json:"timeoutSec,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g.
    // "AffinityCookieTtlSec") to unconditionally include in API requests.
    // By default, fields with empty values are omitted from API requests.
    // However, any non-pointer, non-interface field appearing in
    // ForceSendFields will be sent to the server regardless of whether the
    // field is empty or not. This may be used to include empty fields in
    // Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "AffinityCookieTtlSec") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*BackendService) MarshalJSON

func (s *BackendService) MarshalJSON() ([]byte, error)

type BackendServiceAggregatedList

BackendServiceAggregatedList: Contains a list of BackendServicesScopedList.

type BackendServiceAggregatedList struct {
    // Id: [Output Only] Unique identifier for the resource; defined by the
    // server.
    Id string `json:"id,omitempty"`

    // Items: A map of scoped BackendService lists.
    Items map[string]BackendServicesScopedList `json:"items,omitempty"`

    // Kind: Type of resource.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] A token used to continue a truncated
    // list request.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BackendServiceAggregatedList) MarshalJSON

func (s *BackendServiceAggregatedList) MarshalJSON() ([]byte, error)

type BackendServiceCdnPolicy

BackendServiceCdnPolicy: Message containing Cloud CDN configuration for a backend service.

type BackendServiceCdnPolicy struct {
    // CacheKeyPolicy: The CacheKeyPolicy for this CdnPolicy.
    CacheKeyPolicy *CacheKeyPolicy `json:"cacheKeyPolicy,omitempty"`

    // ForceSendFields is a list of field names (e.g. "CacheKeyPolicy") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CacheKeyPolicy") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*BackendServiceCdnPolicy) MarshalJSON

func (s *BackendServiceCdnPolicy) MarshalJSON() ([]byte, error)

type BackendServiceGroupHealth

type BackendServiceGroupHealth struct {
    HealthStatus []*HealthStatus `json:"healthStatus,omitempty"`

    // Kind: [Output Only] Type of resource. Always
    // compute#backendServiceGroupHealth for the health of backend services.
    Kind string `json:"kind,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "HealthStatus") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "HealthStatus") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BackendServiceGroupHealth) MarshalJSON

func (s *BackendServiceGroupHealth) MarshalJSON() ([]byte, error)

type BackendServiceIAP

BackendServiceIAP: Identity-Aware Proxy

type BackendServiceIAP struct {
    Enabled bool `json:"enabled,omitempty"`

    Oauth2ClientId string `json:"oauth2ClientId,omitempty"`

    Oauth2ClientSecret string `json:"oauth2ClientSecret,omitempty"`

    // Oauth2ClientSecretSha256: [Output Only] SHA256 hash value for the
    // field oauth2_client_secret above.
    Oauth2ClientSecretSha256 string `json:"oauth2ClientSecretSha256,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Enabled") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Enabled") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BackendServiceIAP) MarshalJSON

func (s *BackendServiceIAP) MarshalJSON() ([]byte, error)

type BackendServiceList

BackendServiceList: Contains a list of BackendService resources.

type BackendServiceList struct {
    // Id: [Output Only] Unique identifier for the resource; defined by the
    // server.
    Id string `json:"id,omitempty"`

    // Items: A list of BackendService resources.
    Items []*BackendService `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always
    // compute#backendServiceList for lists of backend services.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BackendServiceList) MarshalJSON

func (s *BackendServiceList) MarshalJSON() ([]byte, error)

type BackendServicesAggregatedListCall

type BackendServicesAggregatedListCall struct {
    // contains filtered or unexported fields
}

func (*BackendServicesAggregatedListCall) Context

func (c *BackendServicesAggregatedListCall) Context(ctx context.Context) *BackendServicesAggregatedListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendServicesAggregatedListCall) Do

func (c *BackendServicesAggregatedListCall) Do(opts ...googleapi.CallOption) (*BackendServiceAggregatedList, error)

Do executes the "compute.backendServices.aggregatedList" call. Exactly one of *BackendServiceAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BackendServiceAggregatedList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendServicesAggregatedListCall) Fields

func (c *BackendServicesAggregatedListCall) Fields(s ...googleapi.Field) *BackendServicesAggregatedListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendServicesAggregatedListCall) Filter

func (c *BackendServicesAggregatedListCall) Filter(filter string) *BackendServicesAggregatedListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*BackendServicesAggregatedListCall) Header

func (c *BackendServicesAggregatedListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*BackendServicesAggregatedListCall) IfNoneMatch

func (c *BackendServicesAggregatedListCall) IfNoneMatch(entityTag string) *BackendServicesAggregatedListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*BackendServicesAggregatedListCall) MaxResults

func (c *BackendServicesAggregatedListCall) MaxResults(maxResults int64) *BackendServicesAggregatedListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*BackendServicesAggregatedListCall) OrderBy

func (c *BackendServicesAggregatedListCall) OrderBy(orderBy string) *BackendServicesAggregatedListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*BackendServicesAggregatedListCall) PageToken

func (c *BackendServicesAggregatedListCall) PageToken(pageToken string) *BackendServicesAggregatedListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*BackendServicesAggregatedListCall) Pages

func (c *BackendServicesAggregatedListCall) Pages(ctx context.Context, f func(*BackendServiceAggregatedList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BackendServicesDeleteCall

type BackendServicesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*BackendServicesDeleteCall) Context

func (c *BackendServicesDeleteCall) Context(ctx context.Context) *BackendServicesDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendServicesDeleteCall) Do

func (c *BackendServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.backendServices.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendServicesDeleteCall) Fields

func (c *BackendServicesDeleteCall) Fields(s ...googleapi.Field) *BackendServicesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendServicesDeleteCall) Header

func (c *BackendServicesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type BackendServicesGetCall

type BackendServicesGetCall struct {
    // contains filtered or unexported fields
}

func (*BackendServicesGetCall) Context

func (c *BackendServicesGetCall) Context(ctx context.Context) *BackendServicesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendServicesGetCall) Do

func (c *BackendServicesGetCall) Do(opts ...googleapi.CallOption) (*BackendService, error)

Do executes the "compute.backendServices.get" call. Exactly one of *BackendService or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BackendService.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendServicesGetCall) Fields

func (c *BackendServicesGetCall) Fields(s ...googleapi.Field) *BackendServicesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendServicesGetCall) Header

func (c *BackendServicesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*BackendServicesGetCall) IfNoneMatch

func (c *BackendServicesGetCall) IfNoneMatch(entityTag string) *BackendServicesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type BackendServicesGetHealthCall

type BackendServicesGetHealthCall struct {
    // contains filtered or unexported fields
}

func (*BackendServicesGetHealthCall) Context

func (c *BackendServicesGetHealthCall) Context(ctx context.Context) *BackendServicesGetHealthCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendServicesGetHealthCall) Do

func (c *BackendServicesGetHealthCall) Do(opts ...googleapi.CallOption) (*BackendServiceGroupHealth, error)

Do executes the "compute.backendServices.getHealth" call. Exactly one of *BackendServiceGroupHealth or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BackendServiceGroupHealth.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendServicesGetHealthCall) Fields

func (c *BackendServicesGetHealthCall) Fields(s ...googleapi.Field) *BackendServicesGetHealthCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendServicesGetHealthCall) Header

func (c *BackendServicesGetHealthCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type BackendServicesInsertCall

type BackendServicesInsertCall struct {
    // contains filtered or unexported fields
}

func (*BackendServicesInsertCall) Context

func (c *BackendServicesInsertCall) Context(ctx context.Context) *BackendServicesInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendServicesInsertCall) Do

func (c *BackendServicesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.backendServices.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendServicesInsertCall) Fields

func (c *BackendServicesInsertCall) Fields(s ...googleapi.Field) *BackendServicesInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendServicesInsertCall) Header

func (c *BackendServicesInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type BackendServicesListCall

type BackendServicesListCall struct {
    // contains filtered or unexported fields
}

func (*BackendServicesListCall) Context

func (c *BackendServicesListCall) Context(ctx context.Context) *BackendServicesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendServicesListCall) Do

func (c *BackendServicesListCall) Do(opts ...googleapi.CallOption) (*BackendServiceList, error)

Do executes the "compute.backendServices.list" call. Exactly one of *BackendServiceList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *BackendServiceList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendServicesListCall) Fields

func (c *BackendServicesListCall) Fields(s ...googleapi.Field) *BackendServicesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendServicesListCall) Filter

func (c *BackendServicesListCall) Filter(filter string) *BackendServicesListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*BackendServicesListCall) Header

func (c *BackendServicesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*BackendServicesListCall) IfNoneMatch

func (c *BackendServicesListCall) IfNoneMatch(entityTag string) *BackendServicesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*BackendServicesListCall) MaxResults

func (c *BackendServicesListCall) MaxResults(maxResults int64) *BackendServicesListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*BackendServicesListCall) OrderBy

func (c *BackendServicesListCall) OrderBy(orderBy string) *BackendServicesListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*BackendServicesListCall) PageToken

func (c *BackendServicesListCall) PageToken(pageToken string) *BackendServicesListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*BackendServicesListCall) Pages

func (c *BackendServicesListCall) Pages(ctx context.Context, f func(*BackendServiceList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type BackendServicesPatchCall

type BackendServicesPatchCall struct {
    // contains filtered or unexported fields
}

func (*BackendServicesPatchCall) Context

func (c *BackendServicesPatchCall) Context(ctx context.Context) *BackendServicesPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendServicesPatchCall) Do

func (c *BackendServicesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.backendServices.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendServicesPatchCall) Fields

func (c *BackendServicesPatchCall) Fields(s ...googleapi.Field) *BackendServicesPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendServicesPatchCall) Header

func (c *BackendServicesPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type BackendServicesScopedList

type BackendServicesScopedList struct {
    // BackendServices: List of BackendServices contained in this scope.
    BackendServices []*BackendService `json:"backendServices,omitempty"`

    // Warning: Informational warning which replaces the list of backend
    // services when the list is empty.
    Warning *BackendServicesScopedListWarning `json:"warning,omitempty"`

    // ForceSendFields is a list of field names (e.g. "BackendServices") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "BackendServices") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*BackendServicesScopedList) MarshalJSON

func (s *BackendServicesScopedList) MarshalJSON() ([]byte, error)

type BackendServicesScopedListWarning

BackendServicesScopedListWarning: Informational warning which replaces the list of backend services when the list is empty.

type BackendServicesScopedListWarning struct {
    // Code: [Output Only] A warning code, if applicable. For example,
    // Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in
    // the response.
    //
    // Possible values:
    //   "CLEANUP_FAILED"
    //   "DEPRECATED_RESOURCE_USED"
    //   "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
    //   "FIELD_VALUE_OVERRIDEN"
    //   "INJECTED_KERNELS_DEPRECATED"
    //   "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
    //   "NEXT_HOP_CANNOT_IP_FORWARD"
    //   "NEXT_HOP_INSTANCE_NOT_FOUND"
    //   "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
    //   "NEXT_HOP_NOT_RUNNING"
    //   "NOT_CRITICAL_ERROR"
    //   "NO_RESULTS_ON_PAGE"
    //   "REQUIRED_TOS_AGREEMENT"
    //   "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
    //   "RESOURCE_NOT_DELETED"
    //   "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
    //   "UNREACHABLE"
    Code string `json:"code,omitempty"`

    // Data: [Output Only] Metadata about this warning in key: value format.
    // For example:
    // "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    Data []*BackendServicesScopedListWarningData `json:"data,omitempty"`

    // Message: [Output Only] A human-readable description of the warning
    // code.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Code") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BackendServicesScopedListWarning) MarshalJSON

func (s *BackendServicesScopedListWarning) MarshalJSON() ([]byte, error)

type BackendServicesScopedListWarningData

type BackendServicesScopedListWarningData struct {
    // Key: [Output Only] A key that provides more detail on the warning
    // being returned. For example, for warnings where there are no results
    // in a list request for a particular zone, this key might be scope and
    // the key value might be the zone name. Other examples might be a key
    // indicating a deprecated resource and a suggested replacement, or a
    // warning about invalid network settings (for example, if an instance
    // attempts to perform IP forwarding but is not enabled for IP
    // forwarding).
    Key string `json:"key,omitempty"`

    // Value: [Output Only] A warning data value corresponding to the key.
    Value string `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Key") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Key") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*BackendServicesScopedListWarningData) MarshalJSON

func (s *BackendServicesScopedListWarningData) MarshalJSON() ([]byte, error)

type BackendServicesService

type BackendServicesService struct {
    // contains filtered or unexported fields
}

func NewBackendServicesService

func NewBackendServicesService(s *Service) *BackendServicesService

func (*BackendServicesService) AggregatedList

func (r *BackendServicesService) AggregatedList(project string) *BackendServicesAggregatedListCall

AggregatedList: Retrieves the list of all BackendService resources, regional and global, available to the specified project.

func (*BackendServicesService) Delete

func (r *BackendServicesService) Delete(project string, backendService string) *BackendServicesDeleteCall

Delete: Deletes the specified BackendService resource. For details, see https://cloud.google.com/compute/docs/reference/latest/backendServices/delete

func (*BackendServicesService) Get

func (r *BackendServicesService) Get(project string, backendService string) *BackendServicesGetCall

Get: Returns the specified BackendService resource. Get a list of available backend services by making a list() request. For details, see https://cloud.google.com/compute/docs/reference/latest/backendServices/get

func (*BackendServicesService) GetHealth

func (r *BackendServicesService) GetHealth(project string, backendService string, resourcegroupreference *ResourceGroupReference) *BackendServicesGetHealthCall

GetHealth: Gets the most recent health check results for this BackendService. For details, see https://cloud.google.com/compute/docs/reference/latest/backendServices/getHealth

func (*BackendServicesService) Insert

func (r *BackendServicesService) Insert(project string, backendservice *BackendService) *BackendServicesInsertCall

Insert: Creates a BackendService resource in the specified project using the data included in the request. There are several restrictions and guidelines to keep in mind when creating a backend service. Read Restrictions and Guidelines for more information. For details, see https://cloud.google.com/compute/docs/reference/latest/backendServices/insert

func (*BackendServicesService) List

func (r *BackendServicesService) List(project string) *BackendServicesListCall

List: Retrieves the list of BackendService resources available to the specified project. For details, see https://cloud.google.com/compute/docs/reference/latest/backendServices/list

func (*BackendServicesService) Patch

func (r *BackendServicesService) Patch(project string, backendService string, backendservice *BackendService) *BackendServicesPatchCall

Patch: Patches the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. This method supports patch semantics. For details, see https://cloud.google.com/compute/docs/reference/latest/backendServices/patch

func (*BackendServicesService) Update

func (r *BackendServicesService) Update(project string, backendService string, backendservice *BackendService) *BackendServicesUpdateCall

Update: Updates the specified BackendService resource with the data included in the request. There are several restrictions and guidelines to keep in mind when updating a backend service. Read Restrictions and Guidelines for more information. For details, see https://cloud.google.com/compute/docs/reference/latest/backendServices/update

type BackendServicesUpdateCall

type BackendServicesUpdateCall struct {
    // contains filtered or unexported fields
}

func (*BackendServicesUpdateCall) Context

func (c *BackendServicesUpdateCall) Context(ctx context.Context) *BackendServicesUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*BackendServicesUpdateCall) Do

func (c *BackendServicesUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.backendServices.update" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*BackendServicesUpdateCall) Fields

func (c *BackendServicesUpdateCall) Fields(s ...googleapi.Field) *BackendServicesUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*BackendServicesUpdateCall) Header

func (c *BackendServicesUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type CacheInvalidationRule

type CacheInvalidationRule struct {
    // Host: If set, this invalidation rule will only apply to requests with
    // a Host header matching host.
    Host string `json:"host,omitempty"`

    Path string `json:"path,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Host") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Host") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CacheInvalidationRule) MarshalJSON

func (s *CacheInvalidationRule) MarshalJSON() ([]byte, error)

type CacheKeyPolicy

CacheKeyPolicy: Message containing what to include in the cache key for a request for Cloud CDN.

type CacheKeyPolicy struct {
    // IncludeHost: If true, requests to different hosts will be cached
    // separately.
    IncludeHost bool `json:"includeHost,omitempty"`

    // IncludeProtocol: If true, http and https requests will be cached
    // separately.
    IncludeProtocol bool `json:"includeProtocol,omitempty"`

    // IncludeQueryString: If true, include query string parameters in the
    // cache key according to query_string_whitelist and
    // query_string_blacklist. If neither is set, the entire query string
    // will be included. If false, the query string will be excluded from
    // the cache key entirely.
    IncludeQueryString bool `json:"includeQueryString,omitempty"`

    // QueryStringBlacklist: Names of query string parameters to exclude in
    // cache keys. All other parameters will be included. Either specify
    // query_string_whitelist or query_string_blacklist, not both. '&' and
    // '=' will be percent encoded and not treated as delimiters.
    QueryStringBlacklist []string `json:"queryStringBlacklist,omitempty"`

    // QueryStringWhitelist: Names of query string parameters to include in
    // cache keys. All other parameters will be excluded. Either specify
    // query_string_whitelist or query_string_blacklist, not both. '&' and
    // '=' will be percent encoded and not treated as delimiters.
    QueryStringWhitelist []string `json:"queryStringWhitelist,omitempty"`

    // ForceSendFields is a list of field names (e.g. "IncludeHost") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "IncludeHost") to include
    // in API requests with the JSON null value. By default, fields with
    // empty values are omitted from API requests. However, any field with
    // an empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CacheKeyPolicy) MarshalJSON

func (s *CacheKeyPolicy) MarshalJSON() ([]byte, error)

type ConnectionDraining

ConnectionDraining: Message containing connection draining configuration.

type ConnectionDraining struct {
    // DrainingTimeoutSec: Time for which instance will be drained (not
    // accept new connections, but still work to finish started).
    DrainingTimeoutSec int64 `json:"drainingTimeoutSec,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DrainingTimeoutSec")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DrainingTimeoutSec") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*ConnectionDraining) MarshalJSON

func (s *ConnectionDraining) MarshalJSON() ([]byte, error)

type CustomerEncryptionKey

CustomerEncryptionKey: Represents a customer-supplied encryption key

type CustomerEncryptionKey struct {
    // RawKey: Specifies a 256-bit customer-supplied encryption key, encoded
    // in RFC 4648 base64 to either encrypt or decrypt this resource.
    RawKey string `json:"rawKey,omitempty"`

    // Sha256: [Output only] The RFC 4648 base64 encoded SHA-256 hash of the
    // customer-supplied encryption key that protects this resource.
    Sha256 string `json:"sha256,omitempty"`

    // ForceSendFields is a list of field names (e.g. "RawKey") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "RawKey") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*CustomerEncryptionKey) MarshalJSON

func (s *CustomerEncryptionKey) MarshalJSON() ([]byte, error)

type CustomerEncryptionKeyProtectedDisk

type CustomerEncryptionKeyProtectedDisk struct {
    // DiskEncryptionKey: Decrypts data associated with the disk with a
    // customer-supplied encryption key.
    DiskEncryptionKey *CustomerEncryptionKey `json:"diskEncryptionKey,omitempty"`

    // Source: Specifies a valid partial or full URL to an existing
    // Persistent Disk resource. This field is only applicable for
    // persistent disks.
    Source string `json:"source,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DiskEncryptionKey")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DiskEncryptionKey") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*CustomerEncryptionKeyProtectedDisk) MarshalJSON

func (s *CustomerEncryptionKeyProtectedDisk) MarshalJSON() ([]byte, error)

type DeprecationStatus

DeprecationStatus: Deprecation status for a public resource.

type DeprecationStatus struct {
    // Deleted: An optional RFC3339 timestamp on or after which the state of
    // this resource is intended to change to DELETED. This is only
    // informational and the status will not change unless the client
    // explicitly changes it.
    Deleted string `json:"deleted,omitempty"`

    // Deprecated: An optional RFC3339 timestamp on or after which the state
    // of this resource is intended to change to DEPRECATED. This is only
    // informational and the status will not change unless the client
    // explicitly changes it.
    Deprecated string `json:"deprecated,omitempty"`

    // Obsolete: An optional RFC3339 timestamp on or after which the state
    // of this resource is intended to change to OBSOLETE. This is only
    // informational and the status will not change unless the client
    // explicitly changes it.
    Obsolete string `json:"obsolete,omitempty"`

    // Replacement: The URL of the suggested replacement for a deprecated
    // resource. The suggested replacement resource must be the same kind of
    // resource as the deprecated resource.
    Replacement string `json:"replacement,omitempty"`

    // State: The deprecation state of this resource. This can be
    // DEPRECATED, OBSOLETE, or DELETED. Operations which create a new
    // resource using a DEPRECATED resource will return successfully, but
    // with a warning indicating the deprecated resource and recommending
    // its replacement. Operations which use OBSOLETE or DELETED resources
    // will be rejected and result in an error.
    //
    // Possible values:
    //   "DELETED"
    //   "DEPRECATED"
    //   "OBSOLETE"
    State string `json:"state,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Deleted") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Deleted") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DeprecationStatus) MarshalJSON

func (s *DeprecationStatus) MarshalJSON() ([]byte, error)

type Disk

Disk: A Disk resource.

type Disk struct {
    // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
    // format.
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // Description: An optional description of this resource. Provide this
    // property when you create the resource.
    Description string `json:"description,omitempty"`

    // DiskEncryptionKey: Encrypts the disk using a customer-supplied
    // encryption key.
    //
    // After you encrypt a disk with a customer-supplied key, you must
    // provide the same key if you use the disk later (e.g. to create a disk
    // snapshot or an image, or to attach the disk to a virtual
    // machine).
    //
    // Customer-supplied encryption keys do not protect access to metadata
    // of the disk.
    //
    // If you do not provide an encryption key when creating the disk, then
    // the disk will be encrypted using an automatically generated key and
    // you do not need to provide a key to use the disk later.
    DiskEncryptionKey *CustomerEncryptionKey `json:"diskEncryptionKey,omitempty"`

    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id uint64 `json:"id,omitempty,string"`

    // Kind: [Output Only] Type of the resource. Always compute#disk for
    // disks.
    Kind string `json:"kind,omitempty"`

    // LabelFingerprint: A fingerprint for the labels being applied to this
    // disk, which is essentially a hash of the labels set used for
    // optimistic locking. The fingerprint is initially generated by Compute
    // Engine and changes after every request to modify or update labels.
    // You must always provide an up-to-date fingerprint hash in order to
    // update or change labels.
    //
    // To see the latest fingerprint, make a get() request to retrieve a
    // disk.
    LabelFingerprint string `json:"labelFingerprint,omitempty"`

    // Labels: Labels to apply to this disk. These can be later modified by
    // the setLabels method.
    Labels map[string]string `json:"labels,omitempty"`

    // LastAttachTimestamp: [Output Only] Last attach timestamp in RFC3339
    // text format.
    LastAttachTimestamp string `json:"lastAttachTimestamp,omitempty"`

    // LastDetachTimestamp: [Output Only] Last detach timestamp in RFC3339
    // text format.
    LastDetachTimestamp string `json:"lastDetachTimestamp,omitempty"`

    // Licenses: Any applicable publicly visible licenses.
    Licenses []string `json:"licenses,omitempty"`

    // Name: Name of the resource. Provided by the client when the resource
    // is created. The name must be 1-63 characters long, and comply with
    // RFC1035. Specifically, the name must be 1-63 characters long and
    // match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
    // the first character must be a lowercase letter, and all following
    // characters must be a dash, lowercase letter, or digit, except the
    // last character, which cannot be a dash.
    Name string `json:"name,omitempty"`

    // Options: Internal use only.
    Options string `json:"options,omitempty"`

    // SelfLink: [Output Only] Server-defined fully-qualified URL for this
    // resource.
    SelfLink string `json:"selfLink,omitempty"`

    // SizeGb: Size of the persistent disk, specified in GB. You can specify
    // this field when creating a persistent disk using the sourceImage or
    // sourceSnapshot parameter, or specify it alone to create an empty
    // persistent disk.
    //
    // If you specify this field along with sourceImage or sourceSnapshot,
    // the value of sizeGb must not be less than the size of the sourceImage
    // or the size of the snapshot.
    SizeGb int64 `json:"sizeGb,omitempty,string"`

    // SourceImage: The source image used to create this disk. If the source
    // image is deleted, this field will not be set.
    //
    // To create a disk with one of the public operating system images,
    // specify the image by its family name. For example, specify
    // family/debian-8 to use the latest Debian 8
    // image:
    //
    // projects/debian-cloud/global/images/family/debian-8
    //
    // Alternatively, use a specific version of a public operating system
    // image:
    //
    // projects/debian-cloud/global/images/debian-8-jessie-vYYYYMMDD
    //
    // To create a disk with a private image that you created, specify the
    // image name in the following format:
    //
    // global/images/my-private-image
    //
    // You can also specify a private image by its image family, which
    // returns the latest version of the image in that family. Replace the
    // image name with
    // family/family-name:
    //
    // global/images/family/my-private-family
    SourceImage string `json:"sourceImage,omitempty"`

    // SourceImageEncryptionKey: The customer-supplied encryption key of the
    // source image. Required if the source image is protected by a
    // customer-supplied encryption key.
    SourceImageEncryptionKey *CustomerEncryptionKey `json:"sourceImageEncryptionKey,omitempty"`

    // SourceImageId: [Output Only] The ID value of the image used to create
    // this disk. This value identifies the exact image that was used to
    // create this persistent disk. For example, if you created the
    // persistent disk from an image that was later deleted and recreated
    // under the same name, the source image ID would identify the exact
    // version of the image that was used.
    SourceImageId string `json:"sourceImageId,omitempty"`

    // SourceSnapshot: The source snapshot used to create this disk. You can
    // provide this as a partial or full URL to the resource. For example,
    // the following are valid values:
    // -
    // https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot
    // - projects/project/global/snapshots/snapshot
    // - global/snapshots/snapshot
    SourceSnapshot string `json:"sourceSnapshot,omitempty"`

    // SourceSnapshotEncryptionKey: The customer-supplied encryption key of
    // the source snapshot. Required if the source snapshot is protected by
    // a customer-supplied encryption key.
    SourceSnapshotEncryptionKey *CustomerEncryptionKey `json:"sourceSnapshotEncryptionKey,omitempty"`

    // SourceSnapshotId: [Output Only] The unique ID of the snapshot used to
    // create this disk. This value identifies the exact snapshot that was
    // used to create this persistent disk. For example, if you created the
    // persistent disk from a snapshot that was later deleted and recreated
    // under the same name, the source snapshot ID would identify the exact
    // version of the snapshot that was used.
    SourceSnapshotId string `json:"sourceSnapshotId,omitempty"`

    // Status: [Output Only] The status of disk creation.
    //
    // Possible values:
    //   "CREATING"
    //   "FAILED"
    //   "READY"
    //   "RESTORING"
    Status string `json:"status,omitempty"`

    // Type: URL of the disk type resource describing which disk type to use
    // to create the disk. Provide this when creating the disk.
    Type string `json:"type,omitempty"`

    // Users: [Output Only] Links to the users of the disk (attached
    // instances) in form: project/zones/zone/instances/instance
    Users []string `json:"users,omitempty"`

    // Zone: [Output Only] URL of the zone where the disk resides.
    Zone string `json:"zone,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CreationTimestamp")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CreationTimestamp") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*Disk) MarshalJSON

func (s *Disk) MarshalJSON() ([]byte, error)

type DiskAggregatedList

type DiskAggregatedList struct {
    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id string `json:"id,omitempty"`

    // Items: [Output Only] A map of scoped disk lists.
    Items map[string]DisksScopedList `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always
    // compute#diskAggregatedList for aggregated lists of persistent disks.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results. Acceptable values are 0 to 500, inclusive. (Default:
    // 500)
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DiskAggregatedList) MarshalJSON

func (s *DiskAggregatedList) MarshalJSON() ([]byte, error)

type DiskList

DiskList: A list of Disk resources.

type DiskList struct {
    // Id: [Output Only] Unique identifier for the resource; defined by the
    // server.
    Id string `json:"id,omitempty"`

    // Items: A list of Disk resources.
    Items []*Disk `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always compute#diskList for
    // lists of disks.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: This token allows you to get the next page of results
    // for list requests. If the number of results is larger than
    // maxResults, use the nextPageToken as a value for the query parameter
    // pageToken in the next list request. Subsequent list requests will
    // have their own nextPageToken to continue paging through the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DiskList) MarshalJSON

func (s *DiskList) MarshalJSON() ([]byte, error)

type DiskMoveRequest

type DiskMoveRequest struct {
    // DestinationZone: The URL of the destination zone to move the disk.
    // This can be a full or partial URL. For example, the following are all
    // valid URLs to a zone:
    // - https://www.googleapis.com/compute/v1/projects/project/zones/zone
    //
    // - projects/project/zones/zone
    // - zones/zone
    DestinationZone string `json:"destinationZone,omitempty"`

    // TargetDisk: The URL of the target disk to move. This can be a full or
    // partial URL. For example, the following are all valid URLs to a disk:
    //
    // -
    // https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
    // - projects/project/zones/zone/disks/disk
    // - zones/zone/disks/disk
    TargetDisk string `json:"targetDisk,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DestinationZone") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DestinationZone") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*DiskMoveRequest) MarshalJSON

func (s *DiskMoveRequest) MarshalJSON() ([]byte, error)

type DiskType

DiskType: A DiskType resource.

type DiskType struct {
    // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
    // format.
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // DefaultDiskSizeGb: [Output Only] Server-defined default disk size in
    // GB.
    DefaultDiskSizeGb int64 `json:"defaultDiskSizeGb,omitempty,string"`

    // Deprecated: [Output Only] The deprecation status associated with this
    // disk type.
    Deprecated *DeprecationStatus `json:"deprecated,omitempty"`

    // Description: [Output Only] An optional description of this resource.
    Description string `json:"description,omitempty"`

    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id uint64 `json:"id,omitempty,string"`

    // Kind: [Output Only] Type of the resource. Always compute#diskType for
    // disk types.
    Kind string `json:"kind,omitempty"`

    // Name: [Output Only] Name of the resource.
    Name string `json:"name,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for the resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ValidDiskSize: [Output Only] An optional textual description of the
    // valid disk size, such as "10GB-10TB".
    ValidDiskSize string `json:"validDiskSize,omitempty"`

    // Zone: [Output Only] URL of the zone where the disk type resides.
    Zone string `json:"zone,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "CreationTimestamp")
    // to unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "CreationTimestamp") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*DiskType) MarshalJSON

func (s *DiskType) MarshalJSON() ([]byte, error)

type DiskTypeAggregatedList

type DiskTypeAggregatedList struct {
    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id string `json:"id,omitempty"`

    // Items: [Output Only] A map of scoped disk type lists.
    Items map[string]DiskTypesScopedList `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always
    // compute#diskTypeAggregatedList.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DiskTypeAggregatedList) MarshalJSON

func (s *DiskTypeAggregatedList) MarshalJSON() ([]byte, error)

type DiskTypeList

DiskTypeList: Contains a list of disk types.

type DiskTypeList struct {
    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id string `json:"id,omitempty"`

    // Items: [Output Only] A list of Disk Type resources.
    Items []*DiskType `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always compute#diskTypeList for
    // disk types.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DiskTypeList) MarshalJSON

func (s *DiskTypeList) MarshalJSON() ([]byte, error)

type DiskTypesAggregatedListCall

type DiskTypesAggregatedListCall struct {
    // contains filtered or unexported fields
}

func (*DiskTypesAggregatedListCall) Context

func (c *DiskTypesAggregatedListCall) Context(ctx context.Context) *DiskTypesAggregatedListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DiskTypesAggregatedListCall) Do

func (c *DiskTypesAggregatedListCall) Do(opts ...googleapi.CallOption) (*DiskTypeAggregatedList, error)

Do executes the "compute.diskTypes.aggregatedList" call. Exactly one of *DiskTypeAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DiskTypeAggregatedList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DiskTypesAggregatedListCall) Fields

func (c *DiskTypesAggregatedListCall) Fields(s ...googleapi.Field) *DiskTypesAggregatedListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DiskTypesAggregatedListCall) Filter

func (c *DiskTypesAggregatedListCall) Filter(filter string) *DiskTypesAggregatedListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*DiskTypesAggregatedListCall) Header

func (c *DiskTypesAggregatedListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*DiskTypesAggregatedListCall) IfNoneMatch

func (c *DiskTypesAggregatedListCall) IfNoneMatch(entityTag string) *DiskTypesAggregatedListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*DiskTypesAggregatedListCall) MaxResults

func (c *DiskTypesAggregatedListCall) MaxResults(maxResults int64) *DiskTypesAggregatedListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*DiskTypesAggregatedListCall) OrderBy

func (c *DiskTypesAggregatedListCall) OrderBy(orderBy string) *DiskTypesAggregatedListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*DiskTypesAggregatedListCall) PageToken

func (c *DiskTypesAggregatedListCall) PageToken(pageToken string) *DiskTypesAggregatedListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*DiskTypesAggregatedListCall) Pages

func (c *DiskTypesAggregatedListCall) Pages(ctx context.Context, f func(*DiskTypeAggregatedList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type DiskTypesGetCall

type DiskTypesGetCall struct {
    // contains filtered or unexported fields
}

func (*DiskTypesGetCall) Context

func (c *DiskTypesGetCall) Context(ctx context.Context) *DiskTypesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DiskTypesGetCall) Do

func (c *DiskTypesGetCall) Do(opts ...googleapi.CallOption) (*DiskType, error)

Do executes the "compute.diskTypes.get" call. Exactly one of *DiskType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DiskType.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DiskTypesGetCall) Fields

func (c *DiskTypesGetCall) Fields(s ...googleapi.Field) *DiskTypesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DiskTypesGetCall) Header

func (c *DiskTypesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*DiskTypesGetCall) IfNoneMatch

func (c *DiskTypesGetCall) IfNoneMatch(entityTag string) *DiskTypesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type DiskTypesListCall

type DiskTypesListCall struct {
    // contains filtered or unexported fields
}

func (*DiskTypesListCall) Context

func (c *DiskTypesListCall) Context(ctx context.Context) *DiskTypesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DiskTypesListCall) Do

func (c *DiskTypesListCall) Do(opts ...googleapi.CallOption) (*DiskTypeList, error)

Do executes the "compute.diskTypes.list" call. Exactly one of *DiskTypeList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DiskTypeList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DiskTypesListCall) Fields

func (c *DiskTypesListCall) Fields(s ...googleapi.Field) *DiskTypesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DiskTypesListCall) Filter

func (c *DiskTypesListCall) Filter(filter string) *DiskTypesListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*DiskTypesListCall) Header

func (c *DiskTypesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*DiskTypesListCall) IfNoneMatch

func (c *DiskTypesListCall) IfNoneMatch(entityTag string) *DiskTypesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*DiskTypesListCall) MaxResults

func (c *DiskTypesListCall) MaxResults(maxResults int64) *DiskTypesListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*DiskTypesListCall) OrderBy

func (c *DiskTypesListCall) OrderBy(orderBy string) *DiskTypesListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*DiskTypesListCall) PageToken

func (c *DiskTypesListCall) PageToken(pageToken string) *DiskTypesListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*DiskTypesListCall) Pages

func (c *DiskTypesListCall) Pages(ctx context.Context, f func(*DiskTypeList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type DiskTypesScopedList

type DiskTypesScopedList struct {
    // DiskTypes: [Output Only] List of disk types contained in this scope.
    DiskTypes []*DiskType `json:"diskTypes,omitempty"`

    // Warning: [Output Only] Informational warning which replaces the list
    // of disk types when the list is empty.
    Warning *DiskTypesScopedListWarning `json:"warning,omitempty"`

    // ForceSendFields is a list of field names (e.g. "DiskTypes") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "DiskTypes") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DiskTypesScopedList) MarshalJSON

func (s *DiskTypesScopedList) MarshalJSON() ([]byte, error)

type DiskTypesScopedListWarning

DiskTypesScopedListWarning: [Output Only] Informational warning which replaces the list of disk types when the list is empty.

type DiskTypesScopedListWarning struct {
    // Code: [Output Only] A warning code, if applicable. For example,
    // Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in
    // the response.
    //
    // Possible values:
    //   "CLEANUP_FAILED"
    //   "DEPRECATED_RESOURCE_USED"
    //   "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
    //   "FIELD_VALUE_OVERRIDEN"
    //   "INJECTED_KERNELS_DEPRECATED"
    //   "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
    //   "NEXT_HOP_CANNOT_IP_FORWARD"
    //   "NEXT_HOP_INSTANCE_NOT_FOUND"
    //   "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
    //   "NEXT_HOP_NOT_RUNNING"
    //   "NOT_CRITICAL_ERROR"
    //   "NO_RESULTS_ON_PAGE"
    //   "REQUIRED_TOS_AGREEMENT"
    //   "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
    //   "RESOURCE_NOT_DELETED"
    //   "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
    //   "UNREACHABLE"
    Code string `json:"code,omitempty"`

    // Data: [Output Only] Metadata about this warning in key: value format.
    // For example:
    // "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    Data []*DiskTypesScopedListWarningData `json:"data,omitempty"`

    // Message: [Output Only] A human-readable description of the warning
    // code.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Code") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DiskTypesScopedListWarning) MarshalJSON

func (s *DiskTypesScopedListWarning) MarshalJSON() ([]byte, error)

type DiskTypesScopedListWarningData

type DiskTypesScopedListWarningData struct {
    // Key: [Output Only] A key that provides more detail on the warning
    // being returned. For example, for warnings where there are no results
    // in a list request for a particular zone, this key might be scope and
    // the key value might be the zone name. Other examples might be a key
    // indicating a deprecated resource and a suggested replacement, or a
    // warning about invalid network settings (for example, if an instance
    // attempts to perform IP forwarding but is not enabled for IP
    // forwarding).
    Key string `json:"key,omitempty"`

    // Value: [Output Only] A warning data value corresponding to the key.
    Value string `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Key") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Key") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DiskTypesScopedListWarningData) MarshalJSON

func (s *DiskTypesScopedListWarningData) MarshalJSON() ([]byte, error)

type DiskTypesService

type DiskTypesService struct {
    // contains filtered or unexported fields
}

func NewDiskTypesService

func NewDiskTypesService(s *Service) *DiskTypesService

func (*DiskTypesService) AggregatedList

func (r *DiskTypesService) AggregatedList(project string) *DiskTypesAggregatedListCall

AggregatedList: Retrieves an aggregated list of disk types. For details, see https://cloud.google.com/compute/docs/reference/latest/diskTypes/aggregatedList

func (*DiskTypesService) Get

func (r *DiskTypesService) Get(project string, zone string, diskType string) *DiskTypesGetCall

Get: Returns the specified disk type. Get a list of available disk types by making a list() request. For details, see https://cloud.google.com/compute/docs/reference/latest/diskTypes/get

func (*DiskTypesService) List

func (r *DiskTypesService) List(project string, zone string) *DiskTypesListCall

List: Retrieves a list of disk types available to the specified project. For details, see https://cloud.google.com/compute/docs/reference/latest/diskTypes/list

type DisksAggregatedListCall

type DisksAggregatedListCall struct {
    // contains filtered or unexported fields
}

func (*DisksAggregatedListCall) Context

func (c *DisksAggregatedListCall) Context(ctx context.Context) *DisksAggregatedListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DisksAggregatedListCall) Do

func (c *DisksAggregatedListCall) Do(opts ...googleapi.CallOption) (*DiskAggregatedList, error)

Do executes the "compute.disks.aggregatedList" call. Exactly one of *DiskAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DiskAggregatedList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DisksAggregatedListCall) Fields

func (c *DisksAggregatedListCall) Fields(s ...googleapi.Field) *DisksAggregatedListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DisksAggregatedListCall) Filter

func (c *DisksAggregatedListCall) Filter(filter string) *DisksAggregatedListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*DisksAggregatedListCall) Header

func (c *DisksAggregatedListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*DisksAggregatedListCall) IfNoneMatch

func (c *DisksAggregatedListCall) IfNoneMatch(entityTag string) *DisksAggregatedListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*DisksAggregatedListCall) MaxResults

func (c *DisksAggregatedListCall) MaxResults(maxResults int64) *DisksAggregatedListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*DisksAggregatedListCall) OrderBy

func (c *DisksAggregatedListCall) OrderBy(orderBy string) *DisksAggregatedListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*DisksAggregatedListCall) PageToken

func (c *DisksAggregatedListCall) PageToken(pageToken string) *DisksAggregatedListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*DisksAggregatedListCall) Pages

func (c *DisksAggregatedListCall) Pages(ctx context.Context, f func(*DiskAggregatedList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type DisksCreateSnapshotCall

type DisksCreateSnapshotCall struct {
    // contains filtered or unexported fields
}

func (*DisksCreateSnapshotCall) Context

func (c *DisksCreateSnapshotCall) Context(ctx context.Context) *DisksCreateSnapshotCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DisksCreateSnapshotCall) Do

func (c *DisksCreateSnapshotCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.disks.createSnapshot" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DisksCreateSnapshotCall) Fields

func (c *DisksCreateSnapshotCall) Fields(s ...googleapi.Field) *DisksCreateSnapshotCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DisksCreateSnapshotCall) GuestFlush

func (c *DisksCreateSnapshotCall) GuestFlush(guestFlush bool) *DisksCreateSnapshotCall

GuestFlush sets the optional parameter "guestFlush":

func (*DisksCreateSnapshotCall) Header

func (c *DisksCreateSnapshotCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type DisksDeleteCall

type DisksDeleteCall struct {
    // contains filtered or unexported fields
}

func (*DisksDeleteCall) Context

func (c *DisksDeleteCall) Context(ctx context.Context) *DisksDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DisksDeleteCall) Do

func (c *DisksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.disks.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DisksDeleteCall) Fields

func (c *DisksDeleteCall) Fields(s ...googleapi.Field) *DisksDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DisksDeleteCall) Header

func (c *DisksDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type DisksGetCall

type DisksGetCall struct {
    // contains filtered or unexported fields
}

func (*DisksGetCall) Context

func (c *DisksGetCall) Context(ctx context.Context) *DisksGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DisksGetCall) Do

func (c *DisksGetCall) Do(opts ...googleapi.CallOption) (*Disk, error)

Do executes the "compute.disks.get" call. Exactly one of *Disk or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Disk.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DisksGetCall) Fields

func (c *DisksGetCall) Fields(s ...googleapi.Field) *DisksGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DisksGetCall) Header

func (c *DisksGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*DisksGetCall) IfNoneMatch

func (c *DisksGetCall) IfNoneMatch(entityTag string) *DisksGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type DisksInsertCall

type DisksInsertCall struct {
    // contains filtered or unexported fields
}

func (*DisksInsertCall) Context

func (c *DisksInsertCall) Context(ctx context.Context) *DisksInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DisksInsertCall) Do

func (c *DisksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.disks.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DisksInsertCall) Fields

func (c *DisksInsertCall) Fields(s ...googleapi.Field) *DisksInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DisksInsertCall) Header

func (c *DisksInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*DisksInsertCall) SourceImage

func (c *DisksInsertCall) SourceImage(sourceImage string) *DisksInsertCall

SourceImage sets the optional parameter "sourceImage": Source image to restore onto a disk.

type DisksListCall

type DisksListCall struct {
    // contains filtered or unexported fields
}

func (*DisksListCall) Context

func (c *DisksListCall) Context(ctx context.Context) *DisksListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DisksListCall) Do

func (c *DisksListCall) Do(opts ...googleapi.CallOption) (*DiskList, error)

Do executes the "compute.disks.list" call. Exactly one of *DiskList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DiskList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DisksListCall) Fields

func (c *DisksListCall) Fields(s ...googleapi.Field) *DisksListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DisksListCall) Filter

func (c *DisksListCall) Filter(filter string) *DisksListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*DisksListCall) Header

func (c *DisksListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*DisksListCall) IfNoneMatch

func (c *DisksListCall) IfNoneMatch(entityTag string) *DisksListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*DisksListCall) MaxResults

func (c *DisksListCall) MaxResults(maxResults int64) *DisksListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*DisksListCall) OrderBy

func (c *DisksListCall) OrderBy(orderBy string) *DisksListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*DisksListCall) PageToken

func (c *DisksListCall) PageToken(pageToken string) *DisksListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*DisksListCall) Pages

func (c *DisksListCall) Pages(ctx context.Context, f func(*DiskList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type DisksResizeCall

type DisksResizeCall struct {
    // contains filtered or unexported fields
}

func (*DisksResizeCall) Context

func (c *DisksResizeCall) Context(ctx context.Context) *DisksResizeCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DisksResizeCall) Do

func (c *DisksResizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.disks.resize" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DisksResizeCall) Fields

func (c *DisksResizeCall) Fields(s ...googleapi.Field) *DisksResizeCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DisksResizeCall) Header

func (c *DisksResizeCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type DisksResizeRequest

type DisksResizeRequest struct {
    // SizeGb: The new size of the persistent disk, which is specified in
    // GB.
    SizeGb int64 `json:"sizeGb,omitempty,string"`

    // ForceSendFields is a list of field names (e.g. "SizeGb") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "SizeGb") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DisksResizeRequest) MarshalJSON

func (s *DisksResizeRequest) MarshalJSON() ([]byte, error)

type DisksScopedList

type DisksScopedList struct {
    // Disks: [Output Only] List of disks contained in this scope.
    Disks []*Disk `json:"disks,omitempty"`

    // Warning: [Output Only] Informational warning which replaces the list
    // of disks when the list is empty.
    Warning *DisksScopedListWarning `json:"warning,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Disks") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Disks") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DisksScopedList) MarshalJSON

func (s *DisksScopedList) MarshalJSON() ([]byte, error)

type DisksScopedListWarning

DisksScopedListWarning: [Output Only] Informational warning which replaces the list of disks when the list is empty.

type DisksScopedListWarning struct {
    // Code: [Output Only] A warning code, if applicable. For example,
    // Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in
    // the response.
    //
    // Possible values:
    //   "CLEANUP_FAILED"
    //   "DEPRECATED_RESOURCE_USED"
    //   "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
    //   "FIELD_VALUE_OVERRIDEN"
    //   "INJECTED_KERNELS_DEPRECATED"
    //   "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
    //   "NEXT_HOP_CANNOT_IP_FORWARD"
    //   "NEXT_HOP_INSTANCE_NOT_FOUND"
    //   "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
    //   "NEXT_HOP_NOT_RUNNING"
    //   "NOT_CRITICAL_ERROR"
    //   "NO_RESULTS_ON_PAGE"
    //   "REQUIRED_TOS_AGREEMENT"
    //   "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
    //   "RESOURCE_NOT_DELETED"
    //   "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
    //   "UNREACHABLE"
    Code string `json:"code,omitempty"`

    // Data: [Output Only] Metadata about this warning in key: value format.
    // For example:
    // "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    Data []*DisksScopedListWarningData `json:"data,omitempty"`

    // Message: [Output Only] A human-readable description of the warning
    // code.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Code") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DisksScopedListWarning) MarshalJSON

func (s *DisksScopedListWarning) MarshalJSON() ([]byte, error)

type DisksScopedListWarningData

type DisksScopedListWarningData struct {
    // Key: [Output Only] A key that provides more detail on the warning
    // being returned. For example, for warnings where there are no results
    // in a list request for a particular zone, this key might be scope and
    // the key value might be the zone name. Other examples might be a key
    // indicating a deprecated resource and a suggested replacement, or a
    // warning about invalid network settings (for example, if an instance
    // attempts to perform IP forwarding but is not enabled for IP
    // forwarding).
    Key string `json:"key,omitempty"`

    // Value: [Output Only] A warning data value corresponding to the key.
    Value string `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Key") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Key") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*DisksScopedListWarningData) MarshalJSON

func (s *DisksScopedListWarningData) MarshalJSON() ([]byte, error)

type DisksService

type DisksService struct {
    // contains filtered or unexported fields
}

func NewDisksService

func NewDisksService(s *Service) *DisksService

func (*DisksService) AggregatedList

func (r *DisksService) AggregatedList(project string) *DisksAggregatedListCall

AggregatedList: Retrieves an aggregated list of persistent disks. For details, see https://cloud.google.com/compute/docs/reference/latest/disks/aggregatedList

func (*DisksService) CreateSnapshot

func (r *DisksService) CreateSnapshot(project string, zone string, disk string, snapshot *Snapshot) *DisksCreateSnapshotCall

CreateSnapshot: Creates a snapshot of a specified persistent disk. For details, see https://cloud.google.com/compute/docs/reference/latest/disks/createSnapshot

func (*DisksService) Delete

func (r *DisksService) Delete(project string, zone string, disk string) *DisksDeleteCall

Delete: Deletes the specified persistent disk. Deleting a disk removes its data permanently and is irreversible. However, deleting a disk does not delete any snapshots previously made from the disk. You must separately delete snapshots. For details, see https://cloud.google.com/compute/docs/reference/latest/disks/delete

func (*DisksService) Get

func (r *DisksService) Get(project string, zone string, disk string) *DisksGetCall

Get: Returns a specified persistent disk. Get a list of available persistent disks by making a list() request. For details, see https://cloud.google.com/compute/docs/reference/latest/disks/get

func (*DisksService) Insert

func (r *DisksService) Insert(project string, zone string, disk *Disk) *DisksInsertCall

Insert: Creates a persistent disk in the specified project using the data in the request. You can create a disk with a sourceImage, a sourceSnapshot, or create an empty 500 GB data disk by omitting all properties. You can also create a disk that is larger than the default size by specifying the sizeGb property. For details, see https://cloud.google.com/compute/docs/reference/latest/disks/insert

func (*DisksService) List

func (r *DisksService) List(project string, zone string) *DisksListCall

List: Retrieves a list of persistent disks contained within the specified zone. For details, see https://cloud.google.com/compute/docs/reference/latest/disks/list

func (*DisksService) Resize

func (r *DisksService) Resize(project string, zone string, disk string, disksresizerequest *DisksResizeRequest) *DisksResizeCall

Resize: Resizes the specified persistent disk.

func (*DisksService) SetLabels

func (r *DisksService) SetLabels(project string, zone string, resource string, zonesetlabelsrequest *ZoneSetLabelsRequest) *DisksSetLabelsCall

SetLabels: Sets the labels on a disk. To learn more about labels, read the Labeling Resources documentation.

type DisksSetLabelsCall

type DisksSetLabelsCall struct {
    // contains filtered or unexported fields
}

func (*DisksSetLabelsCall) Context

func (c *DisksSetLabelsCall) Context(ctx context.Context) *DisksSetLabelsCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*DisksSetLabelsCall) Do

func (c *DisksSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.disks.setLabels" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*DisksSetLabelsCall) Fields

func (c *DisksSetLabelsCall) Fields(s ...googleapi.Field) *DisksSetLabelsCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*DisksSetLabelsCall) Header

func (c *DisksSetLabelsCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type Firewall

Firewall: Represents a Firewall resource.

type Firewall struct {
    // Allowed: The list of ALLOW rules specified by this firewall. Each
    // rule specifies a protocol and port-range tuple that describes a
    // permitted connection.
    Allowed []*FirewallAllowed `json:"allowed,omitempty"`

    // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
    // format.
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // Description: An optional description of this resource. Provide this
    // property when you create the resource.
    Description string `json:"description,omitempty"`

    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id uint64 `json:"id,omitempty,string"`

    // Kind: [Output Only] Type of the resource. Always compute#firewall for
    // firewall rules.
    Kind string `json:"kind,omitempty"`

    // Name: Name of the resource; provided by the client when the resource
    // is created. The name must be 1-63 characters long, and comply with
    // RFC1035. Specifically, the name must be 1-63 characters long and
    // match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
    // the first character must be a lowercase letter, and all following
    // characters must be a dash, lowercase letter, or digit, except the
    // last character, which cannot be a dash.
    Name string `json:"name,omitempty"`

    // Network: URL of the network resource for this firewall rule. If not
    // specified when creating a firewall rule, the default network is
    // used:
    // global/networks/default
    // If you choose to specify this property, you can specify the network
    // as a full or partial URL. For example, the following are all valid
    // URLs:
    // -
    // https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network
    // - projects/myproject/global/networks/my-network
    // - global/networks/default
    Network string `json:"network,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for the resource.
    SelfLink string `json:"selfLink,omitempty"`

    // SourceRanges: If source ranges are specified, the firewall will apply
    // only to traffic that has source IP address in these ranges. These
    // ranges must be expressed in CIDR format. One or both of sourceRanges
    // and sourceTags may be set. If both properties are set, the firewall
    // will apply to traffic that has source IP address within sourceRanges
    // OR the source IP that belongs to a tag listed in the sourceTags
    // property. The connection does not need to match both properties for
    // the firewall to apply. Only IPv4 is supported.
    SourceRanges []string `json:"sourceRanges,omitempty"`

    // SourceTags: If source tags are specified, the firewall will apply
    // only to traffic with source IP that belongs to a tag listed in source
    // tags. Source tags cannot be used to control traffic to an instance's
    // external IP address. Because tags are associated with an instance,
    // not an IP address. One or both of sourceRanges and sourceTags may be
    // set. If both properties are set, the firewall will apply to traffic
    // that has source IP address within sourceRanges OR the source IP that
    // belongs to a tag listed in the sourceTags property. The connection
    // does not need to match both properties for the firewall to apply.
    SourceTags []string `json:"sourceTags,omitempty"`

    // TargetTags: A list of instance tags indicating sets of instances
    // located in the network that may make network connections as specified
    // in allowed[]. If no targetTags are specified, the firewall rule
    // applies to all instances on the specified network.
    TargetTags []string `json:"targetTags,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Allowed") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Allowed") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*Firewall) MarshalJSON

func (s *Firewall) MarshalJSON() ([]byte, error)

type FirewallAllowed

type FirewallAllowed struct {
    // IPProtocol: The IP protocol to which this rule applies. The protocol
    // type is required when creating a firewall rule. This value can either
    // be one of the following well known protocol strings (tcp, udp, icmp,
    // esp, ah, sctp), or the IP protocol number.
    IPProtocol string `json:"IPProtocol,omitempty"`

    // Ports: An optional list of ports to which this rule applies. This
    // field is only applicable for UDP or TCP protocol. Each entry must be
    // either an integer or a range. If not specified, this rule applies to
    // connections through any port.
    //
    // Example inputs include: ["22"], ["80","443"], and ["12345-12349"].
    Ports []string `json:"ports,omitempty"`

    // ForceSendFields is a list of field names (e.g. "IPProtocol") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "IPProtocol") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*FirewallAllowed) MarshalJSON

func (s *FirewallAllowed) MarshalJSON() ([]byte, error)

type FirewallList

FirewallList: Contains a list of firewalls.

type FirewallList struct {
    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id string `json:"id,omitempty"`

    // Items: [Output Only] A list of Firewall resources.
    Items []*Firewall `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always compute#firewallList for
    // lists of firewalls.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*FirewallList) MarshalJSON

func (s *FirewallList) MarshalJSON() ([]byte, error)

type FirewallsDeleteCall

type FirewallsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*FirewallsDeleteCall) Context

func (c *FirewallsDeleteCall) Context(ctx context.Context) *FirewallsDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*FirewallsDeleteCall) Do

func (c *FirewallsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.firewalls.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*FirewallsDeleteCall) Fields

func (c *FirewallsDeleteCall) Fields(s ...googleapi.Field) *FirewallsDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*FirewallsDeleteCall) Header

func (c *FirewallsDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type FirewallsGetCall

type FirewallsGetCall struct {
    // contains filtered or unexported fields
}

func (*FirewallsGetCall) Context

func (c *FirewallsGetCall) Context(ctx context.Context) *FirewallsGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*FirewallsGetCall) Do

func (c *FirewallsGetCall) Do(opts ...googleapi.CallOption) (*Firewall, error)

Do executes the "compute.firewalls.get" call. Exactly one of *Firewall or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Firewall.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*FirewallsGetCall) Fields

func (c *FirewallsGetCall) Fields(s ...googleapi.Field) *FirewallsGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*FirewallsGetCall) Header

func (c *FirewallsGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*FirewallsGetCall) IfNoneMatch

func (c *FirewallsGetCall) IfNoneMatch(entityTag string) *FirewallsGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type FirewallsInsertCall

type FirewallsInsertCall struct {
    // contains filtered or unexported fields
}

func (*FirewallsInsertCall) Context

func (c *FirewallsInsertCall) Context(ctx context.Context) *FirewallsInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*FirewallsInsertCall) Do

func (c *FirewallsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.firewalls.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*FirewallsInsertCall) Fields

func (c *FirewallsInsertCall) Fields(s ...googleapi.Field) *FirewallsInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*FirewallsInsertCall) Header

func (c *FirewallsInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type FirewallsListCall

type FirewallsListCall struct {
    // contains filtered or unexported fields
}

func (*FirewallsListCall) Context

func (c *FirewallsListCall) Context(ctx context.Context) *FirewallsListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*FirewallsListCall) Do

func (c *FirewallsListCall) Do(opts ...googleapi.CallOption) (*FirewallList, error)

Do executes the "compute.firewalls.list" call. Exactly one of *FirewallList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *FirewallList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*FirewallsListCall) Fields

func (c *FirewallsListCall) Fields(s ...googleapi.Field) *FirewallsListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*FirewallsListCall) Filter

func (c *FirewallsListCall) Filter(filter string) *FirewallsListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*FirewallsListCall) Header

func (c *FirewallsListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*FirewallsListCall) IfNoneMatch

func (c *FirewallsListCall) IfNoneMatch(entityTag string) *FirewallsListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*FirewallsListCall) MaxResults

func (c *FirewallsListCall) MaxResults(maxResults int64) *FirewallsListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*FirewallsListCall) OrderBy

func (c *FirewallsListCall) OrderBy(orderBy string) *FirewallsListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*FirewallsListCall) PageToken

func (c *FirewallsListCall) PageToken(pageToken string) *FirewallsListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*FirewallsListCall) Pages

func (c *FirewallsListCall) Pages(ctx context.Context, f func(*FirewallList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type FirewallsPatchCall

type FirewallsPatchCall struct {
    // contains filtered or unexported fields
}

func (*FirewallsPatchCall) Context

func (c *FirewallsPatchCall) Context(ctx context.Context) *FirewallsPatchCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*FirewallsPatchCall) Do

func (c *FirewallsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.firewalls.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*FirewallsPatchCall) Fields

func (c *FirewallsPatchCall) Fields(s ...googleapi.Field) *FirewallsPatchCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*FirewallsPatchCall) Header

func (c *FirewallsPatchCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type FirewallsService

type FirewallsService struct {
    // contains filtered or unexported fields
}

func NewFirewallsService

func NewFirewallsService(s *Service) *FirewallsService

func (*FirewallsService) Delete

func (r *FirewallsService) Delete(project string, firewall string) *FirewallsDeleteCall

Delete: Deletes the specified firewall. For details, see https://cloud.google.com/compute/docs/reference/latest/firewalls/delete

func (*FirewallsService) Get

func (r *FirewallsService) Get(project string, firewall string) *FirewallsGetCall

Get: Returns the specified firewall. For details, see https://cloud.google.com/compute/docs/reference/latest/firewalls/get

func (*FirewallsService) Insert

func (r *FirewallsService) Insert(project string, firewall *Firewall) *FirewallsInsertCall

Insert: Creates a firewall rule in the specified project using the data included in the request. For details, see https://cloud.google.com/compute/docs/reference/latest/firewalls/insert

func (*FirewallsService) List

func (r *FirewallsService) List(project string) *FirewallsListCall

List: Retrieves the list of firewall rules available to the specified project. For details, see https://cloud.google.com/compute/docs/reference/latest/firewalls/list

func (*FirewallsService) Patch

func (r *FirewallsService) Patch(project string, firewall string, firewall2 *Firewall) *FirewallsPatchCall

Patch: Updates the specified firewall rule with the data included in the request. Using PUT method, can only update following fields of firewall rule: allowed, description, sourceRanges, sourceTags, targetTags. This method supports patch semantics. For details, see https://cloud.google.com/compute/docs/reference/latest/firewalls/patch

func (*FirewallsService) Update

func (r *FirewallsService) Update(project string, firewall string, firewall2 *Firewall) *FirewallsUpdateCall

Update: Updates the specified firewall rule with the data included in the request. Using PUT method, can only update following fields of firewall rule: allowed, description, sourceRanges, sourceTags, targetTags. For details, see https://cloud.google.com/compute/docs/reference/latest/firewalls/update

type FirewallsUpdateCall

type FirewallsUpdateCall struct {
    // contains filtered or unexported fields
}

func (*FirewallsUpdateCall) Context

func (c *FirewallsUpdateCall) Context(ctx context.Context) *FirewallsUpdateCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*FirewallsUpdateCall) Do

func (c *FirewallsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.firewalls.update" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*FirewallsUpdateCall) Fields

func (c *FirewallsUpdateCall) Fields(s ...googleapi.Field) *FirewallsUpdateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*FirewallsUpdateCall) Header

func (c *FirewallsUpdateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ForwardingRule

ForwardingRule: A ForwardingRule resource. A ForwardingRule resource specifies which pool of target virtual machines to forward a packet to if it matches the given [IPAddress, IPProtocol, ports] tuple.

type ForwardingRule struct {
    // IPAddress: The IP address that this forwarding rule is serving on
    // behalf of.
    //
    // For global forwarding rules, the address must be a global IP. For
    // regional forwarding rules, the address must live in the same region
    // as the forwarding rule. By default, this field is empty and an
    // ephemeral IPv4 address from the same scope (global or regional) will
    // be assigned. A regional forwarding rule supports IPv4 only. A global
    // forwarding rule supports either IPv4 or IPv6.
    //
    // When the load balancing scheme is INTERNAL, this can only be an RFC
    // 1918 IP address belonging to the network/subnetwork configured for
    // the forwarding rule. A reserved address cannot be used. If the field
    // is empty, the IP address will be automatically allocated from the
    // internal IP range of the subnetwork or network configured for this
    // forwarding rule.
    IPAddress string `json:"IPAddress,omitempty"`

    // IPProtocol: The IP protocol to which this rule applies. Valid options
    // are TCP, UDP, ESP, AH, SCTP or ICMP.
    //
    // When the load balancing scheme is INTERNAL, only TCP and UDP are
    // valid.
    //
    // Possible values:
    //   "AH"
    //   "ESP"
    //   "ICMP"
    //   "SCTP"
    //   "TCP"
    //   "UDP"
    IPProtocol string `json:"IPProtocol,omitempty"`

    // BackendService: This field is not used for external load
    // balancing.
    //
    // For internal load balancing, this field identifies the BackendService
    // resource to receive the matched traffic.
    BackendService string `json:"backendService,omitempty"`

    // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text
    // format.
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // Description: An optional description of this resource. Provide this
    // property when you create the resource.
    Description string `json:"description,omitempty"`

    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id uint64 `json:"id,omitempty,string"`

    // IpVersion: The IP Version that will be used by this forwarding rule.
    // Valid options are IPV4 or IPV6. This can only be specified for a
    // global forwarding rule.
    //
    // Possible values:
    //   "IPV4"
    //   "IPV6"
    //   "UNSPECIFIED_VERSION"
    IpVersion string `json:"ipVersion,omitempty"`

    // Kind: [Output Only] Type of the resource. Always
    // compute#forwardingRule for Forwarding Rule resources.
    Kind string `json:"kind,omitempty"`

    // LoadBalancingScheme: This signifies what the ForwardingRule will be
    // used for and can only take the following values: INTERNAL, EXTERNAL
    // The value of INTERNAL means that this will be used for Internal
    // Network Load Balancing (TCP, UDP). The value of EXTERNAL means that
    // this will be used for External Load Balancing (HTTP(S) LB, External
    // TCP/UDP LB, SSL Proxy)
    //
    // Possible values:
    //   "EXTERNAL"
    //   "INTERNAL"
    //   "INVALID"
    LoadBalancingScheme string `json:"loadBalancingScheme,omitempty"`

    // Name: Name of the resource; provided by the client when the resource
    // is created. The name must be 1-63 characters long, and comply with
    // RFC1035. Specifically, the name must be 1-63 characters long and
    // match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means
    // the first character must be a lowercase letter, and all following
    // characters must be a dash, lowercase letter, or digit, except the
    // last character, which cannot be a dash.
    Name string `json:"name,omitempty"`

    // Network: This field is not used for external load balancing.
    //
    // For internal load balancing, this field identifies the network that
    // the load balanced IP should belong to for this Forwarding Rule. If
    // this field is not specified, the default network will be used.
    Network string `json:"network,omitempty"`

    // PortRange: This field is used along with the target field for
    // TargetHttpProxy, TargetHttpsProxy, TargetSslProxy, TargetTcpProxy,
    // TargetVpnGateway, TargetPool, TargetInstance.
    //
    // Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets
    // addressed to ports in the specified range will be forwarded to
    // target. Forwarding rules with the same [IPAddress, IPProtocol] pair
    // must have disjoint port ranges.
    //
    // Some types of forwarding target have constraints on the acceptable
    // ports:
    // - TargetHttpProxy: 80, 8080
    // - TargetHttpsProxy: 443
    // - TargetTcpProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995
    //
    // - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, 995
    //
    // - TargetVpnGateway: 500, 4500
    // -
    PortRange string `json:"portRange,omitempty"`

    // Ports: This field is used along with the backend_service field for
    // internal load balancing.
    //
    // When the load balancing scheme is INTERNAL, a single port or a comma
    // separated list of ports can be configured. Only packets addressed to
    // these ports will be forwarded to the backends configured with this
    // forwarding rule.
    //
    // You may specify a maximum of up to 5 ports.
    Ports []string `json:"ports,omitempty"`

    // Region: [Output Only] URL of the region where the regional forwarding
    // rule resides. This field is not applicable to global forwarding
    // rules.
    Region string `json:"region,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for the resource.
    SelfLink string `json:"selfLink,omitempty"`

    // Subnetwork: This field is not used for external load balancing.
    //
    // For internal load balancing, this field identifies the subnetwork
    // that the load balanced IP should belong to for this Forwarding
    // Rule.
    //
    // If the network specified is in auto subnet mode, this field is
    // optional. However, if the network is in custom subnet mode, a
    // subnetwork must be specified.
    Subnetwork string `json:"subnetwork,omitempty"`

    // Target: The URL of the target resource to receive the matched
    // traffic. For regional forwarding rules, this target must live in the
    // same region as the forwarding rule. For global forwarding rules, this
    // target must be a global load balancing resource. The forwarded
    // traffic must be of a type appropriate to the target object.
    //
    // This field is not used for internal load balancing.
    Target string `json:"target,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "IPAddress") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "IPAddress") to include in
    // API requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ForwardingRule) MarshalJSON

func (s *ForwardingRule) MarshalJSON() ([]byte, error)

type ForwardingRuleAggregatedList

type ForwardingRuleAggregatedList struct {
    // Id: [Output Only] The unique identifier for the resource. This
    // identifier is defined by the server.
    Id string `json:"id,omitempty"`

    // Items: A map of scoped forwarding rule lists.
    Items map[string]ForwardingRulesScopedList `json:"items,omitempty"`

    // Kind: [Output Only] Type of resource. Always
    // compute#forwardingRuleAggregatedList for lists of forwarding rules.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ForwardingRuleAggregatedList) MarshalJSON

func (s *ForwardingRuleAggregatedList) MarshalJSON() ([]byte, error)

type ForwardingRuleList

ForwardingRuleList: Contains a list of ForwardingRule resources.

type ForwardingRuleList struct {
    // Id: [Output Only] Unique identifier for the resource. Set by the
    // server.
    Id string `json:"id,omitempty"`

    // Items: A list of ForwardingRule resources.
    Items []*ForwardingRule `json:"items,omitempty"`

    // Kind: Type of resource.
    Kind string `json:"kind,omitempty"`

    // NextPageToken: [Output Only] This token allows you to get the next
    // page of results for list requests. If the number of results is larger
    // than maxResults, use the nextPageToken as a value for the query
    // parameter pageToken in the next list request. Subsequent list
    // requests will have their own nextPageToken to continue paging through
    // the results.
    NextPageToken string `json:"nextPageToken,omitempty"`

    // SelfLink: [Output Only] Server-defined URL for this resource.
    SelfLink string `json:"selfLink,omitempty"`

    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`

    // ForceSendFields is a list of field names (e.g. "Id") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Id") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ForwardingRuleList) MarshalJSON

func (s *ForwardingRuleList) MarshalJSON() ([]byte, error)

type ForwardingRulesAggregatedListCall

type ForwardingRulesAggregatedListCall struct {
    // contains filtered or unexported fields
}

func (*ForwardingRulesAggregatedListCall) Context

func (c *ForwardingRulesAggregatedListCall) Context(ctx context.Context) *ForwardingRulesAggregatedListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ForwardingRulesAggregatedListCall) Do

func (c *ForwardingRulesAggregatedListCall) Do(opts ...googleapi.CallOption) (*ForwardingRuleAggregatedList, error)

Do executes the "compute.forwardingRules.aggregatedList" call. Exactly one of *ForwardingRuleAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ForwardingRuleAggregatedList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ForwardingRulesAggregatedListCall) Fields

func (c *ForwardingRulesAggregatedListCall) Fields(s ...googleapi.Field) *ForwardingRulesAggregatedListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ForwardingRulesAggregatedListCall) Filter

func (c *ForwardingRulesAggregatedListCall) Filter(filter string) *ForwardingRulesAggregatedListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*ForwardingRulesAggregatedListCall) Header

func (c *ForwardingRulesAggregatedListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ForwardingRulesAggregatedListCall) IfNoneMatch

func (c *ForwardingRulesAggregatedListCall) IfNoneMatch(entityTag string) *ForwardingRulesAggregatedListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ForwardingRulesAggregatedListCall) MaxResults

func (c *ForwardingRulesAggregatedListCall) MaxResults(maxResults int64) *ForwardingRulesAggregatedListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*ForwardingRulesAggregatedListCall) OrderBy

func (c *ForwardingRulesAggregatedListCall) OrderBy(orderBy string) *ForwardingRulesAggregatedListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*ForwardingRulesAggregatedListCall) PageToken

func (c *ForwardingRulesAggregatedListCall) PageToken(pageToken string) *ForwardingRulesAggregatedListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*ForwardingRulesAggregatedListCall) Pages

func (c *ForwardingRulesAggregatedListCall) Pages(ctx context.Context, f func(*ForwardingRuleAggregatedList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ForwardingRulesDeleteCall

type ForwardingRulesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*ForwardingRulesDeleteCall) Context

func (c *ForwardingRulesDeleteCall) Context(ctx context.Context) *ForwardingRulesDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ForwardingRulesDeleteCall) Do

func (c *ForwardingRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.forwardingRules.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ForwardingRulesDeleteCall) Fields

func (c *ForwardingRulesDeleteCall) Fields(s ...googleapi.Field) *ForwardingRulesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ForwardingRulesDeleteCall) Header

func (c *ForwardingRulesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ForwardingRulesGetCall

type ForwardingRulesGetCall struct {
    // contains filtered or unexported fields
}

func (*ForwardingRulesGetCall) Context

func (c *ForwardingRulesGetCall) Context(ctx context.Context) *ForwardingRulesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ForwardingRulesGetCall) Do

func (c *ForwardingRulesGetCall) Do(opts ...googleapi.CallOption) (*ForwardingRule, error)

Do executes the "compute.forwardingRules.get" call. Exactly one of *ForwardingRule or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ForwardingRule.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ForwardingRulesGetCall) Fields

func (c *ForwardingRulesGetCall) Fields(s ...googleapi.Field) *ForwardingRulesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ForwardingRulesGetCall) Header

func (c *ForwardingRulesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ForwardingRulesGetCall) IfNoneMatch

func (c *ForwardingRulesGetCall) IfNoneMatch(entityTag string) *ForwardingRulesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type ForwardingRulesInsertCall

type ForwardingRulesInsertCall struct {
    // contains filtered or unexported fields
}

func (*ForwardingRulesInsertCall) Context

func (c *ForwardingRulesInsertCall) Context(ctx context.Context) *ForwardingRulesInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ForwardingRulesInsertCall) Do

func (c *ForwardingRulesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.forwardingRules.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ForwardingRulesInsertCall) Fields

func (c *ForwardingRulesInsertCall) Fields(s ...googleapi.Field) *ForwardingRulesInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ForwardingRulesInsertCall) Header

func (c *ForwardingRulesInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ForwardingRulesListCall

type ForwardingRulesListCall struct {
    // contains filtered or unexported fields
}

func (*ForwardingRulesListCall) Context

func (c *ForwardingRulesListCall) Context(ctx context.Context) *ForwardingRulesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ForwardingRulesListCall) Do

func (c *ForwardingRulesListCall) Do(opts ...googleapi.CallOption) (*ForwardingRuleList, error)

Do executes the "compute.forwardingRules.list" call. Exactly one of *ForwardingRuleList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ForwardingRuleList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ForwardingRulesListCall) Fields

func (c *ForwardingRulesListCall) Fields(s ...googleapi.Field) *ForwardingRulesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ForwardingRulesListCall) Filter

func (c *ForwardingRulesListCall) Filter(filter string) *ForwardingRulesListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*ForwardingRulesListCall) Header

func (c *ForwardingRulesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ForwardingRulesListCall) IfNoneMatch

func (c *ForwardingRulesListCall) IfNoneMatch(entityTag string) *ForwardingRulesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*ForwardingRulesListCall) MaxResults

func (c *ForwardingRulesListCall) MaxResults(maxResults int64) *ForwardingRulesListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*ForwardingRulesListCall) OrderBy

func (c *ForwardingRulesListCall) OrderBy(orderBy string) *ForwardingRulesListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*ForwardingRulesListCall) PageToken

func (c *ForwardingRulesListCall) PageToken(pageToken string) *ForwardingRulesListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*ForwardingRulesListCall) Pages

func (c *ForwardingRulesListCall) Pages(ctx context.Context, f func(*ForwardingRuleList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type ForwardingRulesScopedList

type ForwardingRulesScopedList struct {
    // ForwardingRules: List of forwarding rules contained in this scope.
    ForwardingRules []*ForwardingRule `json:"forwardingRules,omitempty"`

    // Warning: Informational warning which replaces the list of forwarding
    // rules when the list is empty.
    Warning *ForwardingRulesScopedListWarning `json:"warning,omitempty"`

    // ForceSendFields is a list of field names (e.g. "ForwardingRules") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "ForwardingRules") to
    // include in API requests with the JSON null value. By default, fields
    // with empty values are omitted from API requests. However, any field
    // with an empty value appearing in NullFields will be sent to the
    // server as null. It is an error if a field in this list has a
    // non-empty value. This may be used to include null fields in Patch
    // requests.
    NullFields []string `json:"-"`
}

func (*ForwardingRulesScopedList) MarshalJSON

func (s *ForwardingRulesScopedList) MarshalJSON() ([]byte, error)

type ForwardingRulesScopedListWarning

ForwardingRulesScopedListWarning: Informational warning which replaces the list of forwarding rules when the list is empty.

type ForwardingRulesScopedListWarning struct {
    // Code: [Output Only] A warning code, if applicable. For example,
    // Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in
    // the response.
    //
    // Possible values:
    //   "CLEANUP_FAILED"
    //   "DEPRECATED_RESOURCE_USED"
    //   "DISK_SIZE_LARGER_THAN_IMAGE_SIZE"
    //   "FIELD_VALUE_OVERRIDEN"
    //   "INJECTED_KERNELS_DEPRECATED"
    //   "NEXT_HOP_ADDRESS_NOT_ASSIGNED"
    //   "NEXT_HOP_CANNOT_IP_FORWARD"
    //   "NEXT_HOP_INSTANCE_NOT_FOUND"
    //   "NEXT_HOP_INSTANCE_NOT_ON_NETWORK"
    //   "NEXT_HOP_NOT_RUNNING"
    //   "NOT_CRITICAL_ERROR"
    //   "NO_RESULTS_ON_PAGE"
    //   "REQUIRED_TOS_AGREEMENT"
    //   "RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING"
    //   "RESOURCE_NOT_DELETED"
    //   "SINGLE_INSTANCE_PROPERTY_TEMPLATE"
    //   "UNREACHABLE"
    Code string `json:"code,omitempty"`

    // Data: [Output Only] Metadata about this warning in key: value format.
    // For example:
    // "data": [ { "key": "scope", "value": "zones/us-east1-d" }
    Data []*ForwardingRulesScopedListWarningData `json:"data,omitempty"`

    // Message: [Output Only] A human-readable description of the warning
    // code.
    Message string `json:"message,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Code") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Code") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ForwardingRulesScopedListWarning) MarshalJSON

func (s *ForwardingRulesScopedListWarning) MarshalJSON() ([]byte, error)

type ForwardingRulesScopedListWarningData

type ForwardingRulesScopedListWarningData struct {
    // Key: [Output Only] A key that provides more detail on the warning
    // being returned. For example, for warnings where there are no results
    // in a list request for a particular zone, this key might be scope and
    // the key value might be the zone name. Other examples might be a key
    // indicating a deprecated resource and a suggested replacement, or a
    // warning about invalid network settings (for example, if an instance
    // attempts to perform IP forwarding but is not enabled for IP
    // forwarding).
    Key string `json:"key,omitempty"`

    // Value: [Output Only] A warning data value corresponding to the key.
    Value string `json:"value,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Key") to
    // unconditionally include in API requests. By default, fields with
    // empty values are omitted from API requests. However, any non-pointer,
    // non-interface field appearing in ForceSendFields will be sent to the
    // server regardless of whether the field is empty or not. This may be
    // used to include empty fields in Patch requests.
    ForceSendFields []string `json:"-"`

    // NullFields is a list of field names (e.g. "Key") to include in API
    // requests with the JSON null value. By default, fields with empty
    // values are omitted from API requests. However, any field with an
    // empty value appearing in NullFields will be sent to the server as
    // null. It is an error if a field in this list has a non-empty value.
    // This may be used to include null fields in Patch requests.
    NullFields []string `json:"-"`
}

func (*ForwardingRulesScopedListWarningData) MarshalJSON

func (s *ForwardingRulesScopedListWarningData) MarshalJSON() ([]byte, error)

type ForwardingRulesService

type ForwardingRulesService struct {
    // contains filtered or unexported fields
}

func NewForwardingRulesService

func NewForwardingRulesService(s *Service) *ForwardingRulesService

func (*ForwardingRulesService) AggregatedList

func (r *ForwardingRulesService) AggregatedList(project string) *ForwardingRulesAggregatedListCall

AggregatedList: Retrieves an aggregated list of forwarding rules. For details, see https://cloud.google.com/compute/docs/reference/latest/forwardingRules/aggregatedList

func (*ForwardingRulesService) Delete

func (r *ForwardingRulesService) Delete(project string, region string, forwardingRule string) *ForwardingRulesDeleteCall

Delete: Deletes the specified ForwardingRule resource. For details, see https://cloud.google.com/compute/docs/reference/latest/forwardingRules/delete

func (*ForwardingRulesService) Get

func (r *ForwardingRulesService) Get(project string, region string, forwardingRule string) *ForwardingRulesGetCall

Get: Returns the specified ForwardingRule resource. For details, see https://cloud.google.com/compute/docs/reference/latest/forwardingRules/get

func (*ForwardingRulesService) Insert

func (r *ForwardingRulesService) Insert(project string, region string, forwardingrule *ForwardingRule) *ForwardingRulesInsertCall

Insert: Creates a ForwardingRule resource in the specified project and region using the data included in the request. For details, see https://cloud.google.com/compute/docs/reference/latest/forwardingRules/insert

func (*ForwardingRulesService) List

func (r *ForwardingRulesService) List(project string, region string) *ForwardingRulesListCall

List: Retrieves a list of ForwardingRule resources available to the specified project and region. For details, see https://cloud.google.com/compute/docs/reference/latest/forwardingRules/list

func (*ForwardingRulesService) SetTarget

func (r *ForwardingRulesService) SetTarget(project string, region string, forwardingRule string, targetreference *TargetReference) *ForwardingRulesSetTargetCall

SetTarget: Changes target URL for forwarding rule. The new target should be of the same type as the old target. For details, see https://cloud.google.com/compute/docs/reference/latest/forwardingRules/setTarget

type ForwardingRulesSetTargetCall

type ForwardingRulesSetTargetCall struct {
    // contains filtered or unexported fields
}

func (*ForwardingRulesSetTargetCall) Context

func (c *ForwardingRulesSetTargetCall) Context(ctx context.Context) *ForwardingRulesSetTargetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*ForwardingRulesSetTargetCall) Do

func (c *ForwardingRulesSetTargetCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.forwardingRules.setTarget" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*ForwardingRulesSetTargetCall) Fields

func (c *ForwardingRulesSetTargetCall) Fields(s ...googleapi.Field) *ForwardingRulesSetTargetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ForwardingRulesSetTargetCall) Header

func (c *ForwardingRulesSetTargetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type GlobalAddressesDeleteCall

type GlobalAddressesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*GlobalAddressesDeleteCall) Context

func (c *GlobalAddressesDeleteCall) Context(ctx context.Context) *GlobalAddressesDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*GlobalAddressesDeleteCall) Do

func (c *GlobalAddressesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.globalAddresses.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*GlobalAddressesDeleteCall) Fields

func (c *GlobalAddressesDeleteCall) Fields(s ...googleapi.Field) *GlobalAddressesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*GlobalAddressesDeleteCall) Header

func (c *GlobalAddressesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type GlobalAddressesGetCall

type GlobalAddressesGetCall struct {
    // contains filtered or unexported fields
}

func (*GlobalAddressesGetCall) Context

func (c *GlobalAddressesGetCall) Context(ctx context.Context) *GlobalAddressesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*GlobalAddressesGetCall) Do

func (c *GlobalAddressesGetCall) Do(opts ...googleapi.CallOption) (*Address, error)

Do executes the "compute.globalAddresses.get" call. Exactly one of *Address or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Address.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*GlobalAddressesGetCall) Fields

func (c *GlobalAddressesGetCall) Fields(s ...googleapi.Field) *GlobalAddressesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*GlobalAddressesGetCall) Header

func (c *GlobalAddressesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*GlobalAddressesGetCall) IfNoneMatch

func (c *GlobalAddressesGetCall) IfNoneMatch(entityTag string) *GlobalAddressesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type GlobalAddressesInsertCall

type GlobalAddressesInsertCall struct {
    // contains filtered or unexported fields
}

func (*GlobalAddressesInsertCall) Context

func (c *GlobalAddressesInsertCall) Context(ctx context.Context) *GlobalAddressesInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*GlobalAddressesInsertCall) Do

func (c *GlobalAddressesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.globalAddresses.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*GlobalAddressesInsertCall) Fields

func (c *GlobalAddressesInsertCall) Fields(s ...googleapi.Field) *GlobalAddressesInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*GlobalAddressesInsertCall) Header

func (c *GlobalAddressesInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type GlobalAddressesListCall

type GlobalAddressesListCall struct {
    // contains filtered or unexported fields
}

func (*GlobalAddressesListCall) Context

func (c *GlobalAddressesListCall) Context(ctx context.Context) *GlobalAddressesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*GlobalAddressesListCall) Do

func (c *GlobalAddressesListCall) Do(opts ...googleapi.CallOption) (*AddressList, error)

Do executes the "compute.globalAddresses.list" call. Exactly one of *AddressList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AddressList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*GlobalAddressesListCall) Fields

func (c *GlobalAddressesListCall) Fields(s ...googleapi.Field) *GlobalAddressesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*GlobalAddressesListCall) Filter

func (c *GlobalAddressesListCall) Filter(filter string) *GlobalAddressesListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the filters.

func (*GlobalAddressesListCall) Header

func (c *GlobalAddressesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*GlobalAddressesListCall) IfNoneMatch

func (c *GlobalAddressesListCall) IfNoneMatch(entityTag string) *GlobalAddressesListCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

func (*GlobalAddressesListCall) MaxResults

func (c *GlobalAddressesListCall) MaxResults(maxResults int64) *GlobalAddressesListCall

MaxResults sets the optional parameter "maxResults": The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)

func (*GlobalAddressesListCall) OrderBy

func (c *GlobalAddressesListCall) OrderBy(orderBy string) *GlobalAddressesListCall

OrderBy sets the optional parameter "orderBy": Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name.

You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first.

Currently, only sorting by name or creationTimestamp desc is supported.

func (*GlobalAddressesListCall) PageToken

func (c *GlobalAddressesListCall) PageToken(pageToken string) *GlobalAddressesListCall

PageToken sets the optional parameter "pageToken": Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results.

func (*GlobalAddressesListCall) Pages

func (c *GlobalAddressesListCall) Pages(ctx context.Context, f func(*AddressList) error) error

Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.

type GlobalAddressesService

type GlobalAddressesService struct {
    // contains filtered or unexported fields
}

func NewGlobalAddressesService

func NewGlobalAddressesService(s *Service) *GlobalAddressesService

func (*GlobalAddressesService) Delete

func (r *GlobalAddressesService) Delete(project string, address string) *GlobalAddressesDeleteCall

Delete: Deletes the specified address resource. For details, see https://cloud.google.com/compute/docs/reference/latest/globalAddresses/delete

func (*GlobalAddressesService) Get

func (r *GlobalAddressesService) Get(project string, address string) *GlobalAddressesGetCall

Get: Returns the specified address resource. Get a list of available addresses by making a list() request. For details, see https://cloud.google.com/compute/docs/reference/latest/globalAddresses/get

func (*GlobalAddressesService) Insert

func (r *GlobalAddressesService) Insert(project string, address *Address) *GlobalAddressesInsertCall

Insert: Creates an address resource in the specified project using the data included in the request. For details, see https://cloud.google.com/compute/docs/reference/latest/globalAddresses/insert

func (*GlobalAddressesService) List

func (r *GlobalAddressesService) List(project string) *GlobalAddressesListCall

List: Retrieves a list of global addresses. For details, see https://cloud.google.com/compute/docs/reference/latest/globalAddresses/list

type GlobalForwardingRulesDeleteCall

type GlobalForwardingRulesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*GlobalForwardingRulesDeleteCall) Context

func (c *GlobalForwardingRulesDeleteCall) Context(ctx context.Context) *GlobalForwardingRulesDeleteCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*GlobalForwardingRulesDeleteCall) Do

func (c *GlobalForwardingRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.globalForwardingRules.delete" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*GlobalForwardingRulesDeleteCall) Fields

func (c *GlobalForwardingRulesDeleteCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*GlobalForwardingRulesDeleteCall) Header

func (c *GlobalForwardingRulesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type GlobalForwardingRulesGetCall

type GlobalForwardingRulesGetCall struct {
    // contains filtered or unexported fields
}

func (*GlobalForwardingRulesGetCall) Context

func (c *GlobalForwardingRulesGetCall) Context(ctx context.Context) *GlobalForwardingRulesGetCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*GlobalForwardingRulesGetCall) Do

func (c *GlobalForwardingRulesGetCall) Do(opts ...googleapi.CallOption) (*ForwardingRule, error)

Do executes the "compute.globalForwardingRules.get" call. Exactly one of *ForwardingRule or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ForwardingRule.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*GlobalForwardingRulesGetCall) Fields

func (c *GlobalForwardingRulesGetCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*GlobalForwardingRulesGetCall) Header

func (c *GlobalForwardingRulesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*GlobalForwardingRulesGetCall) IfNoneMatch

func (c *GlobalForwardingRulesGetCall) IfNoneMatch(entityTag string) *GlobalForwardingRulesGetCall

IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

type GlobalForwardingRulesInsertCall

type GlobalForwardingRulesInsertCall struct {
    // contains filtered or unexported fields
}

func (*GlobalForwardingRulesInsertCall) Context

func (c *GlobalForwardingRulesInsertCall) Context(ctx context.Context) *GlobalForwardingRulesInsertCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*GlobalForwardingRulesInsertCall) Do

func (c *GlobalForwardingRulesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)

Do executes the "compute.globalForwardingRules.insert" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*GlobalForwardingRulesInsertCall) Fields

func (c *GlobalForwardingRulesInsertCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesInsertCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*GlobalForwardingRulesInsertCall) Header

func (c *GlobalForwardingRulesInsertCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type GlobalForwardingRulesListCall

type GlobalForwardingRulesListCall struct {
    // contains filtered or unexported fields
}

func (*GlobalForwardingRulesListCall) Context

func (c *GlobalForwardingRulesListCall) Context(ctx context.Context) *GlobalForwardingRulesListCall

Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

func (*GlobalForwardingRulesListCall) Do

func (c *GlobalForwardingRulesListCall) Do(opts ...googleapi.CallOption) (*ForwardingRuleList, error)

Do executes the "compute.globalForwardingRules.list" call. Exactly one of *ForwardingRuleList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ForwardingRuleList.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

func (*GlobalForwardingRulesListCall) Fields

func (c *GlobalForwardingRulesListCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*GlobalForwardingRulesListCall) Filter

func (c *GlobalForwardingRulesListCall) Filter(filter string) *GlobalForwardingRulesListCall

Filter sets the optional parameter "filter": Sets a filter {expression} for filtering listed resources. Your {expression} must be in the format: field_name comparison_string literal_string.

The field_name is the name of the field you want to compare. Only atomic field types are supported (string, number, boolean). The comparison_string must be either eq (equals) or ne (not equals). The literal_string is the string value to filter to. The literal value must be valid for the type of field you are filtering by (string, number, boolean). For string fields, the literal value is interpreted as a regular expression using RE2 syntax. The literal value must match the entire field.

For example, to filter for instances that do not have a name of example-instance, you would use name ne example-instance.

You can filter on nested fields. For example, you could filter on instances that have set the scheduling.automaticRestart field to true. Use filtering on nested fields to take advantage of labels to organize and search for results based on label values.

To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart eq true) (zone eq us-central1-f). Multiple expressions are treated as AND expressions, meaning that resources must match all expressions to pass the fi