vmwareengine
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package vmwareengine provides access to the VMware Engine API.
For product documentation, see:https://cloud.google.com/solutions/vmware-as-a-service
Library status¶
These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.
When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.
Creating a client¶
Usage example:
import "google.golang.org/api/vmwareengine/v1"...ctx := context.Background()vmwareengineService, err := vmwareengine.NewService(ctx)
In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options¶
To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:
vmwareengineService, err := vmwareengine.NewService(ctx, option.WithAPIKey("AIza..."))To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)vmwareengineService, err := vmwareengine.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))Seegoogle.golang.org/api/option.ClientOption for details on options.
Index¶
- Constants
- type AcceleratePrivateCloudDeletionRequest
- type Announcement
- type AuditConfig
- type AuditLogConfig
- type AutoscalingPolicy
- type AutoscalingSettings
- type Binding
- type Cluster
- type Constraints
- type Credentials
- type DnsBindPermission
- type DnsForwarding
- type Empty
- type Expr
- type ExternalAccessRule
- type ExternalAddress
- type FetchNetworkPolicyExternalAddressesResponse
- type ForwardingRule
- type GrantDnsBindPermissionRequest
- type Hcx
- type HcxActivationKey
- type Interval
- type IpRange
- type ListAnnouncementsResponse
- type ListClustersResponse
- type ListExternalAccessRulesResponse
- type ListExternalAddressesResponse
- type ListHcxActivationKeysResponse
- type ListLocationsResponse
- type ListLoggingServersResponse
- type ListManagementDnsZoneBindingsResponse
- type ListNetworkPeeringsResponse
- type ListNetworkPoliciesResponse
- type ListNodeTypesResponse
- type ListNodesResponse
- type ListOperationsResponse
- type ListPeeringRoutesResponse
- type ListPrivateCloudsResponse
- type ListPrivateConnectionPeeringRoutesResponse
- type ListPrivateConnectionsResponse
- type ListSubnetsResponse
- type ListUpgradesResponse
- type ListVmwareEngineNetworksResponse
- type Location
- type LocationMetadata
- type LoggingServer
- type ManagementCluster
- type ManagementDnsZoneBinding
- type NetworkConfig
- type NetworkPeering
- type NetworkPolicy
- type NetworkService
- type Node
- type NodeType
- type NodeTypeConfig
- type Nsx
- type Operation
- type OperationMetadata
- type PeeringRoute
- type Policy
- type Principal
- type PrivateCloud
- type PrivateConnection
- type ProjectsLocationsAnnouncementsGetCall
- func (c *ProjectsLocationsAnnouncementsGetCall) Context(ctx context.Context) *ProjectsLocationsAnnouncementsGetCall
- func (c *ProjectsLocationsAnnouncementsGetCall) Do(opts ...googleapi.CallOption) (*Announcement, error)
- func (c *ProjectsLocationsAnnouncementsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnnouncementsGetCall
- func (c *ProjectsLocationsAnnouncementsGetCall) Header() http.Header
- func (c *ProjectsLocationsAnnouncementsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsAnnouncementsGetCall
- type ProjectsLocationsAnnouncementsListCall
- func (c *ProjectsLocationsAnnouncementsListCall) Context(ctx context.Context) *ProjectsLocationsAnnouncementsListCall
- func (c *ProjectsLocationsAnnouncementsListCall) Do(opts ...googleapi.CallOption) (*ListAnnouncementsResponse, error)
- func (c *ProjectsLocationsAnnouncementsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnnouncementsListCall
- func (c *ProjectsLocationsAnnouncementsListCall) Filter(filter string) *ProjectsLocationsAnnouncementsListCall
- func (c *ProjectsLocationsAnnouncementsListCall) Header() http.Header
- func (c *ProjectsLocationsAnnouncementsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAnnouncementsListCall
- func (c *ProjectsLocationsAnnouncementsListCall) OrderBy(orderBy string) *ProjectsLocationsAnnouncementsListCall
- func (c *ProjectsLocationsAnnouncementsListCall) PageSize(pageSize int64) *ProjectsLocationsAnnouncementsListCall
- func (c *ProjectsLocationsAnnouncementsListCall) PageToken(pageToken string) *ProjectsLocationsAnnouncementsListCall
- func (c *ProjectsLocationsAnnouncementsListCall) Pages(ctx context.Context, f func(*ListAnnouncementsResponse) error) error
- type ProjectsLocationsAnnouncementsService
- type ProjectsLocationsDnsBindPermissionGrantCall
- func (c *ProjectsLocationsDnsBindPermissionGrantCall) Context(ctx context.Context) *ProjectsLocationsDnsBindPermissionGrantCall
- func (c *ProjectsLocationsDnsBindPermissionGrantCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsDnsBindPermissionGrantCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsBindPermissionGrantCall
- func (c *ProjectsLocationsDnsBindPermissionGrantCall) Header() http.Header
- type ProjectsLocationsDnsBindPermissionRevokeCall
- func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Context(ctx context.Context) *ProjectsLocationsDnsBindPermissionRevokeCall
- func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsBindPermissionRevokeCall
- func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Header() http.Header
- type ProjectsLocationsDnsBindPermissionService
- func (r *ProjectsLocationsDnsBindPermissionService) Grant(name string, grantdnsbindpermissionrequest *GrantDnsBindPermissionRequest) *ProjectsLocationsDnsBindPermissionGrantCall
- func (r *ProjectsLocationsDnsBindPermissionService) Revoke(name string, revokednsbindpermissionrequest *RevokeDnsBindPermissionRequest) *ProjectsLocationsDnsBindPermissionRevokeCall
- type ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Context(ctx context.Context) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, error)
- func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
- func (c *ProjectsLocationsGetCall) Header() http.Header
- func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
- type ProjectsLocationsGetDnsBindPermissionCall
- func (c *ProjectsLocationsGetDnsBindPermissionCall) Context(ctx context.Context) *ProjectsLocationsGetDnsBindPermissionCall
- func (c *ProjectsLocationsGetDnsBindPermissionCall) Do(opts ...googleapi.CallOption) (*DnsBindPermission, error)
- func (c *ProjectsLocationsGetDnsBindPermissionCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetDnsBindPermissionCall
- func (c *ProjectsLocationsGetDnsBindPermissionCall) Header() http.Header
- func (c *ProjectsLocationsGetDnsBindPermissionCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetDnsBindPermissionCall
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsNetworkPeeringsCreateCall
- func (c *ProjectsLocationsNetworkPeeringsCreateCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsCreateCall
- func (c *ProjectsLocationsNetworkPeeringsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPeeringsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsCreateCall
- func (c *ProjectsLocationsNetworkPeeringsCreateCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPeeringsCreateCall) NetworkPeeringId(networkPeeringId string) *ProjectsLocationsNetworkPeeringsCreateCall
- func (c *ProjectsLocationsNetworkPeeringsCreateCall) RequestId(requestId string) *ProjectsLocationsNetworkPeeringsCreateCall
- type ProjectsLocationsNetworkPeeringsDeleteCall
- func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsDeleteCall
- func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsDeleteCall
- func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPeeringsDeleteCall) RequestId(requestId string) *ProjectsLocationsNetworkPeeringsDeleteCall
- type ProjectsLocationsNetworkPeeringsGetCall
- func (c *ProjectsLocationsNetworkPeeringsGetCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsGetCall
- func (c *ProjectsLocationsNetworkPeeringsGetCall) Do(opts ...googleapi.CallOption) (*NetworkPeering, error)
- func (c *ProjectsLocationsNetworkPeeringsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsGetCall
- func (c *ProjectsLocationsNetworkPeeringsGetCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPeeringsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPeeringsGetCall
- type ProjectsLocationsNetworkPeeringsListCall
- func (c *ProjectsLocationsNetworkPeeringsListCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsListCall
- func (c *ProjectsLocationsNetworkPeeringsListCall) Do(opts ...googleapi.CallOption) (*ListNetworkPeeringsResponse, error)
- func (c *ProjectsLocationsNetworkPeeringsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsListCall
- func (c *ProjectsLocationsNetworkPeeringsListCall) Filter(filter string) *ProjectsLocationsNetworkPeeringsListCall
- func (c *ProjectsLocationsNetworkPeeringsListCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPeeringsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPeeringsListCall
- func (c *ProjectsLocationsNetworkPeeringsListCall) OrderBy(orderBy string) *ProjectsLocationsNetworkPeeringsListCall
- func (c *ProjectsLocationsNetworkPeeringsListCall) PageSize(pageSize int64) *ProjectsLocationsNetworkPeeringsListCall
- func (c *ProjectsLocationsNetworkPeeringsListCall) PageToken(pageToken string) *ProjectsLocationsNetworkPeeringsListCall
- func (c *ProjectsLocationsNetworkPeeringsListCall) Pages(ctx context.Context, f func(*ListNetworkPeeringsResponse) error) error
- type ProjectsLocationsNetworkPeeringsPatchCall
- func (c *ProjectsLocationsNetworkPeeringsPatchCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsPatchCall
- func (c *ProjectsLocationsNetworkPeeringsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPeeringsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsPatchCall
- func (c *ProjectsLocationsNetworkPeeringsPatchCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPeeringsPatchCall) RequestId(requestId string) *ProjectsLocationsNetworkPeeringsPatchCall
- func (c *ProjectsLocationsNetworkPeeringsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsNetworkPeeringsPatchCall
- type ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Context(ctx context.Context) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Do(opts ...googleapi.CallOption) (*ListPeeringRoutesResponse, error)
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Filter(filter string) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) PageToken(pageToken string) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
- func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Pages(ctx context.Context, f func(*ListPeeringRoutesResponse) error) error
- type ProjectsLocationsNetworkPeeringsPeeringRoutesService
- type ProjectsLocationsNetworkPeeringsService
- func (r *ProjectsLocationsNetworkPeeringsService) Create(parent string, networkpeering *NetworkPeering) *ProjectsLocationsNetworkPeeringsCreateCall
- func (r *ProjectsLocationsNetworkPeeringsService) Delete(name string) *ProjectsLocationsNetworkPeeringsDeleteCall
- func (r *ProjectsLocationsNetworkPeeringsService) Get(name string) *ProjectsLocationsNetworkPeeringsGetCall
- func (r *ProjectsLocationsNetworkPeeringsService) List(parent string) *ProjectsLocationsNetworkPeeringsListCall
- func (r *ProjectsLocationsNetworkPeeringsService) Patch(name string, networkpeering *NetworkPeering) *ProjectsLocationsNetworkPeeringsPatchCall
- type ProjectsLocationsNetworkPoliciesCreateCall
- func (c *ProjectsLocationsNetworkPoliciesCreateCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesCreateCall
- func (c *ProjectsLocationsNetworkPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesCreateCall
- func (c *ProjectsLocationsNetworkPoliciesCreateCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesCreateCall) NetworkPolicyId(networkPolicyId string) *ProjectsLocationsNetworkPoliciesCreateCall
- func (c *ProjectsLocationsNetworkPoliciesCreateCall) RequestId(requestId string) *ProjectsLocationsNetworkPoliciesCreateCall
- type ProjectsLocationsNetworkPoliciesDeleteCall
- func (c *ProjectsLocationsNetworkPoliciesDeleteCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesDeleteCall
- func (c *ProjectsLocationsNetworkPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesDeleteCall
- func (c *ProjectsLocationsNetworkPoliciesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesDeleteCall) RequestId(requestId string) *ProjectsLocationsNetworkPoliciesDeleteCall
- type ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) ExternalAccessRuleId(externalAccessRuleId string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) RequestId(requestId string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
- type ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) RequestId(requestId string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
- type ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) Do(opts ...googleapi.CallOption) (*ExternalAccessRule, error)
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
- type ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Do(opts ...googleapi.CallOption) (*ListExternalAccessRulesResponse, error)
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Filter(filter string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) OrderBy(orderBy string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) PageSize(pageSize int64) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) PageToken(pageToken string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Pages(ctx context.Context, f func(*ListExternalAccessRulesResponse) error) error
- type ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) RequestId(requestId string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
- func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
- type ProjectsLocationsNetworkPoliciesExternalAccessRulesService
- func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) Create(parent string, externalaccessrule *ExternalAccessRule) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
- func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) Delete(name string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
- func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) Get(name string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
- func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) List(parent string) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
- func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) Patch(name string, externalaccessrule *ExternalAccessRule) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
- type ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
- func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
- func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Do(opts ...googleapi.CallOption) (*FetchNetworkPolicyExternalAddressesResponse, error)
- func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
- func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
- func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) PageSize(pageSize int64) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
- func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) PageToken(pageToken string) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
- func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Pages(ctx context.Context, ...) error
- type ProjectsLocationsNetworkPoliciesGetCall
- func (c *ProjectsLocationsNetworkPoliciesGetCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesGetCall
- func (c *ProjectsLocationsNetworkPoliciesGetCall) Do(opts ...googleapi.CallOption) (*NetworkPolicy, error)
- func (c *ProjectsLocationsNetworkPoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesGetCall
- func (c *ProjectsLocationsNetworkPoliciesGetCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPoliciesGetCall
- type ProjectsLocationsNetworkPoliciesListCall
- func (c *ProjectsLocationsNetworkPoliciesListCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesListCall
- func (c *ProjectsLocationsNetworkPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListNetworkPoliciesResponse, error)
- func (c *ProjectsLocationsNetworkPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesListCall
- func (c *ProjectsLocationsNetworkPoliciesListCall) Filter(filter string) *ProjectsLocationsNetworkPoliciesListCall
- func (c *ProjectsLocationsNetworkPoliciesListCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNetworkPoliciesListCall
- func (c *ProjectsLocationsNetworkPoliciesListCall) OrderBy(orderBy string) *ProjectsLocationsNetworkPoliciesListCall
- func (c *ProjectsLocationsNetworkPoliciesListCall) PageSize(pageSize int64) *ProjectsLocationsNetworkPoliciesListCall
- func (c *ProjectsLocationsNetworkPoliciesListCall) PageToken(pageToken string) *ProjectsLocationsNetworkPoliciesListCall
- func (c *ProjectsLocationsNetworkPoliciesListCall) Pages(ctx context.Context, f func(*ListNetworkPoliciesResponse) error) error
- type ProjectsLocationsNetworkPoliciesPatchCall
- func (c *ProjectsLocationsNetworkPoliciesPatchCall) Context(ctx context.Context) *ProjectsLocationsNetworkPoliciesPatchCall
- func (c *ProjectsLocationsNetworkPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsNetworkPoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesPatchCall
- func (c *ProjectsLocationsNetworkPoliciesPatchCall) Header() http.Header
- func (c *ProjectsLocationsNetworkPoliciesPatchCall) RequestId(requestId string) *ProjectsLocationsNetworkPoliciesPatchCall
- func (c *ProjectsLocationsNetworkPoliciesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsNetworkPoliciesPatchCall
- type ProjectsLocationsNetworkPoliciesService
- func (r *ProjectsLocationsNetworkPoliciesService) Create(parent string, networkpolicy *NetworkPolicy) *ProjectsLocationsNetworkPoliciesCreateCall
- func (r *ProjectsLocationsNetworkPoliciesService) Delete(name string) *ProjectsLocationsNetworkPoliciesDeleteCall
- func (r *ProjectsLocationsNetworkPoliciesService) FetchExternalAddresses(networkPolicy string) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
- func (r *ProjectsLocationsNetworkPoliciesService) Get(name string) *ProjectsLocationsNetworkPoliciesGetCall
- func (r *ProjectsLocationsNetworkPoliciesService) List(parent string) *ProjectsLocationsNetworkPoliciesListCall
- func (r *ProjectsLocationsNetworkPoliciesService) Patch(name string, networkpolicy *NetworkPolicy) *ProjectsLocationsNetworkPoliciesPatchCall
- type ProjectsLocationsNodeTypesGetCall
- func (c *ProjectsLocationsNodeTypesGetCall) Context(ctx context.Context) *ProjectsLocationsNodeTypesGetCall
- func (c *ProjectsLocationsNodeTypesGetCall) Do(opts ...googleapi.CallOption) (*NodeType, error)
- func (c *ProjectsLocationsNodeTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodeTypesGetCall
- func (c *ProjectsLocationsNodeTypesGetCall) Header() http.Header
- func (c *ProjectsLocationsNodeTypesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsNodeTypesGetCall
- type ProjectsLocationsNodeTypesListCall
- func (c *ProjectsLocationsNodeTypesListCall) Context(ctx context.Context) *ProjectsLocationsNodeTypesListCall
- func (c *ProjectsLocationsNodeTypesListCall) Do(opts ...googleapi.CallOption) (*ListNodeTypesResponse, error)
- func (c *ProjectsLocationsNodeTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodeTypesListCall
- func (c *ProjectsLocationsNodeTypesListCall) Filter(filter string) *ProjectsLocationsNodeTypesListCall
- func (c *ProjectsLocationsNodeTypesListCall) Header() http.Header
- func (c *ProjectsLocationsNodeTypesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsNodeTypesListCall
- func (c *ProjectsLocationsNodeTypesListCall) PageSize(pageSize int64) *ProjectsLocationsNodeTypesListCall
- func (c *ProjectsLocationsNodeTypesListCall) PageToken(pageToken string) *ProjectsLocationsNodeTypesListCall
- func (c *ProjectsLocationsNodeTypesListCall) Pages(ctx context.Context, f func(*ListNodeTypesResponse) error) error
- type ProjectsLocationsNodeTypesService
- type ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.Context) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
- func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
- type ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.Context) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
- func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
- func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
- type ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Context(ctx context.Context) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse, error)
- func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Header() http.Header
- func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
- func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.Context, f func(*ListOperationsResponse) error) error
- func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsOperationsService
- type ProjectsLocationsPrivateCloudsClustersCreateCall
- func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) ClusterId(clusterId string) *ProjectsLocationsPrivateCloudsClustersCreateCall
- func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersCreateCall
- func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersCreateCall
- func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsClustersCreateCall
- func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsPrivateCloudsClustersCreateCall
- type ProjectsLocationsPrivateCloudsClustersDeleteCall
- func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersDeleteCall
- func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersDeleteCall
- func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsClustersDeleteCall
- type ProjectsLocationsPrivateCloudsClustersGetCall
- func (c *ProjectsLocationsPrivateCloudsClustersGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersGetCall
- func (c *ProjectsLocationsPrivateCloudsClustersGetCall) Do(opts ...googleapi.CallOption) (*Cluster, error)
- func (c *ProjectsLocationsPrivateCloudsClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersGetCall
- func (c *ProjectsLocationsPrivateCloudsClustersGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsClustersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsClustersGetCall
- type ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
- type ProjectsLocationsPrivateCloudsClustersListCall
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersListCall
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) Do(opts ...googleapi.CallOption) (*ListClustersResponse, error)
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersListCall
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) Filter(filter string) *ProjectsLocationsPrivateCloudsClustersListCall
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsClustersListCall
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) OrderBy(orderBy string) *ProjectsLocationsPrivateCloudsClustersListCall
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsClustersListCall
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsClustersListCall
- func (c *ProjectsLocationsPrivateCloudsClustersListCall) Pages(ctx context.Context, f func(*ListClustersResponse) error) error
- type ProjectsLocationsPrivateCloudsClustersNodesGetCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersNodesGetCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) Do(opts ...googleapi.CallOption) (*Node, error)
- func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersNodesGetCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsClustersNodesGetCall
- type ProjectsLocationsPrivateCloudsClustersNodesListCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersNodesListCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Do(opts ...googleapi.CallOption) (*ListNodesResponse, error)
- func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersNodesListCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsClustersNodesListCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsClustersNodesListCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsClustersNodesListCall
- func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Pages(ctx context.Context, f func(*ListNodesResponse) error) error
- type ProjectsLocationsPrivateCloudsClustersNodesService
- type ProjectsLocationsPrivateCloudsClustersPatchCall
- func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersPatchCall
- func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersPatchCall
- func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsClustersPatchCall
- func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateCloudsClustersPatchCall
- func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) ValidateOnly(validateOnly bool) *ProjectsLocationsPrivateCloudsClustersPatchCall
- type ProjectsLocationsPrivateCloudsClustersService
- func (r *ProjectsLocationsPrivateCloudsClustersService) Create(parent string, cluster *Cluster) *ProjectsLocationsPrivateCloudsClustersCreateCall
- func (r *ProjectsLocationsPrivateCloudsClustersService) Delete(name string) *ProjectsLocationsPrivateCloudsClustersDeleteCall
- func (r *ProjectsLocationsPrivateCloudsClustersService) Get(name string) *ProjectsLocationsPrivateCloudsClustersGetCall
- func (r *ProjectsLocationsPrivateCloudsClustersService) GetIamPolicy(resource string) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
- func (r *ProjectsLocationsPrivateCloudsClustersService) List(parent string) *ProjectsLocationsPrivateCloudsClustersListCall
- func (r *ProjectsLocationsPrivateCloudsClustersService) Patch(name string, cluster *Cluster) *ProjectsLocationsPrivateCloudsClustersPatchCall
- func (r *ProjectsLocationsPrivateCloudsClustersService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall
- func (r *ProjectsLocationsPrivateCloudsClustersService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall
- type ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsCreateCall
- func (c *ProjectsLocationsPrivateCloudsCreateCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsCreateCall
- func (c *ProjectsLocationsPrivateCloudsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsCreateCall
- func (c *ProjectsLocationsPrivateCloudsCreateCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsCreateCall) PrivateCloudId(privateCloudId string) *ProjectsLocationsPrivateCloudsCreateCall
- func (c *ProjectsLocationsPrivateCloudsCreateCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsCreateCall
- func (c *ProjectsLocationsPrivateCloudsCreateCall) ValidateOnly(validateOnly bool) *ProjectsLocationsPrivateCloudsCreateCall
- type ProjectsLocationsPrivateCloudsDeleteCall
- func (c *ProjectsLocationsPrivateCloudsDeleteCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsDeleteCall
- func (c *ProjectsLocationsPrivateCloudsDeleteCall) DelayHours(delayHours int64) *ProjectsLocationsPrivateCloudsDeleteCall
- func (c *ProjectsLocationsPrivateCloudsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsDeleteCall
- func (c *ProjectsLocationsPrivateCloudsDeleteCall) Force(force bool) *ProjectsLocationsPrivateCloudsDeleteCall
- func (c *ProjectsLocationsPrivateCloudsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsDeleteCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsDeleteCall
- type ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) ExternalAddressId(externalAddressId string) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
- type ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
- type ProjectsLocationsPrivateCloudsExternalAddressesGetCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsExternalAddressesGetCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) Do(opts ...googleapi.CallOption) (*ExternalAddress, error)
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesGetCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsExternalAddressesGetCall
- type ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Do(opts ...googleapi.CallOption) (*ListExternalAddressesResponse, error)
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Filter(filter string) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) OrderBy(orderBy string) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Pages(ctx context.Context, f func(*ListExternalAddressesResponse) error) error
- type ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
- func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
- type ProjectsLocationsPrivateCloudsExternalAddressesService
- func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) Create(parent string, externaladdress *ExternalAddress) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
- func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) Delete(name string) *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
- func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) Get(name string) *ProjectsLocationsPrivateCloudsExternalAddressesGetCall
- func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) List(parent string) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
- func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) Patch(name string, externaladdress *ExternalAddress) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
- type ProjectsLocationsPrivateCloudsGetCall
- func (c *ProjectsLocationsPrivateCloudsGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsGetCall
- func (c *ProjectsLocationsPrivateCloudsGetCall) Do(opts ...googleapi.CallOption) (*PrivateCloud, error)
- func (c *ProjectsLocationsPrivateCloudsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsGetCall
- func (c *ProjectsLocationsPrivateCloudsGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsGetCall
- type ProjectsLocationsPrivateCloudsGetDnsForwardingCall
- func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsGetDnsForwardingCall
- func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) Do(opts ...googleapi.CallOption) (*DnsForwarding, error)
- func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsGetDnsForwardingCall
- func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsGetDnsForwardingCall
- type ProjectsLocationsPrivateCloudsGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
- type ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) HcxActivationKeyId(hcxActivationKeyId string) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
- type ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) Do(opts ...googleapi.CallOption) (*HcxActivationKey, error)
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
- type ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
- type ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Do(opts ...googleapi.CallOption) (*ListHcxActivationKeysResponse, error)
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Pages(ctx context.Context, f func(*ListHcxActivationKeysResponse) error) error
- type ProjectsLocationsPrivateCloudsHcxActivationKeysService
- func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) Create(parent string, hcxactivationkey *HcxActivationKey) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
- func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) Get(name string) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
- func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) GetIamPolicy(resource string) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
- func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) List(parent string) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
- func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall
- func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall
- type ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsListCall
- func (c *ProjectsLocationsPrivateCloudsListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsListCall
- func (c *ProjectsLocationsPrivateCloudsListCall) Do(opts ...googleapi.CallOption) (*ListPrivateCloudsResponse, error)
- func (c *ProjectsLocationsPrivateCloudsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsListCall
- func (c *ProjectsLocationsPrivateCloudsListCall) Filter(filter string) *ProjectsLocationsPrivateCloudsListCall
- func (c *ProjectsLocationsPrivateCloudsListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsListCall
- func (c *ProjectsLocationsPrivateCloudsListCall) OrderBy(orderBy string) *ProjectsLocationsPrivateCloudsListCall
- func (c *ProjectsLocationsPrivateCloudsListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsListCall
- func (c *ProjectsLocationsPrivateCloudsListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsListCall
- func (c *ProjectsLocationsPrivateCloudsListCall) Pages(ctx context.Context, f func(*ListPrivateCloudsResponse) error) error
- type ProjectsLocationsPrivateCloudsLoggingServersCreateCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) LoggingServerId(loggingServerId string) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
- type ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
- type ProjectsLocationsPrivateCloudsLoggingServersGetCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsLoggingServersGetCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) Do(opts ...googleapi.CallOption) (*LoggingServer, error)
- func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersGetCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsLoggingServersGetCall
- type ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Do(opts ...googleapi.CallOption) (*ListLoggingServersResponse, error)
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Filter(filter string) *ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) OrderBy(orderBy string) *ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Pages(ctx context.Context, f func(*ListLoggingServersResponse) error) error
- type ProjectsLocationsPrivateCloudsLoggingServersPatchCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
- func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
- type ProjectsLocationsPrivateCloudsLoggingServersService
- func (r *ProjectsLocationsPrivateCloudsLoggingServersService) Create(parent string, loggingserver *LoggingServer) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
- func (r *ProjectsLocationsPrivateCloudsLoggingServersService) Delete(name string) *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
- func (r *ProjectsLocationsPrivateCloudsLoggingServersService) Get(name string) *ProjectsLocationsPrivateCloudsLoggingServersGetCall
- func (r *ProjectsLocationsPrivateCloudsLoggingServersService) List(parent string) *ProjectsLocationsPrivateCloudsLoggingServersListCall
- func (r *ProjectsLocationsPrivateCloudsLoggingServersService) Patch(name string, loggingserver *LoggingServer) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
- type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) ManagementDnsZoneBindingId(managementDnsZoneBindingId string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
- type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
- type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) Do(opts ...googleapi.CallOption) (*ManagementDnsZoneBinding, error)
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
- type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Do(opts ...googleapi.CallOption) (*ListManagementDnsZoneBindingsResponse, error)
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Filter(filter string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) OrderBy(orderBy string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Pages(ctx context.Context, f func(*ListManagementDnsZoneBindingsResponse) error) error
- type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
- type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall
- func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService
- func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Create(parent string, managementdnszonebinding *ManagementDnsZoneBinding) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
- func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Delete(name string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
- func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Get(name string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
- func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) List(parent string) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
- func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Patch(name string, managementdnszonebinding *ManagementDnsZoneBinding) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
- func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Repair(name string, ...) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall
- type ProjectsLocationsPrivateCloudsPatchCall
- func (c *ProjectsLocationsPrivateCloudsPatchCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsPatchCall
- func (c *ProjectsLocationsPrivateCloudsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsPatchCall
- func (c *ProjectsLocationsPrivateCloudsPatchCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsPatchCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsPatchCall
- func (c *ProjectsLocationsPrivateCloudsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateCloudsPatchCall
- type ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall
- func (c *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall
- func (c *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall
- func (c *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsResetNsxCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsService
- func (r *ProjectsLocationsPrivateCloudsService) Create(parent string, privatecloud *PrivateCloud) *ProjectsLocationsPrivateCloudsCreateCall
- func (r *ProjectsLocationsPrivateCloudsService) Delete(name string) *ProjectsLocationsPrivateCloudsDeleteCall
- func (r *ProjectsLocationsPrivateCloudsService) Get(name string) *ProjectsLocationsPrivateCloudsGetCall
- func (r *ProjectsLocationsPrivateCloudsService) GetDnsForwarding(name string) *ProjectsLocationsPrivateCloudsGetDnsForwardingCall
- func (r *ProjectsLocationsPrivateCloudsService) GetIamPolicy(resource string) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
- func (r *ProjectsLocationsPrivateCloudsService) List(parent string) *ProjectsLocationsPrivateCloudsListCall
- func (r *ProjectsLocationsPrivateCloudsService) Patch(name string, privatecloud *PrivateCloud) *ProjectsLocationsPrivateCloudsPatchCall
- func (r *ProjectsLocationsPrivateCloudsService) PrivateCloudDeletionNow(name string, ...) *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall
- func (r *ProjectsLocationsPrivateCloudsService) ResetNsxCredentials(privateCloud string, resetnsxcredentialsrequest *ResetNsxCredentialsRequest) *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall
- func (r *ProjectsLocationsPrivateCloudsService) ResetVcenterCredentials(privateCloud string, ...) *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall
- func (r *ProjectsLocationsPrivateCloudsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsPrivateCloudsSetIamPolicyCall
- func (r *ProjectsLocationsPrivateCloudsService) ShowNsxCredentials(privateCloud string) *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
- func (r *ProjectsLocationsPrivateCloudsService) ShowVcenterCredentials(privateCloud string) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
- func (r *ProjectsLocationsPrivateCloudsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsPrivateCloudsTestIamPermissionsCall
- func (r *ProjectsLocationsPrivateCloudsService) Undelete(name string, undeleteprivatecloudrequest *UndeletePrivateCloudRequest) *ProjectsLocationsPrivateCloudsUndeleteCall
- func (r *ProjectsLocationsPrivateCloudsService) UpdateDnsForwarding(name string, dnsforwarding *DnsForwarding) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
- type ProjectsLocationsPrivateCloudsSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsPrivateCloudsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsSetIamPolicyCall
- func (c *ProjectsLocationsPrivateCloudsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) Do(opts ...googleapi.CallOption) (*Credentials, error)
- func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
- type ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Do(opts ...googleapi.CallOption) (*Credentials, error)
- func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
- func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Username(username string) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
- type ProjectsLocationsPrivateCloudsSubnetsGetCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsSubnetsGetCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) Do(opts ...googleapi.CallOption) (*Subnet, error)
- func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsSubnetsGetCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsSubnetsGetCall
- type ProjectsLocationsPrivateCloudsSubnetsListCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsSubnetsListCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Do(opts ...googleapi.CallOption) (*ListSubnetsResponse, error)
- func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsSubnetsListCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsSubnetsListCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsSubnetsListCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsSubnetsListCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Pages(ctx context.Context, f func(*ListSubnetsResponse) error) error
- type ProjectsLocationsPrivateCloudsSubnetsPatchCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsSubnetsPatchCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsSubnetsPatchCall
- func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateCloudsSubnetsPatchCall
- type ProjectsLocationsPrivateCloudsSubnetsService
- func (r *ProjectsLocationsPrivateCloudsSubnetsService) Get(name string) *ProjectsLocationsPrivateCloudsSubnetsGetCall
- func (r *ProjectsLocationsPrivateCloudsSubnetsService) List(parent string) *ProjectsLocationsPrivateCloudsSubnetsListCall
- func (r *ProjectsLocationsPrivateCloudsSubnetsService) Patch(name string, subnet *Subnet) *ProjectsLocationsPrivateCloudsSubnetsPatchCall
- type ProjectsLocationsPrivateCloudsTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsPrivateCloudsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsTestIamPermissionsCall
- func (c *ProjectsLocationsPrivateCloudsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsUndeleteCall
- func (c *ProjectsLocationsPrivateCloudsUndeleteCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsUndeleteCall
- func (c *ProjectsLocationsPrivateCloudsUndeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsUndeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUndeleteCall
- func (c *ProjectsLocationsPrivateCloudsUndeleteCall) Header() http.Header
- type ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
- func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
- func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
- func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
- func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
- type ProjectsLocationsPrivateCloudsUpgradesGetCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsUpgradesGetCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) Do(opts ...googleapi.CallOption) (*Upgrade, error)
- func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUpgradesGetCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsUpgradesGetCall
- type ProjectsLocationsPrivateCloudsUpgradesListCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsUpgradesListCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Do(opts ...googleapi.CallOption) (*ListUpgradesResponse, error)
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUpgradesListCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Filter(filter string) *ProjectsLocationsPrivateCloudsUpgradesListCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateCloudsUpgradesListCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) OrderBy(orderBy string) *ProjectsLocationsPrivateCloudsUpgradesListCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateCloudsUpgradesListCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) PageToken(pageToken string) *ProjectsLocationsPrivateCloudsUpgradesListCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Pages(ctx context.Context, f func(*ListUpgradesResponse) error) error
- type ProjectsLocationsPrivateCloudsUpgradesPatchCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) Context(ctx context.Context) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) Header() http.Header
- func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) RequestId(requestId string) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
- func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
- type ProjectsLocationsPrivateCloudsUpgradesService
- func (r *ProjectsLocationsPrivateCloudsUpgradesService) Get(name string) *ProjectsLocationsPrivateCloudsUpgradesGetCall
- func (r *ProjectsLocationsPrivateCloudsUpgradesService) List(parent string) *ProjectsLocationsPrivateCloudsUpgradesListCall
- func (r *ProjectsLocationsPrivateCloudsUpgradesService) Patch(name string, upgrade *Upgrade) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
- type ProjectsLocationsPrivateConnectionsCreateCall
- func (c *ProjectsLocationsPrivateConnectionsCreateCall) Context(ctx context.Context) *ProjectsLocationsPrivateConnectionsCreateCall
- func (c *ProjectsLocationsPrivateConnectionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateConnectionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsCreateCall
- func (c *ProjectsLocationsPrivateConnectionsCreateCall) Header() http.Header
- func (c *ProjectsLocationsPrivateConnectionsCreateCall) PrivateConnectionId(privateConnectionId string) *ProjectsLocationsPrivateConnectionsCreateCall
- func (c *ProjectsLocationsPrivateConnectionsCreateCall) RequestId(requestId string) *ProjectsLocationsPrivateConnectionsCreateCall
- type ProjectsLocationsPrivateConnectionsDeleteCall
- func (c *ProjectsLocationsPrivateConnectionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsPrivateConnectionsDeleteCall
- func (c *ProjectsLocationsPrivateConnectionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateConnectionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsDeleteCall
- func (c *ProjectsLocationsPrivateConnectionsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsPrivateConnectionsDeleteCall) RequestId(requestId string) *ProjectsLocationsPrivateConnectionsDeleteCall
- type ProjectsLocationsPrivateConnectionsGetCall
- func (c *ProjectsLocationsPrivateConnectionsGetCall) Context(ctx context.Context) *ProjectsLocationsPrivateConnectionsGetCall
- func (c *ProjectsLocationsPrivateConnectionsGetCall) Do(opts ...googleapi.CallOption) (*PrivateConnection, error)
- func (c *ProjectsLocationsPrivateConnectionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsGetCall
- func (c *ProjectsLocationsPrivateConnectionsGetCall) Header() http.Header
- func (c *ProjectsLocationsPrivateConnectionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateConnectionsGetCall
- type ProjectsLocationsPrivateConnectionsListCall
- func (c *ProjectsLocationsPrivateConnectionsListCall) Context(ctx context.Context) *ProjectsLocationsPrivateConnectionsListCall
- func (c *ProjectsLocationsPrivateConnectionsListCall) Do(opts ...googleapi.CallOption) (*ListPrivateConnectionsResponse, error)
- func (c *ProjectsLocationsPrivateConnectionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsListCall
- func (c *ProjectsLocationsPrivateConnectionsListCall) Filter(filter string) *ProjectsLocationsPrivateConnectionsListCall
- func (c *ProjectsLocationsPrivateConnectionsListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateConnectionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateConnectionsListCall
- func (c *ProjectsLocationsPrivateConnectionsListCall) OrderBy(orderBy string) *ProjectsLocationsPrivateConnectionsListCall
- func (c *ProjectsLocationsPrivateConnectionsListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateConnectionsListCall
- func (c *ProjectsLocationsPrivateConnectionsListCall) PageToken(pageToken string) *ProjectsLocationsPrivateConnectionsListCall
- func (c *ProjectsLocationsPrivateConnectionsListCall) Pages(ctx context.Context, f func(*ListPrivateConnectionsResponse) error) error
- type ProjectsLocationsPrivateConnectionsPatchCall
- func (c *ProjectsLocationsPrivateConnectionsPatchCall) Context(ctx context.Context) *ProjectsLocationsPrivateConnectionsPatchCall
- func (c *ProjectsLocationsPrivateConnectionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsPrivateConnectionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsPatchCall
- func (c *ProjectsLocationsPrivateConnectionsPatchCall) Header() http.Header
- func (c *ProjectsLocationsPrivateConnectionsPatchCall) RequestId(requestId string) *ProjectsLocationsPrivateConnectionsPatchCall
- func (c *ProjectsLocationsPrivateConnectionsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsPrivateConnectionsPatchCall
- type ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
- func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Context(ctx context.Context) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
- func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Do(opts ...googleapi.CallOption) (*ListPrivateConnectionPeeringRoutesResponse, error)
- func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
- func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Header() http.Header
- func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
- func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) PageSize(pageSize int64) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
- func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) PageToken(pageToken string) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
- func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Pages(ctx context.Context, f func(*ListPrivateConnectionPeeringRoutesResponse) error) error
- type ProjectsLocationsPrivateConnectionsPeeringRoutesService
- type ProjectsLocationsPrivateConnectionsService
- func (r *ProjectsLocationsPrivateConnectionsService) Create(parent string, privateconnection *PrivateConnection) *ProjectsLocationsPrivateConnectionsCreateCall
- func (r *ProjectsLocationsPrivateConnectionsService) Delete(name string) *ProjectsLocationsPrivateConnectionsDeleteCall
- func (r *ProjectsLocationsPrivateConnectionsService) Get(name string) *ProjectsLocationsPrivateConnectionsGetCall
- func (r *ProjectsLocationsPrivateConnectionsService) List(parent string) *ProjectsLocationsPrivateConnectionsListCall
- func (r *ProjectsLocationsPrivateConnectionsService) Patch(name string, privateconnection *PrivateConnection) *ProjectsLocationsPrivateConnectionsPatchCall
- type ProjectsLocationsService
- type ProjectsLocationsVmwareEngineNetworksCreateCall
- func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) Context(ctx context.Context) *ProjectsLocationsVmwareEngineNetworksCreateCall
- func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksCreateCall
- func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) Header() http.Header
- func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) RequestId(requestId string) *ProjectsLocationsVmwareEngineNetworksCreateCall
- func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) VmwareEngineNetworkId(vmwareEngineNetworkId string) *ProjectsLocationsVmwareEngineNetworksCreateCall
- type ProjectsLocationsVmwareEngineNetworksDeleteCall
- func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Context(ctx context.Context) *ProjectsLocationsVmwareEngineNetworksDeleteCall
- func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Etag(etag string) *ProjectsLocationsVmwareEngineNetworksDeleteCall
- func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksDeleteCall
- func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Header() http.Header
- func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) RequestId(requestId string) *ProjectsLocationsVmwareEngineNetworksDeleteCall
- type ProjectsLocationsVmwareEngineNetworksGetCall
- func (c *ProjectsLocationsVmwareEngineNetworksGetCall) Context(ctx context.Context) *ProjectsLocationsVmwareEngineNetworksGetCall
- func (c *ProjectsLocationsVmwareEngineNetworksGetCall) Do(opts ...googleapi.CallOption) (*VmwareEngineNetwork, error)
- func (c *ProjectsLocationsVmwareEngineNetworksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksGetCall
- func (c *ProjectsLocationsVmwareEngineNetworksGetCall) Header() http.Header
- func (c *ProjectsLocationsVmwareEngineNetworksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareEngineNetworksGetCall
- type ProjectsLocationsVmwareEngineNetworksListCall
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) Context(ctx context.Context) *ProjectsLocationsVmwareEngineNetworksListCall
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) Do(opts ...googleapi.CallOption) (*ListVmwareEngineNetworksResponse, error)
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksListCall
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) Filter(filter string) *ProjectsLocationsVmwareEngineNetworksListCall
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) Header() http.Header
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsVmwareEngineNetworksListCall
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) OrderBy(orderBy string) *ProjectsLocationsVmwareEngineNetworksListCall
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) PageSize(pageSize int64) *ProjectsLocationsVmwareEngineNetworksListCall
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) PageToken(pageToken string) *ProjectsLocationsVmwareEngineNetworksListCall
- func (c *ProjectsLocationsVmwareEngineNetworksListCall) Pages(ctx context.Context, f func(*ListVmwareEngineNetworksResponse) error) error
- type ProjectsLocationsVmwareEngineNetworksPatchCall
- func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) Context(ctx context.Context) *ProjectsLocationsVmwareEngineNetworksPatchCall
- func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksPatchCall
- func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) Header() http.Header
- func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) RequestId(requestId string) *ProjectsLocationsVmwareEngineNetworksPatchCall
- func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsVmwareEngineNetworksPatchCall
- type ProjectsLocationsVmwareEngineNetworksService
- func (r *ProjectsLocationsVmwareEngineNetworksService) Create(parent string, vmwareenginenetwork *VmwareEngineNetwork) *ProjectsLocationsVmwareEngineNetworksCreateCall
- func (r *ProjectsLocationsVmwareEngineNetworksService) Delete(name string) *ProjectsLocationsVmwareEngineNetworksDeleteCall
- func (r *ProjectsLocationsVmwareEngineNetworksService) Get(name string) *ProjectsLocationsVmwareEngineNetworksGetCall
- func (r *ProjectsLocationsVmwareEngineNetworksService) List(parent string) *ProjectsLocationsVmwareEngineNetworksListCall
- func (r *ProjectsLocationsVmwareEngineNetworksService) Patch(name string, vmwareenginenetwork *VmwareEngineNetwork) *ProjectsLocationsVmwareEngineNetworksPatchCall
- type ProjectsService
- type RepairManagementDnsZoneBindingRequest
- type ResetNsxCredentialsRequest
- type ResetVcenterCredentialsRequest
- type RevokeDnsBindPermissionRequest
- type Schedule
- type Service
- type SetIamPolicyRequest
- type Status
- type StretchedClusterConfig
- type Subnet
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
- type Thresholds
- type TimeOfDay
- type TimeWindow
- type UndeletePrivateCloudRequest
- type Upgrade
- type Vcenter
- type VmwareEngineNetwork
- type VmwareUpgradeComponent
- type VpcNetwork
- type WeeklyTimeInterval
Constants¶
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")
OAuth2 scopes used by this API.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAcceleratePrivateCloudDeletionRequest¶added inv0.249.0
type AcceleratePrivateCloudDeletionRequest struct {// Etag: Optional. Checksum used to ensure that the user-provided value is up// to date before the server processes the request. The server compares// provided checksum with the current checksum of the resource. If the// user-provided value is out of date, this request returns an `ABORTED` error.Etagstring `json:"etag,omitempty"`// RequestId: Optional. The request ID must be a valid UUID with the exception// that zero UUID is not supported (00000000-0000-0000-0000-000000000000).RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "Etag") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}AcceleratePrivateCloudDeletionRequest: Request message forVmwareEngine.AcceleratePrivateCloudDeletion
func (AcceleratePrivateCloudDeletionRequest)MarshalJSON¶added inv0.249.0
func (sAcceleratePrivateCloudDeletionRequest) MarshalJSON() ([]byte,error)
typeAnnouncement¶added inv0.223.0
type Announcement struct {// ActivityType: Optional. Activity type of the announcement There can be only// one active announcement for a given activity type and target resource.ActivityTypestring `json:"activityType,omitempty"`// Cluster: A Cluster resource name.Clusterstring `json:"cluster,omitempty"`// Code: Required. Code of the announcement. Indicates the presence of a VMware// Engine related announcement and corresponds to a related message in the// `description` field.Codestring `json:"code,omitempty"`// CreateTime: Output only. Creation time of this resource. It also serves as// start time of notification.CreateTimestring `json:"createTime,omitempty"`// Description: Output only. Description of the announcement.Descriptionstring `json:"description,omitempty"`// Metadata: Output only. Additional structured details about this// announcement.Metadata map[string]string `json:"metadata,omitempty"`// Name: Output only. The resource name of the announcement. Resource names are// schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-west1-a/announcements/my-announcement-id`Namestring `json:"name,omitempty"`// PrivateCloud: A Private Cloud resource name.PrivateCloudstring `json:"privateCloud,omitempty"`// State: Output only. State of the resource. New values may be added to this// enum when appropriate.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "ACTIVE" - Active announcement which should be visible to user.// "INACTIVE" - Inactive announcement which should not be visible to user.// "DELETING" - Announcement which is being deleted// "CREATING" - Announcement which being createdStatestring `json:"state,omitempty"`// TargetResourceType: Output only. Target Resource Type defines the type of// the target for the announcementTargetResourceTypestring `json:"targetResourceType,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ActivityType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ActivityType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Announcement: Announcement for the resources of Vmware Engine.
func (Announcement)MarshalJSON¶added inv0.223.0
func (sAnnouncement) MarshalJSON() ([]byte,error)
typeAuditConfig¶
type AuditConfig struct {// AuditLogConfigs: The configuration for logging of each type of permission.AuditLogConfigs []*AuditLogConfig `json:"auditLogConfigs,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.Servicestring `json:"service,omitempty"`// ForceSendFields is a list of field names (e.g. "AuditLogConfigs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}AuditConfig: Specifies the audit configuration for a service. Theconfiguration determines which permission types are logged, and whatidentities, if any, are exempted from logging. An AuditConfig must have oneor more AuditLogConfigs. If there are AuditConfigs for both `allServices`and a specific service, the union of the two AuditConfigs is used for thatservice: the log_types specified in each AuditConfig are enabled, and theexempted_members in each AuditLogConfig are exempted. Example Policy withmultiple AuditConfigs: { "audit_configs": [ { "service": "allServices","audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": ["user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type":"ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com","audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type":"DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } Forsampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READlogging. It also exempts `jose@example.com` from DATA_READ logging, and`aliya@example.com` from DATA_WRITE logging.
func (AuditConfig)MarshalJSON¶
func (sAuditConfig) MarshalJSON() ([]byte,error)
typeAuditLogConfig¶
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:// "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this.// "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy// "DATA_WRITE" - Data writes. Example: CloudSQL Users create// "DATA_READ" - Data reads. Example: CloudSQL Users listLogTypestring `json:"logType,omitempty"`// ForceSendFields is a list of field names (e.g. "ExemptedMembers") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}AuditLogConfig: Provides the configuration for logging a type ofpermissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ","exempted_members": [ "user:jose@example.com" ] }, { "log_type":"DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, whileexempting jose@example.com from DATA_READ logging.
func (AuditLogConfig)MarshalJSON¶
func (sAuditLogConfig) MarshalJSON() ([]byte,error)
typeAutoscalingPolicy¶added inv0.188.0
type AutoscalingPolicy struct {// ConsumedMemoryThresholds: Optional. Utilization thresholds pertaining to// amount of consumed memory.ConsumedMemoryThresholds *Thresholds `json:"consumedMemoryThresholds,omitempty"`// CpuThresholds: Optional. Utilization thresholds pertaining to CPU// utilization.CpuThresholds *Thresholds `json:"cpuThresholds,omitempty"`// GrantedMemoryThresholds: Optional. Utilization thresholds pertaining to// amount of granted memory.GrantedMemoryThresholds *Thresholds `json:"grantedMemoryThresholds,omitempty"`// NodeTypeId: Required. The canonical identifier of the node type to add or// remove. Corresponds to the `NodeType`.NodeTypeIdstring `json:"nodeTypeId,omitempty"`// ScaleOutSize: Required. Number of nodes to add to a cluster during a// scale-out operation. Must be divisible by 2 for stretched clusters. During a// scale-in operation only one node (or 2 for stretched clusters) are removed// in a single iteration.ScaleOutSizeint64 `json:"scaleOutSize,omitempty"`// StorageThresholds: Optional. Utilization thresholds pertaining to amount of// consumed storage.StorageThresholds *Thresholds `json:"storageThresholds,omitempty"`// ForceSendFields is a list of field names (e.g. "ConsumedMemoryThresholds")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConsumedMemoryThresholds") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}AutoscalingPolicy: Autoscaling policy describes the behavior of theautoscaling with respect to the resource utilization. The scale-outoperation is initiated if the utilization exceeds ANY of the respectivethresholds. The scale-in operation is initiated if the utilization is belowALL of the respective thresholds.
func (AutoscalingPolicy)MarshalJSON¶added inv0.188.0
func (sAutoscalingPolicy) MarshalJSON() ([]byte,error)
typeAutoscalingSettings¶added inv0.188.0
type AutoscalingSettings struct {// AutoscalingPolicies: Required. The map with autoscaling policies applied to// the cluster. The key is the identifier of the policy. It must meet the// following requirements: * Only contains 1-63 alphanumeric characters and// hyphens * Begins with an alphabetical character * Ends with a non-hyphen// character * Not formatted as a UUID * Complies withRFC 1034// (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently// there map must contain only one element that describes the autoscaling// policy for compute nodes.AutoscalingPolicies map[string]AutoscalingPolicy `json:"autoscalingPolicies,omitempty"`// CoolDownPeriod: Optional. The minimum duration between consecutive autoscale// operations. It starts once addition or removal of nodes is fully completed.// Defaults to 30 minutes if not specified. Cool down period must be in whole// minutes (for example, 30, 31, 50, 180 minutes).CoolDownPeriodstring `json:"coolDownPeriod,omitempty"`// MaxClusterNodeCount: Optional. Maximum number of nodes of any type in a// cluster. If not specified the default limits apply.MaxClusterNodeCountint64 `json:"maxClusterNodeCount,omitempty"`// MinClusterNodeCount: Optional. Minimum number of nodes of any type in a// cluster. If not specified the default limits apply.MinClusterNodeCountint64 `json:"minClusterNodeCount,omitempty"`// ForceSendFields is a list of field names (e.g. "AutoscalingPolicies") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoscalingPolicies") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}AutoscalingSettings: Autoscaling settings define the rules used by VMwareEngine to automatically scale-out and scale-in the clusters in a privatecloud.
func (AutoscalingSettings)MarshalJSON¶added inv0.188.0
func (sAutoscalingSettings) MarshalJSON() ([]byte,error)
typeBinding¶
type Binding struct {// Condition: The condition that is associated with this binding. If the// condition evaluates to `true`, then this binding applies to the current// request. If the condition evaluates to `false`, then this binding does not// apply to the current request. However, a different role binding might grant// the same role to one or more of the principals in this binding. To learn// which resources support conditions in their IAM policies, see the IAM// documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Condition *Expr `json:"condition,omitempty"`// Members: Specifies the principals requesting access for a Google Cloud// 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. Does not include identities that come from external identity// providers (IdPs) through identity federation. * `user:{emailid}`: An email// address that represents a specific Google account. For example,// `alice@example.com` . * `serviceAccount:{emailid}`: An email address that// represents a Google service account. For example,// `my-other-app@appspot.gserviceaccount.com`. *// `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An// identifier for a Kubernetes service account// (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).// For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *// `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`. *// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/sub// ject/{subject_attribute_value}`: A single identity in a workforce identity// pool. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// group/{group_id}`: All workforce identities in a group. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// attribute.{attribute_name}/{attribute_value}`: All workforce identities with// a specific attribute value. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// *`: All identities in a workforce identity pool. *// `principal://iam.googleapis.com/projects/{project_number}/locations/global/wo// rkloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single// identity in a workload identity pool. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool// group. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}// `: All identities in a workload identity pool with a certain attribute. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/*`: All identities in a workload identity// pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus// unique identifier) representing a user that has been recently deleted. For// example, `alice@example.com?uid=123456789012345678901`. If the user is// recovered, this value reverts to `user:{emailid}` and the recovered user// retains the role in the binding. *// `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus// unique identifier) representing a service account that has been recently// deleted. For example,// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the// service account is undeleted, this value reverts to// `serviceAccount:{emailid}` and the undeleted service account retains the// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email// address (plus unique identifier) representing a Google group that has been// recently deleted. For example,// `admins@example.com?uid=123456789012345678901`. If the group is recovered,// this value reverts to `group:{emailid}` and the recovered group retains the// role in the binding. *// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool// _id}/subject/{subject_attribute_value}`: Deleted single identity in a// workforce identity pool. For example,// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-po// ol-id/subject/my-subject-attribute-value`.Members []string `json:"members,omitempty"`// Role: Role that is assigned to the list of `members`, or principals. For// example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview// of the IAM roles and permissions, see the IAM documentation// (https://cloud.google.com/iam/docs/roles-overview). For a list of the// available pre-defined roles, see here// (https://cloud.google.com/iam/docs/understanding-roles).Rolestring `json:"role,omitempty"`// ForceSendFields is a list of field names (e.g. "Condition") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Binding: Associates `members`, or principals, with a `role`.
func (Binding)MarshalJSON¶
typeCluster¶
type Cluster struct {// AutoscalingSettings: Optional. Configuration of the autoscaling applied to// this cluster.AutoscalingSettings *AutoscalingSettings `json:"autoscalingSettings,omitempty"`// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Management: Output only. True if the cluster is a management cluster; false// otherwise. There can only be one management cluster in a private cloud and// it has to be the first one.Managementbool `json:"management,omitempty"`// Name: Output only. Identifier. The resource name of this cluster. Resource// names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/// my-cluster`Namestring `json:"name,omitempty"`// NodeTypeConfigs: Required. The map of cluster node types in this cluster,// where the key is canonical identifier of the node type (corresponds to the// `NodeType`).NodeTypeConfigs map[string]NodeTypeConfig `json:"nodeTypeConfigs,omitempty"`// State: Output only. State of the resource.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "ACTIVE" - The Cluster is operational and can be used by the user.// "CREATING" - The Cluster is being deployed.// "UPDATING" - Adding or removing of a node to the cluster, any other// cluster specific updates.// "DELETING" - The Cluster is being deleted.// "REPAIRING" - The Cluster is undergoing maintenance, for example: a failed// node is getting replaced.Statestring `json:"state,omitempty"`// StretchedClusterConfig: Optional. Configuration of a stretched cluster.// Required for clusters that belong to a STRETCHED private cloud.StretchedClusterConfig *StretchedClusterConfig `json:"stretchedClusterConfig,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AutoscalingSettings") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoscalingSettings") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Cluster: A cluster in a private cloud.
func (Cluster)MarshalJSON¶
typeConstraints¶added inv0.223.0
type Constraints struct {// DisallowedIntervals: Output only. Output Only. A list of intervals in which// maintenance windows are not allowed. Any time window that overlaps with any// of these intervals will be considered invalid.DisallowedIntervals []*WeeklyTimeInterval `json:"disallowedIntervals,omitempty"`// MinHoursDay: Output only. Minimum number of hours must be allotted for the// upgrade activities for each selected day. This is a minimum; the upgrade// schedule can allot more hours for the given day.MinHoursDayint64 `json:"minHoursDay,omitempty"`// MinHoursWeek: Output only. The minimum number of weekly hours must be// allotted for the upgrade activities. This is just a minimum; the schedule// can assign more weekly hours.MinHoursWeekint64 `json:"minHoursWeek,omitempty"`// RescheduleDateRange: Output only. Output Only. The user can only reschedule// an upgrade that starts within this range.RescheduleDateRange *Interval `json:"rescheduleDateRange,omitempty"`// ForceSendFields is a list of field names (e.g. "DisallowedIntervals") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisallowedIntervals") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Constraints: Constraints to be applied while editing a schedule. Theseconstraints ensure that `Upgrade` specific requirements are met.
func (Constraints)MarshalJSON¶added inv0.223.0
func (sConstraints) MarshalJSON() ([]byte,error)
typeCredentials¶
type Credentials struct {// Password: Initial password.Passwordstring `json:"password,omitempty"`// Username: Initial username.Usernamestring `json:"username,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Password") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Password") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Credentials: Credentials for a private cloud.
func (Credentials)MarshalJSON¶
func (sCredentials) MarshalJSON() ([]byte,error)
typeDnsBindPermission¶added inv0.151.0
type DnsBindPermission struct {// Name: Required. Output only. The name of the resource which stores the// users/service accounts having the permission to bind to the corresponding// intranet VPC of the consumer project. DnsBindPermission is a global resource// and location can only be global. Resource names are schemeless URIs that// follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/global/dnsBindPermission`Namestring `json:"name,omitempty"`// Principals: Output only. Users/Service accounts which have access for// binding on the intranet VPC project corresponding to the consumer project.Principals []*Principal `json:"principals,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Name") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}DnsBindPermission: DnsBindPermission resource that contains the accountshaving the consumer DNS bind permission on the corresponding intranet VPC ofthe consumer project.
func (DnsBindPermission)MarshalJSON¶added inv0.151.0
func (sDnsBindPermission) MarshalJSON() ([]byte,error)
typeDnsForwarding¶added inv0.151.0
type DnsForwarding struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// ForwardingRules: Required. List of domain mappings to configureForwardingRules []*ForwardingRule `json:"forwardingRules,omitempty"`// Name: Output only. Identifier. The resource name of this DNS profile.// Resource names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwar// ding`Namestring `json:"name,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}DnsForwarding: DNS forwarding config. This config defines a list of domainto name server mappings, and is attached to the private cloud for customdomain resolution.
func (DnsForwarding)MarshalJSON¶added inv0.151.0
func (sDnsForwarding) MarshalJSON() ([]byte,error)
typeEmpty¶
type Empty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
typeExpr¶
type Expr struct {// Description: Optional. Description of the expression. This is a longer text// which describes the expression, e.g. when hovered over it in a UI.Descriptionstring `json:"description,omitempty"`// Expression: Textual representation of an expression in Common Expression// Language syntax.Expressionstring `json:"expression,omitempty"`// Location: Optional. String indicating the location of the expression for// error reporting, e.g. a file name and a position in the file.Locationstring `json:"location,omitempty"`// Title: 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.Titlestring `json:"title,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Expr: Represents a textual expression in the Common Expression Language(CEL) syntax. CEL is a C-like expression language. The syntax and semanticsof CEL are documented athttps://github.com/google/cel-spec. Example(Comparison): title: "Summary size limit" description: "Determines if asummary is less than 100 chars" expression: "document.summary.size() < 100"Example (Equality): title: "Requestor is owner" description: "Determines ifrequestor is the document owner" expression: "document.owner ==request.auth.claims.email" Example (Logic): title: "Public documents"description: "Determine whether the document should be publicly visible"expression: "document.type != 'private' && document.type != 'internal'"Example (Data Manipulation): title: "Notification string" description:"Create a notification string with a timestamp." expression: "'New messagereceived at ' + string(document.create_time)" The exact variables andfunctions that may be referenced within an expression are determined by theservice that evaluates it. See the service documentation for additionalinformation.
func (Expr)MarshalJSON¶
typeExternalAccessRule¶added inv0.151.0
type ExternalAccessRule struct {// Action: The action that the external access rule performs.//// Possible values:// "ACTION_UNSPECIFIED" - Defaults to allow.// "ALLOW" - Allows connections that match the other specified components.// "DENY" - Blocks connections that match the other specified components.Actionstring `json:"action,omitempty"`// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Description: User-provided description for this external access rule.Descriptionstring `json:"description,omitempty"`// DestinationIpRanges: If destination ranges are specified, the external// access rule applies only to the traffic that has a destination IP address in// these ranges. The specified IP addresses must have reserved external IP// addresses in the scope of the parent network policy. To match all external// IP addresses in the scope of the parent network policy, specify `0.0.0.0/0`.// To match a specific external IP address, specify it using the// `IpRange.external_address` property.DestinationIpRanges []*IpRange `json:"destinationIpRanges,omitempty"`// DestinationPorts: A list of destination ports to which the external access// rule applies. This field is only applicable for the UDP or TCP protocol.// Each entry must be either an integer or a range. For example: `["22"]`,// `["80","443"]`, or `["12345-12349"]`. To match all destination ports,// specify `["0-65535"]`.DestinationPorts []string `json:"destinationPorts,omitempty"`// IpProtocol: The IP protocol to which the external access rule applies. This// value can be one of the following three protocol strings (not// case-sensitive): `tcp`, `udp`, or `icmp`.IpProtocolstring `json:"ipProtocol,omitempty"`// Name: Output only. The resource name of this external access rule. Resource// names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1/networkPolicies/my-policy/external// AccessRules/my-rule`Namestring `json:"name,omitempty"`// Priority: External access rule priority, which determines the external// access rule to use when multiple rules apply. If multiple rules have the// same priority, their ordering is non-deterministic. If specific ordering is// required, assign unique priorities to enforce such ordering. The external// access rule priority is an integer from 100 to 4096, both inclusive. Lower// integers indicate higher precedence. For example, a rule with priority `100`// has higher precedence than a rule with priority `101`.Priorityint64 `json:"priority,omitempty"`// SourceIpRanges: If source ranges are specified, the external access rule// applies only to traffic that has a source IP address in these ranges. These// ranges can either be expressed in the CIDR format or as an IP address. As// only inbound rules are supported, `ExternalAddress` resources cannot be the// source IP addresses of an external access rule. To match all source// addresses, specify `0.0.0.0/0`.SourceIpRanges []*IpRange `json:"sourceIpRanges,omitempty"`// SourcePorts: A list of source ports to which the external access rule// applies. This field is only applicable for the UDP or TCP protocol. Each// entry must be either an integer or a range. For example: `["22"]`,// `["80","443"]`, or `["12345-12349"]`. To match all source ports, specify// `["0-65535"]`.SourcePorts []string `json:"sourcePorts,omitempty"`// State: Output only. The state of the resource.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value is used if the state// is omitted.// "ACTIVE" - The rule is ready.// "CREATING" - The rule is being created.// "UPDATING" - The rule is being updated.// "DELETING" - The rule is being deleted.Statestring `json:"state,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Action") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Action") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ExternalAccessRule: External access firewall rules for filtering incomingtraffic destined to `ExternalAddress` resources.
func (ExternalAccessRule)MarshalJSON¶added inv0.151.0
func (sExternalAccessRule) MarshalJSON() ([]byte,error)
typeExternalAddress¶added inv0.151.0
type ExternalAddress struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Description: User-provided description for this resource.Descriptionstring `json:"description,omitempty"`// ExternalIp: Output only. The external IP address of a workload VM.ExternalIpstring `json:"externalIp,omitempty"`// InternalIp: The internal IP address of a workload VM.InternalIpstring `json:"internalIp,omitempty"`// Name: Output only. Identifier. The resource name of this external IP// address. Resource names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalA// ddresses/my-address`Namestring `json:"name,omitempty"`// State: Output only. The state of the resource.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "ACTIVE" - The address is ready.// "CREATING" - The address is being created.// "UPDATING" - The address is being updated.// "DELETING" - The address is being deleted.Statestring `json:"state,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ExternalAddress: Represents an allocated external IP address and itscorresponding internal IP address in a private cloud.
func (ExternalAddress)MarshalJSON¶added inv0.151.0
func (sExternalAddress) MarshalJSON() ([]byte,error)
typeFetchNetworkPolicyExternalAddressesResponse¶added inv0.151.0
type FetchNetworkPolicyExternalAddressesResponse struct {// ExternalAddresses: A list of external IP addresses assigned to VMware// workload VMs within the scope of the given network policy.ExternalAddresses []*ExternalAddress `json:"externalAddresses,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `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. "ExternalAddresses") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExternalAddresses") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}FetchNetworkPolicyExternalAddressesResponse: Response message forVmwareEngine.FetchNetworkPolicyExternalAddresses
func (FetchNetworkPolicyExternalAddressesResponse)MarshalJSON¶added inv0.151.0
func (sFetchNetworkPolicyExternalAddressesResponse) MarshalJSON() ([]byte,error)
typeForwardingRule¶added inv0.151.0
type ForwardingRule struct {// Domain: Required. Domain used to resolve a `name_servers` list.Domainstring `json:"domain,omitempty"`// NameServers: Required. List of DNS servers to use for domain resolutionNameServers []string `json:"nameServers,omitempty"`// ForceSendFields is a list of field names (e.g. "Domain") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Domain") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ForwardingRule: A forwarding rule is a mapping of a `domain` to`name_servers`. This mapping allows VMware Engine to resolve domains forattached private clouds by forwarding DNS requests for a given domain to thespecified nameservers.
func (ForwardingRule)MarshalJSON¶added inv0.151.0
func (sForwardingRule) MarshalJSON() ([]byte,error)
typeGrantDnsBindPermissionRequest¶added inv0.151.0
type GrantDnsBindPermissionRequest struct {// Principal: Required. The consumer provided user/service account which needs// to be granted permission to bind with the intranet VPC corresponding to the// consumer project.Principal *Principal `json:"principal,omitempty"`// RequestId: Optional. A 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. The server guarantees// that a request doesn't result in creation of duplicate commitments for at// least 60 minutes. 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).RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "Principal") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Principal") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}GrantDnsBindPermissionRequest: Request message forVmwareEngine.GrantDnsBindPermission
func (GrantDnsBindPermissionRequest)MarshalJSON¶added inv0.151.0
func (sGrantDnsBindPermissionRequest) MarshalJSON() ([]byte,error)
typeHcx¶
type Hcx struct {// Fqdn: Fully qualified domain name of the appliance.Fqdnstring `json:"fqdn,omitempty"`// InternalIp: Internal IP address of the appliance.InternalIpstring `json:"internalIp,omitempty"`// State: Output only. The state of the appliance.//// Possible values:// "STATE_UNSPECIFIED" - Unspecified appliance state. This is the default// value.// "ACTIVE" - The appliance is operational and can be used.// "CREATING" - The appliance is being deployed.// "ACTIVATING" - The appliance is being activated.Statestring `json:"state,omitempty"`// Version: Version of the appliance.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Fqdn") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Fqdn") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Hcx: Details about a HCX Cloud Manager appliance.
func (Hcx)MarshalJSON¶
typeHcxActivationKey¶
type HcxActivationKey struct {// ActivationKey: Output only. HCX activation key.ActivationKeystring `json:"activationKey,omitempty"`// CreateTime: Output only. Creation time of HCX activation key.CreateTimestring `json:"createTime,omitempty"`// Name: Output only. The resource name of this HcxActivationKey. Resource// names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivati// onKeys/my-key`Namestring `json:"name,omitempty"`// State: Output only. State of HCX activation key.//// Possible values:// "STATE_UNSPECIFIED" - Unspecified state.// "AVAILABLE" - State of a newly generated activation key.// "CONSUMED" - State of key when it has been used to activate HCX appliance.// "CREATING" - State of key when it is being created.Statestring `json:"state,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ActivationKey") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ActivationKey") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}HcxActivationKey: HCX activation key. A default key is created duringprivate cloud provisioning, but this behavior is subject to change and youshould always verify active keys. Use VmwareEngine.ListHcxActivationKeys toretrieve existing keys and VmwareEngine.CreateHcxActivationKey to create newones.
func (HcxActivationKey)MarshalJSON¶
func (sHcxActivationKey) MarshalJSON() ([]byte,error)
typeInterval¶added inv0.223.0
type Interval struct {// EndTime: Optional. Exclusive end of the interval. If specified, a Timestamp// matching this interval will have to be before the end.EndTimestring `json:"endTime,omitempty"`// StartTime: Optional. Inclusive start of the interval. If specified, a// Timestamp matching this interval will have to be the same or after the// start.StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "EndTime") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Interval: Represents a time interval, encoded as a Timestamp start(inclusive) and a Timestamp end (exclusive). The start must be less than orequal to the end. When the start equals the end, the interval is empty(matches no time). When both start and end are unspecified, the intervalmatches any time.
func (Interval)MarshalJSON¶added inv0.223.0
typeIpRange¶added inv0.151.0
type IpRange struct {// ExternalAddress: The name of an `ExternalAddress` resource. The external// address must have been reserved in the scope of this external access rule's// parent network policy. Provide the external address name in the form of// `projects/{project}/locations/{location}/privateClouds/{private_cloud}/extern// alAddresses/{external_address}`. For example:// `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalA// ddresses/my-address`.ExternalAddressstring `json:"externalAddress,omitempty"`// IpAddress: A single IP address. For example: `10.0.0.5`.IpAddressstring `json:"ipAddress,omitempty"`// IpAddressRange: An IP address range in the CIDR format. For example:// `10.0.0.0/24`.IpAddressRangestring `json:"ipAddressRange,omitempty"`// ForceSendFields is a list of field names (e.g. "ExternalAddress") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExternalAddress") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}IpRange: An IP range provided in any one of the supported formats.
func (IpRange)MarshalJSON¶added inv0.151.0
typeListAnnouncementsResponse¶added inv0.223.0
type ListAnnouncementsResponse struct {// Announcements: A list of announcement runs.Announcements []*Announcement `json:"announcements,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: list of unreachable locationsUnreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Announcements") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Announcements") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListAnnouncementsResponse: Response message forVmwareEngine.ListAnnouncements
func (ListAnnouncementsResponse)MarshalJSON¶added inv0.223.0
func (sListAnnouncementsResponse) MarshalJSON() ([]byte,error)
typeListClustersResponse¶
type ListClustersResponse struct {// Clusters: A list of private cloud clusters.Clusters []*Cluster `json:"clusters,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Clusters") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Clusters") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListClustersResponse: Response message for VmwareEngine.ListClusters
func (ListClustersResponse)MarshalJSON¶
func (sListClustersResponse) MarshalJSON() ([]byte,error)
typeListExternalAccessRulesResponse¶added inv0.151.0
type ListExternalAccessRulesResponse struct {// ExternalAccessRules: A list of external access firewall rules.ExternalAccessRules []*ExternalAccessRule `json:"externalAccessRules,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ExternalAccessRules") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExternalAccessRules") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListExternalAccessRulesResponse: Response message forVmwareEngine.ListExternalAccessRules
func (ListExternalAccessRulesResponse)MarshalJSON¶added inv0.151.0
func (sListExternalAccessRulesResponse) MarshalJSON() ([]byte,error)
typeListExternalAddressesResponse¶added inv0.151.0
type ListExternalAddressesResponse struct {// ExternalAddresses: A list of external IP addresses.ExternalAddresses []*ExternalAddress `json:"externalAddresses,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ExternalAddresses") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExternalAddresses") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListExternalAddressesResponse: Response message forVmwareEngine.ListExternalAddresses
func (ListExternalAddressesResponse)MarshalJSON¶added inv0.151.0
func (sListExternalAddressesResponse) MarshalJSON() ([]byte,error)
typeListHcxActivationKeysResponse¶
type ListHcxActivationKeysResponse struct {// HcxActivationKeys: List of HCX activation keys.HcxActivationKeys []*HcxActivationKey `json:"hcxActivationKeys,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "HcxActivationKeys") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "HcxActivationKeys") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListHcxActivationKeysResponse: Response message forVmwareEngine.ListHcxActivationKeys
func (ListHcxActivationKeysResponse)MarshalJSON¶
func (sListHcxActivationKeysResponse) MarshalJSON() ([]byte,error)
typeListLocationsResponse¶
type ListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*Location `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `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. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLocationsResponse: The response message for Locations.ListLocations.
func (ListLocationsResponse)MarshalJSON¶
func (sListLocationsResponse) MarshalJSON() ([]byte,error)
typeListLoggingServersResponse¶added inv0.151.0
type ListLoggingServersResponse struct {// LoggingServers: A list of Logging Servers.LoggingServers []*LoggingServer `json:"loggingServers,omitempty"`// NextPageToken: A token, which can be send as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "LoggingServers") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "LoggingServers") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListLoggingServersResponse: Response message forVmwareEngine.ListLoggingServers
func (ListLoggingServersResponse)MarshalJSON¶added inv0.151.0
func (sListLoggingServersResponse) MarshalJSON() ([]byte,error)
typeListManagementDnsZoneBindingsResponse¶added inv0.151.0
type ListManagementDnsZoneBindingsResponse struct {// ManagementDnsZoneBindings: A list of management DNS zone bindings.ManagementDnsZoneBindings []*ManagementDnsZoneBinding `json:"managementDnsZoneBindings,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ManagementDnsZoneBindings")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ManagementDnsZoneBindings") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListManagementDnsZoneBindingsResponse: Response message forVmwareEngine.ListManagementDnsZoneBindings
func (ListManagementDnsZoneBindingsResponse)MarshalJSON¶added inv0.151.0
func (sListManagementDnsZoneBindingsResponse) MarshalJSON() ([]byte,error)
typeListNetworkPeeringsResponse¶added inv0.151.0
type ListNetworkPeeringsResponse struct {// NetworkPeerings: A list of network peerings.NetworkPeerings []*NetworkPeering `json:"networkPeerings,omitempty"`// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Unreachable resources.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NetworkPeerings") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NetworkPeerings") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListNetworkPeeringsResponse: Response message forVmwareEngine.ListNetworkPeerings
func (ListNetworkPeeringsResponse)MarshalJSON¶added inv0.151.0
func (sListNetworkPeeringsResponse) MarshalJSON() ([]byte,error)
typeListNetworkPoliciesResponse¶
type ListNetworkPoliciesResponse struct {// NetworkPolicies: A list of network policies.NetworkPolicies []*NetworkPolicy `json:"networkPolicies,omitempty"`// NextPageToken: A token, which can be send as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NetworkPolicies") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NetworkPolicies") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListNetworkPoliciesResponse: Response message forVmwareEngine.ListNetworkPolicies
func (ListNetworkPoliciesResponse)MarshalJSON¶
func (sListNetworkPoliciesResponse) MarshalJSON() ([]byte,error)
typeListNodeTypesResponse¶
type ListNodeTypesResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// NodeTypes: A list of Node Types.NodeTypes []*NodeType `json:"nodeTypes,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListNodeTypesResponse: Response message for VmwareEngine.ListNodeTypes
func (ListNodeTypesResponse)MarshalJSON¶
func (sListNodeTypesResponse) MarshalJSON() ([]byte,error)
typeListNodesResponse¶added inv0.151.0
type ListNodesResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Nodes: The nodes.Nodes []*Node `json:"nodes,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListNodesResponse: Response message for VmwareEngine.ListNodes
func (ListNodesResponse)MarshalJSON¶added inv0.151.0
func (sListNodesResponse) MarshalJSON() ([]byte,error)
typeListOperationsResponse¶
type ListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*Operation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListOperationsResponse: The response message for Operations.ListOperations.
func (ListOperationsResponse)MarshalJSON¶
func (sListOperationsResponse) MarshalJSON() ([]byte,error)
typeListPeeringRoutesResponse¶added inv0.151.0
type ListPeeringRoutesResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// PeeringRoutes: A list of peering routes.PeeringRoutes []*PeeringRoute `json:"peeringRoutes,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListPeeringRoutesResponse: Response message forVmwareEngine.ListPeeringRoutes
func (ListPeeringRoutesResponse)MarshalJSON¶added inv0.151.0
func (sListPeeringRoutesResponse) MarshalJSON() ([]byte,error)
typeListPrivateCloudsResponse¶
type ListPrivateCloudsResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// PrivateClouds: A list of private clouds.PrivateClouds []*PrivateCloud `json:"privateClouds,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListPrivateCloudsResponse: Response message forVmwareEngine.ListPrivateClouds
func (ListPrivateCloudsResponse)MarshalJSON¶
func (sListPrivateCloudsResponse) MarshalJSON() ([]byte,error)
typeListPrivateConnectionPeeringRoutesResponse¶
type ListPrivateConnectionPeeringRoutesResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// PeeringRoutes: A list of peering routes.PeeringRoutes []*PeeringRoute `json:"peeringRoutes,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListPrivateConnectionPeeringRoutesResponse: Response message forVmwareEngine.ListPrivateConnectionPeeringRoutes
func (ListPrivateConnectionPeeringRoutesResponse)MarshalJSON¶
func (sListPrivateConnectionPeeringRoutesResponse) MarshalJSON() ([]byte,error)
typeListPrivateConnectionsResponse¶
type ListPrivateConnectionsResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// PrivateConnections: A list of private connections.PrivateConnections []*PrivateConnection `json:"privateConnections,omitempty"`// Unreachable: Unreachable resources.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListPrivateConnectionsResponse: Response message forVmwareEngine.ListPrivateConnections
func (ListPrivateConnectionsResponse)MarshalJSON¶
func (sListPrivateConnectionsResponse) MarshalJSON() ([]byte,error)
typeListSubnetsResponse¶
type ListSubnetsResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Subnets: A list of subnets.Subnets []*Subnet `json:"subnets,omitempty"`// Unreachable: Locations that could not be reached when making an aggregated// query using wildcards.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListSubnetsResponse: Response message for VmwareEngine.ListSubnets
func (ListSubnetsResponse)MarshalJSON¶
func (sListSubnetsResponse) MarshalJSON() ([]byte,error)
typeListUpgradesResponse¶added inv0.223.0
type ListUpgradesResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: List of unreachable resources.Unreachable []string `json:"unreachable,omitempty"`// Upgrades: A list of `Upgrades`.Upgrades []*Upgrade `json:"upgrades,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListUpgradesResponse: Response message for VmwareEngine.ListUpgrades.
func (ListUpgradesResponse)MarshalJSON¶added inv0.223.0
func (sListUpgradesResponse) MarshalJSON() ([]byte,error)
typeListVmwareEngineNetworksResponse¶
type ListVmwareEngineNetworksResponse struct {// NextPageToken: A token, which can be sent as `page_token` to retrieve the// next page. If this field is omitted, there are no subsequent pages.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: Unreachable resources.Unreachable []string `json:"unreachable,omitempty"`// VmwareEngineNetworks: A list of VMware Engine networks.VmwareEngineNetworks []*VmwareEngineNetwork `json:"vmwareEngineNetworks,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ListVmwareEngineNetworksResponse: Response message forVmwareEngine.ListVmwareEngineNetworks
func (ListVmwareEngineNetworksResponse)MarshalJSON¶
func (sListVmwareEngineNetworksResponse) MarshalJSON() ([]byte,error)
typeLocation¶
type Location struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Location: A resource that represents a Google Cloud location.
func (Location)MarshalJSON¶
typeLocationMetadata¶added inv0.151.0
type LocationMetadata struct {// Capabilities: Output only. Capabilities of this location.//// Possible values:// "CAPABILITY_UNSPECIFIED" - The default value. This value is used if the// capability is omitted or unknown.// "STRETCHED_CLUSTERS" - Stretch clusters are supported in this location.Capabilities []string `json:"capabilities,omitempty"`// ForceSendFields is a list of field names (e.g. "Capabilities") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Capabilities") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}LocationMetadata: VmwareEngine specific metadata for the givengoogle.cloud.location.Location. It is returned as a content of the`google.cloud.location.Location.metadata` field.
func (LocationMetadata)MarshalJSON¶added inv0.151.0
func (sLocationMetadata) MarshalJSON() ([]byte,error)
typeLoggingServer¶added inv0.151.0
type LoggingServer struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Hostname: Required. Fully-qualified domain name (FQDN) or IP Address of the// logging server.Hostnamestring `json:"hostname,omitempty"`// Name: Output only. The resource name of this logging server. Resource names// are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingSe// rvers/my-logging-server`Namestring `json:"name,omitempty"`// Port: Required. Port number at which the logging server receives logs.Portint64 `json:"port,omitempty"`// Protocol: Required. Protocol used by vCenter to send logs to a logging// server.//// Possible values:// "PROTOCOL_UNSPECIFIED" - Unspecified communications protocol. This is the// default value.// "UDP" - UDP// "TCP" - TCP// "TLS" - TLS// "SSL" - SSL// "RELP" - RELPProtocolstring `json:"protocol,omitempty"`// SourceType: Required. The type of component that produces logs that will be// forwarded to this logging server.//// Possible values:// "SOURCE_TYPE_UNSPECIFIED" - The default value. This value should never be// used.// "ESXI" - Logs produced by ESXI hosts// "VCSA" - Logs produced by vCenter serverSourceTypestring `json:"sourceType,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}LoggingServer: Logging server to receive vCenter or ESXi logs.
func (LoggingServer)MarshalJSON¶added inv0.151.0
func (sLoggingServer) MarshalJSON() ([]byte,error)
typeManagementCluster¶
type ManagementCluster struct {// ClusterId: Required. The user-provided identifier of the new `Cluster`. The// identifier must meet the following requirements: * Only contains 1-63// alphanumeric characters and hyphens * Begins with an alphabetical character// * Ends with a non-hyphen character * Not formatted as a UUID * Complies with//RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)ClusterIdstring `json:"clusterId,omitempty"`// NodeTypeConfigs: Required. The map of cluster node types in this cluster,// where the key is canonical identifier of the node type (corresponds to the// `NodeType`).NodeTypeConfigs map[string]NodeTypeConfig `json:"nodeTypeConfigs,omitempty"`// StretchedClusterConfig: Optional. Configuration of a stretched cluster.// Required for STRETCHED private clouds.StretchedClusterConfig *StretchedClusterConfig `json:"stretchedClusterConfig,omitempty"`// ForceSendFields is a list of field names (e.g. "ClusterId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ClusterId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ManagementCluster: Management cluster configuration.
func (ManagementCluster)MarshalJSON¶
func (sManagementCluster) MarshalJSON() ([]byte,error)
typeManagementDnsZoneBinding¶added inv0.151.0
type ManagementDnsZoneBinding struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Description: User-provided description for this resource.Descriptionstring `json:"description,omitempty"`// Name: Output only. The resource name of this binding. Resource names are// schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managemen// tDnsZoneBindings/my-management-dns-zone-binding`Namestring `json:"name,omitempty"`// State: Output only. The state of the resource.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "ACTIVE" - The binding is ready.// "CREATING" - The binding is being created.// "UPDATING" - The binding is being updated.// "DELETING" - The binding is being deleted.// "FAILED" - The binding has failed.Statestring `json:"state,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// VmwareEngineNetwork: Network to bind is a VMware Engine network. Specify the// name in the following form for VMware engine network:// `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_netw// ork_id}`. `{project}` can either be a project number or a project ID.VmwareEngineNetworkstring `json:"vmwareEngineNetwork,omitempty"`// VpcNetwork: Network to bind is a standard consumer VPC. Specify the name in// the following form for consumer VPC network:// `projects/{project}/global/networks/{network_id}`. `{project}` can either be// a project number or a project ID.VpcNetworkstring `json:"vpcNetwork,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ManagementDnsZoneBinding: Represents a binding between a network and themanagement DNS zone. A management DNS zone is the Cloud DNS cross-projectbinding zone that VMware Engine creates for each private cloud. It containsFQDNs and corresponding IP addresses for the private cloud's ESXi hosts andmanagement VM appliances like vCenter and NSX Manager.
func (ManagementDnsZoneBinding)MarshalJSON¶added inv0.151.0
func (sManagementDnsZoneBinding) MarshalJSON() ([]byte,error)
typeNetworkConfig¶
type NetworkConfig struct {// DnsServerIp: Output only. DNS Server IP of the Private Cloud. All DNS// queries can be forwarded to this address for name resolution of Private// Cloud's management entities like vCenter, NSX-T Manager and ESXi hosts.DnsServerIpstring `json:"dnsServerIp,omitempty"`// ManagementCidr: Required. Management CIDR used by VMware management// appliances.ManagementCidrstring `json:"managementCidr,omitempty"`// ManagementIpAddressLayoutVersion: Output only. The IP address layout version// of the management IP address range. Possible versions include: *// `managementIpAddressLayoutVersion=1`: Indicates the legacy IP address layout// used by some existing private clouds. This is no longer supported for new// private clouds as it does not support all features. *// `managementIpAddressLayoutVersion=2`: Indicates the latest IP address layout// used by all newly created private clouds. This version supports all current// features.ManagementIpAddressLayoutVersionint64 `json:"managementIpAddressLayoutVersion,omitempty"`// VmwareEngineNetwork: Optional. The relative resource name of the VMware// Engine network attached to the private cloud. Specify the name in the// following form:// `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_// network_id}` where `{project}` can either be a project number or a project// ID.VmwareEngineNetworkstring `json:"vmwareEngineNetwork,omitempty"`// VmwareEngineNetworkCanonical: Output only. The canonical name of the VMware// Engine network in the form:// `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_// engine_network_id}`VmwareEngineNetworkCanonicalstring `json:"vmwareEngineNetworkCanonical,omitempty"`// ForceSendFields is a list of field names (e.g. "DnsServerIp") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DnsServerIp") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}NetworkConfig: Network configuration in the consumer project with which thepeering has to be done.
func (NetworkConfig)MarshalJSON¶
func (sNetworkConfig) MarshalJSON() ([]byte,error)
typeNetworkPeering¶added inv0.151.0
type NetworkPeering struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. User-provided description for this network peering.Descriptionstring `json:"description,omitempty"`// ExchangeSubnetRoutes: Optional. True if full mesh connectivity is created// and managed automatically between peered networks; false otherwise.// Currently this field is always true because Google Compute Engine// automatically creates and manages subnetwork routes between two VPC networks// when peering state is 'ACTIVE'.ExchangeSubnetRoutesbool `json:"exchangeSubnetRoutes,omitempty"`// ExportCustomRoutes: Optional. True if custom routes are exported to the// peered network; false otherwise. The default value is true.ExportCustomRoutesbool `json:"exportCustomRoutes,omitempty"`// ExportCustomRoutesWithPublicIp: Optional. True if all subnet routes with a// public IP address range are exported; false otherwise. The default value is// true. IPv4 special-use ranges// (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always exported// to peers and are not controlled by this field.ExportCustomRoutesWithPublicIpbool `json:"exportCustomRoutesWithPublicIp,omitempty"`// ImportCustomRoutes: Optional. True if custom routes are imported from the// peered network; false otherwise. The default value is true.ImportCustomRoutesbool `json:"importCustomRoutes,omitempty"`// ImportCustomRoutesWithPublicIp: Optional. True if all subnet routes with// public IP address range are imported; false otherwise. The default value is// true. IPv4 special-use ranges// (https://en.wikipedia.org/wiki/IPv4#Special_addresses) are always imported// to peers and are not controlled by this field.ImportCustomRoutesWithPublicIpbool `json:"importCustomRoutesWithPublicIp,omitempty"`// Name: Output only. Identifier. The resource name of the network peering.// NetworkPeering is a global resource and location can only be global.// Resource names are scheme-less URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/global/networkPeerings/my-peering`Namestring `json:"name,omitempty"`// PeerMtu: Optional. Maximum transmission unit (MTU) in bytes. The default// value is `1500`. If a value of `0` is provided for this field, VMware Engine// uses the default value instead.PeerMtuint64 `json:"peerMtu,omitempty"`// PeerNetwork: Required. The relative resource name of the network to peer// with a standard VMware Engine network. The provided network can be a// consumer VPC network or another standard VMware Engine network. If the// `peer_network_type` is VMWARE_ENGINE_NETWORK, specify the name in the form:// `projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_netw// ork_id}`. Otherwise specify the name in the form:// `projects/{project}/global/networks/{network_id}`, where `{project}` can// either be a project number or a project ID.PeerNetworkstring `json:"peerNetwork,omitempty"`// PeerNetworkType: Required. The type of the network to peer with the VMware// Engine network.//// Possible values:// "PEER_NETWORK_TYPE_UNSPECIFIED" - Unspecified// "STANDARD" - Peering connection used for connecting to another VPC network// established by the same user. For example, a peering connection to another// VPC network in the same project or to an on-premises network.// "VMWARE_ENGINE_NETWORK" - Peering connection used for connecting to// another VMware Engine network.// "PRIVATE_SERVICES_ACCESS" - Peering connection used for establishing// [private services// access](https://cloud.google.com/vpc/docs/private-services-access).// "NETAPP_CLOUD_VOLUMES" - Peering connection used for connecting to NetApp// Cloud Volumes.// "THIRD_PARTY_SERVICE" - Peering connection used for connecting to// third-party services. Most third-party services require manual setup of// reverse peering on the VPC network associated with the third-party service.// "DELL_POWERSCALE" - Peering connection used for connecting to Dell// PowerScale Filers// "GOOGLE_CLOUD_NETAPP_VOLUMES" - Peering connection used for connecting to// Google Cloud NetApp Volumes.// "GOOGLE_CLOUD_FILESTORE_INSTANCES" - Peering connection used for// connecting to Google Cloud Filestore Instances.PeerNetworkTypestring `json:"peerNetworkType,omitempty"`// State: Output only. State of the network peering. This field has a value of// 'ACTIVE' when there's a matching configuration in the peer network. New// values may be added to this enum when appropriate.//// Possible values:// "STATE_UNSPECIFIED" - Unspecified network peering state. This is the// default value.// "INACTIVE" - The peering is not active.// "ACTIVE" - The peering is active.// "CREATING" - The peering is being created.// "DELETING" - The peering is being deleted.Statestring `json:"state,omitempty"`// StateDetails: Output only. Output Only. Details about the current state of// the network peering.StateDetailsstring `json:"stateDetails,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// VmwareEngineNetwork: Required. The relative resource name of the VMware// Engine network. Specify the name in the following form:// `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_// network_id}` where `{project}` can either be a project number or a project// ID.VmwareEngineNetworkstring `json:"vmwareEngineNetwork,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}NetworkPeering: Details of a network peering.
func (NetworkPeering)MarshalJSON¶added inv0.151.0
func (sNetworkPeering) MarshalJSON() ([]byte,error)
typeNetworkPolicy¶
type NetworkPolicy struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. User-provided description for this network policy.Descriptionstring `json:"description,omitempty"`// EdgeServicesCidr: Required. IP address range in CIDR notation used to create// internet access and external IP access. AnRFC 1918 CIDR block, with a "/26"// prefix, is required. The range cannot overlap with any prefixes either in// the consumer VPC network or in use by the private clouds attached to that// VPC network.EdgeServicesCidrstring `json:"edgeServicesCidr,omitempty"`// ExternalIp: Network service that allows External IP addresses to be assigned// to VMware workloads. This service can only be enabled when `internet_access`// is also enabled.ExternalIp *NetworkService `json:"externalIp,omitempty"`// InternetAccess: Network service that allows VMware workloads to access the// internet.InternetAccess *NetworkService `json:"internetAccess,omitempty"`// Name: Output only. Identifier. The resource name of this network policy.// Resource names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1/networkPolicies/my-network-policy`Namestring `json:"name,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// VmwareEngineNetwork: Optional. The relative resource name of the VMware// Engine network. Specify the name in the following form:// `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_// network_id}` where `{project}` can either be a project number or a project// ID.VmwareEngineNetworkstring `json:"vmwareEngineNetwork,omitempty"`// VmwareEngineNetworkCanonical: Output only. The canonical name of the VMware// Engine network in the form:// `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_// engine_network_id}`VmwareEngineNetworkCanonicalstring `json:"vmwareEngineNetworkCanonical,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}NetworkPolicy: Represents a network policy resource. Network policies areregional resources. You can use a network policy to enable or disableinternet access and external IP access. Network policies are associated witha VMware Engine network, which might span across regions. For a givenregion, a network policy applies to all private clouds in the VMware Enginenetwork associated with the policy.
func (NetworkPolicy)MarshalJSON¶
func (sNetworkPolicy) MarshalJSON() ([]byte,error)
typeNetworkService¶
type NetworkService struct {// Enabled: True if the service is enabled; false otherwise.Enabledbool `json:"enabled,omitempty"`// State: Output only. State of the service. New values may be added to this// enum when appropriate.//// Possible values:// "STATE_UNSPECIFIED" - Unspecified service state. This is the default// value.// "UNPROVISIONED" - Service is not provisioned.// "RECONCILING" - Service is in the process of being// provisioned/deprovisioned.// "ACTIVE" - Service is active.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "Enabled") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}NetworkService: Represents a network service that is managed by a`NetworkPolicy` resource. A network service provides a way to control anaspect of external access to VMware workloads. For example, whether theVMware workloads in the private clouds governed by a network policy canaccess or be accessed from the internet.
func (NetworkService)MarshalJSON¶
func (sNetworkService) MarshalJSON() ([]byte,error)
typeNode¶added inv0.151.0
type Node struct {// CustomCoreCount: Output only. Customized number of coresCustomCoreCountint64 `json:"customCoreCount,omitempty,string"`// Fqdn: Output only. Fully qualified domain name of the node.Fqdnstring `json:"fqdn,omitempty"`// InternalIp: Output only. Internal IP address of the node.InternalIpstring `json:"internalIp,omitempty"`// Name: Output only. The resource name of this node. Resource names are// schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/m// y-cluster/nodes/my-nodeNamestring `json:"name,omitempty"`// NodeTypeId: Output only. The canonical identifier of the node type// (corresponds to the `NodeType`). For example: standard-72.NodeTypeIdstring `json:"nodeTypeId,omitempty"`// State: Output only. The state of the appliance.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "ACTIVE" - Node is operational and can be used by the user.// "CREATING" - Node is being provisioned.// "FAILED" - Node is in a failed state.// "UPGRADING" - Node is undergoing maintenance, e.g.: during private cloud// upgrade.Statestring `json:"state,omitempty"`// Version: Output only. The version number of the VMware ESXi management// component in this cluster.Versionstring `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CustomCoreCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomCoreCount") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Node: Node in a cluster.
func (Node)MarshalJSON¶added inv0.151.0
typeNodeType¶
type NodeType struct {// AvailableCustomCoreCounts: Output only. List of possible values of custom// core count.AvailableCustomCoreCounts []int64 `json:"availableCustomCoreCounts,omitempty"`// Capabilities: Output only. Capabilities of this node type.//// Possible values:// "CAPABILITY_UNSPECIFIED" - The default value. This value is used if the// capability is omitted or unknown.// "STRETCHED_CLUSTERS" - This node type supports stretch clusters.Capabilities []string `json:"capabilities,omitempty"`// DiskSizeGb: Output only. The amount of storage available, defined in GB.DiskSizeGbint64 `json:"diskSizeGb,omitempty"`// DisplayName: Output only. The friendly name for this node type. For example:// ve1-standard-72DisplayNamestring `json:"displayName,omitempty"`// Families: Output only. Families of the node type. For node types to be in// the same cluster they must share at least one element in the `families`.Families []string `json:"families,omitempty"`// Kind: Output only. The type of the resource.//// Possible values:// "KIND_UNSPECIFIED" - The default value. This value should never be used.// "STANDARD" - Standard HCI node.// "STORAGE_ONLY" - Storage only Node.Kindstring `json:"kind,omitempty"`// MemoryGb: Output only. The amount of physical memory available, defined in// GB.MemoryGbint64 `json:"memoryGb,omitempty"`// Name: Output only. The resource name of this node type. Resource names are// schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`Namestring `json:"name,omitempty"`// NodeTypeId: Output only. The canonical identifier of the node type// (corresponds to the `NodeType`). For example: standard-72.NodeTypeIdstring `json:"nodeTypeId,omitempty"`// TotalCoreCount: Output only. The total number of CPU cores in a single node.TotalCoreCountint64 `json:"totalCoreCount,omitempty"`// VirtualCpuCount: Output only. The total number of virtual CPUs in a single// node.VirtualCpuCountint64 `json:"virtualCpuCount,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AvailableCustomCoreCounts")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AvailableCustomCoreCounts") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}NodeType: Describes node type.
func (NodeType)MarshalJSON¶
typeNodeTypeConfig¶
type NodeTypeConfig struct {// CustomCoreCount: Optional. Customized number of cores available to each node// of the type. This number must always be one of// `nodeType.availableCustomCoreCounts`. If zero is provided max value from// `nodeType.availableCustomCoreCounts` will be used.CustomCoreCountint64 `json:"customCoreCount,omitempty"`// NodeCount: Required. The number of nodes of this type in the clusterNodeCountint64 `json:"nodeCount,omitempty"`// ForceSendFields is a list of field names (e.g. "CustomCoreCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CustomCoreCount") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}NodeTypeConfig: Information about the type and number of nodes associatedwith the cluster.
func (NodeTypeConfig)MarshalJSON¶
func (sNodeTypeConfig) MarshalJSON() ([]byte,error)
typeNsx¶
type Nsx struct {// Fqdn: Fully qualified domain name of the appliance.Fqdnstring `json:"fqdn,omitempty"`// InternalIp: Internal IP address of the appliance.InternalIpstring `json:"internalIp,omitempty"`// State: Output only. The state of the appliance.//// Possible values:// "STATE_UNSPECIFIED" - Unspecified appliance state. This is the default// value.// "ACTIVE" - The appliance is operational and can be used.// "CREATING" - The appliance is being deployed.Statestring `json:"state,omitempty"`// Version: Version of the appliance.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Fqdn") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Fqdn") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Nsx: Details about a NSX Manager appliance.
func (Nsx)MarshalJSON¶
typeOperation¶
type Operation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *Status `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Operation: This resource represents a long-running operation that is theresult of a network API call.
func (Operation)MarshalJSON¶
typeOperationMetadata¶
type OperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. True if the user has requested// cancellation of the operation; false otherwise. Operations that have// successfully been cancelled have Operation.error value with a// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}OperationMetadata: Represents the metadata of the long-running operation.
func (OperationMetadata)MarshalJSON¶
func (sOperationMetadata) MarshalJSON() ([]byte,error)
typePeeringRoute¶
type PeeringRoute struct {// DestRange: Output only. Destination range of the peering route in CIDR// notation.DestRangestring `json:"destRange,omitempty"`// Direction: Output only. Direction of the routes exchanged with the peer// network, from the VMware Engine network perspective: * Routes of direction// `INCOMING` are imported from the peer network. * Routes of direction// `OUTGOING` are exported from the intranet VPC network of the VMware Engine// network.//// Possible values:// "DIRECTION_UNSPECIFIED" - Unspecified exchanged routes direction. This is// default.// "INCOMING" - Routes imported from the peer network.// "OUTGOING" - Routes exported to the peer network.Directionstring `json:"direction,omitempty"`// Imported: Output only. True if the peering route has been imported from a// peered VPC network; false otherwise. The import happens if the field// `NetworkPeering.importCustomRoutes` is true for this network,// `NetworkPeering.exportCustomRoutes` is true for the peer VPC network, and// the import does not result in a route conflict.Importedbool `json:"imported,omitempty"`// NextHopRegion: Output only. Region containing the next hop of the peering// route. This field only applies to dynamic routes in the peer VPC network.NextHopRegionstring `json:"nextHopRegion,omitempty"`// Priority: Output only. The priority of the peering route.Priorityint64 `json:"priority,omitempty,string"`// Type: Output only. Type of the route in the peer VPC network.//// Possible values:// "TYPE_UNSPECIFIED" - Unspecified peering route type. This is the default// value.// "DYNAMIC_PEERING_ROUTE" - Dynamic routes in the peer network.// "STATIC_PEERING_ROUTE" - Static routes in the peer network.// "SUBNET_PEERING_ROUTE" - Created, updated, and removed automatically by// Google Cloud when subnets are created, modified, or deleted in the peer// network.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "DestRange") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}PeeringRoute: Exchanged network peering route.
func (PeeringRoute)MarshalJSON¶
func (sPeeringRoute) MarshalJSON() ([]byte,error)
typePolicy¶
type Policy struct {// AuditConfigs: Specifies cloud audit logging configuration for this policy.AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"`// Bindings: Associates a list of `members`, or principals, with a `role`.// Optionally, may specify a `condition` that determines how and when the// `bindings` are applied. Each of the `bindings` must contain at least one// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals;// up to 250 of these principals can be Google groups. Each occurrence of a// principal counts towards these limits. For example, if the `bindings` grant// 50 different roles to `user:alice@example.com`, and not to any other// principal, then you can add another 1,450 principals to the `bindings` in// the `Policy`.Bindings []*Binding `json:"bindings,omitempty"`// Etag: `etag` is used for optimistic concurrency control as a way to help// prevent simultaneous updates of a policy from overwriting each other. It is// strongly suggested that systems make use of the `etag` in the// read-modify-write cycle to perform policy updates in order to avoid race// conditions: An `etag` is returned in the response to `getIamPolicy`, and// systems are expected to put that etag in the request to `setIamPolicy` to// ensure that their change will be applied to the same version of the policy.// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost.Etagstring `json:"etag,omitempty"`// Version: Specifies the format of the policy. Valid values are `0`, `1`, and// `3`. Requests that specify an invalid value are rejected. Any operation that// affects conditional role bindings must specify version `3`. This requirement// applies to the following operations: * Getting a policy that includes a// conditional role binding * Adding a conditional role binding to a policy *// Changing a conditional role binding in a policy * Removing any role binding,// with or without a condition, from a policy that includes conditions// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost. If a policy does not// include any conditions, operations on that policy may specify any valid// version or leave the field unset. To learn which resources support// conditions in their IAM policies, see the IAM documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Versionint64 `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AuditConfigs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuditConfigs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Policy: An Identity and Access Management (IAM) policy, which specifiesaccess controls for Google Cloud resources. A `Policy` is a collection of`bindings`. A `binding` binds one or more `members`, or principals, to asingle `role`. Principals can be user accounts, service accounts, Googlegroups, and domains (such as G Suite). A `role` is a named list ofpermissions; each `role` can be an IAM predefined role or a user-createdcustom role. For some types of Google Cloud resources, a `binding` can alsospecify a `condition`, which is a logical expression that allows access to aresource only if the expression evaluates to `true`. A condition can addconstraints based on attributes of the request, the resource, or both. Tolearn which resources support conditions in their IAM policies, see the IAMdocumentation(https://cloud.google.com/iam/help/conditions/resource-policies). **JSONexample:** ``` { "bindings": [ { "role":"roles/resourcemanager.organizationAdmin", "members": ["user:mike@example.com", "group:admins@example.com", "domain:google.com","serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role":"roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com" ], "condition": { "title": "expirable access","description": "Does not grant access after Sep 2020", "expression":"request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag":"BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: -members: - user:mike@example.com - group:admins@example.com -domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.comrole: roles/resourcemanager.organizationAdmin - members: -user:eve@example.com role: roles/resourcemanager.organizationViewercondition: title: expirable access description: Does not grant access afterSep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z')etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features,see the IAM documentation (https://cloud.google.com/iam/docs/).
func (Policy)MarshalJSON¶
typePrincipal¶added inv0.151.0
type Principal struct {// ServiceAccount: The service account which needs to be granted the// permission.ServiceAccountstring `json:"serviceAccount,omitempty"`// User: The user who needs to be granted permission.Userstring `json:"user,omitempty"`// ForceSendFields is a list of field names (e.g. "ServiceAccount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ServiceAccount") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Principal: Users/Service accounts which have access for DNS binding on theintranet VPC corresponding to the consumer project.
func (Principal)MarshalJSON¶added inv0.151.0
typePrivateCloud¶
type PrivateCloud struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// DeleteTime: Output only. Time when the resource was scheduled for deletion.DeleteTimestring `json:"deleteTime,omitempty"`// Description: User-provided description for this private cloud.Descriptionstring `json:"description,omitempty"`// ExpireTime: Output only. Time when the resource will be irreversibly// deleted.ExpireTimestring `json:"expireTime,omitempty"`// Hcx: Output only. HCX appliance.Hcx *Hcx `json:"hcx,omitempty"`// ManagementCluster: Required. Input only. The management cluster for this// private cloud. This field is required during creation of the private cloud// to provide details for the default cluster. The following fields can't be// changed after private cloud creation: `ManagementCluster.clusterId`,// `ManagementCluster.nodeTypeId`.ManagementCluster *ManagementCluster `json:"managementCluster,omitempty"`// Name: Output only. Identifier. The resource name of this private cloud.// Resource names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1-a/privateClouds/my-cloud`Namestring `json:"name,omitempty"`// NetworkConfig: Required. Network configuration of the private cloud.NetworkConfig *NetworkConfig `json:"networkConfig,omitempty"`// Nsx: Output only. NSX appliance.Nsx *Nsx `json:"nsx,omitempty"`// State: Output only. State of the resource. New values may be added to this// enum when appropriate.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "ACTIVE" - The private cloud is ready.// "CREATING" - The private cloud is being created.// "UPDATING" - The private cloud is being updated.// "FAILED" - The private cloud is in failed state.// "DELETED" - The private cloud is scheduled for deletion. The deletion// process can be cancelled by using the corresponding undelete method.// "PURGING" - The private cloud is irreversibly deleted and is being removed// from the system.Statestring `json:"state,omitempty"`// Type: Optional. Type of the private cloud. Defaults to STANDARD.//// Possible values:// "STANDARD" - Standard private is a zonal resource, with 3+ nodes. Default// type.// "TIME_LIMITED" - Time limited private cloud is a zonal resource, can have// only 1 node and has limited life span. Will be deleted after defined period// of time, can be converted into standard private cloud by expanding it up to// 3 or more nodes.// "STRETCHED" - Stretched private cloud is a regional resource with// redundancy, with a minimum of 6 nodes, nodes count has to be even.Typestring `json:"type,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// Vcenter: Output only. Vcenter appliance.Vcenter *Vcenter `json:"vcenter,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}PrivateCloud: Represents a private cloud resource. Private clouds of type`STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` privateclouds are regional.
func (PrivateCloud)MarshalJSON¶
func (sPrivateCloud) MarshalJSON() ([]byte,error)
typePrivateConnection¶
type PrivateConnection struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Description: Optional. User-provided description for this private// connection.Descriptionstring `json:"description,omitempty"`// Name: Output only. The resource name of the private connection. Resource// names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1/privateConnections/my-connection`Namestring `json:"name,omitempty"`// PeeringId: Output only. VPC network peering id between given network VPC and// VMwareEngineNetwork.PeeringIdstring `json:"peeringId,omitempty"`// PeeringState: Output only. Peering state between service network and VMware// Engine network.//// Possible values:// "PEERING_STATE_UNSPECIFIED" - The default value. This value is used if the// peering state is omitted or unknown.// "PEERING_ACTIVE" - The peering is in active state.// "PEERING_INACTIVE" - The peering is in inactive state.PeeringStatestring `json:"peeringState,omitempty"`// RoutingMode: Optional. Routing Mode. Default value is set to GLOBAL. For// type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or REGIONAL,// for other types only GLOBAL is supported.//// Possible values:// "ROUTING_MODE_UNSPECIFIED" - The default value. This value should never be// used.// "GLOBAL" - Global Routing Mode// "REGIONAL" - Regional Routing ModeRoutingModestring `json:"routingMode,omitempty"`// ServiceNetwork: Required. Service network to create private connection.// Specify the name in the following form:// `projects/{project}/global/networks/{network_id}` For type =// PRIVATE_SERVICE_ACCESS, this field represents servicenetworking VPC, e.g.// projects/project-tp/global/networks/servicenetworking. For type =// NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC, e.g.// projects/project-tp/global/networks/netapp-tenant-vpc. For type =// DELL_POWERSCALE, this field represent Dell service VPC, e.g.// projects/project-tp/global/networks/dell-tenant-vpc. For type=// THIRD_PARTY_SERVICE, this field could represent a consumer VPC or any other// producer VPC to which the VMware Engine Network needs to be connected, e.g.// projects/project/global/networks/vpc.ServiceNetworkstring `json:"serviceNetwork,omitempty"`// State: Output only. State of the private connection.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value is used if the state// is omitted.// "CREATING" - The private connection is being created.// "ACTIVE" - The private connection is ready.// "UPDATING" - The private connection is being updated.// "DELETING" - The private connection is being deleted.// "UNPROVISIONED" - The private connection is not provisioned, since no// private cloud is present for which this private connection is needed.// "FAILED" - The private connection is in failed state.Statestring `json:"state,omitempty"`// Type: Required. Private connection type.//// Possible values:// "TYPE_UNSPECIFIED" - The default value. This value should never be used.// "PRIVATE_SERVICE_ACCESS" - Connection used for establishing [private// services access](https://cloud.google.com/vpc/docs/private-services-access).// "NETAPP_CLOUD_VOLUMES" - Connection used for connecting to NetApp Cloud// Volumes.// "DELL_POWERSCALE" - Connection used for connecting to Dell PowerScale.// "THIRD_PARTY_SERVICE" - Connection used for connecting to third-party// services.Typestring `json:"type,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// VmwareEngineNetwork: Required. The relative resource name of Legacy VMware// Engine network. Specify the name in the following form:// `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_// network_id}` where `{project}`, `{location}` will be same as specified in// private connection resource name and `{vmware_engine_network_id}` will be in// the form of `{location}`-default e.g.// projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-defau// lt.VmwareEngineNetworkstring `json:"vmwareEngineNetwork,omitempty"`// VmwareEngineNetworkCanonical: Output only. The canonical name of the VMware// Engine network in the form:// `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_// engine_network_id}`VmwareEngineNetworkCanonicalstring `json:"vmwareEngineNetworkCanonical,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}PrivateConnection: Private connection resource that provides connectivityfor VMware Engine private clouds.
func (PrivateConnection)MarshalJSON¶
func (sPrivateConnection) MarshalJSON() ([]byte,error)
typeProjectsLocationsAnnouncementsGetCall¶added inv0.223.0
type ProjectsLocationsAnnouncementsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsAnnouncementsGetCall)Context¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsGetCall) Context(ctxcontext.Context) *ProjectsLocationsAnnouncementsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsAnnouncementsGetCall)Do¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsGetCall) Do(opts ...googleapi.CallOption) (*Announcement,error)
Do executes the "vmwareengine.projects.locations.announcements.get" call.Any non-2xx status code is an error. Response headers are in either*Announcement.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsAnnouncementsGetCall)Fields¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnnouncementsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsAnnouncementsGetCall)Header¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsAnnouncementsGetCall)IfNoneMatch¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsAnnouncementsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsAnnouncementsListCall¶added inv0.223.0
type ProjectsLocationsAnnouncementsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsAnnouncementsListCall)Context¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) Context(ctxcontext.Context) *ProjectsLocationsAnnouncementsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsAnnouncementsListCall)Do¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) Do(opts ...googleapi.CallOption) (*ListAnnouncementsResponse,error)
Do executes the "vmwareengine.projects.locations.announcements.list" call.Any non-2xx status code is an error. Response headers are in either*ListAnnouncementsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsAnnouncementsListCall)Fields¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAnnouncementsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsAnnouncementsListCall)Filter¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) Filter(filterstring) *ProjectsLocationsAnnouncementsListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of announcement runs, you can exclude the ones named`example-announcement` by specifying `name != "example-announcement". Youcan also filter nested fields. To filter on multiple expressions, provideeach separate expression within parentheses. For example: ``` (name ="example-announcement") (createTime > "2021-04-12T08:15:10.40Z") ``` Bydefault, each expression is an `AND` expression. However, you can include`AND` and `OR` expressions explicitly. For example: ``` (name ="announcement-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name ="announcement-2") ```
func (*ProjectsLocationsAnnouncementsListCall)Header¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsAnnouncementsListCall)IfNoneMatch¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsAnnouncementsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsAnnouncementsListCall)OrderBy¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) OrderBy(orderBystring) *ProjectsLocationsAnnouncementsListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsAnnouncementsListCall)PageSize¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) PageSize(pageSizeint64) *ProjectsLocationsAnnouncementsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofannouncements to return in one page. The service may return fewer than thisvalue. The maximum value is coerced to 1000. The default value of this fieldis 500.
func (*ProjectsLocationsAnnouncementsListCall)PageToken¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) PageToken(pageTokenstring) *ProjectsLocationsAnnouncementsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListAnnouncements` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListAnnouncements` must match the call that provided the page token.
func (*ProjectsLocationsAnnouncementsListCall)Pages¶added inv0.223.0
func (c *ProjectsLocationsAnnouncementsListCall) Pages(ctxcontext.Context, f func(*ListAnnouncementsResponse)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.
typeProjectsLocationsAnnouncementsService¶added inv0.223.0
type ProjectsLocationsAnnouncementsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsAnnouncementsService¶added inv0.223.0
func NewProjectsLocationsAnnouncementsService(s *Service) *ProjectsLocationsAnnouncementsService
func (*ProjectsLocationsAnnouncementsService)Get¶added inv0.223.0
func (r *ProjectsLocationsAnnouncementsService) Get(namestring) *ProjectsLocationsAnnouncementsGetCall
Get: Retrieves a `Announcement` by its resource name.
- name: The resource name of the announcement to retrieve. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-west1-a/announcements/announcement-uuid`.
func (*ProjectsLocationsAnnouncementsService)List¶added inv0.223.0
func (r *ProjectsLocationsAnnouncementsService) List(parentstring) *ProjectsLocationsAnnouncementsListCall
List: Lists `Announcements` for a given region and project
- parent: The resource name of the location to be queried for announcements.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-west1-a`.
typeProjectsLocationsDnsBindPermissionGrantCall¶added inv0.158.0
type ProjectsLocationsDnsBindPermissionGrantCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDnsBindPermissionGrantCall)Context¶added inv0.158.0
func (c *ProjectsLocationsDnsBindPermissionGrantCall) Context(ctxcontext.Context) *ProjectsLocationsDnsBindPermissionGrantCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDnsBindPermissionGrantCall)Do¶added inv0.158.0
func (c *ProjectsLocationsDnsBindPermissionGrantCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.dnsBindPermission.grant" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDnsBindPermissionGrantCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsDnsBindPermissionGrantCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsBindPermissionGrantCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDnsBindPermissionGrantCall)Header¶added inv0.158.0
func (c *ProjectsLocationsDnsBindPermissionGrantCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsDnsBindPermissionRevokeCall¶added inv0.158.0
type ProjectsLocationsDnsBindPermissionRevokeCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsDnsBindPermissionRevokeCall)Context¶added inv0.158.0
func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Context(ctxcontext.Context) *ProjectsLocationsDnsBindPermissionRevokeCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDnsBindPermissionRevokeCall)Do¶added inv0.158.0
func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.dnsBindPermission.revoke" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDnsBindPermissionRevokeCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Fields(s ...googleapi.Field) *ProjectsLocationsDnsBindPermissionRevokeCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsDnsBindPermissionRevokeCall)Header¶added inv0.158.0
func (c *ProjectsLocationsDnsBindPermissionRevokeCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsDnsBindPermissionService¶added inv0.158.0
type ProjectsLocationsDnsBindPermissionService struct {// contains filtered or unexported fields}funcNewProjectsLocationsDnsBindPermissionService¶added inv0.158.0
func NewProjectsLocationsDnsBindPermissionService(s *Service) *ProjectsLocationsDnsBindPermissionService
func (*ProjectsLocationsDnsBindPermissionService)Grant¶added inv0.158.0
func (r *ProjectsLocationsDnsBindPermissionService) Grant(namestring, grantdnsbindpermissionrequest *GrantDnsBindPermissionRequest) *ProjectsLocationsDnsBindPermissionGrantCall
Grant: Grants the bind permission to the customer provided principal(user /service account) to bind their DNS zone with the intranet VPC associatedwith the project. DnsBindPermission is a global resource and location canonly be global.
- name: The name of the resource which stores the users/service accountshaving the permission to bind to the corresponding intranet VPC of theconsumer project. DnsBindPermission is a global resource. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/dnsBindPermission`.
func (*ProjectsLocationsDnsBindPermissionService)Revoke¶added inv0.158.0
func (r *ProjectsLocationsDnsBindPermissionService) Revoke(namestring, revokednsbindpermissionrequest *RevokeDnsBindPermissionRequest) *ProjectsLocationsDnsBindPermissionRevokeCall
Revoke: Revokes the bind permission from the customer providedprincipal(user / service account) on the intranet VPC associated with theconsumer project. DnsBindPermission is a global resource and location canonly be global.
- name: The name of the resource which stores the users/service accountshaving the permission to bind to the corresponding intranet VPC of theconsumer project. DnsBindPermission is a global resource. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/dnsBindPermission`.
typeProjectsLocationsGetCall¶
type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGetCall)Context¶
func (c *ProjectsLocationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetCall)Do¶
func (c *ProjectsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location,error)
Do executes the "vmwareengine.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*Location.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsGetCall)Fields¶
func (c *ProjectsLocationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetCall)Header¶
func (c *ProjectsLocationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsGetDnsBindPermissionCall¶added inv0.158.0
type ProjectsLocationsGetDnsBindPermissionCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsGetDnsBindPermissionCall)Context¶added inv0.158.0
func (c *ProjectsLocationsGetDnsBindPermissionCall) Context(ctxcontext.Context) *ProjectsLocationsGetDnsBindPermissionCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsGetDnsBindPermissionCall)Do¶added inv0.158.0
func (c *ProjectsLocationsGetDnsBindPermissionCall) Do(opts ...googleapi.CallOption) (*DnsBindPermission,error)
Do executes the "vmwareengine.projects.locations.getDnsBindPermission" call.Any non-2xx status code is an error. Response headers are in either*DnsBindPermission.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsGetDnsBindPermissionCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsGetDnsBindPermissionCall) Fields(s ...googleapi.Field) *ProjectsLocationsGetDnsBindPermissionCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsGetDnsBindPermissionCall)Header¶added inv0.158.0
func (c *ProjectsLocationsGetDnsBindPermissionCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsGetDnsBindPermissionCall)IfNoneMatch¶added inv0.158.0
func (c *ProjectsLocationsGetDnsBindPermissionCall) IfNoneMatch(entityTagstring) *ProjectsLocationsGetDnsBindPermissionCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsListCall¶
type ProjectsLocationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsListCall)Context¶
func (c *ProjectsLocationsListCall) Context(ctxcontext.Context) *ProjectsLocationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsListCall)Do¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse,error)
Do executes the "vmwareengine.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*ListLocationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsListCall)ExtraLocationTypes¶added inv0.230.0
func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
ExtraLocationTypes sets the optional parameter "extraLocationTypes": Unlessexplicitly documented otherwise, don't use this unsupported field which isprimarily intended for internal usage.
func (*ProjectsLocationsListCall)Fields¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsListCall)Filter¶
func (c *ProjectsLocationsListCall) Filter(filterstring) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).
func (*ProjectsLocationsListCall)Header¶
func (c *ProjectsLocationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsListCall)PageSize¶
func (c *ProjectsLocationsListCall) PageSize(pageSizeint64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall)PageToken¶
func (c *ProjectsLocationsListCall) PageToken(pageTokenstring) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.
func (*ProjectsLocationsListCall)Pages¶
func (c *ProjectsLocationsListCall) Pages(ctxcontext.Context, f func(*ListLocationsResponse)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.
typeProjectsLocationsNetworkPeeringsCreateCall¶added inv0.158.0
type ProjectsLocationsNetworkPeeringsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPeeringsCreateCall)Context¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPeeringsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPeeringsCreateCall)Do¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPeerings.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPeeringsCreateCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPeeringsCreateCall)Header¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPeeringsCreateCall)NetworkPeeringId¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsCreateCall) NetworkPeeringId(networkPeeringIdstring) *ProjectsLocationsNetworkPeeringsCreateCall
NetworkPeeringId sets the optional parameter "networkPeeringId": Required.The user-provided identifier of the new `NetworkPeering`. This identifiermust be unique among `NetworkPeering` resources within the parent andbecomes the final token in the name URI. The identifier must meet thefollowing requirements: * Only contains 1-63 alphanumeric characters andhyphens * Begins with an alphabetical character * Ends with a non-hyphencharacter * Not formatted as a UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsNetworkPeeringsCreateCall)RequestId¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsCreateCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPeeringsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsNetworkPeeringsDeleteCall¶added inv0.158.0
type ProjectsLocationsNetworkPeeringsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPeeringsDeleteCall)Context¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPeeringsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPeeringsDeleteCall)Do¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPeerings.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPeeringsDeleteCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPeeringsDeleteCall)Header¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPeeringsDeleteCall)RequestId¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPeeringsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsNetworkPeeringsGetCall¶added inv0.158.0
type ProjectsLocationsNetworkPeeringsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPeeringsGetCall)Context¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsGetCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPeeringsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPeeringsGetCall)Do¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsGetCall) Do(opts ...googleapi.CallOption) (*NetworkPeering,error)
Do executes the "vmwareengine.projects.locations.networkPeerings.get" call.Any non-2xx status code is an error. Response headers are in either*NetworkPeering.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPeeringsGetCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPeeringsGetCall)Header¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPeeringsGetCall)IfNoneMatch¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNetworkPeeringsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsNetworkPeeringsListCall¶added inv0.158.0
type ProjectsLocationsNetworkPeeringsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPeeringsListCall)Context¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPeeringsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPeeringsListCall)Do¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) Do(opts ...googleapi.CallOption) (*ListNetworkPeeringsResponse,error)
Do executes the "vmwareengine.projects.locations.networkPeerings.list" call.Any non-2xx status code is an error. Response headers are in either*ListNetworkPeeringsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPeeringsListCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPeeringsListCall)Filter¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) Filter(filterstring) *ProjectsLocationsNetworkPeeringsListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of network peerings, you can exclude the ones named`example-peering` by specifying `name != "example-peering". To filter onmultiple expressions, provide each separate expression within parentheses.For example: ``` (name = "example-peering") (createTime >"2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`expression. However, you can include `AND` and `OR` expressions explicitly.For example: ``` (name = "example-peering-1") AND (createTime >"2021-04-12T08:15:10.40Z") OR (name = "example-peering-2") ```
func (*ProjectsLocationsNetworkPeeringsListCall)Header¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPeeringsListCall)IfNoneMatch¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNetworkPeeringsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsNetworkPeeringsListCall)OrderBy¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) OrderBy(orderBystring) *ProjectsLocationsNetworkPeeringsListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsNetworkPeeringsListCall)PageSize¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) PageSize(pageSizeint64) *ProjectsLocationsNetworkPeeringsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofnetwork peerings to return in one page. The maximum value is coerced to1000. The default value of this field is 500.
func (*ProjectsLocationsNetworkPeeringsListCall)PageToken¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) PageToken(pageTokenstring) *ProjectsLocationsNetworkPeeringsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListNetworkPeerings` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListNetworkPeerings` must match the call that provided the page token.
func (*ProjectsLocationsNetworkPeeringsListCall)Pages¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsListCall) Pages(ctxcontext.Context, f func(*ListNetworkPeeringsResponse)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.
typeProjectsLocationsNetworkPeeringsPatchCall¶added inv0.158.0
type ProjectsLocationsNetworkPeeringsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPeeringsPatchCall)Context¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPeeringsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPeeringsPatchCall)Do¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPeerings.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPeeringsPatchCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPeeringsPatchCall)Header¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPeeringsPatchCall)RequestId¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPatchCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPeeringsPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsNetworkPeeringsPatchCall)UpdateMask¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsNetworkPeeringsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `NetworkPeering`resource by the update. The fields specified in the `update_mask` arerelative to the resource, not the full request. A field will be overwrittenif it is in the mask. If the user does not provide a mask then all fieldswill be overwritten.
typeProjectsLocationsNetworkPeeringsPeeringRoutesListCall¶added inv0.158.0
type ProjectsLocationsNetworkPeeringsPeeringRoutesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)Context¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)Do¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Do(opts ...googleapi.CallOption) (*ListPeeringRoutesResponse,error)
Do executes the "vmwareengine.projects.locations.networkPeerings.peeringRoutes.list" call.Any non-2xx status code is an error. Response headers are in either*ListPeeringRoutesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)Fields¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)Filter¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Filter(filterstring) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. Currently, only filtering on the`direction` field is supported. To return routes imported from the peernetwork, provide "direction=INCOMING". To return routes exported from theVMware Engine network, provide "direction=OUTGOING". Other filterexpressions return an error.
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)Header¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)IfNoneMatch¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)PageSize¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) PageSize(pageSizeint64) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofpeering routes to return in one page. The service may return fewer than thisvalue. The maximum value is coerced to 1000. The default value of this fieldis 500.
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)PageToken¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) PageToken(pageTokenstring) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListPeeringRoutes` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListPeeringRoutes` must match the call that provided the page token.
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesListCall)Pages¶added inv0.158.0
func (c *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall) Pages(ctxcontext.Context, f func(*ListPeeringRoutesResponse)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.
typeProjectsLocationsNetworkPeeringsPeeringRoutesService¶added inv0.158.0
type ProjectsLocationsNetworkPeeringsPeeringRoutesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsNetworkPeeringsPeeringRoutesService¶added inv0.158.0
func NewProjectsLocationsNetworkPeeringsPeeringRoutesService(s *Service) *ProjectsLocationsNetworkPeeringsPeeringRoutesService
func (*ProjectsLocationsNetworkPeeringsPeeringRoutesService)List¶added inv0.158.0
func (r *ProjectsLocationsNetworkPeeringsPeeringRoutesService) List(parentstring) *ProjectsLocationsNetworkPeeringsPeeringRoutesListCall
List: Lists the network peering routes exchanged over a peering connection.NetworkPeering is a global resource and location can only be global.
- parent: The resource name of the network peering to retrieve peeringroutes from. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample: `projects/my-project/locations/global/networkPeerings/my-peering`.
typeProjectsLocationsNetworkPeeringsService¶added inv0.158.0
type ProjectsLocationsNetworkPeeringsService struct {PeeringRoutes *ProjectsLocationsNetworkPeeringsPeeringRoutesService// contains filtered or unexported fields}funcNewProjectsLocationsNetworkPeeringsService¶added inv0.158.0
func NewProjectsLocationsNetworkPeeringsService(s *Service) *ProjectsLocationsNetworkPeeringsService
func (*ProjectsLocationsNetworkPeeringsService)Create¶added inv0.158.0
func (r *ProjectsLocationsNetworkPeeringsService) Create(parentstring, networkpeering *NetworkPeering) *ProjectsLocationsNetworkPeeringsCreateCall
Create: Creates a new network peering between the peer network and VMwareEngine network provided in a `NetworkPeering` resource. NetworkPeering is aglobal resource and location can only be global.
- parent: The resource name of the location to create the new networkpeering in. This value is always `global`, because `NetworkPeering` is aglobal resource. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample: `projects/my-project/locations/global`.
func (*ProjectsLocationsNetworkPeeringsService)Delete¶added inv0.158.0
func (r *ProjectsLocationsNetworkPeeringsService) Delete(namestring) *ProjectsLocationsNetworkPeeringsDeleteCall
Delete: Deletes a `NetworkPeering` resource. When a network peering isdeleted for a VMware Engine network, the peer network becomes inaccessibleto that VMware Engine network. NetworkPeering is a global resource andlocation can only be global.
- name: The resource name of the network peering to be deleted. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/networkPeerings/my-peering`.
func (*ProjectsLocationsNetworkPeeringsService)Get¶added inv0.158.0
func (r *ProjectsLocationsNetworkPeeringsService) Get(namestring) *ProjectsLocationsNetworkPeeringsGetCall
Get: Retrieves a `NetworkPeering` resource by its resource name. Theresource contains details of the network peering, such as peered networks,import and export custom route configurations, and peering state.NetworkPeering is a global resource and location can only be global.
- name: The resource name of the network peering to retrieve. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/networkPeerings/my-peering`.
func (*ProjectsLocationsNetworkPeeringsService)List¶added inv0.158.0
func (r *ProjectsLocationsNetworkPeeringsService) List(parentstring) *ProjectsLocationsNetworkPeeringsListCall
List: Lists `NetworkPeering` resources in a given project. NetworkPeering isa global resource and location can only be global.
- parent: The resource name of the location (global) to query for networkpeerings. Resource names are schemeless URIs that follow the conventionsinhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global`.
func (*ProjectsLocationsNetworkPeeringsService)Patch¶added inv0.158.0
func (r *ProjectsLocationsNetworkPeeringsService) Patch(namestring, networkpeering *NetworkPeering) *ProjectsLocationsNetworkPeeringsPatchCall
Patch: Modifies a `NetworkPeering` resource. Only the `description` fieldcan be updated. Only fields specified in `updateMask` are applied.NetworkPeering is a global resource and location can only be global.
- name: Output only. Identifier. The resource name of the network peering.NetworkPeering is a global resource and location can only be global.Resource names are scheme-less URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/networkPeerings/my-peering`.
typeProjectsLocationsNetworkPoliciesCreateCall¶
type ProjectsLocationsNetworkPoliciesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesCreateCall)Context¶
func (c *ProjectsLocationsNetworkPoliciesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesCreateCall)Do¶
func (c *ProjectsLocationsNetworkPoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesCreateCall)Fields¶
func (c *ProjectsLocationsNetworkPoliciesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesCreateCall)Header¶
func (c *ProjectsLocationsNetworkPoliciesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesCreateCall)NetworkPolicyId¶
func (c *ProjectsLocationsNetworkPoliciesCreateCall) NetworkPolicyId(networkPolicyIdstring) *ProjectsLocationsNetworkPoliciesCreateCall
NetworkPolicyId sets the optional parameter "networkPolicyId": Required. Theuser-provided identifier of the network policy to be created. Thisidentifier must be unique within parent`projects/{my-project}/locations/{us-central1}/networkPolicies` and becomesthe final token in the name URI. The identifier must meet the followingrequirements: * Only contains 1-63 alphanumeric characters and hyphens *Begins with an alphabetical character * Ends with a non-hyphen character *Not formatted as a UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsNetworkPoliciesCreateCall)RequestId¶
func (c *ProjectsLocationsNetworkPoliciesCreateCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPoliciesCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsNetworkPoliciesDeleteCall¶
type ProjectsLocationsNetworkPoliciesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesDeleteCall)Context¶
func (c *ProjectsLocationsNetworkPoliciesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesDeleteCall)Do¶
func (c *ProjectsLocationsNetworkPoliciesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesDeleteCall)Fields¶
func (c *ProjectsLocationsNetworkPoliciesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesDeleteCall)Header¶
func (c *ProjectsLocationsNetworkPoliciesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesDeleteCall)RequestId¶
func (c *ProjectsLocationsNetworkPoliciesDeleteCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPoliciesDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall¶added inv0.151.0
type ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall)Context¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall)Do¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.externalAccessRules.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall)ExternalAccessRuleId¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) ExternalAccessRuleId(externalAccessRuleIdstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
ExternalAccessRuleId sets the optional parameter "externalAccessRuleId":Required. The user-provided identifier of the `ExternalAccessRule` to becreated. This identifier must be unique among `ExternalAccessRule` resourceswithin the parent and becomes the final token in the name URI. Theidentifier must meet the following requirements: * Only contains 1-63alphanumeric characters and hyphens * Begins with an alphabetical character* Ends with a non-hyphen character * Not formatted as a UUID * Complies withRFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall)Header¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall¶added inv0.151.0
type ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall)Context¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall)Do¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.externalAccessRules.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall)Header¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall¶added inv0.151.0
type ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall)Context¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall)Do¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) Do(opts ...googleapi.CallOption) (*ExternalAccessRule,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.externalAccessRules.get" call.Any non-2xx status code is an error. Response headers are in either*ExternalAccessRule.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall)Header¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsNetworkPoliciesExternalAccessRulesListCall¶added inv0.151.0
type ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)Context¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)Do¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Do(opts ...googleapi.CallOption) (*ListExternalAccessRulesResponse,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.externalAccessRules.list" call.Any non-2xx status code is an error. Response headers are in either*ListExternalAccessRulesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)Filter¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Filter(filterstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of external access rules, you can exclude the ones named`example-rule` by specifying `name != "example-rule". To filter on multipleexpressions, provide each separate expression within parentheses. Forexample: ``` (name = "example-rule") (createTime >"2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`expression. However, you can include `AND` and `OR` expressions explicitly.For example: ``` (name = "example-rule-1") AND (createTime >"2021-04-12T08:15:10.40Z") OR (name = "example-rule-2") ```
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)Header¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)OrderBy¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) OrderBy(orderBystring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)PageSize¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) PageSize(pageSizeint64) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofexternal access rules to return in one page. The service may return fewerthan this value. The maximum value is coerced to 1000. The default value ofthis field is 500.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)PageToken¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) PageToken(pageTokenstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListExternalAccessRulesRequest` call. Provide this toretrieve the subsequent page. When paginating, all other parameters providedto `ListExternalAccessRulesRequest` must match the call that provided thepage token.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall)Pages¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall) Pages(ctxcontext.Context, f func(*ListExternalAccessRulesResponse)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.
typeProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall¶added inv0.151.0
type ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall)Context¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall)Do¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.externalAccessRules.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall)Header¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall)UpdateMask¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `ExternalAccessRule`resource by the update. The fields specified in the `update_mask` arerelative to the resource, not the full request. A field will be overwrittenif it is in the mask. If the user does not provide a mask then all fieldswill be overwritten.
typeProjectsLocationsNetworkPoliciesExternalAccessRulesService¶added inv0.151.0
type ProjectsLocationsNetworkPoliciesExternalAccessRulesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsNetworkPoliciesExternalAccessRulesService¶added inv0.151.0
func NewProjectsLocationsNetworkPoliciesExternalAccessRulesService(s *Service) *ProjectsLocationsNetworkPoliciesExternalAccessRulesService
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesService)Create¶added inv0.151.0
func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) Create(parentstring, externalaccessrule *ExternalAccessRule) *ProjectsLocationsNetworkPoliciesExternalAccessRulesCreateCall
Create: Creates a new external access rule in a given network policy.
- parent: The resource name of the network policy to create a new externalaccess firewall rule in. Resource names are schemeless URIs that followthe conventions inhttps://cloud.google.com/apis/design/resource_names.For example:`projects/my-project/locations/us-central1/networkPolicies/my-policy`.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesService)Delete¶added inv0.151.0
func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) Delete(namestring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesDeleteCall
Delete: Deletes a single external access rule.
- name: The resource name of the external access firewall rule to delete.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesService)Get¶added inv0.151.0
func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) Get(namestring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesGetCall
Get: Gets details of a single external access rule.
- name: The resource name of the external access firewall rule to retrieve.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesService)List¶added inv0.151.0
func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) List(parentstring) *ProjectsLocationsNetworkPoliciesExternalAccessRulesListCall
List: Lists `ExternalAccessRule` resources in the specified network policy.
- parent: The resource name of the network policy to query for externalaccess firewall rules. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample:`projects/my-project/locations/us-central1/networkPolicies/my-policy`.
func (*ProjectsLocationsNetworkPoliciesExternalAccessRulesService)Patch¶added inv0.151.0
func (r *ProjectsLocationsNetworkPoliciesExternalAccessRulesService) Patch(namestring, externalaccessrule *ExternalAccessRule) *ProjectsLocationsNetworkPoliciesExternalAccessRulesPatchCall
Patch: Updates the parameters of a single external access rule. Only fieldsspecified in `update_mask` are applied.
- name: Output only. The resource name of this external access rule.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/networkPolicies/my-policy/externalAccessRules/my-rule`.
typeProjectsLocationsNetworkPoliciesFetchExternalAddressesCall¶added inv0.151.0
type ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall)Context¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall)Do¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Do(opts ...googleapi.CallOption) (*FetchNetworkPolicyExternalAddressesResponse,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.fetchExternalAddresses" call.Any non-2xx status code is an error. Response headers are in either*FetchNetworkPolicyExternalAddressesResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall)Header¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall)PageSize¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) PageSize(pageSizeint64) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
PageSize sets the optional parameter "pageSize": The maximum number ofexternal IP addresses to return in one page. The service may return fewerthan this value. The maximum value is coerced to 1000. The default value ofthis field is 500.
func (*ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall)PageToken¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) PageToken(pageTokenstring) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `FetchNetworkPolicyExternalAddresses` call. Provide this toretrieve the subsequent page. When paginating, all parameters provided to`FetchNetworkPolicyExternalAddresses`, except for `page_size` and`page_token`, must match the call that provided the page token.
func (*ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall)Pages¶added inv0.151.0
func (c *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall) Pages(ctxcontext.Context, f func(*FetchNetworkPolicyExternalAddressesResponse)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.
typeProjectsLocationsNetworkPoliciesGetCall¶
type ProjectsLocationsNetworkPoliciesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesGetCall)Context¶
func (c *ProjectsLocationsNetworkPoliciesGetCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesGetCall)Do¶
func (c *ProjectsLocationsNetworkPoliciesGetCall) Do(opts ...googleapi.CallOption) (*NetworkPolicy,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.get" call.Any non-2xx status code is an error. Response headers are in either*NetworkPolicy.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesGetCall)Fields¶
func (c *ProjectsLocationsNetworkPoliciesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesGetCall)Header¶
func (c *ProjectsLocationsNetworkPoliciesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsNetworkPoliciesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNetworkPoliciesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsNetworkPoliciesListCall¶
type ProjectsLocationsNetworkPoliciesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesListCall)Context¶
func (c *ProjectsLocationsNetworkPoliciesListCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesListCall)Do¶
func (c *ProjectsLocationsNetworkPoliciesListCall) Do(opts ...googleapi.CallOption) (*ListNetworkPoliciesResponse,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.list" call.Any non-2xx status code is an error. Response headers are in either*ListNetworkPoliciesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesListCall)Fields¶
func (c *ProjectsLocationsNetworkPoliciesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesListCall)Filter¶
func (c *ProjectsLocationsNetworkPoliciesListCall) Filter(filterstring) *ProjectsLocationsNetworkPoliciesListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of network policies, you can exclude the ones named`example-policy` by specifying `name != "example-policy". To filter onmultiple expressions, provide each separate expression within parentheses.For example: ``` (name = "example-policy") (createTime >"2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`expression. However, you can include `AND` and `OR` expressions explicitly.For example: ``` (name = "example-policy-1") AND (createTime >"2021-04-12T08:15:10.40Z") OR (name = "example-policy-2") ```
func (*ProjectsLocationsNetworkPoliciesListCall)Header¶
func (c *ProjectsLocationsNetworkPoliciesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesListCall)IfNoneMatch¶
func (c *ProjectsLocationsNetworkPoliciesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNetworkPoliciesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsNetworkPoliciesListCall)OrderBy¶
func (c *ProjectsLocationsNetworkPoliciesListCall) OrderBy(orderBystring) *ProjectsLocationsNetworkPoliciesListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsNetworkPoliciesListCall)PageSize¶
func (c *ProjectsLocationsNetworkPoliciesListCall) PageSize(pageSizeint64) *ProjectsLocationsNetworkPoliciesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofnetwork policies to return in one page. The service may return fewer thanthis value. The maximum value is coerced to 1000. The default value of thisfield is 500.
func (*ProjectsLocationsNetworkPoliciesListCall)PageToken¶
func (c *ProjectsLocationsNetworkPoliciesListCall) PageToken(pageTokenstring) *ProjectsLocationsNetworkPoliciesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListNetworkPolicies` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListNetworkPolicies` must match the call that provided the page token.
func (*ProjectsLocationsNetworkPoliciesListCall)Pages¶
func (c *ProjectsLocationsNetworkPoliciesListCall) Pages(ctxcontext.Context, f func(*ListNetworkPoliciesResponse)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.
typeProjectsLocationsNetworkPoliciesPatchCall¶
type ProjectsLocationsNetworkPoliciesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNetworkPoliciesPatchCall)Context¶
func (c *ProjectsLocationsNetworkPoliciesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsNetworkPoliciesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNetworkPoliciesPatchCall)Do¶
func (c *ProjectsLocationsNetworkPoliciesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.networkPolicies.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNetworkPoliciesPatchCall)Fields¶
func (c *ProjectsLocationsNetworkPoliciesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsNetworkPoliciesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNetworkPoliciesPatchCall)Header¶
func (c *ProjectsLocationsNetworkPoliciesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNetworkPoliciesPatchCall)RequestId¶
func (c *ProjectsLocationsNetworkPoliciesPatchCall) RequestId(requestIdstring) *ProjectsLocationsNetworkPoliciesPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsNetworkPoliciesPatchCall)UpdateMask¶
func (c *ProjectsLocationsNetworkPoliciesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsNetworkPoliciesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `NetworkPolicy` resourceby the update. The fields specified in the `update_mask` are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsNetworkPoliciesService¶
type ProjectsLocationsNetworkPoliciesService struct {ExternalAccessRules *ProjectsLocationsNetworkPoliciesExternalAccessRulesService// contains filtered or unexported fields}funcNewProjectsLocationsNetworkPoliciesService¶
func NewProjectsLocationsNetworkPoliciesService(s *Service) *ProjectsLocationsNetworkPoliciesService
func (*ProjectsLocationsNetworkPoliciesService)Create¶
func (r *ProjectsLocationsNetworkPoliciesService) Create(parentstring, networkpolicy *NetworkPolicy) *ProjectsLocationsNetworkPoliciesCreateCall
Create: Creates a new network policy in a given VMware Engine network of aproject and location (region). A new network policy cannot be created ifanother network policy already exists in the same scope.
- parent: The resource name of the location (region) to create the newnetwork policy in. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample: `projects/my-project/locations/us-central1`.
func (*ProjectsLocationsNetworkPoliciesService)Delete¶
func (r *ProjectsLocationsNetworkPoliciesService) Delete(namestring) *ProjectsLocationsNetworkPoliciesDeleteCall
Delete: Deletes a `NetworkPolicy` resource. A network policy cannot bedeleted when `NetworkService.state` is set to `RECONCILING` for either itsexternal IP or internet access service.
- name: The resource name of the network policy to delete. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/networkPolicies/my-network-policy`.
func (*ProjectsLocationsNetworkPoliciesService)FetchExternalAddresses¶added inv0.151.0
func (r *ProjectsLocationsNetworkPoliciesService) FetchExternalAddresses(networkPolicystring) *ProjectsLocationsNetworkPoliciesFetchExternalAddressesCall
FetchExternalAddresses: Lists external IP addresses assigned to VMwareworkload VMs within the scope of the given network policy.
- networkPolicy: The resource name of the network policy to query forassigned external IP addresses. Resource names are schemeless URIs thatfollow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/networkPolicies/my-policy`.
func (*ProjectsLocationsNetworkPoliciesService)Get¶
func (r *ProjectsLocationsNetworkPoliciesService) Get(namestring) *ProjectsLocationsNetworkPoliciesGetCall
Get: Retrieves a `NetworkPolicy` resource by its resource name.
- name: The resource name of the network policy to retrieve. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/networkPolicies/my-network-policy`.
func (*ProjectsLocationsNetworkPoliciesService)List¶
func (r *ProjectsLocationsNetworkPoliciesService) List(parentstring) *ProjectsLocationsNetworkPoliciesListCall
List: Lists `NetworkPolicy` resources in a specified project and location.
- parent: The resource name of the location (region) to query for networkpolicies. Resource names are schemeless URIs that follow the conventionsinhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1`.
func (*ProjectsLocationsNetworkPoliciesService)Patch¶
func (r *ProjectsLocationsNetworkPoliciesService) Patch(namestring, networkpolicy *NetworkPolicy) *ProjectsLocationsNetworkPoliciesPatchCall
Patch: Modifies a `NetworkPolicy` resource. Only the following fields can beupdated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fieldsspecified in `updateMask` are applied. When updating a network policy, theexternal IP network service can only be disabled if there are no external IPaddresses present in the scope of the policy. Also, a `NetworkService`cannot be updated when `NetworkService.state` is set to `RECONCILING`.During operation processing, the resource is temporarily in the `ACTIVE`state before the operation fully completes. For that period of time, youcan't update the resource. Use the operation status to determine when theprocessing fully completes.
- name: Output only. Identifier. The resource name of this network policy.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/networkPolicies/my-network-policy`.
typeProjectsLocationsNodeTypesGetCall¶
type ProjectsLocationsNodeTypesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNodeTypesGetCall)Context¶
func (c *ProjectsLocationsNodeTypesGetCall) Context(ctxcontext.Context) *ProjectsLocationsNodeTypesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNodeTypesGetCall)Do¶
func (c *ProjectsLocationsNodeTypesGetCall) Do(opts ...googleapi.CallOption) (*NodeType,error)
Do executes the "vmwareengine.projects.locations.nodeTypes.get" call.Any non-2xx status code is an error. Response headers are in either*NodeType.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsNodeTypesGetCall)Fields¶
func (c *ProjectsLocationsNodeTypesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodeTypesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNodeTypesGetCall)Header¶
func (c *ProjectsLocationsNodeTypesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNodeTypesGetCall)IfNoneMatch¶
func (c *ProjectsLocationsNodeTypesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNodeTypesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsNodeTypesListCall¶
type ProjectsLocationsNodeTypesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsNodeTypesListCall)Context¶
func (c *ProjectsLocationsNodeTypesListCall) Context(ctxcontext.Context) *ProjectsLocationsNodeTypesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsNodeTypesListCall)Do¶
func (c *ProjectsLocationsNodeTypesListCall) Do(opts ...googleapi.CallOption) (*ListNodeTypesResponse,error)
Do executes the "vmwareengine.projects.locations.nodeTypes.list" call.Any non-2xx status code is an error. Response headers are in either*ListNodeTypesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsNodeTypesListCall)Fields¶
func (c *ProjectsLocationsNodeTypesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsNodeTypesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsNodeTypesListCall)Filter¶
func (c *ProjectsLocationsNodeTypesListCall) Filter(filterstring) *ProjectsLocationsNodeTypesListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of node types, you can exclude the ones named `standard-72`by specifying `name != "standard-72". To filter on multiple expressions,provide each separate expression within parentheses. For example: ``` (name= "standard-72") (virtual_cpu_count > 2) ``` By default, each expression isan `AND` expression. However, you can include `AND` and `OR` expressionsexplicitly. For example: ``` (name = "standard-96") AND (virtual_cpu_count >2) OR (name = "standard-72") ```
func (*ProjectsLocationsNodeTypesListCall)Header¶
func (c *ProjectsLocationsNodeTypesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsNodeTypesListCall)IfNoneMatch¶
func (c *ProjectsLocationsNodeTypesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsNodeTypesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsNodeTypesListCall)PageSize¶
func (c *ProjectsLocationsNodeTypesListCall) PageSize(pageSizeint64) *ProjectsLocationsNodeTypesListCall
PageSize sets the optional parameter "pageSize": The maximum number of nodetypes to return in one page. The service may return fewer than this value.The maximum value is coerced to 1000. The default value of this field is500.
func (*ProjectsLocationsNodeTypesListCall)PageToken¶
func (c *ProjectsLocationsNodeTypesListCall) PageToken(pageTokenstring) *ProjectsLocationsNodeTypesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListNodeTypes` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListNodeTypes` must match the call that provided the page token.
func (*ProjectsLocationsNodeTypesListCall)Pages¶
func (c *ProjectsLocationsNodeTypesListCall) Pages(ctxcontext.Context, f func(*ListNodeTypesResponse)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.
typeProjectsLocationsNodeTypesService¶
type ProjectsLocationsNodeTypesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsNodeTypesService¶
func NewProjectsLocationsNodeTypesService(s *Service) *ProjectsLocationsNodeTypesService
func (*ProjectsLocationsNodeTypesService)Get¶
func (r *ProjectsLocationsNodeTypesService) Get(namestring) *ProjectsLocationsNodeTypesGetCall
Get: Gets details of a single `NodeType`.
- name: The resource name of the node type to retrieve. Resource names areschemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-proj/locations/us-central1-a/nodeTypes/standard-72`.
func (*ProjectsLocationsNodeTypesService)List¶
func (r *ProjectsLocationsNodeTypesService) List(parentstring) *ProjectsLocationsNodeTypesListCall
List: Lists node types
- parent: The resource name of the location to be queried for node types.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a`.
typeProjectsLocationsOperationsDeleteCall¶
type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsDeleteCall)Context¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsDeleteCall)Do¶
func (c *ProjectsLocationsOperationsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty,error)
Do executes the "vmwareengine.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsDeleteCall)Fields¶
func (c *ProjectsLocationsOperationsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsDeleteCall)Header¶
func (c *ProjectsLocationsOperationsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsOperationsGetCall¶
type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsGetCall)Context¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsGetCall)Do¶
func (c *ProjectsLocationsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsGetCall)Fields¶
func (c *ProjectsLocationsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsGetCall)Header¶
func (c *ProjectsLocationsOperationsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsOperationsListCall¶
type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsOperationsListCall)Context¶
func (c *ProjectsLocationsOperationsListCall) Context(ctxcontext.Context) *ProjectsLocationsOperationsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsListCall)Do¶
func (c *ProjectsLocationsOperationsListCall) Do(opts ...googleapi.CallOption) (*ListOperationsResponse,error)
Do executes the "vmwareengine.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*ListOperationsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsOperationsListCall)Fields¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsOperationsListCall)Filter¶
func (c *ProjectsLocationsOperationsListCall) Filter(filterstring) *ProjectsLocationsOperationsListCall
Filter sets the optional parameter "filter": The standard list filter.
func (*ProjectsLocationsOperationsListCall)Header¶
func (c *ProjectsLocationsOperationsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsOperationsListCall)IfNoneMatch¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall)PageSize¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSizeint64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list pagesize.
func (*ProjectsLocationsOperationsListCall)PageToken¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageTokenstring) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list pagetoken.
func (*ProjectsLocationsOperationsListCall)Pages¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctxcontext.Context, f func(*ListOperationsResponse)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.
func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccess¶added inv0.255.0
func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall
ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.
typeProjectsLocationsOperationsService¶
type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsOperationsService¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService)Delete¶
func (r *ProjectsLocationsOperationsService) Delete(namestring) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.
- name: The name of the operation resource to be deleted.
func (*ProjectsLocationsOperationsService)Get¶
func (r *ProjectsLocationsOperationsService) Get(namestring) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService)List¶
func (r *ProjectsLocationsOperationsService) List(namestring) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
typeProjectsLocationsPrivateCloudsClustersCreateCall¶
type ProjectsLocationsPrivateCloudsClustersCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersCreateCall)ClusterId¶
func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) ClusterId(clusterIdstring) *ProjectsLocationsPrivateCloudsClustersCreateCall
ClusterId sets the optional parameter "clusterId": Required. Theuser-provided identifier of the new `Cluster`. This identifier must beunique among clusters within the parent and becomes the final token in thename URI. The identifier must meet the following requirements: * Onlycontains 1-63 alphanumeric characters and hyphens * Begins with analphabetical character * Ends with a non-hyphen character * Not formatted asa UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsPrivateCloudsClustersCreateCall)Context¶
func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersCreateCall)Do¶
func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsClustersCreateCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersCreateCall)Header¶
func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsClustersCreateCall)RequestId¶
func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsClustersCreateCall
RequestId sets the optional parameter "requestId": The request ID must be avalid UUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsClustersCreateCall)ValidateOnly¶
func (c *ProjectsLocationsPrivateCloudsClustersCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsPrivateCloudsClustersCreateCall
ValidateOnly sets the optional parameter "validateOnly": True if you wantthe request to be validated and not executed; false otherwise.
typeProjectsLocationsPrivateCloudsClustersDeleteCall¶
type ProjectsLocationsPrivateCloudsClustersDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersDeleteCall)Context¶
func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersDeleteCall)Do¶
func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsClustersDeleteCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersDeleteCall)Header¶
func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsClustersDeleteCall)RequestId¶
func (c *ProjectsLocationsPrivateCloudsClustersDeleteCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsClustersDeleteCall
RequestId sets the optional parameter "requestId": The request ID must be avalid UUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsClustersGetCall¶
type ProjectsLocationsPrivateCloudsClustersGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersGetCall)Context¶
func (c *ProjectsLocationsPrivateCloudsClustersGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersGetCall)Do¶
func (c *ProjectsLocationsPrivateCloudsClustersGetCall) Do(opts ...googleapi.CallOption) (*Cluster,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.get" call.Any non-2xx status code is an error. Response headers are in either*Cluster.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsClustersGetCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsClustersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersGetCall)Header¶
func (c *ProjectsLocationsPrivateCloudsClustersGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsClustersGetCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsClustersGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsClustersGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsClustersGetIamPolicyCall¶
type ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall)Context¶
func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall)Do¶
func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall)Header¶
func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsPrivateCloudsClustersListCall¶
type ProjectsLocationsPrivateCloudsClustersListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersListCall)Context¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersListCall)Do¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) Do(opts ...googleapi.CallOption) (*ListClustersResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.list" call.Any non-2xx status code is an error. Response headers are in either*ListClustersResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsPrivateCloudsClustersListCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersListCall)Filter¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) Filter(filterstring) *ProjectsLocationsPrivateCloudsClustersListCall
Filter sets the optional parameter "filter": To filter on multipleexpressions, provide each separate expression within parentheses. Forexample: ``` (name = "example-cluster") (nodeCount = "3") ``` By default,each expression is an `AND` expression. However, you can include `AND` and`OR` expressions explicitly. For example: ``` (name = "example-cluster-1")AND (createTime > "2021-04-12T08:15:10.40Z") OR (name = "example-cluster-2")```
func (*ProjectsLocationsPrivateCloudsClustersListCall)Header¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsClustersListCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsClustersListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsClustersListCall)OrderBy¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) OrderBy(orderBystring) *ProjectsLocationsPrivateCloudsClustersListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsPrivateCloudsClustersListCall)PageSize¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsClustersListCall
PageSize sets the optional parameter "pageSize": The maximum number ofclusters to return in one page. The service may return fewer than thisvalue. The maximum value is coerced to 1000. The default value of this fieldis 500.
func (*ProjectsLocationsPrivateCloudsClustersListCall)PageToken¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsClustersListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListClusters` call. Provide this to retrieve the subsequentpage. When paginating, all other parameters provided to `ListClusters` mustmatch the call that provided the page token.
func (*ProjectsLocationsPrivateCloudsClustersListCall)Pages¶
func (c *ProjectsLocationsPrivateCloudsClustersListCall) Pages(ctxcontext.Context, f func(*ListClustersResponse)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.
typeProjectsLocationsPrivateCloudsClustersNodesGetCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsClustersNodesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersNodesGetCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersNodesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersNodesGetCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) Do(opts ...googleapi.CallOption) (*Node,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.nodes.get" call.Any non-2xx status code is an error. Response headers are in either*Node.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsClustersNodesGetCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersNodesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersNodesGetCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsClustersNodesGetCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsClustersNodesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsClustersNodesListCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsClustersNodesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersNodesListCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersNodesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersNodesListCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Do(opts ...googleapi.CallOption) (*ListNodesResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.nodes.list" call.Any non-2xx status code is an error. Response headers are in either*ListNodesResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsPrivateCloudsClustersNodesListCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersNodesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersNodesListCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsClustersNodesListCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsClustersNodesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsClustersNodesListCall)PageSize¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsClustersNodesListCall
PageSize sets the optional parameter "pageSize": The maximum number of nodesto return in one page. The service may return fewer than this value. Themaximum value is coerced to 1000. The default value of this field is 500.
func (*ProjectsLocationsPrivateCloudsClustersNodesListCall)PageToken¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsClustersNodesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListNodes` call. Provide this to retrieve the subsequentpage. When paginating, all other parameters provided to `ListNodes` mustmatch the call that provided the page token.
func (*ProjectsLocationsPrivateCloudsClustersNodesListCall)Pages¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsClustersNodesListCall) Pages(ctxcontext.Context, f func(*ListNodesResponse)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.
typeProjectsLocationsPrivateCloudsClustersNodesService¶added inv0.151.0
type ProjectsLocationsPrivateCloudsClustersNodesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsClustersNodesService¶added inv0.151.0
func NewProjectsLocationsPrivateCloudsClustersNodesService(s *Service) *ProjectsLocationsPrivateCloudsClustersNodesService
func (*ProjectsLocationsPrivateCloudsClustersNodesService)Get¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsClustersNodesService) Get(namestring) *ProjectsLocationsPrivateCloudsClustersNodesGetCall
Get: Gets details of a single node.
- name: The resource name of the node to retrieve. For example:`projects/{project}/locations/{location}/privateClouds/{private_cloud}/clusters/{cluster}/nodes/{node}`.
func (*ProjectsLocationsPrivateCloudsClustersNodesService)List¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsClustersNodesService) List(parentstring) *ProjectsLocationsPrivateCloudsClustersNodesListCall
List: Lists nodes in a given cluster.
- parent: The resource name of the cluster to be queried for nodes. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`.
typeProjectsLocationsPrivateCloudsClustersPatchCall¶
type ProjectsLocationsPrivateCloudsClustersPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersPatchCall)Context¶
func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersPatchCall)Do¶
func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsClustersPatchCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersPatchCall)Header¶
func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsClustersPatchCall)RequestId¶
func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsClustersPatchCall
RequestId sets the optional parameter "requestId": The request ID must be avalid UUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsClustersPatchCall)UpdateMask¶
func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateCloudsClustersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `Cluster` resource bythe update. The fields specified in the `updateMask` are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
func (*ProjectsLocationsPrivateCloudsClustersPatchCall)ValidateOnly¶
func (c *ProjectsLocationsPrivateCloudsClustersPatchCall) ValidateOnly(validateOnlybool) *ProjectsLocationsPrivateCloudsClustersPatchCall
ValidateOnly sets the optional parameter "validateOnly": True if you wantthe request to be validated and not executed; false otherwise.
typeProjectsLocationsPrivateCloudsClustersService¶
type ProjectsLocationsPrivateCloudsClustersService struct {Nodes *ProjectsLocationsPrivateCloudsClustersNodesService// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsClustersService¶
func NewProjectsLocationsPrivateCloudsClustersService(s *Service) *ProjectsLocationsPrivateCloudsClustersService
func (*ProjectsLocationsPrivateCloudsClustersService)Create¶
func (r *ProjectsLocationsPrivateCloudsClustersService) Create(parentstring, cluster *Cluster) *ProjectsLocationsPrivateCloudsClustersCreateCall
Create: Creates a new cluster in a given private cloud. Creating a newcluster provides additional nodes for use in the parent private cloud andrequires sufficient node quota(https://cloud.google.com/vmware-engine/quotas).
- parent: The resource name of the private cloud to create a new cluster in.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsClustersService)Delete¶
func (r *ProjectsLocationsPrivateCloudsClustersService) Delete(namestring) *ProjectsLocationsPrivateCloudsClustersDeleteCall
Delete: Deletes a `Cluster` resource. To avoid unintended data loss, migrateor gracefully shut down any workloads running on the cluster beforedeletion. You cannot delete the management cluster of a private cloud usingthis method.
- name: The resource name of the cluster to delete. Resource names areschemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`.
func (*ProjectsLocationsPrivateCloudsClustersService)Get¶
func (r *ProjectsLocationsPrivateCloudsClustersService) Get(namestring) *ProjectsLocationsPrivateCloudsClustersGetCall
Get: Retrieves a `Cluster` resource by its resource name.
- name: The cluster resource name to retrieve. Resource names are schemelessURIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`.
func (*ProjectsLocationsPrivateCloudsClustersService)GetIamPolicy¶
func (r *ProjectsLocationsPrivateCloudsClustersService) GetIamPolicy(resourcestring) *ProjectsLocationsPrivateCloudsClustersGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsPrivateCloudsClustersService)List¶
func (r *ProjectsLocationsPrivateCloudsClustersService) List(parentstring) *ProjectsLocationsPrivateCloudsClustersListCall
List: Lists `Cluster` resources in a given private cloud.
- parent: The resource name of the private cloud to query for clusters.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsClustersService)Patch¶
func (r *ProjectsLocationsPrivateCloudsClustersService) Patch(namestring, cluster *Cluster) *ProjectsLocationsPrivateCloudsClustersPatchCall
Patch: Modifies a `Cluster` resource. Only fields specified in `updateMask`are applied. During operation processing, the resource is temporarily in the`ACTIVE` state before the operation fully completes. For that period oftime, you can't update the resource. Use the operation status to determinewhen the processing fully completes.
- name: Output only. Identifier. The resource name of this cluster. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster`.
func (*ProjectsLocationsPrivateCloudsClustersService)SetIamPolicy¶
func (r *ProjectsLocationsPrivateCloudsClustersService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsPrivateCloudsClustersService)TestIamPermissions¶
func (r *ProjectsLocationsPrivateCloudsClustersService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsPrivateCloudsClustersSetIamPolicyCall¶
type ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall)Context¶
func (c *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall)Do¶
func (c *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall)Header¶
func (c *ProjectsLocationsPrivateCloudsClustersSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall¶
type ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.clusters.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsPrivateCloudsClustersTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsCreateCall¶
type ProjectsLocationsPrivateCloudsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsCreateCall)Context¶
func (c *ProjectsLocationsPrivateCloudsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsCreateCall)Do¶
func (c *ProjectsLocationsPrivateCloudsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsCreateCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsCreateCall)Header¶
func (c *ProjectsLocationsPrivateCloudsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsCreateCall)PrivateCloudId¶
func (c *ProjectsLocationsPrivateCloudsCreateCall) PrivateCloudId(privateCloudIdstring) *ProjectsLocationsPrivateCloudsCreateCall
PrivateCloudId sets the optional parameter "privateCloudId": Required. Theuser-provided identifier of the private cloud to be created. This identifiermust be unique among each `PrivateCloud` within the parent and becomes thefinal token in the name URI. The identifier must meet the followingrequirements: * Only contains 1-63 alphanumeric characters and hyphens *Begins with an alphabetical character * Ends with a non-hyphen character *Not formatted as a UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsPrivateCloudsCreateCall)RequestId¶
func (c *ProjectsLocationsPrivateCloudsCreateCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsCreateCall
RequestId sets the optional parameter "requestId": The request ID must be avalid UUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsCreateCall)ValidateOnly¶
func (c *ProjectsLocationsPrivateCloudsCreateCall) ValidateOnly(validateOnlybool) *ProjectsLocationsPrivateCloudsCreateCall
ValidateOnly sets the optional parameter "validateOnly": True if you wantthe request to be validated and not executed; false otherwise.
typeProjectsLocationsPrivateCloudsDeleteCall¶
type ProjectsLocationsPrivateCloudsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsDeleteCall)Context¶
func (c *ProjectsLocationsPrivateCloudsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsDeleteCall)DelayHours¶
func (c *ProjectsLocationsPrivateCloudsDeleteCall) DelayHours(delayHoursint64) *ProjectsLocationsPrivateCloudsDeleteCall
DelayHours sets the optional parameter "delayHours": Time delay of thedeletion specified in hours. The default value is `3`. Specifying a non-zerovalue for this field changes the value of `PrivateCloud.state` to `DELETED`and sets `expire_time` to the planned deletion time. Deletion can becancelled before `expire_time` elapses usingVmwareEngine.UndeletePrivateCloud. Specifying a value of `0` for this fieldinstead begins the deletion process and ceases billing immediately. Duringthe final deletion process, the value of `PrivateCloud.state` becomes`PURGING`.
func (*ProjectsLocationsPrivateCloudsDeleteCall)Do¶
func (c *ProjectsLocationsPrivateCloudsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsDeleteCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsDeleteCall)Force¶
func (c *ProjectsLocationsPrivateCloudsDeleteCall) Force(forcebool) *ProjectsLocationsPrivateCloudsDeleteCall
Force sets the optional parameter "force": If set to true, cascade delete isenabled and all children of this private cloud resource are also deleted.When this flag is set to false, the private cloud will not be deleted ifthere are any children other than the management cluster. The managementcluster is always deleted.
func (*ProjectsLocationsPrivateCloudsDeleteCall)Header¶
func (c *ProjectsLocationsPrivateCloudsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsDeleteCall)RequestId¶
func (c *ProjectsLocationsPrivateCloudsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsDeleteCall
RequestId sets the optional parameter "requestId": The request ID must be avalid UUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsExternalAddressesCreateCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsExternalAddressesCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsExternalAddressesCreateCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsExternalAddressesCreateCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.externalAddresses.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsExternalAddressesCreateCall)ExternalAddressId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) ExternalAddressId(externalAddressIdstring) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
ExternalAddressId sets the optional parameter "externalAddressId": Required.The user-provided identifier of the `ExternalAddress` to be created. Thisidentifier must be unique among `ExternalAddress` resources within theparent and becomes the final token in the name URI. The identifier must meetthe following requirements: * Only contains 1-63 alphanumeric characters andhyphens * Begins with an alphabetical character * Ends with a non-hyphencharacter * Not formatted as a UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsPrivateCloudsExternalAddressesCreateCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsExternalAddressesCreateCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsExternalAddressesCreateCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsExternalAddressesDeleteCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.externalAddresses.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsExternalAddressesGetCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsExternalAddressesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsExternalAddressesGetCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsExternalAddressesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsExternalAddressesGetCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) Do(opts ...googleapi.CallOption) (*ExternalAddress,error)
Do executes the "vmwareengine.projects.locations.privateClouds.externalAddresses.get" call.Any non-2xx status code is an error. Response headers are in either*ExternalAddress.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsPrivateCloudsExternalAddressesGetCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsExternalAddressesGetCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsExternalAddressesGetCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsExternalAddressesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsExternalAddressesListCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsExternalAddressesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Do(opts ...googleapi.CallOption) (*ListExternalAddressesResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.externalAddresses.list" call.Any non-2xx status code is an error. Response headers are in either*ListExternalAddressesResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)Filter¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Filter(filterstring) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of IP addresses, you can exclude the ones named`example-ip` by specifying `name != "example-ip". To filter on multipleexpressions, provide each separate expression within parentheses. Forexample: ``` (name = "example-ip") (createTime > "2021-04-12T08:15:10.40Z")``` By default, each expression is an `AND` expression. However, you caninclude `AND` and `OR` expressions explicitly. For example: ``` (name ="example-ip-1") AND (createTime > "2021-04-12T08:15:10.40Z") OR (name ="example-ip-2") ```
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)OrderBy¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) OrderBy(orderBystring) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)PageSize¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofexternal IP addresses to return in one page. The service may return fewerthan this value. The maximum value is coerced to 1000. The default value ofthis field is 500.
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)PageToken¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListExternalAddresses` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListExternalAddresses` must match the call that provided the page token.
func (*ProjectsLocationsPrivateCloudsExternalAddressesListCall)Pages¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesListCall) Pages(ctxcontext.Context, f func(*ListExternalAddressesResponse)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.
typeProjectsLocationsPrivateCloudsExternalAddressesPatchCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsExternalAddressesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsExternalAddressesPatchCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsExternalAddressesPatchCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.externalAddresses.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsExternalAddressesPatchCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsExternalAddressesPatchCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsExternalAddressesPatchCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsExternalAddressesPatchCall)UpdateMask¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `ExternalAddress`resource by the update. The fields specified in the `update_mask` arerelative to the resource, not the full request. A field will be overwrittenif it is in the mask. If the user does not provide a mask then all fieldswill be overwritten.
typeProjectsLocationsPrivateCloudsExternalAddressesService¶added inv0.151.0
type ProjectsLocationsPrivateCloudsExternalAddressesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsExternalAddressesService¶added inv0.151.0
func NewProjectsLocationsPrivateCloudsExternalAddressesService(s *Service) *ProjectsLocationsPrivateCloudsExternalAddressesService
func (*ProjectsLocationsPrivateCloudsExternalAddressesService)Create¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) Create(parentstring, externaladdress *ExternalAddress) *ProjectsLocationsPrivateCloudsExternalAddressesCreateCall
Create: Creates a new `ExternalAddress` resource in a given private cloud.The network policy that corresponds to the private cloud must have theexternal IP address network service enabled (`NetworkPolicy.external_ip`).
- parent: The resource name of the private cloud to create a new external IPaddress in. Resource names are schemeless URIs that follow the conventionsinhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsExternalAddressesService)Delete¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) Delete(namestring) *ProjectsLocationsPrivateCloudsExternalAddressesDeleteCall
Delete: Deletes a single external IP address. When you delete an external IPaddress, connectivity between the external IP address and the correspondinginternal IP address is lost.
- name: The resource name of the external IP address to delete. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip`.
func (*ProjectsLocationsPrivateCloudsExternalAddressesService)Get¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) Get(namestring) *ProjectsLocationsPrivateCloudsExternalAddressesGetCall
Get: Gets details of a single external IP address.
- name: The resource name of the external IP address to retrieve. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-ip`.
func (*ProjectsLocationsPrivateCloudsExternalAddressesService)List¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) List(parentstring) *ProjectsLocationsPrivateCloudsExternalAddressesListCall
List: Lists external IP addresses assigned to VMware workload VMs in a givenprivate cloud.
- parent: The resource name of the private cloud to be queried for externalIP addresses. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsExternalAddressesService)Patch¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsExternalAddressesService) Patch(namestring, externaladdress *ExternalAddress) *ProjectsLocationsPrivateCloudsExternalAddressesPatchCall
Patch: Updates the parameters of a single external IP address. Only fieldsspecified in `update_mask` are applied. During operation processing, theresource is temporarily in the `ACTIVE` state before the operation fullycompletes. For that period of time, you can't update the resource. Use theoperation status to determine when the processing fully completes.
- name: Output only. Identifier. The resource name of this external IPaddress. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/externalAddresses/my-address`.
typeProjectsLocationsPrivateCloudsGetCall¶
type ProjectsLocationsPrivateCloudsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsGetCall)Context¶
func (c *ProjectsLocationsPrivateCloudsGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsGetCall)Do¶
func (c *ProjectsLocationsPrivateCloudsGetCall) Do(opts ...googleapi.CallOption) (*PrivateCloud,error)
Do executes the "vmwareengine.projects.locations.privateClouds.get" call.Any non-2xx status code is an error. Response headers are in either*PrivateCloud.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsGetCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsGetCall)Header¶
func (c *ProjectsLocationsPrivateCloudsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsGetDnsForwardingCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsGetDnsForwardingCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsGetDnsForwardingCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsGetDnsForwardingCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsGetDnsForwardingCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) Do(opts ...googleapi.CallOption) (*DnsForwarding,error)
Do executes the "vmwareengine.projects.locations.privateClouds.getDnsForwarding" call.Any non-2xx status code is an error. Response headers are in either*DnsForwarding.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsGetDnsForwardingCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsGetDnsForwardingCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsGetDnsForwardingCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsGetDnsForwardingCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsGetDnsForwardingCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsGetDnsForwardingCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsGetIamPolicyCall¶
type ProjectsLocationsPrivateCloudsGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsGetIamPolicyCall)Context¶
func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsGetIamPolicyCall)Do¶
func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "vmwareengine.projects.locations.privateClouds.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsGetIamPolicyCall)Header¶
func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsPrivateCloudsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall¶
type ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall)Context¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall)Do¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall)HcxActivationKeyId¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) HcxActivationKeyId(hcxActivationKeyIdstring) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
HcxActivationKeyId sets the optional parameter "hcxActivationKeyId":Required. The user-provided identifier of the `HcxActivationKey` to becreated. This identifier must be unique among `HcxActivationKey` resourceswithin the parent and becomes the final token in the name URI. Theidentifier must meet the following requirements: * Only contains 1-63alphanumeric characters and hyphens * Begins with an alphabetical character* Ends with a non-hyphen character * Not formatted as a UUID * Complies withRFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall)Header¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall)RequestId¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsHcxActivationKeysGetCall¶
type ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall)Context¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall)Do¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) Do(opts ...googleapi.CallOption) (*HcxActivationKey,error)
Do executes the "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.get" call.Any non-2xx status code is an error. Response headers are in either*HcxActivationKey.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall)Header¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall¶
type ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall)Context¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall)Do¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall)Header¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall)OptionsRequestedPolicyVersion¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).
typeProjectsLocationsPrivateCloudsHcxActivationKeysListCall¶
type ProjectsLocationsPrivateCloudsHcxActivationKeysListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsHcxActivationKeysListCall)Context¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysListCall)Do¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Do(opts ...googleapi.CallOption) (*ListHcxActivationKeysResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.list" call.Any non-2xx status code is an error. Response headers are in either*ListHcxActivationKeysResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysListCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysListCall)Header¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysListCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysListCall)PageSize¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
PageSize sets the optional parameter "pageSize": The maximum number of HCXactivation keys to return in one page. The service may return fewer thanthis value. The maximum value is coerced to 1000. The default value of thisfield is 500.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysListCall)PageToken¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListHcxActivationKeys` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListHcxActivationKeys` must match the call that provided the page token.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysListCall)Pages¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall) Pages(ctxcontext.Context, f func(*ListHcxActivationKeysResponse)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.
typeProjectsLocationsPrivateCloudsHcxActivationKeysService¶
type ProjectsLocationsPrivateCloudsHcxActivationKeysService struct {// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsHcxActivationKeysService¶
func NewProjectsLocationsPrivateCloudsHcxActivationKeysService(s *Service) *ProjectsLocationsPrivateCloudsHcxActivationKeysService
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysService)Create¶
func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) Create(parentstring, hcxactivationkey *HcxActivationKey) *ProjectsLocationsPrivateCloudsHcxActivationKeysCreateCall
Create: Creates a new HCX activation key in a given private cloud.
- parent: The resource name of the private cloud to create the key for.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysService)Get¶
func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) Get(namestring) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetCall
Get: Retrieves a `HcxActivationKey` resource by its resource name.
- name: The resource name of the HCX activation key to retrieve. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/privateClouds/my-cloud/hcxActivationKeys/my-key`.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysService)GetIamPolicy¶
func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) GetIamPolicy(resourcestring) *ProjectsLocationsPrivateCloudsHcxActivationKeysGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysService)List¶
func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) List(parentstring) *ProjectsLocationsPrivateCloudsHcxActivationKeysListCall
List: Lists `HcxActivationKey` resources in a given private cloud.
- parent: The resource name of the private cloud to be queried for HCXactivation keys. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample:`projects/my-project/locations/us-central1/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysService)SetIamPolicy¶
func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysService)TestIamPermissions¶
func (r *ProjectsLocationsPrivateCloudsHcxActivationKeysService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
typeProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall¶
type ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall)Context¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall)Do¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall)Header¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall¶
type ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.hcxActivationKeys.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsPrivateCloudsHcxActivationKeysTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsListCall¶
type ProjectsLocationsPrivateCloudsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsListCall)Context¶
func (c *ProjectsLocationsPrivateCloudsListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsListCall)Do¶
func (c *ProjectsLocationsPrivateCloudsListCall) Do(opts ...googleapi.CallOption) (*ListPrivateCloudsResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.list" call.Any non-2xx status code is an error. Response headers are in either*ListPrivateCloudsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsListCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsListCall)Filter¶
func (c *ProjectsLocationsPrivateCloudsListCall) Filter(filterstring) *ProjectsLocationsPrivateCloudsListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of private clouds, you can exclude the ones named`example-pc` by specifying `name != "example-pc". You can also filternested fields. For example, you could specify `networkConfig.managementCidr= "192.168.0.0/24" to include private clouds only if they have a matchingaddress in their network configuration. To filter on multiple expressions,provide each separate expression within parentheses. For example: ``` (name= "example-pc") (createTime > "2021-04-12T08:15:10.40Z") ``` By default,each expression is an `AND` expression. However, you can include `AND` and`OR` expressions explicitly. For example: ``` (name = "private-cloud-1") AND(createTime > "2021-04-12T08:15:10.40Z") OR (name = "private-cloud-2") ```
func (*ProjectsLocationsPrivateCloudsListCall)Header¶
func (c *ProjectsLocationsPrivateCloudsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsListCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsListCall)OrderBy¶
func (c *ProjectsLocationsPrivateCloudsListCall) OrderBy(orderBystring) *ProjectsLocationsPrivateCloudsListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsPrivateCloudsListCall)PageSize¶
func (c *ProjectsLocationsPrivateCloudsListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofprivate clouds to return in one page. The service may return fewer than thisvalue. The maximum value is coerced to 1000. The default value of this fieldis 500.
func (*ProjectsLocationsPrivateCloudsListCall)PageToken¶
func (c *ProjectsLocationsPrivateCloudsListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListPrivateClouds` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListPrivateClouds` must match the call that provided the page token.
func (*ProjectsLocationsPrivateCloudsListCall)Pages¶
func (c *ProjectsLocationsPrivateCloudsListCall) Pages(ctxcontext.Context, f func(*ListPrivateCloudsResponse)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.
typeProjectsLocationsPrivateCloudsLoggingServersCreateCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsLoggingServersCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsLoggingServersCreateCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsLoggingServersCreateCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.loggingServers.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsLoggingServersCreateCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsLoggingServersCreateCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsLoggingServersCreateCall)LoggingServerId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) LoggingServerId(loggingServerIdstring) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
LoggingServerId sets the optional parameter "loggingServerId": Required. Theuser-provided identifier of the `LoggingServer` to be created. Thisidentifier must be unique among `LoggingServer` resources within the parentand becomes the final token in the name URI. The identifier must meet thefollowing requirements: * Only contains 1-63 alphanumeric characters andhyphens * Begins with an alphabetical character * Ends with a non-hyphencharacter * Not formatted as a UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsPrivateCloudsLoggingServersCreateCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersCreateCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsLoggingServersDeleteCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsLoggingServersDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsLoggingServersDeleteCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsLoggingServersDeleteCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.loggingServers.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsLoggingServersDeleteCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsLoggingServersDeleteCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsLoggingServersDeleteCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsLoggingServersGetCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsLoggingServersGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsLoggingServersGetCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsLoggingServersGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsLoggingServersGetCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) Do(opts ...googleapi.CallOption) (*LoggingServer,error)
Do executes the "vmwareengine.projects.locations.privateClouds.loggingServers.get" call.Any non-2xx status code is an error. Response headers are in either*LoggingServer.ServerResponse.Header or (if a response was returned at all)in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsLoggingServersGetCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsLoggingServersGetCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsLoggingServersGetCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsLoggingServersGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsLoggingServersListCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsLoggingServersListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsLoggingServersListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Do(opts ...googleapi.CallOption) (*ListLoggingServersResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.loggingServers.list" call.Any non-2xx status code is an error. Response headers are in either*ListLoggingServersResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)Filter¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Filter(filterstring) *ProjectsLocationsPrivateCloudsLoggingServersListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of logging servers, you can exclude the ones named`example-server` by specifying `name != "example-server". To filter onmultiple expressions, provide each separate expression within parentheses.For example: ``` (name = "example-server") (createTime >"2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`expression. However, you can include `AND` and `OR` expressions explicitly.For example: ``` (name = "example-server-1") AND (createTime >"2021-04-12T08:15:10.40Z") OR (name = "example-server-2") ```
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsLoggingServersListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)OrderBy¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) OrderBy(orderBystring) *ProjectsLocationsPrivateCloudsLoggingServersListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)PageSize¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsLoggingServersListCall
PageSize sets the optional parameter "pageSize": The maximum number oflogging servers to return in one page. The service may return fewer thanthis value. The maximum value is coerced to 1000. The default value of thisfield is 500.
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)PageToken¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsLoggingServersListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListLoggingServersRequest` call. Provide this to retrievethe subsequent page. When paginating, all other parameters provided to`ListLoggingServersRequest` must match the call that provided the pagetoken.
func (*ProjectsLocationsPrivateCloudsLoggingServersListCall)Pages¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersListCall) Pages(ctxcontext.Context, f func(*ListLoggingServersResponse)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.
typeProjectsLocationsPrivateCloudsLoggingServersPatchCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsLoggingServersPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsLoggingServersPatchCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsLoggingServersPatchCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.loggingServers.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsLoggingServersPatchCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsLoggingServersPatchCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsLoggingServersPatchCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsLoggingServersPatchCall)UpdateMask¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsLoggingServersPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `LoggingServer` resourceby the update. The fields specified in the `update_mask` are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsPrivateCloudsLoggingServersService¶added inv0.151.0
type ProjectsLocationsPrivateCloudsLoggingServersService struct {// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsLoggingServersService¶added inv0.151.0
func NewProjectsLocationsPrivateCloudsLoggingServersService(s *Service) *ProjectsLocationsPrivateCloudsLoggingServersService
func (*ProjectsLocationsPrivateCloudsLoggingServersService)Create¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsLoggingServersService) Create(parentstring, loggingserver *LoggingServer) *ProjectsLocationsPrivateCloudsLoggingServersCreateCall
Create: Create a new logging server for a given private cloud.
- parent: The resource name of the private cloud to create a new LoggingServer in. Resource names are schemeless URIs that follow the conventionsinhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsLoggingServersService)Delete¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsLoggingServersService) Delete(namestring) *ProjectsLocationsPrivateCloudsLoggingServersDeleteCall
Delete: Deletes a single logging server.
- name: The resource name of the logging server to delete. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`.
func (*ProjectsLocationsPrivateCloudsLoggingServersService)Get¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsLoggingServersService) Get(namestring) *ProjectsLocationsPrivateCloudsLoggingServersGetCall
Get: Gets details of a logging server.
- name: The resource name of the Logging Server to retrieve. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`.
func (*ProjectsLocationsPrivateCloudsLoggingServersService)List¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsLoggingServersService) List(parentstring) *ProjectsLocationsPrivateCloudsLoggingServersListCall
List: Lists logging servers configured for a given private cloud.
- parent: The resource name of the private cloud to be queried for loggingservers. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsLoggingServersService)Patch¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsLoggingServersService) Patch(namestring, loggingserver *LoggingServer) *ProjectsLocationsPrivateCloudsLoggingServersPatchCall
Patch: Updates the parameters of a single logging server. Only fieldsspecified in `update_mask` are applied.
- name: Output only. The resource name of this logging server. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/loggingServers/my-logging-server`.
typeProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall)ManagementDnsZoneBindingId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) ManagementDnsZoneBindingId(managementDnsZoneBindingIdstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
ManagementDnsZoneBindingId sets the optional parameter"managementDnsZoneBindingId": Required. The user-provided identifier of the`ManagementDnsZoneBinding` resource to be created. This identifier must beunique among `ManagementDnsZoneBinding` resources within the parent andbecomes the final token in the name URI. The identifier must meet thefollowing requirements: * Only contains 1-63 alphanumeric characters andhyphens * Begins with an alphabetical character * Ends with a non-hyphencharacter * Not formatted as a UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) Do(opts ...googleapi.CallOption) (*ManagementDnsZoneBinding,error)
Do executes the "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.get" call.Any non-2xx status code is an error. Response headers are in either*ManagementDnsZoneBinding.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Do(opts ...googleapi.CallOption) (*ListManagementDnsZoneBindingsResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.list" call.Any non-2xx status code is an error. Response headers are in either*ListManagementDnsZoneBindingsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)Filter¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Filter(filterstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of Management DNS Zone Bindings, you can exclude the onesnamed `example-management-dns-zone-binding` by specifying `name !="example-management-dns-zone-binding". To filter on multiple expressions,provide each separate expression within parentheses. For example: ``` (name= "example-management-dns-zone-binding") (createTime >"2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`expression. However, you can include `AND` and `OR` expressions explicitly.For example: ``` (name = "example-management-dns-zone-binding-1") AND(createTime > "2021-04-12T08:15:10.40Z") OR (name ="example-management-dns-zone-binding-2") ```
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)IfNoneMatch¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)OrderBy¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) OrderBy(orderBystring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)PageSize¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofmanagement DNS zone bindings to return in one page. The service may returnfewer than this value. The maximum value is coerced to 1000. The defaultvalue of this field is 500.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)PageToken¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListManagementDnsZoneBindings` call. Provide this toretrieve the subsequent page. When paginating, all other parameters providedto `ListManagementDnsZoneBindings` must match the call that provided thepage token.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall)Pages¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall) Pages(ctxcontext.Context, f func(*ListManagementDnsZoneBindingsResponse)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.
typeProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check ifthe original operation with the same request ID was received, and if so,will ignore the second request. This prevents clients from accidentallycreating duplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall)UpdateMask¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the`ManagementDnsZoneBinding` resource by the update. The fields specified inthe `update_mask` are relative to the resource, not the full request. Afield will be overwritten if it is in the mask. If the user does not providea mask then all fields will be overwritten.
typeProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.managementDnsZoneBindings.repair" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService¶added inv0.151.0
type ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService¶added inv0.151.0
func NewProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService(s *Service) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService)Create¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Create(parentstring, managementdnszonebinding *ManagementDnsZoneBinding) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsCreateCall
Create: Creates a new `ManagementDnsZoneBinding` resource in a privatecloud. This RPC creates the DNS binding and the resource that represents theDNS binding of the consumer VPC network to the management DNS zone. Amanagement DNS zone is the Cloud DNS cross-project binding zone that VMwareEngine creates for each private cloud. It contains FQDNs and correspondingIP addresses for the private cloud's ESXi hosts and management VM applianceslike vCenter and NSX Manager.
- parent: The resource name of the private cloud to create a new managementDNS zone binding for. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService)Delete¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Delete(namestring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsDeleteCall
Delete: Deletes a `ManagementDnsZoneBinding` resource. When a management DNSzone binding is deleted, the corresponding consumer VPC network is no longerbound to the management DNS zone.
- name: The resource name of the management DNS zone binding to delete.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService)Get¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Get(namestring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsGetCall
Get: Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
- name: The resource name of the management DNS zone binding to retrieve.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService)List¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) List(parentstring) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsListCall
List: Lists Consumer VPCs bound to Management DNS Zone of a given privatecloud.
- parent: The resource name of the private cloud to be queried formanagement DNS zone bindings. Resource names are schemeless URIs thatfollow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService)Patch¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Patch(namestring, managementdnszonebinding *ManagementDnsZoneBinding) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsPatchCall
Patch: Updates a `ManagementDnsZoneBinding` resource. Only fields specifiedin `update_mask` are applied.
- name: Output only. The resource name of this binding. Resource names areschemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`.
func (*ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService)Repair¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsService) Repair(namestring, repairmanagementdnszonebindingrequest *RepairManagementDnsZoneBindingRequest) *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsRepairCall
Repair: Retries to create a `ManagementDnsZoneBinding` resource that is infailed state.
- name: The resource name of the management DNS zone binding to repair.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding`.
typeProjectsLocationsPrivateCloudsPatchCall¶
type ProjectsLocationsPrivateCloudsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsPatchCall)Context¶
func (c *ProjectsLocationsPrivateCloudsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsPatchCall)Do¶
func (c *ProjectsLocationsPrivateCloudsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsPatchCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsPatchCall)Header¶
func (c *ProjectsLocationsPrivateCloudsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsPatchCall)RequestId¶
func (c *ProjectsLocationsPrivateCloudsPatchCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsPatchCall
RequestId sets the optional parameter "requestId": The request ID must be avalid UUID with the exception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsPatchCall)UpdateMask¶
func (c *ProjectsLocationsPrivateCloudsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateCloudsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `PrivateCloud` resourceby the update. The fields specified in `updateMask` are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall¶added inv0.249.0
type ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall)Context¶added inv0.249.0
func (c *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall)Do¶added inv0.249.0
func (c *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.privateCloudDeletionNow" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall)Fields¶added inv0.249.0
func (c *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall)Header¶added inv0.249.0
func (c *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsResetNsxCredentialsCall¶
type ProjectsLocationsPrivateCloudsResetNsxCredentialsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsResetNsxCredentialsCall)Context¶
func (c *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsResetNsxCredentialsCall)Do¶
func (c *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.resetNsxCredentials" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsResetNsxCredentialsCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsResetNsxCredentialsCall)Header¶
func (c *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsResetVcenterCredentialsCall¶
type ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall)Context¶
func (c *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall)Do¶
func (c *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.resetVcenterCredentials" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall)Header¶
func (c *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsService¶
type ProjectsLocationsPrivateCloudsService struct {Clusters *ProjectsLocationsPrivateCloudsClustersServiceExternalAddresses *ProjectsLocationsPrivateCloudsExternalAddressesServiceHcxActivationKeys *ProjectsLocationsPrivateCloudsHcxActivationKeysServiceLoggingServers *ProjectsLocationsPrivateCloudsLoggingServersServiceManagementDnsZoneBindings *ProjectsLocationsPrivateCloudsManagementDnsZoneBindingsServiceSubnets *ProjectsLocationsPrivateCloudsSubnetsServiceUpgrades *ProjectsLocationsPrivateCloudsUpgradesService// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsService¶
func NewProjectsLocationsPrivateCloudsService(s *Service) *ProjectsLocationsPrivateCloudsService
func (*ProjectsLocationsPrivateCloudsService)Create¶
func (r *ProjectsLocationsPrivateCloudsService) Create(parentstring, privatecloud *PrivateCloud) *ProjectsLocationsPrivateCloudsCreateCall
Create: Creates a new `PrivateCloud` resource in a given project andlocation. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonalresources, `STRETCHED` private clouds are regional. Creating a private cloudalso creates a management cluster(https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) forthat private cloud.
- parent: The resource name of the location to create the new private cloudin. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a`.
func (*ProjectsLocationsPrivateCloudsService)Delete¶
func (r *ProjectsLocationsPrivateCloudsService) Delete(namestring) *ProjectsLocationsPrivateCloudsDeleteCall
Delete: Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud`resource scheduled for deletion has `PrivateCloud.state` set to `DELETED`and `expireTime` set to the time when deletion is final and can no longer bereversed. The delete operation is marked as done as soon as the`PrivateCloud` is successfully scheduled for deletion (this also applieswhen `delayHours` is set to zero), and the operation is not kept in pendingstate until `PrivateCloud` is purged. `PrivateCloud` can be restored using`UndeletePrivateCloud` method before the `expireTime` elapses. When`expireTime` is reached, deletion is final and all private cloud resourcesare irreversibly removed and billing stops. During the final removalprocess, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can bepolled using standard `GET` method for the whole period of deletion andpurging. It will not be returned only when it is completely purged.
- name: The resource name of the private cloud to delete. Resource names areschemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)Get¶
func (r *ProjectsLocationsPrivateCloudsService) Get(namestring) *ProjectsLocationsPrivateCloudsGetCall
Get: Retrieves a `PrivateCloud` resource by its resource name.
- name: The resource name of the private cloud to retrieve. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)GetDnsForwarding¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsService) GetDnsForwarding(namestring) *ProjectsLocationsPrivateCloudsGetDnsForwardingCall
GetDnsForwarding: Gets details of the `DnsForwarding` config.
- name: The resource name of a `DnsForwarding` to retrieve. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`.
func (*ProjectsLocationsPrivateCloudsService)GetIamPolicy¶
func (r *ProjectsLocationsPrivateCloudsService) GetIamPolicy(resourcestring) *ProjectsLocationsPrivateCloudsGetIamPolicyCall
GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.
- resource: REQUIRED: The resource for which the policy is being requested.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsPrivateCloudsService)List¶
func (r *ProjectsLocationsPrivateCloudsService) List(parentstring) *ProjectsLocationsPrivateCloudsListCall
List: Lists `PrivateCloud` resources in a given project and location.
- parent: The resource name of the private cloud to be queried for clusters.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a`.
func (*ProjectsLocationsPrivateCloudsService)Patch¶
func (r *ProjectsLocationsPrivateCloudsService) Patch(namestring, privatecloud *PrivateCloud) *ProjectsLocationsPrivateCloudsPatchCall
Patch: Modifies a `PrivateCloud` resource. Only the following fields can beupdated: `description`. Only fields specified in `updateMask` are applied.During operation processing, the resource is temporarily in the `ACTIVE`state before the operation fully completes. For that period of time, youcan't update the resource. Use the operation status to determine when theprocessing fully completes.
- name: Output only. Identifier. The resource name of this private cloud.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)PrivateCloudDeletionNow¶added inv0.249.0
func (r *ProjectsLocationsPrivateCloudsService) PrivateCloudDeletionNow(namestring, accelerateprivateclouddeletionrequest *AcceleratePrivateCloudDeletionRequest) *ProjectsLocationsPrivateCloudsPrivateCloudDeletionNowCall
PrivateCloudDeletionNow: Accelerates the deletion of a private cloud that iscurrently in soft deletion A `PrivateCloud` resource in soft deletion has`PrivateCloud.state` set to `SOFT_DELETED` and `PrivateCloud.expireTime` setto the time when deletion can no longer be reversed.
- name: The resource name of the private cloud in softdeletion. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)ResetNsxCredentials¶
func (r *ProjectsLocationsPrivateCloudsService) ResetNsxCredentials(privateCloudstring, resetnsxcredentialsrequest *ResetNsxCredentialsRequest) *ProjectsLocationsPrivateCloudsResetNsxCredentialsCall
ResetNsxCredentials: Resets credentials of the NSX appliance.
- privateCloud: The resource name of the private cloud to reset credentialsfor. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)ResetVcenterCredentials¶
func (r *ProjectsLocationsPrivateCloudsService) ResetVcenterCredentials(privateCloudstring, resetvcentercredentialsrequest *ResetVcenterCredentialsRequest) *ProjectsLocationsPrivateCloudsResetVcenterCredentialsCall
ResetVcenterCredentials: Resets credentials of the Vcenter appliance.
- privateCloud: The resource name of the private cloud to reset credentialsfor. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)SetIamPolicy¶
func (r *ProjectsLocationsPrivateCloudsService) SetIamPolicy(resourcestring, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsPrivateCloudsSetIamPolicyCall
SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.
- resource: REQUIRED: The resource for which the policy is being specified.See Resource names (https://cloud.google.com/apis/design/resource_names)for the appropriate value for this field.
func (*ProjectsLocationsPrivateCloudsService)ShowNsxCredentials¶
func (r *ProjectsLocationsPrivateCloudsService) ShowNsxCredentials(privateCloudstring) *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
ShowNsxCredentials: Gets details of credentials for NSX appliance.
- privateCloud: The resource name of the private cloud to be queried forcredentials. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)ShowVcenterCredentials¶
func (r *ProjectsLocationsPrivateCloudsService) ShowVcenterCredentials(privateCloudstring) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
ShowVcenterCredentials: Gets details of credentials for Vcenter appliance.
- privateCloud: The resource name of the private cloud to be queried forcredentials. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)TestIamPermissions¶
func (r *ProjectsLocationsPrivateCloudsService) TestIamPermissions(resourcestring, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsPrivateCloudsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.
- resource: REQUIRED: The resource for which the policy detail is beingrequested. See Resource names(https://cloud.google.com/apis/design/resource_names) for the appropriatevalue for this field.
func (*ProjectsLocationsPrivateCloudsService)Undelete¶
func (r *ProjectsLocationsPrivateCloudsService) Undelete(namestring, undeleteprivatecloudrequest *UndeletePrivateCloudRequest) *ProjectsLocationsPrivateCloudsUndeleteCall
Undelete: Restores a private cloud that was previously scheduled fordeletion by `DeletePrivateCloud`. A `PrivateCloud` resource scheduled fordeletion has `PrivateCloud.state` set to `DELETED` and`PrivateCloud.expireTime` set to the time when deletion can no longer bereversed.
- name: The resource name of the private cloud scheduled for deletion.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsService)UpdateDnsForwarding¶added inv0.151.0
func (r *ProjectsLocationsPrivateCloudsService) UpdateDnsForwarding(namestring, dnsforwarding *DnsForwarding) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
UpdateDnsForwarding: Updates the parameters of the `DnsForwarding` config,like associated domains. Only fields specified in `update_mask` are applied.
- name: Output only. Identifier. The resource name of this DNS profile.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/dnsForwarding`.
typeProjectsLocationsPrivateCloudsSetIamPolicyCall¶
type ProjectsLocationsPrivateCloudsSetIamPolicyCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsSetIamPolicyCall)Context¶
func (c *ProjectsLocationsPrivateCloudsSetIamPolicyCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsSetIamPolicyCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsSetIamPolicyCall)Do¶
func (c *ProjectsLocationsPrivateCloudsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy,error)
Do executes the "vmwareengine.projects.locations.privateClouds.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*Policy.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsSetIamPolicyCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsSetIamPolicyCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsSetIamPolicyCall)Header¶
func (c *ProjectsLocationsPrivateCloudsSetIamPolicyCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsShowNsxCredentialsCall¶
type ProjectsLocationsPrivateCloudsShowNsxCredentialsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsShowNsxCredentialsCall)Context¶
func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsShowNsxCredentialsCall)Do¶
func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) Do(opts ...googleapi.CallOption) (*Credentials,error)
Do executes the "vmwareengine.projects.locations.privateClouds.showNsxCredentials" call.Any non-2xx status code is an error. Response headers are in either*Credentials.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsShowNsxCredentialsCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsShowNsxCredentialsCall)Header¶
func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsShowNsxCredentialsCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsShowNsxCredentialsCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsShowVcenterCredentialsCall¶
type ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall)Context¶
func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall)Do¶
func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Do(opts ...googleapi.CallOption) (*Credentials,error)
Do executes the "vmwareengine.projects.locations.privateClouds.showVcenterCredentials" call.Any non-2xx status code is an error. Response headers are in either*Credentials.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall)Header¶
func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall)Username¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall) Username(usernamestring) *ProjectsLocationsPrivateCloudsShowVcenterCredentialsCall
Username sets the optional parameter "username": The username of the user tobe queried for credentials. The default value of this field isCloudOwner@gve.local. The provided value must be one of the following:CloudOwner@gve.local, solution-user-01@gve.local,solution-user-02@gve.local, solution-user-03@gve.local,solution-user-04@gve.local, solution-user-05@gve.local,zertoadmin@gve.local.
typeProjectsLocationsPrivateCloudsSubnetsGetCall¶
type ProjectsLocationsPrivateCloudsSubnetsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsSubnetsGetCall)Context¶
func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsSubnetsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsSubnetsGetCall)Do¶
func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) Do(opts ...googleapi.CallOption) (*Subnet,error)
Do executes the "vmwareengine.projects.locations.privateClouds.subnets.get" call.Any non-2xx status code is an error. Response headers are in either*Subnet.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsSubnetsGetCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsSubnetsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsSubnetsGetCall)Header¶
func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsSubnetsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsSubnetsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsSubnetsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsSubnetsListCall¶
type ProjectsLocationsPrivateCloudsSubnetsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsSubnetsListCall)Context¶
func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsSubnetsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsSubnetsListCall)Do¶
func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Do(opts ...googleapi.CallOption) (*ListSubnetsResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.subnets.list" call.Any non-2xx status code is an error. Response headers are in either*ListSubnetsResponse.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsPrivateCloudsSubnetsListCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsSubnetsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsSubnetsListCall)Header¶
func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsSubnetsListCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsSubnetsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsSubnetsListCall)PageSize¶
func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsSubnetsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofsubnets to return in one page. The service may return fewer than this value.The maximum value is coerced to 1000. The default value of this field is500.
func (*ProjectsLocationsPrivateCloudsSubnetsListCall)PageToken¶
func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsSubnetsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListSubnetsRequest` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListSubnetsRequest` must match the call that provided the page token.
func (*ProjectsLocationsPrivateCloudsSubnetsListCall)Pages¶
func (c *ProjectsLocationsPrivateCloudsSubnetsListCall) Pages(ctxcontext.Context, f func(*ListSubnetsResponse)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.
typeProjectsLocationsPrivateCloudsSubnetsPatchCall¶
type ProjectsLocationsPrivateCloudsSubnetsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsSubnetsPatchCall)Context¶
func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsSubnetsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsSubnetsPatchCall)Do¶
func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.subnets.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsSubnetsPatchCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsSubnetsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsSubnetsPatchCall)Header¶
func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsSubnetsPatchCall)UpdateMask¶
func (c *ProjectsLocationsPrivateCloudsSubnetsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateCloudsSubnetsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `Subnet` resource by theupdate. The fields specified in the `update_mask` are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsPrivateCloudsSubnetsService¶
type ProjectsLocationsPrivateCloudsSubnetsService struct {// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsSubnetsService¶
func NewProjectsLocationsPrivateCloudsSubnetsService(s *Service) *ProjectsLocationsPrivateCloudsSubnetsService
func (*ProjectsLocationsPrivateCloudsSubnetsService)Get¶
func (r *ProjectsLocationsPrivateCloudsSubnetsService) Get(namestring) *ProjectsLocationsPrivateCloudsSubnetsGetCall
Get: Gets details of a single subnet.
- name: The resource name of the subnet to retrieve. Resource names areschemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`.
func (*ProjectsLocationsPrivateCloudsSubnetsService)List¶
func (r *ProjectsLocationsPrivateCloudsSubnetsService) List(parentstring) *ProjectsLocationsPrivateCloudsSubnetsListCall
List: Lists subnets in a given private cloud.
- parent: The resource name of the private cloud to be queried for subnets.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsSubnetsService)Patch¶
func (r *ProjectsLocationsPrivateCloudsSubnetsService) Patch(namestring, subnet *Subnet) *ProjectsLocationsPrivateCloudsSubnetsPatchCall
Patch: Updates the parameters of a single subnet. Only fields specified in`update_mask` are applied. *Note*: This API is synchronous and alwaysreturns a successful `google.longrunning.Operation` (LRO). The returned LROwill only have `done` and `response` fields.
- name: Output only. Identifier. The resource name of this subnet. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet`.
typeProjectsLocationsPrivateCloudsTestIamPermissionsCall¶
type ProjectsLocationsPrivateCloudsTestIamPermissionsCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsTestIamPermissionsCall)Context¶
func (c *ProjectsLocationsPrivateCloudsTestIamPermissionsCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsTestIamPermissionsCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsTestIamPermissionsCall)Do¶
func (c *ProjectsLocationsPrivateCloudsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*TestIamPermissionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsTestIamPermissionsCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsTestIamPermissionsCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsTestIamPermissionsCall)Header¶
func (c *ProjectsLocationsPrivateCloudsTestIamPermissionsCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsUndeleteCall¶
type ProjectsLocationsPrivateCloudsUndeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsUndeleteCall)Context¶
func (c *ProjectsLocationsPrivateCloudsUndeleteCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsUndeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsUndeleteCall)Do¶
func (c *ProjectsLocationsPrivateCloudsUndeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.undelete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsUndeleteCall)Fields¶
func (c *ProjectsLocationsPrivateCloudsUndeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUndeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsUndeleteCall)Header¶
func (c *ProjectsLocationsPrivateCloudsUndeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
typeProjectsLocationsPrivateCloudsUpdateDnsForwardingCall¶added inv0.151.0
type ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall)Context¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall)Do¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.updateDnsForwarding" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall)Fields¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall)Header¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall)RequestId¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall)UpdateMask¶added inv0.151.0
func (c *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateCloudsUpdateDnsForwardingCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `DnsForwarding` resourceby the update. The fields specified in the `update_mask` are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsPrivateCloudsUpgradesGetCall¶added inv0.223.0
type ProjectsLocationsPrivateCloudsUpgradesGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsUpgradesGetCall)Context¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsUpgradesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsUpgradesGetCall)Do¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) Do(opts ...googleapi.CallOption) (*Upgrade,error)
Do executes the "vmwareengine.projects.locations.privateClouds.upgrades.get" call.Any non-2xx status code is an error. Response headers are in either*Upgrade.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsUpgradesGetCall)Fields¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUpgradesGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsUpgradesGetCall)Header¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsUpgradesGetCall)IfNoneMatch¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsUpgradesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateCloudsUpgradesListCall¶added inv0.223.0
type ProjectsLocationsPrivateCloudsUpgradesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsUpgradesListCall)Context¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsUpgradesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)Do¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Do(opts ...googleapi.CallOption) (*ListUpgradesResponse,error)
Do executes the "vmwareengine.projects.locations.privateClouds.upgrades.list" call.Any non-2xx status code is an error. Response headers are in either*ListUpgradesResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)Fields¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUpgradesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)Filter¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Filter(filterstring) *ProjectsLocationsPrivateCloudsUpgradesListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of upgrades, you can exclude the ones named`example-upgrade1` by specifying `name != "example-upgrade1". You can alsofilter nested fields. To filter on multiple expressions, provide eachseparate expression within parentheses. For example: ``` (name ="example-upgrade") (createTime > "2021-04-12T08:15:10.40Z") ``` By default,each expression is an `AND` expression. However, you can include `AND` and`OR` expressions explicitly. For example: ``` (name = "upgrade-1") AND(createTime > "2021-04-12T08:15:10.40Z") OR (name = "upgrade-2") ```
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)Header¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)IfNoneMatch¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateCloudsUpgradesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)OrderBy¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) OrderBy(orderBystring) *ProjectsLocationsPrivateCloudsUpgradesListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)PageSize¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateCloudsUpgradesListCall
PageSize sets the optional parameter "pageSize": The maximum number of`Upgrades` to return in one page. The service may return fewer resourcesthan this value. The maximum value is coerced to 1000. The default value ofthis field is 500.
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)PageToken¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateCloudsUpgradesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListUpgrades` call. Provide this to retrieve the subsequentpage. When paginating, all other parameters provided to `ListUpgrades` mustmatch the call that provided the page token.
func (*ProjectsLocationsPrivateCloudsUpgradesListCall)Pages¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesListCall) Pages(ctxcontext.Context, f func(*ListUpgradesResponse)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.
typeProjectsLocationsPrivateCloudsUpgradesPatchCall¶added inv0.223.0
type ProjectsLocationsPrivateCloudsUpgradesPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateCloudsUpgradesPatchCall)Context¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateCloudsUpgradesPatchCall)Do¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateClouds.upgrades.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateCloudsUpgradesPatchCall)Fields¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateCloudsUpgradesPatchCall)Header¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateCloudsUpgradesPatchCall)RequestId¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) RequestId(requestIdstring) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateCloudsUpgradesPatchCall)UpdateMask¶added inv0.223.0
func (c *ProjectsLocationsPrivateCloudsUpgradesPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `Upgrade` resource bythe update. The fields specified in the `update_mask` are relative to theresource, not the full request. A field will be overwritten if it is in themask. If the user does not provide a mask then all fields will beoverwritten.
typeProjectsLocationsPrivateCloudsUpgradesService¶added inv0.223.0
type ProjectsLocationsPrivateCloudsUpgradesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsPrivateCloudsUpgradesService¶added inv0.223.0
func NewProjectsLocationsPrivateCloudsUpgradesService(s *Service) *ProjectsLocationsPrivateCloudsUpgradesService
func (*ProjectsLocationsPrivateCloudsUpgradesService)Get¶added inv0.223.0
func (r *ProjectsLocationsPrivateCloudsUpgradesService) Get(namestring) *ProjectsLocationsPrivateCloudsUpgradesGetCall
Get: Retrieves a private cloud `Upgrade` resource by its resource name.
- name: The name of the `Upgrade` resource to be retrieved. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`.
func (*ProjectsLocationsPrivateCloudsUpgradesService)List¶added inv0.223.0
func (r *ProjectsLocationsPrivateCloudsUpgradesService) List(parentstring) *ProjectsLocationsPrivateCloudsUpgradesListCall
List: Lists past, ongoing and upcoming `Upgrades` for the given privatecloud.
- parent: Query a list of `Upgrades` for the given private cloud resourcename. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-west1-a/privateClouds/my-cloud`.
func (*ProjectsLocationsPrivateCloudsUpgradesService)Patch¶added inv0.223.0
func (r *ProjectsLocationsPrivateCloudsUpgradesService) Patch(namestring, upgrade *Upgrade) *ProjectsLocationsPrivateCloudsUpgradesPatchCall
Patch: Update the private cloud `Upgrade` resource. Only `schedule` fieldcan updated. The schedule can only be updated when the upgrade has notstarted and schedule edit window is open. Only fields specified in`update_mask` are considered.
- name: Output only. Identifier. The resource name of the private cloud`Upgrade`. Resource names are schemeless URIs that follow the conventionsinhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-west1-a/privateClouds/my-cloud/upgrades/my-upgrade`.
typeProjectsLocationsPrivateConnectionsCreateCall¶
type ProjectsLocationsPrivateConnectionsCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateConnectionsCreateCall)Context¶
func (c *ProjectsLocationsPrivateConnectionsCreateCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateConnectionsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateConnectionsCreateCall)Do¶
func (c *ProjectsLocationsPrivateConnectionsCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateConnections.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateConnectionsCreateCall)Fields¶
func (c *ProjectsLocationsPrivateConnectionsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateConnectionsCreateCall)Header¶
func (c *ProjectsLocationsPrivateConnectionsCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateConnectionsCreateCall)PrivateConnectionId¶
func (c *ProjectsLocationsPrivateConnectionsCreateCall) PrivateConnectionId(privateConnectionIdstring) *ProjectsLocationsPrivateConnectionsCreateCall
PrivateConnectionId sets the optional parameter "privateConnectionId":Required. The user-provided identifier of the new private connection. Thisidentifier must be unique among private connection resources within theparent and becomes the final token in the name URI. The identifier must meetthe following requirements: * Only contains 1-63 alphanumeric characters andhyphens * Begins with an alphabetical character * Ends with a non-hyphencharacter * Not formatted as a UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
func (*ProjectsLocationsPrivateConnectionsCreateCall)RequestId¶
func (c *ProjectsLocationsPrivateConnectionsCreateCall) RequestId(requestIdstring) *ProjectsLocationsPrivateConnectionsCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateConnectionsDeleteCall¶
type ProjectsLocationsPrivateConnectionsDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateConnectionsDeleteCall)Context¶
func (c *ProjectsLocationsPrivateConnectionsDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateConnectionsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateConnectionsDeleteCall)Do¶
func (c *ProjectsLocationsPrivateConnectionsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateConnections.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateConnectionsDeleteCall)Fields¶
func (c *ProjectsLocationsPrivateConnectionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateConnectionsDeleteCall)Header¶
func (c *ProjectsLocationsPrivateConnectionsDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateConnectionsDeleteCall)RequestId¶
func (c *ProjectsLocationsPrivateConnectionsDeleteCall) RequestId(requestIdstring) *ProjectsLocationsPrivateConnectionsDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsPrivateConnectionsGetCall¶
type ProjectsLocationsPrivateConnectionsGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateConnectionsGetCall)Context¶
func (c *ProjectsLocationsPrivateConnectionsGetCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateConnectionsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateConnectionsGetCall)Do¶
func (c *ProjectsLocationsPrivateConnectionsGetCall) Do(opts ...googleapi.CallOption) (*PrivateConnection,error)
Do executes the "vmwareengine.projects.locations.privateConnections.get" call.Any non-2xx status code is an error. Response headers are in either*PrivateConnection.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsPrivateConnectionsGetCall)Fields¶
func (c *ProjectsLocationsPrivateConnectionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateConnectionsGetCall)Header¶
func (c *ProjectsLocationsPrivateConnectionsGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateConnectionsGetCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateConnectionsGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateConnectionsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsPrivateConnectionsListCall¶
type ProjectsLocationsPrivateConnectionsListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateConnectionsListCall)Context¶
func (c *ProjectsLocationsPrivateConnectionsListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateConnectionsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateConnectionsListCall)Do¶
func (c *ProjectsLocationsPrivateConnectionsListCall) Do(opts ...googleapi.CallOption) (*ListPrivateConnectionsResponse,error)
Do executes the "vmwareengine.projects.locations.privateConnections.list" call.Any non-2xx status code is an error. Response headers are in either*ListPrivateConnectionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateConnectionsListCall)Fields¶
func (c *ProjectsLocationsPrivateConnectionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateConnectionsListCall)Filter¶
func (c *ProjectsLocationsPrivateConnectionsListCall) Filter(filterstring) *ProjectsLocationsPrivateConnectionsListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of private connections, you can exclude the ones named`example-connection` by specifying `name != "example-connection". To filteron multiple expressions, provide each separate expression withinparentheses. For example: ``` (name = "example-connection") (createTime >"2022-09-22T08:15:10.40Z") ``` By default, each expression is an `AND`expression. However, you can include `AND` and `OR` expressions explicitly.For example: ``` (name = "example-connection-1") AND (createTime >"2021-04-12T08:15:10.40Z") OR (name = "example-connection-2") ```
func (*ProjectsLocationsPrivateConnectionsListCall)Header¶
func (c *ProjectsLocationsPrivateConnectionsListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateConnectionsListCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateConnectionsListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateConnectionsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateConnectionsListCall)OrderBy¶
func (c *ProjectsLocationsPrivateConnectionsListCall) OrderBy(orderBystring) *ProjectsLocationsPrivateConnectionsListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsPrivateConnectionsListCall)PageSize¶
func (c *ProjectsLocationsPrivateConnectionsListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateConnectionsListCall
PageSize sets the optional parameter "pageSize": The maximum number ofprivate connections to return in one page. The maximum value is coerced to1000. The default value of this field is 500.
func (*ProjectsLocationsPrivateConnectionsListCall)PageToken¶
func (c *ProjectsLocationsPrivateConnectionsListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateConnectionsListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListPrivateConnections` call. Provide this to retrieve thesubsequent page. When paginating, all other parameters provided to`ListPrivateConnections` must match the call that provided the page token.
func (*ProjectsLocationsPrivateConnectionsListCall)Pages¶
func (c *ProjectsLocationsPrivateConnectionsListCall) Pages(ctxcontext.Context, f func(*ListPrivateConnectionsResponse)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.
typeProjectsLocationsPrivateConnectionsPatchCall¶
type ProjectsLocationsPrivateConnectionsPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateConnectionsPatchCall)Context¶
func (c *ProjectsLocationsPrivateConnectionsPatchCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateConnectionsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateConnectionsPatchCall)Do¶
func (c *ProjectsLocationsPrivateConnectionsPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.privateConnections.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsPrivateConnectionsPatchCall)Fields¶
func (c *ProjectsLocationsPrivateConnectionsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateConnectionsPatchCall)Header¶
func (c *ProjectsLocationsPrivateConnectionsPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateConnectionsPatchCall)RequestId¶
func (c *ProjectsLocationsPrivateConnectionsPatchCall) RequestId(requestIdstring) *ProjectsLocationsPrivateConnectionsPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsPrivateConnectionsPatchCall)UpdateMask¶
func (c *ProjectsLocationsPrivateConnectionsPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsPrivateConnectionsPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the `PrivateConnection`resource by the update. The fields specified in the `update_mask` arerelative to the resource, not the full request. A field will be overwrittenif it is in the mask. If the user does not provide a mask then all fieldswill be overwritten.
typeProjectsLocationsPrivateConnectionsPeeringRoutesListCall¶
type ProjectsLocationsPrivateConnectionsPeeringRoutesListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsPrivateConnectionsPeeringRoutesListCall)Context¶
func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Context(ctxcontext.Context) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsPrivateConnectionsPeeringRoutesListCall)Do¶
func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Do(opts ...googleapi.CallOption) (*ListPrivateConnectionPeeringRoutesResponse,error)
Do executes the "vmwareengine.projects.locations.privateConnections.peeringRoutes.list" call.Any non-2xx status code is an error. Response headers are in either*ListPrivateConnectionPeeringRoutesResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsPrivateConnectionsPeeringRoutesListCall)Fields¶
func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsPrivateConnectionsPeeringRoutesListCall)Header¶
func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsPrivateConnectionsPeeringRoutesListCall)IfNoneMatch¶
func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsPrivateConnectionsPeeringRoutesListCall)PageSize¶
func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) PageSize(pageSizeint64) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
PageSize sets the optional parameter "pageSize": The maximum number ofpeering routes to return in one page. The service may return fewer than thisvalue. The maximum value is coerced to 1000. The default value of this fieldis 500.
func (*ProjectsLocationsPrivateConnectionsPeeringRoutesListCall)PageToken¶
func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) PageToken(pageTokenstring) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListPrivateConnectionPeeringRoutes` call. Provide this toretrieve the subsequent page. When paginating, all other parameters providedto `ListPrivateConnectionPeeringRoutes` must match the call that providedthe page token.
func (*ProjectsLocationsPrivateConnectionsPeeringRoutesListCall)Pages¶
func (c *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall) Pages(ctxcontext.Context, f func(*ListPrivateConnectionPeeringRoutesResponse)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.
typeProjectsLocationsPrivateConnectionsPeeringRoutesService¶
type ProjectsLocationsPrivateConnectionsPeeringRoutesService struct {// contains filtered or unexported fields}funcNewProjectsLocationsPrivateConnectionsPeeringRoutesService¶
func NewProjectsLocationsPrivateConnectionsPeeringRoutesService(s *Service) *ProjectsLocationsPrivateConnectionsPeeringRoutesService
func (*ProjectsLocationsPrivateConnectionsPeeringRoutesService)List¶
func (r *ProjectsLocationsPrivateConnectionsPeeringRoutesService) List(parentstring) *ProjectsLocationsPrivateConnectionsPeeringRoutesListCall
List: Lists the private connection routes exchanged over a peeringconnection.
- parent: The resource name of the private connection to retrieve peeringroutes from. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample:`projects/my-project/locations/us-west1/privateConnections/my-connection`.
typeProjectsLocationsPrivateConnectionsService¶
type ProjectsLocationsPrivateConnectionsService struct {PeeringRoutes *ProjectsLocationsPrivateConnectionsPeeringRoutesService// contains filtered or unexported fields}funcNewProjectsLocationsPrivateConnectionsService¶
func NewProjectsLocationsPrivateConnectionsService(s *Service) *ProjectsLocationsPrivateConnectionsService
func (*ProjectsLocationsPrivateConnectionsService)Create¶
func (r *ProjectsLocationsPrivateConnectionsService) Create(parentstring, privateconnection *PrivateConnection) *ProjectsLocationsPrivateConnectionsCreateCall
Create: Creates a new private connection that can be used for accessingprivate Clouds.
- parent: The resource name of the location to create the new privateconnection in. Private connection is a regional resource. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1`.
func (*ProjectsLocationsPrivateConnectionsService)Delete¶
func (r *ProjectsLocationsPrivateConnectionsService) Delete(namestring) *ProjectsLocationsPrivateConnectionsDeleteCall
Delete: Deletes a `PrivateConnection` resource. When a private connection isdeleted for a VMware Engine network, the connected network becomesinaccessible to that VMware Engine network.
- name: The resource name of the private connection to be deleted. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/privateConnections/my-connection`.
func (*ProjectsLocationsPrivateConnectionsService)Get¶
func (r *ProjectsLocationsPrivateConnectionsService) Get(namestring) *ProjectsLocationsPrivateConnectionsGetCall
Get: Retrieves a `PrivateConnection` resource by its resource name. Theresource contains details of the private connection, such as connectednetwork, routing mode and state.
- name: The resource name of the private connection to retrieve. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/privateConnections/my-connection`.
func (*ProjectsLocationsPrivateConnectionsService)List¶
func (r *ProjectsLocationsPrivateConnectionsService) List(parentstring) *ProjectsLocationsPrivateConnectionsListCall
List: Lists `PrivateConnection` resources in a given project and location.
- parent: The resource name of the location to query for privateconnections. Resource names are schemeless URIs that follow theconventions inhttps://cloud.google.com/apis/design/resource_names. Forexample: `projects/my-project/locations/us-central1`.
func (*ProjectsLocationsPrivateConnectionsService)Patch¶
func (r *ProjectsLocationsPrivateConnectionsService) Patch(namestring, privateconnection *PrivateConnection) *ProjectsLocationsPrivateConnectionsPatchCall
Patch: Modifies a `PrivateConnection` resource. Only `description` and`routing_mode` fields can be updated. Only fields specified in `updateMask`are applied.
- name: Output only. The resource name of the private connection. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/us-central1/privateConnections/my-connection`.
typeProjectsLocationsService¶
type ProjectsLocationsService struct {Announcements *ProjectsLocationsAnnouncementsServiceDnsBindPermission *ProjectsLocationsDnsBindPermissionServiceNetworkPeerings *ProjectsLocationsNetworkPeeringsServiceNetworkPolicies *ProjectsLocationsNetworkPoliciesServiceNodeTypes *ProjectsLocationsNodeTypesServiceOperations *ProjectsLocationsOperationsServicePrivateClouds *ProjectsLocationsPrivateCloudsServicePrivateConnections *ProjectsLocationsPrivateConnectionsServiceVmwareEngineNetworks *ProjectsLocationsVmwareEngineNetworksService// contains filtered or unexported fields}funcNewProjectsLocationsService¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService)Get¶
func (r *ProjectsLocationsService) Get(namestring) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService)GetDnsBindPermission¶added inv0.158.0
func (r *ProjectsLocationsService) GetDnsBindPermission(namestring) *ProjectsLocationsGetDnsBindPermissionCall
GetDnsBindPermission: Gets all the principals having bind permission on theintranet VPC associated with the consumer project granted by the Grant API.DnsBindPermission is a global resource and location can only be global.
- name: The name of the resource which stores the users/service accountshaving the permission to bind to the corresponding intranet VPC of theconsumer project. DnsBindPermission is a global resource. Resource namesare schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/dnsBindPermission`.
func (*ProjectsLocationsService)List¶
func (r *ProjectsLocationsService) List(namestring) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
typeProjectsLocationsVmwareEngineNetworksCreateCall¶
type ProjectsLocationsVmwareEngineNetworksCreateCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareEngineNetworksCreateCall)Context¶
func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareEngineNetworksCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareEngineNetworksCreateCall)Do¶
func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.vmwareEngineNetworks.create" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareEngineNetworksCreateCall)Fields¶
func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksCreateCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareEngineNetworksCreateCall)Header¶
func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareEngineNetworksCreateCall)RequestId¶
func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) RequestId(requestIdstring) *ProjectsLocationsVmwareEngineNetworksCreateCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsVmwareEngineNetworksCreateCall)VmwareEngineNetworkId¶
func (c *ProjectsLocationsVmwareEngineNetworksCreateCall) VmwareEngineNetworkId(vmwareEngineNetworkIdstring) *ProjectsLocationsVmwareEngineNetworksCreateCall
VmwareEngineNetworkId sets the optional parameter "vmwareEngineNetworkId":Required. The user-provided identifier of the new VMware Engine network.This identifier must be unique among VMware Engine network resources withinthe parent and becomes the final token in the name URI. The identifier mustmeet the following requirements: * For networks of type LEGACY, adheres tothe format: `{region-id}-default`. Replace `{region-id}` with the regionwhere you want to create the VMware Engine network. For example,"us-central1-default". * Only contains 1-63 alphanumeric characters andhyphens * Begins with an alphabetical character * Ends with a non-hyphencharacter * Not formatted as a UUID * Complies withRFC 1034(https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
typeProjectsLocationsVmwareEngineNetworksDeleteCall¶
type ProjectsLocationsVmwareEngineNetworksDeleteCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareEngineNetworksDeleteCall)Context¶
func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareEngineNetworksDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareEngineNetworksDeleteCall)Do¶
func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.vmwareEngineNetworks.delete" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareEngineNetworksDeleteCall)Etag¶
func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Etag(etagstring) *ProjectsLocationsVmwareEngineNetworksDeleteCall
Etag sets the optional parameter "etag": Checksum used to ensure that theuser-provided value is up to date before the server processes the request.The server compares provided checksum with the current checksum of theresource. If the user-provided value is out of date, this request returns an`ABORTED` error.
func (*ProjectsLocationsVmwareEngineNetworksDeleteCall)Fields¶
func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksDeleteCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareEngineNetworksDeleteCall)Header¶
func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareEngineNetworksDeleteCall)RequestId¶
func (c *ProjectsLocationsVmwareEngineNetworksDeleteCall) RequestId(requestIdstring) *ProjectsLocationsVmwareEngineNetworksDeleteCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
typeProjectsLocationsVmwareEngineNetworksGetCall¶
type ProjectsLocationsVmwareEngineNetworksGetCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareEngineNetworksGetCall)Context¶
func (c *ProjectsLocationsVmwareEngineNetworksGetCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareEngineNetworksGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareEngineNetworksGetCall)Do¶
func (c *ProjectsLocationsVmwareEngineNetworksGetCall) Do(opts ...googleapi.CallOption) (*VmwareEngineNetwork,error)
Do executes the "vmwareengine.projects.locations.vmwareEngineNetworks.get" call.Any non-2xx status code is an error. Response headers are in either*VmwareEngineNetwork.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.
func (*ProjectsLocationsVmwareEngineNetworksGetCall)Fields¶
func (c *ProjectsLocationsVmwareEngineNetworksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksGetCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareEngineNetworksGetCall)Header¶
func (c *ProjectsLocationsVmwareEngineNetworksGetCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareEngineNetworksGetCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareEngineNetworksGetCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareEngineNetworksGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
typeProjectsLocationsVmwareEngineNetworksListCall¶
type ProjectsLocationsVmwareEngineNetworksListCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareEngineNetworksListCall)Context¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareEngineNetworksListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareEngineNetworksListCall)Do¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) Do(opts ...googleapi.CallOption) (*ListVmwareEngineNetworksResponse,error)
Do executes the "vmwareengine.projects.locations.vmwareEngineNetworks.list" call.Any non-2xx status code is an error. Response headers are in either*ListVmwareEngineNetworksResponse.ServerResponse.Header or (if a responsewas returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.
func (*ProjectsLocationsVmwareEngineNetworksListCall)Fields¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksListCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareEngineNetworksListCall)Filter¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) Filter(filterstring) *ProjectsLocationsVmwareEngineNetworksListCall
Filter sets the optional parameter "filter": A filter expression thatmatches resources returned in the response. The expression must specify thefield name, a comparison operator, and the value that you want to use forfiltering. The value must be a string, a number, or a boolean. Thecomparison operator must be `=`, `!=`, `>`, or `<`. For example, if you arefiltering a list of network peerings, you can exclude the ones named`example-network` by specifying `name != "example-network". To filter onmultiple expressions, provide each separate expression within parentheses.For example: ``` (name = "example-network") (createTime >"2021-04-12T08:15:10.40Z") ``` By default, each expression is an `AND`expression. However, you can include `AND` and `OR` expressions explicitly.For example: ``` (name = "example-network-1") AND (createTime >"2021-04-12T08:15:10.40Z") OR (name = "example-network-2") ```
func (*ProjectsLocationsVmwareEngineNetworksListCall)Header¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareEngineNetworksListCall)IfNoneMatch¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) IfNoneMatch(entityTagstring) *ProjectsLocationsVmwareEngineNetworksListCall
IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.
func (*ProjectsLocationsVmwareEngineNetworksListCall)OrderBy¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) OrderBy(orderBystring) *ProjectsLocationsVmwareEngineNetworksListCall
OrderBy sets the optional parameter "orderBy": Sorts list results by acertain order. By default, returned results are ordered by `name` inascending order. You can also sort results in descending order based on the`name` value using `orderBy="name desc". Currently, only ordering by `name`is supported.
func (*ProjectsLocationsVmwareEngineNetworksListCall)PageSize¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) PageSize(pageSizeint64) *ProjectsLocationsVmwareEngineNetworksListCall
PageSize sets the optional parameter "pageSize": The maximum number ofresults to return in one page. The maximum value is coerced to 1000. Thedefault value of this field is 500.
func (*ProjectsLocationsVmwareEngineNetworksListCall)PageToken¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) PageToken(pageTokenstring) *ProjectsLocationsVmwareEngineNetworksListCall
PageToken sets the optional parameter "pageToken": A page token, receivedfrom a previous `ListVmwareEngineNetworks` call. Provide this to retrievethe subsequent page. When paginating, all other parameters provided to`ListVmwareEngineNetworks` must match the call that provided the page token.
func (*ProjectsLocationsVmwareEngineNetworksListCall)Pages¶
func (c *ProjectsLocationsVmwareEngineNetworksListCall) Pages(ctxcontext.Context, f func(*ListVmwareEngineNetworksResponse)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.
typeProjectsLocationsVmwareEngineNetworksPatchCall¶
type ProjectsLocationsVmwareEngineNetworksPatchCall struct {// contains filtered or unexported fields}func (*ProjectsLocationsVmwareEngineNetworksPatchCall)Context¶
func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) Context(ctxcontext.Context) *ProjectsLocationsVmwareEngineNetworksPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsVmwareEngineNetworksPatchCall)Do¶
func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) Do(opts ...googleapi.CallOption) (*Operation,error)
Do executes the "vmwareengine.projects.locations.vmwareEngineNetworks.patch" call.Any non-2xx status code is an error. Response headers are in either*Operation.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsVmwareEngineNetworksPatchCall)Fields¶
func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsVmwareEngineNetworksPatchCall
Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.
func (*ProjectsLocationsVmwareEngineNetworksPatchCall)Header¶
func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) Header()http.Header
Header returns a http.Header that can be modified by the caller to addheaders to the request.
func (*ProjectsLocationsVmwareEngineNetworksPatchCall)RequestId¶
func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) RequestId(requestIdstring) *ProjectsLocationsVmwareEngineNetworksPatchCall
RequestId sets the optional parameter "requestId": A request ID to identifyrequests. Specify a unique request ID so that if you must retry yourrequest, the server will know to ignore the request if it has already beencompleted. The server guarantees that a request doesn't result in creationof duplicate commitments for at least 60 minutes. For example, consider asituation where you make an initial request and the request times out. Ifyou make the request again with the same request ID, the server can check iforiginal operation with the same request ID was received, and if so, willignore the second request. This prevents clients from accidentally creatingduplicate commitments. The request ID must be a valid UUID with theexception that zero UUID is not supported(00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsVmwareEngineNetworksPatchCall)UpdateMask¶
func (c *ProjectsLocationsVmwareEngineNetworksPatchCall) UpdateMask(updateMaskstring) *ProjectsLocationsVmwareEngineNetworksPatchCall
UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the VMware Engine networkresource by the update. The fields specified in the `update_mask` arerelative to the resource, not the full request. A field will be overwrittenif it is in the mask. If the user does not provide a mask then all fieldswill be overwritten. Only the following fields can be updated:`description`.
typeProjectsLocationsVmwareEngineNetworksService¶
type ProjectsLocationsVmwareEngineNetworksService struct {// contains filtered or unexported fields}funcNewProjectsLocationsVmwareEngineNetworksService¶
func NewProjectsLocationsVmwareEngineNetworksService(s *Service) *ProjectsLocationsVmwareEngineNetworksService
func (*ProjectsLocationsVmwareEngineNetworksService)Create¶
func (r *ProjectsLocationsVmwareEngineNetworksService) Create(parentstring, vmwareenginenetwork *VmwareEngineNetwork) *ProjectsLocationsVmwareEngineNetworksCreateCall
Create: Creates a new VMware Engine network that can be used by a privatecloud.
- parent: The resource name of the location to create the new VMware Enginenetwork in. A VMware Engine network of type `LEGACY` is a regionalresource, and a VMware Engine network of type `STANDARD` is a globalresource. Resource names are schemeless URIs that follow the conventionsinhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global`.
func (*ProjectsLocationsVmwareEngineNetworksService)Delete¶
func (r *ProjectsLocationsVmwareEngineNetworksService) Delete(namestring) *ProjectsLocationsVmwareEngineNetworksDeleteCall
Delete: Deletes a `VmwareEngineNetwork` resource. You can only delete aVMware Engine network after all resources that refer to it are deleted. Forexample, a private cloud, a network peering, and a network policy can allrefer to the same VMware Engine network.
- name: The resource name of the VMware Engine network to be deleted.Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/vmwareEngineNetworks/my-network`.
func (*ProjectsLocationsVmwareEngineNetworksService)Get¶
func (r *ProjectsLocationsVmwareEngineNetworksService) Get(namestring) *ProjectsLocationsVmwareEngineNetworksGetCall
Get: Retrieves a `VmwareEngineNetwork` resource by its resource name. Theresource contains details of the VMware Engine network, such as its VMwareEngine network type, peered networks in a service project, and state (forexample, `CREATING`, `ACTIVE`, `DELETING`).
- name: The resource name of the VMware Engine network to retrieve. Resourcenames are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/vmwareEngineNetworks/my-network`.
func (*ProjectsLocationsVmwareEngineNetworksService)List¶
func (r *ProjectsLocationsVmwareEngineNetworksService) List(parentstring) *ProjectsLocationsVmwareEngineNetworksListCall
List: Lists `VmwareEngineNetwork` resources in a given project and location.
- parent: The resource name of the location to query for VMware Enginenetworks. Resource names are schemeless URIs that follow the conventionsinhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global`.
func (*ProjectsLocationsVmwareEngineNetworksService)Patch¶
func (r *ProjectsLocationsVmwareEngineNetworksService) Patch(namestring, vmwareenginenetwork *VmwareEngineNetwork) *ProjectsLocationsVmwareEngineNetworksPatchCall
Patch: Modifies a VMware Engine network resource. Only the following fieldscan be updated: `description`. Only fields specified in `updateMask` areapplied.
- name: Output only. Identifier. The resource name of the VMware Enginenetwork. Resource names are schemeless URIs that follow the conventions inhttps://cloud.google.com/apis/design/resource_names. For example:`projects/my-project/locations/global/vmwareEngineNetworks/my-network`.
typeProjectsService¶
type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}funcNewProjectsService¶
func NewProjectsService(s *Service) *ProjectsService
typeRepairManagementDnsZoneBindingRequest¶added inv0.151.0
type RepairManagementDnsZoneBindingRequest struct {// RequestId: Optional. A 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. The server guarantees// that a request doesn't result in creation of duplicate commitments for at// least 60 minutes. 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 the 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).RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}RepairManagementDnsZoneBindingRequest: Request message forVmwareEngine.RepairManagementDnsZoneBindings
func (RepairManagementDnsZoneBindingRequest)MarshalJSON¶added inv0.151.0
func (sRepairManagementDnsZoneBindingRequest) MarshalJSON() ([]byte,error)
typeResetNsxCredentialsRequest¶
type ResetNsxCredentialsRequest struct {// RequestId: Optional. A 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. The server guarantees// that a request doesn't result in creation of duplicate commitments for at// least 60 minutes. 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).RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ResetNsxCredentialsRequest: Request message forVmwareEngine.ResetNsxCredentials
func (ResetNsxCredentialsRequest)MarshalJSON¶
func (sResetNsxCredentialsRequest) MarshalJSON() ([]byte,error)
typeResetVcenterCredentialsRequest¶
type ResetVcenterCredentialsRequest struct {// RequestId: Optional. A 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. The server guarantees// that a request doesn't result in creation of duplicate commitments for at// least 60 minutes. 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).RequestIdstring `json:"requestId,omitempty"`// Username: Optional. The username of the user to be to reset the credentials.// The default value of this field is CloudOwner@gve.local. The provided value// should be one of the following: solution-user-01@gve.local,// solution-user-02@gve.local, solution-user-03@gve.local,// solution-user-04@gve.local, solution-user-05@gve.local,// zertoadmin@gve.local.Usernamestring `json:"username,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}ResetVcenterCredentialsRequest: Request message forVmwareEngine.ResetVcenterCredentials
func (ResetVcenterCredentialsRequest)MarshalJSON¶
func (sResetVcenterCredentialsRequest) MarshalJSON() ([]byte,error)
typeRevokeDnsBindPermissionRequest¶added inv0.151.0
type RevokeDnsBindPermissionRequest struct {// Principal: Required. The consumer provided user/service account which needs// to be granted permission to bind with the intranet VPC corresponding to the// consumer project.Principal *Principal `json:"principal,omitempty"`// RequestId: Optional. A 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. The server guarantees// that a request doesn't result in creation of duplicate commitments for at// least 60 minutes. 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).RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "Principal") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Principal") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}RevokeDnsBindPermissionRequest: Request message forVmwareEngine.RevokeDnsBindPermission
func (RevokeDnsBindPermissionRequest)MarshalJSON¶added inv0.151.0
func (sRevokeDnsBindPermissionRequest) MarshalJSON() ([]byte,error)
typeSchedule¶added inv0.223.0
type Schedule struct {// Constraints: Output only. Output Only. Constraints applied to the schedule.// These constraints should be applicable at the time of any rescheduling.Constraints *Constraints `json:"constraints,omitempty"`// EditWindow: Output only. Output Only. The schedule is open for edits during// this time interval or window.EditWindow *Interval `json:"editWindow,omitempty"`// LastEditor: Output only. Output Only. Indicates who most recently edited the// upgrade schedule. The value is updated whenever the upgrade is rescheduled.//// Possible values:// "EDITOR_UNSPECIFIED" - The default value. This value should never be used.// "SYSTEM" - The upgrade is scheduled by the System or internal service.// "USER" - The upgrade is scheduled by the end user.LastEditorstring `json:"lastEditor,omitempty"`// StartTime: Required. The scheduled start time for the upgrade.StartTimestring `json:"startTime,omitempty"`// WeeklyWindows: Required. Weekly time windows for upgrade activities. The// server performs upgrade activities during these time windows to minimize// disruptions.WeeklyWindows []*TimeWindow `json:"weeklyWindows,omitempty"`// ForceSendFields is a list of field names (e.g. "Constraints") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Constraints") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Schedule: Schedule for the upgrade.
func (Schedule)MarshalJSON¶added inv0.223.0
typeService¶
type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentProjects *ProjectsService// contains filtered or unexported fields} funcNewdeprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
funcNewService¶
NewService creates a new Service.
typeSetIamPolicyRequest¶
type SetIamPolicyRequest struct {// 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 a valid// policy but certain Google Cloud services (such as Projects) might reject// them.Policy *Policy `json:"policy,omitempty"`// UpdateMask: OPTIONAL: A FieldMask specifying which fields of the policy to// modify. Only the fields in the mask will be modified. If no mask is// provided, the following default mask is used: `paths: "bindings, etag"UpdateMaskstring `json:"updateMask,omitempty"`// ForceSendFields is a list of field names (e.g. "Policy") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Policy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (SetIamPolicyRequest)MarshalJSON¶
func (sSetIamPolicyRequest) MarshalJSON() ([]byte,error)
typeStatus¶
type Status struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.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. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Status: The `Status` type defines a logical error model that is suitable fordifferent programming environments, including REST APIs and RPC APIs. It isused by gRPC (https://github.com/grpc). Each `Status` message contains threepieces of data: error code, error message, and error details. You can findout more about this error model and how to work with it in the API DesignGuide (https://cloud.google.com/apis/design/errors).
func (Status)MarshalJSON¶
typeStretchedClusterConfig¶added inv0.151.0
type StretchedClusterConfig struct {// PreferredLocation: Required. Zone that will remain operational when// connection between the two zones is lost. Specify the resource name of a// zone that belongs to the region of the private cloud. For example:// `projects/{project}/locations/europe-west3-a` where `{project}` can either// be a project number or a project ID.PreferredLocationstring `json:"preferredLocation,omitempty"`// SecondaryLocation: Required. Additional zone for a higher level of// availability and load balancing. Specify the resource name of a zone that// belongs to the region of the private cloud. For example:// `projects/{project}/locations/europe-west3-b` where `{project}` can either// be a project number or a project ID.SecondaryLocationstring `json:"secondaryLocation,omitempty"`// ForceSendFields is a list of field names (e.g. "PreferredLocation") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PreferredLocation") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}StretchedClusterConfig: Configuration of a stretched cluster.
func (StretchedClusterConfig)MarshalJSON¶added inv0.151.0
func (sStretchedClusterConfig) MarshalJSON() ([]byte,error)
typeSubnet¶
type Subnet struct {// GatewayIp: The IP address of the gateway of this subnet. Must fall within// the IP prefix defined above.GatewayIpstring `json:"gatewayIp,omitempty"`// IpCidrRange: The IP address range of the subnet in CIDR format// '10.0.0.0/24'.IpCidrRangestring `json:"ipCidrRange,omitempty"`// Name: Output only. Identifier. The resource name of this subnet. Resource// names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/m// y-subnet`Namestring `json:"name,omitempty"`// State: Output only. The state of the resource.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "ACTIVE" - The subnet is ready.// "CREATING" - The subnet is being created.// "UPDATING" - The subnet is being updated.// "DELETING" - The subnet is being deleted.// "RECONCILING" - Changes requested in the last operation are being// propagated.// "FAILED" - Last operation on the subnet did not succeed. Subnet's payload// is reverted back to its most recent working state.Statestring `json:"state,omitempty"`// Type: Output only. The type of the subnet. For example "management" or// "userDefined".Typestring `json:"type,omitempty"`// VlanId: Output only. VLAN ID of the VLAN on which the subnet is configuredVlanIdint64 `json:"vlanId,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "GatewayIp") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "GatewayIp") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Subnet: Subnet in a private cloud. Either `management` subnets (such asvMotion) that are read-only, or `userDefined`, which can also be updated.
func (Subnet)MarshalJSON¶
typeTestIamPermissionsRequest¶
type TestIamPermissionsRequest struct {// Permissions: The set of permissions to check for the `resource`. Permissions// with wildcards (such as `*` or `storage.*`) are not allowed. For more// information see IAM Overview// (https://cloud.google.com/iam/docs/overview#permissions).Permissions []string `json:"permissions,omitempty"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
func (TestIamPermissionsRequest)MarshalJSON¶
func (sTestIamPermissionsRequest) MarshalJSON() ([]byte,error)
typeTestIamPermissionsResponse¶
type TestIamPermissionsResponse struct {// Permissions: A subset of `TestPermissionsRequest.permissions` that the// caller is allowed.Permissions []string `json:"permissions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TestIamPermissionsResponse: Response message for `TestIamPermissions`method.
func (TestIamPermissionsResponse)MarshalJSON¶
func (sTestIamPermissionsResponse) MarshalJSON() ([]byte,error)
typeThresholds¶added inv0.188.0
type Thresholds struct {// ScaleIn: Required. The utilization triggering the scale-in operation in// percent.ScaleInint64 `json:"scaleIn,omitempty"`// ScaleOut: Required. The utilization triggering the scale-out operation in// percent.ScaleOutint64 `json:"scaleOut,omitempty"`// ForceSendFields is a list of field names (e.g. "ScaleIn") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ScaleIn") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Thresholds: Thresholds define the utilization of resources triggeringscale-out and scale-in operations.
func (Thresholds)MarshalJSON¶added inv0.188.0
func (sThresholds) MarshalJSON() ([]byte,error)
typeTimeOfDay¶added inv0.223.0
type TimeOfDay struct {// Hours: Hours of a day in 24 hour format. Must be greater than or equal to 0// and typically must be less than or equal to 23. An API may choose to allow// the value "24:00:00" for scenarios like business closing time.Hoursint64 `json:"hours,omitempty"`// Minutes: Minutes of an hour. Must be greater than or equal to 0 and less// than or equal to 59.Minutesint64 `json:"minutes,omitempty"`// Nanos: Fractions of seconds, in nanoseconds. Must be greater than or equal// to 0 and less than or equal to 999,999,999.Nanosint64 `json:"nanos,omitempty"`// Seconds: Seconds of a minute. Must be greater than or equal to 0 and// typically must be less than or equal to 59. An API may allow the value 60 if// it allows leap-seconds.Secondsint64 `json:"seconds,omitempty"`// ForceSendFields is a list of field names (e.g. "Hours") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hours") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TimeOfDay: Represents a time of day. The date and time zone are either notsignificant or are specified elsewhere. An API may choose to allow leapseconds. Related types are google.type.Date and `google.protobuf.Timestamp`.
func (TimeOfDay)MarshalJSON¶added inv0.223.0
typeTimeWindow¶added inv0.223.0
type TimeWindow struct {// DayOfWeek: Required. Day of the week for this window.//// Possible values:// "DAY_OF_WEEK_UNSPECIFIED" - The day of the week is unspecified.// "MONDAY" - Monday// "TUESDAY" - Tuesday// "WEDNESDAY" - Wednesday// "THURSDAY" - Thursday// "FRIDAY" - Friday// "SATURDAY" - Saturday// "SUNDAY" - SundayDayOfWeekstring `json:"dayOfWeek,omitempty"`// Duration: Required. The duration of the window. The max allowed duration for// any window is 24 hours.Durationstring `json:"duration,omitempty"`// StartTime: Required. Time in UTC when the window starts.StartTime *TimeOfDay `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "DayOfWeek") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DayOfWeek") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}TimeWindow: Represents the time window to perform upgrade activities.
func (TimeWindow)MarshalJSON¶added inv0.223.0
func (sTimeWindow) MarshalJSON() ([]byte,error)
typeUndeletePrivateCloudRequest¶
type UndeletePrivateCloudRequest struct {// RequestId: Optional. The request ID must be a valid UUID with the exception// that zero UUID is not supported (00000000-0000-0000-0000-000000000000).RequestIdstring `json:"requestId,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}UndeletePrivateCloudRequest: Request message forVmwareEngine.UndeletePrivateCloud
func (UndeletePrivateCloudRequest)MarshalJSON¶
func (sUndeletePrivateCloudRequest) MarshalJSON() ([]byte,error)
typeUpgrade¶added inv0.223.0
type Upgrade struct {// ComponentUpgrades: Output only. Output Only. The list of component upgrades.ComponentUpgrades []*VmwareUpgradeComponent `json:"componentUpgrades,omitempty"`// CreateTime: Output only. Output Only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Description: Output only. Output Only. The description of the upgrade. This// is used to provide additional information about the private cloud upgrade,// such as the upgrade's purpose, the changes included in the upgrade, or any// other relevant information about the upgrade.Descriptionstring `json:"description,omitempty"`// EndTime: Output only. Output Only. End time of the upgrade.EndTimestring `json:"endTime,omitempty"`// EstimatedDuration: Output only. Output Only. The estimated total duration of// the upgrade. This information can be used to plan or schedule upgrades to// minimize disruptions. Please note that the estimated duration is only an// estimate. The actual upgrade duration may vary.EstimatedDurationstring `json:"estimatedDuration,omitempty"`// Etag: The etag for the upgrade resource. If this is provided on update, it// must match the server's etag.Etagstring `json:"etag,omitempty"`// Name: Output only. Identifier. The resource name of the private cloud// `Upgrade`. Resource names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/us-west1-a/privateClouds/my-cloud/upgrades/my-// upgrade`Namestring `json:"name,omitempty"`// Schedule: Schedule details for the upgrade.Schedule *Schedule `json:"schedule,omitempty"`// StartVersion: Output only. Output Only. The start versionStartVersionstring `json:"startVersion,omitempty"`// State: Output only. The current state of the upgrade.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "SCHEDULED" - The upgrade is scheduled but not started yet.// "ONGOING" - The upgrade is currently in progress and has not completed// yet.// "SUCCEEDED" - The upgrade completed successfully.// "PAUSED" - The upgrade is currently paused.// "FAILED" - The upgrade failed.// "CANCELLING" - The upgrade is in process of being canceled.// "CANCELLED" - The upgrade is canceled.// "RESCHEDULING" - The upgrade is in process of being rescheduled.Statestring `json:"state,omitempty"`// TargetVersion: Output only. Output Only. The target versionTargetVersionstring `json:"targetVersion,omitempty"`// Type: Output only. Output Only. The type of upgrade.//// Possible values:// "TYPE_UNSPECIFIED" - The default value. This value should never be used.// "VSPHERE_UPGRADE" - Upgrade of vmware components when a major version is// available. 7.0u2 -> 7.0u3.// "VSPHERE_PATCH" - Patching of vmware components when a minor version is// available. 7.0u2c -> 7.0u2d.// "WORKAROUND" - Workarounds are hotfixes for vulnerabilities or issues// applied to mitigate the known vulnerability or issue until a patch or update// is released. The description of the upgrade will have more details.// "FIRMWARE_UPGRADE" - Firmware upgrade for VMware product used in the// private cloud.// "SWITCH_UPGRADE" - Switch upgrade.// "OTHER" - The upgrade type that doesn't fall into any other category.// "INFRASTRUCTURE_UPGRADE" - Infrastructure upgrade in BM node maintenance.Typestring `json:"type,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Output Only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// Version: Output only.Versionstring `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ComponentUpgrades") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ComponentUpgrades") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Upgrade: Describes Private cloud Upgrade.
func (Upgrade)MarshalJSON¶added inv0.223.0
typeVcenter¶
type Vcenter struct {// Fqdn: Fully qualified domain name of the appliance.Fqdnstring `json:"fqdn,omitempty"`// InternalIp: Internal IP address of the appliance.InternalIpstring `json:"internalIp,omitempty"`// State: Output only. The state of the appliance.//// Possible values:// "STATE_UNSPECIFIED" - Unspecified appliance state. This is the default// value.// "ACTIVE" - The appliance is operational and can be used.// "CREATING" - The appliance is being deployed.Statestring `json:"state,omitempty"`// Version: Version of the appliance.Versionstring `json:"version,omitempty"`// ForceSendFields is a list of field names (e.g. "Fqdn") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Fqdn") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}Vcenter: Details about a vCenter Server management appliance.
func (Vcenter)MarshalJSON¶
typeVmwareEngineNetwork¶
type VmwareEngineNetwork struct {// CreateTime: Output only. Creation time of this resource.CreateTimestring `json:"createTime,omitempty"`// Description: User-provided description for this VMware Engine network.Descriptionstring `json:"description,omitempty"`// Etag: Checksum that may be sent on update and delete requests to ensure that// the user-provided value is up to date before the server processes a request.// The server computes checksums based on the value of other fields in the// request.Etagstring `json:"etag,omitempty"`// Name: Output only. Identifier. The resource name of the VMware Engine// network. Resource names are schemeless URIs that follow the conventions in//https://cloud.google.com/apis/design/resource_names. For example:// `projects/my-project/locations/global/vmwareEngineNetworks/my-network`Namestring `json:"name,omitempty"`// State: Output only. State of the VMware Engine network.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value is used if the state// is omitted.// "CREATING" - The VMware Engine network is being created.// "ACTIVE" - The VMware Engine network is ready.// "UPDATING" - The VMware Engine network is being updated.// "DELETING" - The VMware Engine network is being deleted.Statestring `json:"state,omitempty"`// Type: Required. VMware Engine network type.//// Possible values:// "TYPE_UNSPECIFIED" - The default value. This value should never be used.// "LEGACY" - Network type used by private clouds created in projects without// a network of type `STANDARD`. This network type is no longer used for new// VMware Engine private cloud deployments.// "STANDARD" - Standard network type used for private cloud connectivity.Typestring `json:"type,omitempty"`// Uid: Output only. System-generated unique identifier for the resource.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Last update time of this resource.UpdateTimestring `json:"updateTime,omitempty"`// VpcNetworks: Output only. VMware Engine service VPC networks that provide// connectivity from a private cloud to customer projects, the internet, and// other Google Cloud services.VpcNetworks []*VpcNetwork `json:"vpcNetworks,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareEngineNetwork: VMware Engine network resource that providesconnectivity for VMware Engine private clouds.
func (VmwareEngineNetwork)MarshalJSON¶
func (sVmwareEngineNetwork) MarshalJSON() ([]byte,error)
typeVmwareUpgradeComponent¶added inv0.223.0
type VmwareUpgradeComponent struct {// ComponentType: Output only. Type of component//// Possible values:// "VMWARE_COMPONENT_TYPE_UNSPECIFIED" - The default value. This value should// never be used.// "VCENTER" - vcenter// "ESXI" - esxi nodes + transport nodes// "NSXT_UC" - nsxt upgrade coordinator// "NSXT_EDGE" - nsxt edges cluster// "NSXT_MGR" - nsxt managers/management plane// "HCX" - hcx// "VSAN" - VSAN cluster// "DVS" - DVS switch// "NAMESERVER_VM" - Nameserver VMs// "KMS_VM" - KMS VM used for vsan encryption// "WITNESS_VM" - witness VM in case of stretch PC// "NSXT" - nsxt// "CLUSTER" - Cluster is used in case of BMComponentTypestring `json:"componentType,omitempty"`// State: Output only. Component's upgrade state.//// Possible values:// "STATE_UNSPECIFIED" - The default value. This value should never be used.// "RUNNING" - Component's upgrade is in progress// "PAUSED" - The component's upgrade is paused. Will be resumed when upgrade// job is resumed// "SUCCEEDED" - The component's upgrade is successfully completed// "FAILED" - The component's upgrade has failed. This will move to resume if// upgrade is resumed or stay as is// "NOT_STARTED" - Component's upgrade has not started yet// "NOT_APPLICABLE" - Component's upgrade is not applicable in this upgrade.// It will be skipped.Statestring `json:"state,omitempty"`// ForceSendFields is a list of field names (e.g. "ComponentType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ComponentType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VmwareUpgradeComponent: Per component upgrade resource
func (VmwareUpgradeComponent)MarshalJSON¶added inv0.223.0
func (sVmwareUpgradeComponent) MarshalJSON() ([]byte,error)
typeVpcNetwork¶
type VpcNetwork struct {// Network: Output only. The relative resource name of the service VPC network// this VMware Engine network is attached to. For example:// `projects/123123/global/networks/my-network`Networkstring `json:"network,omitempty"`// Type: Output only. Type of VPC network (INTRANET, INTERNET, or GOOGLE_CLOUD)//// Possible values:// "TYPE_UNSPECIFIED" - The default value. This value should never be used.// "INTRANET" - VPC network that will be peered with a consumer VPC network// or the intranet VPC of another VMware Engine network. Access a private cloud// through Compute Engine VMs on a peered VPC network or an on-premises// resource connected to a peered consumer VPC network.// "INTERNET" - VPC network used for internet access to and from a private// cloud.// "GOOGLE_CLOUD" - VPC network used for access to Google Cloud services like// Cloud Storage.Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "Network") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Network") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}VpcNetwork: Represents a VMware Engine VPC network that is managed by aVMware Engine network resource.
func (VpcNetwork)MarshalJSON¶
func (sVpcNetwork) MarshalJSON() ([]byte,error)
typeWeeklyTimeInterval¶added inv0.230.0
type WeeklyTimeInterval struct {// EndDay: Output only. The day on which the interval ends. Can be same as// start day.//// Possible values:// "DAY_OF_WEEK_UNSPECIFIED" - The day of the week is unspecified.// "MONDAY" - Monday// "TUESDAY" - Tuesday// "WEDNESDAY" - Wednesday// "THURSDAY" - Thursday// "FRIDAY" - Friday// "SATURDAY" - Saturday// "SUNDAY" - SundayEndDaystring `json:"endDay,omitempty"`// EndTime: Output only. The time on the end day at which the interval ends.EndTime *TimeOfDay `json:"endTime,omitempty"`// StartDay: Output only. The day on which the interval starts.//// Possible values:// "DAY_OF_WEEK_UNSPECIFIED" - The day of the week is unspecified.// "MONDAY" - Monday// "TUESDAY" - Tuesday// "WEDNESDAY" - Wednesday// "THURSDAY" - Thursday// "FRIDAY" - Friday// "SATURDAY" - Saturday// "SUNDAY" - SundayStartDaystring `json:"startDay,omitempty"`// StartTime: Output only. The time on the start day at which the interval// starts.StartTime *TimeOfDay `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "EndDay") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EndDay") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}WeeklyTimeInterval: Represents a time interval, spanning across days of theweek. Until local timezones are supported, this interval is in UTC.
func (WeeklyTimeInterval)MarshalJSON¶added inv0.230.0
func (sWeeklyTimeInterval) MarshalJSON() ([]byte,error)