Documentation
¶
Overview ¶
Package compute provides access to the Compute Engine API.
For product documentation, see: https://developers.google.com/compute/docs/reference/latest/
Creating a client ¶
Usage example:
import "google.golang.org/api/compute/v0.beta" ... ctx := context.Background() computeService, err := compute.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication.
For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:
computeService, err := compute.NewService(ctx, option.WithScopes(compute.DevstorageReadWriteScope))
To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:
computeService, err := compute.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) computeService, err := compute.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type AcceleratorConfig
- type AcceleratorType
- type AcceleratorTypeAggregatedList
- type AcceleratorTypeAggregatedListWarning
- type AcceleratorTypeAggregatedListWarningData
- type AcceleratorTypeList
- type AcceleratorTypeListWarning
- type AcceleratorTypeListWarningData
- type AcceleratorTypesAggregatedListCall
- func (c *AcceleratorTypesAggregatedListCall) Context(ctx context.Context) *AcceleratorTypesAggregatedListCall
- func (c *AcceleratorTypesAggregatedListCall) Do(opts ...googleapi.CallOption) (*AcceleratorTypeAggregatedList, error)
- func (c *AcceleratorTypesAggregatedListCall) Fields(s ...googleapi.Field) *AcceleratorTypesAggregatedListCall
- func (c *AcceleratorTypesAggregatedListCall) Filter(filter string) *AcceleratorTypesAggregatedListCall
- func (c *AcceleratorTypesAggregatedListCall) Header() http.Header
- func (c *AcceleratorTypesAggregatedListCall) IfNoneMatch(entityTag string) *AcceleratorTypesAggregatedListCall
- func (c *AcceleratorTypesAggregatedListCall) MaxResults(maxResults int64) *AcceleratorTypesAggregatedListCall
- func (c *AcceleratorTypesAggregatedListCall) OrderBy(orderBy string) *AcceleratorTypesAggregatedListCall
- func (c *AcceleratorTypesAggregatedListCall) PageToken(pageToken string) *AcceleratorTypesAggregatedListCall
- func (c *AcceleratorTypesAggregatedListCall) Pages(ctx context.Context, f func(*AcceleratorTypeAggregatedList) error) error
- type AcceleratorTypesGetCall
- func (c *AcceleratorTypesGetCall) Context(ctx context.Context) *AcceleratorTypesGetCall
- func (c *AcceleratorTypesGetCall) Do(opts ...googleapi.CallOption) (*AcceleratorType, error)
- func (c *AcceleratorTypesGetCall) Fields(s ...googleapi.Field) *AcceleratorTypesGetCall
- func (c *AcceleratorTypesGetCall) Header() http.Header
- func (c *AcceleratorTypesGetCall) IfNoneMatch(entityTag string) *AcceleratorTypesGetCall
- type AcceleratorTypesListCall
- func (c *AcceleratorTypesListCall) Context(ctx context.Context) *AcceleratorTypesListCall
- func (c *AcceleratorTypesListCall) Do(opts ...googleapi.CallOption) (*AcceleratorTypeList, error)
- func (c *AcceleratorTypesListCall) Fields(s ...googleapi.Field) *AcceleratorTypesListCall
- func (c *AcceleratorTypesListCall) Filter(filter string) *AcceleratorTypesListCall
- func (c *AcceleratorTypesListCall) Header() http.Header
- func (c *AcceleratorTypesListCall) IfNoneMatch(entityTag string) *AcceleratorTypesListCall
- func (c *AcceleratorTypesListCall) MaxResults(maxResults int64) *AcceleratorTypesListCall
- func (c *AcceleratorTypesListCall) OrderBy(orderBy string) *AcceleratorTypesListCall
- func (c *AcceleratorTypesListCall) PageToken(pageToken string) *AcceleratorTypesListCall
- func (c *AcceleratorTypesListCall) Pages(ctx context.Context, f func(*AcceleratorTypeList) error) error
- type AcceleratorTypesScopedList
- type AcceleratorTypesScopedListWarning
- type AcceleratorTypesScopedListWarningData
- type AcceleratorTypesService
- func (r *AcceleratorTypesService) AggregatedList(project string) *AcceleratorTypesAggregatedListCall
- func (r *AcceleratorTypesService) Get(project string, zone string, acceleratorType string) *AcceleratorTypesGetCall
- func (r *AcceleratorTypesService) List(project string, zone string) *AcceleratorTypesListCall
- type AccessConfig
- type Address
- type AddressAggregatedList
- type AddressAggregatedListWarning
- type AddressAggregatedListWarningData
- type AddressList
- type AddressListWarning
- type AddressListWarningData
- 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
- func (c *AddressesDeleteCall) RequestId(requestId string) *AddressesDeleteCall
- 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
- func (c *AddressesInsertCall) RequestId(requestId string) *AddressesInsertCall
- 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
- type AddressesScopedListWarning
- type AddressesScopedListWarningData
- type 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
- func (r *AddressesService) SetLabels(project string, region string, resource string, ...) *AddressesSetLabelsCall
- func (r *AddressesService) TestIamPermissions(project string, region string, resource string, ...) *AddressesTestIamPermissionsCall
- type AddressesSetLabelsCall
- func (c *AddressesSetLabelsCall) Context(ctx context.Context) *AddressesSetLabelsCall
- func (c *AddressesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *AddressesSetLabelsCall) Fields(s ...googleapi.Field) *AddressesSetLabelsCall
- func (c *AddressesSetLabelsCall) Header() http.Header
- func (c *AddressesSetLabelsCall) RequestId(requestId string) *AddressesSetLabelsCall
- type AddressesTestIamPermissionsCall
- func (c *AddressesTestIamPermissionsCall) Context(ctx context.Context) *AddressesTestIamPermissionsCall
- func (c *AddressesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *AddressesTestIamPermissionsCall) Fields(s ...googleapi.Field) *AddressesTestIamPermissionsCall
- func (c *AddressesTestIamPermissionsCall) Header() http.Header
- type AliasIpRange
- type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk
- type AllocationSpecificSKUAllocationReservedInstanceProperties
- type AllocationSpecificSKUReservation
- type AttachedDisk
- type AttachedDiskInitializeParams
- type AuditConfig
- type AuditLogConfig
- type AuthorizationLoggingOptions
- type Autoscaler
- type AutoscalerAggregatedList
- type AutoscalerAggregatedListWarning
- type AutoscalerAggregatedListWarningData
- type AutoscalerList
- type AutoscalerListWarning
- type AutoscalerListWarningData
- type AutoscalerStatusDetails
- 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
- func (c *AutoscalersDeleteCall) RequestId(requestId string) *AutoscalersDeleteCall
- 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
- func (c *AutoscalersInsertCall) RequestId(requestId string) *AutoscalersInsertCall
- 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
- func (c *AutoscalersPatchCall) RequestId(requestId string) *AutoscalersPatchCall
- type AutoscalersScopedList
- type AutoscalersScopedListWarning
- type AutoscalersScopedListWarningData
- type 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) TestIamPermissions(project string, zone string, resource string, ...) *AutoscalersTestIamPermissionsCall
- func (r *AutoscalersService) Update(project string, zone string, autoscaler *Autoscaler) *AutoscalersUpdateCall
- type AutoscalersTestIamPermissionsCall
- func (c *AutoscalersTestIamPermissionsCall) Context(ctx context.Context) *AutoscalersTestIamPermissionsCall
- func (c *AutoscalersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *AutoscalersTestIamPermissionsCall) Fields(s ...googleapi.Field) *AutoscalersTestIamPermissionsCall
- func (c *AutoscalersTestIamPermissionsCall) Header() http.Header
- 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
- func (c *AutoscalersUpdateCall) RequestId(requestId string) *AutoscalersUpdateCall
- type AutoscalingPolicy
- type AutoscalingPolicyCpuUtilization
- type AutoscalingPolicyCustomMetricUtilization
- type AutoscalingPolicyLoadBalancingUtilization
- type Backend
- type BackendBucket
- type BackendBucketCdnPolicy
- type BackendBucketList
- type BackendBucketListWarning
- type BackendBucketListWarningData
- type BackendBucketsAddSignedUrlKeyCall
- func (c *BackendBucketsAddSignedUrlKeyCall) Context(ctx context.Context) *BackendBucketsAddSignedUrlKeyCall
- func (c *BackendBucketsAddSignedUrlKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BackendBucketsAddSignedUrlKeyCall) Fields(s ...googleapi.Field) *BackendBucketsAddSignedUrlKeyCall
- func (c *BackendBucketsAddSignedUrlKeyCall) Header() http.Header
- func (c *BackendBucketsAddSignedUrlKeyCall) RequestId(requestId string) *BackendBucketsAddSignedUrlKeyCall
- 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
- func (c *BackendBucketsDeleteCall) RequestId(requestId string) *BackendBucketsDeleteCall
- type BackendBucketsDeleteSignedUrlKeyCall
- func (c *BackendBucketsDeleteSignedUrlKeyCall) Context(ctx context.Context) *BackendBucketsDeleteSignedUrlKeyCall
- func (c *BackendBucketsDeleteSignedUrlKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BackendBucketsDeleteSignedUrlKeyCall) Fields(s ...googleapi.Field) *BackendBucketsDeleteSignedUrlKeyCall
- func (c *BackendBucketsDeleteSignedUrlKeyCall) Header() http.Header
- func (c *BackendBucketsDeleteSignedUrlKeyCall) RequestId(requestId string) *BackendBucketsDeleteSignedUrlKeyCall
- 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
- func (c *BackendBucketsInsertCall) RequestId(requestId string) *BackendBucketsInsertCall
- 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
- func (c *BackendBucketsPatchCall) RequestId(requestId string) *BackendBucketsPatchCall
- type BackendBucketsService
- func (r *BackendBucketsService) AddSignedUrlKey(project string, backendBucket string, signedurlkey *SignedUrlKey) *BackendBucketsAddSignedUrlKeyCall
- func (r *BackendBucketsService) Delete(project string, backendBucket string) *BackendBucketsDeleteCall
- func (r *BackendBucketsService) DeleteSignedUrlKey(project string, backendBucket string, keyName string) *BackendBucketsDeleteSignedUrlKeyCall
- 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
- func (c *BackendBucketsUpdateCall) RequestId(requestId string) *BackendBucketsUpdateCall
- type BackendService
- type BackendServiceAggregatedList
- type BackendServiceAggregatedListWarning
- type BackendServiceAggregatedListWarningData
- type BackendServiceCdnPolicy
- type BackendServiceFailoverPolicy
- type BackendServiceGroupHealth
- type BackendServiceIAP
- type BackendServiceList
- type BackendServiceListWarning
- type BackendServiceListWarningData
- type BackendServiceLogConfig
- type BackendServiceReference
- type BackendServicesAddSignedUrlKeyCall
- func (c *BackendServicesAddSignedUrlKeyCall) Context(ctx context.Context) *BackendServicesAddSignedUrlKeyCall
- func (c *BackendServicesAddSignedUrlKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BackendServicesAddSignedUrlKeyCall) Fields(s ...googleapi.Field) *BackendServicesAddSignedUrlKeyCall
- func (c *BackendServicesAddSignedUrlKeyCall) Header() http.Header
- func (c *BackendServicesAddSignedUrlKeyCall) RequestId(requestId string) *BackendServicesAddSignedUrlKeyCall
- 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
- func (c *BackendServicesDeleteCall) RequestId(requestId string) *BackendServicesDeleteCall
- type BackendServicesDeleteSignedUrlKeyCall
- func (c *BackendServicesDeleteSignedUrlKeyCall) Context(ctx context.Context) *BackendServicesDeleteSignedUrlKeyCall
- func (c *BackendServicesDeleteSignedUrlKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BackendServicesDeleteSignedUrlKeyCall) Fields(s ...googleapi.Field) *BackendServicesDeleteSignedUrlKeyCall
- func (c *BackendServicesDeleteSignedUrlKeyCall) Header() http.Header
- func (c *BackendServicesDeleteSignedUrlKeyCall) RequestId(requestId string) *BackendServicesDeleteSignedUrlKeyCall
- 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
- func (c *BackendServicesInsertCall) RequestId(requestId string) *BackendServicesInsertCall
- 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
- func (c *BackendServicesPatchCall) RequestId(requestId string) *BackendServicesPatchCall
- type BackendServicesScopedList
- type BackendServicesScopedListWarning
- type BackendServicesScopedListWarningData
- type BackendServicesService
- func (r *BackendServicesService) AddSignedUrlKey(project string, backendService string, signedurlkey *SignedUrlKey) *BackendServicesAddSignedUrlKeyCall
- func (r *BackendServicesService) AggregatedList(project string) *BackendServicesAggregatedListCall
- func (r *BackendServicesService) Delete(project string, backendService string) *BackendServicesDeleteCall
- func (r *BackendServicesService) DeleteSignedUrlKey(project string, backendService string, keyName string) *BackendServicesDeleteSignedUrlKeyCall
- func (r *BackendServicesService) Get(project string, backendService string) *BackendServicesGetCall
- func (r *BackendServicesService) GetHealth(project string, backendService string, ...) *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) SetSecurityPolicy(project string, backendService string, ...) *BackendServicesSetSecurityPolicyCall
- func (r *BackendServicesService) TestIamPermissions(project string, resource string, ...) *BackendServicesTestIamPermissionsCall
- func (r *BackendServicesService) Update(project string, backendService string, backendservice *BackendService) *BackendServicesUpdateCall
- type BackendServicesSetSecurityPolicyCall
- func (c *BackendServicesSetSecurityPolicyCall) Context(ctx context.Context) *BackendServicesSetSecurityPolicyCall
- func (c *BackendServicesSetSecurityPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *BackendServicesSetSecurityPolicyCall) Fields(s ...googleapi.Field) *BackendServicesSetSecurityPolicyCall
- func (c *BackendServicesSetSecurityPolicyCall) Header() http.Header
- func (c *BackendServicesSetSecurityPolicyCall) RequestId(requestId string) *BackendServicesSetSecurityPolicyCall
- type BackendServicesTestIamPermissionsCall
- func (c *BackendServicesTestIamPermissionsCall) Context(ctx context.Context) *BackendServicesTestIamPermissionsCall
- func (c *BackendServicesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *BackendServicesTestIamPermissionsCall) Fields(s ...googleapi.Field) *BackendServicesTestIamPermissionsCall
- func (c *BackendServicesTestIamPermissionsCall) Header() http.Header
- 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
- func (c *BackendServicesUpdateCall) RequestId(requestId string) *BackendServicesUpdateCall
- type Binding
- type CacheInvalidationRule
- type CacheKeyPolicy
- type CircuitBreakers
- type Commitment
- type CommitmentAggregatedList
- type CommitmentAggregatedListWarning
- type CommitmentAggregatedListWarningData
- type CommitmentList
- type CommitmentListWarning
- type CommitmentListWarningData
- type CommitmentsScopedList
- type CommitmentsScopedListWarning
- type CommitmentsScopedListWarningData
- type Condition
- type ConnectionDraining
- type ConsistentHashLoadBalancerSettings
- type ConsistentHashLoadBalancerSettingsHttpCookie
- type CorsPolicy
- type CustomerEncryptionKey
- type CustomerEncryptionKeyProtectedDisk
- type DeprecationStatus
- type Disk
- type DiskAggregatedList
- type DiskAggregatedListWarning
- type DiskAggregatedListWarningData
- type DiskInstantiationConfig
- type DiskList
- type DiskListWarning
- type DiskListWarningData
- type DiskMoveRequest
- type DiskType
- type DiskTypeAggregatedList
- type DiskTypeAggregatedListWarning
- type DiskTypeAggregatedListWarningData
- type DiskTypeList
- type DiskTypeListWarning
- type DiskTypeListWarningData
- 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
- type DiskTypesScopedListWarning
- type DiskTypesScopedListWarningData
- type DiskTypesService
- type DisksAddResourcePoliciesCall
- func (c *DisksAddResourcePoliciesCall) Context(ctx context.Context) *DisksAddResourcePoliciesCall
- func (c *DisksAddResourcePoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *DisksAddResourcePoliciesCall) Fields(s ...googleapi.Field) *DisksAddResourcePoliciesCall
- func (c *DisksAddResourcePoliciesCall) Header() http.Header
- func (c *DisksAddResourcePoliciesCall) RequestId(requestId string) *DisksAddResourcePoliciesCall
- type DisksAddResourcePoliciesRequest
- 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
- func (c *DisksCreateSnapshotCall) RequestId(requestId string) *DisksCreateSnapshotCall
- 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
- func (c *DisksDeleteCall) RequestId(requestId string) *DisksDeleteCall
- 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 DisksGetIamPolicyCall
- func (c *DisksGetIamPolicyCall) Context(ctx context.Context) *DisksGetIamPolicyCall
- func (c *DisksGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *DisksGetIamPolicyCall) Fields(s ...googleapi.Field) *DisksGetIamPolicyCall
- func (c *DisksGetIamPolicyCall) Header() http.Header
- func (c *DisksGetIamPolicyCall) IfNoneMatch(entityTag string) *DisksGetIamPolicyCall
- 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) RequestId(requestId string) *DisksInsertCall
- 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 DisksRemoveResourcePoliciesCall
- func (c *DisksRemoveResourcePoliciesCall) Context(ctx context.Context) *DisksRemoveResourcePoliciesCall
- func (c *DisksRemoveResourcePoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *DisksRemoveResourcePoliciesCall) Fields(s ...googleapi.Field) *DisksRemoveResourcePoliciesCall
- func (c *DisksRemoveResourcePoliciesCall) Header() http.Header
- func (c *DisksRemoveResourcePoliciesCall) RequestId(requestId string) *DisksRemoveResourcePoliciesCall
- type DisksRemoveResourcePoliciesRequest
- 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
- func (c *DisksResizeCall) RequestId(requestId string) *DisksResizeCall
- type DisksResizeRequest
- type DisksScopedList
- type DisksScopedListWarning
- type DisksScopedListWarningData
- type DisksService
- func (r *DisksService) AddResourcePolicies(project string, zone string, disk string, ...) *DisksAddResourcePoliciesCall
- 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) GetIamPolicy(project string, zone string, resource string) *DisksGetIamPolicyCall
- func (r *DisksService) Insert(project string, zone string, disk *Disk) *DisksInsertCall
- func (r *DisksService) List(project string, zone string) *DisksListCall
- func (r *DisksService) RemoveResourcePolicies(project string, zone string, disk string, ...) *DisksRemoveResourcePoliciesCall
- func (r *DisksService) Resize(project string, zone string, disk string, ...) *DisksResizeCall
- func (r *DisksService) SetIamPolicy(project string, zone string, resource string, ...) *DisksSetIamPolicyCall
- func (r *DisksService) SetLabels(project string, zone string, resource string, ...) *DisksSetLabelsCall
- func (r *DisksService) TestIamPermissions(project string, zone string, resource string, ...) *DisksTestIamPermissionsCall
- type DisksSetIamPolicyCall
- func (c *DisksSetIamPolicyCall) Context(ctx context.Context) *DisksSetIamPolicyCall
- func (c *DisksSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *DisksSetIamPolicyCall) Fields(s ...googleapi.Field) *DisksSetIamPolicyCall
- func (c *DisksSetIamPolicyCall) Header() http.Header
- 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
- func (c *DisksSetLabelsCall) RequestId(requestId string) *DisksSetLabelsCall
- type DisksTestIamPermissionsCall
- func (c *DisksTestIamPermissionsCall) Context(ctx context.Context) *DisksTestIamPermissionsCall
- func (c *DisksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *DisksTestIamPermissionsCall) Fields(s ...googleapi.Field) *DisksTestIamPermissionsCall
- func (c *DisksTestIamPermissionsCall) Header() http.Header
- type DisplayDevice
- type DistributionPolicy
- type DistributionPolicyZoneConfiguration
- type Duration
- type ExchangedPeeringRoute
- type ExchangedPeeringRoutesList
- type ExchangedPeeringRoutesListWarning
- type ExchangedPeeringRoutesListWarningData
- type Expr
- type ExternalVpnGateway
- type ExternalVpnGatewayInterface
- type ExternalVpnGatewayList
- type ExternalVpnGatewayListWarning
- type ExternalVpnGatewayListWarningData
- type ExternalVpnGatewaysDeleteCall
- func (c *ExternalVpnGatewaysDeleteCall) Context(ctx context.Context) *ExternalVpnGatewaysDeleteCall
- func (c *ExternalVpnGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ExternalVpnGatewaysDeleteCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysDeleteCall
- func (c *ExternalVpnGatewaysDeleteCall) Header() http.Header
- func (c *ExternalVpnGatewaysDeleteCall) RequestId(requestId string) *ExternalVpnGatewaysDeleteCall
- type ExternalVpnGatewaysGetCall
- func (c *ExternalVpnGatewaysGetCall) Context(ctx context.Context) *ExternalVpnGatewaysGetCall
- func (c *ExternalVpnGatewaysGetCall) Do(opts ...googleapi.CallOption) (*ExternalVpnGateway, error)
- func (c *ExternalVpnGatewaysGetCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysGetCall
- func (c *ExternalVpnGatewaysGetCall) Header() http.Header
- func (c *ExternalVpnGatewaysGetCall) IfNoneMatch(entityTag string) *ExternalVpnGatewaysGetCall
- type ExternalVpnGatewaysInsertCall
- func (c *ExternalVpnGatewaysInsertCall) Context(ctx context.Context) *ExternalVpnGatewaysInsertCall
- func (c *ExternalVpnGatewaysInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ExternalVpnGatewaysInsertCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysInsertCall
- func (c *ExternalVpnGatewaysInsertCall) Header() http.Header
- func (c *ExternalVpnGatewaysInsertCall) RequestId(requestId string) *ExternalVpnGatewaysInsertCall
- type ExternalVpnGatewaysListCall
- func (c *ExternalVpnGatewaysListCall) Context(ctx context.Context) *ExternalVpnGatewaysListCall
- func (c *ExternalVpnGatewaysListCall) Do(opts ...googleapi.CallOption) (*ExternalVpnGatewayList, error)
- func (c *ExternalVpnGatewaysListCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysListCall
- func (c *ExternalVpnGatewaysListCall) Filter(filter string) *ExternalVpnGatewaysListCall
- func (c *ExternalVpnGatewaysListCall) Header() http.Header
- func (c *ExternalVpnGatewaysListCall) IfNoneMatch(entityTag string) *ExternalVpnGatewaysListCall
- func (c *ExternalVpnGatewaysListCall) MaxResults(maxResults int64) *ExternalVpnGatewaysListCall
- func (c *ExternalVpnGatewaysListCall) OrderBy(orderBy string) *ExternalVpnGatewaysListCall
- func (c *ExternalVpnGatewaysListCall) PageToken(pageToken string) *ExternalVpnGatewaysListCall
- func (c *ExternalVpnGatewaysListCall) Pages(ctx context.Context, f func(*ExternalVpnGatewayList) error) error
- type ExternalVpnGatewaysService
- func (r *ExternalVpnGatewaysService) Delete(project string, externalVpnGateway string) *ExternalVpnGatewaysDeleteCall
- func (r *ExternalVpnGatewaysService) Get(project string, externalVpnGateway string) *ExternalVpnGatewaysGetCall
- func (r *ExternalVpnGatewaysService) Insert(project string, externalvpngateway *ExternalVpnGateway) *ExternalVpnGatewaysInsertCall
- func (r *ExternalVpnGatewaysService) List(project string) *ExternalVpnGatewaysListCall
- func (r *ExternalVpnGatewaysService) SetLabels(project string, resource string, ...) *ExternalVpnGatewaysSetLabelsCall
- func (r *ExternalVpnGatewaysService) TestIamPermissions(project string, resource string, ...) *ExternalVpnGatewaysTestIamPermissionsCall
- type ExternalVpnGatewaysSetLabelsCall
- func (c *ExternalVpnGatewaysSetLabelsCall) Context(ctx context.Context) *ExternalVpnGatewaysSetLabelsCall
- func (c *ExternalVpnGatewaysSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ExternalVpnGatewaysSetLabelsCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysSetLabelsCall
- func (c *ExternalVpnGatewaysSetLabelsCall) Header() http.Header
- type ExternalVpnGatewaysTestIamPermissionsCall
- func (c *ExternalVpnGatewaysTestIamPermissionsCall) Context(ctx context.Context) *ExternalVpnGatewaysTestIamPermissionsCall
- func (c *ExternalVpnGatewaysTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *ExternalVpnGatewaysTestIamPermissionsCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysTestIamPermissionsCall
- func (c *ExternalVpnGatewaysTestIamPermissionsCall) Header() http.Header
- type Firewall
- type FirewallAllowed
- type FirewallDenied
- type FirewallList
- type FirewallListWarning
- type FirewallListWarningData
- type FirewallLogConfig
- 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
- func (c *FirewallsDeleteCall) RequestId(requestId string) *FirewallsDeleteCall
- 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
- func (c *FirewallsInsertCall) RequestId(requestId string) *FirewallsInsertCall
- 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
- func (c *FirewallsPatchCall) RequestId(requestId string) *FirewallsPatchCall
- type 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) TestIamPermissions(project string, resource string, ...) *FirewallsTestIamPermissionsCall
- func (r *FirewallsService) Update(project string, firewall string, firewall2 *Firewall) *FirewallsUpdateCall
- type FirewallsTestIamPermissionsCall
- func (c *FirewallsTestIamPermissionsCall) Context(ctx context.Context) *FirewallsTestIamPermissionsCall
- func (c *FirewallsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *FirewallsTestIamPermissionsCall) Fields(s ...googleapi.Field) *FirewallsTestIamPermissionsCall
- func (c *FirewallsTestIamPermissionsCall) Header() http.Header
- 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
- func (c *FirewallsUpdateCall) RequestId(requestId string) *FirewallsUpdateCall
- type FixedOrPercent
- type ForwardingRule
- type ForwardingRuleAggregatedList
- type ForwardingRuleAggregatedListWarning
- type ForwardingRuleAggregatedListWarningData
- type ForwardingRuleList
- type ForwardingRuleListWarning
- type ForwardingRuleListWarningData
- type ForwardingRuleReference
- 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
- func (c *ForwardingRulesDeleteCall) RequestId(requestId string) *ForwardingRulesDeleteCall
- 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
- func (c *ForwardingRulesInsertCall) RequestId(requestId string) *ForwardingRulesInsertCall
- 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 ForwardingRulesPatchCall
- func (c *ForwardingRulesPatchCall) Context(ctx context.Context) *ForwardingRulesPatchCall
- func (c *ForwardingRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ForwardingRulesPatchCall) Fields(s ...googleapi.Field) *ForwardingRulesPatchCall
- func (c *ForwardingRulesPatchCall) Header() http.Header
- func (c *ForwardingRulesPatchCall) RequestId(requestId string) *ForwardingRulesPatchCall
- type ForwardingRulesScopedList
- type ForwardingRulesScopedListWarning
- type ForwardingRulesScopedListWarningData
- type 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) Patch(project string, region string, forwardingRule string, ...) *ForwardingRulesPatchCall
- func (r *ForwardingRulesService) SetLabels(project string, region string, resource string, ...) *ForwardingRulesSetLabelsCall
- func (r *ForwardingRulesService) SetTarget(project string, region string, forwardingRule string, ...) *ForwardingRulesSetTargetCall
- func (r *ForwardingRulesService) TestIamPermissions(project string, region string, resource string, ...) *ForwardingRulesTestIamPermissionsCall
- type ForwardingRulesSetLabelsCall
- func (c *ForwardingRulesSetLabelsCall) Context(ctx context.Context) *ForwardingRulesSetLabelsCall
- func (c *ForwardingRulesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ForwardingRulesSetLabelsCall) Fields(s ...googleapi.Field) *ForwardingRulesSetLabelsCall
- func (c *ForwardingRulesSetLabelsCall) Header() http.Header
- func (c *ForwardingRulesSetLabelsCall) RequestId(requestId string) *ForwardingRulesSetLabelsCall
- 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
- func (c *ForwardingRulesSetTargetCall) RequestId(requestId string) *ForwardingRulesSetTargetCall
- type ForwardingRulesTestIamPermissionsCall
- func (c *ForwardingRulesTestIamPermissionsCall) Context(ctx context.Context) *ForwardingRulesTestIamPermissionsCall
- func (c *ForwardingRulesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *ForwardingRulesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ForwardingRulesTestIamPermissionsCall
- func (c *ForwardingRulesTestIamPermissionsCall) 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
- func (c *GlobalAddressesDeleteCall) RequestId(requestId string) *GlobalAddressesDeleteCall
- 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
- func (c *GlobalAddressesInsertCall) RequestId(requestId string) *GlobalAddressesInsertCall
- 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 (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
- func (r *GlobalAddressesService) SetLabels(project string, resource string, ...) *GlobalAddressesSetLabelsCall
- func (r *GlobalAddressesService) TestIamPermissions(project string, resource string, ...) *GlobalAddressesTestIamPermissionsCall
- type GlobalAddressesSetLabelsCall
- func (c *GlobalAddressesSetLabelsCall) Context(ctx context.Context) *GlobalAddressesSetLabelsCall
- func (c *GlobalAddressesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *GlobalAddressesSetLabelsCall) Fields(s ...googleapi.Field) *GlobalAddressesSetLabelsCall
- func (c *GlobalAddressesSetLabelsCall) Header() http.Header
- type GlobalAddressesTestIamPermissionsCall
- func (c *GlobalAddressesTestIamPermissionsCall) Context(ctx context.Context) *GlobalAddressesTestIamPermissionsCall
- func (c *GlobalAddressesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *GlobalAddressesTestIamPermissionsCall) Fields(s ...googleapi.Field) *GlobalAddressesTestIamPermissionsCall
- func (c *GlobalAddressesTestIamPermissionsCall) Header() http.Header
- 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
- func (c *GlobalForwardingRulesDeleteCall) RequestId(requestId string) *GlobalForwardingRulesDeleteCall
- 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
- func (c *GlobalForwardingRulesInsertCall) RequestId(requestId string) *GlobalForwardingRulesInsertCall
- 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 GlobalForwardingRulesPatchCall
- func (c *GlobalForwardingRulesPatchCall) Context(ctx context.Context) *GlobalForwardingRulesPatchCall
- func (c *GlobalForwardingRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *GlobalForwardingRulesPatchCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesPatchCall
- func (c *GlobalForwardingRulesPatchCall) Header() http.Header
- func (c *GlobalForwardingRulesPatchCall) RequestId(requestId string) *GlobalForwardingRulesPatchCall
- type 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) Patch(project string, forwardingRule string, forwardingrule *ForwardingRule) *GlobalForwardingRulesPatchCall
- func (r *GlobalForwardingRulesService) SetLabels(project string, resource string, ...) *GlobalForwardingRulesSetLabelsCall
- func (r *GlobalForwardingRulesService) SetTarget(project string, forwardingRule string, targetreference *TargetReference) *GlobalForwardingRulesSetTargetCall
- func (r *GlobalForwardingRulesService) TestIamPermissions(project string, resource string, ...) *GlobalForwardingRulesTestIamPermissionsCall
- type GlobalForwardingRulesSetLabelsCall
- func (c *GlobalForwardingRulesSetLabelsCall) Context(ctx context.Context) *GlobalForwardingRulesSetLabelsCall
- func (c *GlobalForwardingRulesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *GlobalForwardingRulesSetLabelsCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesSetLabelsCall
- func (c *GlobalForwardingRulesSetLabelsCall) Header() http.Header
- 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
- func (c *GlobalForwardingRulesSetTargetCall) RequestId(requestId string) *GlobalForwardingRulesSetTargetCall
- type GlobalForwardingRulesTestIamPermissionsCall
- func (c *GlobalForwardingRulesTestIamPermissionsCall) Context(ctx context.Context) *GlobalForwardingRulesTestIamPermissionsCall
- func (c *GlobalForwardingRulesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *GlobalForwardingRulesTestIamPermissionsCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesTestIamPermissionsCall
- func (c *GlobalForwardingRulesTestIamPermissionsCall) 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 (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
- type GlobalSetPolicyRequest
- type GuestAttributes
- type GuestAttributesEntry
- type GuestAttributesValue
- type GuestOsFeature
- type HTTP2HealthCheck
- type HTTPHealthCheck
- type HTTPSHealthCheck
- type HealthCheck
- type HealthCheckList
- type HealthCheckListWarning
- type HealthCheckListWarningData
- type HealthCheckReference
- type HealthChecksAggregatedList
- type HealthChecksAggregatedListCall
- func (c *HealthChecksAggregatedListCall) Context(ctx context.Context) *HealthChecksAggregatedListCall
- func (c *HealthChecksAggregatedListCall) Do(opts ...googleapi.CallOption) (*HealthChecksAggregatedList, error)
- func (c *HealthChecksAggregatedListCall) Fields(s ...googleapi.Field) *HealthChecksAggregatedListCall
- func (c *HealthChecksAggregatedListCall) Filter(filter string) *HealthChecksAggregatedListCall
- func (c *HealthChecksAggregatedListCall) Header() http.Header
- func (c *HealthChecksAggregatedListCall) IfNoneMatch(entityTag string) *HealthChecksAggregatedListCall
- func (c *HealthChecksAggregatedListCall) MaxResults(maxResults int64) *HealthChecksAggregatedListCall
- func (c *HealthChecksAggregatedListCall) OrderBy(orderBy string) *HealthChecksAggregatedListCall
- func (c *HealthChecksAggregatedListCall) PageToken(pageToken string) *HealthChecksAggregatedListCall
- func (c *HealthChecksAggregatedListCall) Pages(ctx context.Context, f func(*HealthChecksAggregatedList) error) error
- type HealthChecksAggregatedListWarning
- type HealthChecksAggregatedListWarningData
- 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
- func (c *HealthChecksDeleteCall) RequestId(requestId string) *HealthChecksDeleteCall
- 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
- func (c *HealthChecksInsertCall) RequestId(requestId string) *HealthChecksInsertCall
- 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
- func (c *HealthChecksPatchCall) RequestId(requestId string) *HealthChecksPatchCall
- type HealthChecksScopedList
- type HealthChecksScopedListWarning
- type HealthChecksScopedListWarningData
- type HealthChecksService
- func (r *HealthChecksService) AggregatedList(project string) *HealthChecksAggregatedListCall
- 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) TestIamPermissions(project string, resource string, ...) *HealthChecksTestIamPermissionsCall
- func (r *HealthChecksService) Update(project string, healthCheck string, healthcheck *HealthCheck) *HealthChecksUpdateCall
- type HealthChecksTestIamPermissionsCall
- func (c *HealthChecksTestIamPermissionsCall) Context(ctx context.Context) *HealthChecksTestIamPermissionsCall
- func (c *HealthChecksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *HealthChecksTestIamPermissionsCall) Fields(s ...googleapi.Field) *HealthChecksTestIamPermissionsCall
- func (c *HealthChecksTestIamPermissionsCall) Header() http.Header
- 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
- func (c *HealthChecksUpdateCall) RequestId(requestId string) *HealthChecksUpdateCall
- type HealthStatus
- type HealthStatusForNetworkEndpoint
- type HostRule
- type HttpFaultAbort
- type HttpFaultDelay
- type HttpFaultInjection
- type HttpHeaderAction
- type HttpHeaderMatch
- type HttpHeaderOption
- type HttpHealthCheck
- type HttpHealthCheckList
- type HttpHealthCheckListWarning
- type HttpHealthCheckListWarningData
- 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
- func (c *HttpHealthChecksDeleteCall) RequestId(requestId string) *HttpHealthChecksDeleteCall
- 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
- func (c *HttpHealthChecksInsertCall) RequestId(requestId string) *HttpHealthChecksInsertCall
- 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
- func (c *HttpHealthChecksPatchCall) RequestId(requestId string) *HttpHealthChecksPatchCall
- type 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) TestIamPermissions(project string, resource string, ...) *HttpHealthChecksTestIamPermissionsCall
- func (r *HttpHealthChecksService) Update(project string, httpHealthCheck string, httphealthcheck *HttpHealthCheck) *HttpHealthChecksUpdateCall
- type HttpHealthChecksTestIamPermissionsCall
- func (c *HttpHealthChecksTestIamPermissionsCall) Context(ctx context.Context) *HttpHealthChecksTestIamPermissionsCall
- func (c *HttpHealthChecksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *HttpHealthChecksTestIamPermissionsCall) Fields(s ...googleapi.Field) *HttpHealthChecksTestIamPermissionsCall
- func (c *HttpHealthChecksTestIamPermissionsCall) Header() http.Header
- 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
- func (c *HttpHealthChecksUpdateCall) RequestId(requestId string) *HttpHealthChecksUpdateCall
- type HttpQueryParameterMatch
- type HttpRedirectAction
- type HttpRetryPolicy
- type HttpRouteAction
- type HttpRouteRule
- type HttpRouteRuleMatch
- type HttpsHealthCheck
- type HttpsHealthCheckList
- type HttpsHealthCheckListWarning
- type HttpsHealthCheckListWarningData
- 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
- func (c *HttpsHealthChecksDeleteCall) RequestId(requestId string) *HttpsHealthChecksDeleteCall
- 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
- func (c *HttpsHealthChecksInsertCall) RequestId(requestId string) *HttpsHealthChecksInsertCall
- 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
- func (c *HttpsHealthChecksPatchCall) RequestId(requestId string) *HttpsHealthChecksPatchCall
- type 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) TestIamPermissions(project string, resource string, ...) *HttpsHealthChecksTestIamPermissionsCall
- func (r *HttpsHealthChecksService) Update(project string, httpsHealthCheck string, httpshealthcheck *HttpsHealthCheck) *HttpsHealthChecksUpdateCall
- type HttpsHealthChecksTestIamPermissionsCall
- func (c *HttpsHealthChecksTestIamPermissionsCall) Context(ctx context.Context) *HttpsHealthChecksTestIamPermissionsCall
- func (c *HttpsHealthChecksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *HttpsHealthChecksTestIamPermissionsCall) Fields(s ...googleapi.Field) *HttpsHealthChecksTestIamPermissionsCall
- func (c *HttpsHealthChecksTestIamPermissionsCall) Header() http.Header
- 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
- func (c *HttpsHealthChecksUpdateCall) RequestId(requestId string) *HttpsHealthChecksUpdateCall
- type Image
- type ImageList
- type ImageListWarning
- type ImageListWarningData
- type ImageRawDisk
- 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
- func (c *ImagesDeleteCall) RequestId(requestId string) *ImagesDeleteCall
- 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
- func (c *ImagesDeprecateCall) RequestId(requestId string) *ImagesDeprecateCall
- 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 ImagesGetIamPolicyCall
- func (c *ImagesGetIamPolicyCall) Context(ctx context.Context) *ImagesGetIamPolicyCall
- func (c *ImagesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ImagesGetIamPolicyCall) Fields(s ...googleapi.Field) *ImagesGetIamPolicyCall
- func (c *ImagesGetIamPolicyCall) Header() http.Header
- func (c *ImagesGetIamPolicyCall) IfNoneMatch(entityTag string) *ImagesGetIamPolicyCall
- 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) ForceCreate(forceCreate bool) *ImagesInsertCall
- func (c *ImagesInsertCall) Header() http.Header
- func (c *ImagesInsertCall) RequestId(requestId string) *ImagesInsertCall
- 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 (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) GetIamPolicy(project string, resource string) *ImagesGetIamPolicyCall
- func (r *ImagesService) Insert(project string, image *Image) *ImagesInsertCall
- func (r *ImagesService) List(project string) *ImagesListCall
- func (r *ImagesService) SetIamPolicy(project string, resource string, ...) *ImagesSetIamPolicyCall
- func (r *ImagesService) SetLabels(project string, resource string, ...) *ImagesSetLabelsCall
- func (r *ImagesService) TestIamPermissions(project string, resource string, ...) *ImagesTestIamPermissionsCall
- type ImagesSetIamPolicyCall
- func (c *ImagesSetIamPolicyCall) Context(ctx context.Context) *ImagesSetIamPolicyCall
- func (c *ImagesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ImagesSetIamPolicyCall) Fields(s ...googleapi.Field) *ImagesSetIamPolicyCall
- func (c *ImagesSetIamPolicyCall) Header() http.Header
- type ImagesSetLabelsCall
- type ImagesTestIamPermissionsCall
- func (c *ImagesTestIamPermissionsCall) Context(ctx context.Context) *ImagesTestIamPermissionsCall
- func (c *ImagesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *ImagesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ImagesTestIamPermissionsCall
- func (c *ImagesTestIamPermissionsCall) Header() http.Header
- type Instance
- type InstanceAggregatedList
- type InstanceAggregatedListWarning
- type InstanceAggregatedListWarningData
- type InstanceGroup
- type InstanceGroupAggregatedList
- type InstanceGroupAggregatedListWarning
- type InstanceGroupAggregatedListWarningData
- type InstanceGroupList
- type InstanceGroupListWarning
- type InstanceGroupListWarningData
- type InstanceGroupManager
- type InstanceGroupManagerActionsSummary
- type InstanceGroupManagerAggregatedList
- type InstanceGroupManagerAggregatedListWarning
- type InstanceGroupManagerAggregatedListWarningData
- type InstanceGroupManagerAutoHealingPolicy
- type InstanceGroupManagerList
- type InstanceGroupManagerListWarning
- type InstanceGroupManagerListWarningData
- type InstanceGroupManagerPendingActionsSummary
- type InstanceGroupManagerStatus
- type InstanceGroupManagerStatusVersionTarget
- type InstanceGroupManagerUpdatePolicy
- type InstanceGroupManagerVersion
- 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
- func (c *InstanceGroupManagersAbandonInstancesCall) RequestId(requestId string) *InstanceGroupManagersAbandonInstancesCall
- type InstanceGroupManagersAbandonInstancesRequest
- 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 InstanceGroupManagersApplyUpdatesRequest
- type InstanceGroupManagersApplyUpdatesToInstancesCall
- func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Context(ctx context.Context) *InstanceGroupManagersApplyUpdatesToInstancesCall
- func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersApplyUpdatesToInstancesCall
- func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header
- 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
- func (c *InstanceGroupManagersDeleteCall) RequestId(requestId string) *InstanceGroupManagersDeleteCall
- 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
- func (c *InstanceGroupManagersDeleteInstancesCall) RequestId(requestId string) *InstanceGroupManagersDeleteInstancesCall
- type InstanceGroupManagersDeleteInstancesRequest
- 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
- func (c *InstanceGroupManagersInsertCall) RequestId(requestId string) *InstanceGroupManagersInsertCall
- 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
- func (c *InstanceGroupManagersListManagedInstancesCall) Pages(ctx context.Context, ...) error
- type InstanceGroupManagersListManagedInstancesResponse
- type InstanceGroupManagersPatchCall
- func (c *InstanceGroupManagersPatchCall) Context(ctx context.Context) *InstanceGroupManagersPatchCall
- func (c *InstanceGroupManagersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstanceGroupManagersPatchCall) Fields(s ...googleapi.Field) *InstanceGroupManagersPatchCall
- func (c *InstanceGroupManagersPatchCall) Header() http.Header
- func (c *InstanceGroupManagersPatchCall) RequestId(requestId string) *InstanceGroupManagersPatchCall
- 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
- func (c *InstanceGroupManagersRecreateInstancesCall) RequestId(requestId string) *InstanceGroupManagersRecreateInstancesCall
- type InstanceGroupManagersRecreateInstancesRequest
- type InstanceGroupManagersResizeAdvancedCall
- func (c *InstanceGroupManagersResizeAdvancedCall) Context(ctx context.Context) *InstanceGroupManagersResizeAdvancedCall
- func (c *InstanceGroupManagersResizeAdvancedCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstanceGroupManagersResizeAdvancedCall) Fields(s ...googleapi.Field) *InstanceGroupManagersResizeAdvancedCall
- func (c *InstanceGroupManagersResizeAdvancedCall) Header() http.Header
- func (c *InstanceGroupManagersResizeAdvancedCall) RequestId(requestId string) *InstanceGroupManagersResizeAdvancedCall
- type InstanceGroupManagersResizeAdvancedRequest
- 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
- func (c *InstanceGroupManagersResizeCall) RequestId(requestId string) *InstanceGroupManagersResizeCall
- type InstanceGroupManagersScopedList
- type InstanceGroupManagersScopedListWarning
- type InstanceGroupManagersScopedListWarningData
- type InstanceGroupManagersService
- func (r *InstanceGroupManagersService) AbandonInstances(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersAbandonInstancesCall
- func (r *InstanceGroupManagersService) AggregatedList(project string) *InstanceGroupManagersAggregatedListCall
- func (r *InstanceGroupManagersService) ApplyUpdatesToInstances(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersApplyUpdatesToInstancesCall
- func (r *InstanceGroupManagersService) Delete(project string, zone string, instanceGroupManager string) *InstanceGroupManagersDeleteCall
- func (r *InstanceGroupManagersService) DeleteInstances(project string, zone string, instanceGroupManager string, ...) *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) Patch(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersPatchCall
- func (r *InstanceGroupManagersService) RecreateInstances(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersRecreateInstancesCall
- func (r *InstanceGroupManagersService) Resize(project string, zone string, instanceGroupManager string, size int64) *InstanceGroupManagersResizeCall
- func (r *InstanceGroupManagersService) ResizeAdvanced(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersResizeAdvancedCall
- func (r *InstanceGroupManagersService) SetAutoHealingPolicies(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersSetAutoHealingPoliciesCall
- func (r *InstanceGroupManagersService) SetInstanceTemplate(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersSetInstanceTemplateCall
- func (r *InstanceGroupManagersService) SetTargetPools(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersSetTargetPoolsCall
- func (r *InstanceGroupManagersService) TestIamPermissions(project string, zone string, resource string, ...) *InstanceGroupManagersTestIamPermissionsCall
- func (r *InstanceGroupManagersService) Update(project string, zone string, instanceGroupManager string, ...) *InstanceGroupManagersUpdateCall
- type InstanceGroupManagersSetAutoHealingPoliciesCall
- func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Context(ctx context.Context) *InstanceGroupManagersSetAutoHealingPoliciesCall
- func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersSetAutoHealingPoliciesCall
- func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.Header
- func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) RequestId(requestId string) *InstanceGroupManagersSetAutoHealingPoliciesCall
- type InstanceGroupManagersSetAutoHealingRequest
- 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
- func (c *InstanceGroupManagersSetInstanceTemplateCall) RequestId(requestId string) *InstanceGroupManagersSetInstanceTemplateCall
- type InstanceGroupManagersSetInstanceTemplateRequest
- 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
- func (c *InstanceGroupManagersSetTargetPoolsCall) RequestId(requestId string) *InstanceGroupManagersSetTargetPoolsCall
- type InstanceGroupManagersSetTargetPoolsRequest
- type InstanceGroupManagersTestIamPermissionsCall
- func (c *InstanceGroupManagersTestIamPermissionsCall) Context(ctx context.Context) *InstanceGroupManagersTestIamPermissionsCall
- func (c *InstanceGroupManagersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *InstanceGroupManagersTestIamPermissionsCall) Fields(s ...googleapi.Field) *InstanceGroupManagersTestIamPermissionsCall
- func (c *InstanceGroupManagersTestIamPermissionsCall) Header() http.Header
- type InstanceGroupManagersUpdateCall
- func (c *InstanceGroupManagersUpdateCall) Context(ctx context.Context) *InstanceGroupManagersUpdateCall
- func (c *InstanceGroupManagersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstanceGroupManagersUpdateCall) Fields(s ...googleapi.Field) *InstanceGroupManagersUpdateCall
- func (c *InstanceGroupManagersUpdateCall) Header() http.Header
- func (c *InstanceGroupManagersUpdateCall) RequestId(requestId string) *InstanceGroupManagersUpdateCall
- 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
- func (c *InstanceGroupsAddInstancesCall) RequestId(requestId string) *InstanceGroupsAddInstancesCall
- type InstanceGroupsAddInstancesRequest
- 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
- func (c *InstanceGroupsDeleteCall) RequestId(requestId string) *InstanceGroupsDeleteCall
- 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
- func (c *InstanceGroupsInsertCall) RequestId(requestId string) *InstanceGroupsInsertCall
- 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
- 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
- type InstanceGroupsListInstancesWarning
- type InstanceGroupsListInstancesWarningData
- 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
- func (c *InstanceGroupsRemoveInstancesCall) RequestId(requestId string) *InstanceGroupsRemoveInstancesCall
- type InstanceGroupsRemoveInstancesRequest
- type InstanceGroupsScopedList
- type InstanceGroupsScopedListWarning
- type InstanceGroupsScopedListWarningData
- type InstanceGroupsService
- func (r *InstanceGroupsService) AddInstances(project string, zone string, instanceGroup string, ...) *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, ...) *InstanceGroupsListInstancesCall
- func (r *InstanceGroupsService) RemoveInstances(project string, zone string, instanceGroup string, ...) *InstanceGroupsRemoveInstancesCall
- func (r *InstanceGroupsService) SetNamedPorts(project string, zone string, instanceGroup string, ...) *InstanceGroupsSetNamedPortsCall
- func (r *InstanceGroupsService) TestIamPermissions(project string, zone string, resource string, ...) *InstanceGroupsTestIamPermissionsCall
- 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
- func (c *InstanceGroupsSetNamedPortsCall) RequestId(requestId string) *InstanceGroupsSetNamedPortsCall
- type InstanceGroupsSetNamedPortsRequest
- type InstanceGroupsTestIamPermissionsCall
- func (c *InstanceGroupsTestIamPermissionsCall) Context(ctx context.Context) *InstanceGroupsTestIamPermissionsCall
- func (c *InstanceGroupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *InstanceGroupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *InstanceGroupsTestIamPermissionsCall
- func (c *InstanceGroupsTestIamPermissionsCall) Header() http.Header
- type InstanceList
- type InstanceListReferrers
- type InstanceListReferrersWarning
- type InstanceListReferrersWarningData
- type InstanceListWarning
- type InstanceListWarningData
- type InstanceMoveRequest
- type InstanceProperties
- type InstanceReference
- type InstanceTemplate
- type InstanceTemplateList
- type InstanceTemplateListWarning
- type InstanceTemplateListWarningData
- 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
- func (c *InstanceTemplatesDeleteCall) RequestId(requestId string) *InstanceTemplatesDeleteCall
- 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 InstanceTemplatesGetIamPolicyCall
- func (c *InstanceTemplatesGetIamPolicyCall) Context(ctx context.Context) *InstanceTemplatesGetIamPolicyCall
- func (c *InstanceTemplatesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *InstanceTemplatesGetIamPolicyCall) Fields(s ...googleapi.Field) *InstanceTemplatesGetIamPolicyCall
- func (c *InstanceTemplatesGetIamPolicyCall) Header() http.Header
- func (c *InstanceTemplatesGetIamPolicyCall) IfNoneMatch(entityTag string) *InstanceTemplatesGetIamPolicyCall
- 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
- func (c *InstanceTemplatesInsertCall) RequestId(requestId string) *InstanceTemplatesInsertCall
- 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 (r *InstanceTemplatesService) Delete(project string, instanceTemplate string) *InstanceTemplatesDeleteCall
- func (r *InstanceTemplatesService) Get(project string, instanceTemplate string) *InstanceTemplatesGetCall
- func (r *InstanceTemplatesService) GetIamPolicy(project string, resource string) *InstanceTemplatesGetIamPolicyCall
- func (r *InstanceTemplatesService) Insert(project string, instancetemplate *InstanceTemplate) *InstanceTemplatesInsertCall
- func (r *InstanceTemplatesService) List(project string) *InstanceTemplatesListCall
- func (r *InstanceTemplatesService) SetIamPolicy(project string, resource string, ...) *InstanceTemplatesSetIamPolicyCall
- func (r *InstanceTemplatesService) TestIamPermissions(project string, resource string, ...) *InstanceTemplatesTestIamPermissionsCall
- type InstanceTemplatesSetIamPolicyCall
- func (c *InstanceTemplatesSetIamPolicyCall) Context(ctx context.Context) *InstanceTemplatesSetIamPolicyCall
- func (c *InstanceTemplatesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *InstanceTemplatesSetIamPolicyCall) Fields(s ...googleapi.Field) *InstanceTemplatesSetIamPolicyCall
- func (c *InstanceTemplatesSetIamPolicyCall) Header() http.Header
- type InstanceTemplatesTestIamPermissionsCall
- func (c *InstanceTemplatesTestIamPermissionsCall) Context(ctx context.Context) *InstanceTemplatesTestIamPermissionsCall
- func (c *InstanceTemplatesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *InstanceTemplatesTestIamPermissionsCall) Fields(s ...googleapi.Field) *InstanceTemplatesTestIamPermissionsCall
- func (c *InstanceTemplatesTestIamPermissionsCall) Header() http.Header
- type InstanceWithNamedPorts
- 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
- func (c *InstancesAddAccessConfigCall) RequestId(requestId string) *InstancesAddAccessConfigCall
- 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) ForceAttach(forceAttach bool) *InstancesAttachDiskCall
- func (c *InstancesAttachDiskCall) Header() http.Header
- func (c *InstancesAttachDiskCall) RequestId(requestId string) *InstancesAttachDiskCall
- 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
- func (c *InstancesDeleteAccessConfigCall) RequestId(requestId string) *InstancesDeleteAccessConfigCall
- 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
- func (c *InstancesDeleteCall) RequestId(requestId string) *InstancesDeleteCall
- 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
- func (c *InstancesDetachDiskCall) RequestId(requestId string) *InstancesDetachDiskCall
- 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 InstancesGetGuestAttributesCall
- func (c *InstancesGetGuestAttributesCall) Context(ctx context.Context) *InstancesGetGuestAttributesCall
- func (c *InstancesGetGuestAttributesCall) Do(opts ...googleapi.CallOption) (*GuestAttributes, error)
- func (c *InstancesGetGuestAttributesCall) Fields(s ...googleapi.Field) *InstancesGetGuestAttributesCall
- func (c *InstancesGetGuestAttributesCall) Header() http.Header
- func (c *InstancesGetGuestAttributesCall) IfNoneMatch(entityTag string) *InstancesGetGuestAttributesCall
- func (c *InstancesGetGuestAttributesCall) QueryPath(queryPath string) *InstancesGetGuestAttributesCall
- func (c *InstancesGetGuestAttributesCall) VariableKey(variableKey string) *InstancesGetGuestAttributesCall
- type InstancesGetIamPolicyCall
- func (c *InstancesGetIamPolicyCall) Context(ctx context.Context) *InstancesGetIamPolicyCall
- func (c *InstancesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *InstancesGetIamPolicyCall) Fields(s ...googleapi.Field) *InstancesGetIamPolicyCall
- func (c *InstancesGetIamPolicyCall) Header() http.Header
- func (c *InstancesGetIamPolicyCall) IfNoneMatch(entityTag string) *InstancesGetIamPolicyCall
- 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 InstancesGetShieldedInstanceIdentityCall
- func (c *InstancesGetShieldedInstanceIdentityCall) Context(ctx context.Context) *InstancesGetShieldedInstanceIdentityCall
- func (c *InstancesGetShieldedInstanceIdentityCall) Do(opts ...googleapi.CallOption) (*ShieldedInstanceIdentity, error)
- func (c *InstancesGetShieldedInstanceIdentityCall) Fields(s ...googleapi.Field) *InstancesGetShieldedInstanceIdentityCall
- func (c *InstancesGetShieldedInstanceIdentityCall) Header() http.Header
- func (c *InstancesGetShieldedInstanceIdentityCall) IfNoneMatch(entityTag string) *InstancesGetShieldedInstanceIdentityCall
- type InstancesGetShieldedVmIdentityCall
- func (c *InstancesGetShieldedVmIdentityCall) Context(ctx context.Context) *InstancesGetShieldedVmIdentityCall
- func (c *InstancesGetShieldedVmIdentityCall) Do(opts ...googleapi.CallOption) (*ShieldedVmIdentity, error)
- func (c *InstancesGetShieldedVmIdentityCall) Fields(s ...googleapi.Field) *InstancesGetShieldedVmIdentityCall
- func (c *InstancesGetShieldedVmIdentityCall) Header() http.Header
- func (c *InstancesGetShieldedVmIdentityCall) IfNoneMatch(entityTag string) *InstancesGetShieldedVmIdentityCall
- 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
- func (c *InstancesInsertCall) RequestId(requestId string) *InstancesInsertCall
- func (c *InstancesInsertCall) SourceInstanceTemplate(sourceInstanceTemplate string) *InstancesInsertCall
- 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 InstancesListReferrersCall
- func (c *InstancesListReferrersCall) Context(ctx context.Context) *InstancesListReferrersCall
- func (c *InstancesListReferrersCall) Do(opts ...googleapi.CallOption) (*InstanceListReferrers, error)
- func (c *InstancesListReferrersCall) Fields(s ...googleapi.Field) *InstancesListReferrersCall
- func (c *InstancesListReferrersCall) Filter(filter string) *InstancesListReferrersCall
- func (c *InstancesListReferrersCall) Header() http.Header
- func (c *InstancesListReferrersCall) IfNoneMatch(entityTag string) *InstancesListReferrersCall
- func (c *InstancesListReferrersCall) MaxResults(maxResults int64) *InstancesListReferrersCall
- func (c *InstancesListReferrersCall) OrderBy(orderBy string) *InstancesListReferrersCall
- func (c *InstancesListReferrersCall) PageToken(pageToken string) *InstancesListReferrersCall
- func (c *InstancesListReferrersCall) Pages(ctx context.Context, f func(*InstanceListReferrers) 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
- func (c *InstancesResetCall) RequestId(requestId string) *InstancesResetCall
- type InstancesResumeCall
- func (c *InstancesResumeCall) Context(ctx context.Context) *InstancesResumeCall
- func (c *InstancesResumeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesResumeCall) Fields(s ...googleapi.Field) *InstancesResumeCall
- func (c *InstancesResumeCall) Header() http.Header
- func (c *InstancesResumeCall) RequestId(requestId string) *InstancesResumeCall
- type InstancesResumeRequest
- type InstancesScopedList
- type InstancesScopedListWarning
- type InstancesScopedListWarningData
- type InstancesService
- func (r *InstancesService) AddAccessConfig(project string, zone string, instance string, networkInterface string, ...) *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, ...) *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) GetGuestAttributes(project string, zone string, instance string) *InstancesGetGuestAttributesCall
- func (r *InstancesService) GetIamPolicy(project string, zone string, resource string) *InstancesGetIamPolicyCall
- func (r *InstancesService) GetSerialPortOutput(project string, zone string, instance string) *InstancesGetSerialPortOutputCall
- func (r *InstancesService) GetShieldedInstanceIdentity(project string, zone string, instance string) *InstancesGetShieldedInstanceIdentityCall
- func (r *InstancesService) GetShieldedVmIdentity(project string, zone string, instance string) *InstancesGetShieldedVmIdentityCall
- func (r *InstancesService) Insert(project string, zone string, instance *Instance) *InstancesInsertCall
- func (r *InstancesService) List(project string, zone string) *InstancesListCall
- func (r *InstancesService) ListReferrers(project string, zone string, instance string) *InstancesListReferrersCall
- func (r *InstancesService) Reset(project string, zone string, instance string) *InstancesResetCall
- func (r *InstancesService) Resume(project string, zone string, instance string, ...) *InstancesResumeCall
- func (r *InstancesService) SetDeletionProtection(project string, zone string, resource string) *InstancesSetDeletionProtectionCall
- func (r *InstancesService) SetDiskAutoDelete(project string, zone string, instance string, autoDelete bool, ...) *InstancesSetDiskAutoDeleteCall
- func (r *InstancesService) SetIamPolicy(project string, zone string, resource string, ...) *InstancesSetIamPolicyCall
- func (r *InstancesService) SetLabels(project string, zone string, instance string, ...) *InstancesSetLabelsCall
- func (r *InstancesService) SetMachineResources(project string, zone string, instance string, ...) *InstancesSetMachineResourcesCall
- func (r *InstancesService) SetMachineType(project string, zone string, instance string, ...) *InstancesSetMachineTypeCall
- func (r *InstancesService) SetMetadata(project string, zone string, instance string, metadata *Metadata) *InstancesSetMetadataCall
- func (r *InstancesService) SetMinCpuPlatform(project string, zone string, instance string, ...) *InstancesSetMinCpuPlatformCall
- func (r *InstancesService) SetScheduling(project string, zone string, instance string, scheduling *Scheduling) *InstancesSetSchedulingCall
- func (r *InstancesService) SetServiceAccount(project string, zone string, instance string, ...) *InstancesSetServiceAccountCall
- func (r *InstancesService) SetShieldedInstanceIntegrityPolicy(project string, zone string, instance string, ...) *InstancesSetShieldedInstanceIntegrityPolicyCall
- func (r *InstancesService) SetShieldedVmIntegrityPolicy(project string, zone string, instance string, ...) *InstancesSetShieldedVmIntegrityPolicyCall
- func (r *InstancesService) SetTags(project string, zone string, instance string, tags *Tags) *InstancesSetTagsCall
- func (r *InstancesService) SimulateMaintenanceEvent(project string, zone string, instance string) *InstancesSimulateMaintenanceEventCall
- func (r *InstancesService) Start(project string, zone string, instance string) *InstancesStartCall
- func (r *InstancesService) StartWithEncryptionKey(project string, zone string, instance string, ...) *InstancesStartWithEncryptionKeyCall
- func (r *InstancesService) Stop(project string, zone string, instance string) *InstancesStopCall
- func (r *InstancesService) Suspend(project string, zone string, instance string) *InstancesSuspendCall
- func (r *InstancesService) TestIamPermissions(project string, zone string, resource string, ...) *InstancesTestIamPermissionsCall
- func (r *InstancesService) UpdateAccessConfig(project string, zone string, instance string, networkInterface string, ...) *InstancesUpdateAccessConfigCall
- func (r *InstancesService) UpdateDisplayDevice(project string, zone string, instance string, displaydevice *DisplayDevice) *InstancesUpdateDisplayDeviceCall
- func (r *InstancesService) UpdateNetworkInterface(project string, zone string, instance string, networkInterface string, ...) *InstancesUpdateNetworkInterfaceCall
- func (r *InstancesService) UpdateShieldedInstanceConfig(project string, zone string, instance string, ...) *InstancesUpdateShieldedInstanceConfigCall
- func (r *InstancesService) UpdateShieldedVmConfig(project string, zone string, instance string, ...) *InstancesUpdateShieldedVmConfigCall
- type InstancesSetDeletionProtectionCall
- func (c *InstancesSetDeletionProtectionCall) Context(ctx context.Context) *InstancesSetDeletionProtectionCall
- func (c *InstancesSetDeletionProtectionCall) DeletionProtection(deletionProtection bool) *InstancesSetDeletionProtectionCall
- func (c *InstancesSetDeletionProtectionCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesSetDeletionProtectionCall) Fields(s ...googleapi.Field) *InstancesSetDeletionProtectionCall
- func (c *InstancesSetDeletionProtectionCall) Header() http.Header
- func (c *InstancesSetDeletionProtectionCall) RequestId(requestId string) *InstancesSetDeletionProtectionCall
- 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
- func (c *InstancesSetDiskAutoDeleteCall) RequestId(requestId string) *InstancesSetDiskAutoDeleteCall
- type InstancesSetIamPolicyCall
- func (c *InstancesSetIamPolicyCall) Context(ctx context.Context) *InstancesSetIamPolicyCall
- func (c *InstancesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *InstancesSetIamPolicyCall) Fields(s ...googleapi.Field) *InstancesSetIamPolicyCall
- func (c *InstancesSetIamPolicyCall) 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
- func (c *InstancesSetLabelsCall) RequestId(requestId string) *InstancesSetLabelsCall
- type InstancesSetLabelsRequest
- type InstancesSetMachineResourcesCall
- func (c *InstancesSetMachineResourcesCall) Context(ctx context.Context) *InstancesSetMachineResourcesCall
- func (c *InstancesSetMachineResourcesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesSetMachineResourcesCall) Fields(s ...googleapi.Field) *InstancesSetMachineResourcesCall
- func (c *InstancesSetMachineResourcesCall) Header() http.Header
- func (c *InstancesSetMachineResourcesCall) RequestId(requestId string) *InstancesSetMachineResourcesCall
- type InstancesSetMachineResourcesRequest
- 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
- func (c *InstancesSetMachineTypeCall) RequestId(requestId string) *InstancesSetMachineTypeCall
- type InstancesSetMachineTypeRequest
- 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
- func (c *InstancesSetMetadataCall) RequestId(requestId string) *InstancesSetMetadataCall
- type InstancesSetMinCpuPlatformCall
- func (c *InstancesSetMinCpuPlatformCall) Context(ctx context.Context) *InstancesSetMinCpuPlatformCall
- func (c *InstancesSetMinCpuPlatformCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesSetMinCpuPlatformCall) Fields(s ...googleapi.Field) *InstancesSetMinCpuPlatformCall
- func (c *InstancesSetMinCpuPlatformCall) Header() http.Header
- func (c *InstancesSetMinCpuPlatformCall) RequestId(requestId string) *InstancesSetMinCpuPlatformCall
- type InstancesSetMinCpuPlatformRequest
- 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
- func (c *InstancesSetSchedulingCall) RequestId(requestId string) *InstancesSetSchedulingCall
- 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
- func (c *InstancesSetServiceAccountCall) RequestId(requestId string) *InstancesSetServiceAccountCall
- type InstancesSetServiceAccountRequest
- type InstancesSetShieldedInstanceIntegrityPolicyCall
- func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Context(ctx context.Context) *InstancesSetShieldedInstanceIntegrityPolicyCall
- func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Fields(s ...googleapi.Field) *InstancesSetShieldedInstanceIntegrityPolicyCall
- func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) Header() http.Header
- func (c *InstancesSetShieldedInstanceIntegrityPolicyCall) RequestId(requestId string) *InstancesSetShieldedInstanceIntegrityPolicyCall
- type InstancesSetShieldedVmIntegrityPolicyCall
- func (c *InstancesSetShieldedVmIntegrityPolicyCall) Context(ctx context.Context) *InstancesSetShieldedVmIntegrityPolicyCall
- func (c *InstancesSetShieldedVmIntegrityPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesSetShieldedVmIntegrityPolicyCall) Fields(s ...googleapi.Field) *InstancesSetShieldedVmIntegrityPolicyCall
- func (c *InstancesSetShieldedVmIntegrityPolicyCall) Header() http.Header
- func (c *InstancesSetShieldedVmIntegrityPolicyCall) RequestId(requestId string) *InstancesSetShieldedVmIntegrityPolicyCall
- 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
- func (c *InstancesSetTagsCall) RequestId(requestId string) *InstancesSetTagsCall
- type InstancesSimulateMaintenanceEventCall
- func (c *InstancesSimulateMaintenanceEventCall) Context(ctx context.Context) *InstancesSimulateMaintenanceEventCall
- func (c *InstancesSimulateMaintenanceEventCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesSimulateMaintenanceEventCall) Fields(s ...googleapi.Field) *InstancesSimulateMaintenanceEventCall
- func (c *InstancesSimulateMaintenanceEventCall) 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
- func (c *InstancesStartCall) RequestId(requestId string) *InstancesStartCall
- 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
- func (c *InstancesStartWithEncryptionKeyCall) RequestId(requestId string) *InstancesStartWithEncryptionKeyCall
- type InstancesStartWithEncryptionKeyRequest
- 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
- func (c *InstancesStopCall) RequestId(requestId string) *InstancesStopCall
- type InstancesSuspendCall
- func (c *InstancesSuspendCall) Context(ctx context.Context) *InstancesSuspendCall
- func (c *InstancesSuspendCall) DiscardLocalSsd(discardLocalSsd bool) *InstancesSuspendCall
- func (c *InstancesSuspendCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesSuspendCall) Fields(s ...googleapi.Field) *InstancesSuspendCall
- func (c *InstancesSuspendCall) Header() http.Header
- func (c *InstancesSuspendCall) RequestId(requestId string) *InstancesSuspendCall
- type InstancesTestIamPermissionsCall
- func (c *InstancesTestIamPermissionsCall) Context(ctx context.Context) *InstancesTestIamPermissionsCall
- func (c *InstancesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *InstancesTestIamPermissionsCall) Fields(s ...googleapi.Field) *InstancesTestIamPermissionsCall
- func (c *InstancesTestIamPermissionsCall) Header() http.Header
- type InstancesUpdateAccessConfigCall
- func (c *InstancesUpdateAccessConfigCall) Context(ctx context.Context) *InstancesUpdateAccessConfigCall
- func (c *InstancesUpdateAccessConfigCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesUpdateAccessConfigCall) Fields(s ...googleapi.Field) *InstancesUpdateAccessConfigCall
- func (c *InstancesUpdateAccessConfigCall) Header() http.Header
- func (c *InstancesUpdateAccessConfigCall) RequestId(requestId string) *InstancesUpdateAccessConfigCall
- type InstancesUpdateDisplayDeviceCall
- func (c *InstancesUpdateDisplayDeviceCall) Context(ctx context.Context) *InstancesUpdateDisplayDeviceCall
- func (c *InstancesUpdateDisplayDeviceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesUpdateDisplayDeviceCall) Fields(s ...googleapi.Field) *InstancesUpdateDisplayDeviceCall
- func (c *InstancesUpdateDisplayDeviceCall) Header() http.Header
- func (c *InstancesUpdateDisplayDeviceCall) RequestId(requestId string) *InstancesUpdateDisplayDeviceCall
- type InstancesUpdateNetworkInterfaceCall
- func (c *InstancesUpdateNetworkInterfaceCall) Context(ctx context.Context) *InstancesUpdateNetworkInterfaceCall
- func (c *InstancesUpdateNetworkInterfaceCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesUpdateNetworkInterfaceCall) Fields(s ...googleapi.Field) *InstancesUpdateNetworkInterfaceCall
- func (c *InstancesUpdateNetworkInterfaceCall) Header() http.Header
- func (c *InstancesUpdateNetworkInterfaceCall) RequestId(requestId string) *InstancesUpdateNetworkInterfaceCall
- type InstancesUpdateShieldedInstanceConfigCall
- func (c *InstancesUpdateShieldedInstanceConfigCall) Context(ctx context.Context) *InstancesUpdateShieldedInstanceConfigCall
- func (c *InstancesUpdateShieldedInstanceConfigCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesUpdateShieldedInstanceConfigCall) Fields(s ...googleapi.Field) *InstancesUpdateShieldedInstanceConfigCall
- func (c *InstancesUpdateShieldedInstanceConfigCall) Header() http.Header
- func (c *InstancesUpdateShieldedInstanceConfigCall) RequestId(requestId string) *InstancesUpdateShieldedInstanceConfigCall
- type InstancesUpdateShieldedVmConfigCall
- func (c *InstancesUpdateShieldedVmConfigCall) Context(ctx context.Context) *InstancesUpdateShieldedVmConfigCall
- func (c *InstancesUpdateShieldedVmConfigCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InstancesUpdateShieldedVmConfigCall) Fields(s ...googleapi.Field) *InstancesUpdateShieldedVmConfigCall
- func (c *InstancesUpdateShieldedVmConfigCall) Header() http.Header
- func (c *InstancesUpdateShieldedVmConfigCall) RequestId(requestId string) *InstancesUpdateShieldedVmConfigCall
- type Int64RangeMatch
- type Interconnect
- type InterconnectAttachment
- type InterconnectAttachmentAggregatedList
- type InterconnectAttachmentAggregatedListWarning
- type InterconnectAttachmentAggregatedListWarningData
- type InterconnectAttachmentList
- type InterconnectAttachmentListWarning
- type InterconnectAttachmentListWarningData
- type InterconnectAttachmentPartnerMetadata
- type InterconnectAttachmentPrivateInfo
- type InterconnectAttachmentsAggregatedListCall
- func (c *InterconnectAttachmentsAggregatedListCall) Context(ctx context.Context) *InterconnectAttachmentsAggregatedListCall
- func (c *InterconnectAttachmentsAggregatedListCall) Do(opts ...googleapi.CallOption) (*InterconnectAttachmentAggregatedList, error)
- func (c *InterconnectAttachmentsAggregatedListCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsAggregatedListCall
- func (c *InterconnectAttachmentsAggregatedListCall) Filter(filter string) *InterconnectAttachmentsAggregatedListCall
- func (c *InterconnectAttachmentsAggregatedListCall) Header() http.Header
- func (c *InterconnectAttachmentsAggregatedListCall) IfNoneMatch(entityTag string) *InterconnectAttachmentsAggregatedListCall
- func (c *InterconnectAttachmentsAggregatedListCall) MaxResults(maxResults int64) *InterconnectAttachmentsAggregatedListCall
- func (c *InterconnectAttachmentsAggregatedListCall) OrderBy(orderBy string) *InterconnectAttachmentsAggregatedListCall
- func (c *InterconnectAttachmentsAggregatedListCall) PageToken(pageToken string) *InterconnectAttachmentsAggregatedListCall
- func (c *InterconnectAttachmentsAggregatedListCall) Pages(ctx context.Context, f func(*InterconnectAttachmentAggregatedList) error) error
- type InterconnectAttachmentsDeleteCall
- func (c *InterconnectAttachmentsDeleteCall) Context(ctx context.Context) *InterconnectAttachmentsDeleteCall
- func (c *InterconnectAttachmentsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InterconnectAttachmentsDeleteCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsDeleteCall
- func (c *InterconnectAttachmentsDeleteCall) Header() http.Header
- func (c *InterconnectAttachmentsDeleteCall) RequestId(requestId string) *InterconnectAttachmentsDeleteCall
- type InterconnectAttachmentsGetCall
- func (c *InterconnectAttachmentsGetCall) Context(ctx context.Context) *InterconnectAttachmentsGetCall
- func (c *InterconnectAttachmentsGetCall) Do(opts ...googleapi.CallOption) (*InterconnectAttachment, error)
- func (c *InterconnectAttachmentsGetCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsGetCall
- func (c *InterconnectAttachmentsGetCall) Header() http.Header
- func (c *InterconnectAttachmentsGetCall) IfNoneMatch(entityTag string) *InterconnectAttachmentsGetCall
- type InterconnectAttachmentsInsertCall
- func (c *InterconnectAttachmentsInsertCall) Context(ctx context.Context) *InterconnectAttachmentsInsertCall
- func (c *InterconnectAttachmentsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InterconnectAttachmentsInsertCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsInsertCall
- func (c *InterconnectAttachmentsInsertCall) Header() http.Header
- func (c *InterconnectAttachmentsInsertCall) RequestId(requestId string) *InterconnectAttachmentsInsertCall
- type InterconnectAttachmentsListCall
- func (c *InterconnectAttachmentsListCall) Context(ctx context.Context) *InterconnectAttachmentsListCall
- func (c *InterconnectAttachmentsListCall) Do(opts ...googleapi.CallOption) (*InterconnectAttachmentList, error)
- func (c *InterconnectAttachmentsListCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsListCall
- func (c *InterconnectAttachmentsListCall) Filter(filter string) *InterconnectAttachmentsListCall
- func (c *InterconnectAttachmentsListCall) Header() http.Header
- func (c *InterconnectAttachmentsListCall) IfNoneMatch(entityTag string) *InterconnectAttachmentsListCall
- func (c *InterconnectAttachmentsListCall) MaxResults(maxResults int64) *InterconnectAttachmentsListCall
- func (c *InterconnectAttachmentsListCall) OrderBy(orderBy string) *InterconnectAttachmentsListCall
- func (c *InterconnectAttachmentsListCall) PageToken(pageToken string) *InterconnectAttachmentsListCall
- func (c *InterconnectAttachmentsListCall) Pages(ctx context.Context, f func(*InterconnectAttachmentList) error) error
- type InterconnectAttachmentsPatchCall
- func (c *InterconnectAttachmentsPatchCall) Context(ctx context.Context) *InterconnectAttachmentsPatchCall
- func (c *InterconnectAttachmentsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InterconnectAttachmentsPatchCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsPatchCall
- func (c *InterconnectAttachmentsPatchCall) Header() http.Header
- func (c *InterconnectAttachmentsPatchCall) RequestId(requestId string) *InterconnectAttachmentsPatchCall
- type InterconnectAttachmentsScopedList
- type InterconnectAttachmentsScopedListWarning
- type InterconnectAttachmentsScopedListWarningData
- type InterconnectAttachmentsService
- func (r *InterconnectAttachmentsService) AggregatedList(project string) *InterconnectAttachmentsAggregatedListCall
- func (r *InterconnectAttachmentsService) Delete(project string, region string, interconnectAttachment string) *InterconnectAttachmentsDeleteCall
- func (r *InterconnectAttachmentsService) Get(project string, region string, interconnectAttachment string) *InterconnectAttachmentsGetCall
- func (r *InterconnectAttachmentsService) Insert(project string, region string, interconnectattachment *InterconnectAttachment) *InterconnectAttachmentsInsertCall
- func (r *InterconnectAttachmentsService) List(project string, region string) *InterconnectAttachmentsListCall
- func (r *InterconnectAttachmentsService) Patch(project string, region string, interconnectAttachment string, ...) *InterconnectAttachmentsPatchCall
- func (r *InterconnectAttachmentsService) SetLabels(project string, region string, resource string, ...) *InterconnectAttachmentsSetLabelsCall
- func (r *InterconnectAttachmentsService) TestIamPermissions(project string, region string, resource string, ...) *InterconnectAttachmentsTestIamPermissionsCall
- type InterconnectAttachmentsSetLabelsCall
- func (c *InterconnectAttachmentsSetLabelsCall) Context(ctx context.Context) *InterconnectAttachmentsSetLabelsCall
- func (c *InterconnectAttachmentsSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InterconnectAttachmentsSetLabelsCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsSetLabelsCall
- func (c *InterconnectAttachmentsSetLabelsCall) Header() http.Header
- func (c *InterconnectAttachmentsSetLabelsCall) RequestId(requestId string) *InterconnectAttachmentsSetLabelsCall
- type InterconnectAttachmentsTestIamPermissionsCall
- func (c *InterconnectAttachmentsTestIamPermissionsCall) Context(ctx context.Context) *InterconnectAttachmentsTestIamPermissionsCall
- func (c *InterconnectAttachmentsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *InterconnectAttachmentsTestIamPermissionsCall) Fields(s ...googleapi.Field) *InterconnectAttachmentsTestIamPermissionsCall
- func (c *InterconnectAttachmentsTestIamPermissionsCall) Header() http.Header
- type InterconnectCircuitInfo
- type InterconnectDiagnostics
- type InterconnectDiagnosticsARPEntry
- type InterconnectDiagnosticsLinkLACPStatus
- type InterconnectDiagnosticsLinkOpticalPower
- type InterconnectDiagnosticsLinkStatus
- type InterconnectList
- type InterconnectListWarning
- type InterconnectListWarningData
- type InterconnectLocation
- type InterconnectLocationList
- type InterconnectLocationListWarning
- type InterconnectLocationListWarningData
- type InterconnectLocationRegionInfo
- type InterconnectLocationsGetCall
- func (c *InterconnectLocationsGetCall) Context(ctx context.Context) *InterconnectLocationsGetCall
- func (c *InterconnectLocationsGetCall) Do(opts ...googleapi.CallOption) (*InterconnectLocation, error)
- func (c *InterconnectLocationsGetCall) Fields(s ...googleapi.Field) *InterconnectLocationsGetCall
- func (c *InterconnectLocationsGetCall) Header() http.Header
- func (c *InterconnectLocationsGetCall) IfNoneMatch(entityTag string) *InterconnectLocationsGetCall
- type InterconnectLocationsListCall
- func (c *InterconnectLocationsListCall) Context(ctx context.Context) *InterconnectLocationsListCall
- func (c *InterconnectLocationsListCall) Do(opts ...googleapi.CallOption) (*InterconnectLocationList, error)
- func (c *InterconnectLocationsListCall) Fields(s ...googleapi.Field) *InterconnectLocationsListCall
- func (c *InterconnectLocationsListCall) Filter(filter string) *InterconnectLocationsListCall
- func (c *InterconnectLocationsListCall) Header() http.Header
- func (c *InterconnectLocationsListCall) IfNoneMatch(entityTag string) *InterconnectLocationsListCall
- func (c *InterconnectLocationsListCall) MaxResults(maxResults int64) *InterconnectLocationsListCall
- func (c *InterconnectLocationsListCall) OrderBy(orderBy string) *InterconnectLocationsListCall
- func (c *InterconnectLocationsListCall) PageToken(pageToken string) *InterconnectLocationsListCall
- func (c *InterconnectLocationsListCall) Pages(ctx context.Context, f func(*InterconnectLocationList) error) error
- type InterconnectLocationsService
- type InterconnectOutageNotification
- type InterconnectsDeleteCall
- func (c *InterconnectsDeleteCall) Context(ctx context.Context) *InterconnectsDeleteCall
- func (c *InterconnectsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InterconnectsDeleteCall) Fields(s ...googleapi.Field) *InterconnectsDeleteCall
- func (c *InterconnectsDeleteCall) Header() http.Header
- func (c *InterconnectsDeleteCall) RequestId(requestId string) *InterconnectsDeleteCall
- type InterconnectsGetCall
- func (c *InterconnectsGetCall) Context(ctx context.Context) *InterconnectsGetCall
- func (c *InterconnectsGetCall) Do(opts ...googleapi.CallOption) (*Interconnect, error)
- func (c *InterconnectsGetCall) Fields(s ...googleapi.Field) *InterconnectsGetCall
- func (c *InterconnectsGetCall) Header() http.Header
- func (c *InterconnectsGetCall) IfNoneMatch(entityTag string) *InterconnectsGetCall
- type InterconnectsGetDiagnosticsCall
- func (c *InterconnectsGetDiagnosticsCall) Context(ctx context.Context) *InterconnectsGetDiagnosticsCall
- func (c *InterconnectsGetDiagnosticsCall) Do(opts ...googleapi.CallOption) (*InterconnectsGetDiagnosticsResponse, error)
- func (c *InterconnectsGetDiagnosticsCall) Fields(s ...googleapi.Field) *InterconnectsGetDiagnosticsCall
- func (c *InterconnectsGetDiagnosticsCall) Header() http.Header
- func (c *InterconnectsGetDiagnosticsCall) IfNoneMatch(entityTag string) *InterconnectsGetDiagnosticsCall
- type InterconnectsGetDiagnosticsResponse
- type InterconnectsInsertCall
- func (c *InterconnectsInsertCall) Context(ctx context.Context) *InterconnectsInsertCall
- func (c *InterconnectsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InterconnectsInsertCall) Fields(s ...googleapi.Field) *InterconnectsInsertCall
- func (c *InterconnectsInsertCall) Header() http.Header
- func (c *InterconnectsInsertCall) RequestId(requestId string) *InterconnectsInsertCall
- type InterconnectsListCall
- func (c *InterconnectsListCall) Context(ctx context.Context) *InterconnectsListCall
- func (c *InterconnectsListCall) Do(opts ...googleapi.CallOption) (*InterconnectList, error)
- func (c *InterconnectsListCall) Fields(s ...googleapi.Field) *InterconnectsListCall
- func (c *InterconnectsListCall) Filter(filter string) *InterconnectsListCall
- func (c *InterconnectsListCall) Header() http.Header
- func (c *InterconnectsListCall) IfNoneMatch(entityTag string) *InterconnectsListCall
- func (c *InterconnectsListCall) MaxResults(maxResults int64) *InterconnectsListCall
- func (c *InterconnectsListCall) OrderBy(orderBy string) *InterconnectsListCall
- func (c *InterconnectsListCall) PageToken(pageToken string) *InterconnectsListCall
- func (c *InterconnectsListCall) Pages(ctx context.Context, f func(*InterconnectList) error) error
- type InterconnectsPatchCall
- func (c *InterconnectsPatchCall) Context(ctx context.Context) *InterconnectsPatchCall
- func (c *InterconnectsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InterconnectsPatchCall) Fields(s ...googleapi.Field) *InterconnectsPatchCall
- func (c *InterconnectsPatchCall) Header() http.Header
- func (c *InterconnectsPatchCall) RequestId(requestId string) *InterconnectsPatchCall
- type InterconnectsService
- func (r *InterconnectsService) Delete(project string, interconnect string) *InterconnectsDeleteCall
- func (r *InterconnectsService) Get(project string, interconnect string) *InterconnectsGetCall
- func (r *InterconnectsService) GetDiagnostics(project string, interconnect string) *InterconnectsGetDiagnosticsCall
- func (r *InterconnectsService) Insert(project string, interconnect *Interconnect) *InterconnectsInsertCall
- func (r *InterconnectsService) List(project string) *InterconnectsListCall
- func (r *InterconnectsService) Patch(project string, interconnect string, interconnect2 *Interconnect) *InterconnectsPatchCall
- func (r *InterconnectsService) SetLabels(project string, resource string, ...) *InterconnectsSetLabelsCall
- func (r *InterconnectsService) TestIamPermissions(project string, resource string, ...) *InterconnectsTestIamPermissionsCall
- type InterconnectsSetLabelsCall
- func (c *InterconnectsSetLabelsCall) Context(ctx context.Context) *InterconnectsSetLabelsCall
- func (c *InterconnectsSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *InterconnectsSetLabelsCall) Fields(s ...googleapi.Field) *InterconnectsSetLabelsCall
- func (c *InterconnectsSetLabelsCall) Header() http.Header
- type InterconnectsTestIamPermissionsCall
- func (c *InterconnectsTestIamPermissionsCall) Context(ctx context.Context) *InterconnectsTestIamPermissionsCall
- func (c *InterconnectsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *InterconnectsTestIamPermissionsCall) Fields(s ...googleapi.Field) *InterconnectsTestIamPermissionsCall
- func (c *InterconnectsTestIamPermissionsCall) Header() http.Header
- type License
- type LicenseCode
- type LicenseCodeLicenseAlias
- type LicenseCodesGetCall
- func (c *LicenseCodesGetCall) Context(ctx context.Context) *LicenseCodesGetCall
- func (c *LicenseCodesGetCall) Do(opts ...googleapi.CallOption) (*LicenseCode, error)
- func (c *LicenseCodesGetCall) Fields(s ...googleapi.Field) *LicenseCodesGetCall
- func (c *LicenseCodesGetCall) Header() http.Header
- func (c *LicenseCodesGetCall) IfNoneMatch(entityTag string) *LicenseCodesGetCall
- type LicenseCodesService
- type LicenseResourceRequirements
- type LicensesDeleteCall
- func (c *LicensesDeleteCall) Context(ctx context.Context) *LicensesDeleteCall
- func (c *LicensesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *LicensesDeleteCall) Fields(s ...googleapi.Field) *LicensesDeleteCall
- func (c *LicensesDeleteCall) Header() http.Header
- func (c *LicensesDeleteCall) RequestId(requestId string) *LicensesDeleteCall
- 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 LicensesGetIamPolicyCall
- func (c *LicensesGetIamPolicyCall) Context(ctx context.Context) *LicensesGetIamPolicyCall
- func (c *LicensesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *LicensesGetIamPolicyCall) Fields(s ...googleapi.Field) *LicensesGetIamPolicyCall
- func (c *LicensesGetIamPolicyCall) Header() http.Header
- func (c *LicensesGetIamPolicyCall) IfNoneMatch(entityTag string) *LicensesGetIamPolicyCall
- type LicensesInsertCall
- func (c *LicensesInsertCall) Context(ctx context.Context) *LicensesInsertCall
- func (c *LicensesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *LicensesInsertCall) Fields(s ...googleapi.Field) *LicensesInsertCall
- func (c *LicensesInsertCall) Header() http.Header
- func (c *LicensesInsertCall) RequestId(requestId string) *LicensesInsertCall
- type LicensesListCall
- func (c *LicensesListCall) Context(ctx context.Context) *LicensesListCall
- func (c *LicensesListCall) Do(opts ...googleapi.CallOption) (*LicensesListResponse, error)
- func (c *LicensesListCall) Fields(s ...googleapi.Field) *LicensesListCall
- func (c *LicensesListCall) Filter(filter string) *LicensesListCall
- func (c *LicensesListCall) Header() http.Header
- func (c *LicensesListCall) IfNoneMatch(entityTag string) *LicensesListCall
- func (c *LicensesListCall) MaxResults(maxResults int64) *LicensesListCall
- func (c *LicensesListCall) OrderBy(orderBy string) *LicensesListCall
- func (c *LicensesListCall) PageToken(pageToken string) *LicensesListCall
- func (c *LicensesListCall) Pages(ctx context.Context, f func(*LicensesListResponse) error) error
- type LicensesListResponse
- type LicensesListResponseWarning
- type LicensesListResponseWarningData
- type LicensesService
- func (r *LicensesService) Delete(project string, license string) *LicensesDeleteCall
- func (r *LicensesService) Get(project string, license string) *LicensesGetCall
- func (r *LicensesService) GetIamPolicy(project string, resource string) *LicensesGetIamPolicyCall
- func (r *LicensesService) Insert(project string, license *License) *LicensesInsertCall
- func (r *LicensesService) List(project string) *LicensesListCall
- func (r *LicensesService) SetIamPolicy(project string, resource string, ...) *LicensesSetIamPolicyCall
- type LicensesSetIamPolicyCall
- func (c *LicensesSetIamPolicyCall) Context(ctx context.Context) *LicensesSetIamPolicyCall
- func (c *LicensesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *LicensesSetIamPolicyCall) Fields(s ...googleapi.Field) *LicensesSetIamPolicyCall
- func (c *LicensesSetIamPolicyCall) Header() http.Header
- type LogConfig
- type LogConfigCloudAuditOptions
- type LogConfigCounterOptions
- type LogConfigDataAccessOptions
- type MachineType
- type MachineTypeAggregatedList
- type MachineTypeAggregatedListWarning
- type MachineTypeAggregatedListWarningData
- type MachineTypeList
- type MachineTypeListWarning
- type MachineTypeListWarningData
- 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
- type MachineTypesScopedListWarning
- type MachineTypesScopedListWarningData
- type MachineTypesService
- type ManagedInstance
- type ManagedInstanceLastAttempt
- type ManagedInstanceLastAttemptErrors
- type ManagedInstanceLastAttemptErrorsErrors
- type ManagedInstanceVersion
- type Metadata
- type MetadataFilter
- type MetadataFilterLabelMatch
- type MetadataItems
- type NamedPort
- type Network
- type NetworkEndpoint
- type NetworkEndpointGroup
- type NetworkEndpointGroupAggregatedList
- type NetworkEndpointGroupAggregatedListWarning
- type NetworkEndpointGroupAggregatedListWarningData
- type NetworkEndpointGroupLbNetworkEndpointGroup
- type NetworkEndpointGroupList
- type NetworkEndpointGroupListWarning
- type NetworkEndpointGroupListWarningData
- type NetworkEndpointGroupsAggregatedListCall
- func (c *NetworkEndpointGroupsAggregatedListCall) Context(ctx context.Context) *NetworkEndpointGroupsAggregatedListCall
- func (c *NetworkEndpointGroupsAggregatedListCall) Do(opts ...googleapi.CallOption) (*NetworkEndpointGroupAggregatedList, error)
- func (c *NetworkEndpointGroupsAggregatedListCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsAggregatedListCall
- func (c *NetworkEndpointGroupsAggregatedListCall) Filter(filter string) *NetworkEndpointGroupsAggregatedListCall
- func (c *NetworkEndpointGroupsAggregatedListCall) Header() http.Header
- func (c *NetworkEndpointGroupsAggregatedListCall) IfNoneMatch(entityTag string) *NetworkEndpointGroupsAggregatedListCall
- func (c *NetworkEndpointGroupsAggregatedListCall) MaxResults(maxResults int64) *NetworkEndpointGroupsAggregatedListCall
- func (c *NetworkEndpointGroupsAggregatedListCall) OrderBy(orderBy string) *NetworkEndpointGroupsAggregatedListCall
- func (c *NetworkEndpointGroupsAggregatedListCall) PageToken(pageToken string) *NetworkEndpointGroupsAggregatedListCall
- func (c *NetworkEndpointGroupsAggregatedListCall) Pages(ctx context.Context, f func(*NetworkEndpointGroupAggregatedList) error) error
- type NetworkEndpointGroupsAttachEndpointsRequest
- type NetworkEndpointGroupsAttachNetworkEndpointsCall
- func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Context(ctx context.Context) *NetworkEndpointGroupsAttachNetworkEndpointsCall
- func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsAttachNetworkEndpointsCall
- func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) Header() http.Header
- func (c *NetworkEndpointGroupsAttachNetworkEndpointsCall) RequestId(requestId string) *NetworkEndpointGroupsAttachNetworkEndpointsCall
- type NetworkEndpointGroupsDeleteCall
- func (c *NetworkEndpointGroupsDeleteCall) Context(ctx context.Context) *NetworkEndpointGroupsDeleteCall
- func (c *NetworkEndpointGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NetworkEndpointGroupsDeleteCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsDeleteCall
- func (c *NetworkEndpointGroupsDeleteCall) Header() http.Header
- func (c *NetworkEndpointGroupsDeleteCall) RequestId(requestId string) *NetworkEndpointGroupsDeleteCall
- type NetworkEndpointGroupsDetachEndpointsRequest
- type NetworkEndpointGroupsDetachNetworkEndpointsCall
- func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Context(ctx context.Context) *NetworkEndpointGroupsDetachNetworkEndpointsCall
- func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsDetachNetworkEndpointsCall
- func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) Header() http.Header
- func (c *NetworkEndpointGroupsDetachNetworkEndpointsCall) RequestId(requestId string) *NetworkEndpointGroupsDetachNetworkEndpointsCall
- type NetworkEndpointGroupsGetCall
- func (c *NetworkEndpointGroupsGetCall) Context(ctx context.Context) *NetworkEndpointGroupsGetCall
- func (c *NetworkEndpointGroupsGetCall) Do(opts ...googleapi.CallOption) (*NetworkEndpointGroup, error)
- func (c *NetworkEndpointGroupsGetCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsGetCall
- func (c *NetworkEndpointGroupsGetCall) Header() http.Header
- func (c *NetworkEndpointGroupsGetCall) IfNoneMatch(entityTag string) *NetworkEndpointGroupsGetCall
- type NetworkEndpointGroupsInsertCall
- func (c *NetworkEndpointGroupsInsertCall) Context(ctx context.Context) *NetworkEndpointGroupsInsertCall
- func (c *NetworkEndpointGroupsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NetworkEndpointGroupsInsertCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsInsertCall
- func (c *NetworkEndpointGroupsInsertCall) Header() http.Header
- func (c *NetworkEndpointGroupsInsertCall) RequestId(requestId string) *NetworkEndpointGroupsInsertCall
- type NetworkEndpointGroupsListCall
- func (c *NetworkEndpointGroupsListCall) Context(ctx context.Context) *NetworkEndpointGroupsListCall
- func (c *NetworkEndpointGroupsListCall) Do(opts ...googleapi.CallOption) (*NetworkEndpointGroupList, error)
- func (c *NetworkEndpointGroupsListCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsListCall
- func (c *NetworkEndpointGroupsListCall) Filter(filter string) *NetworkEndpointGroupsListCall
- func (c *NetworkEndpointGroupsListCall) Header() http.Header
- func (c *NetworkEndpointGroupsListCall) IfNoneMatch(entityTag string) *NetworkEndpointGroupsListCall
- func (c *NetworkEndpointGroupsListCall) MaxResults(maxResults int64) *NetworkEndpointGroupsListCall
- func (c *NetworkEndpointGroupsListCall) OrderBy(orderBy string) *NetworkEndpointGroupsListCall
- func (c *NetworkEndpointGroupsListCall) PageToken(pageToken string) *NetworkEndpointGroupsListCall
- func (c *NetworkEndpointGroupsListCall) Pages(ctx context.Context, f func(*NetworkEndpointGroupList) error) error
- type NetworkEndpointGroupsListEndpointsRequest
- type NetworkEndpointGroupsListNetworkEndpoints
- type NetworkEndpointGroupsListNetworkEndpointsCall
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Context(ctx context.Context) *NetworkEndpointGroupsListNetworkEndpointsCall
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Do(opts ...googleapi.CallOption) (*NetworkEndpointGroupsListNetworkEndpoints, error)
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsListNetworkEndpointsCall
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Filter(filter string) *NetworkEndpointGroupsListNetworkEndpointsCall
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Header() http.Header
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) MaxResults(maxResults int64) *NetworkEndpointGroupsListNetworkEndpointsCall
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) OrderBy(orderBy string) *NetworkEndpointGroupsListNetworkEndpointsCall
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) PageToken(pageToken string) *NetworkEndpointGroupsListNetworkEndpointsCall
- func (c *NetworkEndpointGroupsListNetworkEndpointsCall) Pages(ctx context.Context, f func(*NetworkEndpointGroupsListNetworkEndpoints) error) error
- type NetworkEndpointGroupsListNetworkEndpointsWarning
- type NetworkEndpointGroupsListNetworkEndpointsWarningData
- type NetworkEndpointGroupsScopedList
- type NetworkEndpointGroupsScopedListWarning
- type NetworkEndpointGroupsScopedListWarningData
- type NetworkEndpointGroupsService
- func (r *NetworkEndpointGroupsService) AggregatedList(project string) *NetworkEndpointGroupsAggregatedListCall
- func (r *NetworkEndpointGroupsService) AttachNetworkEndpoints(project string, zone string, networkEndpointGroup string, ...) *NetworkEndpointGroupsAttachNetworkEndpointsCall
- func (r *NetworkEndpointGroupsService) Delete(project string, zone string, networkEndpointGroup string) *NetworkEndpointGroupsDeleteCall
- func (r *NetworkEndpointGroupsService) DetachNetworkEndpoints(project string, zone string, networkEndpointGroup string, ...) *NetworkEndpointGroupsDetachNetworkEndpointsCall
- func (r *NetworkEndpointGroupsService) Get(project string, zone string, networkEndpointGroup string) *NetworkEndpointGroupsGetCall
- func (r *NetworkEndpointGroupsService) Insert(project string, zone string, networkendpointgroup *NetworkEndpointGroup) *NetworkEndpointGroupsInsertCall
- func (r *NetworkEndpointGroupsService) List(project string, zone string) *NetworkEndpointGroupsListCall
- func (r *NetworkEndpointGroupsService) ListNetworkEndpoints(project string, zone string, networkEndpointGroup string, ...) *NetworkEndpointGroupsListNetworkEndpointsCall
- func (r *NetworkEndpointGroupsService) TestIamPermissions(project string, zone string, resource string, ...) *NetworkEndpointGroupsTestIamPermissionsCall
- type NetworkEndpointGroupsTestIamPermissionsCall
- func (c *NetworkEndpointGroupsTestIamPermissionsCall) Context(ctx context.Context) *NetworkEndpointGroupsTestIamPermissionsCall
- func (c *NetworkEndpointGroupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *NetworkEndpointGroupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *NetworkEndpointGroupsTestIamPermissionsCall
- func (c *NetworkEndpointGroupsTestIamPermissionsCall) Header() http.Header
- type NetworkEndpointWithHealthStatus
- type NetworkInterface
- type NetworkList
- type NetworkListWarning
- type NetworkListWarningData
- type NetworkPeering
- type NetworkRoutingConfig
- 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
- func (c *NetworksAddPeeringCall) RequestId(requestId string) *NetworksAddPeeringCall
- type NetworksAddPeeringRequest
- 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
- func (c *NetworksDeleteCall) RequestId(requestId string) *NetworksDeleteCall
- 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
- func (c *NetworksInsertCall) RequestId(requestId string) *NetworksInsertCall
- 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 NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) Context(ctx context.Context) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) Direction(direction string) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) Do(opts ...googleapi.CallOption) (*ExchangedPeeringRoutesList, error)
- func (c *NetworksListPeeringRoutesCall) Fields(s ...googleapi.Field) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) Filter(filter string) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) Header() http.Header
- func (c *NetworksListPeeringRoutesCall) IfNoneMatch(entityTag string) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) MaxResults(maxResults int64) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) OrderBy(orderBy string) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) PageToken(pageToken string) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) Pages(ctx context.Context, f func(*ExchangedPeeringRoutesList) error) error
- func (c *NetworksListPeeringRoutesCall) PeeringName(peeringName string) *NetworksListPeeringRoutesCall
- func (c *NetworksListPeeringRoutesCall) Region(region string) *NetworksListPeeringRoutesCall
- type NetworksPatchCall
- func (c *NetworksPatchCall) Context(ctx context.Context) *NetworksPatchCall
- func (c *NetworksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NetworksPatchCall) Fields(s ...googleapi.Field) *NetworksPatchCall
- func (c *NetworksPatchCall) Header() http.Header
- func (c *NetworksPatchCall) RequestId(requestId string) *NetworksPatchCall
- 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
- func (c *NetworksRemovePeeringCall) RequestId(requestId string) *NetworksRemovePeeringCall
- type NetworksRemovePeeringRequest
- type NetworksService
- func (r *NetworksService) AddPeering(project string, network string, ...) *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) ListPeeringRoutes(project string, network string) *NetworksListPeeringRoutesCall
- func (r *NetworksService) Patch(project string, network string, network2 *Network) *NetworksPatchCall
- func (r *NetworksService) RemovePeering(project string, network string, ...) *NetworksRemovePeeringCall
- func (r *NetworksService) SwitchToCustomMode(project string, network string) *NetworksSwitchToCustomModeCall
- func (r *NetworksService) TestIamPermissions(project string, resource string, ...) *NetworksTestIamPermissionsCall
- func (r *NetworksService) UpdatePeering(project string, network string, ...) *NetworksUpdatePeeringCall
- 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
- func (c *NetworksSwitchToCustomModeCall) RequestId(requestId string) *NetworksSwitchToCustomModeCall
- type NetworksTestIamPermissionsCall
- func (c *NetworksTestIamPermissionsCall) Context(ctx context.Context) *NetworksTestIamPermissionsCall
- func (c *NetworksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *NetworksTestIamPermissionsCall) Fields(s ...googleapi.Field) *NetworksTestIamPermissionsCall
- func (c *NetworksTestIamPermissionsCall) Header() http.Header
- type NetworksUpdatePeeringCall
- func (c *NetworksUpdatePeeringCall) Context(ctx context.Context) *NetworksUpdatePeeringCall
- func (c *NetworksUpdatePeeringCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NetworksUpdatePeeringCall) Fields(s ...googleapi.Field) *NetworksUpdatePeeringCall
- func (c *NetworksUpdatePeeringCall) Header() http.Header
- func (c *NetworksUpdatePeeringCall) RequestId(requestId string) *NetworksUpdatePeeringCall
- type NetworksUpdatePeeringRequest
- type NodeGroup
- type NodeGroupAggregatedList
- type NodeGroupAggregatedListWarning
- type NodeGroupAggregatedListWarningData
- type NodeGroupList
- type NodeGroupListWarning
- type NodeGroupListWarningData
- type NodeGroupNode
- type NodeGroupsAddNodesCall
- func (c *NodeGroupsAddNodesCall) Context(ctx context.Context) *NodeGroupsAddNodesCall
- func (c *NodeGroupsAddNodesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NodeGroupsAddNodesCall) Fields(s ...googleapi.Field) *NodeGroupsAddNodesCall
- func (c *NodeGroupsAddNodesCall) Header() http.Header
- func (c *NodeGroupsAddNodesCall) RequestId(requestId string) *NodeGroupsAddNodesCall
- type NodeGroupsAddNodesRequest
- type NodeGroupsAggregatedListCall
- func (c *NodeGroupsAggregatedListCall) Context(ctx context.Context) *NodeGroupsAggregatedListCall
- func (c *NodeGroupsAggregatedListCall) Do(opts ...googleapi.CallOption) (*NodeGroupAggregatedList, error)
- func (c *NodeGroupsAggregatedListCall) Fields(s ...googleapi.Field) *NodeGroupsAggregatedListCall
- func (c *NodeGroupsAggregatedListCall) Filter(filter string) *NodeGroupsAggregatedListCall
- func (c *NodeGroupsAggregatedListCall) Header() http.Header
- func (c *NodeGroupsAggregatedListCall) IfNoneMatch(entityTag string) *NodeGroupsAggregatedListCall
- func (c *NodeGroupsAggregatedListCall) MaxResults(maxResults int64) *NodeGroupsAggregatedListCall
- func (c *NodeGroupsAggregatedListCall) OrderBy(orderBy string) *NodeGroupsAggregatedListCall
- func (c *NodeGroupsAggregatedListCall) PageToken(pageToken string) *NodeGroupsAggregatedListCall
- func (c *NodeGroupsAggregatedListCall) Pages(ctx context.Context, f func(*NodeGroupAggregatedList) error) error
- type NodeGroupsDeleteCall
- func (c *NodeGroupsDeleteCall) Context(ctx context.Context) *NodeGroupsDeleteCall
- func (c *NodeGroupsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NodeGroupsDeleteCall) Fields(s ...googleapi.Field) *NodeGroupsDeleteCall
- func (c *NodeGroupsDeleteCall) Header() http.Header
- func (c *NodeGroupsDeleteCall) RequestId(requestId string) *NodeGroupsDeleteCall
- type NodeGroupsDeleteNodesCall
- func (c *NodeGroupsDeleteNodesCall) Context(ctx context.Context) *NodeGroupsDeleteNodesCall
- func (c *NodeGroupsDeleteNodesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NodeGroupsDeleteNodesCall) Fields(s ...googleapi.Field) *NodeGroupsDeleteNodesCall
- func (c *NodeGroupsDeleteNodesCall) Header() http.Header
- func (c *NodeGroupsDeleteNodesCall) RequestId(requestId string) *NodeGroupsDeleteNodesCall
- type NodeGroupsDeleteNodesRequest
- type NodeGroupsGetCall
- func (c *NodeGroupsGetCall) Context(ctx context.Context) *NodeGroupsGetCall
- func (c *NodeGroupsGetCall) Do(opts ...googleapi.CallOption) (*NodeGroup, error)
- func (c *NodeGroupsGetCall) Fields(s ...googleapi.Field) *NodeGroupsGetCall
- func (c *NodeGroupsGetCall) Header() http.Header
- func (c *NodeGroupsGetCall) IfNoneMatch(entityTag string) *NodeGroupsGetCall
- type NodeGroupsGetIamPolicyCall
- func (c *NodeGroupsGetIamPolicyCall) Context(ctx context.Context) *NodeGroupsGetIamPolicyCall
- func (c *NodeGroupsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *NodeGroupsGetIamPolicyCall) Fields(s ...googleapi.Field) *NodeGroupsGetIamPolicyCall
- func (c *NodeGroupsGetIamPolicyCall) Header() http.Header
- func (c *NodeGroupsGetIamPolicyCall) IfNoneMatch(entityTag string) *NodeGroupsGetIamPolicyCall
- type NodeGroupsInsertCall
- func (c *NodeGroupsInsertCall) Context(ctx context.Context) *NodeGroupsInsertCall
- func (c *NodeGroupsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NodeGroupsInsertCall) Fields(s ...googleapi.Field) *NodeGroupsInsertCall
- func (c *NodeGroupsInsertCall) Header() http.Header
- func (c *NodeGroupsInsertCall) RequestId(requestId string) *NodeGroupsInsertCall
- type NodeGroupsListCall
- func (c *NodeGroupsListCall) Context(ctx context.Context) *NodeGroupsListCall
- func (c *NodeGroupsListCall) Do(opts ...googleapi.CallOption) (*NodeGroupList, error)
- func (c *NodeGroupsListCall) Fields(s ...googleapi.Field) *NodeGroupsListCall
- func (c *NodeGroupsListCall) Filter(filter string) *NodeGroupsListCall
- func (c *NodeGroupsListCall) Header() http.Header
- func (c *NodeGroupsListCall) IfNoneMatch(entityTag string) *NodeGroupsListCall
- func (c *NodeGroupsListCall) MaxResults(maxResults int64) *NodeGroupsListCall
- func (c *NodeGroupsListCall) OrderBy(orderBy string) *NodeGroupsListCall
- func (c *NodeGroupsListCall) PageToken(pageToken string) *NodeGroupsListCall
- func (c *NodeGroupsListCall) Pages(ctx context.Context, f func(*NodeGroupList) error) error
- type NodeGroupsListNodes
- type NodeGroupsListNodesCall
- func (c *NodeGroupsListNodesCall) Context(ctx context.Context) *NodeGroupsListNodesCall
- func (c *NodeGroupsListNodesCall) Do(opts ...googleapi.CallOption) (*NodeGroupsListNodes, error)
- func (c *NodeGroupsListNodesCall) Fields(s ...googleapi.Field) *NodeGroupsListNodesCall
- func (c *NodeGroupsListNodesCall) Filter(filter string) *NodeGroupsListNodesCall
- func (c *NodeGroupsListNodesCall) Header() http.Header
- func (c *NodeGroupsListNodesCall) MaxResults(maxResults int64) *NodeGroupsListNodesCall
- func (c *NodeGroupsListNodesCall) OrderBy(orderBy string) *NodeGroupsListNodesCall
- func (c *NodeGroupsListNodesCall) PageToken(pageToken string) *NodeGroupsListNodesCall
- func (c *NodeGroupsListNodesCall) Pages(ctx context.Context, f func(*NodeGroupsListNodes) error) error
- type NodeGroupsListNodesWarning
- type NodeGroupsListNodesWarningData
- type NodeGroupsScopedList
- type NodeGroupsScopedListWarning
- type NodeGroupsScopedListWarningData
- type NodeGroupsService
- func (r *NodeGroupsService) AddNodes(project string, zone string, nodeGroup string, ...) *NodeGroupsAddNodesCall
- func (r *NodeGroupsService) AggregatedList(project string) *NodeGroupsAggregatedListCall
- func (r *NodeGroupsService) Delete(project string, zone string, nodeGroup string) *NodeGroupsDeleteCall
- func (r *NodeGroupsService) DeleteNodes(project string, zone string, nodeGroup string, ...) *NodeGroupsDeleteNodesCall
- func (r *NodeGroupsService) Get(project string, zone string, nodeGroup string) *NodeGroupsGetCall
- func (r *NodeGroupsService) GetIamPolicy(project string, zone string, resource string) *NodeGroupsGetIamPolicyCall
- func (r *NodeGroupsService) Insert(project string, zone string, initialNodeCount int64, nodegroup *NodeGroup) *NodeGroupsInsertCall
- func (r *NodeGroupsService) List(project string, zone string) *NodeGroupsListCall
- func (r *NodeGroupsService) ListNodes(project string, zone string, nodeGroup string) *NodeGroupsListNodesCall
- func (r *NodeGroupsService) SetIamPolicy(project string, zone string, resource string, ...) *NodeGroupsSetIamPolicyCall
- func (r *NodeGroupsService) SetNodeTemplate(project string, zone string, nodeGroup string, ...) *NodeGroupsSetNodeTemplateCall
- func (r *NodeGroupsService) TestIamPermissions(project string, zone string, resource string, ...) *NodeGroupsTestIamPermissionsCall
- type NodeGroupsSetIamPolicyCall
- func (c *NodeGroupsSetIamPolicyCall) Context(ctx context.Context) *NodeGroupsSetIamPolicyCall
- func (c *NodeGroupsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *NodeGroupsSetIamPolicyCall) Fields(s ...googleapi.Field) *NodeGroupsSetIamPolicyCall
- func (c *NodeGroupsSetIamPolicyCall) Header() http.Header
- type NodeGroupsSetNodeTemplateCall
- func (c *NodeGroupsSetNodeTemplateCall) Context(ctx context.Context) *NodeGroupsSetNodeTemplateCall
- func (c *NodeGroupsSetNodeTemplateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NodeGroupsSetNodeTemplateCall) Fields(s ...googleapi.Field) *NodeGroupsSetNodeTemplateCall
- func (c *NodeGroupsSetNodeTemplateCall) Header() http.Header
- func (c *NodeGroupsSetNodeTemplateCall) RequestId(requestId string) *NodeGroupsSetNodeTemplateCall
- type NodeGroupsSetNodeTemplateRequest
- type NodeGroupsTestIamPermissionsCall
- func (c *NodeGroupsTestIamPermissionsCall) Context(ctx context.Context) *NodeGroupsTestIamPermissionsCall
- func (c *NodeGroupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *NodeGroupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *NodeGroupsTestIamPermissionsCall
- func (c *NodeGroupsTestIamPermissionsCall) Header() http.Header
- type NodeTemplate
- type NodeTemplateAggregatedList
- type NodeTemplateAggregatedListWarning
- type NodeTemplateAggregatedListWarningData
- type NodeTemplateList
- type NodeTemplateListWarning
- type NodeTemplateListWarningData
- type NodeTemplateNodeTypeFlexibility
- type NodeTemplatesAggregatedListCall
- func (c *NodeTemplatesAggregatedListCall) Context(ctx context.Context) *NodeTemplatesAggregatedListCall
- func (c *NodeTemplatesAggregatedListCall) Do(opts ...googleapi.CallOption) (*NodeTemplateAggregatedList, error)
- func (c *NodeTemplatesAggregatedListCall) Fields(s ...googleapi.Field) *NodeTemplatesAggregatedListCall
- func (c *NodeTemplatesAggregatedListCall) Filter(filter string) *NodeTemplatesAggregatedListCall
- func (c *NodeTemplatesAggregatedListCall) Header() http.Header
- func (c *NodeTemplatesAggregatedListCall) IfNoneMatch(entityTag string) *NodeTemplatesAggregatedListCall
- func (c *NodeTemplatesAggregatedListCall) MaxResults(maxResults int64) *NodeTemplatesAggregatedListCall
- func (c *NodeTemplatesAggregatedListCall) OrderBy(orderBy string) *NodeTemplatesAggregatedListCall
- func (c *NodeTemplatesAggregatedListCall) PageToken(pageToken string) *NodeTemplatesAggregatedListCall
- func (c *NodeTemplatesAggregatedListCall) Pages(ctx context.Context, f func(*NodeTemplateAggregatedList) error) error
- type NodeTemplatesDeleteCall
- func (c *NodeTemplatesDeleteCall) Context(ctx context.Context) *NodeTemplatesDeleteCall
- func (c *NodeTemplatesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NodeTemplatesDeleteCall) Fields(s ...googleapi.Field) *NodeTemplatesDeleteCall
- func (c *NodeTemplatesDeleteCall) Header() http.Header
- func (c *NodeTemplatesDeleteCall) RequestId(requestId string) *NodeTemplatesDeleteCall
- type NodeTemplatesGetCall
- func (c *NodeTemplatesGetCall) Context(ctx context.Context) *NodeTemplatesGetCall
- func (c *NodeTemplatesGetCall) Do(opts ...googleapi.CallOption) (*NodeTemplate, error)
- func (c *NodeTemplatesGetCall) Fields(s ...googleapi.Field) *NodeTemplatesGetCall
- func (c *NodeTemplatesGetCall) Header() http.Header
- func (c *NodeTemplatesGetCall) IfNoneMatch(entityTag string) *NodeTemplatesGetCall
- type NodeTemplatesGetIamPolicyCall
- func (c *NodeTemplatesGetIamPolicyCall) Context(ctx context.Context) *NodeTemplatesGetIamPolicyCall
- func (c *NodeTemplatesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *NodeTemplatesGetIamPolicyCall) Fields(s ...googleapi.Field) *NodeTemplatesGetIamPolicyCall
- func (c *NodeTemplatesGetIamPolicyCall) Header() http.Header
- func (c *NodeTemplatesGetIamPolicyCall) IfNoneMatch(entityTag string) *NodeTemplatesGetIamPolicyCall
- type NodeTemplatesInsertCall
- func (c *NodeTemplatesInsertCall) Context(ctx context.Context) *NodeTemplatesInsertCall
- func (c *NodeTemplatesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *NodeTemplatesInsertCall) Fields(s ...googleapi.Field) *NodeTemplatesInsertCall
- func (c *NodeTemplatesInsertCall) Header() http.Header
- func (c *NodeTemplatesInsertCall) RequestId(requestId string) *NodeTemplatesInsertCall
- type NodeTemplatesListCall
- func (c *NodeTemplatesListCall) Context(ctx context.Context) *NodeTemplatesListCall
- func (c *NodeTemplatesListCall) Do(opts ...googleapi.CallOption) (*NodeTemplateList, error)
- func (c *NodeTemplatesListCall) Fields(s ...googleapi.Field) *NodeTemplatesListCall
- func (c *NodeTemplatesListCall) Filter(filter string) *NodeTemplatesListCall
- func (c *NodeTemplatesListCall) Header() http.Header
- func (c *NodeTemplatesListCall) IfNoneMatch(entityTag string) *NodeTemplatesListCall
- func (c *NodeTemplatesListCall) MaxResults(maxResults int64) *NodeTemplatesListCall
- func (c *NodeTemplatesListCall) OrderBy(orderBy string) *NodeTemplatesListCall
- func (c *NodeTemplatesListCall) PageToken(pageToken string) *NodeTemplatesListCall
- func (c *NodeTemplatesListCall) Pages(ctx context.Context, f func(*NodeTemplateList) error) error
- type NodeTemplatesScopedList
- type NodeTemplatesScopedListWarning
- type NodeTemplatesScopedListWarningData
- type NodeTemplatesService
- func (r *NodeTemplatesService) AggregatedList(project string) *NodeTemplatesAggregatedListCall
- func (r *NodeTemplatesService) Delete(project string, region string, nodeTemplate string) *NodeTemplatesDeleteCall
- func (r *NodeTemplatesService) Get(project string, region string, nodeTemplate string) *NodeTemplatesGetCall
- func (r *NodeTemplatesService) GetIamPolicy(project string, region string, resource string) *NodeTemplatesGetIamPolicyCall
- func (r *NodeTemplatesService) Insert(project string, region string, nodetemplate *NodeTemplate) *NodeTemplatesInsertCall
- func (r *NodeTemplatesService) List(project string, region string) *NodeTemplatesListCall
- func (r *NodeTemplatesService) SetIamPolicy(project string, region string, resource string, ...) *NodeTemplatesSetIamPolicyCall
- func (r *NodeTemplatesService) TestIamPermissions(project string, region string, resource string, ...) *NodeTemplatesTestIamPermissionsCall
- type NodeTemplatesSetIamPolicyCall
- func (c *NodeTemplatesSetIamPolicyCall) Context(ctx context.Context) *NodeTemplatesSetIamPolicyCall
- func (c *NodeTemplatesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *NodeTemplatesSetIamPolicyCall) Fields(s ...googleapi.Field) *NodeTemplatesSetIamPolicyCall
- func (c *NodeTemplatesSetIamPolicyCall) Header() http.Header
- type NodeTemplatesTestIamPermissionsCall
- func (c *NodeTemplatesTestIamPermissionsCall) Context(ctx context.Context) *NodeTemplatesTestIamPermissionsCall
- func (c *NodeTemplatesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *NodeTemplatesTestIamPermissionsCall) Fields(s ...googleapi.Field) *NodeTemplatesTestIamPermissionsCall
- func (c *NodeTemplatesTestIamPermissionsCall) Header() http.Header
- type NodeType
- type NodeTypeAggregatedList
- type NodeTypeAggregatedListWarning
- type NodeTypeAggregatedListWarningData
- type NodeTypeList
- type NodeTypeListWarning
- type NodeTypeListWarningData
- type NodeTypesAggregatedListCall
- func (c *NodeTypesAggregatedListCall) Context(ctx context.Context) *NodeTypesAggregatedListCall
- func (c *NodeTypesAggregatedListCall) Do(opts ...googleapi.CallOption) (*NodeTypeAggregatedList, error)
- func (c *NodeTypesAggregatedListCall) Fields(s ...googleapi.Field) *NodeTypesAggregatedListCall
- func (c *NodeTypesAggregatedListCall) Filter(filter string) *NodeTypesAggregatedListCall
- func (c *NodeTypesAggregatedListCall) Header() http.Header
- func (c *NodeTypesAggregatedListCall) IfNoneMatch(entityTag string) *NodeTypesAggregatedListCall
- func (c *NodeTypesAggregatedListCall) MaxResults(maxResults int64) *NodeTypesAggregatedListCall
- func (c *NodeTypesAggregatedListCall) OrderBy(orderBy string) *NodeTypesAggregatedListCall
- func (c *NodeTypesAggregatedListCall) PageToken(pageToken string) *NodeTypesAggregatedListCall
- func (c *NodeTypesAggregatedListCall) Pages(ctx context.Context, f func(*NodeTypeAggregatedList) error) error
- type NodeTypesGetCall
- func (c *NodeTypesGetCall) Context(ctx context.Context) *NodeTypesGetCall
- func (c *NodeTypesGetCall) Do(opts ...googleapi.CallOption) (*NodeType, error)
- func (c *NodeTypesGetCall) Fields(s ...googleapi.Field) *NodeTypesGetCall
- func (c *NodeTypesGetCall) Header() http.Header
- func (c *NodeTypesGetCall) IfNoneMatch(entityTag string) *NodeTypesGetCall
- type NodeTypesListCall
- func (c *NodeTypesListCall) Context(ctx context.Context) *NodeTypesListCall
- func (c *NodeTypesListCall) Do(opts ...googleapi.CallOption) (*NodeTypeList, error)
- func (c *NodeTypesListCall) Fields(s ...googleapi.Field) *NodeTypesListCall
- func (c *NodeTypesListCall) Filter(filter string) *NodeTypesListCall
- func (c *NodeTypesListCall) Header() http.Header
- func (c *NodeTypesListCall) IfNoneMatch(entityTag string) *NodeTypesListCall
- func (c *NodeTypesListCall) MaxResults(maxResults int64) *NodeTypesListCall
- func (c *NodeTypesListCall) OrderBy(orderBy string) *NodeTypesListCall
- func (c *NodeTypesListCall) PageToken(pageToken string) *NodeTypesListCall
- func (c *NodeTypesListCall) Pages(ctx context.Context, f func(*NodeTypeList) error) error
- type NodeTypesScopedList
- type NodeTypesScopedListWarning
- type NodeTypesScopedListWarningData
- type NodeTypesService
- type Operation
- type OperationAggregatedList
- type OperationAggregatedListWarning
- type OperationAggregatedListWarningData
- type OperationError
- type OperationErrorErrors
- type OperationList
- type OperationListWarning
- type OperationListWarningData
- type OperationWarnings
- type OperationWarningsData
- type OperationsScopedList
- type OperationsScopedListWarning
- type OperationsScopedListWarningData
- type OutlierDetection
- type PathMatcher
- type PathRule
- type Policy
- type PreconfiguredWafSet
- type Project
- 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
- func (c *ProjectsDisableXpnHostCall) RequestId(requestId string) *ProjectsDisableXpnHostCall
- 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
- func (c *ProjectsDisableXpnResourceCall) RequestId(requestId string) *ProjectsDisableXpnResourceCall
- type ProjectsDisableXpnResourceRequest
- 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
- func (c *ProjectsEnableXpnHostCall) RequestId(requestId string) *ProjectsEnableXpnHostCall
- 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
- func (c *ProjectsEnableXpnResourceCall) RequestId(requestId string) *ProjectsEnableXpnResourceCall
- type ProjectsEnableXpnResourceRequest
- 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
- 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
- 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
- func (c *ProjectsMoveDiskCall) RequestId(requestId string) *ProjectsMoveDiskCall
- 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
- func (c *ProjectsMoveInstanceCall) RequestId(requestId string) *ProjectsMoveInstanceCall
- type ProjectsService
- func (r *ProjectsService) DisableXpnHost(project string) *ProjectsDisableXpnHostCall
- func (r *ProjectsService) DisableXpnResource(project string, ...) *ProjectsDisableXpnResourceCall
- func (r *ProjectsService) EnableXpnHost(project string) *ProjectsEnableXpnHostCall
- func (r *ProjectsService) EnableXpnResource(project string, ...) *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) SetDefaultNetworkTier(project string, ...) *ProjectsSetDefaultNetworkTierCall
- 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
- func (c *ProjectsSetCommonInstanceMetadataCall) RequestId(requestId string) *ProjectsSetCommonInstanceMetadataCall
- type ProjectsSetDefaultNetworkTierCall
- func (c *ProjectsSetDefaultNetworkTierCall) Context(ctx context.Context) *ProjectsSetDefaultNetworkTierCall
- func (c *ProjectsSetDefaultNetworkTierCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsSetDefaultNetworkTierCall) Fields(s ...googleapi.Field) *ProjectsSetDefaultNetworkTierCall
- func (c *ProjectsSetDefaultNetworkTierCall) Header() http.Header
- func (c *ProjectsSetDefaultNetworkTierCall) RequestId(requestId string) *ProjectsSetDefaultNetworkTierCall
- type ProjectsSetDefaultNetworkTierRequest
- 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
- func (c *ProjectsSetUsageExportBucketCall) RequestId(requestId string) *ProjectsSetUsageExportBucketCall
- type Quota
- type Reference
- type Region
- type RegionAutoscalerList
- type RegionAutoscalerListWarning
- type RegionAutoscalerListWarningData
- 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
- func (c *RegionAutoscalersDeleteCall) RequestId(requestId string) *RegionAutoscalersDeleteCall
- 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
- func (c *RegionAutoscalersInsertCall) RequestId(requestId string) *RegionAutoscalersInsertCall
- 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
- func (c *RegionAutoscalersPatchCall) RequestId(requestId string) *RegionAutoscalersPatchCall
- type 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) TestIamPermissions(project string, region string, resource string, ...) *RegionAutoscalersTestIamPermissionsCall
- func (r *RegionAutoscalersService) Update(project string, region string, autoscaler *Autoscaler) *RegionAutoscalersUpdateCall
- type RegionAutoscalersTestIamPermissionsCall
- func (c *RegionAutoscalersTestIamPermissionsCall) Context(ctx context.Context) *RegionAutoscalersTestIamPermissionsCall
- func (c *RegionAutoscalersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *RegionAutoscalersTestIamPermissionsCall) Fields(s ...googleapi.Field) *RegionAutoscalersTestIamPermissionsCall
- func (c *RegionAutoscalersTestIamPermissionsCall) Header() http.Header
- 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
- func (c *RegionAutoscalersUpdateCall) RequestId(requestId string) *RegionAutoscalersUpdateCall
- 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
- func (c *RegionBackendServicesDeleteCall) RequestId(requestId string) *RegionBackendServicesDeleteCall
- 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
- func (c *RegionBackendServicesInsertCall) RequestId(requestId string) *RegionBackendServicesInsertCall
- 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
- func (c *RegionBackendServicesPatchCall) RequestId(requestId string) *RegionBackendServicesPatchCall
- type 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, ...) *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, ...) *RegionBackendServicesPatchCall
- func (r *RegionBackendServicesService) TestIamPermissions(project string, region string, resource string, ...) *RegionBackendServicesTestIamPermissionsCall
- func (r *RegionBackendServicesService) Update(project string, region string, backendService string, ...) *RegionBackendServicesUpdateCall
- type RegionBackendServicesTestIamPermissionsCall
- func (c *RegionBackendServicesTestIamPermissionsCall) Context(ctx context.Context) *RegionBackendServicesTestIamPermissionsCall
- func (c *RegionBackendServicesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *RegionBackendServicesTestIamPermissionsCall) Fields(s ...googleapi.Field) *RegionBackendServicesTestIamPermissionsCall
- func (c *RegionBackendServicesTestIamPermissionsCall) Header() http.Header
- 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
- func (c *RegionBackendServicesUpdateCall) RequestId(requestId string) *RegionBackendServicesUpdateCall
- type RegionCommitmentsAggregatedListCall
- func (c *RegionCommitmentsAggregatedListCall) Context(ctx context.Context) *RegionCommitmentsAggregatedListCall
- func (c *RegionCommitmentsAggregatedListCall) Do(opts ...googleapi.CallOption) (*CommitmentAggregatedList, error)
- func (c *RegionCommitmentsAggregatedListCall) Fields(s ...googleapi.Field) *RegionCommitmentsAggregatedListCall
- func (c *RegionCommitmentsAggregatedListCall) Filter(filter string) *RegionCommitmentsAggregatedListCall
- func (c *RegionCommitmentsAggregatedListCall) Header() http.Header
- func (c *RegionCommitmentsAggregatedListCall) IfNoneMatch(entityTag string) *RegionCommitmentsAggregatedListCall
- func (c *RegionCommitmentsAggregatedListCall) MaxResults(maxResults int64) *RegionCommitmentsAggregatedListCall
- func (c *RegionCommitmentsAggregatedListCall) OrderBy(orderBy string) *RegionCommitmentsAggregatedListCall
- func (c *RegionCommitmentsAggregatedListCall) PageToken(pageToken string) *RegionCommitmentsAggregatedListCall
- func (c *RegionCommitmentsAggregatedListCall) Pages(ctx context.Context, f func(*CommitmentAggregatedList) error) error
- type RegionCommitmentsGetCall
- func (c *RegionCommitmentsGetCall) Context(ctx context.Context) *RegionCommitmentsGetCall
- func (c *RegionCommitmentsGetCall) Do(opts ...googleapi.CallOption) (*Commitment, error)
- func (c *RegionCommitmentsGetCall) Fields(s ...googleapi.Field) *RegionCommitmentsGetCall
- func (c *RegionCommitmentsGetCall) Header() http.Header
- func (c *RegionCommitmentsGetCall) IfNoneMatch(entityTag string) *RegionCommitmentsGetCall
- type RegionCommitmentsInsertCall
- func (c *RegionCommitmentsInsertCall) Context(ctx context.Context) *RegionCommitmentsInsertCall
- func (c *RegionCommitmentsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionCommitmentsInsertCall) Fields(s ...googleapi.Field) *RegionCommitmentsInsertCall
- func (c *RegionCommitmentsInsertCall) Header() http.Header
- func (c *RegionCommitmentsInsertCall) RequestId(requestId string) *RegionCommitmentsInsertCall
- type RegionCommitmentsListCall
- func (c *RegionCommitmentsListCall) Context(ctx context.Context) *RegionCommitmentsListCall
- func (c *RegionCommitmentsListCall) Do(opts ...googleapi.CallOption) (*CommitmentList, error)
- func (c *RegionCommitmentsListCall) Fields(s ...googleapi.Field) *RegionCommitmentsListCall
- func (c *RegionCommitmentsListCall) Filter(filter string) *RegionCommitmentsListCall
- func (c *RegionCommitmentsListCall) Header() http.Header
- func (c *RegionCommitmentsListCall) IfNoneMatch(entityTag string) *RegionCommitmentsListCall
- func (c *RegionCommitmentsListCall) MaxResults(maxResults int64) *RegionCommitmentsListCall
- func (c *RegionCommitmentsListCall) OrderBy(orderBy string) *RegionCommitmentsListCall
- func (c *RegionCommitmentsListCall) PageToken(pageToken string) *RegionCommitmentsListCall
- func (c *RegionCommitmentsListCall) Pages(ctx context.Context, f func(*CommitmentList) error) error
- type RegionCommitmentsService
- func (r *RegionCommitmentsService) AggregatedList(project string) *RegionCommitmentsAggregatedListCall
- func (r *RegionCommitmentsService) Get(project string, region string, commitment string) *RegionCommitmentsGetCall
- func (r *RegionCommitmentsService) Insert(project string, region string, commitment *Commitment) *RegionCommitmentsInsertCall
- func (r *RegionCommitmentsService) List(project string, region string) *RegionCommitmentsListCall
- func (r *RegionCommitmentsService) UpdateReservations(project string, region string, commitment string, ...) *RegionCommitmentsUpdateReservationsCall
- type RegionCommitmentsUpdateReservationsCall
- func (c *RegionCommitmentsUpdateReservationsCall) Context(ctx context.Context) *RegionCommitmentsUpdateReservationsCall
- func (c *RegionCommitmentsUpdateReservationsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionCommitmentsUpdateReservationsCall) Fields(s ...googleapi.Field) *RegionCommitmentsUpdateReservationsCall
- func (c *RegionCommitmentsUpdateReservationsCall) Header() http.Header
- func (c *RegionCommitmentsUpdateReservationsCall) RequestId(requestId string) *RegionCommitmentsUpdateReservationsCall
- type RegionCommitmentsUpdateReservationsRequest
- type RegionDiskTypeList
- type RegionDiskTypeListWarning
- type RegionDiskTypeListWarningData
- type RegionDiskTypesGetCall
- func (c *RegionDiskTypesGetCall) Context(ctx context.Context) *RegionDiskTypesGetCall
- func (c *RegionDiskTypesGetCall) Do(opts ...googleapi.CallOption) (*DiskType, error)
- func (c *RegionDiskTypesGetCall) Fields(s ...googleapi.Field) *RegionDiskTypesGetCall
- func (c *RegionDiskTypesGetCall) Header() http.Header
- func (c *RegionDiskTypesGetCall) IfNoneMatch(entityTag string) *RegionDiskTypesGetCall
- type RegionDiskTypesListCall
- func (c *RegionDiskTypesListCall) Context(ctx context.Context) *RegionDiskTypesListCall
- func (c *RegionDiskTypesListCall) Do(opts ...googleapi.CallOption) (*RegionDiskTypeList, error)
- func (c *RegionDiskTypesListCall) Fields(s ...googleapi.Field) *RegionDiskTypesListCall
- func (c *RegionDiskTypesListCall) Filter(filter string) *RegionDiskTypesListCall
- func (c *RegionDiskTypesListCall) Header() http.Header
- func (c *RegionDiskTypesListCall) IfNoneMatch(entityTag string) *RegionDiskTypesListCall
- func (c *RegionDiskTypesListCall) MaxResults(maxResults int64) *RegionDiskTypesListCall
- func (c *RegionDiskTypesListCall) OrderBy(orderBy string) *RegionDiskTypesListCall
- func (c *RegionDiskTypesListCall) PageToken(pageToken string) *RegionDiskTypesListCall
- func (c *RegionDiskTypesListCall) Pages(ctx context.Context, f func(*RegionDiskTypeList) error) error
- type RegionDiskTypesService
- type RegionDisksAddResourcePoliciesCall
- func (c *RegionDisksAddResourcePoliciesCall) Context(ctx context.Context) *RegionDisksAddResourcePoliciesCall
- func (c *RegionDisksAddResourcePoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionDisksAddResourcePoliciesCall) Fields(s ...googleapi.Field) *RegionDisksAddResourcePoliciesCall
- func (c *RegionDisksAddResourcePoliciesCall) Header() http.Header
- func (c *RegionDisksAddResourcePoliciesCall) RequestId(requestId string) *RegionDisksAddResourcePoliciesCall
- type RegionDisksAddResourcePoliciesRequest
- type RegionDisksCreateSnapshotCall
- func (c *RegionDisksCreateSnapshotCall) Context(ctx context.Context) *RegionDisksCreateSnapshotCall
- func (c *RegionDisksCreateSnapshotCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionDisksCreateSnapshotCall) Fields(s ...googleapi.Field) *RegionDisksCreateSnapshotCall
- func (c *RegionDisksCreateSnapshotCall) Header() http.Header
- func (c *RegionDisksCreateSnapshotCall) RequestId(requestId string) *RegionDisksCreateSnapshotCall
- type RegionDisksDeleteCall
- func (c *RegionDisksDeleteCall) Context(ctx context.Context) *RegionDisksDeleteCall
- func (c *RegionDisksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionDisksDeleteCall) Fields(s ...googleapi.Field) *RegionDisksDeleteCall
- func (c *RegionDisksDeleteCall) Header() http.Header
- func (c *RegionDisksDeleteCall) RequestId(requestId string) *RegionDisksDeleteCall
- type RegionDisksGetCall
- func (c *RegionDisksGetCall) Context(ctx context.Context) *RegionDisksGetCall
- func (c *RegionDisksGetCall) Do(opts ...googleapi.CallOption) (*Disk, error)
- func (c *RegionDisksGetCall) Fields(s ...googleapi.Field) *RegionDisksGetCall
- func (c *RegionDisksGetCall) Header() http.Header
- func (c *RegionDisksGetCall) IfNoneMatch(entityTag string) *RegionDisksGetCall
- type RegionDisksGetIamPolicyCall
- func (c *RegionDisksGetIamPolicyCall) Context(ctx context.Context) *RegionDisksGetIamPolicyCall
- func (c *RegionDisksGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *RegionDisksGetIamPolicyCall) Fields(s ...googleapi.Field) *RegionDisksGetIamPolicyCall
- func (c *RegionDisksGetIamPolicyCall) Header() http.Header
- func (c *RegionDisksGetIamPolicyCall) IfNoneMatch(entityTag string) *RegionDisksGetIamPolicyCall
- type RegionDisksInsertCall
- func (c *RegionDisksInsertCall) Context(ctx context.Context) *RegionDisksInsertCall
- func (c *RegionDisksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionDisksInsertCall) Fields(s ...googleapi.Field) *RegionDisksInsertCall
- func (c *RegionDisksInsertCall) Header() http.Header
- func (c *RegionDisksInsertCall) RequestId(requestId string) *RegionDisksInsertCall
- func (c *RegionDisksInsertCall) SourceImage(sourceImage string) *RegionDisksInsertCall
- type RegionDisksListCall
- func (c *RegionDisksListCall) Context(ctx context.Context) *RegionDisksListCall
- func (c *RegionDisksListCall) Do(opts ...googleapi.CallOption) (*DiskList, error)
- func (c *RegionDisksListCall) Fields(s ...googleapi.Field) *RegionDisksListCall
- func (c *RegionDisksListCall) Filter(filter string) *RegionDisksListCall
- func (c *RegionDisksListCall) Header() http.Header
- func (c *RegionDisksListCall) IfNoneMatch(entityTag string) *RegionDisksListCall
- func (c *RegionDisksListCall) MaxResults(maxResults int64) *RegionDisksListCall
- func (c *RegionDisksListCall) OrderBy(orderBy string) *RegionDisksListCall
- func (c *RegionDisksListCall) PageToken(pageToken string) *RegionDisksListCall
- func (c *RegionDisksListCall) Pages(ctx context.Context, f func(*DiskList) error) error
- type RegionDisksRemoveResourcePoliciesCall
- func (c *RegionDisksRemoveResourcePoliciesCall) Context(ctx context.Context) *RegionDisksRemoveResourcePoliciesCall
- func (c *RegionDisksRemoveResourcePoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionDisksRemoveResourcePoliciesCall) Fields(s ...googleapi.Field) *RegionDisksRemoveResourcePoliciesCall
- func (c *RegionDisksRemoveResourcePoliciesCall) Header() http.Header
- func (c *RegionDisksRemoveResourcePoliciesCall) RequestId(requestId string) *RegionDisksRemoveResourcePoliciesCall
- type RegionDisksRemoveResourcePoliciesRequest
- type RegionDisksResizeCall
- func (c *RegionDisksResizeCall) Context(ctx context.Context) *RegionDisksResizeCall
- func (c *RegionDisksResizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionDisksResizeCall) Fields(s ...googleapi.Field) *RegionDisksResizeCall
- func (c *RegionDisksResizeCall) Header() http.Header
- func (c *RegionDisksResizeCall) RequestId(requestId string) *RegionDisksResizeCall
- type RegionDisksResizeRequest
- type RegionDisksService
- func (r *RegionDisksService) AddResourcePolicies(project string, region string, disk string, ...) *RegionDisksAddResourcePoliciesCall
- func (r *RegionDisksService) CreateSnapshot(project string, region string, disk string, snapshot *Snapshot) *RegionDisksCreateSnapshotCall
- func (r *RegionDisksService) Delete(project string, region string, disk string) *RegionDisksDeleteCall
- func (r *RegionDisksService) Get(project string, region string, disk string) *RegionDisksGetCall
- func (r *RegionDisksService) GetIamPolicy(project string, region string, resource string) *RegionDisksGetIamPolicyCall
- func (r *RegionDisksService) Insert(project string, region string, disk *Disk) *RegionDisksInsertCall
- func (r *RegionDisksService) List(project string, region string) *RegionDisksListCall
- func (r *RegionDisksService) RemoveResourcePolicies(project string, region string, disk string, ...) *RegionDisksRemoveResourcePoliciesCall
- func (r *RegionDisksService) Resize(project string, region string, disk string, ...) *RegionDisksResizeCall
- func (r *RegionDisksService) SetIamPolicy(project string, region string, resource string, ...) *RegionDisksSetIamPolicyCall
- func (r *RegionDisksService) SetLabels(project string, region string, resource string, ...) *RegionDisksSetLabelsCall
- func (r *RegionDisksService) TestIamPermissions(project string, region string, resource string, ...) *RegionDisksTestIamPermissionsCall
- type RegionDisksSetIamPolicyCall
- func (c *RegionDisksSetIamPolicyCall) Context(ctx context.Context) *RegionDisksSetIamPolicyCall
- func (c *RegionDisksSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *RegionDisksSetIamPolicyCall) Fields(s ...googleapi.Field) *RegionDisksSetIamPolicyCall
- func (c *RegionDisksSetIamPolicyCall) Header() http.Header
- type RegionDisksSetLabelsCall
- func (c *RegionDisksSetLabelsCall) Context(ctx context.Context) *RegionDisksSetLabelsCall
- func (c *RegionDisksSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionDisksSetLabelsCall) Fields(s ...googleapi.Field) *RegionDisksSetLabelsCall
- func (c *RegionDisksSetLabelsCall) Header() http.Header
- func (c *RegionDisksSetLabelsCall) RequestId(requestId string) *RegionDisksSetLabelsCall
- type RegionDisksTestIamPermissionsCall
- func (c *RegionDisksTestIamPermissionsCall) Context(ctx context.Context) *RegionDisksTestIamPermissionsCall
- func (c *RegionDisksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *RegionDisksTestIamPermissionsCall) Fields(s ...googleapi.Field) *RegionDisksTestIamPermissionsCall
- func (c *RegionDisksTestIamPermissionsCall) Header() http.Header
- type RegionHealthChecksDeleteCall
- func (c *RegionHealthChecksDeleteCall) Context(ctx context.Context) *RegionHealthChecksDeleteCall
- func (c *RegionHealthChecksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionHealthChecksDeleteCall) Fields(s ...googleapi.Field) *RegionHealthChecksDeleteCall
- func (c *RegionHealthChecksDeleteCall) Header() http.Header
- func (c *RegionHealthChecksDeleteCall) RequestId(requestId string) *RegionHealthChecksDeleteCall
- type RegionHealthChecksGetCall
- func (c *RegionHealthChecksGetCall) Context(ctx context.Context) *RegionHealthChecksGetCall
- func (c *RegionHealthChecksGetCall) Do(opts ...googleapi.CallOption) (*HealthCheck, error)
- func (c *RegionHealthChecksGetCall) Fields(s ...googleapi.Field) *RegionHealthChecksGetCall
- func (c *RegionHealthChecksGetCall) Header() http.Header
- func (c *RegionHealthChecksGetCall) IfNoneMatch(entityTag string) *RegionHealthChecksGetCall
- type RegionHealthChecksInsertCall
- func (c *RegionHealthChecksInsertCall) Context(ctx context.Context) *RegionHealthChecksInsertCall
- func (c *RegionHealthChecksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionHealthChecksInsertCall) Fields(s ...googleapi.Field) *RegionHealthChecksInsertCall
- func (c *RegionHealthChecksInsertCall) Header() http.Header
- func (c *RegionHealthChecksInsertCall) RequestId(requestId string) *RegionHealthChecksInsertCall
- type RegionHealthChecksListCall
- func (c *RegionHealthChecksListCall) Context(ctx context.Context) *RegionHealthChecksListCall
- func (c *RegionHealthChecksListCall) Do(opts ...googleapi.CallOption) (*HealthCheckList, error)
- func (c *RegionHealthChecksListCall) Fields(s ...googleapi.Field) *RegionHealthChecksListCall
- func (c *RegionHealthChecksListCall) Filter(filter string) *RegionHealthChecksListCall
- func (c *RegionHealthChecksListCall) Header() http.Header
- func (c *RegionHealthChecksListCall) IfNoneMatch(entityTag string) *RegionHealthChecksListCall
- func (c *RegionHealthChecksListCall) MaxResults(maxResults int64) *RegionHealthChecksListCall
- func (c *RegionHealthChecksListCall) OrderBy(orderBy string) *RegionHealthChecksListCall
- func (c *RegionHealthChecksListCall) PageToken(pageToken string) *RegionHealthChecksListCall
- func (c *RegionHealthChecksListCall) Pages(ctx context.Context, f func(*HealthCheckList) error) error
- type RegionHealthChecksPatchCall
- func (c *RegionHealthChecksPatchCall) Context(ctx context.Context) *RegionHealthChecksPatchCall
- func (c *RegionHealthChecksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionHealthChecksPatchCall) Fields(s ...googleapi.Field) *RegionHealthChecksPatchCall
- func (c *RegionHealthChecksPatchCall) Header() http.Header
- func (c *RegionHealthChecksPatchCall) RequestId(requestId string) *RegionHealthChecksPatchCall
- type RegionHealthChecksService
- func (r *RegionHealthChecksService) Delete(project string, region string, healthCheck string) *RegionHealthChecksDeleteCall
- func (r *RegionHealthChecksService) Get(project string, region string, healthCheck string) *RegionHealthChecksGetCall
- func (r *RegionHealthChecksService) Insert(project string, region string, healthcheck *HealthCheck) *RegionHealthChecksInsertCall
- func (r *RegionHealthChecksService) List(project string, region string) *RegionHealthChecksListCall
- func (r *RegionHealthChecksService) Patch(project string, region string, healthCheck string, healthcheck *HealthCheck) *RegionHealthChecksPatchCall
- func (r *RegionHealthChecksService) Update(project string, region string, healthCheck string, healthcheck *HealthCheck) *RegionHealthChecksUpdateCall
- type RegionHealthChecksUpdateCall
- func (c *RegionHealthChecksUpdateCall) Context(ctx context.Context) *RegionHealthChecksUpdateCall
- func (c *RegionHealthChecksUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionHealthChecksUpdateCall) Fields(s ...googleapi.Field) *RegionHealthChecksUpdateCall
- func (c *RegionHealthChecksUpdateCall) Header() http.Header
- func (c *RegionHealthChecksUpdateCall) RequestId(requestId string) *RegionHealthChecksUpdateCall
- type RegionInstanceGroupList
- type RegionInstanceGroupListWarning
- type RegionInstanceGroupListWarningData
- type RegionInstanceGroupManagerList
- type RegionInstanceGroupManagerListWarning
- type RegionInstanceGroupManagerListWarningData
- 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
- func (c *RegionInstanceGroupManagersAbandonInstancesCall) RequestId(requestId string) *RegionInstanceGroupManagersAbandonInstancesCall
- type RegionInstanceGroupManagersAbandonInstancesRequest
- type RegionInstanceGroupManagersApplyUpdatesRequest
- type RegionInstanceGroupManagersApplyUpdatesToInstancesCall
- func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Context(ctx context.Context) *RegionInstanceGroupManagersApplyUpdatesToInstancesCall
- func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersApplyUpdatesToInstancesCall
- func (c *RegionInstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header
- 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
- func (c *RegionInstanceGroupManagersDeleteCall) RequestId(requestId string) *RegionInstanceGroupManagersDeleteCall
- 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
- func (c *RegionInstanceGroupManagersDeleteInstancesCall) RequestId(requestId string) *RegionInstanceGroupManagersDeleteInstancesCall
- type RegionInstanceGroupManagersDeleteInstancesRequest
- 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
- func (c *RegionInstanceGroupManagersInsertCall) RequestId(requestId string) *RegionInstanceGroupManagersInsertCall
- 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
- 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
- func (c *RegionInstanceGroupManagersListManagedInstancesCall) Pages(ctx context.Context, ...) error
- type RegionInstanceGroupManagersPatchCall
- func (c *RegionInstanceGroupManagersPatchCall) Context(ctx context.Context) *RegionInstanceGroupManagersPatchCall
- func (c *RegionInstanceGroupManagersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionInstanceGroupManagersPatchCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersPatchCall
- func (c *RegionInstanceGroupManagersPatchCall) Header() http.Header
- func (c *RegionInstanceGroupManagersPatchCall) RequestId(requestId string) *RegionInstanceGroupManagersPatchCall
- 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
- func (c *RegionInstanceGroupManagersRecreateInstancesCall) RequestId(requestId string) *RegionInstanceGroupManagersRecreateInstancesCall
- type RegionInstanceGroupManagersRecreateRequest
- 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
- func (c *RegionInstanceGroupManagersResizeCall) RequestId(requestId string) *RegionInstanceGroupManagersResizeCall
- type RegionInstanceGroupManagersService
- func (r *RegionInstanceGroupManagersService) AbandonInstances(project string, region string, instanceGroupManager string, ...) *RegionInstanceGroupManagersAbandonInstancesCall
- func (r *RegionInstanceGroupManagersService) ApplyUpdatesToInstances(project string, region string, instanceGroupManager string, ...) *RegionInstanceGroupManagersApplyUpdatesToInstancesCall
- func (r *RegionInstanceGroupManagersService) Delete(project string, region string, instanceGroupManager string) *RegionInstanceGroupManagersDeleteCall
- func (r *RegionInstanceGroupManagersService) DeleteInstances(project string, region string, instanceGroupManager string, ...) *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) Patch(project string, region string, instanceGroupManager string, ...) *RegionInstanceGroupManagersPatchCall
- func (r *RegionInstanceGroupManagersService) RecreateInstances(project string, region string, instanceGroupManager string, ...) *RegionInstanceGroupManagersRecreateInstancesCall
- func (r *RegionInstanceGroupManagersService) Resize(project string, region string, instanceGroupManager string, size int64) *RegionInstanceGroupManagersResizeCall
- func (r *RegionInstanceGroupManagersService) SetAutoHealingPolicies(project string, region string, instanceGroupManager string, ...) *RegionInstanceGroupManagersSetAutoHealingPoliciesCall
- func (r *RegionInstanceGroupManagersService) SetInstanceTemplate(project string, region string, instanceGroupManager string, ...) *RegionInstanceGroupManagersSetInstanceTemplateCall
- func (r *RegionInstanceGroupManagersService) SetTargetPools(project string, region string, instanceGroupManager string, ...) *RegionInstanceGroupManagersSetTargetPoolsCall
- func (r *RegionInstanceGroupManagersService) TestIamPermissions(project string, region string, resource string, ...) *RegionInstanceGroupManagersTestIamPermissionsCall
- func (r *RegionInstanceGroupManagersService) Update(project string, region string, instanceGroupManager string, ...) *RegionInstanceGroupManagersUpdateCall
- type RegionInstanceGroupManagersSetAutoHealingPoliciesCall
- func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Context(ctx context.Context) *RegionInstanceGroupManagersSetAutoHealingPoliciesCall
- func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersSetAutoHealingPoliciesCall
- func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.Header
- func (c *RegionInstanceGroupManagersSetAutoHealingPoliciesCall) RequestId(requestId string) *RegionInstanceGroupManagersSetAutoHealingPoliciesCall
- type RegionInstanceGroupManagersSetAutoHealingRequest
- 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
- func (c *RegionInstanceGroupManagersSetInstanceTemplateCall) RequestId(requestId string) *RegionInstanceGroupManagersSetInstanceTemplateCall
- 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
- func (c *RegionInstanceGroupManagersSetTargetPoolsCall) RequestId(requestId string) *RegionInstanceGroupManagersSetTargetPoolsCall
- type RegionInstanceGroupManagersSetTargetPoolsRequest
- type RegionInstanceGroupManagersSetTemplateRequest
- type RegionInstanceGroupManagersTestIamPermissionsCall
- func (c *RegionInstanceGroupManagersTestIamPermissionsCall) Context(ctx context.Context) *RegionInstanceGroupManagersTestIamPermissionsCall
- func (c *RegionInstanceGroupManagersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *RegionInstanceGroupManagersTestIamPermissionsCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersTestIamPermissionsCall
- func (c *RegionInstanceGroupManagersTestIamPermissionsCall) Header() http.Header
- type RegionInstanceGroupManagersUpdateCall
- func (c *RegionInstanceGroupManagersUpdateCall) Context(ctx context.Context) *RegionInstanceGroupManagersUpdateCall
- func (c *RegionInstanceGroupManagersUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionInstanceGroupManagersUpdateCall) Fields(s ...googleapi.Field) *RegionInstanceGroupManagersUpdateCall
- func (c *RegionInstanceGroupManagersUpdateCall) Header() http.Header
- func (c *RegionInstanceGroupManagersUpdateCall) RequestId(requestId string) *RegionInstanceGroupManagersUpdateCall
- 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
- 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
- type RegionInstanceGroupsListInstancesWarning
- type RegionInstanceGroupsListInstancesWarningData
- type 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, ...) *RegionInstanceGroupsListInstancesCall
- func (r *RegionInstanceGroupsService) SetNamedPorts(project string, region string, instanceGroup string, ...) *RegionInstanceGroupsSetNamedPortsCall
- func (r *RegionInstanceGroupsService) TestIamPermissions(project string, region string, resource string, ...) *RegionInstanceGroupsTestIamPermissionsCall
- 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
- func (c *RegionInstanceGroupsSetNamedPortsCall) RequestId(requestId string) *RegionInstanceGroupsSetNamedPortsCall
- type RegionInstanceGroupsSetNamedPortsRequest
- type RegionInstanceGroupsTestIamPermissionsCall
- func (c *RegionInstanceGroupsTestIamPermissionsCall) Context(ctx context.Context) *RegionInstanceGroupsTestIamPermissionsCall
- func (c *RegionInstanceGroupsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *RegionInstanceGroupsTestIamPermissionsCall) Fields(s ...googleapi.Field) *RegionInstanceGroupsTestIamPermissionsCall
- func (c *RegionInstanceGroupsTestIamPermissionsCall) Header() http.Header
- type RegionList
- type RegionListWarning
- type RegionListWarningData
- 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 (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 RegionSetLabelsRequest
- type RegionSetPolicyRequest
- type RegionSslCertificatesDeleteCall
- func (c *RegionSslCertificatesDeleteCall) Context(ctx context.Context) *RegionSslCertificatesDeleteCall
- func (c *RegionSslCertificatesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionSslCertificatesDeleteCall) Fields(s ...googleapi.Field) *RegionSslCertificatesDeleteCall
- func (c *RegionSslCertificatesDeleteCall) Header() http.Header
- func (c *RegionSslCertificatesDeleteCall) RequestId(requestId string) *RegionSslCertificatesDeleteCall
- type RegionSslCertificatesGetCall
- func (c *RegionSslCertificatesGetCall) Context(ctx context.Context) *RegionSslCertificatesGetCall
- func (c *RegionSslCertificatesGetCall) Do(opts ...googleapi.CallOption) (*SslCertificate, error)
- func (c *RegionSslCertificatesGetCall) Fields(s ...googleapi.Field) *RegionSslCertificatesGetCall
- func (c *RegionSslCertificatesGetCall) Header() http.Header
- func (c *RegionSslCertificatesGetCall) IfNoneMatch(entityTag string) *RegionSslCertificatesGetCall
- type RegionSslCertificatesInsertCall
- func (c *RegionSslCertificatesInsertCall) Context(ctx context.Context) *RegionSslCertificatesInsertCall
- func (c *RegionSslCertificatesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionSslCertificatesInsertCall) Fields(s ...googleapi.Field) *RegionSslCertificatesInsertCall
- func (c *RegionSslCertificatesInsertCall) Header() http.Header
- func (c *RegionSslCertificatesInsertCall) RequestId(requestId string) *RegionSslCertificatesInsertCall
- type RegionSslCertificatesListCall
- func (c *RegionSslCertificatesListCall) Context(ctx context.Context) *RegionSslCertificatesListCall
- func (c *RegionSslCertificatesListCall) Do(opts ...googleapi.CallOption) (*SslCertificateList, error)
- func (c *RegionSslCertificatesListCall) Fields(s ...googleapi.Field) *RegionSslCertificatesListCall
- func (c *RegionSslCertificatesListCall) Filter(filter string) *RegionSslCertificatesListCall
- func (c *RegionSslCertificatesListCall) Header() http.Header
- func (c *RegionSslCertificatesListCall) IfNoneMatch(entityTag string) *RegionSslCertificatesListCall
- func (c *RegionSslCertificatesListCall) MaxResults(maxResults int64) *RegionSslCertificatesListCall
- func (c *RegionSslCertificatesListCall) OrderBy(orderBy string) *RegionSslCertificatesListCall
- func (c *RegionSslCertificatesListCall) PageToken(pageToken string) *RegionSslCertificatesListCall
- func (c *RegionSslCertificatesListCall) Pages(ctx context.Context, f func(*SslCertificateList) error) error
- type RegionSslCertificatesService
- func (r *RegionSslCertificatesService) Delete(project string, region string, sslCertificate string) *RegionSslCertificatesDeleteCall
- func (r *RegionSslCertificatesService) Get(project string, region string, sslCertificate string) *RegionSslCertificatesGetCall
- func (r *RegionSslCertificatesService) Insert(project string, region string, sslcertificate *SslCertificate) *RegionSslCertificatesInsertCall
- func (r *RegionSslCertificatesService) List(project string, region string) *RegionSslCertificatesListCall
- type RegionTargetHttpProxiesDeleteCall
- func (c *RegionTargetHttpProxiesDeleteCall) Context(ctx context.Context) *RegionTargetHttpProxiesDeleteCall
- func (c *RegionTargetHttpProxiesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionTargetHttpProxiesDeleteCall) Fields(s ...googleapi.Field) *RegionTargetHttpProxiesDeleteCall
- func (c *RegionTargetHttpProxiesDeleteCall) Header() http.Header
- func (c *RegionTargetHttpProxiesDeleteCall) RequestId(requestId string) *RegionTargetHttpProxiesDeleteCall
- type RegionTargetHttpProxiesGetCall
- func (c *RegionTargetHttpProxiesGetCall) Context(ctx context.Context) *RegionTargetHttpProxiesGetCall
- func (c *RegionTargetHttpProxiesGetCall) Do(opts ...googleapi.CallOption) (*TargetHttpProxy, error)
- func (c *RegionTargetHttpProxiesGetCall) Fields(s ...googleapi.Field) *RegionTargetHttpProxiesGetCall
- func (c *RegionTargetHttpProxiesGetCall) Header() http.Header
- func (c *RegionTargetHttpProxiesGetCall) IfNoneMatch(entityTag string) *RegionTargetHttpProxiesGetCall
- type RegionTargetHttpProxiesInsertCall
- func (c *RegionTargetHttpProxiesInsertCall) Context(ctx context.Context) *RegionTargetHttpProxiesInsertCall
- func (c *RegionTargetHttpProxiesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionTargetHttpProxiesInsertCall) Fields(s ...googleapi.Field) *RegionTargetHttpProxiesInsertCall
- func (c *RegionTargetHttpProxiesInsertCall) Header() http.Header
- func (c *RegionTargetHttpProxiesInsertCall) RequestId(requestId string) *RegionTargetHttpProxiesInsertCall
- type RegionTargetHttpProxiesListCall
- func (c *RegionTargetHttpProxiesListCall) Context(ctx context.Context) *RegionTargetHttpProxiesListCall
- func (c *RegionTargetHttpProxiesListCall) Do(opts ...googleapi.CallOption) (*TargetHttpProxyList, error)
- func (c *RegionTargetHttpProxiesListCall) Fields(s ...googleapi.Field) *RegionTargetHttpProxiesListCall
- func (c *RegionTargetHttpProxiesListCall) Filter(filter string) *RegionTargetHttpProxiesListCall
- func (c *RegionTargetHttpProxiesListCall) Header() http.Header
- func (c *RegionTargetHttpProxiesListCall) IfNoneMatch(entityTag string) *RegionTargetHttpProxiesListCall
- func (c *RegionTargetHttpProxiesListCall) MaxResults(maxResults int64) *RegionTargetHttpProxiesListCall
- func (c *RegionTargetHttpProxiesListCall) OrderBy(orderBy string) *RegionTargetHttpProxiesListCall
- func (c *RegionTargetHttpProxiesListCall) PageToken(pageToken string) *RegionTargetHttpProxiesListCall
- func (c *RegionTargetHttpProxiesListCall) Pages(ctx context.Context, f func(*TargetHttpProxyList) error) error
- type RegionTargetHttpProxiesService
- func (r *RegionTargetHttpProxiesService) Delete(project string, region string, targetHttpProxy string) *RegionTargetHttpProxiesDeleteCall
- func (r *RegionTargetHttpProxiesService) Get(project string, region string, targetHttpProxy string) *RegionTargetHttpProxiesGetCall
- func (r *RegionTargetHttpProxiesService) Insert(project string, region string, targethttpproxy *TargetHttpProxy) *RegionTargetHttpProxiesInsertCall
- func (r *RegionTargetHttpProxiesService) List(project string, region string) *RegionTargetHttpProxiesListCall
- func (r *RegionTargetHttpProxiesService) SetUrlMap(project string, region string, targetHttpProxy string, ...) *RegionTargetHttpProxiesSetUrlMapCall
- type RegionTargetHttpProxiesSetUrlMapCall
- func (c *RegionTargetHttpProxiesSetUrlMapCall) Context(ctx context.Context) *RegionTargetHttpProxiesSetUrlMapCall
- func (c *RegionTargetHttpProxiesSetUrlMapCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionTargetHttpProxiesSetUrlMapCall) Fields(s ...googleapi.Field) *RegionTargetHttpProxiesSetUrlMapCall
- func (c *RegionTargetHttpProxiesSetUrlMapCall) Header() http.Header
- func (c *RegionTargetHttpProxiesSetUrlMapCall) RequestId(requestId string) *RegionTargetHttpProxiesSetUrlMapCall
- type RegionTargetHttpsProxiesDeleteCall
- func (c *RegionTargetHttpsProxiesDeleteCall) Context(ctx context.Context) *RegionTargetHttpsProxiesDeleteCall
- func (c *RegionTargetHttpsProxiesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionTargetHttpsProxiesDeleteCall) Fields(s ...googleapi.Field) *RegionTargetHttpsProxiesDeleteCall
- func (c *RegionTargetHttpsProxiesDeleteCall) Header() http.Header
- func (c *RegionTargetHttpsProxiesDeleteCall) RequestId(requestId string) *RegionTargetHttpsProxiesDeleteCall
- type RegionTargetHttpsProxiesGetCall
- func (c *RegionTargetHttpsProxiesGetCall) Context(ctx context.Context) *RegionTargetHttpsProxiesGetCall
- func (c *RegionTargetHttpsProxiesGetCall) Do(opts ...googleapi.CallOption) (*TargetHttpsProxy, error)
- func (c *RegionTargetHttpsProxiesGetCall) Fields(s ...googleapi.Field) *RegionTargetHttpsProxiesGetCall
- func (c *RegionTargetHttpsProxiesGetCall) Header() http.Header
- func (c *RegionTargetHttpsProxiesGetCall) IfNoneMatch(entityTag string) *RegionTargetHttpsProxiesGetCall
- type RegionTargetHttpsProxiesInsertCall
- func (c *RegionTargetHttpsProxiesInsertCall) Context(ctx context.Context) *RegionTargetHttpsProxiesInsertCall
- func (c *RegionTargetHttpsProxiesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionTargetHttpsProxiesInsertCall) Fields(s ...googleapi.Field) *RegionTargetHttpsProxiesInsertCall
- func (c *RegionTargetHttpsProxiesInsertCall) Header() http.Header
- func (c *RegionTargetHttpsProxiesInsertCall) RequestId(requestId string) *RegionTargetHttpsProxiesInsertCall
- type RegionTargetHttpsProxiesListCall
- func (c *RegionTargetHttpsProxiesListCall) Context(ctx context.Context) *RegionTargetHttpsProxiesListCall
- func (c *RegionTargetHttpsProxiesListCall) Do(opts ...googleapi.CallOption) (*TargetHttpsProxyList, error)
- func (c *RegionTargetHttpsProxiesListCall) Fields(s ...googleapi.Field) *RegionTargetHttpsProxiesListCall
- func (c *RegionTargetHttpsProxiesListCall) Filter(filter string) *RegionTargetHttpsProxiesListCall
- func (c *RegionTargetHttpsProxiesListCall) Header() http.Header
- func (c *RegionTargetHttpsProxiesListCall) IfNoneMatch(entityTag string) *RegionTargetHttpsProxiesListCall
- func (c *RegionTargetHttpsProxiesListCall) MaxResults(maxResults int64) *RegionTargetHttpsProxiesListCall
- func (c *RegionTargetHttpsProxiesListCall) OrderBy(orderBy string) *RegionTargetHttpsProxiesListCall
- func (c *RegionTargetHttpsProxiesListCall) PageToken(pageToken string) *RegionTargetHttpsProxiesListCall
- func (c *RegionTargetHttpsProxiesListCall) Pages(ctx context.Context, f func(*TargetHttpsProxyList) error) error
- type RegionTargetHttpsProxiesService
- func (r *RegionTargetHttpsProxiesService) Delete(project string, region string, targetHttpsProxy string) *RegionTargetHttpsProxiesDeleteCall
- func (r *RegionTargetHttpsProxiesService) Get(project string, region string, targetHttpsProxy string) *RegionTargetHttpsProxiesGetCall
- func (r *RegionTargetHttpsProxiesService) Insert(project string, region string, targethttpsproxy *TargetHttpsProxy) *RegionTargetHttpsProxiesInsertCall
- func (r *RegionTargetHttpsProxiesService) List(project string, region string) *RegionTargetHttpsProxiesListCall
- func (r *RegionTargetHttpsProxiesService) SetSslCertificates(project string, region string, targetHttpsProxy string, ...) *RegionTargetHttpsProxiesSetSslCertificatesCall
- func (r *RegionTargetHttpsProxiesService) SetUrlMap(project string, region string, targetHttpsProxy string, ...) *RegionTargetHttpsProxiesSetUrlMapCall
- type RegionTargetHttpsProxiesSetSslCertificatesCall
- func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Context(ctx context.Context) *RegionTargetHttpsProxiesSetSslCertificatesCall
- func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Fields(s ...googleapi.Field) *RegionTargetHttpsProxiesSetSslCertificatesCall
- func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) Header() http.Header
- func (c *RegionTargetHttpsProxiesSetSslCertificatesCall) RequestId(requestId string) *RegionTargetHttpsProxiesSetSslCertificatesCall
- type RegionTargetHttpsProxiesSetSslCertificatesRequest
- type RegionTargetHttpsProxiesSetUrlMapCall
- func (c *RegionTargetHttpsProxiesSetUrlMapCall) Context(ctx context.Context) *RegionTargetHttpsProxiesSetUrlMapCall
- func (c *RegionTargetHttpsProxiesSetUrlMapCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionTargetHttpsProxiesSetUrlMapCall) Fields(s ...googleapi.Field) *RegionTargetHttpsProxiesSetUrlMapCall
- func (c *RegionTargetHttpsProxiesSetUrlMapCall) Header() http.Header
- func (c *RegionTargetHttpsProxiesSetUrlMapCall) RequestId(requestId string) *RegionTargetHttpsProxiesSetUrlMapCall
- type RegionUrlMapsDeleteCall
- func (c *RegionUrlMapsDeleteCall) Context(ctx context.Context) *RegionUrlMapsDeleteCall
- func (c *RegionUrlMapsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionUrlMapsDeleteCall) Fields(s ...googleapi.Field) *RegionUrlMapsDeleteCall
- func (c *RegionUrlMapsDeleteCall) Header() http.Header
- func (c *RegionUrlMapsDeleteCall) RequestId(requestId string) *RegionUrlMapsDeleteCall
- type RegionUrlMapsGetCall
- func (c *RegionUrlMapsGetCall) Context(ctx context.Context) *RegionUrlMapsGetCall
- func (c *RegionUrlMapsGetCall) Do(opts ...googleapi.CallOption) (*UrlMap, error)
- func (c *RegionUrlMapsGetCall) Fields(s ...googleapi.Field) *RegionUrlMapsGetCall
- func (c *RegionUrlMapsGetCall) Header() http.Header
- func (c *RegionUrlMapsGetCall) IfNoneMatch(entityTag string) *RegionUrlMapsGetCall
- type RegionUrlMapsInsertCall
- func (c *RegionUrlMapsInsertCall) Context(ctx context.Context) *RegionUrlMapsInsertCall
- func (c *RegionUrlMapsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionUrlMapsInsertCall) Fields(s ...googleapi.Field) *RegionUrlMapsInsertCall
- func (c *RegionUrlMapsInsertCall) Header() http.Header
- func (c *RegionUrlMapsInsertCall) RequestId(requestId string) *RegionUrlMapsInsertCall
- type RegionUrlMapsInvalidateCacheCall
- func (c *RegionUrlMapsInvalidateCacheCall) Context(ctx context.Context) *RegionUrlMapsInvalidateCacheCall
- func (c *RegionUrlMapsInvalidateCacheCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionUrlMapsInvalidateCacheCall) Fields(s ...googleapi.Field) *RegionUrlMapsInvalidateCacheCall
- func (c *RegionUrlMapsInvalidateCacheCall) Header() http.Header
- func (c *RegionUrlMapsInvalidateCacheCall) RequestId(requestId string) *RegionUrlMapsInvalidateCacheCall
- type RegionUrlMapsListCall
- func (c *RegionUrlMapsListCall) Context(ctx context.Context) *RegionUrlMapsListCall
- func (c *RegionUrlMapsListCall) Do(opts ...googleapi.CallOption) (*UrlMapList, error)
- func (c *RegionUrlMapsListCall) Fields(s ...googleapi.Field) *RegionUrlMapsListCall
- func (c *RegionUrlMapsListCall) Filter(filter string) *RegionUrlMapsListCall
- func (c *RegionUrlMapsListCall) Header() http.Header
- func (c *RegionUrlMapsListCall) IfNoneMatch(entityTag string) *RegionUrlMapsListCall
- func (c *RegionUrlMapsListCall) MaxResults(maxResults int64) *RegionUrlMapsListCall
- func (c *RegionUrlMapsListCall) OrderBy(orderBy string) *RegionUrlMapsListCall
- func (c *RegionUrlMapsListCall) PageToken(pageToken string) *RegionUrlMapsListCall
- func (c *RegionUrlMapsListCall) Pages(ctx context.Context, f func(*UrlMapList) error) error
- type RegionUrlMapsPatchCall
- func (c *RegionUrlMapsPatchCall) Context(ctx context.Context) *RegionUrlMapsPatchCall
- func (c *RegionUrlMapsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionUrlMapsPatchCall) Fields(s ...googleapi.Field) *RegionUrlMapsPatchCall
- func (c *RegionUrlMapsPatchCall) Header() http.Header
- func (c *RegionUrlMapsPatchCall) RequestId(requestId string) *RegionUrlMapsPatchCall
- type RegionUrlMapsService
- func (r *RegionUrlMapsService) Delete(project string, region string, urlMap string) *RegionUrlMapsDeleteCall
- func (r *RegionUrlMapsService) Get(project string, region string, urlMap string) *RegionUrlMapsGetCall
- func (r *RegionUrlMapsService) Insert(project string, region string, urlmap *UrlMap) *RegionUrlMapsInsertCall
- func (r *RegionUrlMapsService) InvalidateCache(project string, region string, urlMap string, ...) *RegionUrlMapsInvalidateCacheCall
- func (r *RegionUrlMapsService) List(project string, region string) *RegionUrlMapsListCall
- func (r *RegionUrlMapsService) Patch(project string, region string, urlMap string, urlmap *UrlMap) *RegionUrlMapsPatchCall
- func (r *RegionUrlMapsService) Update(project string, region string, urlMap string, urlmap *UrlMap) *RegionUrlMapsUpdateCall
- func (r *RegionUrlMapsService) Validate(project string, region string, urlMap string, ...) *RegionUrlMapsValidateCall
- type RegionUrlMapsUpdateCall
- func (c *RegionUrlMapsUpdateCall) Context(ctx context.Context) *RegionUrlMapsUpdateCall
- func (c *RegionUrlMapsUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *RegionUrlMapsUpdateCall) Fields(s ...googleapi.Field) *RegionUrlMapsUpdateCall
- func (c *RegionUrlMapsUpdateCall) Header() http.Header
- func (c *RegionUrlMapsUpdateCall) RequestId(requestId string) *RegionUrlMapsUpdateCall
- type RegionUrlMapsValidateCall
- func (c *RegionUrlMapsValidateCall) Context(ctx context.Context) *RegionUrlMapsValidateCall
- func (c *RegionUrlMapsValidateCall) Do(opts ...googleapi.CallOption) (*UrlMapsValidateResponse, error)
- func (c *RegionUrlMapsValidateCall) Fields(s ...googleapi.Field) *RegionUrlMapsValidateCall
- func (c *RegionUrlMapsValidateCall) Header() http.Header
- type RegionUrlMapsValidateRequest
- 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
- type RequestMirrorPolicy
- type Reservation
- type ReservationAffinity
- type ReservationAggregatedList
- type ReservationAggregatedListWarning
- type ReservationAggregatedListWarningData
- type ReservationList
- type ReservationListWarning
- type ReservationListWarningData
- type ReservationsAggregatedListCall
- func (c *ReservationsAggregatedListCall) Context(ctx context.Context) *ReservationsAggregatedListCall
- func (c *ReservationsAggregatedListCall) Do(opts ...googleapi.CallOption) (*ReservationAggregatedList, error)
- func (c *ReservationsAggregatedListCall) Fields(s ...googleapi.Field) *ReservationsAggregatedListCall
- func (c *ReservationsAggregatedListCall) Filter(filter string) *ReservationsAggregatedListCall
- func (c *ReservationsAggregatedListCall) Header() http.Header
- func (c *ReservationsAggregatedListCall) IfNoneMatch(entityTag string) *ReservationsAggregatedListCall
- func (c *ReservationsAggregatedListCall) MaxResults(maxResults int64) *ReservationsAggregatedListCall
- func (c *ReservationsAggregatedListCall) OrderBy(orderBy string) *ReservationsAggregatedListCall
- func (c *ReservationsAggregatedListCall) PageToken(pageToken string) *ReservationsAggregatedListCall
- func (c *ReservationsAggregatedListCall) Pages(ctx context.Context, f func(*ReservationAggregatedList) error) error
- type ReservationsDeleteCall
- func (c *ReservationsDeleteCall) Context(ctx context.Context) *ReservationsDeleteCall
- func (c *ReservationsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ReservationsDeleteCall) Fields(s ...googleapi.Field) *ReservationsDeleteCall
- func (c *ReservationsDeleteCall) Header() http.Header
- func (c *ReservationsDeleteCall) RequestId(requestId string) *ReservationsDeleteCall
- type ReservationsGetCall
- func (c *ReservationsGetCall) Context(ctx context.Context) *ReservationsGetCall
- func (c *ReservationsGetCall) Do(opts ...googleapi.CallOption) (*Reservation, error)
- func (c *ReservationsGetCall) Fields(s ...googleapi.Field) *ReservationsGetCall
- func (c *ReservationsGetCall) Header() http.Header
- func (c *ReservationsGetCall) IfNoneMatch(entityTag string) *ReservationsGetCall
- type ReservationsGetIamPolicyCall
- func (c *ReservationsGetIamPolicyCall) Context(ctx context.Context) *ReservationsGetIamPolicyCall
- func (c *ReservationsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ReservationsGetIamPolicyCall) Fields(s ...googleapi.Field) *ReservationsGetIamPolicyCall
- func (c *ReservationsGetIamPolicyCall) Header() http.Header
- func (c *ReservationsGetIamPolicyCall) IfNoneMatch(entityTag string) *ReservationsGetIamPolicyCall
- type ReservationsInsertCall
- func (c *ReservationsInsertCall) Context(ctx context.Context) *ReservationsInsertCall
- func (c *ReservationsInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ReservationsInsertCall) Fields(s ...googleapi.Field) *ReservationsInsertCall
- func (c *ReservationsInsertCall) Header() http.Header
- func (c *ReservationsInsertCall) RequestId(requestId string) *ReservationsInsertCall
- type ReservationsListCall
- func (c *ReservationsListCall) Context(ctx context.Context) *ReservationsListCall
- func (c *ReservationsListCall) Do(opts ...googleapi.CallOption) (*ReservationList, error)
- func (c *ReservationsListCall) Fields(s ...googleapi.Field) *ReservationsListCall
- func (c *ReservationsListCall) Filter(filter string) *ReservationsListCall
- func (c *ReservationsListCall) Header() http.Header
- func (c *ReservationsListCall) IfNoneMatch(entityTag string) *ReservationsListCall
- func (c *ReservationsListCall) MaxResults(maxResults int64) *ReservationsListCall
- func (c *ReservationsListCall) OrderBy(orderBy string) *ReservationsListCall
- func (c *ReservationsListCall) PageToken(pageToken string) *ReservationsListCall
- func (c *ReservationsListCall) Pages(ctx context.Context, f func(*ReservationList) error) error
- type ReservationsResizeCall
- func (c *ReservationsResizeCall) Context(ctx context.Context) *ReservationsResizeCall
- func (c *ReservationsResizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ReservationsResizeCall) Fields(s ...googleapi.Field) *ReservationsResizeCall
- func (c *ReservationsResizeCall) Header() http.Header
- func (c *ReservationsResizeCall) RequestId(requestId string) *ReservationsResizeCall
- type ReservationsResizeRequest
- type ReservationsScopedList
- type ReservationsScopedListWarning
- type ReservationsScopedListWarningData
- type ReservationsService
- func (r *ReservationsService) AggregatedList(project string) *ReservationsAggregatedListCall
- func (r *ReservationsService) Delete(project string, zone string, reservation string) *ReservationsDeleteCall
- func (r *ReservationsService) Get(project string, zone string, reservation string) *ReservationsGetCall
- func (r *ReservationsService) GetIamPolicy(project string, zone string, resource string) *ReservationsGetIamPolicyCall
- func (r *ReservationsService) Insert(project string, zone string, reservation *Reservation) *ReservationsInsertCall
- func (r *ReservationsService) List(project string, zone string) *ReservationsListCall
- func (r *ReservationsService) Resize(project string, zone string, reservation string, ...) *ReservationsResizeCall
- func (r *ReservationsService) SetIamPolicy(project string, zone string, resource string, ...) *ReservationsSetIamPolicyCall
- func (r *ReservationsService) TestIamPermissions(project string, zone string, resource string, ...) *ReservationsTestIamPermissionsCall
- type ReservationsSetIamPolicyCall
- func (c *ReservationsSetIamPolicyCall) Context(ctx context.Context) *ReservationsSetIamPolicyCall
- func (c *ReservationsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ReservationsSetIamPolicyCall) Fields(s ...googleapi.Field) *ReservationsSetIamPolicyCall
- func (c *ReservationsSetIamPolicyCall) Header() http.Header
- type ReservationsTestIamPermissionsCall
- func (c *ReservationsTestIamPermissionsCall) Context(ctx context.Context) *ReservationsTestIamPermissionsCall
- func (c *ReservationsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *ReservationsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ReservationsTestIamPermissionsCall
- func (c *ReservationsTestIamPermissionsCall) Header() http.Header
- type ResourceCommitment
- type ResourceGroupReference
- type ResourcePoliciesAggregatedListCall
- func (c *ResourcePoliciesAggregatedListCall) Context(ctx context.Context) *ResourcePoliciesAggregatedListCall
- func (c *ResourcePoliciesAggregatedListCall) Do(opts ...googleapi.CallOption) (*ResourcePolicyAggregatedList, error)
- func (c *ResourcePoliciesAggregatedListCall) Fields(s ...googleapi.Field) *ResourcePoliciesAggregatedListCall
- func (c *ResourcePoliciesAggregatedListCall) Filter(filter string) *ResourcePoliciesAggregatedListCall
- func (c *ResourcePoliciesAggregatedListCall) Header() http.Header
- func (c *ResourcePoliciesAggregatedListCall) IfNoneMatch(entityTag string) *ResourcePoliciesAggregatedListCall
- func (c *ResourcePoliciesAggregatedListCall) MaxResults(maxResults int64) *ResourcePoliciesAggregatedListCall
- func (c *ResourcePoliciesAggregatedListCall) OrderBy(orderBy string) *ResourcePoliciesAggregatedListCall
- func (c *ResourcePoliciesAggregatedListCall) PageToken(pageToken string) *ResourcePoliciesAggregatedListCall
- func (c *ResourcePoliciesAggregatedListCall) Pages(ctx context.Context, f func(*ResourcePolicyAggregatedList) error) error
- type ResourcePoliciesDeleteCall
- func (c *ResourcePoliciesDeleteCall) Context(ctx context.Context) *ResourcePoliciesDeleteCall
- func (c *ResourcePoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ResourcePoliciesDeleteCall) Fields(s ...googleapi.Field) *ResourcePoliciesDeleteCall
- func (c *ResourcePoliciesDeleteCall) Header() http.Header
- func (c *ResourcePoliciesDeleteCall) RequestId(requestId string) *ResourcePoliciesDeleteCall
- type ResourcePoliciesGetCall
- func (c *ResourcePoliciesGetCall) Context(ctx context.Context) *ResourcePoliciesGetCall
- func (c *ResourcePoliciesGetCall) Do(opts ...googleapi.CallOption) (*ResourcePolicy, error)
- func (c *ResourcePoliciesGetCall) Fields(s ...googleapi.Field) *ResourcePoliciesGetCall
- func (c *ResourcePoliciesGetCall) Header() http.Header
- func (c *ResourcePoliciesGetCall) IfNoneMatch(entityTag string) *ResourcePoliciesGetCall
- type ResourcePoliciesInsertCall
- func (c *ResourcePoliciesInsertCall) Context(ctx context.Context) *ResourcePoliciesInsertCall
- func (c *ResourcePoliciesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ResourcePoliciesInsertCall) Fields(s ...googleapi.Field) *ResourcePoliciesInsertCall
- func (c *ResourcePoliciesInsertCall) Header() http.Header
- func (c *ResourcePoliciesInsertCall) RequestId(requestId string) *ResourcePoliciesInsertCall
- type ResourcePoliciesListCall
- func (c *ResourcePoliciesListCall) Context(ctx context.Context) *ResourcePoliciesListCall
- func (c *ResourcePoliciesListCall) Do(opts ...googleapi.CallOption) (*ResourcePolicyList, error)
- func (c *ResourcePoliciesListCall) Fields(s ...googleapi.Field) *ResourcePoliciesListCall
- func (c *ResourcePoliciesListCall) Filter(filter string) *ResourcePoliciesListCall
- func (c *ResourcePoliciesListCall) Header() http.Header
- func (c *ResourcePoliciesListCall) IfNoneMatch(entityTag string) *ResourcePoliciesListCall
- func (c *ResourcePoliciesListCall) MaxResults(maxResults int64) *ResourcePoliciesListCall
- func (c *ResourcePoliciesListCall) OrderBy(orderBy string) *ResourcePoliciesListCall
- func (c *ResourcePoliciesListCall) PageToken(pageToken string) *ResourcePoliciesListCall
- func (c *ResourcePoliciesListCall) Pages(ctx context.Context, f func(*ResourcePolicyList) error) error
- type ResourcePoliciesScopedList
- type ResourcePoliciesScopedListWarning
- type ResourcePoliciesScopedListWarningData
- type ResourcePoliciesService
- func (r *ResourcePoliciesService) AggregatedList(project string) *ResourcePoliciesAggregatedListCall
- func (r *ResourcePoliciesService) Delete(project string, region string, resourcePolicy string) *ResourcePoliciesDeleteCall
- func (r *ResourcePoliciesService) Get(project string, region string, resourcePolicy string) *ResourcePoliciesGetCall
- func (r *ResourcePoliciesService) Insert(project string, region string, resourcepolicy *ResourcePolicy) *ResourcePoliciesInsertCall
- func (r *ResourcePoliciesService) List(project string, region string) *ResourcePoliciesListCall
- func (r *ResourcePoliciesService) TestIamPermissions(project string, region string, resource string, ...) *ResourcePoliciesTestIamPermissionsCall
- type ResourcePoliciesTestIamPermissionsCall
- func (c *ResourcePoliciesTestIamPermissionsCall) Context(ctx context.Context) *ResourcePoliciesTestIamPermissionsCall
- func (c *ResourcePoliciesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *ResourcePoliciesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ResourcePoliciesTestIamPermissionsCall
- func (c *ResourcePoliciesTestIamPermissionsCall) Header() http.Header
- type ResourcePolicy
- type ResourcePolicyAggregatedList
- type ResourcePolicyAggregatedListWarning
- type ResourcePolicyAggregatedListWarningData
- type ResourcePolicyDailyCycle
- type ResourcePolicyHourlyCycle
- type ResourcePolicyList
- type ResourcePolicyListWarning
- type ResourcePolicyListWarningData
- type ResourcePolicySnapshotSchedulePolicy
- type ResourcePolicySnapshotSchedulePolicyRetentionPolicy
- type ResourcePolicySnapshotSchedulePolicySchedule
- type ResourcePolicySnapshotSchedulePolicySnapshotProperties
- type ResourcePolicyWeeklyCycle
- type ResourcePolicyWeeklyCycleDayOfWeek
- type Route
- type RouteList
- type RouteListWarning
- type RouteListWarningData
- type RouteWarnings
- type RouteWarningsData
- type Router
- type RouterAdvertisedIpRange
- type RouterAggregatedList
- type RouterAggregatedListWarning
- type RouterAggregatedListWarningData
- type RouterBgp
- type RouterBgpPeer
- type RouterInterface
- type RouterList
- type RouterListWarning
- type RouterListWarningData
- type RouterNat
- type RouterNatLogConfig
- type RouterNatSubnetworkToNat
- type RouterStatus
- type RouterStatusBgpPeerStatus
- type RouterStatusNatStatus
- type RouterStatusResponse
- 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
- func (c *RoutersDeleteCall) RequestId(requestId string) *RoutersDeleteCall
- 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 RoutersGetNatMappingInfoCall
- func (c *RoutersGetNatMappingInfoCall) Context(ctx context.Context) *RoutersGetNatMappingInfoCall
- func (c *RoutersGetNatMappingInfoCall) Do(opts ...googleapi.CallOption) (*VmEndpointNatMappingsList, error)
- func (c *RoutersGetNatMappingInfoCall) Fields(s ...googleapi.Field) *RoutersGetNatMappingInfoCall
- func (c *RoutersGetNatMappingInfoCall) Filter(filter string) *RoutersGetNatMappingInfoCall
- func (c *RoutersGetNatMappingInfoCall) Header() http.Header
- func (c *RoutersGetNatMappingInfoCall) IfNoneMatch(entityTag string) *RoutersGetNatMappingInfoCall
- func (c *RoutersGetNatMappingInfoCall) MaxResults(maxResults int64) *RoutersGetNatMappingInfoCall
- func (c *RoutersGetNatMappingInfoCall) OrderBy(orderBy string) *RoutersGetNatMappingInfoCall
- func (c *RoutersGetNatMappingInfoCall) PageToken(pageToken string) *RoutersGetNatMappingInfoCall
- func (c *RoutersGetNatMappingInfoCall) Pages(ctx context.Context, f func(*VmEndpointNatMappingsList) error) error
- 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
- func (c *RoutersInsertCall) RequestId(requestId string) *RoutersInsertCall
- 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
- func (c *RoutersPatchCall) RequestId(requestId string) *RoutersPatchCall
- 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
- type RoutersScopedList
- type RoutersScopedListWarning
- type RoutersScopedListWarningData
- type 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) GetNatMappingInfo(project string, region string, router string) *RoutersGetNatMappingInfoCall
- 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) TestIamPermissions(project string, region string, resource string, ...) *RoutersTestIamPermissionsCall
- func (r *RoutersService) Update(project string, region string, router string, router2 *Router) *RoutersUpdateCall
- type RoutersTestIamPermissionsCall
- func (c *RoutersTestIamPermissionsCall) Context(ctx context.Context) *RoutersTestIamPermissionsCall
- func (c *RoutersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *RoutersTestIamPermissionsCall) Fields(s ...googleapi.Field) *RoutersTestIamPermissionsCall
- func (c *RoutersTestIamPermissionsCall) Header() http.Header
- 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
- func (c *RoutersUpdateCall) RequestId(requestId string) *RoutersUpdateCall
- 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
- func (c *RoutesDeleteCall) RequestId(requestId string) *RoutesDeleteCall
- 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
- func (c *RoutesInsertCall) RequestId(requestId string) *RoutesInsertCall
- 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 (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
- func (r *RoutesService) TestIamPermissions(project string, resource string, ...) *RoutesTestIamPermissionsCall
- type RoutesTestIamPermissionsCall
- func (c *RoutesTestIamPermissionsCall) Context(ctx context.Context) *RoutesTestIamPermissionsCall
- func (c *RoutesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *RoutesTestIamPermissionsCall) Fields(s ...googleapi.Field) *RoutesTestIamPermissionsCall
- func (c *RoutesTestIamPermissionsCall) Header() http.Header
- type Rule
- type SSLHealthCheck
- type Scheduling
- type SchedulingNodeAffinity
- type SecurityPoliciesAddRuleCall
- func (c *SecurityPoliciesAddRuleCall) Context(ctx context.Context) *SecurityPoliciesAddRuleCall
- func (c *SecurityPoliciesAddRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SecurityPoliciesAddRuleCall) Fields(s ...googleapi.Field) *SecurityPoliciesAddRuleCall
- func (c *SecurityPoliciesAddRuleCall) Header() http.Header
- func (c *SecurityPoliciesAddRuleCall) ValidateOnly(validateOnly bool) *SecurityPoliciesAddRuleCall
- type SecurityPoliciesDeleteCall
- func (c *SecurityPoliciesDeleteCall) Context(ctx context.Context) *SecurityPoliciesDeleteCall
- func (c *SecurityPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SecurityPoliciesDeleteCall) Fields(s ...googleapi.Field) *SecurityPoliciesDeleteCall
- func (c *SecurityPoliciesDeleteCall) Header() http.Header
- func (c *SecurityPoliciesDeleteCall) RequestId(requestId string) *SecurityPoliciesDeleteCall
- type SecurityPoliciesGetCall
- func (c *SecurityPoliciesGetCall) Context(ctx context.Context) *SecurityPoliciesGetCall
- func (c *SecurityPoliciesGetCall) Do(opts ...googleapi.CallOption) (*SecurityPolicy, error)
- func (c *SecurityPoliciesGetCall) Fields(s ...googleapi.Field) *SecurityPoliciesGetCall
- func (c *SecurityPoliciesGetCall) Header() http.Header
- func (c *SecurityPoliciesGetCall) IfNoneMatch(entityTag string) *SecurityPoliciesGetCall
- type SecurityPoliciesGetRuleCall
- func (c *SecurityPoliciesGetRuleCall) Context(ctx context.Context) *SecurityPoliciesGetRuleCall
- func (c *SecurityPoliciesGetRuleCall) Do(opts ...googleapi.CallOption) (*SecurityPolicyRule, error)
- func (c *SecurityPoliciesGetRuleCall) Fields(s ...googleapi.Field) *SecurityPoliciesGetRuleCall
- func (c *SecurityPoliciesGetRuleCall) Header() http.Header
- func (c *SecurityPoliciesGetRuleCall) IfNoneMatch(entityTag string) *SecurityPoliciesGetRuleCall
- func (c *SecurityPoliciesGetRuleCall) Priority(priority int64) *SecurityPoliciesGetRuleCall
- type SecurityPoliciesInsertCall
- func (c *SecurityPoliciesInsertCall) Context(ctx context.Context) *SecurityPoliciesInsertCall
- func (c *SecurityPoliciesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SecurityPoliciesInsertCall) Fields(s ...googleapi.Field) *SecurityPoliciesInsertCall
- func (c *SecurityPoliciesInsertCall) Header() http.Header
- func (c *SecurityPoliciesInsertCall) RequestId(requestId string) *SecurityPoliciesInsertCall
- func (c *SecurityPoliciesInsertCall) ValidateOnly(validateOnly bool) *SecurityPoliciesInsertCall
- type SecurityPoliciesListCall
- func (c *SecurityPoliciesListCall) Context(ctx context.Context) *SecurityPoliciesListCall
- func (c *SecurityPoliciesListCall) Do(opts ...googleapi.CallOption) (*SecurityPolicyList, error)
- func (c *SecurityPoliciesListCall) Fields(s ...googleapi.Field) *SecurityPoliciesListCall
- func (c *SecurityPoliciesListCall) Filter(filter string) *SecurityPoliciesListCall
- func (c *SecurityPoliciesListCall) Header() http.Header
- func (c *SecurityPoliciesListCall) IfNoneMatch(entityTag string) *SecurityPoliciesListCall
- func (c *SecurityPoliciesListCall) MaxResults(maxResults int64) *SecurityPoliciesListCall
- func (c *SecurityPoliciesListCall) OrderBy(orderBy string) *SecurityPoliciesListCall
- func (c *SecurityPoliciesListCall) PageToken(pageToken string) *SecurityPoliciesListCall
- func (c *SecurityPoliciesListCall) Pages(ctx context.Context, f func(*SecurityPolicyList) error) error
- type SecurityPoliciesListPreconfiguredExpressionSetsCall
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Context(ctx context.Context) *SecurityPoliciesListPreconfiguredExpressionSetsCall
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Do(opts ...googleapi.CallOption) (*SecurityPoliciesListPreconfiguredExpressionSetsResponse, error)
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Fields(s ...googleapi.Field) *SecurityPoliciesListPreconfiguredExpressionSetsCall
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Filter(filter string) *SecurityPoliciesListPreconfiguredExpressionSetsCall
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) Header() http.Header
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) IfNoneMatch(entityTag string) *SecurityPoliciesListPreconfiguredExpressionSetsCall
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) MaxResults(maxResults int64) *SecurityPoliciesListPreconfiguredExpressionSetsCall
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) OrderBy(orderBy string) *SecurityPoliciesListPreconfiguredExpressionSetsCall
- func (c *SecurityPoliciesListPreconfiguredExpressionSetsCall) PageToken(pageToken string) *SecurityPoliciesListPreconfiguredExpressionSetsCall
- type SecurityPoliciesListPreconfiguredExpressionSetsResponse
- type SecurityPoliciesPatchCall
- func (c *SecurityPoliciesPatchCall) Context(ctx context.Context) *SecurityPoliciesPatchCall
- func (c *SecurityPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SecurityPoliciesPatchCall) Fields(s ...googleapi.Field) *SecurityPoliciesPatchCall
- func (c *SecurityPoliciesPatchCall) Header() http.Header
- func (c *SecurityPoliciesPatchCall) RequestId(requestId string) *SecurityPoliciesPatchCall
- type SecurityPoliciesPatchRuleCall
- func (c *SecurityPoliciesPatchRuleCall) Context(ctx context.Context) *SecurityPoliciesPatchRuleCall
- func (c *SecurityPoliciesPatchRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SecurityPoliciesPatchRuleCall) Fields(s ...googleapi.Field) *SecurityPoliciesPatchRuleCall
- func (c *SecurityPoliciesPatchRuleCall) Header() http.Header
- func (c *SecurityPoliciesPatchRuleCall) Priority(priority int64) *SecurityPoliciesPatchRuleCall
- func (c *SecurityPoliciesPatchRuleCall) ValidateOnly(validateOnly bool) *SecurityPoliciesPatchRuleCall
- type SecurityPoliciesRemoveRuleCall
- func (c *SecurityPoliciesRemoveRuleCall) Context(ctx context.Context) *SecurityPoliciesRemoveRuleCall
- func (c *SecurityPoliciesRemoveRuleCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SecurityPoliciesRemoveRuleCall) Fields(s ...googleapi.Field) *SecurityPoliciesRemoveRuleCall
- func (c *SecurityPoliciesRemoveRuleCall) Header() http.Header
- func (c *SecurityPoliciesRemoveRuleCall) Priority(priority int64) *SecurityPoliciesRemoveRuleCall
- type SecurityPoliciesService
- func (r *SecurityPoliciesService) AddRule(project string, securityPolicy string, securitypolicyrule *SecurityPolicyRule) *SecurityPoliciesAddRuleCall
- func (r *SecurityPoliciesService) Delete(project string, securityPolicy string) *SecurityPoliciesDeleteCall
- func (r *SecurityPoliciesService) Get(project string, securityPolicy string) *SecurityPoliciesGetCall
- func (r *SecurityPoliciesService) GetRule(project string, securityPolicy string) *SecurityPoliciesGetRuleCall
- func (r *SecurityPoliciesService) Insert(project string, securitypolicy *SecurityPolicy) *SecurityPoliciesInsertCall
- func (r *SecurityPoliciesService) List(project string) *SecurityPoliciesListCall
- func (r *SecurityPoliciesService) ListPreconfiguredExpressionSets(project string) *SecurityPoliciesListPreconfiguredExpressionSetsCall
- func (r *SecurityPoliciesService) Patch(project string, securityPolicy string, securitypolicy *SecurityPolicy) *SecurityPoliciesPatchCall
- func (r *SecurityPoliciesService) PatchRule(project string, securityPolicy string, securitypolicyrule *SecurityPolicyRule) *SecurityPoliciesPatchRuleCall
- func (r *SecurityPoliciesService) RemoveRule(project string, securityPolicy string) *SecurityPoliciesRemoveRuleCall
- func (r *SecurityPoliciesService) SetLabels(project string, resource string, ...) *SecurityPoliciesSetLabelsCall
- func (r *SecurityPoliciesService) TestIamPermissions(project string, resource string, ...) *SecurityPoliciesTestIamPermissionsCall
- type SecurityPoliciesSetLabelsCall
- func (c *SecurityPoliciesSetLabelsCall) Context(ctx context.Context) *SecurityPoliciesSetLabelsCall
- func (c *SecurityPoliciesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SecurityPoliciesSetLabelsCall) Fields(s ...googleapi.Field) *SecurityPoliciesSetLabelsCall
- func (c *SecurityPoliciesSetLabelsCall) Header() http.Header
- type SecurityPoliciesTestIamPermissionsCall
- func (c *SecurityPoliciesTestIamPermissionsCall) Context(ctx context.Context) *SecurityPoliciesTestIamPermissionsCall
- func (c *SecurityPoliciesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *SecurityPoliciesTestIamPermissionsCall) Fields(s ...googleapi.Field) *SecurityPoliciesTestIamPermissionsCall
- func (c *SecurityPoliciesTestIamPermissionsCall) Header() http.Header
- type SecurityPoliciesWafConfig
- type SecurityPolicy
- type SecurityPolicyList
- type SecurityPolicyListWarning
- type SecurityPolicyListWarningData
- type SecurityPolicyReference
- type SecurityPolicyRule
- type SecurityPolicyRuleMatcher
- type SecurityPolicyRuleMatcherConfig
- type SerialPortOutput
- type ServerBinding
- type Service
- type ServiceAccount
- type ShieldedInstanceConfig
- type ShieldedInstanceIdentity
- type ShieldedInstanceIdentityEntry
- type ShieldedInstanceIntegrityPolicy
- type ShieldedVmConfig
- type ShieldedVmIdentity
- type ShieldedVmIdentityEntry
- type ShieldedVmIntegrityPolicy
- type SignedUrlKey
- type Snapshot
- type SnapshotList
- type SnapshotListWarning
- type SnapshotListWarningData
- 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
- func (c *SnapshotsDeleteCall) RequestId(requestId string) *SnapshotsDeleteCall
- 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 SnapshotsGetIamPolicyCall
- func (c *SnapshotsGetIamPolicyCall) Context(ctx context.Context) *SnapshotsGetIamPolicyCall
- func (c *SnapshotsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *SnapshotsGetIamPolicyCall) Fields(s ...googleapi.Field) *SnapshotsGetIamPolicyCall
- func (c *SnapshotsGetIamPolicyCall) Header() http.Header
- func (c *SnapshotsGetIamPolicyCall) IfNoneMatch(entityTag string) *SnapshotsGetIamPolicyCall
- 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 (r *SnapshotsService) Delete(project string, snapshot string) *SnapshotsDeleteCall
- func (r *SnapshotsService) Get(project string, snapshot string) *SnapshotsGetCall
- func (r *SnapshotsService) GetIamPolicy(project string, resource string) *SnapshotsGetIamPolicyCall
- func (r *SnapshotsService) List(project string) *SnapshotsListCall
- func (r *SnapshotsService) SetIamPolicy(project string, resource string, ...) *SnapshotsSetIamPolicyCall
- func (r *SnapshotsService) SetLabels(project string, resource string, ...) *SnapshotsSetLabelsCall
- func (r *SnapshotsService) TestIamPermissions(project string, resource string, ...) *SnapshotsTestIamPermissionsCall
- type SnapshotsSetIamPolicyCall
- func (c *SnapshotsSetIamPolicyCall) Context(ctx context.Context) *SnapshotsSetIamPolicyCall
- func (c *SnapshotsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *SnapshotsSetIamPolicyCall) Fields(s ...googleapi.Field) *SnapshotsSetIamPolicyCall
- func (c *SnapshotsSetIamPolicyCall) Header() http.Header
- 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 SnapshotsTestIamPermissionsCall
- func (c *SnapshotsTestIamPermissionsCall) Context(ctx context.Context) *SnapshotsTestIamPermissionsCall
- func (c *SnapshotsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *SnapshotsTestIamPermissionsCall) Fields(s ...googleapi.Field) *SnapshotsTestIamPermissionsCall
- func (c *SnapshotsTestIamPermissionsCall) Header() http.Header
- type SourceInstanceParams
- type SslCertificate
- type SslCertificateAggregatedList
- type SslCertificateAggregatedListWarning
- type SslCertificateAggregatedListWarningData
- type SslCertificateList
- type SslCertificateListWarning
- type SslCertificateListWarningData
- type SslCertificateManagedSslCertificate
- type SslCertificateSelfManagedSslCertificate
- type SslCertificatesAggregatedListCall
- func (c *SslCertificatesAggregatedListCall) Context(ctx context.Context) *SslCertificatesAggregatedListCall
- func (c *SslCertificatesAggregatedListCall) Do(opts ...googleapi.CallOption) (*SslCertificateAggregatedList, error)
- func (c *SslCertificatesAggregatedListCall) Fields(s ...googleapi.Field) *SslCertificatesAggregatedListCall
- func (c *SslCertificatesAggregatedListCall) Filter(filter string) *SslCertificatesAggregatedListCall
- func (c *SslCertificatesAggregatedListCall) Header() http.Header
- func (c *SslCertificatesAggregatedListCall) IfNoneMatch(entityTag string) *SslCertificatesAggregatedListCall
- func (c *SslCertificatesAggregatedListCall) MaxResults(maxResults int64) *SslCertificatesAggregatedListCall
- func (c *SslCertificatesAggregatedListCall) OrderBy(orderBy string) *SslCertificatesAggregatedListCall
- func (c *SslCertificatesAggregatedListCall) PageToken(pageToken string) *SslCertificatesAggregatedListCall
- func (c *SslCertificatesAggregatedListCall) Pages(ctx context.Context, f func(*SslCertificateAggregatedList) error) 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
- func (c *SslCertificatesDeleteCall) RequestId(requestId string) *SslCertificatesDeleteCall
- 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
- func (c *SslCertificatesInsertCall) RequestId(requestId string) *SslCertificatesInsertCall
- 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 SslCertificatesScopedList
- type SslCertificatesScopedListWarning
- type SslCertificatesScopedListWarningData
- type SslCertificatesService
- func (r *SslCertificatesService) AggregatedList(project string) *SslCertificatesAggregatedListCall
- 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
- func (r *SslCertificatesService) TestIamPermissions(project string, resource string, ...) *SslCertificatesTestIamPermissionsCall
- type SslCertificatesTestIamPermissionsCall
- func (c *SslCertificatesTestIamPermissionsCall) Context(ctx context.Context) *SslCertificatesTestIamPermissionsCall
- func (c *SslCertificatesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *SslCertificatesTestIamPermissionsCall) Fields(s ...googleapi.Field) *SslCertificatesTestIamPermissionsCall
- func (c *SslCertificatesTestIamPermissionsCall) Header() http.Header
- type SslPoliciesDeleteCall
- func (c *SslPoliciesDeleteCall) Context(ctx context.Context) *SslPoliciesDeleteCall
- func (c *SslPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SslPoliciesDeleteCall) Fields(s ...googleapi.Field) *SslPoliciesDeleteCall
- func (c *SslPoliciesDeleteCall) Header() http.Header
- func (c *SslPoliciesDeleteCall) RequestId(requestId string) *SslPoliciesDeleteCall
- type SslPoliciesGetCall
- func (c *SslPoliciesGetCall) Context(ctx context.Context) *SslPoliciesGetCall
- func (c *SslPoliciesGetCall) Do(opts ...googleapi.CallOption) (*SslPolicy, error)
- func (c *SslPoliciesGetCall) Fields(s ...googleapi.Field) *SslPoliciesGetCall
- func (c *SslPoliciesGetCall) Header() http.Header
- func (c *SslPoliciesGetCall) IfNoneMatch(entityTag string) *SslPoliciesGetCall
- type SslPoliciesInsertCall
- func (c *SslPoliciesInsertCall) Context(ctx context.Context) *SslPoliciesInsertCall
- func (c *SslPoliciesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SslPoliciesInsertCall) Fields(s ...googleapi.Field) *SslPoliciesInsertCall
- func (c *SslPoliciesInsertCall) Header() http.Header
- func (c *SslPoliciesInsertCall) RequestId(requestId string) *SslPoliciesInsertCall
- type SslPoliciesList
- type SslPoliciesListAvailableFeaturesCall
- func (c *SslPoliciesListAvailableFeaturesCall) Context(ctx context.Context) *SslPoliciesListAvailableFeaturesCall
- func (c *SslPoliciesListAvailableFeaturesCall) Do(opts ...googleapi.CallOption) (*SslPoliciesListAvailableFeaturesResponse, error)
- func (c *SslPoliciesListAvailableFeaturesCall) Fields(s ...googleapi.Field) *SslPoliciesListAvailableFeaturesCall
- func (c *SslPoliciesListAvailableFeaturesCall) Filter(filter string) *SslPoliciesListAvailableFeaturesCall
- func (c *SslPoliciesListAvailableFeaturesCall) Header() http.Header
- func (c *SslPoliciesListAvailableFeaturesCall) IfNoneMatch(entityTag string) *SslPoliciesListAvailableFeaturesCall
- func (c *SslPoliciesListAvailableFeaturesCall) MaxResults(maxResults int64) *SslPoliciesListAvailableFeaturesCall
- func (c *SslPoliciesListAvailableFeaturesCall) OrderBy(orderBy string) *SslPoliciesListAvailableFeaturesCall
- func (c *SslPoliciesListAvailableFeaturesCall) PageToken(pageToken string) *SslPoliciesListAvailableFeaturesCall
- type SslPoliciesListAvailableFeaturesResponse
- type SslPoliciesListCall
- func (c *SslPoliciesListCall) Context(ctx context.Context) *SslPoliciesListCall
- func (c *SslPoliciesListCall) Do(opts ...googleapi.CallOption) (*SslPoliciesList, error)
- func (c *SslPoliciesListCall) Fields(s ...googleapi.Field) *SslPoliciesListCall
- func (c *SslPoliciesListCall) Filter(filter string) *SslPoliciesListCall
- func (c *SslPoliciesListCall) Header() http.Header
- func (c *SslPoliciesListCall) IfNoneMatch(entityTag string) *SslPoliciesListCall
- func (c *SslPoliciesListCall) MaxResults(maxResults int64) *SslPoliciesListCall
- func (c *SslPoliciesListCall) OrderBy(orderBy string) *SslPoliciesListCall
- func (c *SslPoliciesListCall) PageToken(pageToken string) *SslPoliciesListCall
- func (c *SslPoliciesListCall) Pages(ctx context.Context, f func(*SslPoliciesList) error) error
- type SslPoliciesListWarning
- type SslPoliciesListWarningData
- type SslPoliciesPatchCall
- func (c *SslPoliciesPatchCall) Context(ctx context.Context) *SslPoliciesPatchCall
- func (c *SslPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SslPoliciesPatchCall) Fields(s ...googleapi.Field) *SslPoliciesPatchCall
- func (c *SslPoliciesPatchCall) Header() http.Header
- func (c *SslPoliciesPatchCall) RequestId(requestId string) *SslPoliciesPatchCall
- type SslPoliciesService
- func (r *SslPoliciesService) Delete(project string, sslPolicy string) *SslPoliciesDeleteCall
- func (r *SslPoliciesService) Get(project string, sslPolicy string) *SslPoliciesGetCall
- func (r *SslPoliciesService) Insert(project string, sslpolicy *SslPolicy) *SslPoliciesInsertCall
- func (r *SslPoliciesService) List(project string) *SslPoliciesListCall
- func (r *SslPoliciesService) ListAvailableFeatures(project string) *SslPoliciesListAvailableFeaturesCall
- func (r *SslPoliciesService) Patch(project string, sslPolicy string, sslpolicy *SslPolicy) *SslPoliciesPatchCall
- func (r *SslPoliciesService) TestIamPermissions(project string, resource string, ...) *SslPoliciesTestIamPermissionsCall
- type SslPoliciesTestIamPermissionsCall
- func (c *SslPoliciesTestIamPermissionsCall) Context(ctx context.Context) *SslPoliciesTestIamPermissionsCall
- func (c *SslPoliciesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *SslPoliciesTestIamPermissionsCall) Fields(s ...googleapi.Field) *SslPoliciesTestIamPermissionsCall
- func (c *SslPoliciesTestIamPermissionsCall) Header() http.Header
- type SslPolicy
- type SslPolicyReference
- type SslPolicyWarnings
- type SslPolicyWarningsData
- type Subnetwork
- type SubnetworkAggregatedList
- type SubnetworkAggregatedListWarning
- type SubnetworkAggregatedListWarningData
- type SubnetworkList
- type SubnetworkListWarning
- type SubnetworkListWarningData
- type SubnetworkLogConfig
- type SubnetworkSecondaryRange
- 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
- func (c *SubnetworksDeleteCall) RequestId(requestId string) *SubnetworksDeleteCall
- 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
- func (c *SubnetworksExpandIpCidrRangeCall) RequestId(requestId string) *SubnetworksExpandIpCidrRangeCall
- type SubnetworksExpandIpCidrRangeRequest
- 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 SubnetworksGetIamPolicyCall
- func (c *SubnetworksGetIamPolicyCall) Context(ctx context.Context) *SubnetworksGetIamPolicyCall
- func (c *SubnetworksGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *SubnetworksGetIamPolicyCall) Fields(s ...googleapi.Field) *SubnetworksGetIamPolicyCall
- func (c *SubnetworksGetIamPolicyCall) Header() http.Header
- func (c *SubnetworksGetIamPolicyCall) IfNoneMatch(entityTag string) *SubnetworksGetIamPolicyCall
- 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
- func (c *SubnetworksInsertCall) RequestId(requestId string) *SubnetworksInsertCall
- 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 SubnetworksListUsableCall
- func (c *SubnetworksListUsableCall) Context(ctx context.Context) *SubnetworksListUsableCall
- func (c *SubnetworksListUsableCall) Do(opts ...googleapi.CallOption) (*UsableSubnetworksAggregatedList, error)
- func (c *SubnetworksListUsableCall) Fields(s ...googleapi.Field) *SubnetworksListUsableCall
- func (c *SubnetworksListUsableCall) Filter(filter string) *SubnetworksListUsableCall
- func (c *SubnetworksListUsableCall) Header() http.Header
- func (c *SubnetworksListUsableCall) IfNoneMatch(entityTag string) *SubnetworksListUsableCall
- func (c *SubnetworksListUsableCall) MaxResults(maxResults int64) *SubnetworksListUsableCall
- func (c *SubnetworksListUsableCall) OrderBy(orderBy string) *SubnetworksListUsableCall
- func (c *SubnetworksListUsableCall) PageToken(pageToken string) *SubnetworksListUsableCall
- func (c *SubnetworksListUsableCall) Pages(ctx context.Context, f func(*UsableSubnetworksAggregatedList) error) error
- type SubnetworksPatchCall
- func (c *SubnetworksPatchCall) Context(ctx context.Context) *SubnetworksPatchCall
- func (c *SubnetworksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *SubnetworksPatchCall) DrainTimeoutSeconds(drainTimeoutSeconds int64) *SubnetworksPatchCall
- func (c *SubnetworksPatchCall) Fields(s ...googleapi.Field) *SubnetworksPatchCall
- func (c *SubnetworksPatchCall) Header() http.Header
- func (c *SubnetworksPatchCall) RequestId(requestId string) *SubnetworksPatchCall
- type SubnetworksScopedList
- type SubnetworksScopedListWarning
- type SubnetworksScopedListWarningData
- type 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, ...) *SubnetworksExpandIpCidrRangeCall
- func (r *SubnetworksService) Get(project string, region string, subnetwork string) *SubnetworksGetCall
- func (r *SubnetworksService) GetIamPolicy(project string, region string, resource string) *SubnetworksGetIamPolicyCall
- func (r *SubnetworksService) Insert(project string, region string, subnetwork *Subnetwork) *SubnetworksInsertCall
- func (r *SubnetworksService) List(project string, region string) *SubnetworksListCall
- func (r *SubnetworksService) ListUsable(project string) *SubnetworksListUsableCall
- func (r *SubnetworksService) Patch(project string, region string, subnetwork string, subnetwork2 *Subnetwork) *SubnetworksPatchCall
- func (r *SubnetworksService) SetIamPolicy(project string, region string, resource string, ...) *SubnetworksSetIamPolicyCall
- func (r *SubnetworksService) SetPrivateIpGoogleAccess(project string, region string, subnetwork string, ...) *SubnetworksSetPrivateIpGoogleAccessCall
- func (r *SubnetworksService) TestIamPermissions(project string, region string, resource string, ...) *SubnetworksTestIamPermissionsCall
- type SubnetworksSetIamPolicyCall
- func (c *SubnetworksSetIamPolicyCall) Context(ctx context.Context) *SubnetworksSetIamPolicyCall
- func (c *SubnetworksSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *SubnetworksSetIamPolicyCall) Fields(s ...googleapi.Field) *SubnetworksSetIamPolicyCall
- func (c *SubnetworksSetIamPolicyCall) Header() http.Header
- 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
- func (c *SubnetworksSetPrivateIpGoogleAccessCall) RequestId(requestId string) *SubnetworksSetPrivateIpGoogleAccessCall
- type SubnetworksSetPrivateIpGoogleAccessRequest
- type SubnetworksTestIamPermissionsCall
- func (c *SubnetworksTestIamPermissionsCall) Context(ctx context.Context) *SubnetworksTestIamPermissionsCall
- func (c *SubnetworksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *SubnetworksTestIamPermissionsCall) Fields(s ...googleapi.Field) *SubnetworksTestIamPermissionsCall
- func (c *SubnetworksTestIamPermissionsCall) Header() http.Header
- type TCPHealthCheck
- type Tags
- type TargetHttpProxiesAggregatedListCall
- func (c *TargetHttpProxiesAggregatedListCall) Context(ctx context.Context) *TargetHttpProxiesAggregatedListCall
- func (c *TargetHttpProxiesAggregatedListCall) Do(opts ...googleapi.CallOption) (*TargetHttpProxyAggregatedList, error)
- func (c *TargetHttpProxiesAggregatedListCall) Fields(s ...googleapi.Field) *TargetHttpProxiesAggregatedListCall
- func (c *TargetHttpProxiesAggregatedListCall) Filter(filter string) *TargetHttpProxiesAggregatedListCall
- func (c *TargetHttpProxiesAggregatedListCall) Header() http.Header
- func (c *TargetHttpProxiesAggregatedListCall) IfNoneMatch(entityTag string) *TargetHttpProxiesAggregatedListCall
- func (c *TargetHttpProxiesAggregatedListCall) MaxResults(maxResults int64) *TargetHttpProxiesAggregatedListCall
- func (c *TargetHttpProxiesAggregatedListCall) OrderBy(orderBy string) *TargetHttpProxiesAggregatedListCall
- func (c *TargetHttpProxiesAggregatedListCall) PageToken(pageToken string) *TargetHttpProxiesAggregatedListCall
- func (c *TargetHttpProxiesAggregatedListCall) Pages(ctx context.Context, f func(*TargetHttpProxyAggregatedList) error) 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
- func (c *TargetHttpProxiesDeleteCall) RequestId(requestId string) *TargetHttpProxiesDeleteCall
- 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
- func (c *TargetHttpProxiesInsertCall) RequestId(requestId string) *TargetHttpProxiesInsertCall
- 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 TargetHttpProxiesScopedList
- type TargetHttpProxiesScopedListWarning
- type TargetHttpProxiesScopedListWarningData
- type TargetHttpProxiesService
- func (r *TargetHttpProxiesService) AggregatedList(project string) *TargetHttpProxiesAggregatedListCall
- 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
- func (r *TargetHttpProxiesService) TestIamPermissions(project string, resource string, ...) *TargetHttpProxiesTestIamPermissionsCall
- 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
- func (c *TargetHttpProxiesSetUrlMapCall) RequestId(requestId string) *TargetHttpProxiesSetUrlMapCall
- type TargetHttpProxiesTestIamPermissionsCall
- func (c *TargetHttpProxiesTestIamPermissionsCall) Context(ctx context.Context) *TargetHttpProxiesTestIamPermissionsCall
- func (c *TargetHttpProxiesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *TargetHttpProxiesTestIamPermissionsCall) Fields(s ...googleapi.Field) *TargetHttpProxiesTestIamPermissionsCall
- func (c *TargetHttpProxiesTestIamPermissionsCall) Header() http.Header
- type TargetHttpProxy
- type TargetHttpProxyAggregatedList
- type TargetHttpProxyAggregatedListWarning
- type TargetHttpProxyAggregatedListWarningData
- type TargetHttpProxyList
- type TargetHttpProxyListWarning
- type TargetHttpProxyListWarningData
- type TargetHttpsProxiesAggregatedListCall
- func (c *TargetHttpsProxiesAggregatedListCall) Context(ctx context.Context) *TargetHttpsProxiesAggregatedListCall
- func (c *TargetHttpsProxiesAggregatedListCall) Do(opts ...googleapi.CallOption) (*TargetHttpsProxyAggregatedList, error)
- func (c *TargetHttpsProxiesAggregatedListCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesAggregatedListCall
- func (c *TargetHttpsProxiesAggregatedListCall) Filter(filter string) *TargetHttpsProxiesAggregatedListCall
- func (c *TargetHttpsProxiesAggregatedListCall) Header() http.Header
- func (c *TargetHttpsProxiesAggregatedListCall) IfNoneMatch(entityTag string) *TargetHttpsProxiesAggregatedListCall
- func (c *TargetHttpsProxiesAggregatedListCall) MaxResults(maxResults int64) *TargetHttpsProxiesAggregatedListCall
- func (c *TargetHttpsProxiesAggregatedListCall) OrderBy(orderBy string) *TargetHttpsProxiesAggregatedListCall
- func (c *TargetHttpsProxiesAggregatedListCall) PageToken(pageToken string) *TargetHttpsProxiesAggregatedListCall
- func (c *TargetHttpsProxiesAggregatedListCall) Pages(ctx context.Context, f func(*TargetHttpsProxyAggregatedList) error) 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
- func (c *TargetHttpsProxiesDeleteCall) RequestId(requestId string) *TargetHttpsProxiesDeleteCall
- 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
- func (c *TargetHttpsProxiesInsertCall) RequestId(requestId string) *TargetHttpsProxiesInsertCall
- 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 TargetHttpsProxiesScopedList
- type TargetHttpsProxiesScopedListWarning
- type TargetHttpsProxiesScopedListWarningData
- type TargetHttpsProxiesService
- func (r *TargetHttpsProxiesService) AggregatedList(project string) *TargetHttpsProxiesAggregatedListCall
- 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) SetQuicOverride(project string, targetHttpsProxy string, ...) *TargetHttpsProxiesSetQuicOverrideCall
- func (r *TargetHttpsProxiesService) SetSslCertificates(project string, targetHttpsProxy string, ...) *TargetHttpsProxiesSetSslCertificatesCall
- func (r *TargetHttpsProxiesService) SetSslPolicy(project string, targetHttpsProxy string, ...) *TargetHttpsProxiesSetSslPolicyCall
- func (r *TargetHttpsProxiesService) SetUrlMap(project string, targetHttpsProxy string, urlmapreference *UrlMapReference) *TargetHttpsProxiesSetUrlMapCall
- func (r *TargetHttpsProxiesService) TestIamPermissions(project string, resource string, ...) *TargetHttpsProxiesTestIamPermissionsCall
- type TargetHttpsProxiesSetQuicOverrideCall
- func (c *TargetHttpsProxiesSetQuicOverrideCall) Context(ctx context.Context) *TargetHttpsProxiesSetQuicOverrideCall
- func (c *TargetHttpsProxiesSetQuicOverrideCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *TargetHttpsProxiesSetQuicOverrideCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesSetQuicOverrideCall
- func (c *TargetHttpsProxiesSetQuicOverrideCall) Header() http.Header
- func (c *TargetHttpsProxiesSetQuicOverrideCall) RequestId(requestId string) *TargetHttpsProxiesSetQuicOverrideCall
- type TargetHttpsProxiesSetQuicOverrideRequest
- 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
- func (c *TargetHttpsProxiesSetSslCertificatesCall) RequestId(requestId string) *TargetHttpsProxiesSetSslCertificatesCall
- type TargetHttpsProxiesSetSslCertificatesRequest
- type TargetHttpsProxiesSetSslPolicyCall
- func (c *TargetHttpsProxiesSetSslPolicyCall) Context(ctx context.Context) *TargetHttpsProxiesSetSslPolicyCall
- func (c *TargetHttpsProxiesSetSslPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *TargetHttpsProxiesSetSslPolicyCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesSetSslPolicyCall
- func (c *TargetHttpsProxiesSetSslPolicyCall) Header() http.Header
- func (c *TargetHttpsProxiesSetSslPolicyCall) RequestId(requestId string) *TargetHttpsProxiesSetSslPolicyCall
- 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
- func (c *TargetHttpsProxiesSetUrlMapCall) RequestId(requestId string) *TargetHttpsProxiesSetUrlMapCall
- type TargetHttpsProxiesTestIamPermissionsCall
- func (c *TargetHttpsProxiesTestIamPermissionsCall) Context(ctx context.Context) *TargetHttpsProxiesTestIamPermissionsCall
- func (c *TargetHttpsProxiesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *TargetHttpsProxiesTestIamPermissionsCall) Fields(s ...googleapi.Field) *TargetHttpsProxiesTestIamPermissionsCall
- func (c *TargetHttpsProxiesTestIamPermissionsCall) Header() http.Header
- type TargetHttpsProxy
- type TargetHttpsProxyAggregatedList
- type TargetHttpsProxyAggregatedListWarning
- type TargetHttpsProxyAggregatedListWarningData
- type TargetHttpsProxyList
- type TargetHttpsProxyListWarning
- type TargetHttpsProxyListWarningData
- type TargetInstance
- type TargetInstanceAggregatedList
- type TargetInstanceAggregatedListWarning
- type TargetInstanceAggregatedListWarningData
- type TargetInstanceList
- type TargetInstanceListWarning
- type TargetInstanceListWarningData
- 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
- func (c *TargetInstancesDeleteCall) RequestId(requestId string) *TargetInstancesDeleteCall
- 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
- func (c *TargetInstancesInsertCall) RequestId(requestId string) *TargetInstancesInsertCall
- 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
- type TargetInstancesScopedListWarning
- type TargetInstancesScopedListWarningData
- type 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
- func (r *TargetInstancesService) TestIamPermissions(project string, zone string, resource string, ...) *TargetInstancesTestIamPermissionsCall
- type TargetInstancesTestIamPermissionsCall
- func (c *TargetInstancesTestIamPermissionsCall) Context(ctx context.Context) *TargetInstancesTestIamPermissionsCall
- func (c *TargetInstancesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *TargetInstancesTestIamPermissionsCall) Fields(s ...googleapi.Field) *TargetInstancesTestIamPermissionsCall
- func (c *TargetInstancesTestIamPermissionsCall) Header() http.Header
- type TargetPool
- type TargetPoolAggregatedList
- type TargetPoolAggregatedListWarning
- type TargetPoolAggregatedListWarningData
- type TargetPoolInstanceHealth
- type TargetPoolList
- type TargetPoolListWarning
- type TargetPoolListWarningData
- 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
- func (c *TargetPoolsAddHealthCheckCall) RequestId(requestId string) *TargetPoolsAddHealthCheckCall
- type TargetPoolsAddHealthCheckRequest
- 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
- func (c *TargetPoolsAddInstanceCall) RequestId(requestId string) *TargetPoolsAddInstanceCall
- type TargetPoolsAddInstanceRequest
- 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
- func (c *TargetPoolsDeleteCall) RequestId(requestId string) *TargetPoolsDeleteCall
- 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
- func (c *TargetPoolsInsertCall) RequestId(requestId string) *TargetPoolsInsertCall
- 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
- func (c *TargetPoolsRemoveHealthCheckCall) RequestId(requestId string) *TargetPoolsRemoveHealthCheckCall
- type TargetPoolsRemoveHealthCheckRequest
- 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
- func (c *TargetPoolsRemoveInstanceCall) RequestId(requestId string) *TargetPoolsRemoveInstanceCall
- type TargetPoolsRemoveInstanceRequest
- type TargetPoolsScopedList
- type TargetPoolsScopedListWarning
- type TargetPoolsScopedListWarningData
- type TargetPoolsService
- func (r *TargetPoolsService) AddHealthCheck(project string, region string, targetPool string, ...) *TargetPoolsAddHealthCheckCall
- func (r *TargetPoolsService) AddInstance(project string, region string, targetPool string, ...) *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, ...) *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, ...) *TargetPoolsRemoveHealthCheckCall
- func (r *TargetPoolsService) RemoveInstance(project string, region string, targetPool string, ...) *TargetPoolsRemoveInstanceCall
- func (r *TargetPoolsService) SetBackup(project string, region string, targetPool string, ...) *TargetPoolsSetBackupCall
- func (r *TargetPoolsService) TestIamPermissions(project string, region string, resource string, ...) *TargetPoolsTestIamPermissionsCall
- 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
- func (c *TargetPoolsSetBackupCall) RequestId(requestId string) *TargetPoolsSetBackupCall
- type TargetPoolsTestIamPermissionsCall
- func (c *TargetPoolsTestIamPermissionsCall) Context(ctx context.Context) *TargetPoolsTestIamPermissionsCall
- func (c *TargetPoolsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *TargetPoolsTestIamPermissionsCall) Fields(s ...googleapi.Field) *TargetPoolsTestIamPermissionsCall
- func (c *TargetPoolsTestIamPermissionsCall) Header() http.Header
- type TargetReference
- 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
- func (c *TargetSslProxiesDeleteCall) RequestId(requestId string) *TargetSslProxiesDeleteCall
- 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
- func (c *TargetSslProxiesInsertCall) RequestId(requestId string) *TargetSslProxiesInsertCall
- 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 (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, ...) *TargetSslProxiesSetBackendServiceCall
- func (r *TargetSslProxiesService) SetProxyHeader(project string, targetSslProxy string, ...) *TargetSslProxiesSetProxyHeaderCall
- func (r *TargetSslProxiesService) SetSslCertificates(project string, targetSslProxy string, ...) *TargetSslProxiesSetSslCertificatesCall
- func (r *TargetSslProxiesService) SetSslPolicy(project string, targetSslProxy string, sslpolicyreference *SslPolicyReference) *TargetSslProxiesSetSslPolicyCall
- func (r *TargetSslProxiesService) TestIamPermissions(project string, resource string, ...) *TargetSslProxiesTestIamPermissionsCall
- 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
- func (c *TargetSslProxiesSetBackendServiceCall) RequestId(requestId string) *TargetSslProxiesSetBackendServiceCall
- type TargetSslProxiesSetBackendServiceRequest
- 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
- func (c *TargetSslProxiesSetProxyHeaderCall) RequestId(requestId string) *TargetSslProxiesSetProxyHeaderCall
- type TargetSslProxiesSetProxyHeaderRequest
- 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
- func (c *TargetSslProxiesSetSslCertificatesCall) RequestId(requestId string) *TargetSslProxiesSetSslCertificatesCall
- type TargetSslProxiesSetSslCertificatesRequest
- type TargetSslProxiesSetSslPolicyCall
- func (c *TargetSslProxiesSetSslPolicyCall) Context(ctx context.Context) *TargetSslProxiesSetSslPolicyCall
- func (c *TargetSslProxiesSetSslPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *TargetSslProxiesSetSslPolicyCall) Fields(s ...googleapi.Field) *TargetSslProxiesSetSslPolicyCall
- func (c *TargetSslProxiesSetSslPolicyCall) Header() http.Header
- func (c *TargetSslProxiesSetSslPolicyCall) RequestId(requestId string) *TargetSslProxiesSetSslPolicyCall
- type TargetSslProxiesTestIamPermissionsCall
- func (c *TargetSslProxiesTestIamPermissionsCall) Context(ctx context.Context) *TargetSslProxiesTestIamPermissionsCall
- func (c *TargetSslProxiesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *TargetSslProxiesTestIamPermissionsCall) Fields(s ...googleapi.Field) *TargetSslProxiesTestIamPermissionsCall
- func (c *TargetSslProxiesTestIamPermissionsCall) Header() http.Header
- type TargetSslProxy
- type TargetSslProxyList
- type TargetSslProxyListWarning
- type TargetSslProxyListWarningData
- 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
- func (c *TargetTcpProxiesDeleteCall) RequestId(requestId string) *TargetTcpProxiesDeleteCall
- 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
- func (c *TargetTcpProxiesInsertCall) RequestId(requestId string) *TargetTcpProxiesInsertCall
- 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 (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, ...) *TargetTcpProxiesSetBackendServiceCall
- func (r *TargetTcpProxiesService) SetProxyHeader(project string, targetTcpProxy string, ...) *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
- func (c *TargetTcpProxiesSetBackendServiceCall) RequestId(requestId string) *TargetTcpProxiesSetBackendServiceCall
- type TargetTcpProxiesSetBackendServiceRequest
- 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
- func (c *TargetTcpProxiesSetProxyHeaderCall) RequestId(requestId string) *TargetTcpProxiesSetProxyHeaderCall
- type TargetTcpProxiesSetProxyHeaderRequest
- type TargetTcpProxy
- type TargetTcpProxyList
- type TargetTcpProxyListWarning
- type TargetTcpProxyListWarningData
- type TargetVpnGateway
- type TargetVpnGatewayAggregatedList
- type TargetVpnGatewayAggregatedListWarning
- type TargetVpnGatewayAggregatedListWarningData
- type TargetVpnGatewayList
- type TargetVpnGatewayListWarning
- type TargetVpnGatewayListWarningData
- 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
- func (c *TargetVpnGatewaysDeleteCall) RequestId(requestId string) *TargetVpnGatewaysDeleteCall
- 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
- func (c *TargetVpnGatewaysInsertCall) RequestId(requestId string) *TargetVpnGatewaysInsertCall
- 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
- type TargetVpnGatewaysScopedListWarning
- type TargetVpnGatewaysScopedListWarningData
- type 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
- func (r *TargetVpnGatewaysService) SetLabels(project string, region string, resource string, ...) *TargetVpnGatewaysSetLabelsCall
- func (r *TargetVpnGatewaysService) TestIamPermissions(project string, region string, resource string, ...) *TargetVpnGatewaysTestIamPermissionsCall
- type TargetVpnGatewaysSetLabelsCall
- func (c *TargetVpnGatewaysSetLabelsCall) Context(ctx context.Context) *TargetVpnGatewaysSetLabelsCall
- func (c *TargetVpnGatewaysSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *TargetVpnGatewaysSetLabelsCall) Fields(s ...googleapi.Field) *TargetVpnGatewaysSetLabelsCall
- func (c *TargetVpnGatewaysSetLabelsCall) Header() http.Header
- func (c *TargetVpnGatewaysSetLabelsCall) RequestId(requestId string) *TargetVpnGatewaysSetLabelsCall
- type TargetVpnGatewaysTestIamPermissionsCall
- func (c *TargetVpnGatewaysTestIamPermissionsCall) Context(ctx context.Context) *TargetVpnGatewaysTestIamPermissionsCall
- func (c *TargetVpnGatewaysTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *TargetVpnGatewaysTestIamPermissionsCall) Fields(s ...googleapi.Field) *TargetVpnGatewaysTestIamPermissionsCall
- func (c *TargetVpnGatewaysTestIamPermissionsCall) Header() http.Header
- type TestFailure
- type TestPermissionsRequest
- type TestPermissionsResponse
- type UrlMap
- type UrlMapList
- type UrlMapListWarning
- type UrlMapListWarningData
- type UrlMapReference
- type UrlMapTest
- type UrlMapValidationResult
- type UrlMapsAggregatedList
- type UrlMapsAggregatedListCall
- func (c *UrlMapsAggregatedListCall) Context(ctx context.Context) *UrlMapsAggregatedListCall
- func (c *UrlMapsAggregatedListCall) Do(opts ...googleapi.CallOption) (*UrlMapsAggregatedList, error)
- func (c *UrlMapsAggregatedListCall) Fields(s ...googleapi.Field) *UrlMapsAggregatedListCall
- func (c *UrlMapsAggregatedListCall) Filter(filter string) *UrlMapsAggregatedListCall
- func (c *UrlMapsAggregatedListCall) Header() http.Header
- func (c *UrlMapsAggregatedListCall) IfNoneMatch(entityTag string) *UrlMapsAggregatedListCall
- func (c *UrlMapsAggregatedListCall) MaxResults(maxResults int64) *UrlMapsAggregatedListCall
- func (c *UrlMapsAggregatedListCall) OrderBy(orderBy string) *UrlMapsAggregatedListCall
- func (c *UrlMapsAggregatedListCall) PageToken(pageToken string) *UrlMapsAggregatedListCall
- func (c *UrlMapsAggregatedListCall) Pages(ctx context.Context, f func(*UrlMapsAggregatedList) error) error
- type UrlMapsAggregatedListWarning
- type UrlMapsAggregatedListWarningData
- 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
- func (c *UrlMapsDeleteCall) RequestId(requestId string) *UrlMapsDeleteCall
- 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
- func (c *UrlMapsInsertCall) RequestId(requestId string) *UrlMapsInsertCall
- 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
- func (c *UrlMapsInvalidateCacheCall) RequestId(requestId string) *UrlMapsInvalidateCacheCall
- 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
- func (c *UrlMapsPatchCall) RequestId(requestId string) *UrlMapsPatchCall
- type UrlMapsScopedList
- type UrlMapsScopedListWarning
- type UrlMapsScopedListWarningData
- type UrlMapsService
- func (r *UrlMapsService) AggregatedList(project string) *UrlMapsAggregatedListCall
- 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) TestIamPermissions(project string, resource string, ...) *UrlMapsTestIamPermissionsCall
- func (r *UrlMapsService) Update(project string, urlMap string, urlmap *UrlMap) *UrlMapsUpdateCall
- func (r *UrlMapsService) Validate(project string, urlMap string, urlmapsvalidaterequest *UrlMapsValidateRequest) *UrlMapsValidateCall
- type UrlMapsTestIamPermissionsCall
- func (c *UrlMapsTestIamPermissionsCall) Context(ctx context.Context) *UrlMapsTestIamPermissionsCall
- func (c *UrlMapsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *UrlMapsTestIamPermissionsCall) Fields(s ...googleapi.Field) *UrlMapsTestIamPermissionsCall
- func (c *UrlMapsTestIamPermissionsCall) Header() http.Header
- 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
- func (c *UrlMapsUpdateCall) RequestId(requestId string) *UrlMapsUpdateCall
- 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
- type UrlMapsValidateResponse
- type UrlRewrite
- type UsableSubnetwork
- type UsableSubnetworkSecondaryRange
- type UsableSubnetworksAggregatedList
- type UsableSubnetworksAggregatedListWarning
- type UsableSubnetworksAggregatedListWarningData
- type UsageExportLocation
- type VmEndpointNatMappings
- type VmEndpointNatMappingsInterfaceNatMappings
- type VmEndpointNatMappingsList
- type VmEndpointNatMappingsListWarning
- type VmEndpointNatMappingsListWarningData
- type VpnGateway
- type VpnGatewayAggregatedList
- type VpnGatewayAggregatedListWarning
- type VpnGatewayAggregatedListWarningData
- type VpnGatewayList
- type VpnGatewayListWarning
- type VpnGatewayListWarningData
- type VpnGatewayStatus
- type VpnGatewayStatusHighAvailabilityRequirementState
- type VpnGatewayStatusTunnel
- type VpnGatewayStatusVpnConnection
- type VpnGatewayVpnGatewayInterface
- type VpnGatewaysAggregatedListCall
- func (c *VpnGatewaysAggregatedListCall) Context(ctx context.Context) *VpnGatewaysAggregatedListCall
- func (c *VpnGatewaysAggregatedListCall) Do(opts ...googleapi.CallOption) (*VpnGatewayAggregatedList, error)
- func (c *VpnGatewaysAggregatedListCall) Fields(s ...googleapi.Field) *VpnGatewaysAggregatedListCall
- func (c *VpnGatewaysAggregatedListCall) Filter(filter string) *VpnGatewaysAggregatedListCall
- func (c *VpnGatewaysAggregatedListCall) Header() http.Header
- func (c *VpnGatewaysAggregatedListCall) IfNoneMatch(entityTag string) *VpnGatewaysAggregatedListCall
- func (c *VpnGatewaysAggregatedListCall) MaxResults(maxResults int64) *VpnGatewaysAggregatedListCall
- func (c *VpnGatewaysAggregatedListCall) OrderBy(orderBy string) *VpnGatewaysAggregatedListCall
- func (c *VpnGatewaysAggregatedListCall) PageToken(pageToken string) *VpnGatewaysAggregatedListCall
- func (c *VpnGatewaysAggregatedListCall) Pages(ctx context.Context, f func(*VpnGatewayAggregatedList) error) error
- type VpnGatewaysDeleteCall
- func (c *VpnGatewaysDeleteCall) Context(ctx context.Context) *VpnGatewaysDeleteCall
- func (c *VpnGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *VpnGatewaysDeleteCall) Fields(s ...googleapi.Field) *VpnGatewaysDeleteCall
- func (c *VpnGatewaysDeleteCall) Header() http.Header
- func (c *VpnGatewaysDeleteCall) RequestId(requestId string) *VpnGatewaysDeleteCall
- type VpnGatewaysGetCall
- func (c *VpnGatewaysGetCall) Context(ctx context.Context) *VpnGatewaysGetCall
- func (c *VpnGatewaysGetCall) Do(opts ...googleapi.CallOption) (*VpnGateway, error)
- func (c *VpnGatewaysGetCall) Fields(s ...googleapi.Field) *VpnGatewaysGetCall
- func (c *VpnGatewaysGetCall) Header() http.Header
- func (c *VpnGatewaysGetCall) IfNoneMatch(entityTag string) *VpnGatewaysGetCall
- type VpnGatewaysGetStatusCall
- func (c *VpnGatewaysGetStatusCall) Context(ctx context.Context) *VpnGatewaysGetStatusCall
- func (c *VpnGatewaysGetStatusCall) Do(opts ...googleapi.CallOption) (*VpnGatewaysGetStatusResponse, error)
- func (c *VpnGatewaysGetStatusCall) Fields(s ...googleapi.Field) *VpnGatewaysGetStatusCall
- func (c *VpnGatewaysGetStatusCall) Header() http.Header
- func (c *VpnGatewaysGetStatusCall) IfNoneMatch(entityTag string) *VpnGatewaysGetStatusCall
- type VpnGatewaysGetStatusResponse
- type VpnGatewaysInsertCall
- func (c *VpnGatewaysInsertCall) Context(ctx context.Context) *VpnGatewaysInsertCall
- func (c *VpnGatewaysInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *VpnGatewaysInsertCall) Fields(s ...googleapi.Field) *VpnGatewaysInsertCall
- func (c *VpnGatewaysInsertCall) Header() http.Header
- func (c *VpnGatewaysInsertCall) RequestId(requestId string) *VpnGatewaysInsertCall
- type VpnGatewaysListCall
- func (c *VpnGatewaysListCall) Context(ctx context.Context) *VpnGatewaysListCall
- func (c *VpnGatewaysListCall) Do(opts ...googleapi.CallOption) (*VpnGatewayList, error)
- func (c *VpnGatewaysListCall) Fields(s ...googleapi.Field) *VpnGatewaysListCall
- func (c *VpnGatewaysListCall) Filter(filter string) *VpnGatewaysListCall
- func (c *VpnGatewaysListCall) Header() http.Header
- func (c *VpnGatewaysListCall) IfNoneMatch(entityTag string) *VpnGatewaysListCall
- func (c *VpnGatewaysListCall) MaxResults(maxResults int64) *VpnGatewaysListCall
- func (c *VpnGatewaysListCall) OrderBy(orderBy string) *VpnGatewaysListCall
- func (c *VpnGatewaysListCall) PageToken(pageToken string) *VpnGatewaysListCall
- func (c *VpnGatewaysListCall) Pages(ctx context.Context, f func(*VpnGatewayList) error) error
- type VpnGatewaysScopedList
- type VpnGatewaysScopedListWarning
- type VpnGatewaysScopedListWarningData
- type VpnGatewaysService
- func (r *VpnGatewaysService) AggregatedList(project string) *VpnGatewaysAggregatedListCall
- func (r *VpnGatewaysService) Delete(project string, region string, vpnGateway string) *VpnGatewaysDeleteCall
- func (r *VpnGatewaysService) Get(project string, region string, vpnGateway string) *VpnGatewaysGetCall
- func (r *VpnGatewaysService) GetStatus(project string, region string, vpnGateway string) *VpnGatewaysGetStatusCall
- func (r *VpnGatewaysService) Insert(project string, region string, vpngateway *VpnGateway) *VpnGatewaysInsertCall
- func (r *VpnGatewaysService) List(project string, region string) *VpnGatewaysListCall
- func (r *VpnGatewaysService) SetLabels(project string, region string, resource string, ...) *VpnGatewaysSetLabelsCall
- type VpnGatewaysSetLabelsCall
- func (c *VpnGatewaysSetLabelsCall) Context(ctx context.Context) *VpnGatewaysSetLabelsCall
- func (c *VpnGatewaysSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *VpnGatewaysSetLabelsCall) Fields(s ...googleapi.Field) *VpnGatewaysSetLabelsCall
- func (c *VpnGatewaysSetLabelsCall) Header() http.Header
- func (c *VpnGatewaysSetLabelsCall) RequestId(requestId string) *VpnGatewaysSetLabelsCall
- type VpnTunnel
- type VpnTunnelAggregatedList
- type VpnTunnelAggregatedListWarning
- type VpnTunnelAggregatedListWarningData
- type VpnTunnelList
- type VpnTunnelListWarning
- type VpnTunnelListWarningData
- 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
- func (c *VpnTunnelsDeleteCall) RequestId(requestId string) *VpnTunnelsDeleteCall
- 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
- func (c *VpnTunnelsInsertCall) RequestId(requestId string) *VpnTunnelsInsertCall
- 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
- type VpnTunnelsScopedListWarning
- type VpnTunnelsScopedListWarningData
- type 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
- func (r *VpnTunnelsService) SetLabels(project string, region string, resource string, ...) *VpnTunnelsSetLabelsCall
- func (r *VpnTunnelsService) TestIamPermissions(project string, region string, resource string, ...) *VpnTunnelsTestIamPermissionsCall
- type VpnTunnelsSetLabelsCall
- func (c *VpnTunnelsSetLabelsCall) Context(ctx context.Context) *VpnTunnelsSetLabelsCall
- func (c *VpnTunnelsSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *VpnTunnelsSetLabelsCall) Fields(s ...googleapi.Field) *VpnTunnelsSetLabelsCall
- func (c *VpnTunnelsSetLabelsCall) Header() http.Header
- func (c *VpnTunnelsSetLabelsCall) RequestId(requestId string) *VpnTunnelsSetLabelsCall
- type VpnTunnelsTestIamPermissionsCall
- func (c *VpnTunnelsTestIamPermissionsCall) Context(ctx context.Context) *VpnTunnelsTestIamPermissionsCall
- func (c *VpnTunnelsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
- func (c *VpnTunnelsTestIamPermissionsCall) Fields(s ...googleapi.Field) *VpnTunnelsTestIamPermissionsCall
- func (c *VpnTunnelsTestIamPermissionsCall) Header() http.Header
- type WafExpressionSet
- type WafExpressionSetExpression
- type WeightedBackendService
- type XpnHostList
- type XpnHostListWarning
- type XpnHostListWarningData
- type XpnResourceId
- type Zone
- type ZoneList
- type ZoneListWarning
- type ZoneListWarningData
- 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 (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
- type ZoneSetPolicyRequest
- 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
Constants ¶
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" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcceleratorConfig ¶
type AcceleratorConfig struct { // AcceleratorCount: The number of the guest accelerator cards exposed // to this instance. AcceleratorCount int64 `json:"acceleratorCount,omitempty"` // AcceleratorType: Full or partial URL of the accelerator type resource // to attach to this instance. For example: // projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla- // p100 If you are creating an instance template, specify only the // accelerator name. See GPUs on Compute Engine for a full list of // accelerator types. AcceleratorType string `json:"acceleratorType,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceleratorCount") 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. "AcceleratorCount") 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:"-"` }
AcceleratorConfig: A specification of the type and number of accelerator cards attached to the instance.
func (*AcceleratorConfig) MarshalJSON ¶
func (s *AcceleratorConfig) MarshalJSON() ([]byte, error)
type AcceleratorType ¶
type AcceleratorType struct { // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text // format. CreationTimestamp string `json:"creationTimestamp,omitempty"` // Deprecated: [Output Only] The deprecation status associated with this // accelerator type. Deprecated *DeprecationStatus `json:"deprecated,omitempty"` // Description: [Output Only] An optional textual description of 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] The type of the resource. Always // compute#acceleratorType for accelerator types. Kind string `json:"kind,omitempty"` // MaximumCardsPerInstance: [Output Only] Maximum accelerator cards // allowed per instance. MaximumCardsPerInstance int64 `json:"maximumCardsPerInstance,omitempty"` // Name: [Output Only] Name of the resource. Name string `json:"name,omitempty"` // SelfLink: [Output Only] Server-defined fully-qualified URL for this // resource. SelfLink string `json:"selfLink,omitempty"` // Zone: [Output Only] The name of the zone where the accelerator type // resides, such as us-central1-a. You must specify this field as part // of the HTTP request URL. It is not settable as a field in the request // body. 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:"-"` }
AcceleratorType: An Accelerator Type resource. (== resource_for beta.acceleratorTypes ==) (== resource_for v1.acceleratorTypes ==)
func (*AcceleratorType) MarshalJSON ¶
func (s *AcceleratorType) MarshalJSON() ([]byte, error)
type AcceleratorTypeAggregatedList ¶
type AcceleratorTypeAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of AcceleratorTypesScopedList resources. Items map[string]AcceleratorTypesScopedList `json:"items,omitempty"` // Kind: [Output Only] Type of resource. Always // compute#acceleratorTypeAggregatedList for aggregated lists of // accelerator 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"` // Warning: [Output Only] Informational warning message. Warning *AcceleratorTypeAggregatedListWarning `json:"warning,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 (*AcceleratorTypeAggregatedList) MarshalJSON ¶
func (s *AcceleratorTypeAggregatedList) MarshalJSON() ([]byte, error)
type AcceleratorTypeAggregatedListWarning ¶
type AcceleratorTypeAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*AcceleratorTypeAggregatedListWarningData `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:"-"` }
AcceleratorTypeAggregatedListWarning: [Output Only] Informational warning message.
func (*AcceleratorTypeAggregatedListWarning) MarshalJSON ¶
func (s *AcceleratorTypeAggregatedListWarning) MarshalJSON() ([]byte, error)
type AcceleratorTypeAggregatedListWarningData ¶
type AcceleratorTypeAggregatedListWarningData 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 (*AcceleratorTypeAggregatedListWarningData) MarshalJSON ¶
func (s *AcceleratorTypeAggregatedListWarningData) MarshalJSON() ([]byte, error)
type AcceleratorTypeList ¶
type AcceleratorTypeList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of AcceleratorType resources. Items []*AcceleratorType `json:"items,omitempty"` // Kind: [Output Only] Type of resource. Always // compute#acceleratorTypeList for lists of accelerator 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"` // Warning: [Output Only] Informational warning message. Warning *AcceleratorTypeListWarning `json:"warning,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:"-"` }
AcceleratorTypeList: Contains a list of accelerator types.
func (*AcceleratorTypeList) MarshalJSON ¶
func (s *AcceleratorTypeList) MarshalJSON() ([]byte, error)
type AcceleratorTypeListWarning ¶
type AcceleratorTypeListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*AcceleratorTypeListWarningData `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:"-"` }
AcceleratorTypeListWarning: [Output Only] Informational warning message.
func (*AcceleratorTypeListWarning) MarshalJSON ¶
func (s *AcceleratorTypeListWarning) MarshalJSON() ([]byte, error)
type AcceleratorTypeListWarningData ¶
type AcceleratorTypeListWarningData 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 (*AcceleratorTypeListWarningData) MarshalJSON ¶
func (s *AcceleratorTypeListWarningData) MarshalJSON() ([]byte, error)
type AcceleratorTypesAggregatedListCall ¶
type AcceleratorTypesAggregatedListCall struct {
// contains filtered or unexported fields
}
func (*AcceleratorTypesAggregatedListCall) Context ¶
func (c *AcceleratorTypesAggregatedListCall) Context(ctx context.Context) *AcceleratorTypesAggregatedListCall
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 (*AcceleratorTypesAggregatedListCall) Do ¶
func (c *AcceleratorTypesAggregatedListCall) Do(opts ...googleapi.CallOption) (*AcceleratorTypeAggregatedList, error)
Do executes the "compute.acceleratorTypes.aggregatedList" call. Exactly one of *AcceleratorTypeAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AcceleratorTypeAggregatedList.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 (*AcceleratorTypesAggregatedListCall) Fields ¶
func (c *AcceleratorTypesAggregatedListCall) Fields(s ...googleapi.Field) *AcceleratorTypesAggregatedListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AcceleratorTypesAggregatedListCall) Filter ¶
func (c *AcceleratorTypesAggregatedListCall) Filter(filter string) *AcceleratorTypesAggregatedListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*AcceleratorTypesAggregatedListCall) Header ¶
func (c *AcceleratorTypesAggregatedListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AcceleratorTypesAggregatedListCall) IfNoneMatch ¶
func (c *AcceleratorTypesAggregatedListCall) IfNoneMatch(entityTag string) *AcceleratorTypesAggregatedListCall
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 (*AcceleratorTypesAggregatedListCall) MaxResults ¶
func (c *AcceleratorTypesAggregatedListCall) MaxResults(maxResults int64) *AcceleratorTypesAggregatedListCall
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 (*AcceleratorTypesAggregatedListCall) OrderBy ¶
func (c *AcceleratorTypesAggregatedListCall) OrderBy(orderBy string) *AcceleratorTypesAggregatedListCall
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 (*AcceleratorTypesAggregatedListCall) PageToken ¶
func (c *AcceleratorTypesAggregatedListCall) PageToken(pageToken string) *AcceleratorTypesAggregatedListCall
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 (*AcceleratorTypesAggregatedListCall) Pages ¶
func (c *AcceleratorTypesAggregatedListCall) Pages(ctx context.Context, f func(*AcceleratorTypeAggregatedList) 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 AcceleratorTypesGetCall ¶
type AcceleratorTypesGetCall struct {
// contains filtered or unexported fields
}
func (*AcceleratorTypesGetCall) Context ¶
func (c *AcceleratorTypesGetCall) Context(ctx context.Context) *AcceleratorTypesGetCall
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 (*AcceleratorTypesGetCall) Do ¶
func (c *AcceleratorTypesGetCall) Do(opts ...googleapi.CallOption) (*AcceleratorType, error)
Do executes the "compute.acceleratorTypes.get" call. Exactly one of *AcceleratorType or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AcceleratorType.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 (*AcceleratorTypesGetCall) Fields ¶
func (c *AcceleratorTypesGetCall) Fields(s ...googleapi.Field) *AcceleratorTypesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AcceleratorTypesGetCall) Header ¶
func (c *AcceleratorTypesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AcceleratorTypesGetCall) IfNoneMatch ¶
func (c *AcceleratorTypesGetCall) IfNoneMatch(entityTag string) *AcceleratorTypesGetCall
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 AcceleratorTypesListCall ¶
type AcceleratorTypesListCall struct {
// contains filtered or unexported fields
}
func (*AcceleratorTypesListCall) Context ¶
func (c *AcceleratorTypesListCall) Context(ctx context.Context) *AcceleratorTypesListCall
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 (*AcceleratorTypesListCall) Do ¶
func (c *AcceleratorTypesListCall) Do(opts ...googleapi.CallOption) (*AcceleratorTypeList, error)
Do executes the "compute.acceleratorTypes.list" call. Exactly one of *AcceleratorTypeList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *AcceleratorTypeList.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 (*AcceleratorTypesListCall) Fields ¶
func (c *AcceleratorTypesListCall) Fields(s ...googleapi.Field) *AcceleratorTypesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AcceleratorTypesListCall) Filter ¶
func (c *AcceleratorTypesListCall) Filter(filter string) *AcceleratorTypesListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*AcceleratorTypesListCall) Header ¶
func (c *AcceleratorTypesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AcceleratorTypesListCall) IfNoneMatch ¶
func (c *AcceleratorTypesListCall) IfNoneMatch(entityTag string) *AcceleratorTypesListCall
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 (*AcceleratorTypesListCall) MaxResults ¶
func (c *AcceleratorTypesListCall) MaxResults(maxResults int64) *AcceleratorTypesListCall
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 (*AcceleratorTypesListCall) OrderBy ¶
func (c *AcceleratorTypesListCall) OrderBy(orderBy string) *AcceleratorTypesListCall
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 (*AcceleratorTypesListCall) PageToken ¶
func (c *AcceleratorTypesListCall) PageToken(pageToken string) *AcceleratorTypesListCall
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 (*AcceleratorTypesListCall) Pages ¶
func (c *AcceleratorTypesListCall) Pages(ctx context.Context, f func(*AcceleratorTypeList) 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 AcceleratorTypesScopedList ¶
type AcceleratorTypesScopedList struct { // AcceleratorTypes: [Output Only] A list of accelerator types contained // in this scope. AcceleratorTypes []*AcceleratorType `json:"acceleratorTypes,omitempty"` // Warning: [Output Only] An informational warning that appears when the // accelerator types list is empty. Warning *AcceleratorTypesScopedListWarning `json:"warning,omitempty"` // ForceSendFields is a list of field names (e.g. "AcceleratorTypes") 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. "AcceleratorTypes") 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 (*AcceleratorTypesScopedList) MarshalJSON ¶
func (s *AcceleratorTypesScopedList) MarshalJSON() ([]byte, error)
type AcceleratorTypesScopedListWarning ¶
type AcceleratorTypesScopedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*AcceleratorTypesScopedListWarningData `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:"-"` }
AcceleratorTypesScopedListWarning: [Output Only] An informational warning that appears when the accelerator types list is empty.
func (*AcceleratorTypesScopedListWarning) MarshalJSON ¶
func (s *AcceleratorTypesScopedListWarning) MarshalJSON() ([]byte, error)
type AcceleratorTypesScopedListWarningData ¶
type AcceleratorTypesScopedListWarningData 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 (*AcceleratorTypesScopedListWarningData) MarshalJSON ¶
func (s *AcceleratorTypesScopedListWarningData) MarshalJSON() ([]byte, error)
type AcceleratorTypesService ¶
type AcceleratorTypesService struct {
// contains filtered or unexported fields
}
func NewAcceleratorTypesService ¶
func NewAcceleratorTypesService(s *Service) *AcceleratorTypesService
func (*AcceleratorTypesService) AggregatedList ¶
func (r *AcceleratorTypesService) AggregatedList(project string) *AcceleratorTypesAggregatedListCall
AggregatedList: Retrieves an aggregated list of accelerator types.
func (*AcceleratorTypesService) Get ¶
func (r *AcceleratorTypesService) Get(project string, zone string, acceleratorType string) *AcceleratorTypesGetCall
Get: Returns the specified accelerator type.
func (*AcceleratorTypesService) List ¶
func (r *AcceleratorTypesService) List(project string, zone string) *AcceleratorTypesListCall
List: Retrieves a list of accelerator types available to the specified project.
type AccessConfig ¶
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"` // NetworkTier: This signifies the networking tier used for configuring // this access configuration and can only take the following values: // PREMIUM, STANDARD. // // If an AccessConfig is specified without a valid external IP address, // an ephemeral IP will be created with this networkTier. // // If an AccessConfig with a valid external IP address is specified, it // must match that of the networkTier associated with the Address // resource owning that IP. // // Possible values: // "PREMIUM" // "STANDARD" NetworkTier string `json:"networkTier,omitempty"` // PublicPtrDomainName: The DNS domain name for the public PTR record. // This field can only be set when the set_public_ptr field is enabled. PublicPtrDomainName string `json:"publicPtrDomainName,omitempty"` // SetPublicPtr: Specifies whether a public DNS ?PTR? record should be // created to map the external IP address of the instance to a DNS // domain name. SetPublicPtr bool `json:"setPublicPtr,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:"-"` }
AccessConfig: An access configuration attached to an instance's network interface. Only one access config per instance is supported.
func (*AccessConfig) MarshalJSON ¶
func (s *AccessConfig) MarshalJSON() ([]byte, error)
type Address ¶
type Address struct { // Address: The static IP address represented by this resource. Address string `json:"address,omitempty"` // AddressType: The type of address to reserve, either INTERNAL or // EXTERNAL. If unspecified, defaults to EXTERNAL. // // Possible values: // "EXTERNAL" // "INTERNAL" // "UNSPECIFIED_TYPE" AddressType string `json:"addressType,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"` // LabelFingerprint: A fingerprint for the labels being applied to this // Address, 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, otherwise the request will fail with error // 412 conditionNotMet. // // To see the latest fingerprint, make a get() request to retrieve an // Address. LabelFingerprint string `json:"labelFingerprint,omitempty"` // Labels: Labels to apply to this Address resource. These can be later // modified by the setLabels method. Each label key/value must comply // with RFC1035. Label values may be empty. Labels map[string]string `json:"labels,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: The URL of the network in which to reserve the address. This // field can only be used with INTERNAL type with VPC_PEERING purpose. Network string `json:"network,omitempty"` // NetworkTier: This signifies the networking tier used for configuring // this Address and can only take the following values: PREMIUM, // STANDARD. Global forwarding rules can only be Premium Tier. Regional // forwarding rules can be either Premium or Standard Tier. Standard // Tier addresses applied to regional forwarding rules can be used with // any external load balancer. Regional forwarding rules in Premium Tier // can only be used with a Network load balancer. // // If this field is not specified, it is assumed to be PREMIUM. // // Possible values: // "PREMIUM" // "STANDARD" NetworkTier string `json:"networkTier,omitempty"` // PrefixLength: The prefix length if the resource reprensents an IP // range. PrefixLength int64 `json:"prefixLength,omitempty"` // Purpose: The purpose of resource, only used with INTERNAL type. // // Possible values: // "DNS_RESOLVER" // "GCE_ENDPOINT" // "NAT_AUTO" // "VPC_PEERING" Purpose string `json:"purpose,omitempty"` // Region: [Output Only] URL of the region where the regional address // resides. This field is not applicable to global addresses. You must // specify this field as part of the HTTP request URL. You cannot set // this field in the request body. 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 one of // RESERVING, RESERVED, or IN_USE. An address that is RESERVING is // currently in the process of being reserved. A RESERVED address 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" // "RESERVING" Status string `json:"status,omitempty"` // Subnetwork: The URL of the subnetwork in which to reserve the // address. If an IP address is specified, it must be within the // subnetwork's IP range. This field can only be used with INTERNAL type // with GCE_ENDPOINT/DNS_RESOLVER purposes. Subnetwork string `json:"subnetwork,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:"-"` }
Address: A reserved address resource. (== resource_for beta.addresses ==) (== resource_for v1.addresses ==) (== resource_for beta.globalAddresses ==) (== resource_for v1.globalAddresses ==)
type AddressAggregatedList ¶
type AddressAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of AddressesScopedList resources. 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"` // Warning: [Output Only] Informational warning message. Warning *AddressAggregatedListWarning `json:"warning,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 AddressAggregatedListWarning ¶
type AddressAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*AddressAggregatedListWarningData `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:"-"` }
AddressAggregatedListWarning: [Output Only] Informational warning message.
func (*AddressAggregatedListWarning) MarshalJSON ¶
func (s *AddressAggregatedListWarning) MarshalJSON() ([]byte, error)
type AddressAggregatedListWarningData ¶
type AddressAggregatedListWarningData 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 (*AddressAggregatedListWarningData) MarshalJSON ¶
func (s *AddressAggregatedListWarningData) MarshalJSON() ([]byte, error)
type AddressList ¶
type AddressList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of Address resources. 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 this resource. SelfLink string `json:"selfLink,omitempty"` // Warning: [Output Only] Informational warning message. Warning *AddressListWarning `json:"warning,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:"-"` }
AddressList: Contains a list of addresses.
func (*AddressList) MarshalJSON ¶
func (s *AddressList) MarshalJSON() ([]byte, error)
type AddressListWarning ¶
type AddressListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*AddressListWarningData `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:"-"` }
AddressListWarning: [Output Only] Informational warning message.
func (*AddressListWarning) MarshalJSON ¶
func (s *AddressListWarning) MarshalJSON() ([]byte, error)
type AddressListWarningData ¶
type AddressListWarningData 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 (*AddressListWarningData) MarshalJSON ¶
func (s *AddressListWarningData) 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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
func (*AddressesDeleteCall) RequestId ¶
func (c *AddressesDeleteCall) RequestId(requestId string) *AddressesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*AddressesInsertCall) RequestId ¶
func (c *AddressesInsertCall) RequestId(requestId string) *AddressesInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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] A 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 ¶
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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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:"-"` }
AddressesScopedListWarning: [Output Only] Informational warning which replaces the list of addresses when the list is empty.
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
func (*AddressesService) SetLabels ¶
func (r *AddressesService) SetLabels(project string, region string, resource string, regionsetlabelsrequest *RegionSetLabelsRequest) *AddressesSetLabelsCall
SetLabels: Sets the labels on an Address. To learn more about labels, read the Labeling Resources documentation.
func (*AddressesService) TestIamPermissions ¶
func (r *AddressesService) TestIamPermissions(project string, region string, resource string, testpermissionsrequest *TestPermissionsRequest) *AddressesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
type AddressesSetLabelsCall ¶
type AddressesSetLabelsCall struct {
// contains filtered or unexported fields
}
func (*AddressesSetLabelsCall) Context ¶
func (c *AddressesSetLabelsCall) Context(ctx context.Context) *AddressesSetLabelsCall
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 (*AddressesSetLabelsCall) Do ¶
func (c *AddressesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.addresses.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 (*AddressesSetLabelsCall) Fields ¶
func (c *AddressesSetLabelsCall) Fields(s ...googleapi.Field) *AddressesSetLabelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AddressesSetLabelsCall) Header ¶
func (c *AddressesSetLabelsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*AddressesSetLabelsCall) RequestId ¶
func (c *AddressesSetLabelsCall) RequestId(requestId string) *AddressesSetLabelsCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type AddressesTestIamPermissionsCall ¶
type AddressesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*AddressesTestIamPermissionsCall) Context ¶
func (c *AddressesTestIamPermissionsCall) Context(ctx context.Context) *AddressesTestIamPermissionsCall
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 (*AddressesTestIamPermissionsCall) Do ¶
func (c *AddressesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.addresses.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*AddressesTestIamPermissionsCall) Fields ¶
func (c *AddressesTestIamPermissionsCall) Fields(s ...googleapi.Field) *AddressesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AddressesTestIamPermissionsCall) Header ¶
func (c *AddressesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type AliasIpRange ¶
type AliasIpRange struct { // IpCidrRange: The IP CIDR range represented by this alias IP range. // This IP CIDR range must belong to the specified subnetwork and cannot // contain IP addresses reserved by system or used by other network // interfaces. This range may be a single IP address (e.g. 10.2.3.4), a // netmask (e.g. /24) or a CIDR format string (e.g. 10.1.2.0/24). IpCidrRange string `json:"ipCidrRange,omitempty"` // SubnetworkRangeName: Optional subnetwork secondary range name // specifying the secondary range from which to allocate the IP CIDR // range for this alias IP range. If left unspecified, the primary range // of the subnetwork will be used. SubnetworkRangeName string `json:"subnetworkRangeName,omitempty"` // ForceSendFields is a list of field names (e.g. "IpCidrRange") 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. "IpCidrRange") 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:"-"` }
AliasIpRange: An alias IP range attached to an instance's network interface.
func (*AliasIpRange) MarshalJSON ¶
func (s *AliasIpRange) MarshalJSON() ([]byte, error)
type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk ¶
type AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk struct { // DiskSizeGb: Specifies the size of the disk in base-2 GB. DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"` // Interface: Specifies the disk interface to use for attaching this // disk, which is either SCSI or NVME. The default is SCSI. For // performance characteristics of SCSI over NVMe, see Local SSD // performance. // // Possible values: // "NVME" // "SCSI" Interface string `json:"interface,omitempty"` // ForceSendFields is a list of field names (e.g. "DiskSizeGb") 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. "DiskSizeGb") 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 (*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) MarshalJSON ¶
func (s *AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk) MarshalJSON() ([]byte, error)
type AllocationSpecificSKUAllocationReservedInstanceProperties ¶
type AllocationSpecificSKUAllocationReservedInstanceProperties struct { // GuestAccelerators: Specifies accelerator type and count. GuestAccelerators []*AcceleratorConfig `json:"guestAccelerators,omitempty"` // LocalSsds: Specifies amount of local ssd to reserve with each // instance. The type of disk is local-ssd. LocalSsds []*AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk `json:"localSsds,omitempty"` // MachineType: Specifies type of machine (name only) which has fixed // number of vCPUs and fixed amount of memory. This also includes // specifying custom machine type following // custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern. MachineType string `json:"machineType,omitempty"` // MinCpuPlatform: Minimum cpu platform the reservation. MinCpuPlatform string `json:"minCpuPlatform,omitempty"` // ForceSendFields is a list of field names (e.g. "GuestAccelerators") // 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. "GuestAccelerators") 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:"-"` }
AllocationSpecificSKUAllocationReservedInstanceProperties: Properties of the SKU instances being reserved.
func (*AllocationSpecificSKUAllocationReservedInstanceProperties) MarshalJSON ¶
func (s *AllocationSpecificSKUAllocationReservedInstanceProperties) MarshalJSON() ([]byte, error)
type AllocationSpecificSKUReservation ¶
type AllocationSpecificSKUReservation struct { // Count: Specifies number of resources that are allocated. Count int64 `json:"count,omitempty,string"` // InUseCount: [OutputOnly] Indicates how many resource are in use. InUseCount int64 `json:"inUseCount,omitempty,string"` // InstanceProperties: The instance properties for this specific sku // reservation. InstanceProperties *AllocationSpecificSKUAllocationReservedInstanceProperties `json:"instanceProperties,omitempty"` // ForceSendFields is a list of field names (e.g. "Count") 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. "Count") 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:"-"` }
AllocationSpecificSKUReservation: This reservation type allows to pre allocate specific instance configuration.
func (*AllocationSpecificSKUReservation) MarshalJSON ¶
func (s *AllocationSpecificSKUReservation) MarshalJSON() ([]byte, error)
type AttachedDisk ¶
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-disk-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"` // GuestOsFeatures: A list of features to enable on the guest operating // system. Applicable only for bootable images. Read Enabling guest // operating system features to see a list of available options. GuestOsFeatures []*GuestOsFeature `json:"guestOsFeatures,omitempty"` // Index: [Output Only] A zero-based index to this disk, where 0 is // reserved for the boot disk. If you have many disks attached to an // instance, each disk would have a unique index number. 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 except for // local SSD. // // 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:"-"` }
AttachedDisk: An instance-attached disk resource.
func (*AttachedDisk) MarshalJSON ¶
func (s *AttachedDisk) MarshalJSON() ([]byte, error)
type AttachedDiskInitializeParams ¶
type AttachedDiskInitializeParams struct { // Description: An optional description. Provide this property when // creating the disk. Description string `json:"description,omitempty"` // DiskName: Specifies the disk name. If not specified, the default is // to use the name of the instance. If the disk with the instance name // exists already in the given zone/region, a new name will be // automatically generated. 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"` // GuestOsFeatures: A list of features to enable on the guest operating // system. Applicable only for bootable images. Read Enabling guest // operating system features to see a list of available options. // // Guest OS features are applied by merging // initializeParams.guestOsFeatures and disks.guestOsFeatures GuestOsFeatures []*GuestOsFeature `json:"guestOsFeatures,omitempty"` // Labels: Labels to apply to this disk. These can be later modified by // the disks.setLabels method. This field is only applicable for // persistent disks. Labels map[string]string `json:"labels,omitempty"` // ResourcePolicies: Resource policies applied to this disk for // automatic snapshot creations. Specified using the full or partial // URL. For instance template, specify only the resource policy name. ResourcePolicies []string `json:"resourcePolicies,omitempty"` // SourceImage: The source image to create this disk. When creating a // new instance, one of initializeParams.sourceImage or disks.source is // required except for local SSD. // // To create a disk with one of the public operating system images, // specify the image by its family name. For example, specify // family/debian-9 to use the latest Debian 9 // image: // projects/debian-cloud/global/images/family/debian-9 // // // Alternati // vely, use a specific version of a public operating system // image: // projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD // // // // To create a disk with a custom image that you created, specify the // image name in the following // format: // global/images/my-custom-image // // // You can also specify a custom 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-image-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"` // SourceSnapshot: The source snapshot to create this disk. When // creating a new instance, one of initializeParams.sourceSnapshot or // disks.source is required except for local SSD. // // To create a disk with a snapshot that you created, specify the // snapshot name in the following // format: // global/snapshots/my-backup // // // If the source snapshot is deleted later, this field will not be set. SourceSnapshot string `json:"sourceSnapshot,omitempty"` // SourceSnapshotEncryptionKey: The customer-supplied encryption key of // the source snapshot. SourceSnapshotEncryptionKey *CustomerEncryptionKey `json:"sourceSnapshotEncryptionKey,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"` }
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.
func (*AttachedDiskInitializeParams) MarshalJSON ¶
func (s *AttachedDiskInitializeParams) MarshalJSON() ([]byte, error)
type AuditConfig ¶
type AuditConfig struct { // AuditLogConfigs: The configuration for logging of each type of // permission. AuditLogConfigs []*AuditLogConfig `json:"auditLogConfigs,omitempty"` ExemptedMembers []string `json:"exemptedMembers,omitempty"` // Service: Specifies a service that will be enabled for audit logging. // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. // `allServices` is a special value that covers all services. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "AuditLogConfigs") 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. "AuditLogConfigs") 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:"-"` }
AuditConfig: Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs.
If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted.
Example Policy with multiple AuditConfigs:
{ "audit_configs": [ { "service": "allServices" "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", }, { "log_type": "ADMIN_READ", } ] }, { "service": "fooservice.googleapis.com" "audit_log_configs": [ { "log_type": "DATA_READ", }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] } ] } ] }
For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.com from DATA_WRITE logging.
func (*AuditConfig) MarshalJSON ¶
func (s *AuditConfig) MarshalJSON() ([]byte, error)
type AuditLogConfig ¶
type AuditLogConfig struct { // ExemptedMembers: Specifies the identities that do not cause logging // for this type of permission. Follows the same format of // [Binding.members][]. ExemptedMembers []string `json:"exemptedMembers,omitempty"` // LogType: The log type that this config enables. // // Possible values: // "ADMIN_READ" // "DATA_READ" // "DATA_WRITE" // "LOG_TYPE_UNSPECIFIED" LogType string `json:"logType,omitempty"` // ForceSendFields is a list of field names (e.g. "ExemptedMembers") 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. "ExemptedMembers") 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:"-"` }
AuditLogConfig: Provides the configuration for logging a type of permissions. Example:
{ "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", } ] }
This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.com from DATA_READ logging.
func (*AuditLogConfig) MarshalJSON ¶
func (s *AuditLogConfig) MarshalJSON() ([]byte, error)
type AuthorizationLoggingOptions ¶
type AuthorizationLoggingOptions struct { // PermissionType: The type of the permission that was checked. // // Possible values: // "ADMIN_READ" // "ADMIN_WRITE" // "DATA_READ" // "DATA_WRITE" // "PERMISSION_TYPE_UNSPECIFIED" PermissionType string `json:"permissionType,omitempty"` // ForceSendFields is a list of field names (e.g. "PermissionType") 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. "PermissionType") 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:"-"` }
AuthorizationLoggingOptions: Authorization-related information used by Cloud Audit Logging.
func (*AuthorizationLoggingOptions) MarshalJSON ¶
func (s *AuthorizationLoggingOptions) MarshalJSON() ([]byte, error)
type Autoscaler ¶
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"` // Status: [Output Only] The status of the autoscaler configuration. // // Possible values: // "ACTIVE" // "DELETING" // "ERROR" // "PENDING" Status string `json:"status,omitempty"` // StatusDetails: [Output Only] Human-readable details about the current // state of the autoscaler. Read the documentation for Commonly returned // status messages for examples of status messages you might encounter. StatusDetails []*AutoscalerStatusDetails `json:"statusDetails,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:"-"` }
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. (== resource_for beta.autoscalers ==) (== resource_for v1.autoscalers ==) (== resource_for beta.regionAutoscalers ==) (== resource_for v1.regionAutoscalers ==)
func (*Autoscaler) MarshalJSON ¶
func (s *Autoscaler) MarshalJSON() ([]byte, error)
type AutoscalerAggregatedList ¶
type AutoscalerAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of AutoscalersScopedList resources. 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"` // Warning: [Output Only] Informational warning message. Warning *AutoscalerAggregatedListWarning `json:"warning,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 AutoscalerAggregatedListWarning ¶
type AutoscalerAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*AutoscalerAggregatedListWarningData `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:"-"` }
AutoscalerAggregatedListWarning: [Output Only] Informational warning message.
func (*AutoscalerAggregatedListWarning) MarshalJSON ¶
func (s *AutoscalerAggregatedListWarning) MarshalJSON() ([]byte, error)
type AutoscalerAggregatedListWarningData ¶
type AutoscalerAggregatedListWarningData 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 (*AutoscalerAggregatedListWarningData) MarshalJSON ¶
func (s *AutoscalerAggregatedListWarningData) MarshalJSON() ([]byte, error)
type AutoscalerList ¶
type AutoscalerList struct { // Id: [Output Only] Unique identifier for the resource; 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"` // Warning: [Output Only] Informational warning message. Warning *AutoscalerListWarning `json:"warning,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:"-"` }
AutoscalerList: Contains a list of Autoscaler resources.
func (*AutoscalerList) MarshalJSON ¶
func (s *AutoscalerList) MarshalJSON() ([]byte, error)
type AutoscalerListWarning ¶
type AutoscalerListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*AutoscalerListWarningData `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:"-"` }
AutoscalerListWarning: [Output Only] Informational warning message.
func (*AutoscalerListWarning) MarshalJSON ¶
func (s *AutoscalerListWarning) MarshalJSON() ([]byte, error)
type AutoscalerListWarningData ¶
type AutoscalerListWarningData 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 (*AutoscalerListWarningData) MarshalJSON ¶
func (s *AutoscalerListWarningData) MarshalJSON() ([]byte, error)
type AutoscalerStatusDetails ¶
type AutoscalerStatusDetails struct { // Message: The status message. Message string `json:"message,omitempty"` // Type: The type of error returned. // // Possible values: // "ALL_INSTANCES_UNHEALTHY" // "BACKEND_SERVICE_DOES_NOT_EXIST" // "CAPPED_AT_MAX_NUM_REPLICAS" // "CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE" // "CUSTOM_METRIC_INVALID" // "MIN_EQUALS_MAX" // "MISSING_CUSTOM_METRIC_DATA_POINTS" // "MISSING_LOAD_BALANCING_DATA_POINTS" // "MORE_THAN_ONE_BACKEND_SERVICE" // "NOT_ENOUGH_QUOTA_AVAILABLE" // "REGION_RESOURCE_STOCKOUT" // "SCALING_TARGET_DOES_NOT_EXIST" // "UNKNOWN" // "UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION" // "ZONE_RESOURCE_STOCKOUT" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Message") 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. "Message") 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 (*AutoscalerStatusDetails) MarshalJSON ¶
func (s *AutoscalerStatusDetails) 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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
func (*AutoscalersDeleteCall) RequestId ¶
func (c *AutoscalersDeleteCall) RequestId(requestId string) *AutoscalersDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*AutoscalersInsertCall) RequestId ¶
func (c *AutoscalersInsertCall) RequestId(requestId string) *AutoscalersInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
func (*AutoscalersPatchCall) RequestId ¶
func (c *AutoscalersPatchCall) RequestId(requestId string) *AutoscalersPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type AutoscalersScopedList ¶
type AutoscalersScopedList struct { // Autoscalers: [Output Only] A 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 ¶
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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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:"-"` }
AutoscalersScopedListWarning: [Output Only] Informational warning which replaces the list of autoscalers when the list is empty.
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. Gets 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 and uses the JSON merge patch format and processing rules.
func (*AutoscalersService) TestIamPermissions ¶
func (r *AutoscalersService) TestIamPermissions(project string, zone string, resource string, testpermissionsrequest *TestPermissionsRequest) *AutoscalersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
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 AutoscalersTestIamPermissionsCall ¶
type AutoscalersTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*AutoscalersTestIamPermissionsCall) Context ¶
func (c *AutoscalersTestIamPermissionsCall) Context(ctx context.Context) *AutoscalersTestIamPermissionsCall
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 (*AutoscalersTestIamPermissionsCall) Do ¶
func (c *AutoscalersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.autoscalers.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*AutoscalersTestIamPermissionsCall) Fields ¶
func (c *AutoscalersTestIamPermissionsCall) Fields(s ...googleapi.Field) *AutoscalersTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*AutoscalersTestIamPermissionsCall) Header ¶
func (c *AutoscalersTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to 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.
func (*AutoscalersUpdateCall) RequestId ¶
func (c *AutoscalersUpdateCall) RequestId(requestId string) *AutoscalersUpdateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type AutoscalingPolicy ¶
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:"-"` }
AutoscalingPolicy: Cloud Autoscaler policy.
func (*AutoscalingPolicy) MarshalJSON ¶
func (s *AutoscalingPolicy) MarshalJSON() ([]byte, error)
type AutoscalingPolicyCpuUtilization ¶
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:"-"` }
AutoscalingPolicyCpuUtilization: CPU utilization policy.
func (*AutoscalingPolicyCpuUtilization) MarshalJSON ¶
func (s *AutoscalingPolicyCpuUtilization) MarshalJSON() ([]byte, error)
func (*AutoscalingPolicyCpuUtilization) UnmarshalJSON ¶
func (s *AutoscalingPolicyCpuUtilization) UnmarshalJSON(data []byte) error
type AutoscalingPolicyCustomMetricUtilization ¶
type AutoscalingPolicyCustomMetricUtilization struct { // Filter: A filter string, compatible with a Stackdriver Monitoring // filter string for TimeSeries.list API call. This filter is used to // select a specific TimeSeries for the purpose of autoscaling and to // determine whether the metric is exporting per-instance or per-group // data. // // For the filter to be valid for autoscaling purposes, the following // rules apply: // - You can only use the AND operator for joining selectors. // - You can only use direct equality comparison operator (=) without // any functions for each selector. // - You can specify the metric in both the filter string and in the // metric field. However, if specified in both places, the metric must // be identical. // - The monitored resource type determines what kind of values are // expected for the metric. If it is a gce_instance, the autoscaler // expects the metric to include a separate TimeSeries for each instance // in a group. In such a case, you cannot filter on resource labels. // If the resource type is any other value, the autoscaler expects this // metric to contain values that apply to the entire autoscaled instance // group and resource label filtering can be performed to point // autoscaler at the correct TimeSeries to scale upon. This is called a // per-group metric for the purpose of autoscaling. // // If not specified, the type defaults to gce_instance. // // You should provide a filter that is selective enough to pick just one // TimeSeries for the autoscaled group or for each of the instances (if // you are using gce_instance resource type). If multiple TimeSeries are // returned upon the query execution, the autoscaler will sum their // respective values to obtain its scaling value. Filter string `json:"filter,omitempty"` // Metric: The identifier (type) of the Stackdriver Monitoring metric. // The metric cannot have negative values. // // The metric must have a value type of INT64 or DOUBLE. Metric string `json:"metric,omitempty"` // SingleInstanceAssignment: If scaling is based on a per-group metric // value that represents the total amount of work to be done or resource // usage, set this value to an amount assigned for a single instance of // the scaled group. Autoscaler will keep the number of instances // proportional to the value of this metric, the metric itself should // not change value due to group resizing. // // A good metric to use with the target is for example // pubsub.googleapis.com/subscription/num_undelivered_messages or a // custom metric exporting the total number of requests coming to your // instances. // // A bad example would be a metric exporting an average or median // latency, since this value can't include a chunk assignable to a // single instance, it could be better used with utilization_target // instead. SingleInstanceAssignment float64 `json:"singleInstanceAssignment,omitempty"` // UtilizationTarget: The target value of the metric that autoscaler // should maintain. This must be a positive value. A utilization metric // scales number of virtual machines handling requests to increase or // decrease proportionally to the metric. // // 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. // // Possible values: // "DELTA_PER_MINUTE" // "DELTA_PER_SECOND" // "GAUGE" UtilizationTargetType string `json:"utilizationTargetType,omitempty"` // ForceSendFields is a list of field names (e.g. "Filter") 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. "Filter") 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:"-"` }
AutoscalingPolicyCustomMetricUtilization: Custom utilization metric policy.
func (*AutoscalingPolicyCustomMetricUtilization) MarshalJSON ¶
func (s *AutoscalingPolicyCustomMetricUtilization) MarshalJSON() ([]byte, error)
func (*AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON ¶
func (s *AutoscalingPolicyCustomMetricUtilization) UnmarshalJSON(data []byte) error
type AutoscalingPolicyLoadBalancingUtilization ¶
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:"-"` }
AutoscalingPolicyLoadBalancingUtilization: Configuration parameters of autoscaling based on load balancing.
func (*AutoscalingPolicyLoadBalancingUtilization) MarshalJSON ¶
func (s *AutoscalingPolicyLoadBalancingUtilization) MarshalJSON() ([]byte, error)
func (*AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON ¶
func (s *AutoscalingPolicyLoadBalancingUtilization) UnmarshalJSON(data []byte) error
type 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). // // For Internal Load Balancing, the default and only supported mode is // CONNECTION. // // 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"` // Failover: This field designates whether this is a failover backend. // More than one failover backend can be configured for a given // BackendService. Failover bool `json:"failover,omitempty"` // Group: The fully-qualified URL of an Instance Group or Network // Endpoint Group resource. In case of instance group this 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. // // For Network Endpoint Groups this defines list of endpoints. All // endpoints of Network Endpoint Group must be hosted on instances // located in the same zone as the Network Endpoint Group. // // Backend service can not contain mix of Instance Group and Network // Endpoint Group backends. // // Note that you must specify an Instance Group or Network Endpoint // 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 within the same region as the BackendService. // Network Endpoint Groups are not supported for INTERNAL load balancing // scheme. 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"` // MaxConnectionsPerEndpoint: The max number of simultaneous connections // that a single backend network endpoint 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 maxConnectionsPerEndpoint must be set. // // This cannot be used for internal load balancing. MaxConnectionsPerEndpoint int64 `json:"maxConnectionsPerEndpoint,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"` // MaxRatePerEndpoint: The max requests per second (RPS) that a single // backend network endpoint 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 maxRatePerEndpoint must be set. // // This cannot be used for internal load balancing. MaxRatePerEndpoint float64 `json:"maxRatePerEndpoint,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:"-"` }
Backend: Message containing information of one individual backend.
type BackendBucket ¶
type BackendBucket struct { // BucketName: Cloud Storage bucket name. BucketName string `json:"bucketName,omitempty"` // CdnPolicy: Cloud CDN configuration for this BackendBucket. CdnPolicy *BackendBucketCdnPolicy `json:"cdnPolicy,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:"-"` }
BackendBucket: A BackendBucket resource. This resource defines a Cloud Storage bucket.
func (*BackendBucket) MarshalJSON ¶
func (s *BackendBucket) MarshalJSON() ([]byte, error)
type BackendBucketCdnPolicy ¶
type BackendBucketCdnPolicy struct { // SignedUrlCacheMaxAgeSec: Maximum number of seconds the response to a // signed URL request will be considered fresh. After this time period, // the response will be revalidated before being served. Defaults to 1hr // (3600s). When serving responses to signed URL requests, Cloud CDN // will internally behave as though all responses from this backend had // a "Cache-Control: public, max-age=[TTL]" header, regardless of any // existing Cache-Control header. The actual headers served in responses // will not be altered. SignedUrlCacheMaxAgeSec int64 `json:"signedUrlCacheMaxAgeSec,omitempty,string"` // SignedUrlKeyNames: [Output Only] Names of the keys for signing // request URLs. SignedUrlKeyNames []string `json:"signedUrlKeyNames,omitempty"` // ForceSendFields is a list of field names (e.g. // "SignedUrlCacheMaxAgeSec") 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. "SignedUrlCacheMaxAgeSec") // 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:"-"` }
BackendBucketCdnPolicy: Message containing Cloud CDN configuration for a backend bucket.
func (*BackendBucketCdnPolicy) MarshalJSON ¶
func (s *BackendBucketCdnPolicy) MarshalJSON() ([]byte, error)
type BackendBucketList ¶
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] 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"` // Warning: [Output Only] Informational warning message. Warning *BackendBucketListWarning `json:"warning,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:"-"` }
BackendBucketList: Contains a list of BackendBucket resources.
func (*BackendBucketList) MarshalJSON ¶
func (s *BackendBucketList) MarshalJSON() ([]byte, error)
type BackendBucketListWarning ¶
type BackendBucketListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*BackendBucketListWarningData `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:"-"` }
BackendBucketListWarning: [Output Only] Informational warning message.
func (*BackendBucketListWarning) MarshalJSON ¶
func (s *BackendBucketListWarning) MarshalJSON() ([]byte, error)
type BackendBucketListWarningData ¶
type BackendBucketListWarningData 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 (*BackendBucketListWarningData) MarshalJSON ¶
func (s *BackendBucketListWarningData) MarshalJSON() ([]byte, error)
type BackendBucketsAddSignedUrlKeyCall ¶
type BackendBucketsAddSignedUrlKeyCall struct {
// contains filtered or unexported fields
}
func (*BackendBucketsAddSignedUrlKeyCall) Context ¶
func (c *BackendBucketsAddSignedUrlKeyCall) Context(ctx context.Context) *BackendBucketsAddSignedUrlKeyCall
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 (*BackendBucketsAddSignedUrlKeyCall) Do ¶
func (c *BackendBucketsAddSignedUrlKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.backendBuckets.addSignedUrlKey" 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 (*BackendBucketsAddSignedUrlKeyCall) Fields ¶
func (c *BackendBucketsAddSignedUrlKeyCall) Fields(s ...googleapi.Field) *BackendBucketsAddSignedUrlKeyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*BackendBucketsAddSignedUrlKeyCall) Header ¶
func (c *BackendBucketsAddSignedUrlKeyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*BackendBucketsAddSignedUrlKeyCall) RequestId ¶
func (c *BackendBucketsAddSignedUrlKeyCall) RequestId(requestId string) *BackendBucketsAddSignedUrlKeyCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*BackendBucketsDeleteCall) RequestId ¶
func (c *BackendBucketsDeleteCall) RequestId(requestId string) *BackendBucketsDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type BackendBucketsDeleteSignedUrlKeyCall ¶
type BackendBucketsDeleteSignedUrlKeyCall struct {
// contains filtered or unexported fields
}
func (*BackendBucketsDeleteSignedUrlKeyCall) Context ¶
func (c *BackendBucketsDeleteSignedUrlKeyCall) Context(ctx context.Context) *BackendBucketsDeleteSignedUrlKeyCall
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 (*BackendBucketsDeleteSignedUrlKeyCall) Do ¶
func (c *BackendBucketsDeleteSignedUrlKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.backendBuckets.deleteSignedUrlKey" 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 (*BackendBucketsDeleteSignedUrlKeyCall) Fields ¶
func (c *BackendBucketsDeleteSignedUrlKeyCall) Fields(s ...googleapi.Field) *BackendBucketsDeleteSignedUrlKeyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*BackendBucketsDeleteSignedUrlKeyCall) Header ¶
func (c *BackendBucketsDeleteSignedUrlKeyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*BackendBucketsDeleteSignedUrlKeyCall) RequestId ¶
func (c *BackendBucketsDeleteSignedUrlKeyCall) RequestId(requestId string) *BackendBucketsDeleteSignedUrlKeyCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*BackendBucketsInsertCall) RequestId ¶
func (c *BackendBucketsInsertCall) RequestId(requestId string) *BackendBucketsInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
func (*BackendBucketsPatchCall) RequestId ¶
func (c *BackendBucketsPatchCall) RequestId(requestId string) *BackendBucketsPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type BackendBucketsService ¶
type BackendBucketsService struct {
// contains filtered or unexported fields
}
func NewBackendBucketsService ¶
func NewBackendBucketsService(s *Service) *BackendBucketsService
func (*BackendBucketsService) AddSignedUrlKey ¶
func (r *BackendBucketsService) AddSignedUrlKey(project string, backendBucket string, signedurlkey *SignedUrlKey) *BackendBucketsAddSignedUrlKeyCall
AddSignedUrlKey: Adds a key for validating requests with signed URLs for this backend bucket.
func (*BackendBucketsService) Delete ¶
func (r *BackendBucketsService) Delete(project string, backendBucket string) *BackendBucketsDeleteCall
Delete: Deletes the specified BackendBucket resource.
func (*BackendBucketsService) DeleteSignedUrlKey ¶
func (r *BackendBucketsService) DeleteSignedUrlKey(project string, backendBucket string, keyName string) *BackendBucketsDeleteSignedUrlKeyCall
DeleteSignedUrlKey: Deletes a key for validating requests with signed URLs for this backend bucket.
func (*BackendBucketsService) Get ¶
func (r *BackendBucketsService) Get(project string, backendBucket string) *BackendBucketsGetCall
Get: Returns the specified BackendBucket resource. Gets 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 and uses the JSON merge patch format and processing rules.
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.
func (*BackendBucketsUpdateCall) RequestId ¶
func (c *BackendBucketsUpdateCall) RequestId(requestId string) *BackendBucketsUpdateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type BackendService ¶
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"` // CircuitBreakers: Settings controlling the volume of connections to a // backend service. // // This field is applicable to either: // - A regional backend service with the service_protocol set to HTTP, // HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. // // - A global backend service with the load_balancing_scheme set to // INTERNAL_SELF_MANAGED. CircuitBreakers *CircuitBreakers `json:"circuitBreakers,omitempty"` ConnectionDraining *ConnectionDraining `json:"connectionDraining,omitempty"` // ConsistentHash: Consistent Hash-based load balancing can be used to // provide soft session affinity based on HTTP headers, cookies or other // properties. This load balancing policy is applicable only for HTTP // connections. The affinity to a particular destination host will be // lost when one or more hosts are added/removed from the destination // service. This field specifies parameters that control consistent // hashing. This field is only applicable when localityLbPolicy is set // to MAGLEV or RING_HASH. // // This field is applicable to either: // - A regional backend service with the service_protocol set to HTTP, // HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. // // - A global backend service with the load_balancing_scheme set to // INTERNAL_SELF_MANAGED. ConsistentHash *ConsistentHashLoadBalancerSettings `json:"consistentHash,omitempty"` // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text // format. CreationTimestamp string `json:"creationTimestamp,omitempty"` // CustomRequestHeaders: Headers that the HTTP/S load balancer should // add to proxied requests. CustomRequestHeaders []string `json:"customRequestHeaders,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"` FailoverPolicy *BackendServiceFailoverPolicy `json:"failoverPolicy,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, // otherwise the request will fail with error 412 conditionNotMet. // // To see the latest fingerprint, make a get() request to retrieve a // 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 Compute Engine backend services. A health check // must not be specified for App Engine backend and Cloud Function // backend. // // 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"` // LoadBalancingScheme: Indicates whether the backend service will be // used with internal or external load balancing. A backend service // created for one type of load balancing cannot be used with the other. // Possible values are INTERNAL and EXTERNAL. // // Possible values: // "EXTERNAL" // "INTERNAL" // "INTERNAL_MANAGED" // "INTERNAL_SELF_MANAGED" // "INVALID_LOAD_BALANCING_SCHEME" LoadBalancingScheme string `json:"loadBalancingScheme,omitempty"` // LocalityLbPolicy: The load balancing algorithm used within the scope // of the locality. The possible values are: // - ROUND_ROBIN: This is a simple policy in which each healthy backend // is selected in round robin order. This is the default. // - LEAST_REQUEST: An O(1) algorithm which selects two random healthy // hosts and picks the host which has fewer active requests. // - RING_HASH: The ring/modulo hash load balancer implements consistent // hashing to backends. The algorithm has the property that the // addition/removal of a host from a set of N hosts only affects 1/N of // the requests. // - RANDOM: The load balancer selects a random healthy host. // - ORIGINAL_DESTINATION: Backend host is selected based on the client // connection metadata, i.e., connections are opened to the same address // as the destination address of the incoming connection before the // connection was redirected to the load balancer. // - MAGLEV: used as a drop in replacement for the ring hash load // balancer. Maglev is not as stable as ring hash but has faster table // lookup build times and host selection times. For more information // about Maglev, refer to https://ai.google/research/pubs/pub44824 // // // This field is applicable to either: // - A regional backend service with the service_protocol set to HTTP, // HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. // // - A global backend service with the load_balancing_scheme set to // INTERNAL_SELF_MANAGED. // // Possible values: // "INVALID_LB_POLICY" // "LEAST_REQUEST" // "MAGLEV" // "ORIGINAL_DESTINATION" // "RANDOM" // "RING_HASH" // "ROUND_ROBIN" LocalityLbPolicy string `json:"localityLbPolicy,omitempty"` // LogConfig: This field denotes the logging options for the load // balancer traffic served by this backend service. If logging is // enabled, logs will be exported to Stackdriver. LogConfig *BackendServiceLogConfig `json:"logConfig,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"` // OutlierDetection: Settings controlling eviction of unhealthy hosts // from the load balancing pool. This field is applicable to either: // - A regional backend service with the service_protocol set to HTTP, // HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. // // - A global backend service with the load_balancing_scheme set to // INTERNAL_SELF_MANAGED. OutlierDetection *OutlierDetection `json:"outlierDetection,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" // "HTTP2" // "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. You must specify this field as part of the HTTP request // URL. It is not settable as a field in the request body. Region string `json:"region,omitempty"` // SecurityPolicy: [Output Only] The resource URL for the security // policy associated with this backend service. SecurityPolicy string `json:"securityPolicy,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" // "HEADER_FIELD" // "HTTP_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:"-"` }
BackendService: A BackendService resource. This resource defines a group of backend virtual machines and their serving capacity. (== resource_for v1.backendService ==) (== resource_for beta.backendService ==)
func (*BackendService) MarshalJSON ¶
func (s *BackendService) MarshalJSON() ([]byte, error)
type BackendServiceAggregatedList ¶
type BackendServiceAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of BackendServicesScopedList resources. Items map[string]BackendServicesScopedList `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"` // Warning: [Output Only] Informational warning message. Warning *BackendServiceAggregatedListWarning `json:"warning,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:"-"` }
BackendServiceAggregatedList: Contains a list of BackendServicesScopedList.
func (*BackendServiceAggregatedList) MarshalJSON ¶
func (s *BackendServiceAggregatedList) MarshalJSON() ([]byte, error)
type BackendServiceAggregatedListWarning ¶
type BackendServiceAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*BackendServiceAggregatedListWarningData `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:"-"` }
BackendServiceAggregatedListWarning: [Output Only] Informational warning message.
func (*BackendServiceAggregatedListWarning) MarshalJSON ¶
func (s *BackendServiceAggregatedListWarning) MarshalJSON() ([]byte, error)
type BackendServiceAggregatedListWarningData ¶
type BackendServiceAggregatedListWarningData 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 (*BackendServiceAggregatedListWarningData) MarshalJSON ¶
func (s *BackendServiceAggregatedListWarningData) MarshalJSON() ([]byte, error)
type BackendServiceCdnPolicy ¶
type BackendServiceCdnPolicy struct { // CacheKeyPolicy: The CacheKeyPolicy for this CdnPolicy. CacheKeyPolicy *CacheKeyPolicy `json:"cacheKeyPolicy,omitempty"` // SignedUrlCacheMaxAgeSec: Maximum number of seconds the response to a // signed URL request will be considered fresh. After this time period, // the response will be revalidated before being served. Defaults to 1hr // (3600s). When serving responses to signed URL requests, Cloud CDN // will internally behave as though all responses from this backend had // a "Cache-Control: public, max-age=[TTL]" header, regardless of any // existing Cache-Control header. The actual headers served in responses // will not be altered. SignedUrlCacheMaxAgeSec int64 `json:"signedUrlCacheMaxAgeSec,omitempty,string"` // SignedUrlKeyNames: [Output Only] Names of the keys for signing // request URLs. SignedUrlKeyNames []string `json:"signedUrlKeyNames,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:"-"` }
BackendServiceCdnPolicy: Message containing Cloud CDN configuration for a backend service.
func (*BackendServiceCdnPolicy) MarshalJSON ¶
func (s *BackendServiceCdnPolicy) MarshalJSON() ([]byte, error)
type BackendServiceFailoverPolicy ¶
type BackendServiceFailoverPolicy struct { // DisableConnectionDrainOnFailover: On failover or failback, this field // indicates whether connection drain will be honored. Setting this to // true has the following effect: connections to the old active pool are // not drained. Connections to the new active pool use the timeout of 10 // min (currently fixed). Setting to false has the following effect: // both old and new connections will have a drain timeout of 10 // min. // // This can be set to true only if the protocol is TCP. // // The default is false. DisableConnectionDrainOnFailover bool `json:"disableConnectionDrainOnFailover,omitempty"` // DropTrafficIfUnhealthy: This option is used only when no healthy VMs // are detected in the primary and backup instance groups. When set to // true, traffic is dropped. When set to false, new connections are sent // across all VMs in the primary group. // // The default is false. DropTrafficIfUnhealthy bool `json:"dropTrafficIfUnhealthy,omitempty"` // FailoverRatio: The value of the field must be in [0, 1]. If the ratio // of the healthy VMs in the primary backend is at or below this number, // traffic arriving at the load-balanced IP will be directed to the // failover backend. // // In case where 'failoverRatio' is not set or all the VMs in the backup // backend are unhealthy, the traffic will be directed back to the // primary backend in the "force" mode, where traffic will be spread to // the healthy VMs with the best effort, or to all VMs when no VM is // healthy. // // This field is only used with l4 load balancing. FailoverRatio float64 `json:"failoverRatio,omitempty"` // ForceSendFields is a list of field names (e.g. // "DisableConnectionDrainOnFailover") 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. // "DisableConnectionDrainOnFailover") 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 (*BackendServiceFailoverPolicy) MarshalJSON ¶
func (s *BackendServiceFailoverPolicy) MarshalJSON() ([]byte, error)
func (*BackendServiceFailoverPolicy) UnmarshalJSON ¶
func (s *BackendServiceFailoverPolicy) UnmarshalJSON(data []byte) error
type BackendServiceGroupHealth ¶
type BackendServiceGroupHealth struct { // HealthStatus: Health state of the backend instances or endpoints in // requested instance or network endpoint group, determined based on // configured health checks. 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 ¶
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:"-"` }
BackendServiceIAP: Identity-Aware Proxy
func (*BackendServiceIAP) MarshalJSON ¶
func (s *BackendServiceIAP) MarshalJSON() ([]byte, error)
type BackendServiceList ¶
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"` // Warning: [Output Only] Informational warning message. Warning *BackendServiceListWarning `json:"warning,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:"-"` }
BackendServiceList: Contains a list of BackendService resources.
func (*BackendServiceList) MarshalJSON ¶
func (s *BackendServiceList) MarshalJSON() ([]byte, error)
type BackendServiceListWarning ¶
type BackendServiceListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*BackendServiceListWarningData `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:"-"` }
BackendServiceListWarning: [Output Only] Informational warning message.
func (*BackendServiceListWarning) MarshalJSON ¶
func (s *BackendServiceListWarning) MarshalJSON() ([]byte, error)
type BackendServiceListWarningData ¶
type BackendServiceListWarningData 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 (*BackendServiceListWarningData) MarshalJSON ¶
func (s *BackendServiceListWarningData) MarshalJSON() ([]byte, error)
type BackendServiceLogConfig ¶
type BackendServiceLogConfig struct { // Enable: This field denotes whether to enable logging for the load // balancer traffic served by this backend service. Enable bool `json:"enable,omitempty"` // SampleRate: This field can only be specified if logging is enabled // for this backend service. The value of the field must be in [0, 1]. // This configures the sampling rate of requests to the load balancer // where 1.0 means all logged requests are reported and 0.0 means no // logged requests are reported. The default value is 1.0. SampleRate float64 `json:"sampleRate,omitempty"` // ForceSendFields is a list of field names (e.g. "Enable") 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. "Enable") 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:"-"` }
BackendServiceLogConfig: The available logging options for the load balancer traffic served by this backend service.
func (*BackendServiceLogConfig) MarshalJSON ¶
func (s *BackendServiceLogConfig) MarshalJSON() ([]byte, error)
func (*BackendServiceLogConfig) UnmarshalJSON ¶
func (s *BackendServiceLogConfig) UnmarshalJSON(data []byte) error
type BackendServiceReference ¶
type BackendServiceReference struct { BackendService string `json:"backendService,omitempty"` // ForceSendFields is a list of field names (e.g. "BackendService") 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. "BackendService") 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 (*BackendServiceReference) MarshalJSON ¶
func (s *BackendServiceReference) MarshalJSON() ([]byte, error)
type BackendServicesAddSignedUrlKeyCall ¶
type BackendServicesAddSignedUrlKeyCall struct {
// contains filtered or unexported fields
}
func (*BackendServicesAddSignedUrlKeyCall) Context ¶
func (c *BackendServicesAddSignedUrlKeyCall) Context(ctx context.Context) *BackendServicesAddSignedUrlKeyCall
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 (*BackendServicesAddSignedUrlKeyCall) Do ¶
func (c *BackendServicesAddSignedUrlKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.backendServices.addSignedUrlKey" 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 (*BackendServicesAddSignedUrlKeyCall) Fields ¶
func (c *BackendServicesAddSignedUrlKeyCall) Fields(s ...googleapi.Field) *BackendServicesAddSignedUrlKeyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*BackendServicesAddSignedUrlKeyCall) Header ¶
func (c *BackendServicesAddSignedUrlKeyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*BackendServicesAddSignedUrlKeyCall) RequestId ¶
func (c *BackendServicesAddSignedUrlKeyCall) RequestId(requestId string) *BackendServicesAddSignedUrlKeyCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
func (*BackendServicesDeleteCall) RequestId ¶
func (c *BackendServicesDeleteCall) RequestId(requestId string) *BackendServicesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type BackendServicesDeleteSignedUrlKeyCall ¶
type BackendServicesDeleteSignedUrlKeyCall struct {
// contains filtered or unexported fields
}
func (*BackendServicesDeleteSignedUrlKeyCall) Context ¶
func (c *BackendServicesDeleteSignedUrlKeyCall) Context(ctx context.Context) *BackendServicesDeleteSignedUrlKeyCall
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 (*BackendServicesDeleteSignedUrlKeyCall) Do ¶
func (c *BackendServicesDeleteSignedUrlKeyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.backendServices.deleteSignedUrlKey" 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 (*BackendServicesDeleteSignedUrlKeyCall) Fields ¶
func (c *BackendServicesDeleteSignedUrlKeyCall) Fields(s ...googleapi.Field) *BackendServicesDeleteSignedUrlKeyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*BackendServicesDeleteSignedUrlKeyCall) Header ¶
func (c *BackendServicesDeleteSignedUrlKeyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*BackendServicesDeleteSignedUrlKeyCall) RequestId ¶
func (c *BackendServicesDeleteSignedUrlKeyCall) RequestId(requestId string) *BackendServicesDeleteSignedUrlKeyCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*BackendServicesInsertCall) RequestId ¶
func (c *BackendServicesInsertCall) RequestId(requestId string) *BackendServicesInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
func (*BackendServicesPatchCall) RequestId ¶
func (c *BackendServicesPatchCall) RequestId(requestId string) *BackendServicesPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type BackendServicesScopedList ¶
type BackendServicesScopedList struct { // BackendServices: A 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 ¶
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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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:"-"` }
BackendServicesScopedListWarning: Informational warning which replaces the list of backend services when the list is empty.
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) AddSignedUrlKey ¶
func (r *BackendServicesService) AddSignedUrlKey(project string, backendService string, signedurlkey *SignedUrlKey) *BackendServicesAddSignedUrlKeyCall
AddSignedUrlKey: Adds a key for validating requests with signed URLs for this backend service.
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) DeleteSignedUrlKey ¶
func (r *BackendServicesService) DeleteSignedUrlKey(project string, backendService string, keyName string) *BackendServicesDeleteSignedUrlKeyCall
DeleteSignedUrlKey: Deletes a key for validating requests with signed URLs for this backend service.
func (*BackendServicesService) Get ¶
func (r *BackendServicesService) Get(project string, backendService string) *BackendServicesGetCall
Get: Returns the specified BackendService resource. Gets a list of available backend services. 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 and uses the JSON merge patch format and processing rules. For details, see https://cloud.google.com/compute/docs/reference/latest/backendServices/patch
func (*BackendServicesService) SetSecurityPolicy ¶
func (r *BackendServicesService) SetSecurityPolicy(project string, backendService string, securitypolicyreference *SecurityPolicyReference) *BackendServicesSetSecurityPolicyCall
SetSecurityPolicy: Sets the security policy for the specified backend service.
func (*BackendServicesService) TestIamPermissions ¶
func (r *BackendServicesService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *BackendServicesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
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 BackendServicesSetSecurityPolicyCall ¶
type BackendServicesSetSecurityPolicyCall struct {
// contains filtered or unexported fields
}
func (*BackendServicesSetSecurityPolicyCall) Context ¶
func (c *BackendServicesSetSecurityPolicyCall) Context(ctx context.Context) *BackendServicesSetSecurityPolicyCall
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 (*BackendServicesSetSecurityPolicyCall) Do ¶
func (c *BackendServicesSetSecurityPolicyCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.backendServices.setSecurityPolicy" 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 (*BackendServicesSetSecurityPolicyCall) Fields ¶
func (c *BackendServicesSetSecurityPolicyCall) Fields(s ...googleapi.Field) *BackendServicesSetSecurityPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*BackendServicesSetSecurityPolicyCall) Header ¶
func (c *BackendServicesSetSecurityPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*BackendServicesSetSecurityPolicyCall) RequestId ¶
func (c *BackendServicesSetSecurityPolicyCall) RequestId(requestId string) *BackendServicesSetSecurityPolicyCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type BackendServicesTestIamPermissionsCall ¶
type BackendServicesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*BackendServicesTestIamPermissionsCall) Context ¶
func (c *BackendServicesTestIamPermissionsCall) Context(ctx context.Context) *BackendServicesTestIamPermissionsCall
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 (*BackendServicesTestIamPermissionsCall) Do ¶
func (c *BackendServicesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.backendServices.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*BackendServicesTestIamPermissionsCall) Fields ¶
func (c *BackendServicesTestIamPermissionsCall) Fields(s ...googleapi.Field) *BackendServicesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*BackendServicesTestIamPermissionsCall) Header ¶
func (c *BackendServicesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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.
func (*BackendServicesUpdateCall) RequestId ¶
func (c *BackendServicesUpdateCall) RequestId(requestId string) *BackendServicesUpdateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type Binding ¶
type Binding struct { // Condition: The condition that is associated with this binding. NOTE: // An unsatisfied condition will not allow user access via current // binding. Different bindings, including their conditions, are examined // independently. Condition *Expr `json:"condition,omitempty"` // Members: Specifies the identities requesting access for a Cloud // Platform resource. `members` can have the following values: // // * `allUsers`: A special identifier that represents anyone who is on // the internet; with or without a Google account. // // * `allAuthenticatedUsers`: A special identifier that represents // anyone who is authenticated with a Google account or a service // account. // // * `user:{emailid}`: An email address that represents a specific // Google account. For example, `alice@gmail.com` . // // // // * `serviceAccount:{emailid}`: An email address that represents a // service account. For example, // `my-other-app@appspot.gserviceaccount.com`. // // * `group:{emailid}`: An email address that represents a Google group. // For example, `admins@example.com`. // // // // * `domain:{domain}`: The G Suite domain (primary) that represents all // the users of that domain. For example, `google.com` or `example.com`. Members []string `json:"members,omitempty"` // Role: Role that is assigned to `members`. For example, // `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `json:"role,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") 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. "Condition") 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:"-"` }
Binding: Associates `members` with a `role`.
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 ¶
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:"-"` }
CacheKeyPolicy: Message containing what to include in the cache key for a request for Cloud CDN.
func (*CacheKeyPolicy) MarshalJSON ¶
func (s *CacheKeyPolicy) MarshalJSON() ([]byte, error)
type CircuitBreakers ¶
type CircuitBreakers struct { // ConnectTimeout: The timeout for new network connections to hosts. ConnectTimeout *Duration `json:"connectTimeout,omitempty"` // MaxConnections: The maximum number of connections to the backend // cluster. If not specified, the default is 1024. MaxConnections int64 `json:"maxConnections,omitempty"` // MaxPendingRequests: The maximum number of pending requests allowed to // the backend cluster. If not specified, the default is 1024. MaxPendingRequests int64 `json:"maxPendingRequests,omitempty"` // MaxRequests: The maximum number of parallel requests that allowed to // the backend cluster. If not specified, the default is 1024. MaxRequests int64 `json:"maxRequests,omitempty"` // MaxRequestsPerConnection: Maximum requests for a single backend // connection. This parameter is respected by both the HTTP/1.1 and // HTTP/2 implementations. If not specified, there is no limit. Setting // this parameter to 1 will effectively disable keep alive. MaxRequestsPerConnection int64 `json:"maxRequestsPerConnection,omitempty"` // MaxRetries: The maximum number of parallel retries allowed to the // backend cluster. If not specified, the default is 3. MaxRetries int64 `json:"maxRetries,omitempty"` // ForceSendFields is a list of field names (e.g. "ConnectTimeout") 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. "ConnectTimeout") 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:"-"` }
CircuitBreakers: Settings controlling the volume of connections to a backend service.
func (*CircuitBreakers) MarshalJSON ¶
func (s *CircuitBreakers) MarshalJSON() ([]byte, error)
type Commitment ¶
type Commitment 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"` // EndTimestamp: [Output Only] Commitment end time in RFC3339 text // format. EndTimestamp string `json:"endTimestamp,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#commitment // for commitments. 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"` // Plan: The plan for this commitment, which determines duration and // discount rate. The currently supported plans are TWELVE_MONTH (1 // year), and THIRTY_SIX_MONTH (3 years). // // Possible values: // "INVALID" // "THIRTY_SIX_MONTH" // "TWELVE_MONTH" Plan string `json:"plan,omitempty"` // Region: [Output Only] URL of the region where this commitment may be // used. Region string `json:"region,omitempty"` // Reservations: List of reservations for this commitment. Reservations []*Reservation `json:"reservations,omitempty"` // Resources: A list of commitment amounts for particular resources. // Note that VCPU and MEMORY resource commitments must occur together. Resources []*ResourceCommitment `json:"resources,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // StartTimestamp: [Output Only] Commitment start time in RFC3339 text // format. StartTimestamp string `json:"startTimestamp,omitempty"` // Status: [Output Only] Status of the commitment with regards to // eventual expiration (each commitment has an end date defined). One of // the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. // // Possible values: // "ACTIVE" // "CREATING" // "EXPIRED" // "NOT_YET_ACTIVE" Status string `json:"status,omitempty"` // StatusMessage: [Output Only] An optional, human-readable explanation // of the status. StatusMessage string `json:"statusMessage,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:"-"` }
Commitment: Represents a Commitment resource. Creating a Commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts.
Committed use discounts are subject to Google Cloud Platform's Service Specific Terms. By purchasing a committed use discount, you agree to these terms. Committed use discounts will not renew, so you must purchase a new commitment to continue receiving discounts. (== resource_for beta.commitments ==) (== resource_for v1.commitments ==)
func (*Commitment) MarshalJSON ¶
func (s *Commitment) MarshalJSON() ([]byte, error)
type CommitmentAggregatedList ¶
type CommitmentAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of CommitmentsScopedList resources. Items map[string]CommitmentsScopedList `json:"items,omitempty"` // Kind: [Output Only] Type of resource. Always // compute#commitmentAggregatedList for aggregated lists of commitments. 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"` // Warning: [Output Only] Informational warning message. Warning *CommitmentAggregatedListWarning `json:"warning,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 (*CommitmentAggregatedList) MarshalJSON ¶
func (s *CommitmentAggregatedList) MarshalJSON() ([]byte, error)
type CommitmentAggregatedListWarning ¶
type CommitmentAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*CommitmentAggregatedListWarningData `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:"-"` }
CommitmentAggregatedListWarning: [Output Only] Informational warning message.
func (*CommitmentAggregatedListWarning) MarshalJSON ¶
func (s *CommitmentAggregatedListWarning) MarshalJSON() ([]byte, error)
type CommitmentAggregatedListWarningData ¶
type CommitmentAggregatedListWarningData 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 (*CommitmentAggregatedListWarningData) MarshalJSON ¶
func (s *CommitmentAggregatedListWarningData) MarshalJSON() ([]byte, error)
type CommitmentList ¶
type CommitmentList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of Commitment resources. Items []*Commitment `json:"items,omitempty"` // Kind: [Output Only] Type of resource. Always compute#commitmentList // for lists of commitments. 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"` // Warning: [Output Only] Informational warning message. Warning *CommitmentListWarning `json:"warning,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:"-"` }
CommitmentList: Contains a list of Commitment resources.
func (*CommitmentList) MarshalJSON ¶
func (s *CommitmentList) MarshalJSON() ([]byte, error)
type CommitmentListWarning ¶
type CommitmentListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*CommitmentListWarningData `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:"-"` }
CommitmentListWarning: [Output Only] Informational warning message.
func (*CommitmentListWarning) MarshalJSON ¶
func (s *CommitmentListWarning) MarshalJSON() ([]byte, error)
type CommitmentListWarningData ¶
type CommitmentListWarningData 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 (*CommitmentListWarningData) MarshalJSON ¶
func (s *CommitmentListWarningData) MarshalJSON() ([]byte, error)
type CommitmentsScopedList ¶
type CommitmentsScopedList struct { // Commitments: [Output Only] A list of commitments contained in this // scope. Commitments []*Commitment `json:"commitments,omitempty"` // Warning: [Output Only] Informational warning which replaces the list // of commitments when the list is empty. Warning *CommitmentsScopedListWarning `json:"warning,omitempty"` // ForceSendFields is a list of field names (e.g. "Commitments") 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. "Commitments") 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 (*CommitmentsScopedList) MarshalJSON ¶
func (s *CommitmentsScopedList) MarshalJSON() ([]byte, error)
type CommitmentsScopedListWarning ¶
type CommitmentsScopedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*CommitmentsScopedListWarningData `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:"-"` }
CommitmentsScopedListWarning: [Output Only] Informational warning which replaces the list of commitments when the list is empty.
func (*CommitmentsScopedListWarning) MarshalJSON ¶
func (s *CommitmentsScopedListWarning) MarshalJSON() ([]byte, error)
type CommitmentsScopedListWarningData ¶
type CommitmentsScopedListWarningData 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 (*CommitmentsScopedListWarningData) MarshalJSON ¶
func (s *CommitmentsScopedListWarningData) MarshalJSON() ([]byte, error)
type Condition ¶
type Condition struct { // Iam: Trusted attributes supplied by the IAM system. // // Possible values: // "APPROVER" // "ATTRIBUTION" // "AUTHORITY" // "CREDENTIALS_TYPE" // "JUSTIFICATION_TYPE" // "NO_ATTR" // "SECURITY_REALM" Iam string `json:"iam,omitempty"` // Op: An operator to apply the subject with. // // Possible values: // "DISCHARGED" // "EQUALS" // "IN" // "NOT_EQUALS" // "NOT_IN" // "NO_OP" Op string `json:"op,omitempty"` // Svc: Trusted attributes discharged by the service. Svc string `json:"svc,omitempty"` // Sys: Trusted attributes supplied by any service that owns resources // and uses the IAM system for access control. // // Possible values: // "IP" // "NAME" // "NO_ATTR" // "REGION" // "SERVICE" Sys string `json:"sys,omitempty"` // Values: The objects of the condition. Values []string `json:"values,omitempty"` // ForceSendFields is a list of field names (e.g. "Iam") 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. "Iam") 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:"-"` }
Condition: A condition to be met.
type ConnectionDraining ¶
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:"-"` }
ConnectionDraining: Message containing connection draining configuration.
func (*ConnectionDraining) MarshalJSON ¶
func (s *ConnectionDraining) MarshalJSON() ([]byte, error)
type ConsistentHashLoadBalancerSettings ¶
type ConsistentHashLoadBalancerSettings struct { // HttpCookie: Hash is based on HTTP Cookie. This field describes a HTTP // cookie that will be used as the hash key for the consistent hash load // balancer. If the cookie is not present, it will be generated. This // field is applicable if the sessionAffinity is set to HTTP_COOKIE. HttpCookie *ConsistentHashLoadBalancerSettingsHttpCookie `json:"httpCookie,omitempty"` // HttpHeaderName: The hash based on the value of the specified header // field. This field is applicable if the sessionAffinity is set to // HEADER_FIELD. HttpHeaderName string `json:"httpHeaderName,omitempty"` // MinimumRingSize: The minimum number of virtual nodes to use for the // hash ring. Defaults to 1024. Larger ring sizes result in more // granular load distributions. If the number of hosts in the load // balancing pool is larger than the ring size, each host will be // assigned a single virtual node. MinimumRingSize int64 `json:"minimumRingSize,omitempty,string"` // ForceSendFields is a list of field names (e.g. "HttpCookie") 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. "HttpCookie") 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:"-"` }
ConsistentHashLoadBalancerSettings: This message defines settings for a consistent hash style load balancer.
func (*ConsistentHashLoadBalancerSettings) MarshalJSON ¶
func (s *ConsistentHashLoadBalancerSettings) MarshalJSON() ([]byte, error)
type ConsistentHashLoadBalancerSettingsHttpCookie ¶
type ConsistentHashLoadBalancerSettingsHttpCookie struct { // Name: Name of the cookie. Name string `json:"name,omitempty"` // Path: Path to set for the cookie. Path string `json:"path,omitempty"` // Ttl: Lifetime of the cookie. Ttl *Duration `json:"ttl,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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:"-"` }
ConsistentHashLoadBalancerSettingsHttpCookie: The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash.
func (*ConsistentHashLoadBalancerSettingsHttpCookie) MarshalJSON ¶
func (s *ConsistentHashLoadBalancerSettingsHttpCookie) MarshalJSON() ([]byte, error)
type CorsPolicy ¶
type CorsPolicy struct { // AllowCredentials: In response to a preflight request, setting this to // true indicates that the actual request can include user credentials. // This translates to the Access-Control-Allow-Credentials // header. // Default is false. AllowCredentials bool `json:"allowCredentials,omitempty"` // AllowHeaders: Specifies the content for the // Access-Control-Allow-Headers header. AllowHeaders []string `json:"allowHeaders,omitempty"` // AllowMethods: Specifies the content for the // Access-Control-Allow-Methods header. AllowMethods []string `json:"allowMethods,omitempty"` // AllowOriginRegexes: Specifies the regualar expression patterns that // match allowed origins. For regular expression grammar please see // en.cppreference.com/w/cpp/regex/ecmascript // An origin is allowed if it matches either allow_origins or // allow_origin_regex. AllowOriginRegexes []string `json:"allowOriginRegexes,omitempty"` // AllowOrigins: Specifies the list of origins that will be allowed to // do CORS requests. // An origin is allowed if it matches either allow_origins or // allow_origin_regex. AllowOrigins []string `json:"allowOrigins,omitempty"` // Disabled: If true, specifies the CORS policy is disabled. The default // value of false, which indicates that the CORS policy is in effect. Disabled bool `json:"disabled,omitempty"` // ExposeHeaders: Specifies the content for the // Access-Control-Expose-Headers header. ExposeHeaders []string `json:"exposeHeaders,omitempty"` // MaxAge: Specifies how long the results of a preflight request can be // cached. This translates to the content for the Access-Control-Max-Age // header. MaxAge int64 `json:"maxAge,omitempty"` // ForceSendFields is a list of field names (e.g. "AllowCredentials") 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. "AllowCredentials") 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:"-"` }
CorsPolicy: The specification for allowing client side cross-origin requests. Please see W3C Recommendation for Cross Origin Resource Sharing
func (*CorsPolicy) MarshalJSON ¶
func (s *CorsPolicy) MarshalJSON() ([]byte, error)
type CustomerEncryptionKey ¶
type CustomerEncryptionKey struct { // KmsKeyName: The name of the encryption key that is stored in Google // Cloud KMS. KmsKeyName string `json:"kmsKeyName,omitempty"` // 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"` // RsaEncryptedKey: Specifies an RFC 4648 base64 encoded, RSA-wrapped // 2048-bit customer-supplied encryption key to either encrypt or // decrypt this resource. // // The key must meet the following requirements before you can provide // it to Compute Engine: // - The key is wrapped using a RSA public key certificate provided by // Google. // - After being wrapped, the key must be encoded in RFC 4648 base64 // encoding. Gets the RSA public key certificate provided by Google // at: // https://cloud-certs.storage.googleapis.com/google-cloud-csek-ingre // ss.pem RsaEncryptedKey string `json:"rsaEncryptedKey,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. "KmsKeyName") 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. "KmsKeyName") 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:"-"` }
CustomerEncryptionKey: Represents a customer-supplied encryption key
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 ¶
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 ACTIVE, // DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the // end of life date for an image, can use ACTIVE. 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: // "ACTIVE" // "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:"-"` }
DeprecationStatus: Deprecation status for a public resource.
func (*DeprecationStatus) MarshalJSON ¶
func (s *DeprecationStatus) MarshalJSON() ([]byte, error)
type Disk ¶
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, to create a disk image, to create a machine 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"` // GuestOsFeatures: A list of features to enable on the guest operating // system. Applicable only for bootable images. Read Enabling guest // operating system features to see a list of available options. GuestOsFeatures []*GuestOsFeature `json:"guestOsFeatures,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, otherwise the request will fail with error // 412 conditionNotMet. // // 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"` // LicenseCodes: Integer license codes indicating which licenses are // attached to this disk. LicenseCodes googleapi.Int64s `json:"licenseCodes,omitempty"` // Licenses: A list of publicly visible licenses. Reserved for Google's // use. 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"` // PhysicalBlockSizeBytes: Physical block size of the persistent disk, // in bytes. If not present in a request, a default value is used. // Currently supported sizes are 4096 and 16384, other sizes may be // added in the future. If an unsupported value is requested, the error // message will list the supported values for the caller's project. PhysicalBlockSizeBytes int64 `json:"physicalBlockSizeBytes,omitempty,string"` // Region: [Output Only] URL of the region where the disk resides. Only // applicable for regional resources. You must specify this field as // part of the HTTP request URL. It is not settable as a field in the // request body. Region string `json:"region,omitempty"` // ReplicaZones: URLs of the zones where the disk should be replicated // to. Only applicable for regional resources. ReplicaZones []string `json:"replicaZones,omitempty"` // ResourcePolicies: Resource policies applied to this disk for // automatic snapshot creations. ResourcePolicies []string `json:"resourcePolicies,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. Acceptable values are 1 to 65536, // inclusive. 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-9 to use the latest Debian 9 // image: // projects/debian-cloud/global/images/family/debian-9 // // // Alternati // vely, use a specific version of a public operating system // image: // projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD // // // // To create a disk with a custom image that you created, specify the // image name in the following // format: // global/images/my-custom-image // // // You can also specify a custom 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-image-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" // "DELETING" // "FAILED" // "READY" // "RESTORING" Status string `json:"status,omitempty"` // StorageType: [Deprecated] Storage type of the persistent disk. // // Possible values: // "HDD" // "SSD" StorageType string `json:"storageType,omitempty"` // Type: URL of the disk type resource describing which disk type to use // to create the disk. Provide this when creating the disk. For example: // projects/project/zones/zone/diskTypes/pd-standard or pd-ssd Type string `json:"type,omitempty"` // Users: [Output Only] Links to the users of the disk (attached // instances) in form: projects/project/zones/zone/instances/instance Users []string `json:"users,omitempty"` // Zone: [Output Only] URL of the zone where the disk resides. You must // specify this field as part of the HTTP request URL. It is not // settable as a field in the request body. 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:"-"` }
Disk: A Disk resource. (== resource_for beta.disks ==) (== resource_for v1.disks ==)
type DiskAggregatedList ¶
type DiskAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of DisksScopedList resources. 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. NextPageToken string `json:"nextPageToken,omitempty"` // SelfLink: [Output Only] Server-defined URL for this resource. SelfLink string `json:"selfLink,omitempty"` // Warning: [Output Only] Informational warning message. Warning *DiskAggregatedListWarning `json:"warning,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 DiskAggregatedListWarning ¶
type DiskAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*DiskAggregatedListWarningData `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:"-"` }
DiskAggregatedListWarning: [Output Only] Informational warning message.
func (*DiskAggregatedListWarning) MarshalJSON ¶
func (s *DiskAggregatedListWarning) MarshalJSON() ([]byte, error)
type DiskAggregatedListWarningData ¶
type DiskAggregatedListWarningData 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 (*DiskAggregatedListWarningData) MarshalJSON ¶
func (s *DiskAggregatedListWarningData) MarshalJSON() ([]byte, error)
type DiskInstantiationConfig ¶
type DiskInstantiationConfig 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"` // CustomImage: The custom source image to be used to restore this disk // when instantiating this instance template. CustomImage string `json:"customImage,omitempty"` // DeviceName: Specifies the device name of the disk to which the // configurations apply to. DeviceName string `json:"deviceName,omitempty"` // InstantiateFrom: Specifies whether to include the disk and what image // to use. Possible values are: // - source-image: to use the same image that was used to create the // source instance's corresponding disk. Applicable to the boot disk and // additional read-write disks. // - source-image-family: to use the same image family that was used to // create the source instance's corresponding disk. Applicable to the // boot disk and additional read-write disks. // - custom-image: to use a user-provided image url for disk creation. // Applicable to the boot disk and additional read-write disks. // - attach-read-only: to attach a read-only disk. Applicable to // read-only disks. // - do-not-include: to exclude a disk from the template. Applicable to // additional read-write disks, local SSDs, and read-only disks. // // Possible values: // "ATTACH_READ_ONLY" // "BLANK" // "CUSTOM_IMAGE" // "DEFAULT" // "DO_NOT_INCLUDE" // "SOURCE_IMAGE" // "SOURCE_IMAGE_FAMILY" InstantiateFrom string `json:"instantiateFrom,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:"-"` }
DiskInstantiationConfig: A specification of the desired way to instantiate a disk in the instance template when its created from a source instance.
func (*DiskInstantiationConfig) MarshalJSON ¶
func (s *DiskInstantiationConfig) MarshalJSON() ([]byte, error)
type DiskList ¶
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: [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"` // Warning: [Output Only] Informational warning message. Warning *DiskListWarning `json:"warning,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:"-"` }
DiskList: A list of Disk resources.
type DiskListWarning ¶
type DiskListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*DiskListWarningData `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:"-"` }
DiskListWarning: [Output Only] Informational warning message.
func (*DiskListWarning) MarshalJSON ¶
func (s *DiskListWarning) MarshalJSON() ([]byte, error)
type DiskListWarningData ¶
type DiskListWarningData 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 (*DiskListWarningData) MarshalJSON ¶
func (s *DiskListWarningData) 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 ¶
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"` // Region: [Output Only] URL of the region where the disk type resides. // Only applicable for regional resources. You must specify this field // as part of the HTTP request URL. It is not settable as a field in the // request body. Region string `json:"region,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. You // must specify this field as part of the HTTP request URL. It is not // settable as a field in the request body. 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:"-"` }
DiskType: A DiskType resource. (== resource_for beta.diskTypes ==) (== resource_for v1.diskTypes ==)
type DiskTypeAggregatedList ¶
type DiskTypeAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of DiskTypesScopedList resources. 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"` // Warning: [Output Only] Informational warning message. Warning *DiskTypeAggregatedListWarning `json:"warning,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 DiskTypeAggregatedListWarning ¶
type DiskTypeAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*DiskTypeAggregatedListWarningData `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:"-"` }
DiskTypeAggregatedListWarning: [Output Only] Informational warning message.
func (*DiskTypeAggregatedListWarning) MarshalJSON ¶
func (s *DiskTypeAggregatedListWarning) MarshalJSON() ([]byte, error)
type DiskTypeAggregatedListWarningData ¶
type DiskTypeAggregatedListWarningData 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 (*DiskTypeAggregatedListWarningData) MarshalJSON ¶
func (s *DiskTypeAggregatedListWarningData) MarshalJSON() ([]byte, error)
type DiskTypeList ¶
type DiskTypeList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of DiskType 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"` // Warning: [Output Only] Informational warning message. Warning *DiskTypeListWarning `json:"warning,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:"-"` }
DiskTypeList: Contains a list of disk types.
func (*DiskTypeList) MarshalJSON ¶
func (s *DiskTypeList) MarshalJSON() ([]byte, error)
type DiskTypeListWarning ¶
type DiskTypeListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*DiskTypeListWarningData `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:"-"` }
DiskTypeListWarning: [Output Only] Informational warning message.
func (*DiskTypeListWarning) MarshalJSON ¶
func (s *DiskTypeListWarning) MarshalJSON() ([]byte, error)
type DiskTypeListWarningData ¶
type DiskTypeListWarningData 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 (*DiskTypeListWarningData) MarshalJSON ¶
func (s *DiskTypeListWarningData) 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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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] A 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 ¶
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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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:"-"` }
DiskTypesScopedListWarning: [Output Only] Informational warning which replaces the list of disk types when the list is empty.
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. Gets 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 DisksAddResourcePoliciesCall ¶
type DisksAddResourcePoliciesCall struct {
// contains filtered or unexported fields
}
func (*DisksAddResourcePoliciesCall) Context ¶
func (c *DisksAddResourcePoliciesCall) Context(ctx context.Context) *DisksAddResourcePoliciesCall
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 (*DisksAddResourcePoliciesCall) Do ¶
func (c *DisksAddResourcePoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.disks.addResourcePolicies" 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 (*DisksAddResourcePoliciesCall) Fields ¶
func (c *DisksAddResourcePoliciesCall) Fields(s ...googleapi.Field) *DisksAddResourcePoliciesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DisksAddResourcePoliciesCall) Header ¶
func (c *DisksAddResourcePoliciesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*DisksAddResourcePoliciesCall) RequestId ¶
func (c *DisksAddResourcePoliciesCall) RequestId(requestId string) *DisksAddResourcePoliciesCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type DisksAddResourcePoliciesRequest ¶
type DisksAddResourcePoliciesRequest struct { // ResourcePolicies: Resource policies to be added to this disk. ResourcePolicies []string `json:"resourcePolicies,omitempty"` // ForceSendFields is a list of field names (e.g. "ResourcePolicies") 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. "ResourcePolicies") 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 (*DisksAddResourcePoliciesRequest) MarshalJSON ¶
func (s *DisksAddResourcePoliciesRequest) MarshalJSON() ([]byte, error)
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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": [Input Only] Specifies to create an application consistent snapshot by informing the OS to prepare for the snapshot process. Currently only supported on Windows instances using the Volume Shadow Copy Service (VSS).
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.
func (*DisksCreateSnapshotCall) RequestId ¶
func (c *DisksCreateSnapshotCall) RequestId(requestId string) *DisksCreateSnapshotCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*DisksDeleteCall) RequestId ¶
func (c *DisksDeleteCall) RequestId(requestId string) *DisksDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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 DisksGetIamPolicyCall ¶
type DisksGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*DisksGetIamPolicyCall) Context ¶
func (c *DisksGetIamPolicyCall) Context(ctx context.Context) *DisksGetIamPolicyCall
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 (*DisksGetIamPolicyCall) Do ¶
func (c *DisksGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "compute.disks.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*DisksGetIamPolicyCall) Fields ¶
func (c *DisksGetIamPolicyCall) Fields(s ...googleapi.Field) *DisksGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DisksGetIamPolicyCall) Header ¶
func (c *DisksGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*DisksGetIamPolicyCall) IfNoneMatch ¶
func (c *DisksGetIamPolicyCall) IfNoneMatch(entityTag string) *DisksGetIamPolicyCall
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) RequestId ¶
func (c *DisksInsertCall) RequestId(requestId string) *DisksInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
type DisksRemoveResourcePoliciesCall ¶
type DisksRemoveResourcePoliciesCall struct {
// contains filtered or unexported fields
}
func (*DisksRemoveResourcePoliciesCall) Context ¶
func (c *DisksRemoveResourcePoliciesCall) Context(ctx context.Context) *DisksRemoveResourcePoliciesCall
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 (*DisksRemoveResourcePoliciesCall) Do ¶
func (c *DisksRemoveResourcePoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.disks.removeResourcePolicies" 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 (*DisksRemoveResourcePoliciesCall) Fields ¶
func (c *DisksRemoveResourcePoliciesCall) Fields(s ...googleapi.Field) *DisksRemoveResourcePoliciesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DisksRemoveResourcePoliciesCall) Header ¶
func (c *DisksRemoveResourcePoliciesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*DisksRemoveResourcePoliciesCall) RequestId ¶
func (c *DisksRemoveResourcePoliciesCall) RequestId(requestId string) *DisksRemoveResourcePoliciesCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type DisksRemoveResourcePoliciesRequest ¶
type DisksRemoveResourcePoliciesRequest struct { // ResourcePolicies: Resource policies to be removed from this disk. ResourcePolicies []string `json:"resourcePolicies,omitempty"` // ForceSendFields is a list of field names (e.g. "ResourcePolicies") 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. "ResourcePolicies") 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 (*DisksRemoveResourcePoliciesRequest) MarshalJSON ¶
func (s *DisksRemoveResourcePoliciesRequest) MarshalJSON() ([]byte, error)
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.
func (*DisksResizeCall) RequestId ¶
func (c *DisksResizeCall) RequestId(requestId string) *DisksResizeCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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] A 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 ¶
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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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:"-"` }
DisksScopedListWarning: [Output Only] Informational warning which replaces the list of disks when the list is empty.
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) AddResourcePolicies ¶
func (r *DisksService) AddResourcePolicies(project string, zone string, disk string, disksaddresourcepoliciesrequest *DisksAddResourcePoliciesRequest) *DisksAddResourcePoliciesCall
AddResourcePolicies: Adds existing resource policies to a disk. You can only add one policy which will be applied to this disk for scheduling snapshot creation.
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. Gets 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) GetIamPolicy ¶
func (r *DisksService) GetIamPolicy(project string, zone string, resource string) *DisksGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. May be empty if no such policy or resource exists.
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) RemoveResourcePolicies ¶
func (r *DisksService) RemoveResourcePolicies(project string, zone string, disk string, disksremoveresourcepoliciesrequest *DisksRemoveResourcePoliciesRequest) *DisksRemoveResourcePoliciesCall
RemoveResourcePolicies: Removes resource policies from a disk.
func (*DisksService) Resize ¶
func (r *DisksService) Resize(project string, zone string, disk string, disksresizerequest *DisksResizeRequest) *DisksResizeCall
Resize: Resizes the specified persistent disk. You can only increase the size of the disk.
func (*DisksService) SetIamPolicy ¶
func (r *DisksService) SetIamPolicy(project string, zone string, resource string, zonesetpolicyrequest *ZoneSetPolicyRequest) *DisksSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy.
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.
func (*DisksService) TestIamPermissions ¶
func (r *DisksService) TestIamPermissions(project string, zone string, resource string, testpermissionsrequest *TestPermissionsRequest) *DisksTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
type DisksSetIamPolicyCall ¶
type DisksSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*DisksSetIamPolicyCall) Context ¶
func (c *DisksSetIamPolicyCall) Context(ctx context.Context) *DisksSetIamPolicyCall
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 (*DisksSetIamPolicyCall) Do ¶
func (c *DisksSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "compute.disks.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*DisksSetIamPolicyCall) Fields ¶
func (c *DisksSetIamPolicyCall) Fields(s ...googleapi.Field) *DisksSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DisksSetIamPolicyCall) Header ¶
func (c *DisksSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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.
func (*DisksSetLabelsCall) RequestId ¶
func (c *DisksSetLabelsCall) RequestId(requestId string) *DisksSetLabelsCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type DisksTestIamPermissionsCall ¶
type DisksTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*DisksTestIamPermissionsCall) Context ¶
func (c *DisksTestIamPermissionsCall) Context(ctx context.Context) *DisksTestIamPermissionsCall
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 (*DisksTestIamPermissionsCall) Do ¶
func (c *DisksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.disks.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*DisksTestIamPermissionsCall) Fields ¶
func (c *DisksTestIamPermissionsCall) Fields(s ...googleapi.Field) *DisksTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DisksTestIamPermissionsCall) Header ¶
func (c *DisksTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type DisplayDevice ¶
type DisplayDevice struct { // EnableDisplay: Defines whether the instance has Display enabled. EnableDisplay bool `json:"enableDisplay,omitempty"` // ForceSendFields is a list of field names (e.g. "EnableDisplay") 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. "EnableDisplay") 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:"-"` }
DisplayDevice: A set of Display Device options
func (*DisplayDevice) MarshalJSON ¶
func (s *DisplayDevice) MarshalJSON() ([]byte, error)
type DistributionPolicy ¶
type DistributionPolicy struct { // Zones: Zones where the regional managed instance group will create // and manage instances. Zones []*DistributionPolicyZoneConfiguration `json:"zones,omitempty"` // ForceSendFields is a list of field names (e.g. "Zones") 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. "Zones") 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 (*DistributionPolicy) MarshalJSON ¶
func (s *DistributionPolicy) MarshalJSON() ([]byte, error)
type DistributionPolicyZoneConfiguration ¶
type DistributionPolicyZoneConfiguration struct { // Zone: The URL of the zone. The zone must exist in the region where // the managed instance group is located. Zone string `json:"zone,omitempty"` // ForceSendFields is a list of field names (e.g. "Zone") 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. "Zone") 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 (*DistributionPolicyZoneConfiguration) MarshalJSON ¶
func (s *DistributionPolicyZoneConfiguration) MarshalJSON() ([]byte, error)
type Duration ¶
type Duration struct { // Nanos: Span of time that's a fraction of a second at nanosecond // resolution. Durations less than one second are represented with a 0 // `seconds` field and a positive `nanos` field. Must be from 0 to // 999,999,999 inclusive. Nanos int64 `json:"nanos,omitempty"` // Seconds: Span of time at a resolution of a second. Must be from 0 to // 315,576,000,000 inclusive. Note: these bounds are computed from: 60 // sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years Seconds int64 `json:"seconds,omitempty,string"` // ForceSendFields is a list of field names (e.g. "Nanos") 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. "Nanos") 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:"-"` }
Duration: A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years.
type ExchangedPeeringRoute ¶
type ExchangedPeeringRoute struct { // DestRange: The destination range of the route. DestRange string `json:"destRange,omitempty"` // Imported: If the peering route is imported if there is no // confliction. Imported bool `json:"imported,omitempty"` // NextHopRegion: The region of peering route next hop, only applies to // dynamic routes. NextHopRegion string `json:"nextHopRegion,omitempty"` // Priority: The priority of the peering route. Priority int64 `json:"priority,omitempty"` // Type: The type of the peering route. // // Possible values: // "DYNAMIC_PEERING_ROUTE" // "STATIC_PEERING_ROUTE" // "SUBNET_PEERING_ROUTE" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "DestRange") 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. "DestRange") 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 (*ExchangedPeeringRoute) MarshalJSON ¶
func (s *ExchangedPeeringRoute) MarshalJSON() ([]byte, error)
type ExchangedPeeringRoutesList ¶
type ExchangedPeeringRoutesList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of ExchangedPeeringRoute resources. Items []*ExchangedPeeringRoute `json:"items,omitempty"` // Kind: [Output Only] Type of resource. Always // compute#exchangedPeeringRoutesList for exchanged peering routes // lists. 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"` // Warning: [Output Only] Informational warning message. Warning *ExchangedPeeringRoutesListWarning `json:"warning,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 (*ExchangedPeeringRoutesList) MarshalJSON ¶
func (s *ExchangedPeeringRoutesList) MarshalJSON() ([]byte, error)
type ExchangedPeeringRoutesListWarning ¶
type ExchangedPeeringRoutesListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*ExchangedPeeringRoutesListWarningData `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:"-"` }
ExchangedPeeringRoutesListWarning: [Output Only] Informational warning message.
func (*ExchangedPeeringRoutesListWarning) MarshalJSON ¶
func (s *ExchangedPeeringRoutesListWarning) MarshalJSON() ([]byte, error)
type ExchangedPeeringRoutesListWarningData ¶
type ExchangedPeeringRoutesListWarningData 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 (*ExchangedPeeringRoutesListWarningData) MarshalJSON ¶
func (s *ExchangedPeeringRoutesListWarningData) MarshalJSON() ([]byte, error)
type Expr ¶
type Expr struct { // Description: An optional description of the expression. This is a // longer text which describes the expression, e.g. when hovered over it // in a UI. Description string `json:"description,omitempty"` // Expression: Textual representation of an expression in Common // Expression Language syntax. // // The application context of the containing message determines which // well-known feature set of CEL is supported. Expression string `json:"expression,omitempty"` // Location: An optional string indicating the location of the // expression for error reporting, e.g. a file name and a position in // the file. Location string `json:"location,omitempty"` // Title: An optional title for the expression, i.e. a short string // describing its purpose. This can be used e.g. in UIs which allow to // enter the expression. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"` }
Expr: Represents an expression text. Example:
title: "User account presence" description: "Determines whether the request has a user account" expression: "size(request.user) > 0"
type ExternalVpnGateway ¶
type ExternalVpnGateway 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"` // Id: [Output Only] The unique identifier for the resource. This // identifier is defined by the server. Id uint64 `json:"id,omitempty,string"` // Interfaces: List of interfaces for this external VPN gateway. Interfaces []*ExternalVpnGatewayInterface `json:"interfaces,omitempty"` // Kind: [Output Only] Type of the resource. Always // compute#externalVpnGateway for externalVpnGateways. Kind string `json:"kind,omitempty"` // LabelFingerprint: A fingerprint for the labels being applied to this // ExternalVpnGateway, 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, otherwise the request will fail // with error 412 conditionNotMet. // // To see the latest fingerprint, make a get() request to retrieve an // ExternalVpnGateway. LabelFingerprint string `json:"labelFingerprint,omitempty"` // Labels: Labels to apply to this ExternalVpnGateway resource. These // can be later modified by the setLabels method. Each label key/value // must comply with RFC1035. Label values may be empty. Labels map[string]string `json:"labels,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"` // RedundancyType: Indicates the user-supplied redundancy type of this // external VPN gateway. // // Possible values: // "FOUR_IPS_REDUNDANCY" // "SINGLE_IP_INTERNALLY_REDUNDANT" // "TWO_IPS_REDUNDANCY" RedundancyType string `json:"redundancyType,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. "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:"-"` }
ExternalVpnGateway: External VPN gateway is the on-premises VPN gateway(s) or another cloud provider?s VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud to your on-premises side or another Cloud provider's VPN gateway, you must create a external VPN gateway resource in GCP, which provides the information to GCP about your external VPN gateway.
func (*ExternalVpnGateway) MarshalJSON ¶
func (s *ExternalVpnGateway) MarshalJSON() ([]byte, error)
type ExternalVpnGatewayInterface ¶
type ExternalVpnGatewayInterface struct { // Id: The numeric ID of this interface. The allowed input values for // this id for different redundancy types of external VPN gateway: // SINGLE_IP_INTERNALLY_REDUNDANT - 0 TWO_IPS_REDUNDANCY - 0, 1 // FOUR_IPS_REDUNDANCY - 0, 1, 2, 3 Id int64 `json:"id,omitempty"` // IpAddress: IP address of the interface in the external VPN gateway. // Only IPv4 is supported. This IP address can be either from your // on-premise gateway or another Cloud provider?s VPN gateway, it cannot // be an IP address from Google Compute Engine. IpAddress string `json:"ipAddress,omitempty"` // 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:"-"` }
ExternalVpnGatewayInterface: The interface for the external VPN gateway.
func (*ExternalVpnGatewayInterface) MarshalJSON ¶
func (s *ExternalVpnGatewayInterface) MarshalJSON() ([]byte, error)
type ExternalVpnGatewayList ¶
type ExternalVpnGatewayList struct { Etag string `json:"etag,omitempty"` // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of ExternalVpnGateway resources. Items []*ExternalVpnGateway `json:"items,omitempty"` // Kind: [Output Only] Type of resource. Always // compute#externalVpnGatewayList for lists of externalVpnGateways. 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"` // Warning: [Output Only] Informational warning message. Warning *ExternalVpnGatewayListWarning `json:"warning,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "Etag") 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. "Etag") 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:"-"` }
ExternalVpnGatewayList: Response to the list request, and contains a list of externalVpnGateways.
func (*ExternalVpnGatewayList) MarshalJSON ¶
func (s *ExternalVpnGatewayList) MarshalJSON() ([]byte, error)
type ExternalVpnGatewayListWarning ¶
type ExternalVpnGatewayListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*ExternalVpnGatewayListWarningData `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:"-"` }
ExternalVpnGatewayListWarning: [Output Only] Informational warning message.
func (*ExternalVpnGatewayListWarning) MarshalJSON ¶
func (s *ExternalVpnGatewayListWarning) MarshalJSON() ([]byte, error)
type ExternalVpnGatewayListWarningData ¶
type ExternalVpnGatewayListWarningData 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 (*ExternalVpnGatewayListWarningData) MarshalJSON ¶
func (s *ExternalVpnGatewayListWarningData) MarshalJSON() ([]byte, error)
type ExternalVpnGatewaysDeleteCall ¶
type ExternalVpnGatewaysDeleteCall struct {
// contains filtered or unexported fields
}
func (*ExternalVpnGatewaysDeleteCall) Context ¶
func (c *ExternalVpnGatewaysDeleteCall) Context(ctx context.Context) *ExternalVpnGatewaysDeleteCall
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 (*ExternalVpnGatewaysDeleteCall) Do ¶
func (c *ExternalVpnGatewaysDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.externalVpnGateways.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 (*ExternalVpnGatewaysDeleteCall) Fields ¶
func (c *ExternalVpnGatewaysDeleteCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExternalVpnGatewaysDeleteCall) Header ¶
func (c *ExternalVpnGatewaysDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ExternalVpnGatewaysDeleteCall) RequestId ¶
func (c *ExternalVpnGatewaysDeleteCall) RequestId(requestId string) *ExternalVpnGatewaysDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ExternalVpnGatewaysGetCall ¶
type ExternalVpnGatewaysGetCall struct {
// contains filtered or unexported fields
}
func (*ExternalVpnGatewaysGetCall) Context ¶
func (c *ExternalVpnGatewaysGetCall) Context(ctx context.Context) *ExternalVpnGatewaysGetCall
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 (*ExternalVpnGatewaysGetCall) Do ¶
func (c *ExternalVpnGatewaysGetCall) Do(opts ...googleapi.CallOption) (*ExternalVpnGateway, error)
Do executes the "compute.externalVpnGateways.get" call. Exactly one of *ExternalVpnGateway or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExternalVpnGateway.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 (*ExternalVpnGatewaysGetCall) Fields ¶
func (c *ExternalVpnGatewaysGetCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExternalVpnGatewaysGetCall) Header ¶
func (c *ExternalVpnGatewaysGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ExternalVpnGatewaysGetCall) IfNoneMatch ¶
func (c *ExternalVpnGatewaysGetCall) IfNoneMatch(entityTag string) *ExternalVpnGatewaysGetCall
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 ExternalVpnGatewaysInsertCall ¶
type ExternalVpnGatewaysInsertCall struct {
// contains filtered or unexported fields
}
func (*ExternalVpnGatewaysInsertCall) Context ¶
func (c *ExternalVpnGatewaysInsertCall) Context(ctx context.Context) *ExternalVpnGatewaysInsertCall
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 (*ExternalVpnGatewaysInsertCall) Do ¶
func (c *ExternalVpnGatewaysInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.externalVpnGateways.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 (*ExternalVpnGatewaysInsertCall) Fields ¶
func (c *ExternalVpnGatewaysInsertCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExternalVpnGatewaysInsertCall) Header ¶
func (c *ExternalVpnGatewaysInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ExternalVpnGatewaysInsertCall) RequestId ¶
func (c *ExternalVpnGatewaysInsertCall) RequestId(requestId string) *ExternalVpnGatewaysInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ExternalVpnGatewaysListCall ¶
type ExternalVpnGatewaysListCall struct {
// contains filtered or unexported fields
}
func (*ExternalVpnGatewaysListCall) Context ¶
func (c *ExternalVpnGatewaysListCall) Context(ctx context.Context) *ExternalVpnGatewaysListCall
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 (*ExternalVpnGatewaysListCall) Do ¶
func (c *ExternalVpnGatewaysListCall) Do(opts ...googleapi.CallOption) (*ExternalVpnGatewayList, error)
Do executes the "compute.externalVpnGateways.list" call. Exactly one of *ExternalVpnGatewayList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ExternalVpnGatewayList.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 (*ExternalVpnGatewaysListCall) Fields ¶
func (c *ExternalVpnGatewaysListCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExternalVpnGatewaysListCall) Filter ¶
func (c *ExternalVpnGatewaysListCall) Filter(filter string) *ExternalVpnGatewaysListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*ExternalVpnGatewaysListCall) Header ¶
func (c *ExternalVpnGatewaysListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ExternalVpnGatewaysListCall) IfNoneMatch ¶
func (c *ExternalVpnGatewaysListCall) IfNoneMatch(entityTag string) *ExternalVpnGatewaysListCall
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 (*ExternalVpnGatewaysListCall) MaxResults ¶
func (c *ExternalVpnGatewaysListCall) MaxResults(maxResults int64) *ExternalVpnGatewaysListCall
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 (*ExternalVpnGatewaysListCall) OrderBy ¶
func (c *ExternalVpnGatewaysListCall) OrderBy(orderBy string) *ExternalVpnGatewaysListCall
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 (*ExternalVpnGatewaysListCall) PageToken ¶
func (c *ExternalVpnGatewaysListCall) PageToken(pageToken string) *ExternalVpnGatewaysListCall
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 (*ExternalVpnGatewaysListCall) Pages ¶
func (c *ExternalVpnGatewaysListCall) Pages(ctx context.Context, f func(*ExternalVpnGatewayList) 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 ExternalVpnGatewaysService ¶
type ExternalVpnGatewaysService struct {
// contains filtered or unexported fields
}
func NewExternalVpnGatewaysService ¶
func NewExternalVpnGatewaysService(s *Service) *ExternalVpnGatewaysService
func (*ExternalVpnGatewaysService) Delete ¶
func (r *ExternalVpnGatewaysService) Delete(project string, externalVpnGateway string) *ExternalVpnGatewaysDeleteCall
Delete: Deletes the specified externalVpnGateway.
func (*ExternalVpnGatewaysService) Get ¶
func (r *ExternalVpnGatewaysService) Get(project string, externalVpnGateway string) *ExternalVpnGatewaysGetCall
Get: Returns the specified externalVpnGateway. Get a list of available externalVpnGateways by making a list() request.
func (*ExternalVpnGatewaysService) Insert ¶
func (r *ExternalVpnGatewaysService) Insert(project string, externalvpngateway *ExternalVpnGateway) *ExternalVpnGatewaysInsertCall
Insert: Creates a ExternalVpnGateway in the specified project using the data included in the request.
func (*ExternalVpnGatewaysService) List ¶
func (r *ExternalVpnGatewaysService) List(project string) *ExternalVpnGatewaysListCall
List: Retrieves the list of ExternalVpnGateway available to the specified project.
func (*ExternalVpnGatewaysService) SetLabels ¶
func (r *ExternalVpnGatewaysService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *ExternalVpnGatewaysSetLabelsCall
SetLabels: Sets the labels on an ExternalVpnGateway. To learn more about labels, read the Labeling Resources documentation.
func (*ExternalVpnGatewaysService) TestIamPermissions ¶
func (r *ExternalVpnGatewaysService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *ExternalVpnGatewaysTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
type ExternalVpnGatewaysSetLabelsCall ¶
type ExternalVpnGatewaysSetLabelsCall struct {
// contains filtered or unexported fields
}
func (*ExternalVpnGatewaysSetLabelsCall) Context ¶
func (c *ExternalVpnGatewaysSetLabelsCall) Context(ctx context.Context) *ExternalVpnGatewaysSetLabelsCall
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 (*ExternalVpnGatewaysSetLabelsCall) Do ¶
func (c *ExternalVpnGatewaysSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.externalVpnGateways.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 (*ExternalVpnGatewaysSetLabelsCall) Fields ¶
func (c *ExternalVpnGatewaysSetLabelsCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysSetLabelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExternalVpnGatewaysSetLabelsCall) Header ¶
func (c *ExternalVpnGatewaysSetLabelsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ExternalVpnGatewaysTestIamPermissionsCall ¶
type ExternalVpnGatewaysTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ExternalVpnGatewaysTestIamPermissionsCall) Context ¶
func (c *ExternalVpnGatewaysTestIamPermissionsCall) Context(ctx context.Context) *ExternalVpnGatewaysTestIamPermissionsCall
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 (*ExternalVpnGatewaysTestIamPermissionsCall) Do ¶
func (c *ExternalVpnGatewaysTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.externalVpnGateways.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*ExternalVpnGatewaysTestIamPermissionsCall) Fields ¶
func (c *ExternalVpnGatewaysTestIamPermissionsCall) Fields(s ...googleapi.Field) *ExternalVpnGatewaysTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ExternalVpnGatewaysTestIamPermissionsCall) Header ¶
func (c *ExternalVpnGatewaysTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type Firewall ¶
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"` // Denied: The list of DENY rules specified by this firewall. Each rule // specifies a protocol and port-range tuple that describes a denied // connection. Denied []*FirewallDenied `json:"denied,omitempty"` // Description: An optional description of this resource. Provide this // property when you create the resource. Description string `json:"description,omitempty"` // DestinationRanges: If destination ranges are specified, the firewall // will apply only to traffic that has destination IP address in these // ranges. These ranges must be expressed in CIDR format. Only IPv4 is // supported. DestinationRanges []string `json:"destinationRanges,omitempty"` // Direction: Direction of traffic to which this firewall applies; // default is INGRESS. Note: For INGRESS traffic, it is NOT supported to // specify destinationRanges; For EGRESS traffic, it is NOT supported to // specify sourceRanges OR sourceTags. // // Possible values: // "EGRESS" // "INGRESS" Direction string `json:"direction,omitempty"` // Disabled: Denotes whether the firewall rule is disabled, i.e not // applied to the network it is associated with. When set to true, the // firewall rule is not enforced and the network behaves as if it did // not exist. If this is unspecified, the firewall rule will be enabled. Disabled bool `json:"disabled,omitempty"` // EnableLogging: Deprecated in favor of enable in LogConfig. This field // denotes whether to enable logging for a particular firewall rule. If // logging is enabled, logs will be exported to Stackdriver. EnableLogging bool `json:"enableLogging,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"` // LogConfig: This field denotes the logging options for a particular // firewall rule. If logging is enabled, logs will be exported to // Stackdriver. LogConfig *FirewallLogConfig `json:"logConfig,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"` // Priority: Priority for this rule. This is an integer between 0 and // 65535, both inclusive. When not specified, the value assumed is 1000. // Relative priorities determine precedence of conflicting rules. Lower // value of priority implies higher precedence (eg, a rule with priority // 0 has higher precedence than a rule with priority 1). DENY rules take // precedence over ALLOW rules having equal priority. Priority int64 `json:"priority,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"` // SourceServiceAccounts: If source service accounts are specified, the // firewall will apply only to traffic originating from an instance with // a service account in this list. Source service accounts cannot be // used to control traffic to an instance's external IP address because // service accounts are associated with an instance, not an IP address. // sourceRanges can be set at the same time as sourceServiceAccounts. If // both are set, the firewall will apply to traffic that has source IP // address within sourceRanges OR the source IP belongs to an instance // with service account listed in sourceServiceAccount. The connection // does not need to match both properties for the firewall to apply. // sourceServiceAccounts cannot be used at the same time as sourceTags // or targetTags. SourceServiceAccounts []string `json:"sourceServiceAccounts,omitempty"` // SourceTags: If source tags are specified, the firewall rule applies // only to traffic with source IPs that match the primary network // interfaces of VM instances that have the tag and are in the same VPC // network. Source tags cannot be used to control traffic to an // instance's external IP address, it only applies to traffic between // instances in the same virtual network. Because tags are associated // with instances, not IP addresses. 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"` // TargetServiceAccounts: A list of service accounts indicating sets of // instances located in the network that may make network connections as // specified in allowed[]. targetServiceAccounts cannot be used at the // same time as targetTags or sourceTags. If neither // targetServiceAccounts nor targetTags are specified, the firewall rule // applies to all instances on the specified network. TargetServiceAccounts []string `json:"targetServiceAccounts,omitempty"` // TargetTags: A list of tags that controls which instances the firewall // rule applies to. If targetTags are specified, then the firewall rule // applies only to instances in the VPC network that have one of those // tags. 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:"-"` }
Firewall: Represents a Firewall resource.
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, ipip, 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 FirewallDenied ¶
type FirewallDenied 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, ipip, 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 (*FirewallDenied) MarshalJSON ¶
func (s *FirewallDenied) MarshalJSON() ([]byte, error)
type FirewallList ¶
type FirewallList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: 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"` // Warning: [Output Only] Informational warning message. Warning *FirewallListWarning `json:"warning,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:"-"` }
FirewallList: Contains a list of firewalls.
func (*FirewallList) MarshalJSON ¶
func (s *FirewallList) MarshalJSON() ([]byte, error)
type FirewallListWarning ¶
type FirewallListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*FirewallListWarningData `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:"-"` }
FirewallListWarning: [Output Only] Informational warning message.
func (*FirewallListWarning) MarshalJSON ¶
func (s *FirewallListWarning) MarshalJSON() ([]byte, error)
type FirewallListWarningData ¶
type FirewallListWarningData 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 (*FirewallListWarningData) MarshalJSON ¶
func (s *FirewallListWarningData) MarshalJSON() ([]byte, error)
type FirewallLogConfig ¶
type FirewallLogConfig struct { // Enable: This field denotes whether to enable logging for a particular // firewall rule. Enable bool `json:"enable,omitempty"` // ForceSendFields is a list of field names (e.g. "Enable") 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. "Enable") 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:"-"` }
FirewallLogConfig: The available logging options for a firewall rule.
func (*FirewallLogConfig) MarshalJSON ¶
func (s *FirewallLogConfig) 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.
func (*FirewallsDeleteCall) RequestId ¶
func (c *FirewallsDeleteCall) RequestId(requestId string) *FirewallsDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*FirewallsInsertCall) RequestId ¶
func (c *FirewallsInsertCall) RequestId(requestId string) *FirewallsInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
func (*FirewallsPatchCall) RequestId ¶
func (c *FirewallsPatchCall) RequestId(requestId string) *FirewallsPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. For details, see https://cloud.google.com/compute/docs/reference/latest/firewalls/patch
func (*FirewallsService) TestIamPermissions ¶
func (r *FirewallsService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *FirewallsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
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. The PUT method can only update the following fields of firewall rule: allowed, description, sourceRanges, sourceTags, targetTags. For details, see https://cloud.google.com/compute/docs/reference/latest/firewalls/update
type FirewallsTestIamPermissionsCall ¶
type FirewallsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*FirewallsTestIamPermissionsCall) Context ¶
func (c *FirewallsTestIamPermissionsCall) Context(ctx context.Context) *FirewallsTestIamPermissionsCall
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 (*FirewallsTestIamPermissionsCall) Do ¶
func (c *FirewallsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.firewalls.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*FirewallsTestIamPermissionsCall) Fields ¶
func (c *FirewallsTestIamPermissionsCall) Fields(s ...googleapi.Field) *FirewallsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*FirewallsTestIamPermissionsCall) Header ¶
func (c *FirewallsTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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.
func (*FirewallsUpdateCall) RequestId ¶
func (c *FirewallsUpdateCall) RequestId(requestId string) *FirewallsUpdateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type FixedOrPercent ¶
type FixedOrPercent struct { // Calculated: [Output Only] Absolute value of VM instances calculated // based on the specific mode. // // // - If the value is fixed, then the calculated value is equal to the // fixed value. // - If the value is a percent, then the calculated value is percent/100 // * targetSize. For example, the calculated value of a 80% of a managed // instance group with 150 instances would be (80/100 * 150) = 120 VM // instances. If there is a remainder, the number is rounded up. Calculated int64 `json:"calculated,omitempty"` // Fixed: Specifies a fixed number of VM instances. This must be a // positive integer. Fixed int64 `json:"fixed,omitempty"` // Percent: Specifies a percentage of instances between 0 to 100%, // inclusive. For example, specify 80 for 80%. Percent int64 `json:"percent,omitempty"` // ForceSendFields is a list of field names (e.g. "Calculated") 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. "Calculated") 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:"-"` }
FixedOrPercent: Encapsulates numeric value that can be either absolute or relative.
func (*FixedOrPercent) MarshalJSON ¶
func (s *FixedOrPercent) MarshalJSON() ([]byte, error)
type ForwardingRule ¶
type ForwardingRule struct { // IPAddress: The IP address that this forwarding rule is serving on // behalf of. // // Addresses are restricted based on the forwarding rule's load // balancing scheme (EXTERNAL or INTERNAL) and scope (global or // regional). // // When the load balancing scheme is EXTERNAL, for global forwarding // rules, the address must be a global IP, and for regional forwarding // rules, the address must live in the same region as the forwarding // rule. If this field is empty, 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_SELF_MANAGED, this must be // a URL reference to an existing Address resource ( internal regional // static IP address), with a purpose of GCE_END_POINT and address_type // of INTERNAL. // // When the load balancing scheme is INTERNAL, this can only be an RFC // 1918 IP address belonging to the network/subnet configured for the // forwarding rule. By default, if this field is empty, an ephemeral // internal IP address will be automatically allocated from the IP range // of the subnet or network configured for this forwarding rule. // // An address can be specified either by a literal IP address or a URL // reference to an existing Address resource. The following examples are // all valid: // - 100.1.2.3 // - // https://www.googleapis.com/compute/v1/projects/project/regions/region/addresses/address // - projects/project/regions/region/addresses/address // - regions/region/addresses/address // - global/addresses/address // - address 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. When the load balancing scheme is INTERNAL_SELF_MANAGED, only // TCPis valid. // // Possible values: // "AH" // "ESP" // "ICMP" // "SCTP" // "TCP" // "UDP" IPProtocol string `json:"IPProtocol,omitempty"` // AllPorts: This field is used along with the backend_service field for // internal load balancing or with the target field for internal // TargetInstance. This field cannot be used with port or portRange // fields. // // When the load balancing scheme is INTERNAL and protocol is TCP/UDP, // specify this field to allow packets addressed to any ports will be // forwarded to the backends configured with this forwarding rule. AllPorts bool `json:"allPorts,omitempty"` // AllowGlobalAccess: This field is used along with the backend_service // field for internal load balancing or with the target field for // internal TargetInstance. If the field is set to TRUE, clients can // access ILB from all regions. Otherwise only allows access from // clients in the same region as the internal load balancer. AllowGlobalAccess bool `json:"allowGlobalAccess,omitempty"` // BackendService: This field is only used for INTERNAL 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"` // 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 ForwardingRule. Include the // fingerprint in patch request to ensure that you do not overwrite // changes that were applied from another concurrent request. // // To see the latest fingerprint, make a get() request to retrieve a // ForwardingRule. Fingerprint string `json:"fingerprint,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 an // external 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"` // LabelFingerprint: A fingerprint for the labels being applied to this // resource, 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, otherwise the request will fail with error // 412 conditionNotMet. // // To see the latest fingerprint, make a get() request to retrieve a // ForwardingRule. LabelFingerprint string `json:"labelFingerprint,omitempty"` // Labels: Labels to apply to this resource. These can be later modified // by the setLabels method. Each label key/value pair must comply with // RFC1035. Label values may be empty. Labels map[string]string `json:"labels,omitempty"` // LoadBalancingScheme: This signifies what the ForwardingRule will be // used for and can only take the following values: INTERNAL, // INTERNAL_SELF_MANAGED, EXTERNAL. The value of INTERNAL means that // this will be used for Internal Network Load Balancing (TCP, UDP). The // value of INTERNAL_SELF_MANAGED means that this will be used for // Internal Global HTTP(S) LB. 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" // "INTERNAL_MANAGED" // "INTERNAL_SELF_MANAGED" // "INVALID" LoadBalancingScheme string `json:"loadBalancingScheme,omitempty"` // MetadataFilters: Opaque filter criteria used by Loadbalancer to // restrict routing configuration to a limited set xDS compliant // clients. In their xDS requests to Loadbalancer, xDS clients present // node metadata. If a match takes place, the relevant routing // configuration is made available to those proxies. // For each metadataFilter in this list, if its filterMatchCriteria is // set to MATCH_ANY, at least one of the filterLabels must match the // corresponding label provided in the metadata. If its // filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels // must match with corresponding labels in the provided // metadata. // metadataFilters specified here can be overridden by those specified // in the UrlMap that this ForwardingRule references. // metadataFilters only applies to Loadbalancers that have their // loadBalancingScheme set to INTERNAL_SELF_MANAGED. MetadataFilters []*MetadataFilter `json:"metadataFilters,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 and INTERNAL_SELF_MANAGED 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"` // NetworkTier: This signifies the networking tier used for configuring // this load balancer and can only take the following values: PREMIUM , // STANDARD. // // For regional ForwardingRule, the valid values are PREMIUM and // STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. // // If this field is not specified, it is assumed to be PREMIUM. If // IPAddress is specified, this value must be equal to the networkTier // of the Address. // // Possible values: // "PREMIUM" // "STANDARD" NetworkTier string `json:"networkTier,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, 1688, 1883, 5222 // - TargetSslProxy: 25, 43, 110, 143, 195, 443, 465, 587, 700, 993, // 995, 1688, 1883, 5222 // - 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 list of ports can be // configured, for example, ['80'], ['8000','9000'] etc. 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. You must specify this field as part of the HTTP request URL. // It is not settable as a field in the request body. Region string `json:"region,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // ServiceLabel: An optional prefix to the service name for this // Forwarding Rule. If specified, will be the first label of the fully // qualified service name. // // The label must be 1-63 characters long, and comply with RFC1035. // Specifically, the label 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. // // This field is only used for internal load balancing. ServiceLabel string `json:"serviceLabel,omitempty"` // ServiceName: [Output Only] The internal fully qualified service name // for this Forwarding Rule. // // This field is only used for internal load balancing. ServiceName string `json:"serviceName,omitempty"` // Subnetwork: This field is only used for INTERNAL 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. For // INTERNAL_SELF_MANAGED load balancing, only HTTP and HTTPS targets are // valid. 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:"-"` }
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. (== resource_for beta.forwardingRules ==) (== resource_for v1.forwardingRules ==) (== resource_for beta.globalForwardingRules ==) (== resource_for v1.globalForwardingRules ==) (== resource_for beta.regionForwardingRules ==) (== resource_for v1.regionForwardingRules ==)
func (*ForwardingRule) MarshalJSON ¶
func (s *ForwardingRule) MarshalJSON() ([]byte, error)
type ForwardingRuleAggregatedList ¶
type ForwardingRuleAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of ForwardingRulesScopedList resources. 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"` // Warning: [Output Only] Informational warning message. Warning *ForwardingRuleAggregatedListWarning `json:"warning,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 ForwardingRuleAggregatedListWarning ¶
type ForwardingRuleAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*ForwardingRuleAggregatedListWarningData `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:"-"` }
ForwardingRuleAggregatedListWarning: [Output Only] Informational warning message.
func (*ForwardingRuleAggregatedListWarning) MarshalJSON ¶
func (s *ForwardingRuleAggregatedListWarning) MarshalJSON() ([]byte, error)
type ForwardingRuleAggregatedListWarningData ¶
type ForwardingRuleAggregatedListWarningData 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 (*ForwardingRuleAggregatedListWarningData) MarshalJSON ¶
func (s *ForwardingRuleAggregatedListWarningData) MarshalJSON() ([]byte, error)
type ForwardingRuleList ¶
type ForwardingRuleList struct { // Id: [Output Only] Unique identifier for the resource; defined 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"` // Warning: [Output Only] Informational warning message. Warning *ForwardingRuleListWarning `json:"warning,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:"-"` }
ForwardingRuleList: Contains a list of ForwardingRule resources.
func (*ForwardingRuleList) MarshalJSON ¶
func (s *ForwardingRuleList) MarshalJSON() ([]byte, error)
type ForwardingRuleListWarning ¶
type ForwardingRuleListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*ForwardingRuleListWarningData `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:"-"` }
ForwardingRuleListWarning: [Output Only] Informational warning message.
func (*ForwardingRuleListWarning) MarshalJSON ¶
func (s *ForwardingRuleListWarning) MarshalJSON() ([]byte, error)
type ForwardingRuleListWarningData ¶
type ForwardingRuleListWarningData 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 (*ForwardingRuleListWarningData) MarshalJSON ¶
func (s *ForwardingRuleListWarningData) MarshalJSON() ([]byte, error)
type ForwardingRuleReference ¶
type ForwardingRuleReference struct { ForwardingRule string `json:"forwardingRule,omitempty"` // ForceSendFields is a list of field names (e.g. "ForwardingRule") 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. "ForwardingRule") 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 (*ForwardingRuleReference) MarshalJSON ¶
func (s *ForwardingRuleReference) 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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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.
func (*ForwardingRulesDeleteCall) RequestId ¶
func (c *ForwardingRulesDeleteCall) RequestId(requestId string) *ForwardingRulesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*ForwardingRulesInsertCall) RequestId ¶
func (c *ForwardingRulesInsertCall) RequestId(requestId string) *ForwardingRulesInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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 ForwardingRulesPatchCall ¶
type ForwardingRulesPatchCall struct {
// contains filtered or unexported fields
}
func (*ForwardingRulesPatchCall) Context ¶
func (c *ForwardingRulesPatchCall) Context(ctx context.Context) *ForwardingRulesPatchCall
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 (*ForwardingRulesPatchCall) Do ¶
func (c *ForwardingRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.forwardingRules.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 (*ForwardingRulesPatchCall) Fields ¶
func (c *ForwardingRulesPatchCall) Fields(s ...googleapi.Field) *ForwardingRulesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ForwardingRulesPatchCall) Header ¶
func (c *ForwardingRulesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ForwardingRulesPatchCall) RequestId ¶
func (c *ForwardingRulesPatchCall) RequestId(requestId string) *ForwardingRulesPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ForwardingRulesScopedList ¶
type ForwardingRulesScopedList struct { // ForwardingRules: A 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 ¶
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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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:"-"` }
ForwardingRulesScopedListWarning: Informational warning which replaces the list of forwarding rules when the list is empty.
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) Patch ¶
func (r *ForwardingRulesService) Patch(project string, region string, forwardingRule string, forwardingrule *ForwardingRule) *ForwardingRulesPatchCall
Patch: Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
func (*ForwardingRulesService) SetLabels ¶
func (r *ForwardingRulesService) SetLabels(project string, region string, resource string, regionsetlabelsrequest *RegionSetLabelsRequest) *ForwardingRulesSetLabelsCall
SetLabels: Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.
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
func (*ForwardingRulesService) TestIamPermissions ¶
func (r *ForwardingRulesService) TestIamPermissions(project string, region string, resource string, testpermissionsrequest *TestPermissionsRequest) *ForwardingRulesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
type ForwardingRulesSetLabelsCall ¶
type ForwardingRulesSetLabelsCall struct {
// contains filtered or unexported fields
}
func (*ForwardingRulesSetLabelsCall) Context ¶
func (c *ForwardingRulesSetLabelsCall) Context(ctx context.Context) *ForwardingRulesSetLabelsCall
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 (*ForwardingRulesSetLabelsCall) Do ¶
func (c *ForwardingRulesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.forwardingRules.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 (*ForwardingRulesSetLabelsCall) Fields ¶
func (c *ForwardingRulesSetLabelsCall) Fields(s ...googleapi.Field) *ForwardingRulesSetLabelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ForwardingRulesSetLabelsCall) Header ¶
func (c *ForwardingRulesSetLabelsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ForwardingRulesSetLabelsCall) RequestId ¶
func (c *ForwardingRulesSetLabelsCall) RequestId(requestId string) *ForwardingRulesSetLabelsCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*ForwardingRulesSetTargetCall) RequestId ¶
func (c *ForwardingRulesSetTargetCall) RequestId(requestId string) *ForwardingRulesSetTargetCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ForwardingRulesTestIamPermissionsCall ¶
type ForwardingRulesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ForwardingRulesTestIamPermissionsCall) Context ¶
func (c *ForwardingRulesTestIamPermissionsCall) Context(ctx context.Context) *ForwardingRulesTestIamPermissionsCall
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 (*ForwardingRulesTestIamPermissionsCall) Do ¶
func (c *ForwardingRulesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.forwardingRules.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*ForwardingRulesTestIamPermissionsCall) Fields ¶
func (c *ForwardingRulesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ForwardingRulesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ForwardingRulesTestIamPermissionsCall) Header ¶
func (c *ForwardingRulesTestIamPermissionsCall) 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.
func (*GlobalAddressesDeleteCall) RequestId ¶
func (c *GlobalAddressesDeleteCall) RequestId(requestId string) *GlobalAddressesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*GlobalAddressesInsertCall) RequestId ¶
func (c *GlobalAddressesInsertCall) RequestId(requestId string) *GlobalAddressesInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
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. Gets 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
func (*GlobalAddressesService) SetLabels ¶
func (r *GlobalAddressesService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *GlobalAddressesSetLabelsCall
SetLabels: Sets the labels on a GlobalAddress. To learn more about labels, read the Labeling Resources documentation.
func (*GlobalAddressesService) TestIamPermissions ¶
func (r *GlobalAddressesService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *GlobalAddressesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
type GlobalAddressesSetLabelsCall ¶
type GlobalAddressesSetLabelsCall struct {
// contains filtered or unexported fields
}
func (*GlobalAddressesSetLabelsCall) Context ¶
func (c *GlobalAddressesSetLabelsCall) Context(ctx context.Context) *GlobalAddressesSetLabelsCall
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 (*GlobalAddressesSetLabelsCall) Do ¶
func (c *GlobalAddressesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.globalAddresses.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 (*GlobalAddressesSetLabelsCall) Fields ¶
func (c *GlobalAddressesSetLabelsCall) Fields(s ...googleapi.Field) *GlobalAddressesSetLabelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalAddressesSetLabelsCall) Header ¶
func (c *GlobalAddressesSetLabelsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GlobalAddressesTestIamPermissionsCall ¶
type GlobalAddressesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*GlobalAddressesTestIamPermissionsCall) Context ¶
func (c *GlobalAddressesTestIamPermissionsCall) Context(ctx context.Context) *GlobalAddressesTestIamPermissionsCall
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 (*GlobalAddressesTestIamPermissionsCall) Do ¶
func (c *GlobalAddressesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.globalAddresses.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*GlobalAddressesTestIamPermissionsCall) Fields ¶
func (c *GlobalAddressesTestIamPermissionsCall) Fields(s ...googleapi.Field) *GlobalAddressesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalAddressesTestIamPermissionsCall) Header ¶
func (c *GlobalAddressesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
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.
func (*GlobalForwardingRulesDeleteCall) RequestId ¶
func (c *GlobalForwardingRulesDeleteCall) RequestId(requestId string) *GlobalForwardingRulesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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.
func (*GlobalForwardingRulesInsertCall) RequestId ¶
func (c *GlobalForwardingRulesInsertCall) RequestId(requestId string) *GlobalForwardingRulesInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
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": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*GlobalForwardingRulesListCall) Header ¶
func (c *GlobalForwardingRulesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GlobalForwardingRulesListCall) IfNoneMatch ¶
func (c *GlobalForwardingRulesListCall) IfNoneMatch(entityTag string) *GlobalForwardingRulesListCall
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 (*GlobalForwardingRulesListCall) MaxResults ¶
func (c *GlobalForwardingRulesListCall) MaxResults(maxResults int64) *GlobalForwardingRulesListCall
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 (*GlobalForwardingRulesListCall) OrderBy ¶
func (c *GlobalForwardingRulesListCall) OrderBy(orderBy string) *GlobalForwardingRulesListCall
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 (*GlobalForwardingRulesListCall) PageToken ¶
func (c *GlobalForwardingRulesListCall) PageToken(pageToken string) *GlobalForwardingRulesListCall
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 (*GlobalForwardingRulesListCall) Pages ¶
func (c *GlobalForwardingRulesListCall) 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 GlobalForwardingRulesPatchCall ¶
type GlobalForwardingRulesPatchCall struct {
// contains filtered or unexported fields
}
func (*GlobalForwardingRulesPatchCall) Context ¶
func (c *GlobalForwardingRulesPatchCall) Context(ctx context.Context) *GlobalForwardingRulesPatchCall
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 (*GlobalForwardingRulesPatchCall) Do ¶
func (c *GlobalForwardingRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.globalForwardingRules.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 (*GlobalForwardingRulesPatchCall) Fields ¶
func (c *GlobalForwardingRulesPatchCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalForwardingRulesPatchCall) Header ¶
func (c *GlobalForwardingRulesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GlobalForwardingRulesPatchCall) RequestId ¶
func (c *GlobalForwardingRulesPatchCall) RequestId(requestId string) *GlobalForwardingRulesPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type GlobalForwardingRulesService ¶
type GlobalForwardingRulesService struct {
// contains filtered or unexported fields
}
func NewGlobalForwardingRulesService ¶
func NewGlobalForwardingRulesService(s *Service) *GlobalForwardingRulesService
func (*GlobalForwardingRulesService) Delete ¶
func (r *GlobalForwardingRulesService) Delete(project string, forwardingRule string) *GlobalForwardingRulesDeleteCall
Delete: Deletes the specified GlobalForwardingRule resource. For details, see https://cloud.google.com/compute/docs/reference/latest/globalForwardingRules/delete
func (*GlobalForwardingRulesService) Get ¶
func (r *GlobalForwardingRulesService) Get(project string, forwardingRule string) *GlobalForwardingRulesGetCall
Get: Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request. For details, see https://cloud.google.com/compute/docs/reference/latest/globalForwardingRules/get
func (*GlobalForwardingRulesService) Insert ¶
func (r *GlobalForwardingRulesService) Insert(project string, forwardingrule *ForwardingRule) *GlobalForwardingRulesInsertCall
Insert: Creates a GlobalForwardingRule resource in the specified project using the data included in the request. For details, see https://cloud.google.com/compute/docs/reference/latest/globalForwardingRules/insert
func (*GlobalForwardingRulesService) List ¶
func (r *GlobalForwardingRulesService) List(project string) *GlobalForwardingRulesListCall
List: Retrieves a list of GlobalForwardingRule resources available to the specified project. For details, see https://cloud.google.com/compute/docs/reference/latest/globalForwardingRules/list
func (*GlobalForwardingRulesService) Patch ¶
func (r *GlobalForwardingRulesService) Patch(project string, forwardingRule string, forwardingrule *ForwardingRule) *GlobalForwardingRulesPatchCall
Patch: Updates the specified forwarding rule with the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. Currently, you can only patch the network_tier field.
func (*GlobalForwardingRulesService) SetLabels ¶
func (r *GlobalForwardingRulesService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *GlobalForwardingRulesSetLabelsCall
SetLabels: Sets the labels on the specified resource. To learn more about labels, read the Labeling Resources documentation.
func (*GlobalForwardingRulesService) SetTarget ¶
func (r *GlobalForwardingRulesService) SetTarget(project string, forwardingRule string, targetreference *TargetReference) *GlobalForwardingRulesSetTargetCall
SetTarget: Changes target URL for the GlobalForwardingRule resource. The new target should be of the same type as the old target. For details, see https://cloud.google.com/compute/docs/reference/latest/globalForwardingRules/setTarget
func (*GlobalForwardingRulesService) TestIamPermissions ¶
func (r *GlobalForwardingRulesService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *GlobalForwardingRulesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
type GlobalForwardingRulesSetLabelsCall ¶
type GlobalForwardingRulesSetLabelsCall struct {
// contains filtered or unexported fields
}
func (*GlobalForwardingRulesSetLabelsCall) Context ¶
func (c *GlobalForwardingRulesSetLabelsCall) Context(ctx context.Context) *GlobalForwardingRulesSetLabelsCall
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 (*GlobalForwardingRulesSetLabelsCall) Do ¶
func (c *GlobalForwardingRulesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.globalForwardingRules.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 (*GlobalForwardingRulesSetLabelsCall) Fields ¶
func (c *GlobalForwardingRulesSetLabelsCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesSetLabelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalForwardingRulesSetLabelsCall) Header ¶
func (c *GlobalForwardingRulesSetLabelsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GlobalForwardingRulesSetTargetCall ¶
type GlobalForwardingRulesSetTargetCall struct {
// contains filtered or unexported fields
}
func (*GlobalForwardingRulesSetTargetCall) Context ¶
func (c *GlobalForwardingRulesSetTargetCall) Context(ctx context.Context) *GlobalForwardingRulesSetTargetCall
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 (*GlobalForwardingRulesSetTargetCall) Do ¶
func (c *GlobalForwardingRulesSetTargetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.globalForwardingRules.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 (*GlobalForwardingRulesSetTargetCall) Fields ¶
func (c *GlobalForwardingRulesSetTargetCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesSetTargetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalForwardingRulesSetTargetCall) Header ¶
func (c *GlobalForwardingRulesSetTargetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GlobalForwardingRulesSetTargetCall) RequestId ¶
func (c *GlobalForwardingRulesSetTargetCall) RequestId(requestId string) *GlobalForwardingRulesSetTargetCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type GlobalForwardingRulesTestIamPermissionsCall ¶
type GlobalForwardingRulesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*GlobalForwardingRulesTestIamPermissionsCall) Context ¶
func (c *GlobalForwardingRulesTestIamPermissionsCall) Context(ctx context.Context) *GlobalForwardingRulesTestIamPermissionsCall
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 (*GlobalForwardingRulesTestIamPermissionsCall) Do ¶
func (c *GlobalForwardingRulesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.globalForwardingRules.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*GlobalForwardingRulesTestIamPermissionsCall) Fields ¶
func (c *GlobalForwardingRulesTestIamPermissionsCall) Fields(s ...googleapi.Field) *GlobalForwardingRulesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalForwardingRulesTestIamPermissionsCall) Header ¶
func (c *GlobalForwardingRulesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GlobalOperationsAggregatedListCall ¶
type GlobalOperationsAggregatedListCall struct {
// contains filtered or unexported fields
}
func (*GlobalOperationsAggregatedListCall) Context ¶
func (c *GlobalOperationsAggregatedListCall) Context(ctx context.Context) *GlobalOperationsAggregatedListCall
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 (*GlobalOperationsAggregatedListCall) Do ¶
func (c *GlobalOperationsAggregatedListCall) Do(opts ...googleapi.CallOption) (*OperationAggregatedList, error)
Do executes the "compute.globalOperations.aggregatedList" call. Exactly one of *OperationAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OperationAggregatedList.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 (*GlobalOperationsAggregatedListCall) Fields ¶
func (c *GlobalOperationsAggregatedListCall) Fields(s ...googleapi.Field) *GlobalOperationsAggregatedListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalOperationsAggregatedListCall) Filter ¶
func (c *GlobalOperationsAggregatedListCall) Filter(filter string) *GlobalOperationsAggregatedListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*GlobalOperationsAggregatedListCall) Header ¶
func (c *GlobalOperationsAggregatedListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GlobalOperationsAggregatedListCall) IfNoneMatch ¶
func (c *GlobalOperationsAggregatedListCall) IfNoneMatch(entityTag string) *GlobalOperationsAggregatedListCall
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 (*GlobalOperationsAggregatedListCall) MaxResults ¶
func (c *GlobalOperationsAggregatedListCall) MaxResults(maxResults int64) *GlobalOperationsAggregatedListCall
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 (*GlobalOperationsAggregatedListCall) OrderBy ¶
func (c *GlobalOperationsAggregatedListCall) OrderBy(orderBy string) *GlobalOperationsAggregatedListCall
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 (*GlobalOperationsAggregatedListCall) PageToken ¶
func (c *GlobalOperationsAggregatedListCall) PageToken(pageToken string) *GlobalOperationsAggregatedListCall
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 (*GlobalOperationsAggregatedListCall) Pages ¶
func (c *GlobalOperationsAggregatedListCall) Pages(ctx context.Context, f func(*OperationAggregatedList) 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 GlobalOperationsDeleteCall ¶
type GlobalOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*GlobalOperationsDeleteCall) Context ¶
func (c *GlobalOperationsDeleteCall) Context(ctx context.Context) *GlobalOperationsDeleteCall
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 (*GlobalOperationsDeleteCall) Do ¶
func (c *GlobalOperationsDeleteCall) Do(opts ...googleapi.CallOption) error
Do executes the "compute.globalOperations.delete" call.
func (*GlobalOperationsDeleteCall) Fields ¶
func (c *GlobalOperationsDeleteCall) Fields(s ...googleapi.Field) *GlobalOperationsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalOperationsDeleteCall) Header ¶
func (c *GlobalOperationsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type GlobalOperationsGetCall ¶
type GlobalOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*GlobalOperationsGetCall) Context ¶
func (c *GlobalOperationsGetCall) Context(ctx context.Context) *GlobalOperationsGetCall
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 (*GlobalOperationsGetCall) Do ¶
func (c *GlobalOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.globalOperations.get" 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 (*GlobalOperationsGetCall) Fields ¶
func (c *GlobalOperationsGetCall) Fields(s ...googleapi.Field) *GlobalOperationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalOperationsGetCall) Header ¶
func (c *GlobalOperationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GlobalOperationsGetCall) IfNoneMatch ¶
func (c *GlobalOperationsGetCall) IfNoneMatch(entityTag string) *GlobalOperationsGetCall
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 GlobalOperationsListCall ¶
type GlobalOperationsListCall struct {
// contains filtered or unexported fields
}
func (*GlobalOperationsListCall) Context ¶
func (c *GlobalOperationsListCall) Context(ctx context.Context) *GlobalOperationsListCall
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 (*GlobalOperationsListCall) Do ¶
func (c *GlobalOperationsListCall) Do(opts ...googleapi.CallOption) (*OperationList, error)
Do executes the "compute.globalOperations.list" call. Exactly one of *OperationList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *OperationList.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 (*GlobalOperationsListCall) Fields ¶
func (c *GlobalOperationsListCall) Fields(s ...googleapi.Field) *GlobalOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*GlobalOperationsListCall) Filter ¶
func (c *GlobalOperationsListCall) Filter(filter string) *GlobalOperationsListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*GlobalOperationsListCall) Header ¶
func (c *GlobalOperationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*GlobalOperationsListCall) IfNoneMatch ¶
func (c *GlobalOperationsListCall) IfNoneMatch(entityTag string) *GlobalOperationsListCall
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 (*GlobalOperationsListCall) MaxResults ¶
func (c *GlobalOperationsListCall) MaxResults(maxResults int64) *GlobalOperationsListCall
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 (*GlobalOperationsListCall) OrderBy ¶
func (c *GlobalOperationsListCall) OrderBy(orderBy string) *GlobalOperationsListCall
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 (*GlobalOperationsListCall) PageToken ¶
func (c *GlobalOperationsListCall) PageToken(pageToken string) *GlobalOperationsListCall
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 (*GlobalOperationsListCall) Pages ¶
func (c *GlobalOperationsListCall) Pages(ctx context.Context, f func(*OperationList) 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 GlobalOperationsService ¶
type GlobalOperationsService struct {
// contains filtered or unexported fields
}
func NewGlobalOperationsService ¶
func NewGlobalOperationsService(s *Service) *GlobalOperationsService
func (*GlobalOperationsService) AggregatedList ¶
func (r *GlobalOperationsService) AggregatedList(project string) *GlobalOperationsAggregatedListCall
AggregatedList: Retrieves an aggregated list of all operations. For details, see https://cloud.google.com/compute/docs/reference/latest/globalOperations/aggregatedList
func (*GlobalOperationsService) Delete ¶
func (r *GlobalOperationsService) Delete(project string, operation string) *GlobalOperationsDeleteCall
Delete: Deletes the specified Operations resource. For details, see https://cloud.google.com/compute/docs/reference/latest/globalOperations/delete
func (*GlobalOperationsService) Get ¶
func (r *GlobalOperationsService) Get(project string, operation string) *GlobalOperationsGetCall
Get: Retrieves the specified Operations resource. Gets a list of operations by making a list() request. For details, see https://cloud.google.com/compute/docs/reference/latest/globalOperations/get
func (*GlobalOperationsService) List ¶
func (r *GlobalOperationsService) List(project string) *GlobalOperationsListCall
List: Retrieves a list of Operation resources contained within the specified project. For details, see https://cloud.google.com/compute/docs/reference/latest/globalOperations/list
type GlobalSetLabelsRequest ¶
type GlobalSetLabelsRequest struct { // LabelFingerprint: The fingerprint of the previous set of labels for // this resource, used to detect conflicts. 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 when updating or changing labels, otherwise the request will // fail with error 412 conditionNotMet. Make a get() request to the // resource to get the latest fingerprint. LabelFingerprint string `json:"labelFingerprint,omitempty"` // Labels: A list of labels to apply for this resource. Each label key & // value must 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. For example, "webserver-frontend": "images". A label value // can also be empty (e.g. "my-label": ""). Labels map[string]string `json:"labels,omitempty"` // ForceSendFields is a list of field names (e.g. "LabelFingerprint") 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. "LabelFingerprint") 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 (*GlobalSetLabelsRequest) MarshalJSON ¶
func (s *GlobalSetLabelsRequest) MarshalJSON() ([]byte, error)
type GlobalSetPolicyRequest ¶
type GlobalSetPolicyRequest struct { // Bindings: Flatten Policy to create a backward compatible wire-format. // Deprecated. Use 'policy' to specify bindings. Bindings []*Binding `json:"bindings,omitempty"` // Etag: Flatten Policy to create a backward compatible wire-format. // Deprecated. Use 'policy' to specify the etag. Etag string `json:"etag,omitempty"` // Policy: REQUIRED: The complete policy to be applied to the // 'resource'. The size of the policy is limited to a few 10s of KB. An // empty policy is in general a valid policy but certain services (like // Projects) might reject them. Policy *Policy `json:"policy,omitempty"` // ForceSendFields is a list of field names (e.g. "Bindings") 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. "Bindings") 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 (*GlobalSetPolicyRequest) MarshalJSON ¶
func (s *GlobalSetPolicyRequest) MarshalJSON() ([]byte, error)
type GuestAttributes ¶
type GuestAttributes struct { // Kind: [Output Only] Type of the resource. Always // compute#guestAttributes for guest attributes entry. Kind string `json:"kind,omitempty"` // QueryPath: The path to be queried. This can be the default namespace // ('/') or a nested namespace ('//') or a specified key ('//') QueryPath string `json:"queryPath,omitempty"` // QueryValue: [Output Only] The value of the requested queried path. QueryValue *GuestAttributesValue `json:"queryValue,omitempty"` // SelfLink: [Output Only] Server-defined URL for this resource. SelfLink string `json:"selfLink,omitempty"` // VariableKey: The key to search for. VariableKey string `json:"variableKey,omitempty"` // VariableValue: [Output Only] The value found for the requested key. VariableValue string `json:"variableValue,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // 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:"-"` }
GuestAttributes: A guest attributes entry.
func (*GuestAttributes) MarshalJSON ¶
func (s *GuestAttributes) MarshalJSON() ([]byte, error)
type GuestAttributesEntry ¶
type GuestAttributesEntry struct { // Key: Key for the guest attribute entry. Key string `json:"key,omitempty"` // Namespace: Namespace for the guest attribute entry. Namespace string `json:"namespace,omitempty"` // Value: Value for the guest attribute entry. 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:"-"` }
GuestAttributesEntry: A guest attributes namespace/key/value entry.
func (*GuestAttributesEntry) MarshalJSON ¶
func (s *GuestAttributesEntry) MarshalJSON() ([]byte, error)
type GuestAttributesValue ¶
type GuestAttributesValue struct { Items []*GuestAttributesEntry `json:"items,omitempty"` // ForceSendFields is a list of field names (e.g. "Items") 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. "Items") 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:"-"` }
GuestAttributesValue: Array of guest attribute namespace/key/value tuples.
func (*GuestAttributesValue) MarshalJSON ¶
func (s *GuestAttributesValue) MarshalJSON() ([]byte, error)
type GuestOsFeature ¶
type GuestOsFeature struct { // Type: The ID of a supported feature. Read Enabling guest operating // system features to see a list of available options. // // Possible values: // "FEATURE_TYPE_UNSPECIFIED" // "MULTI_IP_SUBNET" // "SECURE_BOOT" // "UEFI_COMPATIBLE" // "VIRTIO_SCSI_MULTIQUEUE" // "WINDOWS" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Type") 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. "Type") 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:"-"` }
GuestOsFeature: Guest OS features.
func (*GuestOsFeature) MarshalJSON ¶
func (s *GuestOsFeature) MarshalJSON() ([]byte, error)
type HTTP2HealthCheck ¶
type HTTP2HealthCheck struct { // Host: The value of the host header in the HTTP/2 health check // request. If left empty (default value), the IP on behalf of which // this health check is performed will be used. Host string `json:"host,omitempty"` // Port: The TCP port number for the health check request. The default // value is 443. Valid values are 1 through 65535. Port int64 `json:"port,omitempty"` // PortName: Port name as defined in InstanceGroup#NamedPort#name. If // both port and port_name are defined, port takes precedence. PortName string `json:"portName,omitempty"` // PortSpecification: Specifies how port is selected for health // checking, can be one of following values: // USE_FIXED_PORT: The port number in // port // is used for health checking. // USE_NAMED_PORT: The // portName // is used for health checking. // USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for // each network endpoint is used for health checking. For other // backends, the port or named port specified in the Backend Service is // used for health checking. // // // If not specified, HTTP2 health check follows behavior specified // in // port // and // portName // fields. // // Possible values: // "USE_FIXED_PORT" // "USE_NAMED_PORT" // "USE_SERVING_PORT" PortSpecification string `json:"portSpecification,omitempty"` // ProxyHeader: Specifies the type of proxy header to append before // sending data to the backend, either NONE or PROXY_V1. The default is // NONE. // // Possible values: // "NONE" // "PROXY_V1" ProxyHeader string `json:"proxyHeader,omitempty"` // RequestPath: The request path of the HTTP/2 health check request. The // default value is /. RequestPath string `json:"requestPath,omitempty"` // Response: The string to match anywhere in the first 1024 bytes of the // response body. If left empty (the default value), the status code // determines health. The response data can only be ASCII. Response string `json:"response,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 (*HTTP2HealthCheck) MarshalJSON ¶
func (s *HTTP2HealthCheck) MarshalJSON() ([]byte, error)
type HTTPHealthCheck ¶
type HTTPHealthCheck struct { // Host: The value of the host header in the HTTP health check request. // If left empty (default value), the IP on behalf of which this health // check is performed will be used. Host string `json:"host,omitempty"` // Port: The TCP port number for the health check request. The default // value is 80. Valid values are 1 through 65535. Port int64 `json:"port,omitempty"` // PortName: Port name as defined in InstanceGroup#NamedPort#name. If // both port and port_name are defined, port takes precedence. PortName string `json:"portName,omitempty"` // PortSpecification: Specifies how port is selected for health // checking, can be one of following values: // USE_FIXED_PORT: The port number in // port // is used for health checking. // USE_NAMED_PORT: The // portName // is used for health checking. // USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for // each network endpoint is used for health checking. For other // backends, the port or named port specified in the Backend Service is // used for health checking. // // // If not specified, HTTP health check follows behavior specified // in // port // and // portName // fields. // // Possible values: // "USE_FIXED_PORT" // "USE_NAMED_PORT" // "USE_SERVING_PORT" PortSpecification string `json:"portSpecification,omitempty"` // ProxyHeader: Specifies the type of proxy header to append before // sending data to the backend, either NONE or PROXY_V1. The default is // NONE. // // Possible values: // "NONE" // "PROXY_V1" ProxyHeader string `json:"proxyHeader,omitempty"` // RequestPath: The request path of the HTTP health check request. The // default value is /. RequestPath string `json:"requestPath,omitempty"` // Response: The string to match anywhere in the first 1024 bytes of the // response body. If left empty (the default value), the status code // determines health. The response data can only be ASCII. Response string `json:"response,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 (*HTTPHealthCheck) MarshalJSON ¶
func (s *HTTPHealthCheck) MarshalJSON() ([]byte, error)
type HTTPSHealthCheck ¶
type HTTPSHealthCheck struct { // Host: The value of the host header in the HTTPS health check request. // If left empty (default value), the IP on behalf of which this health // check is performed will be used. Host string `json:"host,omitempty"` // Port: The TCP port number for the health check request. The default // value is 443. Valid values are 1 through 65535. Port int64 `json:"port,omitempty"` // PortName: Port name as defined in InstanceGroup#NamedPort#name. If // both port and port_name are defined, port takes precedence. PortName string `json:"portName,omitempty"` // PortSpecification: Specifies how port is selected for health // checking, can be one of following values: // USE_FIXED_PORT: The port number in // port // is used for health checking. // USE_NAMED_PORT: The // portName // is used for health checking. // USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for // each network endpoint is used for health checking. For other // backends, the port or named port specified in the Backend Service is // used for health checking. // // // If not specified, HTTPS health check follows behavior specified // in // port // and // portName // fields. // // Possible values: // "USE_FIXED_PORT" // "USE_NAMED_PORT" // "USE_SERVING_PORT" PortSpecification string `json:"portSpecification,omitempty"` // ProxyHeader: Specifies the type of proxy header to append before // sending data to the backend, either NONE or PROXY_V1. The default is // NONE. // // Possible values: // "NONE" // "PROXY_V1" ProxyHeader string `json:"proxyHeader,omitempty"` // RequestPath: The request path of the HTTPS health check request. The // default value is /. RequestPath string `json:"requestPath,omitempty"` // Response: The string to match anywhere in the first 1024 bytes of the // response body. If left empty (the default value), the status code // determines health. The response data can only be ASCII. Response string `json:"response,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 (*HTTPSHealthCheck) MarshalJSON ¶
func (s *HTTPSHealthCheck) MarshalJSON() ([]byte, error)
type HealthCheck ¶
type HealthCheck struct { // CheckIntervalSec: How often (in seconds) to send a health check. The // default value is 5 seconds. CheckIntervalSec int64 `json:"checkIntervalSec,omitempty"` // CreationTimestamp: [Output Only] Creation timestamp in 3339 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"` // HealthyThreshold: A so-far unhealthy instance will be marked healthy // after this many consecutive successes. The default value is 2. HealthyThreshold int64 `json:"healthyThreshold,omitempty"` Http2HealthCheck *HTTP2HealthCheck `json:"http2HealthCheck,omitempty"` HttpHealthCheck *HTTPHealthCheck `json:"httpHealthCheck,omitempty"` HttpsHealthCheck *HTTPSHealthCheck `json:"httpsHealthCheck,omitempty"` // Id: [Output Only] The unique identifier for the resource. This // identifier is 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"` // Region: [Output Only] Region where the health check resides. Not // applicable to global health checks. Region string `json:"region,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` SslHealthCheck *SSLHealthCheck `json:"sslHealthCheck,omitempty"` TcpHealthCheck *TCPHealthCheck `json:"tcpHealthCheck,omitempty"` // TimeoutSec: How long (in seconds) to wait before claiming failure. // The default value is 5 seconds. It is invalid for timeoutSec to have // greater value than checkIntervalSec. TimeoutSec int64 `json:"timeoutSec,omitempty"` // Type: Specifies the type of the healthCheck, either TCP, SSL, HTTP, // HTTPS or HTTP2. If not specified, the default is TCP. Exactly one of // the protocol-specific health check field must be specified, which // must match type field. // // Possible values: // "HTTP" // "HTTP2" // "HTTPS" // "INVALID" // "SSL" // "TCP" Type string `json:"type,omitempty"` // UnhealthyThreshold: A so-far healthy instance will be marked // unhealthy after this many consecutive failures. The default value is // 2. UnhealthyThreshold int64 `json:"unhealthyThreshold,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CheckIntervalSec") 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. "CheckIntervalSec") 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:"-"` }
HealthCheck: An HealthCheck resource. This resource defines a template for how individual virtual machines should be checked for health, via one of the supported protocols.
func (*HealthCheck) MarshalJSON ¶
func (s *HealthCheck) MarshalJSON() ([]byte, error)
type HealthCheckList ¶
type HealthCheckList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of HealthCheck resources. Items []*HealthCheck `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"` // Warning: [Output Only] Informational warning message. Warning *HealthCheckListWarning `json:"warning,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:"-"` }
HealthCheckList: Contains a list of HealthCheck resources.
func (*HealthCheckList) MarshalJSON ¶
func (s *HealthCheckList) MarshalJSON() ([]byte, error)
type HealthCheckListWarning ¶
type HealthCheckListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*HealthCheckListWarningData `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:"-"` }
HealthCheckListWarning: [Output Only] Informational warning message.
func (*HealthCheckListWarning) MarshalJSON ¶
func (s *HealthCheckListWarning) MarshalJSON() ([]byte, error)
type HealthCheckListWarningData ¶
type HealthCheckListWarningData 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 (*HealthCheckListWarningData) MarshalJSON ¶
func (s *HealthCheckListWarningData) MarshalJSON() ([]byte, error)
type HealthCheckReference ¶
type HealthCheckReference struct { HealthCheck string `json:"healthCheck,omitempty"` // ForceSendFields is a list of field names (e.g. "HealthCheck") 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. "HealthCheck") 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:"-"` }
HealthCheckReference: A full or valid partial URL to a health check. For example, the following are valid URLs: - https://www.googleapis.com/compute/beta/projects/project-id/global/httpHealthChecks/health-check - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check
func (*HealthCheckReference) MarshalJSON ¶
func (s *HealthCheckReference) MarshalJSON() ([]byte, error)
type HealthChecksAggregatedList ¶
type HealthChecksAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of HealthChecksScopedList resources. Items map[string]HealthChecksScopedList `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"` // Warning: [Output Only] Informational warning message. Warning *HealthChecksAggregatedListWarning `json:"warning,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 (*HealthChecksAggregatedList) MarshalJSON ¶
func (s *HealthChecksAggregatedList) MarshalJSON() ([]byte, error)
type HealthChecksAggregatedListCall ¶
type HealthChecksAggregatedListCall struct {
// contains filtered or unexported fields
}
func (*HealthChecksAggregatedListCall) Context ¶
func (c *HealthChecksAggregatedListCall) Context(ctx context.Context) *HealthChecksAggregatedListCall
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 (*HealthChecksAggregatedListCall) Do ¶
func (c *HealthChecksAggregatedListCall) Do(opts ...googleapi.CallOption) (*HealthChecksAggregatedList, error)
Do executes the "compute.healthChecks.aggregatedList" call. Exactly one of *HealthChecksAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *HealthChecksAggregatedList.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 (*HealthChecksAggregatedListCall) Fields ¶
func (c *HealthChecksAggregatedListCall) Fields(s ...googleapi.Field) *HealthChecksAggregatedListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HealthChecksAggregatedListCall) Filter ¶
func (c *HealthChecksAggregatedListCall) Filter(filter string) *HealthChecksAggregatedListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*HealthChecksAggregatedListCall) Header ¶
func (c *HealthChecksAggregatedListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HealthChecksAggregatedListCall) IfNoneMatch ¶
func (c *HealthChecksAggregatedListCall) IfNoneMatch(entityTag string) *HealthChecksAggregatedListCall
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 (*HealthChecksAggregatedListCall) MaxResults ¶
func (c *HealthChecksAggregatedListCall) MaxResults(maxResults int64) *HealthChecksAggregatedListCall
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 (*HealthChecksAggregatedListCall) OrderBy ¶
func (c *HealthChecksAggregatedListCall) OrderBy(orderBy string) *HealthChecksAggregatedListCall
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 (*HealthChecksAggregatedListCall) PageToken ¶
func (c *HealthChecksAggregatedListCall) PageToken(pageToken string) *HealthChecksAggregatedListCall
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 (*HealthChecksAggregatedListCall) Pages ¶
func (c *HealthChecksAggregatedListCall) Pages(ctx context.Context, f func(*HealthChecksAggregatedList) 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 HealthChecksAggregatedListWarning ¶
type HealthChecksAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*HealthChecksAggregatedListWarningData `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:"-"` }
HealthChecksAggregatedListWarning: [Output Only] Informational warning message.
func (*HealthChecksAggregatedListWarning) MarshalJSON ¶
func (s *HealthChecksAggregatedListWarning) MarshalJSON() ([]byte, error)
type HealthChecksAggregatedListWarningData ¶
type HealthChecksAggregatedListWarningData 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 (*HealthChecksAggregatedListWarningData) MarshalJSON ¶
func (s *HealthChecksAggregatedListWarningData) MarshalJSON() ([]byte, error)
type HealthChecksDeleteCall ¶
type HealthChecksDeleteCall struct {
// contains filtered or unexported fields
}
func (*HealthChecksDeleteCall) Context ¶
func (c *HealthChecksDeleteCall) Context(ctx context.Context) *HealthChecksDeleteCall
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 (*HealthChecksDeleteCall) Do ¶
func (c *HealthChecksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.healthChecks.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 (*HealthChecksDeleteCall) Fields ¶
func (c *HealthChecksDeleteCall) Fields(s ...googleapi.Field) *HealthChecksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HealthChecksDeleteCall) Header ¶
func (c *HealthChecksDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HealthChecksDeleteCall) RequestId ¶
func (c *HealthChecksDeleteCall) RequestId(requestId string) *HealthChecksDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HealthChecksGetCall ¶
type HealthChecksGetCall struct {
// contains filtered or unexported fields
}
func (*HealthChecksGetCall) Context ¶
func (c *HealthChecksGetCall) Context(ctx context.Context) *HealthChecksGetCall
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 (*HealthChecksGetCall) Do ¶
func (c *HealthChecksGetCall) Do(opts ...googleapi.CallOption) (*HealthCheck, error)
Do executes the "compute.healthChecks.get" call. Exactly one of *HealthCheck or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *HealthCheck.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 (*HealthChecksGetCall) Fields ¶
func (c *HealthChecksGetCall) Fields(s ...googleapi.Field) *HealthChecksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HealthChecksGetCall) Header ¶
func (c *HealthChecksGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HealthChecksGetCall) IfNoneMatch ¶
func (c *HealthChecksGetCall) IfNoneMatch(entityTag string) *HealthChecksGetCall
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 HealthChecksInsertCall ¶
type HealthChecksInsertCall struct {
// contains filtered or unexported fields
}
func (*HealthChecksInsertCall) Context ¶
func (c *HealthChecksInsertCall) Context(ctx context.Context) *HealthChecksInsertCall
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 (*HealthChecksInsertCall) Do ¶
func (c *HealthChecksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.healthChecks.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 (*HealthChecksInsertCall) Fields ¶
func (c *HealthChecksInsertCall) Fields(s ...googleapi.Field) *HealthChecksInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HealthChecksInsertCall) Header ¶
func (c *HealthChecksInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HealthChecksInsertCall) RequestId ¶
func (c *HealthChecksInsertCall) RequestId(requestId string) *HealthChecksInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HealthChecksListCall ¶
type HealthChecksListCall struct {
// contains filtered or unexported fields
}
func (*HealthChecksListCall) Context ¶
func (c *HealthChecksListCall) Context(ctx context.Context) *HealthChecksListCall
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 (*HealthChecksListCall) Do ¶
func (c *HealthChecksListCall) Do(opts ...googleapi.CallOption) (*HealthCheckList, error)
Do executes the "compute.healthChecks.list" call. Exactly one of *HealthCheckList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *HealthCheckList.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 (*HealthChecksListCall) Fields ¶
func (c *HealthChecksListCall) Fields(s ...googleapi.Field) *HealthChecksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HealthChecksListCall) Filter ¶
func (c *HealthChecksListCall) Filter(filter string) *HealthChecksListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*HealthChecksListCall) Header ¶
func (c *HealthChecksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HealthChecksListCall) IfNoneMatch ¶
func (c *HealthChecksListCall) IfNoneMatch(entityTag string) *HealthChecksListCall
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 (*HealthChecksListCall) MaxResults ¶
func (c *HealthChecksListCall) MaxResults(maxResults int64) *HealthChecksListCall
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 (*HealthChecksListCall) OrderBy ¶
func (c *HealthChecksListCall) OrderBy(orderBy string) *HealthChecksListCall
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 (*HealthChecksListCall) PageToken ¶
func (c *HealthChecksListCall) PageToken(pageToken string) *HealthChecksListCall
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 (*HealthChecksListCall) Pages ¶
func (c *HealthChecksListCall) Pages(ctx context.Context, f func(*HealthCheckList) 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 HealthChecksPatchCall ¶
type HealthChecksPatchCall struct {
// contains filtered or unexported fields
}
func (*HealthChecksPatchCall) Context ¶
func (c *HealthChecksPatchCall) Context(ctx context.Context) *HealthChecksPatchCall
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 (*HealthChecksPatchCall) Do ¶
func (c *HealthChecksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.healthChecks.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 (*HealthChecksPatchCall) Fields ¶
func (c *HealthChecksPatchCall) Fields(s ...googleapi.Field) *HealthChecksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HealthChecksPatchCall) Header ¶
func (c *HealthChecksPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HealthChecksPatchCall) RequestId ¶
func (c *HealthChecksPatchCall) RequestId(requestId string) *HealthChecksPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HealthChecksScopedList ¶
type HealthChecksScopedList struct { // HealthChecks: A list of HealthChecks contained in this scope. HealthChecks []*HealthCheck `json:"healthChecks,omitempty"` // Warning: Informational warning which replaces the list of backend // services when the list is empty. Warning *HealthChecksScopedListWarning `json:"warning,omitempty"` // ForceSendFields is a list of field names (e.g. "HealthChecks") 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. "HealthChecks") 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 (*HealthChecksScopedList) MarshalJSON ¶
func (s *HealthChecksScopedList) MarshalJSON() ([]byte, error)
type HealthChecksScopedListWarning ¶
type HealthChecksScopedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*HealthChecksScopedListWarningData `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:"-"` }
HealthChecksScopedListWarning: Informational warning which replaces the list of backend services when the list is empty.
func (*HealthChecksScopedListWarning) MarshalJSON ¶
func (s *HealthChecksScopedListWarning) MarshalJSON() ([]byte, error)
type HealthChecksScopedListWarningData ¶
type HealthChecksScopedListWarningData 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 (*HealthChecksScopedListWarningData) MarshalJSON ¶
func (s *HealthChecksScopedListWarningData) MarshalJSON() ([]byte, error)
type HealthChecksService ¶
type HealthChecksService struct {
// contains filtered or unexported fields
}
func NewHealthChecksService ¶
func NewHealthChecksService(s *Service) *HealthChecksService
func (*HealthChecksService) AggregatedList ¶
func (r *HealthChecksService) AggregatedList(project string) *HealthChecksAggregatedListCall
AggregatedList: Retrieves the list of all HealthCheck resources, regional and global, available to the specified project.
func (*HealthChecksService) Delete ¶
func (r *HealthChecksService) Delete(project string, healthCheck string) *HealthChecksDeleteCall
Delete: Deletes the specified HealthCheck resource.
func (*HealthChecksService) Get ¶
func (r *HealthChecksService) Get(project string, healthCheck string) *HealthChecksGetCall
Get: Returns the specified HealthCheck resource. Gets a list of available health checks by making a list() request.
func (*HealthChecksService) Insert ¶
func (r *HealthChecksService) Insert(project string, healthcheck *HealthCheck) *HealthChecksInsertCall
Insert: Creates a HealthCheck resource in the specified project using the data included in the request.
func (*HealthChecksService) List ¶
func (r *HealthChecksService) List(project string) *HealthChecksListCall
List: Retrieves the list of HealthCheck resources available to the specified project.
func (*HealthChecksService) Patch ¶
func (r *HealthChecksService) Patch(project string, healthCheck string, healthcheck *HealthCheck) *HealthChecksPatchCall
Patch: Updates a HealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*HealthChecksService) TestIamPermissions ¶
func (r *HealthChecksService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *HealthChecksTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
func (*HealthChecksService) Update ¶
func (r *HealthChecksService) Update(project string, healthCheck string, healthcheck *HealthCheck) *HealthChecksUpdateCall
Update: Updates a HealthCheck resource in the specified project using the data included in the request.
type HealthChecksTestIamPermissionsCall ¶
type HealthChecksTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*HealthChecksTestIamPermissionsCall) Context ¶
func (c *HealthChecksTestIamPermissionsCall) Context(ctx context.Context) *HealthChecksTestIamPermissionsCall
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 (*HealthChecksTestIamPermissionsCall) Do ¶
func (c *HealthChecksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.healthChecks.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*HealthChecksTestIamPermissionsCall) Fields ¶
func (c *HealthChecksTestIamPermissionsCall) Fields(s ...googleapi.Field) *HealthChecksTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HealthChecksTestIamPermissionsCall) Header ¶
func (c *HealthChecksTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type HealthChecksUpdateCall ¶
type HealthChecksUpdateCall struct {
// contains filtered or unexported fields
}
func (*HealthChecksUpdateCall) Context ¶
func (c *HealthChecksUpdateCall) Context(ctx context.Context) *HealthChecksUpdateCall
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 (*HealthChecksUpdateCall) Do ¶
func (c *HealthChecksUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.healthChecks.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 (*HealthChecksUpdateCall) Fields ¶
func (c *HealthChecksUpdateCall) Fields(s ...googleapi.Field) *HealthChecksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HealthChecksUpdateCall) Header ¶
func (c *HealthChecksUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HealthChecksUpdateCall) RequestId ¶
func (c *HealthChecksUpdateCall) RequestId(requestId string) *HealthChecksUpdateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HealthStatus ¶
type HealthStatus struct { // HealthState: Health state of the instance. // // Possible values: // "HEALTHY" // "UNHEALTHY" HealthState string `json:"healthState,omitempty"` // Instance: URL of the instance resource. Instance string `json:"instance,omitempty"` // IpAddress: The IP address represented by this resource. IpAddress string `json:"ipAddress,omitempty"` // Port: The port on the instance. Port int64 `json:"port,omitempty"` // ForceSendFields is a list of field names (e.g. "HealthState") 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. "HealthState") 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 (*HealthStatus) MarshalJSON ¶
func (s *HealthStatus) MarshalJSON() ([]byte, error)
type HealthStatusForNetworkEndpoint ¶
type HealthStatusForNetworkEndpoint struct { // BackendService: URL of the backend service associated with the health // state of the network endpoint. BackendService *BackendServiceReference `json:"backendService,omitempty"` // ForwardingRule: URL of the forwarding rule associated with the health // state of the network endpoint. ForwardingRule *ForwardingRuleReference `json:"forwardingRule,omitempty"` // HealthCheck: URL of the health check associated with the health state // of the network endpoint. HealthCheck *HealthCheckReference `json:"healthCheck,omitempty"` // HealthState: Health state of the network endpoint determined based on // the health checks configured. // // Possible values: // "DRAINING" // "HEALTHY" // "UNHEALTHY" // "UNKNOWN" HealthState string `json:"healthState,omitempty"` // ForceSendFields is a list of field names (e.g. "BackendService") 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. "BackendService") 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 (*HealthStatusForNetworkEndpoint) MarshalJSON ¶
func (s *HealthStatusForNetworkEndpoint) MarshalJSON() ([]byte, error)
type HostRule ¶
type HostRule struct { // Description: An optional description of this resource. Provide this // property when you create the resource. Description string `json:"description,omitempty"` // Hosts: The list of host patterns to match. They must be valid // hostnames, except * will match any string of ([a-z0-9-.]*). In that // case, * must be the first character and must be followed in the // pattern by either - or .. Hosts []string `json:"hosts,omitempty"` // PathMatcher: The name of the PathMatcher to use to match the path // portion of the URL if the hostRule matches the URL's host portion. PathMatcher string `json:"pathMatcher,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"` }
HostRule: UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService.
type HttpFaultAbort ¶
type HttpFaultAbort struct { // HttpStatus: The HTTP status code used to abort the request. // The value must be between 200 and 599 inclusive. HttpStatus int64 `json:"httpStatus,omitempty"` // Percentage: The percentage of traffic // (connections/operations/requests) which will be aborted as part of // fault injection. // The value must be between 0.0 and 100.0 inclusive. Percentage float64 `json:"percentage,omitempty"` // ForceSendFields is a list of field names (e.g. "HttpStatus") 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. "HttpStatus") 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:"-"` }
HttpFaultAbort: Specification for how requests are aborted as part of fault injection.
func (*HttpFaultAbort) MarshalJSON ¶
func (s *HttpFaultAbort) MarshalJSON() ([]byte, error)
func (*HttpFaultAbort) UnmarshalJSON ¶
func (s *HttpFaultAbort) UnmarshalJSON(data []byte) error
type HttpFaultDelay ¶
type HttpFaultDelay struct { // FixedDelay: Specifies the value of the fixed delay interval. FixedDelay *Duration `json:"fixedDelay,omitempty"` // Percentage: The percentage of traffic // (connections/operations/requests) on which delay will be introduced // as part of fault injection. // The value must be between 0.0 and 100.0 inclusive. Percentage float64 `json:"percentage,omitempty"` // ForceSendFields is a list of field names (e.g. "FixedDelay") 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. "FixedDelay") 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:"-"` }
HttpFaultDelay: Specifies the delay introduced by Loadbalancer before forwarding the request to the backend service as part of fault injection.
func (*HttpFaultDelay) MarshalJSON ¶
func (s *HttpFaultDelay) MarshalJSON() ([]byte, error)
func (*HttpFaultDelay) UnmarshalJSON ¶
func (s *HttpFaultDelay) UnmarshalJSON(data []byte) error
type HttpFaultInjection ¶
type HttpFaultInjection struct { // Abort: The specification for how client requests are aborted as part // of fault injection. Abort *HttpFaultAbort `json:"abort,omitempty"` // Delay: The specification for how client requests are delayed as part // of fault injection, before being sent to a backend service. Delay *HttpFaultDelay `json:"delay,omitempty"` // ForceSendFields is a list of field names (e.g. "Abort") 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. "Abort") 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:"-"` }
HttpFaultInjection: The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by Loadbalancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the Loadbalancer for a percentage of requests.
func (*HttpFaultInjection) MarshalJSON ¶
func (s *HttpFaultInjection) MarshalJSON() ([]byte, error)
type HttpHeaderAction ¶
type HttpHeaderAction struct { // RequestHeadersToAdd: Headers to add to a matching request prior to // forwarding the request to the backendService. RequestHeadersToAdd []*HttpHeaderOption `json:"requestHeadersToAdd,omitempty"` // RequestHeadersToRemove: A list of header names for headers that need // to be removed from the request prior to forwarding the request to the // backendService. RequestHeadersToRemove []string `json:"requestHeadersToRemove,omitempty"` // ResponseHeadersToAdd: Headers to add the response prior to sending // the response back to the client. ResponseHeadersToAdd []*HttpHeaderOption `json:"responseHeadersToAdd,omitempty"` // ResponseHeadersToRemove: A list of header names for headers that need // to be removed from the response prior to sending the response back to // the client. ResponseHeadersToRemove []string `json:"responseHeadersToRemove,omitempty"` // ForceSendFields is a list of field names (e.g. "RequestHeadersToAdd") // 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. "RequestHeadersToAdd") 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:"-"` }
HttpHeaderAction: The request and response header transformations that take effect before the request is passed along to the selected backendService.
func (*HttpHeaderAction) MarshalJSON ¶
func (s *HttpHeaderAction) MarshalJSON() ([]byte, error)
type HttpHeaderMatch ¶
type HttpHeaderMatch struct { // ExactMatch: The value should exactly match contents of // exactMatch. // Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, // presentMatch or rangeMatch must be set. ExactMatch string `json:"exactMatch,omitempty"` // HeaderName: The name of the HTTP header to match. // For matching against the HTTP request's authority, use a headerMatch // with the header name ":authority". // For matching a request's method, use the headerName ":method". HeaderName string `json:"headerName,omitempty"` // InvertMatch: If set to false, the headerMatch is considered a match // if the match criteria above are met. If set to true, the headerMatch // is considered a match if the match criteria above are NOT met. // The default setting is false. InvertMatch bool `json:"invertMatch,omitempty"` // PrefixMatch: The value of the header must start with the contents of // prefixMatch. // Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, // presentMatch or rangeMatch must be set. PrefixMatch string `json:"prefixMatch,omitempty"` // PresentMatch: A header with the contents of headerName must exist. // The match takes place whether or not the request's header has a value // or not. // Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, // presentMatch or rangeMatch must be set. PresentMatch bool `json:"presentMatch,omitempty"` // RangeMatch: The header value must be an integer and its value must be // in the range specified in rangeMatch. If the header does not contain // an integer, number or is empty, the match fails. // For example for a range [-5, 0] // - -3 will match. // - 0 will not match. // - 0.25 will not match. // - -3someString will not match. // Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, // presentMatch or rangeMatch must be set. RangeMatch *Int64RangeMatch `json:"rangeMatch,omitempty"` // RegexMatch: The value of the header must match the regualar // expression specified in regexMatch. For regular expression grammar, // please see: en.cppreference.com/w/cpp/regex/ecmascript // For matching against a port specified in the HTTP request, use a // headerMatch with headerName set to PORT and a regular expression that // satisfies the RFC2616 Host header's port specifier. // Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, // presentMatch or rangeMatch must be set. RegexMatch string `json:"regexMatch,omitempty"` // SuffixMatch: The value of the header must end with the contents of // suffixMatch. // Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, // presentMatch or rangeMatch must be set. SuffixMatch string `json:"suffixMatch,omitempty"` // ForceSendFields is a list of field names (e.g. "ExactMatch") 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. "ExactMatch") 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:"-"` }
HttpHeaderMatch: matchRule criteria for request header matches.
func (*HttpHeaderMatch) MarshalJSON ¶
func (s *HttpHeaderMatch) MarshalJSON() ([]byte, error)
type HttpHeaderOption ¶
type HttpHeaderOption struct { // HeaderName: The name of the header. HeaderName string `json:"headerName,omitempty"` // HeaderValue: The value of the header to add. HeaderValue string `json:"headerValue,omitempty"` // Replace: If false, headerValue is appended to any values that already // exist for the header. If true, headerValue is set for the header, // discarding any values that were set for that header. // The default value is false. Replace bool `json:"replace,omitempty"` // ForceSendFields is a list of field names (e.g. "HeaderName") 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. "HeaderName") 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:"-"` }
HttpHeaderOption: Specification determining how headers are added to requests or responses.
func (*HttpHeaderOption) MarshalJSON ¶
func (s *HttpHeaderOption) MarshalJSON() ([]byte, error)
type HttpHealthCheck ¶
type HttpHealthCheck struct { // CheckIntervalSec: How often (in seconds) to send a health check. The // default value is 5 seconds. CheckIntervalSec int64 `json:"checkIntervalSec,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"` // HealthyThreshold: A so-far unhealthy instance will be marked healthy // after this many consecutive successes. The default value is 2. HealthyThreshold int64 `json:"healthyThreshold,omitempty"` // Host: The value of the host header in the HTTP health check request. // If left empty (default value), the public IP on behalf of which this // health check is performed will be used. Host string `json:"host,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#httpHealthCheck for HTTP health checks. 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"` // Port: The TCP port number for the HTTP health check request. The // default value is 80. Port int64 `json:"port,omitempty"` // RequestPath: The request path of the HTTP health check request. The // default value is /. RequestPath string `json:"requestPath,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // TimeoutSec: How long (in seconds) to wait before claiming failure. // The default value is 5 seconds. It is invalid for timeoutSec to have // greater value than checkIntervalSec. TimeoutSec int64 `json:"timeoutSec,omitempty"` // UnhealthyThreshold: A so-far healthy instance will be marked // unhealthy after this many consecutive failures. The default value is // 2. UnhealthyThreshold int64 `json:"unhealthyThreshold,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CheckIntervalSec") 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. "CheckIntervalSec") 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:"-"` }
HttpHealthCheck: An HttpHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTP.
func (*HttpHealthCheck) MarshalJSON ¶
func (s *HttpHealthCheck) MarshalJSON() ([]byte, error)
type HttpHealthCheckList ¶
type HttpHealthCheckList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of HttpHealthCheck resources. Items []*HttpHealthCheck `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"` // Warning: [Output Only] Informational warning message. Warning *HttpHealthCheckListWarning `json:"warning,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:"-"` }
HttpHealthCheckList: Contains a list of HttpHealthCheck resources.
func (*HttpHealthCheckList) MarshalJSON ¶
func (s *HttpHealthCheckList) MarshalJSON() ([]byte, error)
type HttpHealthCheckListWarning ¶
type HttpHealthCheckListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*HttpHealthCheckListWarningData `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:"-"` }
HttpHealthCheckListWarning: [Output Only] Informational warning message.
func (*HttpHealthCheckListWarning) MarshalJSON ¶
func (s *HttpHealthCheckListWarning) MarshalJSON() ([]byte, error)
type HttpHealthCheckListWarningData ¶
type HttpHealthCheckListWarningData 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 (*HttpHealthCheckListWarningData) MarshalJSON ¶
func (s *HttpHealthCheckListWarningData) MarshalJSON() ([]byte, error)
type HttpHealthChecksDeleteCall ¶
type HttpHealthChecksDeleteCall struct {
// contains filtered or unexported fields
}
func (*HttpHealthChecksDeleteCall) Context ¶
func (c *HttpHealthChecksDeleteCall) Context(ctx context.Context) *HttpHealthChecksDeleteCall
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 (*HttpHealthChecksDeleteCall) Do ¶
func (c *HttpHealthChecksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.httpHealthChecks.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 (*HttpHealthChecksDeleteCall) Fields ¶
func (c *HttpHealthChecksDeleteCall) Fields(s ...googleapi.Field) *HttpHealthChecksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpHealthChecksDeleteCall) Header ¶
func (c *HttpHealthChecksDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpHealthChecksDeleteCall) RequestId ¶
func (c *HttpHealthChecksDeleteCall) RequestId(requestId string) *HttpHealthChecksDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HttpHealthChecksGetCall ¶
type HttpHealthChecksGetCall struct {
// contains filtered or unexported fields
}
func (*HttpHealthChecksGetCall) Context ¶
func (c *HttpHealthChecksGetCall) Context(ctx context.Context) *HttpHealthChecksGetCall
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 (*HttpHealthChecksGetCall) Do ¶
func (c *HttpHealthChecksGetCall) Do(opts ...googleapi.CallOption) (*HttpHealthCheck, error)
Do executes the "compute.httpHealthChecks.get" call. Exactly one of *HttpHealthCheck or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *HttpHealthCheck.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 (*HttpHealthChecksGetCall) Fields ¶
func (c *HttpHealthChecksGetCall) Fields(s ...googleapi.Field) *HttpHealthChecksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpHealthChecksGetCall) Header ¶
func (c *HttpHealthChecksGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpHealthChecksGetCall) IfNoneMatch ¶
func (c *HttpHealthChecksGetCall) IfNoneMatch(entityTag string) *HttpHealthChecksGetCall
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 HttpHealthChecksInsertCall ¶
type HttpHealthChecksInsertCall struct {
// contains filtered or unexported fields
}
func (*HttpHealthChecksInsertCall) Context ¶
func (c *HttpHealthChecksInsertCall) Context(ctx context.Context) *HttpHealthChecksInsertCall
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 (*HttpHealthChecksInsertCall) Do ¶
func (c *HttpHealthChecksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.httpHealthChecks.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 (*HttpHealthChecksInsertCall) Fields ¶
func (c *HttpHealthChecksInsertCall) Fields(s ...googleapi.Field) *HttpHealthChecksInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpHealthChecksInsertCall) Header ¶
func (c *HttpHealthChecksInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpHealthChecksInsertCall) RequestId ¶
func (c *HttpHealthChecksInsertCall) RequestId(requestId string) *HttpHealthChecksInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HttpHealthChecksListCall ¶
type HttpHealthChecksListCall struct {
// contains filtered or unexported fields
}
func (*HttpHealthChecksListCall) Context ¶
func (c *HttpHealthChecksListCall) Context(ctx context.Context) *HttpHealthChecksListCall
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 (*HttpHealthChecksListCall) Do ¶
func (c *HttpHealthChecksListCall) Do(opts ...googleapi.CallOption) (*HttpHealthCheckList, error)
Do executes the "compute.httpHealthChecks.list" call. Exactly one of *HttpHealthCheckList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *HttpHealthCheckList.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 (*HttpHealthChecksListCall) Fields ¶
func (c *HttpHealthChecksListCall) Fields(s ...googleapi.Field) *HttpHealthChecksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpHealthChecksListCall) Filter ¶
func (c *HttpHealthChecksListCall) Filter(filter string) *HttpHealthChecksListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*HttpHealthChecksListCall) Header ¶
func (c *HttpHealthChecksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpHealthChecksListCall) IfNoneMatch ¶
func (c *HttpHealthChecksListCall) IfNoneMatch(entityTag string) *HttpHealthChecksListCall
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 (*HttpHealthChecksListCall) MaxResults ¶
func (c *HttpHealthChecksListCall) MaxResults(maxResults int64) *HttpHealthChecksListCall
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 (*HttpHealthChecksListCall) OrderBy ¶
func (c *HttpHealthChecksListCall) OrderBy(orderBy string) *HttpHealthChecksListCall
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 (*HttpHealthChecksListCall) PageToken ¶
func (c *HttpHealthChecksListCall) PageToken(pageToken string) *HttpHealthChecksListCall
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 (*HttpHealthChecksListCall) Pages ¶
func (c *HttpHealthChecksListCall) Pages(ctx context.Context, f func(*HttpHealthCheckList) 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 HttpHealthChecksPatchCall ¶
type HttpHealthChecksPatchCall struct {
// contains filtered or unexported fields
}
func (*HttpHealthChecksPatchCall) Context ¶
func (c *HttpHealthChecksPatchCall) Context(ctx context.Context) *HttpHealthChecksPatchCall
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 (*HttpHealthChecksPatchCall) Do ¶
func (c *HttpHealthChecksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.httpHealthChecks.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 (*HttpHealthChecksPatchCall) Fields ¶
func (c *HttpHealthChecksPatchCall) Fields(s ...googleapi.Field) *HttpHealthChecksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpHealthChecksPatchCall) Header ¶
func (c *HttpHealthChecksPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpHealthChecksPatchCall) RequestId ¶
func (c *HttpHealthChecksPatchCall) RequestId(requestId string) *HttpHealthChecksPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HttpHealthChecksService ¶
type HttpHealthChecksService struct {
// contains filtered or unexported fields
}
func NewHttpHealthChecksService ¶
func NewHttpHealthChecksService(s *Service) *HttpHealthChecksService
func (*HttpHealthChecksService) Delete ¶
func (r *HttpHealthChecksService) Delete(project string, httpHealthCheck string) *HttpHealthChecksDeleteCall
Delete: Deletes the specified HttpHealthCheck resource. For details, see https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks/delete
func (*HttpHealthChecksService) Get ¶
func (r *HttpHealthChecksService) Get(project string, httpHealthCheck string) *HttpHealthChecksGetCall
Get: Returns the specified HttpHealthCheck resource. Gets a list of available HTTP health checks by making a list() request. For details, see https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks/get
func (*HttpHealthChecksService) Insert ¶
func (r *HttpHealthChecksService) Insert(project string, httphealthcheck *HttpHealthCheck) *HttpHealthChecksInsertCall
Insert: Creates a HttpHealthCheck resource in the specified project using the data included in the request. For details, see https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks/insert
func (*HttpHealthChecksService) List ¶
func (r *HttpHealthChecksService) List(project string) *HttpHealthChecksListCall
List: Retrieves the list of HttpHealthCheck resources available to the specified project. For details, see https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks/list
func (*HttpHealthChecksService) Patch ¶
func (r *HttpHealthChecksService) Patch(project string, httpHealthCheck string, httphealthcheck *HttpHealthCheck) *HttpHealthChecksPatchCall
Patch: Updates a HttpHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules. For details, see https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks/patch
func (*HttpHealthChecksService) TestIamPermissions ¶
func (r *HttpHealthChecksService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *HttpHealthChecksTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
func (*HttpHealthChecksService) Update ¶
func (r *HttpHealthChecksService) Update(project string, httpHealthCheck string, httphealthcheck *HttpHealthCheck) *HttpHealthChecksUpdateCall
Update: Updates a HttpHealthCheck resource in the specified project using the data included in the request. For details, see https://cloud.google.com/compute/docs/reference/latest/httpHealthChecks/update
type HttpHealthChecksTestIamPermissionsCall ¶
type HttpHealthChecksTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*HttpHealthChecksTestIamPermissionsCall) Context ¶
func (c *HttpHealthChecksTestIamPermissionsCall) Context(ctx context.Context) *HttpHealthChecksTestIamPermissionsCall
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 (*HttpHealthChecksTestIamPermissionsCall) Do ¶
func (c *HttpHealthChecksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.httpHealthChecks.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*HttpHealthChecksTestIamPermissionsCall) Fields ¶
func (c *HttpHealthChecksTestIamPermissionsCall) Fields(s ...googleapi.Field) *HttpHealthChecksTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpHealthChecksTestIamPermissionsCall) Header ¶
func (c *HttpHealthChecksTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type HttpHealthChecksUpdateCall ¶
type HttpHealthChecksUpdateCall struct {
// contains filtered or unexported fields
}
func (*HttpHealthChecksUpdateCall) Context ¶
func (c *HttpHealthChecksUpdateCall) Context(ctx context.Context) *HttpHealthChecksUpdateCall
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 (*HttpHealthChecksUpdateCall) Do ¶
func (c *HttpHealthChecksUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.httpHealthChecks.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 (*HttpHealthChecksUpdateCall) Fields ¶
func (c *HttpHealthChecksUpdateCall) Fields(s ...googleapi.Field) *HttpHealthChecksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpHealthChecksUpdateCall) Header ¶
func (c *HttpHealthChecksUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpHealthChecksUpdateCall) RequestId ¶
func (c *HttpHealthChecksUpdateCall) RequestId(requestId string) *HttpHealthChecksUpdateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HttpQueryParameterMatch ¶
type HttpQueryParameterMatch struct { // ExactMatch: The queryParameterMatch matches if the value of the // parameter exactly matches the contents of exactMatch. // Only one of presentMatch, exactMatch and regexMatch must be set. ExactMatch string `json:"exactMatch,omitempty"` // Name: The name of the query parameter to match. The query parameter // must exist in the request, in the absence of which the request match // fails. Name string `json:"name,omitempty"` // PresentMatch: Specifies that the queryParameterMatch matches if the // request contains the query parameter, irrespective of whether the // parameter has a value or not. // Only one of presentMatch, exactMatch and regexMatch must be set. PresentMatch bool `json:"presentMatch,omitempty"` // RegexMatch: The queryParameterMatch matches if the value of the // parameter matches the regular expression specified by regexMatch. For // the regular expression grammar, please see // en.cppreference.com/w/cpp/regex/ecmascript // Only one of presentMatch, exactMatch and regexMatch must be set. RegexMatch string `json:"regexMatch,omitempty"` // ForceSendFields is a list of field names (e.g. "ExactMatch") 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. "ExactMatch") 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:"-"` }
HttpQueryParameterMatch: HttpRouteRuleMatch criteria for a request's query parameter.
func (*HttpQueryParameterMatch) MarshalJSON ¶
func (s *HttpQueryParameterMatch) MarshalJSON() ([]byte, error)
type HttpRedirectAction ¶
type HttpRedirectAction struct { // HostRedirect: The host that will be used in the redirect response // instead of the one that was supplied in the request. // The value must be between 1 and 255 characters. HostRedirect string `json:"hostRedirect,omitempty"` // HttpsRedirect: If set to true, the URL scheme in the redirected // request is set to https. If set to false, the URL scheme of the // redirected request will remain the same as that of the request. // This must only be set for UrlMaps used in TargetHttpProxys. Setting // this true for TargetHttpsProxy is not permitted. // The default is set to false. HttpsRedirect bool `json:"httpsRedirect,omitempty"` // PathRedirect: The path that will be used in the redirect response // instead of the one that was supplied in the request. // Only one of pathRedirect or prefixRedirect must be specified. // The value must be between 1 and 1024 characters. PathRedirect string `json:"pathRedirect,omitempty"` // PrefixRedirect: The prefix that replaces the prefixMatch specified in // the HttpRouteRuleMatch, retaining the remaining portion of the URL // before redirecting the request. PrefixRedirect string `json:"prefixRedirect,omitempty"` // RedirectResponseCode: The HTTP Status code to use for this // RedirectAction. // Supported values are: // - MOVED_PERMANENTLY_DEFAULT, which is the default value and // corresponds to 301. // - FOUND, which corresponds to 302. // - SEE_OTHER which corresponds to 303. // - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the // request method will be retained. // - PERMANENT_REDIRECT, which corresponds to 308. In this case, the // request method will be retained. // // Possible values: // "FOUND" // "MOVED_PERMANENTLY_DEFAULT" // "PERMANENT_REDIRECT" // "SEE_OTHER" // "TEMPORARY_REDIRECT" RedirectResponseCode string `json:"redirectResponseCode,omitempty"` // StripQuery: If set to true, any accompanying query portion of the // original URL is removed prior to redirecting the request. If set to // false, the query portion of the original URL is retained. // The default is set to false. StripQuery bool `json:"stripQuery,omitempty"` // ForceSendFields is a list of field names (e.g. "HostRedirect") 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. "HostRedirect") 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:"-"` }
HttpRedirectAction: Specifies settings for an HTTP redirect.
func (*HttpRedirectAction) MarshalJSON ¶
func (s *HttpRedirectAction) MarshalJSON() ([]byte, error)
type HttpRetryPolicy ¶
type HttpRetryPolicy struct { // NumRetries: Specifies the allowed number retries. This number must be // > 0. NumRetries int64 `json:"numRetries,omitempty"` // PerTryTimeout: Specifies a non-zero timeout per retry attempt. PerTryTimeout *Duration `json:"perTryTimeout,omitempty"` // RetryConditions: Specfies one or more conditions when this retry rule // applies. Valid values are: // - 5xx: Loadbalancer will attempt a retry if the backend service // responds with any 5xx response code, or if the backend service does // not respond at all, example: disconnects, reset, read timeout, // connection failure, and refused streams. // - gateway-error: Similar to 5xx, but only applies to response codes // 502, 503 or 504. // - // - connect-failure: Loadbalancer will retry on failures connecting to // backend services, for example due to connection timeouts. // - retriable-4xx: Loadbalancer will retry for retriable 4xx response // codes. Currently the only retriable error supported is 409. // - refused-stream:Loadbalancer will retry if the backend service // resets the stream with a REFUSED_STREAM error code. This reset type // indicates that it is safe to retry. // - cancelledLoadbalancer will retry if the gRPC status code in the // response header is set to cancelled // - deadline-exceeded: Loadbalancer will retry if the gRPC status code // in the response header is set to deadline-exceeded // - resource-exhausted: Loadbalancer will retry if the gRPC status code // in the response header is set to resource-exhausted // - unavailable: Loadbalancer will retry if the gRPC status code in the // response header is set to unavailable RetryConditions []string `json:"retryConditions,omitempty"` // ForceSendFields is a list of field names (e.g. "NumRetries") 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. "NumRetries") 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:"-"` }
HttpRetryPolicy: The retry policy associates with HttpRouteRule
func (*HttpRetryPolicy) MarshalJSON ¶
func (s *HttpRetryPolicy) MarshalJSON() ([]byte, error)
type HttpRouteAction ¶
type HttpRouteAction struct { // CorsPolicy: The specification for allowing client side cross-origin // requests. Please see W3C Recommendation for Cross Origin Resource // Sharing CorsPolicy *CorsPolicy `json:"corsPolicy,omitempty"` // FaultInjectionPolicy: The specification for fault injection // introduced into traffic to test the resiliency of clients to backend // service failure. As part of fault injection, when clients send // requests to a backend service, delays can be introduced by // Loadbalancer on a percentage of requests before sending those request // to the backend service. Similarly requests from clients can be // aborted by the Loadbalancer for a percentage of requests. // timeout and retry_policy will be ignored by clients that are // configured with a fault_injection_policy. FaultInjectionPolicy *HttpFaultInjection `json:"faultInjectionPolicy,omitempty"` // RequestMirrorPolicy: Specifies the policy on how requests intended // for the route's backends are shadowed to a separate mirrored backend // service. Loadbalancer does not wait for responses from the shadow // service. Prior to sending traffic to the shadow service, the host / // authority header is suffixed with -shadow. RequestMirrorPolicy *RequestMirrorPolicy `json:"requestMirrorPolicy,omitempty"` // RetryPolicy: Specifies the retry policy associated with this route. RetryPolicy *HttpRetryPolicy `json:"retryPolicy,omitempty"` // Timeout: Specifies the timeout for the selected route. Timeout is // computed from the time the request is has been fully processed (i.e. // end-of-stream) up until the response has been completely processed. // Timeout includes all retries. // If not specified, the default value is 15 seconds. Timeout *Duration `json:"timeout,omitempty"` // UrlRewrite: The spec to modify the URL of the request, prior to // forwarding the request to the matched service UrlRewrite *UrlRewrite `json:"urlRewrite,omitempty"` // WeightedBackendServices: A list of weighted backend services to send // traffic to when a route match occurs. The weights determine the // fraction of traffic that flows to their corresponding backend // service. If all traffic needs to go to a single backend service, // there must be one weightedBackendService with weight set to a non 0 // number. // Once a backendService is identified and before forwarding the request // to the backend service, advanced routing actions like Url rewrites // and header transformations are applied depending on additional // settings specified in this HttpRouteAction. WeightedBackendServices []*WeightedBackendService `json:"weightedBackendServices,omitempty"` // ForceSendFields is a list of field names (e.g. "CorsPolicy") 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. "CorsPolicy") 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 (*HttpRouteAction) MarshalJSON ¶
func (s *HttpRouteAction) MarshalJSON() ([]byte, error)
type HttpRouteRule ¶
type HttpRouteRule struct { // HeaderAction: Specifies changes to request and response headers that // need to take effect for the selected backendService. // The headerAction specified here are applied before the matching // pathMatchers[].headerAction and after // pathMatchers[].routeRules[].routeAction.weightedBackendService.backend // ServiceWeightAction[].headerAction HeaderAction *HttpHeaderAction `json:"headerAction,omitempty"` MatchRules []*HttpRouteRuleMatch `json:"matchRules,omitempty"` // RouteAction: In response to a matching matchRule, the load balancer // performs advanced routing actions like URL rewrites, header // transformations, etc. prior to forwarding the request to the selected // backend. If routeAction specifies any weightedBackendServices, // service must not be set. Conversely if service is set, routeAction // cannot contain any weightedBackendServices. // Only one of routeAction or urlRedirect must be set. RouteAction *HttpRouteAction `json:"routeAction,omitempty"` // Service: The full or partial URL of the backend service resource to // which traffic is directed if this rule is matched. If routeAction is // additionally specified, advanced routing actions like URL Rewrites, // etc. take effect prior to sending the request to the backend. // However, if service is specified, routeAction cannot contain any // weightedBackendService s. Conversely, if routeAction specifies any // weightedBackendServices, service must not be specified. // Only one of urlRedirect, service or // routeAction.weightedBackendService must be set. Service string `json:"service,omitempty"` // UrlRedirect: When this rule is matched, the request is redirected to // a URL specified by urlRedirect. // If urlRedirect is specified, service or routeAction must not be set. UrlRedirect *HttpRedirectAction `json:"urlRedirect,omitempty"` // ForceSendFields is a list of field names (e.g. "HeaderAction") 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. "HeaderAction") 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:"-"` }
HttpRouteRule: An HttpRouteRule specifies how to match an HTTP request and the corresponding routing action that load balancing proxies will perform.
func (*HttpRouteRule) MarshalJSON ¶
func (s *HttpRouteRule) MarshalJSON() ([]byte, error)
type HttpRouteRuleMatch ¶
type HttpRouteRuleMatch struct { // FullPathMatch: For satifying the matchRule condition, the path of the // request must exactly match the value specified in fullPathMatch after // removing any query parameters and anchor that may be part of the // original URL. // FullPathMatch must be between 1 and 1024 characters. // Only one of prefixMatch, fullPathMatch or regexMatch must be // specified. FullPathMatch string `json:"fullPathMatch,omitempty"` // HeaderMatches: Specifies a list of header match criteria, all of // which must match corresponding headers in the request. HeaderMatches []*HttpHeaderMatch `json:"headerMatches,omitempty"` // IgnoreCase: Specifies that prefixMatch and fullPathMatch matches are // case sensitive. // The default value is false. // caseSensitive must not be used with regexMatch. IgnoreCase bool `json:"ignoreCase,omitempty"` // MetadataFilters: Opaque filter criteria used by Loadbalancer to // restrict routing configuration to a limited set xDS compliant // clients. In their xDS requests to Loadbalancer, xDS clients present // node metadata. If a match takes place, the relevant routing // configuration is made available to those proxies. // For each metadataFilter in this list, if its filterMatchCriteria is // set to MATCH_ANY, at least one of the filterLabels must match the // corresponding label provided in the metadata. If its // filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels // must match with corresponding labels in the provided // metadata. // metadataFilters specified here can be overrides those specified in // ForwardingRule that refers to this UrlMap. // metadataFilters only applies to Loadbalancers that have their // loadBalancingScheme set to INTERNAL_SELF_MANAGED. MetadataFilters []*MetadataFilter `json:"metadataFilters,omitempty"` // PrefixMatch: For satifying the matchRule condition, the request's // path must begin with the specified prefixMatch. prefixMatch must // begin with a /. // The value must be between 1 and 1024 characters. // Only one of prefixMatch, fullPathMatch or regexMatch must be // specified. PrefixMatch string `json:"prefixMatch,omitempty"` // QueryParameterMatches: Specifies a list of query parameter match // criteria, all of which must match corresponding query parameters in // the request. QueryParameterMatches []*HttpQueryParameterMatch `json:"queryParameterMatches,omitempty"` // RegexMatch: For satifying the matchRule condition, the path of the // request must satisfy the regular expression specified in regexMatch // after removing any query parameters and anchor supplied with the // original URL. For regular expression grammar please see // en.cppreference.com/w/cpp/regex/ecmascript // Only one of prefixMatch, fullPathMatch or regexMatch must be // specified. RegexMatch string `json:"regexMatch,omitempty"` // ForceSendFields is a list of field names (e.g. "FullPathMatch") 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. "FullPathMatch") 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:"-"` }
HttpRouteRuleMatch: HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur.
func (*HttpRouteRuleMatch) MarshalJSON ¶
func (s *HttpRouteRuleMatch) MarshalJSON() ([]byte, error)
type HttpsHealthCheck ¶
type HttpsHealthCheck struct { // CheckIntervalSec: How often (in seconds) to send a health check. The // default value is 5 seconds. CheckIntervalSec int64 `json:"checkIntervalSec,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"` // HealthyThreshold: A so-far unhealthy instance will be marked healthy // after this many consecutive successes. The default value is 2. HealthyThreshold int64 `json:"healthyThreshold,omitempty"` // Host: The value of the host header in the HTTPS health check request. // If left empty (default value), the public IP on behalf of which this // health check is performed will be used. Host string `json:"host,omitempty"` // Id: [Output Only] The unique identifier for the resource. This // identifier is 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"` // Port: The TCP port number for the HTTPS health check request. The // default value is 443. Port int64 `json:"port,omitempty"` // RequestPath: The request path of the HTTPS health check request. The // default value is "/". RequestPath string `json:"requestPath,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // TimeoutSec: How long (in seconds) to wait before claiming failure. // The default value is 5 seconds. It is invalid for timeoutSec to have // a greater value than checkIntervalSec. TimeoutSec int64 `json:"timeoutSec,omitempty"` // UnhealthyThreshold: A so-far healthy instance will be marked // unhealthy after this many consecutive failures. The default value is // 2. UnhealthyThreshold int64 `json:"unhealthyThreshold,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "CheckIntervalSec") 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. "CheckIntervalSec") 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:"-"` }
HttpsHealthCheck: An HttpsHealthCheck resource. This resource defines a template for how individual instances should be checked for health, via HTTPS.
func (*HttpsHealthCheck) MarshalJSON ¶
func (s *HttpsHealthCheck) MarshalJSON() ([]byte, error)
type HttpsHealthCheckList ¶
type HttpsHealthCheckList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of HttpsHealthCheck resources. Items []*HttpsHealthCheck `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"` // Warning: [Output Only] Informational warning message. Warning *HttpsHealthCheckListWarning `json:"warning,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:"-"` }
HttpsHealthCheckList: Contains a list of HttpsHealthCheck resources.
func (*HttpsHealthCheckList) MarshalJSON ¶
func (s *HttpsHealthCheckList) MarshalJSON() ([]byte, error)
type HttpsHealthCheckListWarning ¶
type HttpsHealthCheckListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*HttpsHealthCheckListWarningData `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:"-"` }
HttpsHealthCheckListWarning: [Output Only] Informational warning message.
func (*HttpsHealthCheckListWarning) MarshalJSON ¶
func (s *HttpsHealthCheckListWarning) MarshalJSON() ([]byte, error)
type HttpsHealthCheckListWarningData ¶
type HttpsHealthCheckListWarningData 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 (*HttpsHealthCheckListWarningData) MarshalJSON ¶
func (s *HttpsHealthCheckListWarningData) MarshalJSON() ([]byte, error)
type HttpsHealthChecksDeleteCall ¶
type HttpsHealthChecksDeleteCall struct {
// contains filtered or unexported fields
}
func (*HttpsHealthChecksDeleteCall) Context ¶
func (c *HttpsHealthChecksDeleteCall) Context(ctx context.Context) *HttpsHealthChecksDeleteCall
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 (*HttpsHealthChecksDeleteCall) Do ¶
func (c *HttpsHealthChecksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.httpsHealthChecks.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 (*HttpsHealthChecksDeleteCall) Fields ¶
func (c *HttpsHealthChecksDeleteCall) Fields(s ...googleapi.Field) *HttpsHealthChecksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpsHealthChecksDeleteCall) Header ¶
func (c *HttpsHealthChecksDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpsHealthChecksDeleteCall) RequestId ¶
func (c *HttpsHealthChecksDeleteCall) RequestId(requestId string) *HttpsHealthChecksDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HttpsHealthChecksGetCall ¶
type HttpsHealthChecksGetCall struct {
// contains filtered or unexported fields
}
func (*HttpsHealthChecksGetCall) Context ¶
func (c *HttpsHealthChecksGetCall) Context(ctx context.Context) *HttpsHealthChecksGetCall
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 (*HttpsHealthChecksGetCall) Do ¶
func (c *HttpsHealthChecksGetCall) Do(opts ...googleapi.CallOption) (*HttpsHealthCheck, error)
Do executes the "compute.httpsHealthChecks.get" call. Exactly one of *HttpsHealthCheck or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *HttpsHealthCheck.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 (*HttpsHealthChecksGetCall) Fields ¶
func (c *HttpsHealthChecksGetCall) Fields(s ...googleapi.Field) *HttpsHealthChecksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpsHealthChecksGetCall) Header ¶
func (c *HttpsHealthChecksGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpsHealthChecksGetCall) IfNoneMatch ¶
func (c *HttpsHealthChecksGetCall) IfNoneMatch(entityTag string) *HttpsHealthChecksGetCall
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 HttpsHealthChecksInsertCall ¶
type HttpsHealthChecksInsertCall struct {
// contains filtered or unexported fields
}
func (*HttpsHealthChecksInsertCall) Context ¶
func (c *HttpsHealthChecksInsertCall) Context(ctx context.Context) *HttpsHealthChecksInsertCall
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 (*HttpsHealthChecksInsertCall) Do ¶
func (c *HttpsHealthChecksInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.httpsHealthChecks.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 (*HttpsHealthChecksInsertCall) Fields ¶
func (c *HttpsHealthChecksInsertCall) Fields(s ...googleapi.Field) *HttpsHealthChecksInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpsHealthChecksInsertCall) Header ¶
func (c *HttpsHealthChecksInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpsHealthChecksInsertCall) RequestId ¶
func (c *HttpsHealthChecksInsertCall) RequestId(requestId string) *HttpsHealthChecksInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HttpsHealthChecksListCall ¶
type HttpsHealthChecksListCall struct {
// contains filtered or unexported fields
}
func (*HttpsHealthChecksListCall) Context ¶
func (c *HttpsHealthChecksListCall) Context(ctx context.Context) *HttpsHealthChecksListCall
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 (*HttpsHealthChecksListCall) Do ¶
func (c *HttpsHealthChecksListCall) Do(opts ...googleapi.CallOption) (*HttpsHealthCheckList, error)
Do executes the "compute.httpsHealthChecks.list" call. Exactly one of *HttpsHealthCheckList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *HttpsHealthCheckList.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 (*HttpsHealthChecksListCall) Fields ¶
func (c *HttpsHealthChecksListCall) Fields(s ...googleapi.Field) *HttpsHealthChecksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpsHealthChecksListCall) Filter ¶
func (c *HttpsHealthChecksListCall) Filter(filter string) *HttpsHealthChecksListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*HttpsHealthChecksListCall) Header ¶
func (c *HttpsHealthChecksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpsHealthChecksListCall) IfNoneMatch ¶
func (c *HttpsHealthChecksListCall) IfNoneMatch(entityTag string) *HttpsHealthChecksListCall
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 (*HttpsHealthChecksListCall) MaxResults ¶
func (c *HttpsHealthChecksListCall) MaxResults(maxResults int64) *HttpsHealthChecksListCall
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 (*HttpsHealthChecksListCall) OrderBy ¶
func (c *HttpsHealthChecksListCall) OrderBy(orderBy string) *HttpsHealthChecksListCall
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 (*HttpsHealthChecksListCall) PageToken ¶
func (c *HttpsHealthChecksListCall) PageToken(pageToken string) *HttpsHealthChecksListCall
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 (*HttpsHealthChecksListCall) Pages ¶
func (c *HttpsHealthChecksListCall) Pages(ctx context.Context, f func(*HttpsHealthCheckList) 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 HttpsHealthChecksPatchCall ¶
type HttpsHealthChecksPatchCall struct {
// contains filtered or unexported fields
}
func (*HttpsHealthChecksPatchCall) Context ¶
func (c *HttpsHealthChecksPatchCall) Context(ctx context.Context) *HttpsHealthChecksPatchCall
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 (*HttpsHealthChecksPatchCall) Do ¶
func (c *HttpsHealthChecksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.httpsHealthChecks.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 (*HttpsHealthChecksPatchCall) Fields ¶
func (c *HttpsHealthChecksPatchCall) Fields(s ...googleapi.Field) *HttpsHealthChecksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpsHealthChecksPatchCall) Header ¶
func (c *HttpsHealthChecksPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpsHealthChecksPatchCall) RequestId ¶
func (c *HttpsHealthChecksPatchCall) RequestId(requestId string) *HttpsHealthChecksPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type HttpsHealthChecksService ¶
type HttpsHealthChecksService struct {
// contains filtered or unexported fields
}
func NewHttpsHealthChecksService ¶
func NewHttpsHealthChecksService(s *Service) *HttpsHealthChecksService
func (*HttpsHealthChecksService) Delete ¶
func (r *HttpsHealthChecksService) Delete(project string, httpsHealthCheck string) *HttpsHealthChecksDeleteCall
Delete: Deletes the specified HttpsHealthCheck resource.
func (*HttpsHealthChecksService) Get ¶
func (r *HttpsHealthChecksService) Get(project string, httpsHealthCheck string) *HttpsHealthChecksGetCall
Get: Returns the specified HttpsHealthCheck resource. Gets a list of available HTTPS health checks by making a list() request.
func (*HttpsHealthChecksService) Insert ¶
func (r *HttpsHealthChecksService) Insert(project string, httpshealthcheck *HttpsHealthCheck) *HttpsHealthChecksInsertCall
Insert: Creates a HttpsHealthCheck resource in the specified project using the data included in the request.
func (*HttpsHealthChecksService) List ¶
func (r *HttpsHealthChecksService) List(project string) *HttpsHealthChecksListCall
List: Retrieves the list of HttpsHealthCheck resources available to the specified project.
func (*HttpsHealthChecksService) Patch ¶
func (r *HttpsHealthChecksService) Patch(project string, httpsHealthCheck string, httpshealthcheck *HttpsHealthCheck) *HttpsHealthChecksPatchCall
Patch: Updates a HttpsHealthCheck resource in the specified project using the data included in the request. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*HttpsHealthChecksService) TestIamPermissions ¶
func (r *HttpsHealthChecksService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *HttpsHealthChecksTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
func (*HttpsHealthChecksService) Update ¶
func (r *HttpsHealthChecksService) Update(project string, httpsHealthCheck string, httpshealthcheck *HttpsHealthCheck) *HttpsHealthChecksUpdateCall
Update: Updates a HttpsHealthCheck resource in the specified project using the data included in the request.
type HttpsHealthChecksTestIamPermissionsCall ¶
type HttpsHealthChecksTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*HttpsHealthChecksTestIamPermissionsCall) Context ¶
func (c *HttpsHealthChecksTestIamPermissionsCall) Context(ctx context.Context) *HttpsHealthChecksTestIamPermissionsCall
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 (*HttpsHealthChecksTestIamPermissionsCall) Do ¶
func (c *HttpsHealthChecksTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.httpsHealthChecks.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*HttpsHealthChecksTestIamPermissionsCall) Fields ¶
func (c *HttpsHealthChecksTestIamPermissionsCall) Fields(s ...googleapi.Field) *HttpsHealthChecksTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpsHealthChecksTestIamPermissionsCall) Header ¶
func (c *HttpsHealthChecksTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type HttpsHealthChecksUpdateCall ¶
type HttpsHealthChecksUpdateCall struct {
// contains filtered or unexported fields
}
func (*HttpsHealthChecksUpdateCall) Context ¶
func (c *HttpsHealthChecksUpdateCall) Context(ctx context.Context) *HttpsHealthChecksUpdateCall
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 (*HttpsHealthChecksUpdateCall) Do ¶
func (c *HttpsHealthChecksUpdateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.httpsHealthChecks.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 (*HttpsHealthChecksUpdateCall) Fields ¶
func (c *HttpsHealthChecksUpdateCall) Fields(s ...googleapi.Field) *HttpsHealthChecksUpdateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*HttpsHealthChecksUpdateCall) Header ¶
func (c *HttpsHealthChecksUpdateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*HttpsHealthChecksUpdateCall) RequestId ¶
func (c *HttpsHealthChecksUpdateCall) RequestId(requestId string) *HttpsHealthChecksUpdateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type Image ¶
type Image struct { // ArchiveSizeBytes: Size of the image tar.gz archive stored in Google // Cloud Storage (in bytes). ArchiveSizeBytes int64 `json:"archiveSizeBytes,omitempty,string"` // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text // format. CreationTimestamp string `json:"creationTimestamp,omitempty"` // Deprecated: The deprecation status associated with this image. Deprecated *DeprecationStatus `json:"deprecated,omitempty"` // Description: An optional description of this resource. Provide this // property when you create the resource. Description string `json:"description,omitempty"` // DiskSizeGb: Size of the image when restored onto a persistent disk // (in GB). DiskSizeGb int64 `json:"diskSizeGb,omitempty,string"` // Family: The name of the image family to which this image belongs. You // can create disks by specifying an image family instead of a specific // image name. The image family always returns its latest image that is // not deprecated. The name of the image family must comply with // RFC1035. Family string `json:"family,omitempty"` // GuestOsFeatures: A list of features to enable on the guest operating // system. Applicable only for bootable images. Read Enabling guest // operating system features to see a list of available options. GuestOsFeatures []*GuestOsFeature `json:"guestOsFeatures,omitempty"` // Id: [Output Only] The unique identifier for the resource. This // identifier is defined by the server. Id uint64 `json:"id,omitempty,string"` // ImageEncryptionKey: Encrypts the image using a customer-supplied // encryption key. // // After you encrypt an image with a customer-supplied key, you must // provide the same key if you use the image later (e.g. to create a // disk from the image). // // Customer-supplied encryption keys do not protect access to metadata // of the disk. // // If you do not provide an encryption key when creating the image, then // the disk will be encrypted using an automatically generated key and // you do not need to provide a key to use the image later. ImageEncryptionKey *CustomerEncryptionKey `json:"imageEncryptionKey,omitempty"` // Kind: [Output Only] Type of the resource. Always compute#image for // images. Kind string `json:"kind,omitempty"` // LabelFingerprint: A fingerprint for the labels being applied to this // image, which is essentially a hash of the labels 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, otherwise the request will fail with error 412 // conditionNotMet. // // To see the latest fingerprint, make a get() request to retrieve an // image. LabelFingerprint string `json:"labelFingerprint,omitempty"` // Labels: Labels to apply to this image. These can be later modified by // the setLabels method. Labels map[string]string `json:"labels,omitempty"` // LicenseCodes: Integer license codes indicating which licenses are // attached to this image. LicenseCodes googleapi.Int64s `json:"licenseCodes,omitempty"` // Licenses: Any applicable license URI. 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"` // RawDisk: The parameters of the raw disk image. RawDisk *ImageRawDisk `json:"rawDisk,omitempty"` // SelfLink: [Output Only] Server-defined URL for the resource. SelfLink string `json:"selfLink,omitempty"` // SourceDisk: URL of the source disk used to create this image. This // can be a full or valid partial URL. You must provide either this // property or the rawDisk.source property but not both to create an // image. For example, the following are valid values: // - // https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk // - projects/project/zones/zone/disks/disk // - zones/zone/disks/disk SourceDisk string `json:"sourceDisk,omitempty"` // SourceDiskEncryptionKey: The customer-supplied encryption key of the // source disk. Required if the source disk is protected by a // customer-supplied encryption key. SourceDiskEncryptionKey *CustomerEncryptionKey `json:"sourceDiskEncryptionKey,omitempty"` // SourceDiskId: [Output Only] The ID value of the disk used to create // this image. This value may be used to determine whether the image was // taken from the current or a previous instance of a given disk name. SourceDiskId string `json:"sourceDiskId,omitempty"` // SourceImage: URL of the source image used to create this image. This // can be a full or valid partial URL. You must provide exactly one of: // // - this property, or // - the rawDisk.source property, or // - the sourceDisk property in order to create an image. 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 image. This value may be used to determine whether the image was // taken from the current or a previous instance of a given image name. SourceImageId string `json:"sourceImageId,omitempty"` // SourceSnapshot: URL of the source snapshot used to create this image. // This can be a full or valid partial URL. You must provide exactly one // of: // - this property, or // - the sourceImage property, or // - the rawDisk.source property, or // - the sourceDisk property in order to create an image. 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 ID value of the snapshot used to // create this image. This value may be used to determine whether the // snapshot was taken from the current or a previous instance of a given // snapshot name. SourceSnapshotId string `json:"sourceSnapshotId,omitempty"` // SourceType: The type of the image used to create this disk. The // default and only value is RAW // // Possible values: // "RAW" (default) SourceType string `json:"sourceType,omitempty"` // Status: [Output Only] The status of the image. An image can be used // to create other resources, such as instances, only after the image // has been successfully created and the status is set to READY. // Possible values are FAILED, PENDING, or READY. // // Possible values: // "DELETING" // "FAILED" // "PENDING" // "READY" Status string `json:"status,omitempty"` // StorageLocations: GCS bucket storage location of the image (regional // or multi-regional). StorageLocations []string `json:"storageLocations,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ArchiveSizeBytes") 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. "ArchiveSizeBytes") 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:"-"` }
Image: An Image resource. (== resource_for beta.images ==) (== resource_for v1.images ==)
type ImageList ¶
type ImageList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of Image resources. Items []*Image `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"` // Warning: [Output Only] Informational warning message. Warning *ImageListWarning `json:"warning,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:"-"` }
ImageList: Contains a list of images.
type ImageListWarning ¶
type ImageListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*ImageListWarningData `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:"-"` }
ImageListWarning: [Output Only] Informational warning message.
func (*ImageListWarning) MarshalJSON ¶
func (s *ImageListWarning) MarshalJSON() ([]byte, error)
type ImageListWarningData ¶
type ImageListWarningData 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 (*ImageListWarningData) MarshalJSON ¶
func (s *ImageListWarningData) MarshalJSON() ([]byte, error)
type ImageRawDisk ¶
type ImageRawDisk struct { // ContainerType: The format used to encode and transmit the block // device, which should be TAR. This is just a container and // transmission format and not a runtime format. Provided by the client // when the disk image is created. // // Possible values: // "TAR" ContainerType string `json:"containerType,omitempty"` // Sha1Checksum: [Deprecated] This field is deprecated. An optional SHA1 // checksum of the disk image before unpackaging provided by the client // when the disk image is created. Sha1Checksum string `json:"sha1Checksum,omitempty"` // Source: The full Google Cloud Storage URL where the disk image is // stored. You must provide either this property or the sourceDisk // property but not both. Source string `json:"source,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerType") 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. "ContainerType") 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:"-"` }
ImageRawDisk: The parameters of the raw disk image.
func (*ImageRawDisk) MarshalJSON ¶
func (s *ImageRawDisk) MarshalJSON() ([]byte, error)
type ImagesDeleteCall ¶
type ImagesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ImagesDeleteCall) Context ¶
func (c *ImagesDeleteCall) Context(ctx context.Context) *ImagesDeleteCall
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 (*ImagesDeleteCall) Do ¶
func (c *ImagesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.images.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 (*ImagesDeleteCall) Fields ¶
func (c *ImagesDeleteCall) Fields(s ...googleapi.Field) *ImagesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesDeleteCall) Header ¶
func (c *ImagesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ImagesDeleteCall) RequestId ¶
func (c *ImagesDeleteCall) RequestId(requestId string) *ImagesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ImagesDeprecateCall ¶
type ImagesDeprecateCall struct {
// contains filtered or unexported fields
}
func (*ImagesDeprecateCall) Context ¶
func (c *ImagesDeprecateCall) Context(ctx context.Context) *ImagesDeprecateCall
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 (*ImagesDeprecateCall) Do ¶
func (c *ImagesDeprecateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.images.deprecate" 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 (*ImagesDeprecateCall) Fields ¶
func (c *ImagesDeprecateCall) Fields(s ...googleapi.Field) *ImagesDeprecateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesDeprecateCall) Header ¶
func (c *ImagesDeprecateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ImagesDeprecateCall) RequestId ¶
func (c *ImagesDeprecateCall) RequestId(requestId string) *ImagesDeprecateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ImagesGetCall ¶
type ImagesGetCall struct {
// contains filtered or unexported fields
}
func (*ImagesGetCall) Context ¶
func (c *ImagesGetCall) Context(ctx context.Context) *ImagesGetCall
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 (*ImagesGetCall) Do ¶
func (c *ImagesGetCall) Do(opts ...googleapi.CallOption) (*Image, error)
Do executes the "compute.images.get" call. Exactly one of *Image or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Image.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 (*ImagesGetCall) Fields ¶
func (c *ImagesGetCall) Fields(s ...googleapi.Field) *ImagesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesGetCall) Header ¶
func (c *ImagesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ImagesGetCall) IfNoneMatch ¶
func (c *ImagesGetCall) IfNoneMatch(entityTag string) *ImagesGetCall
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 ImagesGetFromFamilyCall ¶
type ImagesGetFromFamilyCall struct {
// contains filtered or unexported fields
}
func (*ImagesGetFromFamilyCall) Context ¶
func (c *ImagesGetFromFamilyCall) Context(ctx context.Context) *ImagesGetFromFamilyCall
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 (*ImagesGetFromFamilyCall) Do ¶
func (c *ImagesGetFromFamilyCall) Do(opts ...googleapi.CallOption) (*Image, error)
Do executes the "compute.images.getFromFamily" call. Exactly one of *Image or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Image.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 (*ImagesGetFromFamilyCall) Fields ¶
func (c *ImagesGetFromFamilyCall) Fields(s ...googleapi.Field) *ImagesGetFromFamilyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesGetFromFamilyCall) Header ¶
func (c *ImagesGetFromFamilyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ImagesGetFromFamilyCall) IfNoneMatch ¶
func (c *ImagesGetFromFamilyCall) IfNoneMatch(entityTag string) *ImagesGetFromFamilyCall
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 ImagesGetIamPolicyCall ¶
type ImagesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ImagesGetIamPolicyCall) Context ¶
func (c *ImagesGetIamPolicyCall) Context(ctx context.Context) *ImagesGetIamPolicyCall
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 (*ImagesGetIamPolicyCall) Do ¶
func (c *ImagesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "compute.images.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ImagesGetIamPolicyCall) Fields ¶
func (c *ImagesGetIamPolicyCall) Fields(s ...googleapi.Field) *ImagesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesGetIamPolicyCall) Header ¶
func (c *ImagesGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ImagesGetIamPolicyCall) IfNoneMatch ¶
func (c *ImagesGetIamPolicyCall) IfNoneMatch(entityTag string) *ImagesGetIamPolicyCall
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 ImagesInsertCall ¶
type ImagesInsertCall struct {
// contains filtered or unexported fields
}
func (*ImagesInsertCall) Context ¶
func (c *ImagesInsertCall) Context(ctx context.Context) *ImagesInsertCall
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 (*ImagesInsertCall) Do ¶
func (c *ImagesInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.images.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 (*ImagesInsertCall) Fields ¶
func (c *ImagesInsertCall) Fields(s ...googleapi.Field) *ImagesInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesInsertCall) ForceCreate ¶
func (c *ImagesInsertCall) ForceCreate(forceCreate bool) *ImagesInsertCall
ForceCreate sets the optional parameter "forceCreate": Force image creation if true.
func (*ImagesInsertCall) Header ¶
func (c *ImagesInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ImagesInsertCall) RequestId ¶
func (c *ImagesInsertCall) RequestId(requestId string) *ImagesInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ImagesListCall ¶
type ImagesListCall struct {
// contains filtered or unexported fields
}
func (*ImagesListCall) Context ¶
func (c *ImagesListCall) Context(ctx context.Context) *ImagesListCall
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 (*ImagesListCall) Do ¶
func (c *ImagesListCall) Do(opts ...googleapi.CallOption) (*ImageList, error)
Do executes the "compute.images.list" call. Exactly one of *ImageList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ImageList.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 (*ImagesListCall) Fields ¶
func (c *ImagesListCall) Fields(s ...googleapi.Field) *ImagesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesListCall) Filter ¶
func (c *ImagesListCall) Filter(filter string) *ImagesListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*ImagesListCall) Header ¶
func (c *ImagesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ImagesListCall) IfNoneMatch ¶
func (c *ImagesListCall) IfNoneMatch(entityTag string) *ImagesListCall
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 (*ImagesListCall) MaxResults ¶
func (c *ImagesListCall) MaxResults(maxResults int64) *ImagesListCall
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 (*ImagesListCall) OrderBy ¶
func (c *ImagesListCall) OrderBy(orderBy string) *ImagesListCall
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 (*ImagesListCall) PageToken ¶
func (c *ImagesListCall) PageToken(pageToken string) *ImagesListCall
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.
type ImagesService ¶
type ImagesService struct {
// contains filtered or unexported fields
}
func NewImagesService ¶
func NewImagesService(s *Service) *ImagesService
func (*ImagesService) Delete ¶
func (r *ImagesService) Delete(project string, image string) *ImagesDeleteCall
Delete: Deletes the specified image. For details, see https://cloud.google.com/compute/docs/reference/latest/images/delete
func (*ImagesService) Deprecate ¶
func (r *ImagesService) Deprecate(project string, image string, deprecationstatus *DeprecationStatus) *ImagesDeprecateCall
Deprecate: Sets the deprecation status of an image.
If an empty request body is given, clears the deprecation status instead. For details, see https://cloud.google.com/compute/docs/reference/latest/images/deprecate
func (*ImagesService) Get ¶
func (r *ImagesService) Get(project string, image string) *ImagesGetCall
Get: Returns the specified image. Gets a list of available images by making a list() request. For details, see https://cloud.google.com/compute/docs/reference/latest/images/get
func (*ImagesService) GetFromFamily ¶
func (r *ImagesService) GetFromFamily(project string, family string) *ImagesGetFromFamilyCall
GetFromFamily: Returns the latest image that is part of an image family and is not deprecated.
func (*ImagesService) GetIamPolicy ¶
func (r *ImagesService) GetIamPolicy(project string, resource string) *ImagesGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. May be empty if no such policy or resource exists.
func (*ImagesService) Insert ¶
func (r *ImagesService) Insert(project string, image *Image) *ImagesInsertCall
Insert: Creates an image in the specified project using the data included in the request. For details, see https://cloud.google.com/compute/docs/reference/latest/images/insert
func (*ImagesService) List ¶
func (r *ImagesService) List(project string) *ImagesListCall
List: Retrieves the list of custom images available to the specified project. Custom images are images you create that belong to your project. This method does not get any images that belong to other projects, including publicly-available images, like Debian 8. If you want to get a list of publicly-available images, use this method to make a request to the respective image project, such as debian-cloud or windows-cloud. For details, see https://cloud.google.com/compute/docs/reference/latest/images/list
func (*ImagesService) SetIamPolicy ¶
func (r *ImagesService) SetIamPolicy(project string, resource string, globalsetpolicyrequest *GlobalSetPolicyRequest) *ImagesSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource. Replaces any existing policy.
func (*ImagesService) SetLabels ¶
func (r *ImagesService) SetLabels(project string, resource string, globalsetlabelsrequest *GlobalSetLabelsRequest) *ImagesSetLabelsCall
SetLabels: Sets the labels on an image. To learn more about labels, read the Labeling Resources documentation.
func (*ImagesService) TestIamPermissions ¶
func (r *ImagesService) TestIamPermissions(project string, resource string, testpermissionsrequest *TestPermissionsRequest) *ImagesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
type ImagesSetIamPolicyCall ¶
type ImagesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ImagesSetIamPolicyCall) Context ¶
func (c *ImagesSetIamPolicyCall) Context(ctx context.Context) *ImagesSetIamPolicyCall
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 (*ImagesSetIamPolicyCall) Do ¶
func (c *ImagesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "compute.images.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ImagesSetIamPolicyCall) Fields ¶
func (c *ImagesSetIamPolicyCall) Fields(s ...googleapi.Field) *ImagesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesSetIamPolicyCall) Header ¶
func (c *ImagesSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ImagesSetLabelsCall ¶
type ImagesSetLabelsCall struct {
// contains filtered or unexported fields
}
func (*ImagesSetLabelsCall) Context ¶
func (c *ImagesSetLabelsCall) Context(ctx context.Context) *ImagesSetLabelsCall
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 (*ImagesSetLabelsCall) Do ¶
func (c *ImagesSetLabelsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.images.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 (*ImagesSetLabelsCall) Fields ¶
func (c *ImagesSetLabelsCall) Fields(s ...googleapi.Field) *ImagesSetLabelsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesSetLabelsCall) Header ¶
func (c *ImagesSetLabelsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ImagesTestIamPermissionsCall ¶
type ImagesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ImagesTestIamPermissionsCall) Context ¶
func (c *ImagesTestIamPermissionsCall) Context(ctx context.Context) *ImagesTestIamPermissionsCall
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 (*ImagesTestIamPermissionsCall) Do ¶
func (c *ImagesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestPermissionsResponse, error)
Do executes the "compute.images.testIamPermissions" call. Exactly one of *TestPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestPermissionsResponse.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 (*ImagesTestIamPermissionsCall) Fields ¶
func (c *ImagesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ImagesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ImagesTestIamPermissionsCall) Header ¶
func (c *ImagesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type Instance ¶
type Instance struct { // CanIpForward: Allows this instance to send and receive packets with // non-matching destination or source IPs. This is required if you plan // to use this instance to forward routes. For more information, see // Enabling IP Forwarding. CanIpForward bool `json:"canIpForward,omitempty"` // CpuPlatform: [Output Only] The CPU platform used by this instance. CpuPlatform string `json:"cpuPlatform,omitempty"` // CreationTimestamp: [Output Only] Creation timestamp in RFC3339 text // format. CreationTimestamp string `json:"creationTimestamp,omitempty"` // DeletionProtection: Whether the resource should be protected against // deletion. DeletionProtection bool `json:"deletionProtection,omitempty"` // Description: An optional description of this resource. Provide this // property when you create the resource. Description string `json:"description,omitempty"` // Disks: Array of disks associated with this instance. Persistent disks // must be created before you can assign them. Disks []*AttachedDisk `json:"disks,omitempty"` // DisplayDevice: Enables display device for the instance. DisplayDevice *DisplayDevice `json:"displayDevice,omitempty"` // GuestAccelerators: A list of the type and count of accelerator cards // attached to the instance. GuestAccelerators []*AcceleratorConfig `json:"guestAccelerators,omitempty"` Hostname string `json:"hostname,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#instance for // instances. Kind string `json:"kind,omitempty"` // LabelFingerprint: A fingerprint for this request, which is // essentially a hash of the label's contents and 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 get() request to the instance. LabelFingerprint string `json:"labelFingerprint,omitempty"` // Labels: Labels to apply to this instance. These can be later modified // by the setLabels method. Labels map[string]string `json:"labels,omitempty"` // MachineType: Full or partial URL of the machine type resource to use // for this instance, in the format: // zones/zone/machineTypes/machine-type. This is provided by the client // when the instance is created. For example, the following is a valid // partial url to a predefined machine // type: // zones/us-central1-f/machineTypes/n1-standard-1 // // // To create a custom machine type, provide a URL to a machine type in // the following format, where CPUS is 1 or an even number up to 32 (2, // 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. // Memory must be a multiple of 256 MB and must be supplied in MB (e.g. // 5 GB of memory is 5120 // MB): // zones/zone/machineTypes/custom-CPUS-MEMORY // // // For example: zones/us-central1-f/machineTypes/custom-4-5120 // // For a full list of restrictions, read the Specifications for custom // machine types. MachineType string `json:"machineType,omitempty"` // Metadata: The metadata key/value pairs assigned to this instance. // This includes custom metadata and predefined keys. Metadata *Metadata `json:"metadata,omitempty"` // MinCpuPlatform: Specifies a minimum CPU platform for the VM instance. // Applicable values are the friendly names of CPU platforms, such as // minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy // Bridge". MinCpuPlatform string `json:"minCpuPlatform,omitempty"` // Name: The name of the resource, provided by the client when initially // creating the resource. The resource 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"` // NetworkInterfaces: An array of network configurations for this // instance. These specify how interfaces are configured to interact // with other network services, such as connecting to the internet. // Multiple interfaces are supported per instance. NetworkInterfaces []*NetworkInterface `json:"networkInterfaces,omitempty"` // ReservationAffinity: The configuration of desired reservations from // which this Instance can consume capacity from. ReservationAffinity *ReservationAffinity `json:"reservationAffinity,omitempty"` // Scheduling: Sets the scheduling options for this instance. Scheduling *Scheduling `json:"scheduling,omitempty"` // SelfLink: [Output Only] Server-defined URL for this resource. SelfLink string `json:"selfLink,omitempty"` // ServiceAccounts: A list of service accounts, with their specified // scopes, authorized for this instance. Only one service account per VM // instance is supported. // // Service accounts generate access tokens that can be accessed through // the metadata server and used to authenticate applications on the // instance. See Service Accounts for more information. ServiceAccounts []*ServiceAccount `json:"serviceAccounts,omitempty"` ShieldedInstanceConfig *ShieldedInstanceConfig `json:"shieldedInstanceConfig,omitempty"` ShieldedInstanceIntegrityPolicy *ShieldedInstanceIntegrityPolicy `json:"shieldedInstanceIntegrityPolicy,omitempty"` ShieldedVmConfig *ShieldedVmConfig `json:"shieldedVmConfig,omitempty"` ShieldedVmIntegrityPolicy *ShieldedVmIntegrityPolicy `json:"shieldedVmIntegrityPolicy,omitempty"` // StartRestricted: [Output Only] Whether a VM has been restricted for // start because Compute Engine has detected suspicious activity. StartRestricted bool `json:"startRestricted,omitempty"` // Status: [Output Only] The status of the instance. One of the // following values: PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, // SUSPENDING, SUSPENDED, and TERMINATED. // // Possible values: // "PROVISIONING" // "REPAIRING" // "RUNNING" // "STAGING" // "STOPPED" // "STOPPING" // "SUSPENDED" // "SUSPENDING" // "TERMINATED" Status string `json:"status,omitempty"` // StatusMessage: [Output Only] An optional, human-readable explanation // of the status. StatusMessage string `json:"statusMessage,omitempty"` // Tags: Tags to apply to this instance. Tags are used to identify valid // sources or targets for network firewalls and are specified by the // client during instance creation. The tags can be later modified by // the setTags method. Each tag within the list must comply with // RFC1035. Multiple tags can be specified via the 'tags.items' field. Tags *Tags `json:"tags,omitempty"` // Zone: [Output Only] URL of the zone where the instance resides. You // must specify this field as part of the HTTP request URL. It is not // settable as a field in the request body. 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. "CanIpForward") 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. "CanIpForward") 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:"-"` }
Instance: An Instance resource. (== resource_for beta.instances ==) (== resource_for v1.instances ==)
type InstanceAggregatedList ¶
type InstanceAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of InstancesScopedList resources. Items map[string]InstancesScopedList `json:"items,omitempty"` // Kind: [Output Only] Type of resource. Always // compute#instanceAggregatedList for aggregated lists of Instance // resources. 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"` // Warning: [Output Only] Informational warning message. Warning *InstanceAggregatedListWarning `json:"warning,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 (*InstanceAggregatedList) MarshalJSON ¶
func (s *InstanceAggregatedList) MarshalJSON() ([]byte, error)
type InstanceAggregatedListWarning ¶
type InstanceAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*InstanceAggregatedListWarningData `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:"-"` }
InstanceAggregatedListWarning: [Output Only] Informational warning message.
func (*InstanceAggregatedListWarning) MarshalJSON ¶
func (s *InstanceAggregatedListWarning) MarshalJSON() ([]byte, error)
type InstanceAggregatedListWarningData ¶
type InstanceAggregatedListWarningData 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 (*InstanceAggregatedListWarningData) MarshalJSON ¶
func (s *InstanceAggregatedListWarningData) MarshalJSON() ([]byte, error)
type InstanceGroup ¶
type InstanceGroup struct { // CreationTimestamp: [Output Only] The creation timestamp for this // instance group 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"` // Fingerprint: [Output Only] The fingerprint of the named ports. The // system uses this fingerprint to detect conflicts when multiple users // change the named ports concurrently. Fingerprint string `json:"fingerprint,omitempty"` // Id: [Output Only] A unique identifier for this instance group, // generated by the server. Id uint64 `json:"id,omitempty,string"` // Kind: [Output Only] The resource type, which is always // compute#instanceGroup for instance groups. Kind string `json:"kind,omitempty"` // Name: The name of the instance group. The name must be 1-63 // characters long, and comply with RFC1035. Name string `json:"name,omitempty"` // NamedPorts: Assigns a name to a port number. For example: {name: // "http", port: 80} // // This allows the system to reference ports by the assigned name // instead of a port number. Named ports can also contain multiple // ports. For example: [{name: "http", port: 80},{name: "http", port: // 8080}] // // Named ports apply to all instances in this instance group. NamedPorts []*NamedPort `json:"namedPorts,omitempty"` // Network: The URL of the network to which all instances in the // instance group belong. Network string `json:"network,omitempty"` // Region: [Output Only] The URL of the region where the instance group // is located (for regional resources). Region string `json:"region,omitempty"` // SelfLink: [Output Only] The URL for this instance group. The server // generates this URL. SelfLink string `json:"selfLink,omitempty"` // Size: [Output Only] The total number of instances in the instance // group. Size int64 `json:"size,omitempty"` // Subnetwork: [Output Only] The URL of the subnetwork to which all // instances in the instance group belong. Subnetwork string `json:"subnetwork,omitempty"` // Zone: [Output Only] The URL of the zone where the instance group is // located (for zonal resources). 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:"-"` }
InstanceGroup: InstanceGroups (== resource_for beta.instanceGroups ==) (== resource_for v1.instanceGroups ==) (== resource_for beta.regionInstanceGroups ==) (== resource_for v1.regionInstanceGroups ==)
func (*InstanceGroup) MarshalJSON ¶
func (s *InstanceGroup) MarshalJSON() ([]byte, error)
type InstanceGroupAggregatedList ¶
type InstanceGroupAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of InstanceGroupsScopedList resources. Items map[string]InstanceGroupsScopedList `json:"items,omitempty"` // Kind: [Output Only] The resource type, which is always // compute#instanceGroupAggregatedList for aggregated lists of instance // groups. 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"` // Warning: [Output Only] Informational warning message. Warning *InstanceGroupAggregatedListWarning `json:"warning,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 (*InstanceGroupAggregatedList) MarshalJSON ¶
func (s *InstanceGroupAggregatedList) MarshalJSON() ([]byte, error)
type InstanceGroupAggregatedListWarning ¶
type InstanceGroupAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*InstanceGroupAggregatedListWarningData `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:"-"` }
InstanceGroupAggregatedListWarning: [Output Only] Informational warning message.
func (*InstanceGroupAggregatedListWarning) MarshalJSON ¶
func (s *InstanceGroupAggregatedListWarning) MarshalJSON() ([]byte, error)
type InstanceGroupAggregatedListWarningData ¶
type InstanceGroupAggregatedListWarningData 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 (*InstanceGroupAggregatedListWarningData) MarshalJSON ¶
func (s *InstanceGroupAggregatedListWarningData) MarshalJSON() ([]byte, error)
type InstanceGroupList ¶
type InstanceGroupList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of InstanceGroup resources. Items []*InstanceGroup `json:"items,omitempty"` // Kind: [Output Only] The resource type, which is always // compute#instanceGroupList for instance group lists. 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"` // Warning: [Output Only] Informational warning message. Warning *InstanceGroupListWarning `json:"warning,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:"-"` }
InstanceGroupList: A list of InstanceGroup resources.
func (*InstanceGroupList) MarshalJSON ¶
func (s *InstanceGroupList) MarshalJSON() ([]byte, error)
type InstanceGroupListWarning ¶
type InstanceGroupListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*InstanceGroupListWarningData `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:"-"` }
InstanceGroupListWarning: [Output Only] Informational warning message.
func (*InstanceGroupListWarning) MarshalJSON ¶
func (s *InstanceGroupListWarning) MarshalJSON() ([]byte, error)
type InstanceGroupListWarningData ¶
type InstanceGroupListWarningData 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 (*InstanceGroupListWarningData) MarshalJSON ¶
func (s *InstanceGroupListWarningData) MarshalJSON() ([]byte, error)
type InstanceGroupManager ¶
type InstanceGroupManager struct { // AutoHealingPolicies: The autohealing policy for this managed instance // group. You can specify only one value. AutoHealingPolicies []*InstanceGroupManagerAutoHealingPolicy `json:"autoHealingPolicies,omitempty"` // BaseInstanceName: The base instance name to use for instances in this // group. The value must be 1-58 characters long. Instances are named by // appending a hyphen and a random four-character string to the base // instance name. The base instance name must comply with RFC1035. BaseInstanceName string `json:"baseInstanceName,omitempty"` // CreationTimestamp: [Output Only] The creation timestamp for this // managed instance group in RFC3339 text format. CreationTimestamp string `json:"creationTimestamp,omitempty"` // CurrentActions: [Output Only] The list of instance actions and the // number of instances in this managed instance group that are scheduled // for each of those actions. CurrentActions *InstanceGroupManagerActionsSummary `json:"currentActions,omitempty"` // Description: An optional description of this resource. Provide this // property when you create the resource. Description string `json:"description,omitempty"` // DistributionPolicy: Policy specifying intended distribution of // instances in regional managed instance group. DistributionPolicy *DistributionPolicy `json:"distributionPolicy,omitempty"` // FailoverAction: The action to perform in case of zone failure. Only // one value is supported, NO_FAILOVER. The default is NO_FAILOVER. // // Possible values: // "NO_FAILOVER" // "UNKNOWN" FailoverAction string `json:"failoverAction,omitempty"` // Fingerprint: Fingerprint of this resource. This field may be used in // optimistic locking. It will be ignored when inserting an // InstanceGroupManager. An up-to-date fingerprint must be provided in // order to update the InstanceGroupManager, otherwise the request will // fail with error 412 conditionNotMet. // // To see the latest fingerprint, make a get() request to retrieve an // InstanceGroupManager. Fingerprint string `json:"fingerprint,omitempty"` // Id: [Output Only] A unique identifier for this resource type. The // server generates this identifier. Id uint64 `json:"id,omitempty,string"` // InstanceGroup: [Output Only] The URL of the Instance Group resource. InstanceGroup string `json:"instanceGroup,omitempty"` // InstanceTemplate: The URL of the instance template that is specified // for this managed instance group. The group uses this template to // create all new instances in the managed instance group. InstanceTemplate string `json:"instanceTemplate,omitempty"` // Kind: [Output Only] The resource type, which is always // compute#instanceGroupManager for managed instance groups. Kind string `json:"kind,omitempty"` // Name: The name of the managed instance group. The name must be 1-63 // characters long, and comply with RFC1035. Name string `json:"name,omitempty"` // NamedPorts: Named ports configured for the Instance Groups // complementary to this Instance Group Manager. NamedPorts []*NamedPort `json:"namedPorts,omitempty"` // PendingActions: [Deprecated] This field is deprecated and will be // removed. Prefer using the status field instead. Please contact // cloud-updater-feedback@google.com to leave feedback if your workload // relies on this field. [Output Only] The list of instance actions and // the number of instances in this managed instance group that are // pending for each of those actions. PendingActions *InstanceGroupManagerPendingActionsSummary `json:"pendingActions,omitempty"` // Region: [Output Only] The URL of the region where the managed // instance group resides (for regional resources). Region string `json:"region,omitempty"` // SelfLink: [Output Only] The URL for this managed instance group. The // server defines this URL. SelfLink string `json:"selfLink,omitempty"` // ServiceAccount: The service account to be used as credentials for all // operations performed by the managed instance group on instances. The // service accounts needs all permissions required to create and delete // instances. By default, the service account // {projectNumber}@cloudservices.gserviceaccount.com is used. ServiceAccount string `json:"serviceAccount,omitempty"` // Status: [Output Only] The status of this managed instance group. Status *InstanceGroupManagerStatus `json:"status,omitempty"` // TargetPools: The URLs for all TargetPool resources to which instances // in the instanceGroup field are added. The target pools automatically // apply to all of the instances in the managed instance group. TargetPools []string `json:"targetPools,omitempty"` // TargetSize: The target number of running instances for this managed // instance group. Deleting or abandoning instances reduces this number. // Resizing the group changes this number. TargetSize int64 `json:"targetSize,omitempty"` // UpdatePolicy: The update policy for this managed instance group. UpdatePolicy *InstanceGroupManagerUpdatePolicy `json:"updatePolicy,omitempty"` // Versions: Specifies the instance templates used by this managed // instance group to create instances. // // Each version is defined by an instanceTemplate and a name. Every // version can appear at most once per instance group. This field // overrides the top-level instanceTemplate field. Read more about the // relationships between these fields. Exactly one version must leave // the targetSize field unset. That version will be applied to all // remaining instances. For more information, read about canary updates. Versions []*InstanceGroupManagerVersion `json:"versions,omitempty"` // Zone: [Output Only] The URL of the zone where the managed instance // group is located (for zonal resources). 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. "AutoHealingPolicies") // 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. "AutoHealingPolicies") 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:"-"` }
InstanceGroupManager: An Instance Group Manager resource. (== resource_for beta.instanceGroupManagers ==) (== resource_for v1.instanceGroupManagers ==) (== resource_for beta.regionInstanceGroupManagers ==) (== resource_for v1.regionInstanceGroupManagers ==)
func (*InstanceGroupManager) MarshalJSON ¶
func (s *InstanceGroupManager) MarshalJSON() ([]byte, error)
type InstanceGroupManagerActionsSummary ¶
type InstanceGroupManagerActionsSummary struct { // Abandoning: [Output Only] The total number of instances in the // managed instance group that are scheduled to be abandoned. Abandoning // an instance removes it from the managed instance group without // deleting it. Abandoning int64 `json:"abandoning,omitempty"` // Creating: [Output Only] The number of instances in the managed // instance group that are scheduled to be created or are currently // being created. If the group fails to create any of these instances, // it tries again until it creates the instance successfully. // // If you have disabled creation retries, this field will not be // populated; instead, the creatingWithoutRetries field will be // populated. Creating int64 `json:"creating,omitempty"` // CreatingWithoutRetries: [Output Only] The number of instances that // the managed instance group will attempt to create. The group attempts // to create each instance only once. If the group fails to create any // of these instances, it decreases the group's targetSize value // accordingly. CreatingWithoutRetries int64 `json:"creatingWithoutRetries,omitempty"` // Deleting: [Output Only] The number of instances in the managed // instance group that are scheduled to be deleted or are currently // being deleted. Deleting int64 `json:"deleting,omitempty"` // None: [Output Only] The number of instances in the managed instance // group that are running and have no scheduled actions. None int64 `json:"none,omitempty"` // Recreating: [Output Only] The number of instances in the managed // instance group that are scheduled to be recreated or are currently // being being recreated. Recreating an instance deletes the existing // root persistent disk and creates a new disk from the image that is // defined in the instance template. Recreating int64 `json:"recreating,omitempty"` // Refreshing: [Output Only] The number of instances in the managed // instance group that are being reconfigured with properties that do // not require a restart or a recreate action. For example, setting or // removing target pools for the instance. Refreshing int64 `json:"refreshing,omitempty"` // Restarting: [Output Only] The number of instances in the managed // instance group that are scheduled to be restarted or are currently // being restarted. Restarting int64 `json:"restarting,omitempty"` // Verifying: [Output Only] The number of instances in the managed // instance group that are being verified. See the // managedInstances[].currentAction property in the listManagedInstances // method documentation. Verifying int64 `json:"verifying,omitempty"` // ForceSendFields is a list of field names (e.g. "Abandoning") 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. "Abandoning") 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 (*InstanceGroupManagerActionsSummary) MarshalJSON ¶
func (s *InstanceGroupManagerActionsSummary) MarshalJSON() ([]byte, error)
type InstanceGroupManagerAggregatedList ¶
type InstanceGroupManagerAggregatedList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of InstanceGroupManagersScopedList resources. Items map[string]InstanceGroupManagersScopedList `json:"items,omitempty"` // Kind: [Output Only] The resource type, which is always // compute#instanceGroupManagerAggregatedList for an aggregated list of // managed instance groups. 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"` // Warning: [Output Only] Informational warning message. Warning *InstanceGroupManagerAggregatedListWarning `json:"warning,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 (*InstanceGroupManagerAggregatedList) MarshalJSON ¶
func (s *InstanceGroupManagerAggregatedList) MarshalJSON() ([]byte, error)
type InstanceGroupManagerAggregatedListWarning ¶
type InstanceGroupManagerAggregatedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*InstanceGroupManagerAggregatedListWarningData `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:"-"` }
InstanceGroupManagerAggregatedListWarning: [Output Only] Informational warning message.
func (*InstanceGroupManagerAggregatedListWarning) MarshalJSON ¶
func (s *InstanceGroupManagerAggregatedListWarning) MarshalJSON() ([]byte, error)
type InstanceGroupManagerAggregatedListWarningData ¶
type InstanceGroupManagerAggregatedListWarningData 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 (*InstanceGroupManagerAggregatedListWarningData) MarshalJSON ¶
func (s *InstanceGroupManagerAggregatedListWarningData) MarshalJSON() ([]byte, error)
type InstanceGroupManagerAutoHealingPolicy ¶
type InstanceGroupManagerAutoHealingPolicy struct { // HealthCheck: The URL for the health check that signals autohealing. HealthCheck string `json:"healthCheck,omitempty"` // InitialDelaySec: The number of seconds that the managed instance // group waits before it applies autohealing policies to new instances // or recently recreated instances. This initial delay allows instances // to initialize and run their startup scripts before the instance group // determines that they are UNHEALTHY. This prevents the managed // instance group from recreating its instances prematurely. This value // must be from range [0, 3600]. InitialDelaySec int64 `json:"initialDelaySec,omitempty"` // ForceSendFields is a list of field names (e.g. "HealthCheck") 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. "HealthCheck") 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 (*InstanceGroupManagerAutoHealingPolicy) MarshalJSON ¶
func (s *InstanceGroupManagerAutoHealingPolicy) MarshalJSON() ([]byte, error)
type InstanceGroupManagerList ¶
type InstanceGroupManagerList struct { // Id: [Output Only] Unique identifier for the resource; defined by the // server. Id string `json:"id,omitempty"` // Items: A list of InstanceGroupManager resources. Items []*InstanceGroupManager `json:"items,omitempty"` // Kind: [Output Only] The resource type, which is always // compute#instanceGroupManagerList for a list of managed instance // groups. 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"` // Warning: [Output Only] Informational warning message. Warning *InstanceGroupManagerListWarning `json:"warning,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:"-"` }
InstanceGroupManagerList: [Output Only] A list of managed instance groups.
func (*InstanceGroupManagerList) MarshalJSON ¶
func (s *InstanceGroupManagerList) MarshalJSON() ([]byte, error)
type InstanceGroupManagerListWarning ¶
type InstanceGroupManagerListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*InstanceGroupManagerListWarningData `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:"-"` }
InstanceGroupManagerListWarning: [Output Only] Informational warning message.
func (*InstanceGroupManagerListWarning) MarshalJSON ¶
func (s *InstanceGroupManagerListWarning) MarshalJSON() ([]byte, error)
type InstanceGroupManagerListWarningData ¶
type InstanceGroupManagerListWarningData 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 (*InstanceGroupManagerListWarningData) MarshalJSON ¶
func (s *InstanceGroupManagerListWarningData) MarshalJSON() ([]byte, error)
type InstanceGroupManagerPendingActionsSummary ¶
type InstanceGroupManagerPendingActionsSummary struct { // Creating: [Deprecated] This field is deprecated and will be removed. // Prefer using the status field instead. Please contact // cloud-updater-feedback@google.com to leave feedback if your workload // relies on this field. [Output Only] The number of instances in the // managed instance group that are pending to be created. Creating int64 `json:"creating,omitempty"` // Deleting: [Deprecated] This field is deprecated and will be removed. // Prefer using the status field instead. Please contact // cloud-updater-feedback@google.com to leave feedback if your workload // relies on this field. [Output Only] The number of instances in the // managed instance group that are pending to be deleted. Deleting int64 `json:"deleting,omitempty"` // Recreating: [Deprecated] This field is deprecated and will be // removed. Prefer using the status field instead. Please contact // cloud-updater-feedback@google.com to leave feedback if your workload // relies on this field. [Output Only] The number of instances in the // managed instance group that are pending to be recreated. Recreating int64 `json:"recreating,omitempty"` // Restarting: [Deprecated] This field is deprecated and will be // removed. Prefer using the status field instead. Please contact // cloud-updater-feedback@google.com to leave feedback if your workload // relies on this field. [Output Only] The number of instances in the // managed instance group that are pending to be restarted. Restarting int64 `json:"restarting,omitempty"` // ForceSendFields is a list of field names (e.g. "Creating") 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. "Creating") 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 (*InstanceGroupManagerPendingActionsSummary) MarshalJSON ¶
func (s *InstanceGroupManagerPendingActionsSummary) MarshalJSON() ([]byte, error)
type InstanceGroupManagerStatus ¶
type InstanceGroupManagerStatus struct { // IsStable: [Output Only] A bit indicating whether the managed instance // group is in a stable state. A stable state means that: none of the // instances in the managed instance group is currently undergoing any // type of change (for example, creation, restart, or deletion); no // future changes are scheduled for instances in the managed instance // group; and the managed instance group itself is not being modified. IsStable bool `json:"isStable,omitempty"` // VersionTarget: [Output Only] A status of consistency of Instances' // versions with their target version specified by version field on // Instance Group Manager. VersionTarget *InstanceGroupManagerStatusVersionTarget `json:"versionTarget,omitempty"` // ForceSendFields is a list of field names (e.g. "IsStable") 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. "IsStable") 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 (*InstanceGroupManagerStatus) MarshalJSON ¶
func (s *InstanceGroupManagerStatus) MarshalJSON() ([]byte, error)
type InstanceGroupManagerStatusVersionTarget ¶
type InstanceGroupManagerStatusVersionTarget struct { // IsReached: [Output Only] A bit indicating whether version target has // been reached in this managed instance group, i.e. all instances are // in their target version. Instances' target version are specified by // version field on Instance Group Manager. IsReached bool `json:"isReached,omitempty"` // ForceSendFields is a list of field names (e.g. "IsReached") 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. "IsReached") 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 (*InstanceGroupManagerStatusVersionTarget) MarshalJSON ¶
func (s *InstanceGroupManagerStatusVersionTarget) MarshalJSON() ([]byte, error)
type InstanceGroupManagerUpdatePolicy ¶
type InstanceGroupManagerUpdatePolicy struct { // Possible values: // "NONE" // "PROACTIVE" InstanceRedistributionType string `json:"instanceRedistributionType,omitempty"` // MaxSurge: The maximum number of instances that can be created above // the specified targetSize during the update process. By default, a // fixed value of 1 is used. This value can be either a fixed number or // a percentage if the instance group has 10 or more instances. If you // set a percentage, the number of instances will be rounded up if // necessary. // // At least one of either maxSurge or maxUnavailable must be greater // than 0. Learn more about maxSurge. MaxSurge *FixedOrPercent `json:"maxSurge,omitempty"` // unavailable during the update process. An instance is considered // available if all of the following conditions are satisfied: // // // - The instance's status is RUNNING. // - If there is a health check on the instance group, the instance's // liveness health check result must be HEALTHY at least once. If there // is no health check on the group, then the instance only needs to have // a status of RUNNING to be considered available. By default, a fixed // value of 1 is used. This value can be either a fixed number or a // percentage if the instance group has 10 or more instances. If you set // a percentage, the number of instances will be rounded up if // necessary. // // At least one of either maxSurge or maxUnavailable must be greater // than 0. Learn more about maxUnavailable. MaxUnavailable *FixedOrPercent `json:"maxUnavailable,omitempty"` // MinReadySec: Minimum number of seconds to wait for after a newly // created instance becomes available. This value must be from range [0, // 3600]. MinReadySec int64 `json:"minReadySec,omitempty"` // MinimalAction: Minimal action to be taken on an instance. You can // specify either RESTART to restart existing instances or REPLACE to // delete and create new instances from the target template. If you // specify a RESTART, the Updater will attempt to perform that action // only. However, if the Updater determines that the minimal action you // specify is not enough to perform the update, it might perform a more // disruptive action. // // Possible values: // "REPLACE" // "RESTART" MinimalAction string `json:"minimalAction,omitempty"` // Possible values: // "OPPORTUNISTIC" // "PROACTIVE" Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. // "InstanceRedistributionType") 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. // "InstanceRedistributionType") 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 (*InstanceGroupManagerUpdatePolicy) MarshalJSON ¶
func (s *InstanceGroupManagerUpdatePolicy) MarshalJSON() ([]byte, error)
type InstanceGroupManagerVersion ¶
type InstanceGroupManagerVersion struct { // InstanceTemplate: The URL of the instance template that is specified // for this managed instance group. The group uses this template to // create new instances in the managed instance group until the // `targetSize` for this version is reached. InstanceTemplate string `json:"instanceTemplate,omitempty"` // Name: Name of the version. Unique among all versions in the scope of // this managed instance group. Name string `json:"name,omitempty"` // TargetSize: Specifies the intended number of instances to be created // from the instanceTemplate. The final number of instances created from // the template will be equal to: // - If expressed as a fixed number, the minimum of either // targetSize.fixed or instanceGroupManager.targetSize is used. // - if expressed as a percent, the targetSize would be // (targetSize.percent/100 * InstanceGroupManager.targetSize) If there // is a remainder, the number is rounded up. If unset, this version // will update any remaining instances not updated by another version. // Read Starting a canary update for more information. TargetSize *FixedOrPercent `json:"targetSize,omitempty"` // ForceSendFields is a list of field names (e.g. "InstanceTemplate") 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. "InstanceTemplate") 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 (*InstanceGroupManagerVersion) MarshalJSON ¶
func (s *InstanceGroupManagerVersion) MarshalJSON() ([]byte, error)
type InstanceGroupManagersAbandonInstancesCall ¶
type InstanceGroupManagersAbandonInstancesCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersAbandonInstancesCall) Context ¶
func (c *InstanceGroupManagersAbandonInstancesCall) Context(ctx context.Context) *InstanceGroupManagersAbandonInstancesCall
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 (*InstanceGroupManagersAbandonInstancesCall) Do ¶
func (c *InstanceGroupManagersAbandonInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.abandonInstances" 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 (*InstanceGroupManagersAbandonInstancesCall) Fields ¶
func (c *InstanceGroupManagersAbandonInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersAbandonInstancesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersAbandonInstancesCall) Header ¶
func (c *InstanceGroupManagersAbandonInstancesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersAbandonInstancesCall) RequestId ¶
func (c *InstanceGroupManagersAbandonInstancesCall) RequestId(requestId string) *InstanceGroupManagersAbandonInstancesCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersAbandonInstancesRequest ¶
type InstanceGroupManagersAbandonInstancesRequest struct { // Instances: The URLs of one or more instances to abandon. This can be // a full URL or a partial URL, such as // zones/[ZONE]/instances/[INSTANCE_NAME]. Instances []string `json:"instances,omitempty"` // ForceSendFields is a list of field names (e.g. "Instances") 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. "Instances") 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 (*InstanceGroupManagersAbandonInstancesRequest) MarshalJSON ¶
func (s *InstanceGroupManagersAbandonInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersAggregatedListCall ¶
type InstanceGroupManagersAggregatedListCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersAggregatedListCall) Context ¶
func (c *InstanceGroupManagersAggregatedListCall) Context(ctx context.Context) *InstanceGroupManagersAggregatedListCall
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 (*InstanceGroupManagersAggregatedListCall) Do ¶
func (c *InstanceGroupManagersAggregatedListCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManagerAggregatedList, error)
Do executes the "compute.instanceGroupManagers.aggregatedList" call. Exactly one of *InstanceGroupManagerAggregatedList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InstanceGroupManagerAggregatedList.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 (*InstanceGroupManagersAggregatedListCall) Fields ¶
func (c *InstanceGroupManagersAggregatedListCall) Fields(s ...googleapi.Field) *InstanceGroupManagersAggregatedListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersAggregatedListCall) Filter ¶
func (c *InstanceGroupManagersAggregatedListCall) Filter(filter string) *InstanceGroupManagersAggregatedListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*InstanceGroupManagersAggregatedListCall) Header ¶
func (c *InstanceGroupManagersAggregatedListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersAggregatedListCall) IfNoneMatch ¶
func (c *InstanceGroupManagersAggregatedListCall) IfNoneMatch(entityTag string) *InstanceGroupManagersAggregatedListCall
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 (*InstanceGroupManagersAggregatedListCall) MaxResults ¶
func (c *InstanceGroupManagersAggregatedListCall) MaxResults(maxResults int64) *InstanceGroupManagersAggregatedListCall
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 (*InstanceGroupManagersAggregatedListCall) OrderBy ¶
func (c *InstanceGroupManagersAggregatedListCall) OrderBy(orderBy string) *InstanceGroupManagersAggregatedListCall
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 (*InstanceGroupManagersAggregatedListCall) PageToken ¶
func (c *InstanceGroupManagersAggregatedListCall) PageToken(pageToken string) *InstanceGroupManagersAggregatedListCall
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 (*InstanceGroupManagersAggregatedListCall) Pages ¶
func (c *InstanceGroupManagersAggregatedListCall) Pages(ctx context.Context, f func(*InstanceGroupManagerAggregatedList) 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 InstanceGroupManagersApplyUpdatesRequest ¶
type InstanceGroupManagersApplyUpdatesRequest struct { // Instances: The list of URLs of one or more instances for which we // want to apply updates on this managed instance group. This can be a // full URL or a partial URL, such as // zones/[ZONE]/instances/[INSTANCE_NAME]. Instances []string `json:"instances,omitempty"` // MinimalAction: The minimal action that should be perfomed on the // instances. By default NONE. // // Possible values: // "REPLACE" // "RESTART" MinimalAction string `json:"minimalAction,omitempty"` // MostDisruptiveAllowedAction: The most disruptive action that allowed // to be performed on the instances. By default REPLACE. // // Possible values: // "REPLACE" // "RESTART" MostDisruptiveAllowedAction string `json:"mostDisruptiveAllowedAction,omitempty"` // ForceSendFields is a list of field names (e.g. "Instances") 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. "Instances") 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:"-"` }
InstanceGroupManagersApplyUpdatesRequest: InstanceGroupManagers.applyUpdatesToInstances
func (*InstanceGroupManagersApplyUpdatesRequest) MarshalJSON ¶
func (s *InstanceGroupManagersApplyUpdatesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersApplyUpdatesToInstancesCall ¶
type InstanceGroupManagersApplyUpdatesToInstancesCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersApplyUpdatesToInstancesCall) Context ¶
func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Context(ctx context.Context) *InstanceGroupManagersApplyUpdatesToInstancesCall
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 (*InstanceGroupManagersApplyUpdatesToInstancesCall) Do ¶
func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.applyUpdatesToInstances" 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 (*InstanceGroupManagersApplyUpdatesToInstancesCall) Fields ¶
func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersApplyUpdatesToInstancesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersApplyUpdatesToInstancesCall) Header ¶
func (c *InstanceGroupManagersApplyUpdatesToInstancesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type InstanceGroupManagersDeleteCall ¶
type InstanceGroupManagersDeleteCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersDeleteCall) Context ¶
func (c *InstanceGroupManagersDeleteCall) Context(ctx context.Context) *InstanceGroupManagersDeleteCall
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 (*InstanceGroupManagersDeleteCall) Do ¶
func (c *InstanceGroupManagersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.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 (*InstanceGroupManagersDeleteCall) Fields ¶
func (c *InstanceGroupManagersDeleteCall) Fields(s ...googleapi.Field) *InstanceGroupManagersDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersDeleteCall) Header ¶
func (c *InstanceGroupManagersDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersDeleteCall) RequestId ¶
func (c *InstanceGroupManagersDeleteCall) RequestId(requestId string) *InstanceGroupManagersDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersDeleteInstancesCall ¶
type InstanceGroupManagersDeleteInstancesCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersDeleteInstancesCall) Context ¶
func (c *InstanceGroupManagersDeleteInstancesCall) Context(ctx context.Context) *InstanceGroupManagersDeleteInstancesCall
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 (*InstanceGroupManagersDeleteInstancesCall) Do ¶
func (c *InstanceGroupManagersDeleteInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.deleteInstances" 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 (*InstanceGroupManagersDeleteInstancesCall) Fields ¶
func (c *InstanceGroupManagersDeleteInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersDeleteInstancesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersDeleteInstancesCall) Header ¶
func (c *InstanceGroupManagersDeleteInstancesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersDeleteInstancesCall) RequestId ¶
func (c *InstanceGroupManagersDeleteInstancesCall) RequestId(requestId string) *InstanceGroupManagersDeleteInstancesCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersDeleteInstancesRequest ¶
type InstanceGroupManagersDeleteInstancesRequest struct { // Instances: The URLs of one or more instances to delete. This can be a // full URL or a partial URL, such as // zones/[ZONE]/instances/[INSTANCE_NAME]. Instances []string `json:"instances,omitempty"` // ForceSendFields is a list of field names (e.g. "Instances") 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. "Instances") 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 (*InstanceGroupManagersDeleteInstancesRequest) MarshalJSON ¶
func (s *InstanceGroupManagersDeleteInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersGetCall ¶
type InstanceGroupManagersGetCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersGetCall) Context ¶
func (c *InstanceGroupManagersGetCall) Context(ctx context.Context) *InstanceGroupManagersGetCall
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 (*InstanceGroupManagersGetCall) Do ¶
func (c *InstanceGroupManagersGetCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManager, error)
Do executes the "compute.instanceGroupManagers.get" call. Exactly one of *InstanceGroupManager or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InstanceGroupManager.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 (*InstanceGroupManagersGetCall) Fields ¶
func (c *InstanceGroupManagersGetCall) Fields(s ...googleapi.Field) *InstanceGroupManagersGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersGetCall) Header ¶
func (c *InstanceGroupManagersGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersGetCall) IfNoneMatch ¶
func (c *InstanceGroupManagersGetCall) IfNoneMatch(entityTag string) *InstanceGroupManagersGetCall
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 InstanceGroupManagersInsertCall ¶
type InstanceGroupManagersInsertCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersInsertCall) Context ¶
func (c *InstanceGroupManagersInsertCall) Context(ctx context.Context) *InstanceGroupManagersInsertCall
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 (*InstanceGroupManagersInsertCall) Do ¶
func (c *InstanceGroupManagersInsertCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.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 (*InstanceGroupManagersInsertCall) Fields ¶
func (c *InstanceGroupManagersInsertCall) Fields(s ...googleapi.Field) *InstanceGroupManagersInsertCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersInsertCall) Header ¶
func (c *InstanceGroupManagersInsertCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersInsertCall) RequestId ¶
func (c *InstanceGroupManagersInsertCall) RequestId(requestId string) *InstanceGroupManagersInsertCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersListCall ¶
type InstanceGroupManagersListCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersListCall) Context ¶
func (c *InstanceGroupManagersListCall) Context(ctx context.Context) *InstanceGroupManagersListCall
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 (*InstanceGroupManagersListCall) Do ¶
func (c *InstanceGroupManagersListCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManagerList, error)
Do executes the "compute.instanceGroupManagers.list" call. Exactly one of *InstanceGroupManagerList or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InstanceGroupManagerList.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 (*InstanceGroupManagersListCall) Fields ¶
func (c *InstanceGroupManagersListCall) Fields(s ...googleapi.Field) *InstanceGroupManagersListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersListCall) Filter ¶
func (c *InstanceGroupManagersListCall) Filter(filter string) *InstanceGroupManagersListCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*InstanceGroupManagersListCall) Header ¶
func (c *InstanceGroupManagersListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersListCall) IfNoneMatch ¶
func (c *InstanceGroupManagersListCall) IfNoneMatch(entityTag string) *InstanceGroupManagersListCall
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 (*InstanceGroupManagersListCall) MaxResults ¶
func (c *InstanceGroupManagersListCall) MaxResults(maxResults int64) *InstanceGroupManagersListCall
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 (*InstanceGroupManagersListCall) OrderBy ¶
func (c *InstanceGroupManagersListCall) OrderBy(orderBy string) *InstanceGroupManagersListCall
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 (*InstanceGroupManagersListCall) PageToken ¶
func (c *InstanceGroupManagersListCall) PageToken(pageToken string) *InstanceGroupManagersListCall
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 (*InstanceGroupManagersListCall) Pages ¶
func (c *InstanceGroupManagersListCall) Pages(ctx context.Context, f func(*InstanceGroupManagerList) 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 InstanceGroupManagersListManagedInstancesCall ¶
type InstanceGroupManagersListManagedInstancesCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersListManagedInstancesCall) Context ¶
func (c *InstanceGroupManagersListManagedInstancesCall) Context(ctx context.Context) *InstanceGroupManagersListManagedInstancesCall
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 (*InstanceGroupManagersListManagedInstancesCall) Do ¶
func (c *InstanceGroupManagersListManagedInstancesCall) Do(opts ...googleapi.CallOption) (*InstanceGroupManagersListManagedInstancesResponse, error)
Do executes the "compute.instanceGroupManagers.listManagedInstances" call. Exactly one of *InstanceGroupManagersListManagedInstancesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *InstanceGroupManagersListManagedInstancesResponse.ServerResponse.Head er 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 (*InstanceGroupManagersListManagedInstancesCall) Fields ¶
func (c *InstanceGroupManagersListManagedInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersListManagedInstancesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersListManagedInstancesCall) Filter ¶
func (c *InstanceGroupManagersListManagedInstancesCall) Filter(filter string) *InstanceGroupManagersListManagedInstancesCall
Filter sets the optional parameter "filter": A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <.
For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance.
You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels.
To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true).
func (*InstanceGroupManagersListManagedInstancesCall) Header ¶
func (c *InstanceGroupManagersListManagedInstancesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersListManagedInstancesCall) MaxResults ¶
func (c *InstanceGroupManagersListManagedInstancesCall) MaxResults(maxResults int64) *InstanceGroupManagersListManagedInstancesCall
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 (*InstanceGroupManagersListManagedInstancesCall) OrderBy ¶
func (c *InstanceGroupManagersListManagedInstancesCall) OrderBy(orderBy string) *InstanceGroupManagersListManagedInstancesCall
OrderBy sets the optional parameter "order_by": 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 (*InstanceGroupManagersListManagedInstancesCall) PageToken ¶
func (c *InstanceGroupManagersListManagedInstancesCall) PageToken(pageToken string) *InstanceGroupManagersListManagedInstancesCall
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 (*InstanceGroupManagersListManagedInstancesCall) Pages ¶
func (c *InstanceGroupManagersListManagedInstancesCall) Pages(ctx context.Context, f func(*InstanceGroupManagersListManagedInstancesResponse) 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 InstanceGroupManagersListManagedInstancesResponse ¶
type InstanceGroupManagersListManagedInstancesResponse struct { // ManagedInstances: [Output Only] The list of instances in the managed // instance group. ManagedInstances []*ManagedInstance `json:"managedInstances,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"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ManagedInstances") 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. "ManagedInstances") 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 (*InstanceGroupManagersListManagedInstancesResponse) MarshalJSON ¶
func (s *InstanceGroupManagersListManagedInstancesResponse) MarshalJSON() ([]byte, error)
type InstanceGroupManagersPatchCall ¶
type InstanceGroupManagersPatchCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersPatchCall) Context ¶
func (c *InstanceGroupManagersPatchCall) Context(ctx context.Context) *InstanceGroupManagersPatchCall
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 (*InstanceGroupManagersPatchCall) Do ¶
func (c *InstanceGroupManagersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.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 (*InstanceGroupManagersPatchCall) Fields ¶
func (c *InstanceGroupManagersPatchCall) Fields(s ...googleapi.Field) *InstanceGroupManagersPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersPatchCall) Header ¶
func (c *InstanceGroupManagersPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersPatchCall) RequestId ¶
func (c *InstanceGroupManagersPatchCall) RequestId(requestId string) *InstanceGroupManagersPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersRecreateInstancesCall ¶
type InstanceGroupManagersRecreateInstancesCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersRecreateInstancesCall) Context ¶
func (c *InstanceGroupManagersRecreateInstancesCall) Context(ctx context.Context) *InstanceGroupManagersRecreateInstancesCall
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 (*InstanceGroupManagersRecreateInstancesCall) Do ¶
func (c *InstanceGroupManagersRecreateInstancesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.recreateInstances" 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 (*InstanceGroupManagersRecreateInstancesCall) Fields ¶
func (c *InstanceGroupManagersRecreateInstancesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersRecreateInstancesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersRecreateInstancesCall) Header ¶
func (c *InstanceGroupManagersRecreateInstancesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersRecreateInstancesCall) RequestId ¶
func (c *InstanceGroupManagersRecreateInstancesCall) RequestId(requestId string) *InstanceGroupManagersRecreateInstancesCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersRecreateInstancesRequest ¶
type InstanceGroupManagersRecreateInstancesRequest struct { // Instances: The URLs of one or more instances to recreate. This can be // a full URL or a partial URL, such as // zones/[ZONE]/instances/[INSTANCE_NAME]. Instances []string `json:"instances,omitempty"` // ForceSendFields is a list of field names (e.g. "Instances") 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. "Instances") 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 (*InstanceGroupManagersRecreateInstancesRequest) MarshalJSON ¶
func (s *InstanceGroupManagersRecreateInstancesRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersResizeAdvancedCall ¶
type InstanceGroupManagersResizeAdvancedCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersResizeAdvancedCall) Context ¶
func (c *InstanceGroupManagersResizeAdvancedCall) Context(ctx context.Context) *InstanceGroupManagersResizeAdvancedCall
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 (*InstanceGroupManagersResizeAdvancedCall) Do ¶
func (c *InstanceGroupManagersResizeAdvancedCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.resizeAdvanced" 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 (*InstanceGroupManagersResizeAdvancedCall) Fields ¶
func (c *InstanceGroupManagersResizeAdvancedCall) Fields(s ...googleapi.Field) *InstanceGroupManagersResizeAdvancedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersResizeAdvancedCall) Header ¶
func (c *InstanceGroupManagersResizeAdvancedCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersResizeAdvancedCall) RequestId ¶
func (c *InstanceGroupManagersResizeAdvancedCall) RequestId(requestId string) *InstanceGroupManagersResizeAdvancedCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersResizeAdvancedRequest ¶
type InstanceGroupManagersResizeAdvancedRequest struct { // NoCreationRetries: If this flag is true, the managed instance group // attempts to create all instances initiated by this resize request // only once. If there is an error during creation, the managed instance // group does not retry create this instance, and we will decrease the // targetSize of the request instead. If the flag is false, the group // attempts to recreate each instance continuously until it // succeeds. // // This flag matters only in the first attempt of creation of an // instance. After an instance is successfully created while this flag // is enabled, the instance behaves the same way as all the other // instances created with a regular resize request. In particular, if a // running instance dies unexpectedly at a later time and needs to be // recreated, this mode does not affect the recreation behavior in that // scenario. // // This flag is applicable only to the current resize request. It does // not influence other resize requests in any way. // // You can see which instances is being creating in which mode by // calling the get or listManagedInstances API. NoCreationRetries bool `json:"noCreationRetries,omitempty"` // TargetSize: The number of running instances that the managed instance // group should maintain at any given time. The group automatically adds // or removes instances to maintain the number of instances specified by // this parameter. TargetSize int64 `json:"targetSize,omitempty"` // ForceSendFields is a list of field names (e.g. "NoCreationRetries") // 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. "NoCreationRetries") 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 (*InstanceGroupManagersResizeAdvancedRequest) MarshalJSON ¶
func (s *InstanceGroupManagersResizeAdvancedRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersResizeCall ¶
type InstanceGroupManagersResizeCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersResizeCall) Context ¶
func (c *InstanceGroupManagersResizeCall) Context(ctx context.Context) *InstanceGroupManagersResizeCall
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 (*InstanceGroupManagersResizeCall) Do ¶
func (c *InstanceGroupManagersResizeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.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 (*InstanceGroupManagersResizeCall) Fields ¶
func (c *InstanceGroupManagersResizeCall) Fields(s ...googleapi.Field) *InstanceGroupManagersResizeCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersResizeCall) Header ¶
func (c *InstanceGroupManagersResizeCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersResizeCall) RequestId ¶
func (c *InstanceGroupManagersResizeCall) RequestId(requestId string) *InstanceGroupManagersResizeCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersScopedList ¶
type InstanceGroupManagersScopedList struct { // InstanceGroupManagers: [Output Only] The list of managed instance // groups that are contained in the specified project and zone. InstanceGroupManagers []*InstanceGroupManager `json:"instanceGroupManagers,omitempty"` // Warning: [Output Only] The warning that replaces the list of managed // instance groups when the list is empty. Warning *InstanceGroupManagersScopedListWarning `json:"warning,omitempty"` // ForceSendFields is a list of field names (e.g. // "InstanceGroupManagers") 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. "InstanceGroupManagers") 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 (*InstanceGroupManagersScopedList) MarshalJSON ¶
func (s *InstanceGroupManagersScopedList) MarshalJSON() ([]byte, error)
type InstanceGroupManagersScopedListWarning ¶
type InstanceGroupManagersScopedListWarning 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" // "DEPRECATED_TYPE_USED" // "DISK_SIZE_LARGER_THAN_IMAGE_SIZE" // "EXPERIMENTAL_TYPE_USED" // "EXTERNAL_API_WARNING" // "FIELD_VALUE_OVERRIDEN" // "INJECTED_KERNELS_DEPRECATED" // "MISSING_TYPE_DEPENDENCY" // "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" // "SCHEMA_VALIDATION_IGNORED" // "SINGLE_INSTANCE_PROPERTY_TEMPLATE" // "UNDECLARED_PROPERTIES" // "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 []*InstanceGroupManagersScopedListWarningData `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:"-"` }
InstanceGroupManagersScopedListWarning: [Output Only] The warning that replaces the list of managed instance groups when the list is empty.
func (*InstanceGroupManagersScopedListWarning) MarshalJSON ¶
func (s *InstanceGroupManagersScopedListWarning) MarshalJSON() ([]byte, error)
type InstanceGroupManagersScopedListWarningData ¶
type InstanceGroupManagersScopedListWarningData 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 (*InstanceGroupManagersScopedListWarningData) MarshalJSON ¶
func (s *InstanceGroupManagersScopedListWarningData) MarshalJSON() ([]byte, error)
type InstanceGroupManagersService ¶
type InstanceGroupManagersService struct {
// contains filtered or unexported fields
}
func NewInstanceGroupManagersService ¶
func NewInstanceGroupManagersService(s *Service) *InstanceGroupManagersService
func (*InstanceGroupManagersService) AbandonInstances ¶
func (r *InstanceGroupManagersService) AbandonInstances(project string, zone string, instanceGroupManager string, instancegroupmanagersabandoninstancesrequest *InstanceGroupManagersAbandonInstancesRequest) *InstanceGroupManagersAbandonInstancesCall
AbandonInstances: Flags the specified instances to be removed from the managed instance group. Abandoning an instance does not delete the instance, but it does remove the instance from any target pools that are applied by the managed instance group. This method reduces the targetSize of the managed instance group by the number of instances that you abandon. This operation is marked as DONE when the action is scheduled even if the instances have not yet been removed from the group. You must separately verify the status of the abandoning action with the listmanagedinstances method.
If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
You can specify a maximum of 1000 instances with this method per request.
func (*InstanceGroupManagersService) AggregatedList ¶
func (r *InstanceGroupManagersService) AggregatedList(project string) *InstanceGroupManagersAggregatedListCall
AggregatedList: Retrieves the list of managed instance groups and groups them by zone.
func (*InstanceGroupManagersService) ApplyUpdatesToInstances ¶
func (r *InstanceGroupManagersService) ApplyUpdatesToInstances(project string, zone string, instanceGroupManager string, instancegroupmanagersapplyupdatesrequest *InstanceGroupManagersApplyUpdatesRequest) *InstanceGroupManagersApplyUpdatesToInstancesCall
ApplyUpdatesToInstances: Apply changes to selected instances on the managed instance group. This method can be used to apply new overrides and/or new versions.
func (*InstanceGroupManagersService) Delete ¶
func (r *InstanceGroupManagersService) Delete(project string, zone string, instanceGroupManager string) *InstanceGroupManagersDeleteCall
Delete: Deletes the specified managed instance group and all of the instances in that group. Note that the instance group must not belong to a backend service. Read Deleting an instance group for more information.
func (*InstanceGroupManagersService) DeleteInstances ¶
func (r *InstanceGroupManagersService) DeleteInstances(project string, zone string, instanceGroupManager string, instancegroupmanagersdeleteinstancesrequest *InstanceGroupManagersDeleteInstancesRequest) *InstanceGroupManagersDeleteInstancesCall
DeleteInstances: Flags the specified instances in the managed instance group for immediate deletion. The instances are also removed from any target pools of which they were a member. This method reduces the targetSize of the managed instance group by the number of instances that you delete. This operation is marked as DONE when the action is scheduled even if the instances are still being deleted. You must separately verify the status of the deleting action with the listmanagedinstances method.
If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
You can specify a maximum of 1000 instances with this method per request.
func (*InstanceGroupManagersService) Get ¶
func (r *InstanceGroupManagersService) Get(project string, zone string, instanceGroupManager string) *InstanceGroupManagersGetCall
Get: Returns all of the details about the specified managed instance group. Gets a list of available managed instance groups by making a list() request.
func (*InstanceGroupManagersService) Insert ¶
func (r *InstanceGroupManagersService) Insert(project string, zone string, instancegroupmanager *InstanceGroupManager) *InstanceGroupManagersInsertCall
Insert: Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method.
A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit.
func (*InstanceGroupManagersService) List ¶
func (r *InstanceGroupManagersService) List(project string, zone string) *InstanceGroupManagersListCall
List: Retrieves a list of managed instance groups that are contained within the specified project and zone.
func (*InstanceGroupManagersService) ListManagedInstances ¶
func (r *InstanceGroupManagersService) ListManagedInstances(project string, zone string, instanceGroupManager string) *InstanceGroupManagersListManagedInstancesCall
ListManagedInstances: Lists all of the instances in the managed instance group. Each instance in the list has a currentAction, which indicates the action that the managed instance group is performing on the instance. For example, if the group is still creating an instance, the currentAction is CREATING. If a previous action failed, the list displays the errors for that failed action.
func (*InstanceGroupManagersService) Patch ¶
func (r *InstanceGroupManagersService) Patch(project string, zone string, instanceGroupManager string, instancegroupmanager *InstanceGroupManager) *InstanceGroupManagersPatchCall
Patch: Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is patched even if the instances in the group are still in the process of being patched. You must separately verify the status of the individual instances with the listManagedInstances method. This method supports PATCH semantics and uses the JSON merge patch format and processing rules.
func (*InstanceGroupManagersService) RecreateInstances ¶
func (r *InstanceGroupManagersService) RecreateInstances(project string, zone string, instanceGroupManager string, instancegroupmanagersrecreateinstancesrequest *InstanceGroupManagersRecreateInstancesRequest) *InstanceGroupManagersRecreateInstancesCall
RecreateInstances: Flags the specified instances in the managed instance group to be immediately recreated. The instances are deleted and recreated using the current instance template for the managed instance group. This operation is marked as DONE when the flag is set even if the instances have not yet been recreated. You must separately verify the status of the recreating action with the listmanagedinstances method.
If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
You can specify a maximum of 1000 instances with this method per request.
func (*InstanceGroupManagersService) Resize ¶
func (r *InstanceGroupManagersService) Resize(project string, zone string, instanceGroupManager string, size int64) *InstanceGroupManagersResizeCall
Resize: Resizes the managed instance group. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating or deleting actions with the listmanagedinstances method.
When resizing down, the instance group arbitrarily chooses the order in which VMs are deleted. The group takes into account some VM attributes when making the selection including:
+ The status of the VM instance. + The health of the VM instance. + The instance template version the VM is based on. + For regional managed instance groups, the location of the VM instance.
This list is subject to change.
If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
func (*InstanceGroupManagersService) ResizeAdvanced ¶
func (r *InstanceGroupManagersService) ResizeAdvanced(project string, zone string, instanceGroupManager string, instancegroupmanagersresizeadvancedrequest *InstanceGroupManagersResizeAdvancedRequest) *InstanceGroupManagersResizeAdvancedCall
ResizeAdvanced: Resizes the managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method.
If you increase the size of the instance group, the group creates new instances using the current instance template. If you decrease the size, the group deletes instances. The resize operation is marked DONE when the resize actions are scheduled even if the group has not yet added or deleted any instances. You must separately verify the status of the creating, creatingWithoutRetries, or deleting actions with the get or listmanagedinstances method.
If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.
func (*InstanceGroupManagersService) SetAutoHealingPolicies ¶
func (r *InstanceGroupManagersService) SetAutoHealingPolicies(project string, zone string, instanceGroupManager string, instancegroupmanagerssetautohealingrequest *InstanceGroupManagersSetAutoHealingRequest) *InstanceGroupManagersSetAutoHealingPoliciesCall
SetAutoHealingPolicies: Modifies the autohealing policies. [Deprecated] This method is deprecated. Please use Patch instead.
func (*InstanceGroupManagersService) SetInstanceTemplate ¶
func (r *InstanceGroupManagersService) SetInstanceTemplate(project string, zone string, instanceGroupManager string, instancegroupmanagerssetinstancetemplaterequest *InstanceGroupManagersSetInstanceTemplateRequest) *InstanceGroupManagersSetInstanceTemplateCall
SetInstanceTemplate: Specifies the instance template to use when creating new instances in this group. The templates for existing instances in the group do not change unless you recreate them.
func (*InstanceGroupManagersService) SetTargetPools ¶
func (r *InstanceGroupManagersService) SetTargetPools(project string, zone string, instanceGroupManager string, instancegroupmanagerssettargetpoolsrequest *InstanceGroupManagersSetTargetPoolsRequest) *InstanceGroupManagersSetTargetPoolsCall
SetTargetPools: Modifies the target pools to which all instances in this managed instance group are assigned. The target pools automatically apply to all of the instances in the managed instance group. This operation is marked DONE when you make the request even if the instances have not yet been added to their target pools. The change might take some time to apply to all of the instances in the group depending on the size of the group.
func (*InstanceGroupManagersService) TestIamPermissions ¶
func (r *InstanceGroupManagersService) TestIamPermissions(project string, zone string, resource string, testpermissionsrequest *TestPermissionsRequest) *InstanceGroupManagersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified resource.
func (*InstanceGroupManagersService) Update ¶
func (r *InstanceGroupManagersService) Update(project string, zone string, instanceGroupManager string, instancegroupmanager *InstanceGroupManager) *InstanceGroupManagersUpdateCall
Update: Updates a managed instance group using the information that you specify in the request. This operation is marked as DONE when the group is updated even if the instances in the group have not yet been updated. You must separately verify the status of the individual instances with the listManagedInstances method.
type InstanceGroupManagersSetAutoHealingPoliciesCall ¶
type InstanceGroupManagersSetAutoHealingPoliciesCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersSetAutoHealingPoliciesCall) Context ¶
func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Context(ctx context.Context) *InstanceGroupManagersSetAutoHealingPoliciesCall
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 (*InstanceGroupManagersSetAutoHealingPoliciesCall) Do ¶
func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.setAutoHealingPolicies" 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 (*InstanceGroupManagersSetAutoHealingPoliciesCall) Fields ¶
func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Fields(s ...googleapi.Field) *InstanceGroupManagersSetAutoHealingPoliciesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersSetAutoHealingPoliciesCall) Header ¶
func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersSetAutoHealingPoliciesCall) RequestId ¶
func (c *InstanceGroupManagersSetAutoHealingPoliciesCall) RequestId(requestId string) *InstanceGroupManagersSetAutoHealingPoliciesCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersSetAutoHealingRequest ¶
type InstanceGroupManagersSetAutoHealingRequest struct { AutoHealingPolicies []*InstanceGroupManagerAutoHealingPolicy `json:"autoHealingPolicies,omitempty"` // ForceSendFields is a list of field names (e.g. "AutoHealingPolicies") // 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. "AutoHealingPolicies") 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 (*InstanceGroupManagersSetAutoHealingRequest) MarshalJSON ¶
func (s *InstanceGroupManagersSetAutoHealingRequest) MarshalJSON() ([]byte, error)
type InstanceGroupManagersSetInstanceTemplateCall ¶
type InstanceGroupManagersSetInstanceTemplateCall struct {
// contains filtered or unexported fields
}
func (*InstanceGroupManagersSetInstanceTemplateCall) Context ¶
func (c *InstanceGroupManagersSetInstanceTemplateCall) Context(ctx context.Context) *InstanceGroupManagersSetInstanceTemplateCall
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 (*InstanceGroupManagersSetInstanceTemplateCall) Do ¶
func (c *InstanceGroupManagersSetInstanceTemplateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "compute.instanceGroupManagers.setInstanceTemplate" 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 (*InstanceGroupManagersSetInstanceTemplateCall) Fields ¶
func (c *InstanceGroupManagersSetInstanceTemplateCall) Fields(s ...googleapi.Field) *InstanceGroupManagersSetInstanceTemplateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstanceGroupManagersSetInstanceTemplateCall) Header ¶
func (c *InstanceGroupManagersSetInstanceTemplateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*InstanceGroupManagersSetInstanceTemplateCall) RequestId ¶
func (c *InstanceGroupManagersSetInstanceTemplateCall) RequestId(requestId string) *InstanceGroupManagersSetInstanceTemplateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed.
For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type InstanceGroupManagersSetInstanceTemplateRequest ¶
type InstanceGroupManagersSetInstanceTemplateRequest struct { // InstanceTemplate: The URL of the instance template that is specified // for this managed instance group. The group uses this template to // create all new instances in the managed instance group. InstanceTemplate string `json:"instanceTemplate,omitempty"` // ForceSendFields is a list of field names (e.g. "InstanceTemplate") to // unconditionally include in API requests. By default, fields with // empty values are omitted from API requests. However, any non-pointer, // non-inte