Documentation
¶
Overview ¶
Package cloudnumberregistry provides access to the Cloud Number Registry API.
For product documentation, see: https://docs.cloud.google.com/number-registry/reference/rest
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any 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/cloudnumberregistry/v1alpha" ... ctx := context.Background() cloudnumberregistryService, err := cloudnumberregistry.NewService(ctx)
In this example, Google Application Default Credentials are used for authentication. For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.
Other authentication options ¶
To use an API key for authentication (note: some APIs do not support API keys), use google.golang.org/api/option.WithAPIKey:
cloudnumberregistryService, err := cloudnumberregistry.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
cloudnumberregistryService, err := cloudnumberregistry.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type AggregatedData
- type Attribute
- type CancelOperationRequest
- type CheckAvailabilityIpamAdminScopesResponse
- type CleanupIpamAdminScopeRequest
- type CustomRange
- type DisableIpamAdminScopeRequest
- type DiscoveredRange
- type DiscoveryMetadata
- type Empty
- type FindCustomRangeFreeIpRangesResponse
- type FindDiscoveredRangeFreeIpRangesResponse
- type IpamAdminScope
- type IpamAdminScopeAvailability
- type ListCustomRangesResponse
- type ListDiscoveredRangesResponse
- type ListIpamAdminScopesResponse
- type ListLocationsResponse
- type ListOperationsResponse
- type ListRealmsResponse
- type ListRegistryBooksResponse
- type Location
- type Operation
- type OperationMetadata
- type ProjectsLocationsCustomRangesCreateCall
- func (c *ProjectsLocationsCustomRangesCreateCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesCreateCall
- func (c *ProjectsLocationsCustomRangesCreateCall) CustomRangeId(customRangeId string) *ProjectsLocationsCustomRangesCreateCall
- func (c *ProjectsLocationsCustomRangesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsCustomRangesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesCreateCall
- func (c *ProjectsLocationsCustomRangesCreateCall) Header() http.Header
- func (c *ProjectsLocationsCustomRangesCreateCall) RequestId(requestId string) *ProjectsLocationsCustomRangesCreateCall
- type ProjectsLocationsCustomRangesDeleteCall
- func (c *ProjectsLocationsCustomRangesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesDeleteCall
- func (c *ProjectsLocationsCustomRangesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsCustomRangesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesDeleteCall
- func (c *ProjectsLocationsCustomRangesDeleteCall) Force(force bool) *ProjectsLocationsCustomRangesDeleteCall
- func (c *ProjectsLocationsCustomRangesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsCustomRangesDeleteCall) RequestId(requestId string) *ProjectsLocationsCustomRangesDeleteCall
- type ProjectsLocationsCustomRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) CidrPrefixLength(cidrPrefixLength int64) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) Do(opts ...googleapi.CallOption) (*FindCustomRangeFreeIpRangesResponse, error)
- func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) Header() http.Header
- func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) RangeCount(rangeCount int64) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) RequestId(requestId string) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
- type ProjectsLocationsCustomRangesGetCall
- func (c *ProjectsLocationsCustomRangesGetCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesGetCall
- func (c *ProjectsLocationsCustomRangesGetCall) Do(opts ...googleapi.CallOption) (*CustomRange, error)
- func (c *ProjectsLocationsCustomRangesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesGetCall
- func (c *ProjectsLocationsCustomRangesGetCall) Header() http.Header
- func (c *ProjectsLocationsCustomRangesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomRangesGetCall
- type ProjectsLocationsCustomRangesListCall
- func (c *ProjectsLocationsCustomRangesListCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesListCall
- func (c *ProjectsLocationsCustomRangesListCall) Do(opts ...googleapi.CallOption) (*ListCustomRangesResponse, error)
- func (c *ProjectsLocationsCustomRangesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesListCall
- func (c *ProjectsLocationsCustomRangesListCall) Filter(filter string) *ProjectsLocationsCustomRangesListCall
- func (c *ProjectsLocationsCustomRangesListCall) Header() http.Header
- func (c *ProjectsLocationsCustomRangesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomRangesListCall
- func (c *ProjectsLocationsCustomRangesListCall) OrderBy(orderBy string) *ProjectsLocationsCustomRangesListCall
- func (c *ProjectsLocationsCustomRangesListCall) PageSize(pageSize int64) *ProjectsLocationsCustomRangesListCall
- func (c *ProjectsLocationsCustomRangesListCall) PageToken(pageToken string) *ProjectsLocationsCustomRangesListCall
- func (c *ProjectsLocationsCustomRangesListCall) Pages(ctx context.Context, f func(*ListCustomRangesResponse) error) error
- type ProjectsLocationsCustomRangesPatchCall
- func (c *ProjectsLocationsCustomRangesPatchCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesPatchCall
- func (c *ProjectsLocationsCustomRangesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsCustomRangesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesPatchCall
- func (c *ProjectsLocationsCustomRangesPatchCall) Header() http.Header
- func (c *ProjectsLocationsCustomRangesPatchCall) RequestId(requestId string) *ProjectsLocationsCustomRangesPatchCall
- func (c *ProjectsLocationsCustomRangesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCustomRangesPatchCall
- type ProjectsLocationsCustomRangesService
- func (r *ProjectsLocationsCustomRangesService) Create(parent string, customrange *CustomRange) *ProjectsLocationsCustomRangesCreateCall
- func (r *ProjectsLocationsCustomRangesService) Delete(name string) *ProjectsLocationsCustomRangesDeleteCall
- func (r *ProjectsLocationsCustomRangesService) FindFreeIpRanges(name string) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
- func (r *ProjectsLocationsCustomRangesService) Get(name string) *ProjectsLocationsCustomRangesGetCall
- func (r *ProjectsLocationsCustomRangesService) List(parent string) *ProjectsLocationsCustomRangesListCall
- func (r *ProjectsLocationsCustomRangesService) Patch(name string, customrange *CustomRange) *ProjectsLocationsCustomRangesPatchCall
- func (r *ProjectsLocationsCustomRangesService) ShowUtilization(name string) *ProjectsLocationsCustomRangesShowUtilizationCall
- type ProjectsLocationsCustomRangesShowUtilizationCall
- func (c *ProjectsLocationsCustomRangesShowUtilizationCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesShowUtilizationCall
- func (c *ProjectsLocationsCustomRangesShowUtilizationCall) Do(opts ...googleapi.CallOption) (*ShowCustomRangeUtilizationResponse, error)
- func (c *ProjectsLocationsCustomRangesShowUtilizationCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesShowUtilizationCall
- func (c *ProjectsLocationsCustomRangesShowUtilizationCall) Header() http.Header
- func (c *ProjectsLocationsCustomRangesShowUtilizationCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomRangesShowUtilizationCall
- type ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) CidrPrefixLength(cidrPrefixLength int64) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Context(ctx context.Context) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Do(opts ...googleapi.CallOption) (*FindDiscoveredRangeFreeIpRangesResponse, error)
- func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Fields(s ...googleapi.Field) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Header() http.Header
- func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) IfNoneMatch(entityTag string) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) RangeCount(rangeCount int64) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
- func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) RequestId(requestId string) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
- type ProjectsLocationsDiscoveredRangesGetCall
- func (c *ProjectsLocationsDiscoveredRangesGetCall) Context(ctx context.Context) *ProjectsLocationsDiscoveredRangesGetCall
- func (c *ProjectsLocationsDiscoveredRangesGetCall) Do(opts ...googleapi.CallOption) (*DiscoveredRange, error)
- func (c *ProjectsLocationsDiscoveredRangesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDiscoveredRangesGetCall
- func (c *ProjectsLocationsDiscoveredRangesGetCall) Header() http.Header
- func (c *ProjectsLocationsDiscoveredRangesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDiscoveredRangesGetCall
- type ProjectsLocationsDiscoveredRangesListCall
- func (c *ProjectsLocationsDiscoveredRangesListCall) Context(ctx context.Context) *ProjectsLocationsDiscoveredRangesListCall
- func (c *ProjectsLocationsDiscoveredRangesListCall) Do(opts ...googleapi.CallOption) (*ListDiscoveredRangesResponse, error)
- func (c *ProjectsLocationsDiscoveredRangesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDiscoveredRangesListCall
- func (c *ProjectsLocationsDiscoveredRangesListCall) Filter(filter string) *ProjectsLocationsDiscoveredRangesListCall
- func (c *ProjectsLocationsDiscoveredRangesListCall) Header() http.Header
- func (c *ProjectsLocationsDiscoveredRangesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDiscoveredRangesListCall
- func (c *ProjectsLocationsDiscoveredRangesListCall) OrderBy(orderBy string) *ProjectsLocationsDiscoveredRangesListCall
- func (c *ProjectsLocationsDiscoveredRangesListCall) PageSize(pageSize int64) *ProjectsLocationsDiscoveredRangesListCall
- func (c *ProjectsLocationsDiscoveredRangesListCall) PageToken(pageToken string) *ProjectsLocationsDiscoveredRangesListCall
- func (c *ProjectsLocationsDiscoveredRangesListCall) Pages(ctx context.Context, f func(*ListDiscoveredRangesResponse) error) error
- type ProjectsLocationsDiscoveredRangesService
- func (r *ProjectsLocationsDiscoveredRangesService) FindFreeIpRanges(name string) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
- func (r *ProjectsLocationsDiscoveredRangesService) Get(name string) *ProjectsLocationsDiscoveredRangesGetCall
- func (r *ProjectsLocationsDiscoveredRangesService) List(parent string) *ProjectsLocationsDiscoveredRangesListCall
- func (r *ProjectsLocationsDiscoveredRangesService) ShowUtilization(name string) *ProjectsLocationsDiscoveredRangesShowUtilizationCall
- type ProjectsLocationsDiscoveredRangesShowUtilizationCall
- func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) Context(ctx context.Context) *ProjectsLocationsDiscoveredRangesShowUtilizationCall
- func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) Do(opts ...googleapi.CallOption) (*ShowDiscoveredRangeUtilizationResponse, error)
- func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) Fields(s ...googleapi.Field) *ProjectsLocationsDiscoveredRangesShowUtilizationCall
- func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) Header() http.Header
- func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) IfNoneMatch(entityTag string) *ProjectsLocationsDiscoveredRangesShowUtilizationCall
- 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 ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
- func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
- func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Do(opts ...googleapi.CallOption) (*CheckAvailabilityIpamAdminScopesResponse, error)
- func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
- func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Header() http.Header
- func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) IfNoneMatch(entityTag string) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
- func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Scopes(scopes ...string) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
- type ProjectsLocationsIpamAdminScopesCleanupCall
- func (c *ProjectsLocationsIpamAdminScopesCleanupCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesCleanupCall
- func (c *ProjectsLocationsIpamAdminScopesCleanupCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsIpamAdminScopesCleanupCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesCleanupCall
- func (c *ProjectsLocationsIpamAdminScopesCleanupCall) Header() http.Header
- type ProjectsLocationsIpamAdminScopesCreateCall
- func (c *ProjectsLocationsIpamAdminScopesCreateCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesCreateCall
- func (c *ProjectsLocationsIpamAdminScopesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsIpamAdminScopesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesCreateCall
- func (c *ProjectsLocationsIpamAdminScopesCreateCall) Header() http.Header
- func (c *ProjectsLocationsIpamAdminScopesCreateCall) IpamAdminScopeId(ipamAdminScopeId string) *ProjectsLocationsIpamAdminScopesCreateCall
- func (c *ProjectsLocationsIpamAdminScopesCreateCall) RequestId(requestId string) *ProjectsLocationsIpamAdminScopesCreateCall
- type ProjectsLocationsIpamAdminScopesDeleteCall
- func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesDeleteCall
- func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesDeleteCall
- func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Force(force bool) *ProjectsLocationsIpamAdminScopesDeleteCall
- func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsIpamAdminScopesDeleteCall) RequestId(requestId string) *ProjectsLocationsIpamAdminScopesDeleteCall
- type ProjectsLocationsIpamAdminScopesDisableCall
- func (c *ProjectsLocationsIpamAdminScopesDisableCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesDisableCall
- func (c *ProjectsLocationsIpamAdminScopesDisableCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsIpamAdminScopesDisableCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesDisableCall
- func (c *ProjectsLocationsIpamAdminScopesDisableCall) Header() http.Header
- type ProjectsLocationsIpamAdminScopesGetCall
- func (c *ProjectsLocationsIpamAdminScopesGetCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesGetCall
- func (c *ProjectsLocationsIpamAdminScopesGetCall) Do(opts ...googleapi.CallOption) (*IpamAdminScope, error)
- func (c *ProjectsLocationsIpamAdminScopesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesGetCall
- func (c *ProjectsLocationsIpamAdminScopesGetCall) Header() http.Header
- func (c *ProjectsLocationsIpamAdminScopesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIpamAdminScopesGetCall
- type ProjectsLocationsIpamAdminScopesListCall
- func (c *ProjectsLocationsIpamAdminScopesListCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesListCall
- func (c *ProjectsLocationsIpamAdminScopesListCall) Do(opts ...googleapi.CallOption) (*ListIpamAdminScopesResponse, error)
- func (c *ProjectsLocationsIpamAdminScopesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesListCall
- func (c *ProjectsLocationsIpamAdminScopesListCall) Filter(filter string) *ProjectsLocationsIpamAdminScopesListCall
- func (c *ProjectsLocationsIpamAdminScopesListCall) Header() http.Header
- func (c *ProjectsLocationsIpamAdminScopesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIpamAdminScopesListCall
- func (c *ProjectsLocationsIpamAdminScopesListCall) OrderBy(orderBy string) *ProjectsLocationsIpamAdminScopesListCall
- func (c *ProjectsLocationsIpamAdminScopesListCall) PageSize(pageSize int64) *ProjectsLocationsIpamAdminScopesListCall
- func (c *ProjectsLocationsIpamAdminScopesListCall) PageToken(pageToken string) *ProjectsLocationsIpamAdminScopesListCall
- func (c *ProjectsLocationsIpamAdminScopesListCall) Pages(ctx context.Context, f func(*ListIpamAdminScopesResponse) error) error
- type ProjectsLocationsIpamAdminScopesPatchCall
- func (c *ProjectsLocationsIpamAdminScopesPatchCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesPatchCall
- func (c *ProjectsLocationsIpamAdminScopesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsIpamAdminScopesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesPatchCall
- func (c *ProjectsLocationsIpamAdminScopesPatchCall) Header() http.Header
- func (c *ProjectsLocationsIpamAdminScopesPatchCall) RequestId(requestId string) *ProjectsLocationsIpamAdminScopesPatchCall
- func (c *ProjectsLocationsIpamAdminScopesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsIpamAdminScopesPatchCall
- type ProjectsLocationsIpamAdminScopesService
- func (r *ProjectsLocationsIpamAdminScopesService) CheckAvailability(parent string) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
- func (r *ProjectsLocationsIpamAdminScopesService) Cleanup(name string, cleanupipamadminscoperequest *CleanupIpamAdminScopeRequest) *ProjectsLocationsIpamAdminScopesCleanupCall
- func (r *ProjectsLocationsIpamAdminScopesService) Create(parent string, ipamadminscope *IpamAdminScope) *ProjectsLocationsIpamAdminScopesCreateCall
- func (r *ProjectsLocationsIpamAdminScopesService) Delete(name string) *ProjectsLocationsIpamAdminScopesDeleteCall
- func (r *ProjectsLocationsIpamAdminScopesService) Disable(name string, disableipamadminscoperequest *DisableIpamAdminScopeRequest) *ProjectsLocationsIpamAdminScopesDisableCall
- func (r *ProjectsLocationsIpamAdminScopesService) Get(name string) *ProjectsLocationsIpamAdminScopesGetCall
- func (r *ProjectsLocationsIpamAdminScopesService) List(parent string) *ProjectsLocationsIpamAdminScopesListCall
- func (r *ProjectsLocationsIpamAdminScopesService) Patch(name string, ipamadminscope *IpamAdminScope) *ProjectsLocationsIpamAdminScopesPatchCall
- 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 ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
- func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
- func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
- 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
- func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
- func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
- func (r *ProjectsLocationsOperationsService) Get(name string) *ProjectsLocationsOperationsGetCall
- func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
- type ProjectsLocationsRealmsCreateCall
- func (c *ProjectsLocationsRealmsCreateCall) Context(ctx context.Context) *ProjectsLocationsRealmsCreateCall
- func (c *ProjectsLocationsRealmsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsRealmsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsCreateCall
- func (c *ProjectsLocationsRealmsCreateCall) Header() http.Header
- func (c *ProjectsLocationsRealmsCreateCall) RealmId(realmId string) *ProjectsLocationsRealmsCreateCall
- func (c *ProjectsLocationsRealmsCreateCall) RequestId(requestId string) *ProjectsLocationsRealmsCreateCall
- type ProjectsLocationsRealmsDeleteCall
- func (c *ProjectsLocationsRealmsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRealmsDeleteCall
- func (c *ProjectsLocationsRealmsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsRealmsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsDeleteCall
- func (c *ProjectsLocationsRealmsDeleteCall) Force(force bool) *ProjectsLocationsRealmsDeleteCall
- func (c *ProjectsLocationsRealmsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsRealmsDeleteCall) RequestId(requestId string) *ProjectsLocationsRealmsDeleteCall
- type ProjectsLocationsRealmsGetCall
- func (c *ProjectsLocationsRealmsGetCall) Context(ctx context.Context) *ProjectsLocationsRealmsGetCall
- func (c *ProjectsLocationsRealmsGetCall) Do(opts ...googleapi.CallOption) (*Realm, error)
- func (c *ProjectsLocationsRealmsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsGetCall
- func (c *ProjectsLocationsRealmsGetCall) Header() http.Header
- func (c *ProjectsLocationsRealmsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRealmsGetCall
- func (c *ProjectsLocationsRealmsGetCall) View(view string) *ProjectsLocationsRealmsGetCall
- type ProjectsLocationsRealmsListCall
- func (c *ProjectsLocationsRealmsListCall) Context(ctx context.Context) *ProjectsLocationsRealmsListCall
- func (c *ProjectsLocationsRealmsListCall) Do(opts ...googleapi.CallOption) (*ListRealmsResponse, error)
- func (c *ProjectsLocationsRealmsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsListCall
- func (c *ProjectsLocationsRealmsListCall) Filter(filter string) *ProjectsLocationsRealmsListCall
- func (c *ProjectsLocationsRealmsListCall) Header() http.Header
- func (c *ProjectsLocationsRealmsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRealmsListCall
- func (c *ProjectsLocationsRealmsListCall) OrderBy(orderBy string) *ProjectsLocationsRealmsListCall
- func (c *ProjectsLocationsRealmsListCall) PageSize(pageSize int64) *ProjectsLocationsRealmsListCall
- func (c *ProjectsLocationsRealmsListCall) PageToken(pageToken string) *ProjectsLocationsRealmsListCall
- func (c *ProjectsLocationsRealmsListCall) Pages(ctx context.Context, f func(*ListRealmsResponse) error) error
- func (c *ProjectsLocationsRealmsListCall) View(view string) *ProjectsLocationsRealmsListCall
- type ProjectsLocationsRealmsPatchCall
- func (c *ProjectsLocationsRealmsPatchCall) Context(ctx context.Context) *ProjectsLocationsRealmsPatchCall
- func (c *ProjectsLocationsRealmsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsRealmsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsPatchCall
- func (c *ProjectsLocationsRealmsPatchCall) Header() http.Header
- func (c *ProjectsLocationsRealmsPatchCall) RequestId(requestId string) *ProjectsLocationsRealmsPatchCall
- func (c *ProjectsLocationsRealmsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRealmsPatchCall
- type ProjectsLocationsRealmsService
- func (r *ProjectsLocationsRealmsService) Create(parent string, realm *Realm) *ProjectsLocationsRealmsCreateCall
- func (r *ProjectsLocationsRealmsService) Delete(name string) *ProjectsLocationsRealmsDeleteCall
- func (r *ProjectsLocationsRealmsService) Get(name string) *ProjectsLocationsRealmsGetCall
- func (r *ProjectsLocationsRealmsService) List(parent string) *ProjectsLocationsRealmsListCall
- func (r *ProjectsLocationsRealmsService) Patch(name string, realm *Realm) *ProjectsLocationsRealmsPatchCall
- type ProjectsLocationsRegistryBooksCreateCall
- func (c *ProjectsLocationsRegistryBooksCreateCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksCreateCall
- func (c *ProjectsLocationsRegistryBooksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsRegistryBooksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksCreateCall
- func (c *ProjectsLocationsRegistryBooksCreateCall) Header() http.Header
- func (c *ProjectsLocationsRegistryBooksCreateCall) RegistryBookId(registryBookId string) *ProjectsLocationsRegistryBooksCreateCall
- func (c *ProjectsLocationsRegistryBooksCreateCall) RequestId(requestId string) *ProjectsLocationsRegistryBooksCreateCall
- type ProjectsLocationsRegistryBooksDeleteCall
- func (c *ProjectsLocationsRegistryBooksDeleteCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksDeleteCall
- func (c *ProjectsLocationsRegistryBooksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsRegistryBooksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksDeleteCall
- func (c *ProjectsLocationsRegistryBooksDeleteCall) Force(force bool) *ProjectsLocationsRegistryBooksDeleteCall
- func (c *ProjectsLocationsRegistryBooksDeleteCall) Header() http.Header
- func (c *ProjectsLocationsRegistryBooksDeleteCall) RequestId(requestId string) *ProjectsLocationsRegistryBooksDeleteCall
- type ProjectsLocationsRegistryBooksGetCall
- func (c *ProjectsLocationsRegistryBooksGetCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksGetCall
- func (c *ProjectsLocationsRegistryBooksGetCall) Do(opts ...googleapi.CallOption) (*RegistryBook, error)
- func (c *ProjectsLocationsRegistryBooksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksGetCall
- func (c *ProjectsLocationsRegistryBooksGetCall) Header() http.Header
- func (c *ProjectsLocationsRegistryBooksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistryBooksGetCall
- func (c *ProjectsLocationsRegistryBooksGetCall) View(view string) *ProjectsLocationsRegistryBooksGetCall
- type ProjectsLocationsRegistryBooksListCall
- func (c *ProjectsLocationsRegistryBooksListCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksListCall
- func (c *ProjectsLocationsRegistryBooksListCall) Do(opts ...googleapi.CallOption) (*ListRegistryBooksResponse, error)
- func (c *ProjectsLocationsRegistryBooksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksListCall
- func (c *ProjectsLocationsRegistryBooksListCall) Filter(filter string) *ProjectsLocationsRegistryBooksListCall
- func (c *ProjectsLocationsRegistryBooksListCall) Header() http.Header
- func (c *ProjectsLocationsRegistryBooksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistryBooksListCall
- func (c *ProjectsLocationsRegistryBooksListCall) OrderBy(orderBy string) *ProjectsLocationsRegistryBooksListCall
- func (c *ProjectsLocationsRegistryBooksListCall) PageSize(pageSize int64) *ProjectsLocationsRegistryBooksListCall
- func (c *ProjectsLocationsRegistryBooksListCall) PageToken(pageToken string) *ProjectsLocationsRegistryBooksListCall
- func (c *ProjectsLocationsRegistryBooksListCall) Pages(ctx context.Context, f func(*ListRegistryBooksResponse) error) error
- func (c *ProjectsLocationsRegistryBooksListCall) View(view string) *ProjectsLocationsRegistryBooksListCall
- type ProjectsLocationsRegistryBooksPatchCall
- func (c *ProjectsLocationsRegistryBooksPatchCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksPatchCall
- func (c *ProjectsLocationsRegistryBooksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
- func (c *ProjectsLocationsRegistryBooksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksPatchCall
- func (c *ProjectsLocationsRegistryBooksPatchCall) Header() http.Header
- func (c *ProjectsLocationsRegistryBooksPatchCall) RequestId(requestId string) *ProjectsLocationsRegistryBooksPatchCall
- func (c *ProjectsLocationsRegistryBooksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRegistryBooksPatchCall
- type ProjectsLocationsRegistryBooksSearchIpResourcesCall
- func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksSearchIpResourcesCall
- func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Do(opts ...googleapi.CallOption) (*SearchIpResourcesResponse, error)
- func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksSearchIpResourcesCall
- func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Header() http.Header
- func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Pages(ctx context.Context, f func(*SearchIpResourcesResponse) error) error
- type ProjectsLocationsRegistryBooksService
- func (r *ProjectsLocationsRegistryBooksService) Create(parent string, registrybook *RegistryBook) *ProjectsLocationsRegistryBooksCreateCall
- func (r *ProjectsLocationsRegistryBooksService) Delete(name string) *ProjectsLocationsRegistryBooksDeleteCall
- func (r *ProjectsLocationsRegistryBooksService) Get(name string) *ProjectsLocationsRegistryBooksGetCall
- func (r *ProjectsLocationsRegistryBooksService) List(parent string) *ProjectsLocationsRegistryBooksListCall
- func (r *ProjectsLocationsRegistryBooksService) Patch(name string, registrybook *RegistryBook) *ProjectsLocationsRegistryBooksPatchCall
- func (r *ProjectsLocationsRegistryBooksService) SearchIpResources(name string, searchipresourcesrequest *SearchIpResourcesRequest) *ProjectsLocationsRegistryBooksSearchIpResourcesCall
- type ProjectsLocationsService
- type ProjectsService
- type Range
- type RangeUtilization
- type Realm
- type RealmAggregatedData
- type RegistryBook
- type SearchIpResourcesRequest
- type SearchIpResourcesResponse
- type SearchIpResourcesResult
- type Service
- type ShowCustomRangeUtilizationResponse
- type ShowDiscoveredRangeUtilizationResponse
- type Status
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 ¶
type AggregatedData ¶
type AggregatedData struct {
// CustomRangesCount: Output only. Number of custom ranges in the RegistryBook.
CustomRangesCount int64 `json:"customRangesCount,omitempty"`
// CustomRealmsCount: Output only. Number of custom realms in the RegistryBook.
CustomRealmsCount int64 `json:"customRealmsCount,omitempty"`
// DiscoveredRangesCount: Output only. Number of discovered ranges in the
// RegistryBook.
DiscoveredRangesCount int64 `json:"discoveredRangesCount,omitempty"`
// DiscoveredRealmsCount: Output only. Number of discovered realms in the
// RegistryBook.
DiscoveredRealmsCount int64 `json:"discoveredRealmsCount,omitempty"`
// UniqueScopesCount: Output only. Number of scopes unique to the RegistryBook.
UniqueScopesCount int64 `json:"uniqueScopesCount,omitempty"`
// ForceSendFields is a list of field names (e.g. "CustomRangesCount") 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. "CustomRangesCount") 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:"-"`
}
AggregatedData: Aggregated data for the RegistryBook.
func (AggregatedData) MarshalJSON ¶
func (s AggregatedData) MarshalJSON() ([]byte, error)
type Attribute ¶
type Attribute struct {
// Key: Required. Key of attribute
Key string `json:"key,omitempty"`
// Value: Required. Value of attribute
Value string `json:"value,omitempty"`
// ForceSendFields is a list of field names (e.g. "Key") to unconditionally
// include in API requests. By default, fields with empty 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. "Key") 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:"-"`
}
Attribute: Message describing Attribute object
func (Attribute) MarshalJSON ¶
type CancelOperationRequest ¶
type CancelOperationRequest struct {
}
CancelOperationRequest: The request message for Operations.CancelOperation.
type CheckAvailabilityIpamAdminScopesResponse ¶
type CheckAvailabilityIpamAdminScopesResponse struct {
// ScopeAvailabilities: The details of the requested scopes.
ScopeAvailabilities []*IpamAdminScopeAvailability `json:"scopeAvailabilities,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "ScopeAvailabilities") 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. "ScopeAvailabilities") 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:"-"`
}
CheckAvailabilityIpamAdminScopesResponse: Message for response to checking the availability of IpamAdminScopes
func (CheckAvailabilityIpamAdminScopesResponse) MarshalJSON ¶
func (s CheckAvailabilityIpamAdminScopesResponse) MarshalJSON() ([]byte, error)
type CleanupIpamAdminScopeRequest ¶
type CleanupIpamAdminScopeRequest struct {
// RequestId: Optional. An optional request ID to identify requests. Specify a
// unique request ID so that if you must retry your request, the server will
// know to ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request. 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).
RequestId string `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:"-"`
}
CleanupIpamAdminScopeRequest: Message for cleaning up a IpamAdminScope
func (CleanupIpamAdminScopeRequest) MarshalJSON ¶
func (s CleanupIpamAdminScopeRequest) MarshalJSON() ([]byte, error)
type CustomRange ¶
type CustomRange struct {
// Attributes: Optional. The attributes of the CustomRange.
Attributes []*Attribute `json:"attributes,omitempty"`
// Description: Optional. Description of the CustomRange.
Description string `json:"description,omitempty"`
// Ipv4CidrRange: Optional. The IPv4 CIDR range of the CustomRange.
Ipv4CidrRange string `json:"ipv4CidrRange,omitempty"`
// Ipv6CidrRange: Optional. The IPv6 CIDR range of the CustomRange.
Ipv6CidrRange string `json:"ipv6CidrRange,omitempty"`
// Labels: Optional. Labels as key value pairs
Labels map[string]string `json:"labels,omitempty"`
// Name: Required. Identifier. name of resource
Name string `json:"name,omitempty"`
// ParentRange: Optional. The parent range of the CustomRange. Do not allow
// setting parent range if realm is specified. Format must follow this pattern:
// projects/{project}/locations/{location}/customRanges/{custom_range}
ParentRange string `json:"parentRange,omitempty"`
// Realm: Optional. The realm of the CustomRange. The realm must be in the same
// project as the custom range. Do not allow setting realm if parent range is
// specified, since the realm should be inherited from the parent range. Format
// must follow this pattern:
// projects/{project}/locations/{location}/realms/{realm}
Realm string `json:"realm,omitempty"`
// RegistryBook: Output only. The registry book of the CustomRange. This field
// is inherited from the realm or parent range depending on which one is
// specified.
RegistryBook string `json:"registryBook,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "Attributes") 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. "Attributes") 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:"-"`
}
CustomRange: Message describing CustomRange object
func (CustomRange) MarshalJSON ¶
func (s CustomRange) MarshalJSON() ([]byte, error)
type DisableIpamAdminScopeRequest ¶
type DisableIpamAdminScopeRequest struct {
// RequestId: Optional. An optional request ID to identify requests. Specify a
// unique request ID so that if you must retry your request, the server will
// know to ignore the request if it has already been completed. The server will
// guarantee that for at least 60 minutes after the first request. 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).
RequestId string `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:"-"`
}
DisableIpamAdminScopeRequest: Message for disabling a IpamAdminScope
func (DisableIpamAdminScopeRequest) MarshalJSON ¶
func (s DisableIpamAdminScopeRequest) MarshalJSON() ([]byte, error)
type DiscoveredRange ¶
type DiscoveredRange struct {
// Attributes: Optional. The attributes of the DiscoveredRange.
Attributes []*Attribute `json:"attributes,omitempty"`
// ChildCidrOverlapAllowed: Output only. If true, allow child ranges of this
// range to overlap with each other.
ChildCidrOverlapAllowed bool `json:"childCidrOverlapAllowed,omitempty"`
// CreateTime: Output only. [Output only] Create time stamp
CreateTime string `json:"createTime,omitempty"`
// Description: Optional. Description of the DiscoveredRange.
Description string `json:"description,omitempty"`
// DiscoveryMetadata: Output only. Owner metadata for this DiscoveredRange. A
// unique set of metadata is associated with each DiscoveredRange. If an IP
// range is shared by multiple resources (e.g., an Address resource and an
// Instance resource, or multiple ForwardingRules),separate DiscoveredRanges
// are created, each with a distinct owner. This ensures each DiscoveredRange
// has its own unique set of attributes, labels, create time and update time.
DiscoveryMetadata *DiscoveryMetadata `json:"discoveryMetadata,omitempty"`
// Ipv4CidrRange: Optional. The IPv4 CIDR range of the DiscoveredRange.
Ipv4CidrRange string `json:"ipv4CidrRange,omitempty"`
// Ipv6CidrRange: Optional. The IPv6 CIDR range of the DiscoveredRange.
Ipv6CidrRange string `json:"ipv6CidrRange,omitempty"`
// Labels: Optional. Labels as key value pairs
Labels map[string]string `json:"labels,omitempty"`
// Name: Required. Identifier. Name of the DiscoveredRange.
Name string `json:"name,omitempty"`
// ParentRange: Optional. The parent range of the DiscoveredRange.
ParentRange string `json:"parentRange,omitempty"`
// Realm: Optional. The realm of the DiscoveredRange.
Realm string `json:"realm,omitempty"`
// RegistryBook: Output only. The registry book of the DiscoveredRange.
RegistryBook string `json:"registryBook,omitempty"`
// UpdateTime: Output only. [Output only] Update time stamp
UpdateTime string `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. "Attributes") 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. "Attributes") 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:"-"`
}
DiscoveredRange: Message describing DiscoveredRange object
func (DiscoveredRange) MarshalJSON ¶
func (s DiscoveredRange) MarshalJSON() ([]byte, error)
type DiscoveryMetadata ¶
type DiscoveryMetadata struct {
// CreateTime: Output only. The time when the resource was created.
CreateTime string `json:"createTime,omitempty"`
// EventTime: Output only. The time when the event happened.
EventTime string `json:"eventTime,omitempty"`
// Resource: Output only. The resource name of the discovered resource, should
// be API-agnostic. Example: "projects/{project_number}/networks/{network_id}".
Resource string `json:"resource,omitempty"`
// ResourceUri: Output only. The resource uri of the discovered resource.
ResourceUri string `json:"resourceUri,omitempty"`
// SourceId: Output only. The canonical google.aip.dev/122 name of the source
// resource.
SourceId string `json:"sourceId,omitempty"`
// SourceSubId: Output only. A single source resource can be the source of
// multiple CNR resources. This sub_id is used to distinguish between the
// different CNR resources derived from the same upstream resource. For
// example, a single subnetwork can be the source of multiple ranges, one for
// each protocol. In this case, the sub_id could be "private-ipv4" or
// "private-ipv6".
SourceSubId string `json:"sourceSubId,omitempty"`
// State: Output only. The state of the resource.
//
// Possible values:
// "RESOURCE_STATE_UNSPECIFIED" - Unspecified state.
// "INVALID" - The resource is in an invalid state.
// "EXISTS" - The resource exists in the backing store (is not tombstoned or
// completely missing) and there were no failures reading out the resource
// level metadata.
// "DOES_NOT_EXIST" - Resource does not exist or has been deleted or
// soft-deleted.
// "ERROR" - There was an error reading out the resource level metadata.
State string `json:"state,omitempty"`
// UpdateTime: Output only. The time when the resource was last modified.
UpdateTime string `json:"updateTime,omitempty"`
// 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:"-"`
}
DiscoveryMetadata: Discovery metadata of the discovered resource.
func (DiscoveryMetadata) MarshalJSON ¶
func (s DiscoveryMetadata) MarshalJSON() ([]byte, error)
type Empty ¶
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 defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
type FindCustomRangeFreeIpRangesResponse ¶
type FindCustomRangeFreeIpRangesResponse struct {
// FreeIpCidrRanges: Output only. Free IP CIDR ranges found in the CustomRange.
FreeIpCidrRanges []string `json:"freeIpCidrRanges,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "FreeIpCidrRanges") 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. "FreeIpCidrRanges") 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:"-"`
}
FindCustomRangeFreeIpRangesResponse: Message for the response to finding free IP ranges.
func (FindCustomRangeFreeIpRangesResponse) MarshalJSON ¶
func (s FindCustomRangeFreeIpRangesResponse) MarshalJSON() ([]byte, error)
type FindDiscoveredRangeFreeIpRangesResponse ¶
type FindDiscoveredRangeFreeIpRangesResponse struct {
// FreeIpCidrRanges: Output only. Free IP CIDR ranges found in the
// DiscoveredRange.
FreeIpCidrRanges []string `json:"freeIpCidrRanges,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "FreeIpCidrRanges") 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. "FreeIpCidrRanges") 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:"-"`
}
FindDiscoveredRangeFreeIpRangesResponse: Message for the response to finding free IP ranges.
func (FindDiscoveredRangeFreeIpRangesResponse) MarshalJSON ¶
func (s FindDiscoveredRangeFreeIpRangesResponse) MarshalJSON() ([]byte, error)
type IpamAdminScope ¶
type IpamAdminScope struct {
// CreateTime: Output only. [Output only] Create time stamp
CreateTime string `json:"createTime,omitempty"`
// EnabledAddonPlatforms: Required. Addon platforms that are enabled for this
// IPAM admin scope. Cloud Number Registry only discovers the IP addresses from
// the enabled platforms.
//
// Possible values:
// "ADD_ON_PLATFORM_UNSPECIFIED" - Unspecified add-on platform.
// "COMPUTE_ENGINE" - Google Compute Engine.
// "GCE" - Deprecated: Use COMPUTE_ENGINE instead.
EnabledAddonPlatforms []string `json:"enabledAddonPlatforms,omitempty"`
// Labels: Optional. Labels as key value pairs
Labels map[string]string `json:"labels,omitempty"`
// Name: Required. Identifier. name of resource
Name string `json:"name,omitempty"`
// Scopes: Required. Administrative scopes enabled for IP address discovery and
// management. For example, "organizations/1234567890". Minimum of 1 scope is
// required. In preview, only one organization scope is allowed.
Scopes []string `json:"scopes,omitempty"`
// State: Output only. State of resource discovery pipeline.
//
// Possible values:
// "DISCOVERY_PIPELINE_STATE_UNSPECIFIED" - Unspecified state.
// "INTERNAL_FAILURE" - Internal failure.
// "FAILED" - Failure.
// "SETUP_IN_PROGRESS" - Setup in progress.
// "READY_FOR_USE" - Ready for use.
// "DELETING_IN_PROGRESS" - Deleting in progress.
// "UPDATING" - Updating.
// "RECOVERING" - Recovering.
// "DISABLED" - Disabled.
// "DELETION_COMPLETED" - Deleting completed.
// "CLEANUP_IN_PROGRESS" - Cleanup in progress.
// "READY_FOR_DELETION" - Ready for deletion.
State string `json:"state,omitempty"`
// UpdateTime: Output only. [Output only] Update time stamp
UpdateTime string `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:"-"`
}
IpamAdminScope: Message describing IpamAdminScope object
func (IpamAdminScope) MarshalJSON ¶
func (s IpamAdminScope) MarshalJSON() ([]byte, error)
type IpamAdminScopeAvailability ¶
type IpamAdminScopeAvailability struct {
// AdminProject: The admin project of the IpamAdminScope if it exists.
AdminProject int64 `json:"adminProject,omitempty,string"`
// Availability: The availability of the scope.
//
// Possible values:
// "AVAILABILITY_UNSPECIFIED" - Unspecified availability.
// "AVAILABLE" - The scope is available.
// "UNAVAILABLE" - The scope is not available.
Availability string `json:"availability,omitempty"`
// Scope: The scope of the IpamAdminScope.
Scope string `json:"scope,omitempty"`
// ForceSendFields is a list of field names (e.g. "AdminProject") 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. "AdminProject") 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:"-"`
}
IpamAdminScopeAvailability: Message for the availability of an IpamAdminScope
func (IpamAdminScopeAvailability) MarshalJSON ¶
func (s IpamAdminScopeAvailability) MarshalJSON() ([]byte, error)
type ListCustomRangesResponse ¶
type ListCustomRangesResponse struct {
// CustomRanges: The list of CustomRange
CustomRanges []*CustomRange `json:"customRanges,omitempty"`
// NextPageToken: A token identifying a page of results the server should
// return.
NextPageToken string `json:"nextPageToken,omitempty"`
// Unreachable: Locations that could not be reached.
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. "CustomRanges") 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. "CustomRanges") 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:"-"`
}
ListCustomRangesResponse: Message for response to listing CustomRanges
func (ListCustomRangesResponse) MarshalJSON ¶
func (s ListCustomRangesResponse) MarshalJSON() ([]byte, error)
type ListDiscoveredRangesResponse ¶
type ListDiscoveredRangesResponse struct {
// DiscoveredRanges: The list of DiscoveredRange
DiscoveredRanges []*DiscoveredRange `json:"discoveredRanges,omitempty"`
// NextPageToken: A token identifying a page of results the server should
// return.
NextPageToken string `json:"nextPageToken,omitempty"`
// Unreachable: Locations that could not be reached.
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. "DiscoveredRanges") 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. "DiscoveredRanges") 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:"-"`
}
ListDiscoveredRangesResponse: Message for response to listing DiscoveredRanges
func (ListDiscoveredRangesResponse) MarshalJSON ¶
func (s ListDiscoveredRangesResponse) MarshalJSON() ([]byte, error)
type ListIpamAdminScopesResponse ¶
type ListIpamAdminScopesResponse struct {
// IpamAdminScopes: The list of IpamAdminScope
IpamAdminScopes []*IpamAdminScope `json:"ipamAdminScopes,omitempty"`
// NextPageToken: A token identifying a page of results the server should
// return.
NextPageToken string `json:"nextPageToken,omitempty"`
// Unreachable: Locations that could not be reached.
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. "IpamAdminScopes") 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. "IpamAdminScopes") 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:"-"`
}
ListIpamAdminScopesResponse: Message for response to listing ipamAdminScopes
func (ListIpamAdminScopesResponse) MarshalJSON ¶
func (s ListIpamAdminScopesResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse ¶
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.
NextPageToken string `json:"nextPageToken,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "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 (s ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListOperationsResponse ¶
type ListOperationsResponse struct {
// NextPageToken: The standard List next-page token.
NextPageToken string `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. For example, 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 (s ListOperationsResponse) MarshalJSON() ([]byte, error)
type ListRealmsResponse ¶
type ListRealmsResponse struct {
// NextPageToken: A token identifying a page of results the server should
// return.
NextPageToken string `json:"nextPageToken,omitempty"`
// Realms: The list of Realm
Realms []*Realm `json:"realms,omitempty"`
// Unreachable: Locations that could not be reached.
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:"-"`
}
ListRealmsResponse: Message for response to listing Realms
func (ListRealmsResponse) MarshalJSON ¶
func (s ListRealmsResponse) MarshalJSON() ([]byte, error)
type ListRegistryBooksResponse ¶
type ListRegistryBooksResponse struct {
// NextPageToken: A token identifying a page of results the server should
// return.
NextPageToken string `json:"nextPageToken,omitempty"`
// RegistryBooks: The list of RegistryBook
RegistryBooks []*RegistryBook `json:"registryBooks,omitempty"`
// Unreachable: Locations that could not be reached.
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:"-"`
}
ListRegistryBooksResponse: Message for response to listing RegistryBooks
func (ListRegistryBooksResponse) MarshalJSON ¶
func (s ListRegistryBooksResponse) MarshalJSON() ([]byte, error)
type Location ¶
type Location struct {
// DisplayName: The friendly name for this location, typically a nearby city
// name. For example, "Tokyo".
DisplayName string `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".
LocationId string `json:"locationId,omitempty"`
// Metadata: Service-specific metadata. For example the available capacity at
// the given location.
Metadata googleapi.RawMessage `json:"metadata,omitempty"`
// Name: Resource name for the location, which may vary between
// implementations. For example:
// "projects/example-project/locations/us-east1"
Name string `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 ¶
type Operation ¶
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.
Done bool `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.
Metadata googleapi.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}`.
Name string `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`.
Response googleapi.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 the result of a network API call.
func (Operation) MarshalJSON ¶
type OperationMetadata ¶
type OperationMetadata struct {
// ApiVersion: Output only. API version used to start the operation.
ApiVersion string `json:"apiVersion,omitempty"`
// CreateTime: Output only. The time the operation was created.
CreateTime string `json:"createTime,omitempty"`
// EndTime: Output only. The time the operation finished running.
EndTime string `json:"endTime,omitempty"`
// RequestedCancellation: Output only. Identifies whether the user has
// requested cancellation of the operation. Operations that have been cancelled
// successfully have Operation.error value with a google.rpc.Status.code of 1,
// corresponding to `Code.CANCELLED`.
RequestedCancellation bool `json:"requestedCancellation,omitempty"`
// StatusMessage: Output only. Human-readable status of the operation, if any.
StatusMessage string `json:"statusMessage,omitempty"`
// Target: Output only. Server-defined resource path for the target of the
// operation.
Target string `json:"target,omitempty"`
// Verb: Output only. Name of the verb executed by the operation.
Verb string `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 (s OperationMetadata) MarshalJSON() ([]byte, error)
type ProjectsLocationsCustomRangesCreateCall ¶
type ProjectsLocationsCustomRangesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCustomRangesCreateCall) Context ¶
func (c *ProjectsLocationsCustomRangesCreateCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCustomRangesCreateCall) CustomRangeId ¶
func (c *ProjectsLocationsCustomRangesCreateCall) CustomRangeId(customRangeId string) *ProjectsLocationsCustomRangesCreateCall
CustomRangeId sets the optional parameter "customRangeId": Required. Id of the requesting object.
func (*ProjectsLocationsCustomRangesCreateCall) Do ¶
func (c *ProjectsLocationsCustomRangesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.customRanges.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCustomRangesCreateCall) Fields ¶
func (c *ProjectsLocationsCustomRangesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCustomRangesCreateCall) Header ¶
func (c *ProjectsLocationsCustomRangesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCustomRangesCreateCall) RequestId ¶
func (c *ProjectsLocationsCustomRangesCreateCall) RequestId(requestId string) *ProjectsLocationsCustomRangesCreateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ProjectsLocationsCustomRangesDeleteCall ¶
type ProjectsLocationsCustomRangesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCustomRangesDeleteCall) Context ¶
func (c *ProjectsLocationsCustomRangesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCustomRangesDeleteCall) Do ¶
func (c *ProjectsLocationsCustomRangesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.customRanges.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCustomRangesDeleteCall) Fields ¶
func (c *ProjectsLocationsCustomRangesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCustomRangesDeleteCall) Force ¶
func (c *ProjectsLocationsCustomRangesDeleteCall) Force(force bool) *ProjectsLocationsCustomRangesDeleteCall
Force sets the optional parameter "force": If set to true, all associated resources will be deleted.
func (*ProjectsLocationsCustomRangesDeleteCall) Header ¶
func (c *ProjectsLocationsCustomRangesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCustomRangesDeleteCall) RequestId ¶
func (c *ProjectsLocationsCustomRangesDeleteCall) RequestId(requestId string) *ProjectsLocationsCustomRangesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ProjectsLocationsCustomRangesFindFreeIpRangesCall ¶
type ProjectsLocationsCustomRangesFindFreeIpRangesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) CidrPrefixLength ¶
func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) CidrPrefixLength(cidrPrefixLength int64) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
CidrPrefixLength sets the optional parameter "cidrPrefixLength": Required. The prefix length of the free IP ranges to find.
func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) Context ¶
func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) Do ¶
func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) Do(opts ...googleapi.CallOption) (*FindCustomRangeFreeIpRangesResponse, error)
Do executes the "cloudnumberregistry.projects.locations.customRanges.findFreeIpRanges" call. Any non-2xx status code is an error. Response headers are in either *FindCustomRangeFreeIpRangesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) Fields ¶
func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) Header ¶
func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) IfNoneMatch ¶
func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) RangeCount ¶
func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) RangeCount(rangeCount int64) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
RangeCount sets the optional parameter "rangeCount": The number of free IP ranges to find.
func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) RequestId ¶
func (c *ProjectsLocationsCustomRangesFindFreeIpRangesCall) RequestId(requestId string) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ProjectsLocationsCustomRangesGetCall ¶
type ProjectsLocationsCustomRangesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCustomRangesGetCall) Context ¶
func (c *ProjectsLocationsCustomRangesGetCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCustomRangesGetCall) Do ¶
func (c *ProjectsLocationsCustomRangesGetCall) Do(opts ...googleapi.CallOption) (*CustomRange, error)
Do executes the "cloudnumberregistry.projects.locations.customRanges.get" call. Any non-2xx status code is an error. Response headers are in either *CustomRange.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCustomRangesGetCall) Fields ¶
func (c *ProjectsLocationsCustomRangesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCustomRangesGetCall) Header ¶
func (c *ProjectsLocationsCustomRangesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCustomRangesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsCustomRangesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomRangesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsCustomRangesListCall ¶
type ProjectsLocationsCustomRangesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCustomRangesListCall) Context ¶
func (c *ProjectsLocationsCustomRangesListCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCustomRangesListCall) Do ¶
func (c *ProjectsLocationsCustomRangesListCall) Do(opts ...googleapi.CallOption) (*ListCustomRangesResponse, error)
Do executes the "cloudnumberregistry.projects.locations.customRanges.list" call. Any non-2xx status code is an error. Response headers are in either *ListCustomRangesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCustomRangesListCall) Fields ¶
func (c *ProjectsLocationsCustomRangesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCustomRangesListCall) Filter ¶
func (c *ProjectsLocationsCustomRangesListCall) Filter(filter string) *ProjectsLocationsCustomRangesListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsCustomRangesListCall) Header ¶
func (c *ProjectsLocationsCustomRangesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCustomRangesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsCustomRangesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomRangesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsCustomRangesListCall) OrderBy ¶
func (c *ProjectsLocationsCustomRangesListCall) OrderBy(orderBy string) *ProjectsLocationsCustomRangesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order the results.
func (*ProjectsLocationsCustomRangesListCall) PageSize ¶
func (c *ProjectsLocationsCustomRangesListCall) PageSize(pageSize int64) *ProjectsLocationsCustomRangesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsCustomRangesListCall) PageToken ¶
func (c *ProjectsLocationsCustomRangesListCall) PageToken(pageToken string) *ProjectsLocationsCustomRangesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsCustomRangesListCall) Pages ¶
func (c *ProjectsLocationsCustomRangesListCall) Pages(ctx context.Context, f func(*ListCustomRangesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsCustomRangesPatchCall ¶
type ProjectsLocationsCustomRangesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCustomRangesPatchCall) Context ¶
func (c *ProjectsLocationsCustomRangesPatchCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCustomRangesPatchCall) Do ¶
func (c *ProjectsLocationsCustomRangesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.customRanges.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCustomRangesPatchCall) Fields ¶
func (c *ProjectsLocationsCustomRangesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCustomRangesPatchCall) Header ¶
func (c *ProjectsLocationsCustomRangesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCustomRangesPatchCall) RequestId ¶
func (c *ProjectsLocationsCustomRangesPatchCall) RequestId(requestId string) *ProjectsLocationsCustomRangesPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsCustomRangesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsCustomRangesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsCustomRangesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the CustomRange resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsCustomRangesService ¶
type ProjectsLocationsCustomRangesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsCustomRangesService ¶
func NewProjectsLocationsCustomRangesService(s *Service) *ProjectsLocationsCustomRangesService
func (*ProjectsLocationsCustomRangesService) Create ¶
func (r *ProjectsLocationsCustomRangesService) Create(parent string, customrange *CustomRange) *ProjectsLocationsCustomRangesCreateCall
Create: Creates a new CustomRange in a given project and location.
- parent: Value for parent.
func (*ProjectsLocationsCustomRangesService) Delete ¶
func (r *ProjectsLocationsCustomRangesService) Delete(name string) *ProjectsLocationsCustomRangesDeleteCall
Delete: Deletes a single CustomRange.
- name: Name of the resource.
func (*ProjectsLocationsCustomRangesService) FindFreeIpRanges ¶
func (r *ProjectsLocationsCustomRangesService) FindFreeIpRanges(name string) *ProjectsLocationsCustomRangesFindFreeIpRangesCall
FindFreeIpRanges: Finds free IP ranges in a single CustomRange.
- name: Name of the CustomRange.
func (*ProjectsLocationsCustomRangesService) Get ¶
func (r *ProjectsLocationsCustomRangesService) Get(name string) *ProjectsLocationsCustomRangesGetCall
Get: Gets details of a single CustomRange.
- name: Name of the resource.
func (*ProjectsLocationsCustomRangesService) List ¶
func (r *ProjectsLocationsCustomRangesService) List(parent string) *ProjectsLocationsCustomRangesListCall
List: Lists CustomRanges in a given project and location.
- parent: Parent value for ListCustomRangesRequest.
func (*ProjectsLocationsCustomRangesService) Patch ¶
func (r *ProjectsLocationsCustomRangesService) Patch(name string, customrange *CustomRange) *ProjectsLocationsCustomRangesPatchCall
Patch: Updates the parameters of a single CustomRange.
- name: Identifier. name of resource.
func (*ProjectsLocationsCustomRangesService) ShowUtilization ¶
func (r *ProjectsLocationsCustomRangesService) ShowUtilization(name string) *ProjectsLocationsCustomRangesShowUtilizationCall
ShowUtilization: Gets the details of a single CustomRange and its utilization.
- name: Name of the resource.
type ProjectsLocationsCustomRangesShowUtilizationCall ¶
type ProjectsLocationsCustomRangesShowUtilizationCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsCustomRangesShowUtilizationCall) Context ¶
func (c *ProjectsLocationsCustomRangesShowUtilizationCall) Context(ctx context.Context) *ProjectsLocationsCustomRangesShowUtilizationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsCustomRangesShowUtilizationCall) Do ¶
func (c *ProjectsLocationsCustomRangesShowUtilizationCall) Do(opts ...googleapi.CallOption) (*ShowCustomRangeUtilizationResponse, error)
Do executes the "cloudnumberregistry.projects.locations.customRanges.showUtilization" call. Any non-2xx status code is an error. Response headers are in either *ShowCustomRangeUtilizationResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsCustomRangesShowUtilizationCall) Fields ¶
func (c *ProjectsLocationsCustomRangesShowUtilizationCall) Fields(s ...googleapi.Field) *ProjectsLocationsCustomRangesShowUtilizationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsCustomRangesShowUtilizationCall) Header ¶
func (c *ProjectsLocationsCustomRangesShowUtilizationCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsCustomRangesShowUtilizationCall) IfNoneMatch ¶
func (c *ProjectsLocationsCustomRangesShowUtilizationCall) IfNoneMatch(entityTag string) *ProjectsLocationsCustomRangesShowUtilizationCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall ¶
type ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) CidrPrefixLength ¶
func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) CidrPrefixLength(cidrPrefixLength int64) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
CidrPrefixLength sets the optional parameter "cidrPrefixLength": Required. The prefix length of the free IP ranges to find.
func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Context ¶
func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Context(ctx context.Context) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Do ¶
func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Do(opts ...googleapi.CallOption) (*FindDiscoveredRangeFreeIpRangesResponse, error)
Do executes the "cloudnumberregistry.projects.locations.discoveredRanges.findFreeIpRanges" call. Any non-2xx status code is an error. Response headers are in either *FindDiscoveredRangeFreeIpRangesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Fields ¶
func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Fields(s ...googleapi.Field) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Header ¶
func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) IfNoneMatch ¶
func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) IfNoneMatch(entityTag string) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) RangeCount ¶
func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) RangeCount(rangeCount int64) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
RangeCount sets the optional parameter "rangeCount": The number of free IP ranges to find.
func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) RequestId ¶
func (c *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) RequestId(requestId string) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ProjectsLocationsDiscoveredRangesGetCall ¶
type ProjectsLocationsDiscoveredRangesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDiscoveredRangesGetCall) Context ¶
func (c *ProjectsLocationsDiscoveredRangesGetCall) Context(ctx context.Context) *ProjectsLocationsDiscoveredRangesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDiscoveredRangesGetCall) Do ¶
func (c *ProjectsLocationsDiscoveredRangesGetCall) Do(opts ...googleapi.CallOption) (*DiscoveredRange, error)
Do executes the "cloudnumberregistry.projects.locations.discoveredRanges.get" call. Any non-2xx status code is an error. Response headers are in either *DiscoveredRange.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDiscoveredRangesGetCall) Fields ¶
func (c *ProjectsLocationsDiscoveredRangesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDiscoveredRangesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDiscoveredRangesGetCall) Header ¶
func (c *ProjectsLocationsDiscoveredRangesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDiscoveredRangesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDiscoveredRangesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDiscoveredRangesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsDiscoveredRangesListCall ¶
type ProjectsLocationsDiscoveredRangesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDiscoveredRangesListCall) Context ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) Context(ctx context.Context) *ProjectsLocationsDiscoveredRangesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDiscoveredRangesListCall) Do ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) Do(opts ...googleapi.CallOption) (*ListDiscoveredRangesResponse, error)
Do executes the "cloudnumberregistry.projects.locations.discoveredRanges.list" call. Any non-2xx status code is an error. Response headers are in either *ListDiscoveredRangesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDiscoveredRangesListCall) Fields ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDiscoveredRangesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDiscoveredRangesListCall) Filter ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) Filter(filter string) *ProjectsLocationsDiscoveredRangesListCall
Filter sets the optional parameter "filter": Filtering results.
func (*ProjectsLocationsDiscoveredRangesListCall) Header ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDiscoveredRangesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDiscoveredRangesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsDiscoveredRangesListCall) OrderBy ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) OrderBy(orderBy string) *ProjectsLocationsDiscoveredRangesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order the results.
func (*ProjectsLocationsDiscoveredRangesListCall) PageSize ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) PageSize(pageSize int64) *ProjectsLocationsDiscoveredRangesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsDiscoveredRangesListCall) PageToken ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) PageToken(pageToken string) *ProjectsLocationsDiscoveredRangesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsDiscoveredRangesListCall) Pages ¶
func (c *ProjectsLocationsDiscoveredRangesListCall) Pages(ctx context.Context, f func(*ListDiscoveredRangesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsDiscoveredRangesService ¶
type ProjectsLocationsDiscoveredRangesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDiscoveredRangesService ¶
func NewProjectsLocationsDiscoveredRangesService(s *Service) *ProjectsLocationsDiscoveredRangesService
func (*ProjectsLocationsDiscoveredRangesService) FindFreeIpRanges ¶
func (r *ProjectsLocationsDiscoveredRangesService) FindFreeIpRanges(name string) *ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall
FindFreeIpRanges: Finds free IP ranges in a single DiscoveredRange.
- name: Name of the DiscoveredRange.
func (*ProjectsLocationsDiscoveredRangesService) Get ¶
func (r *ProjectsLocationsDiscoveredRangesService) Get(name string) *ProjectsLocationsDiscoveredRangesGetCall
Get: Gets details of a single DiscoveredRange.
- name: Name of the resource.
func (*ProjectsLocationsDiscoveredRangesService) List ¶
func (r *ProjectsLocationsDiscoveredRangesService) List(parent string) *ProjectsLocationsDiscoveredRangesListCall
List: Lists DiscoveredRanges in a given project and location.
- parent: Parent value for ListDiscoveredRangesRequest.
func (*ProjectsLocationsDiscoveredRangesService) ShowUtilization ¶
func (r *ProjectsLocationsDiscoveredRangesService) ShowUtilization(name string) *ProjectsLocationsDiscoveredRangesShowUtilizationCall
ShowUtilization: Gets the details of a single DiscoveredRange and its utilization.
- name: Name of the resource.
type ProjectsLocationsDiscoveredRangesShowUtilizationCall ¶
type ProjectsLocationsDiscoveredRangesShowUtilizationCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) Context ¶
func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) Context(ctx context.Context) *ProjectsLocationsDiscoveredRangesShowUtilizationCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) Do ¶
func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) Do(opts ...googleapi.CallOption) (*ShowDiscoveredRangeUtilizationResponse, error)
Do executes the "cloudnumberregistry.projects.locations.discoveredRanges.showUtilization" call. Any non-2xx status code is an error. Response headers are in either *ShowDiscoveredRangeUtilizationResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) Fields ¶
func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) Fields(s ...googleapi.Field) *ProjectsLocationsDiscoveredRangesShowUtilizationCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) Header ¶
func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) IfNoneMatch ¶
func (c *ProjectsLocationsDiscoveredRangesShowUtilizationCall) IfNoneMatch(entityTag string) *ProjectsLocationsDiscoveredRangesShowUtilizationCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsGetCall ¶
type ProjectsLocationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsGetCall) Context ¶
func (c *ProjectsLocationsGetCall) Context(ctx context.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 "cloudnumberregistry.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsGetCall) Header ¶
func (c *ProjectsLocationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsIpamAdminScopesCheckAvailabilityCall ¶
type ProjectsLocationsIpamAdminScopesCheckAvailabilityCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Context ¶
func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Do ¶
func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Do(opts ...googleapi.CallOption) (*CheckAvailabilityIpamAdminScopesResponse, error)
Do executes the "cloudnumberregistry.projects.locations.ipamAdminScopes.checkAvailability" call. Any non-2xx status code is an error. Response headers are in either *CheckAvailabilityIpamAdminScopesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Fields ¶
func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Header ¶
func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) IfNoneMatch ¶
func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) IfNoneMatch(entityTag string) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Scopes ¶
func (c *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Scopes(scopes ...string) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
Scopes sets the optional parameter "scopes": Required. The scopes of the IpamAdminScopes to look for.
type ProjectsLocationsIpamAdminScopesCleanupCall ¶
type ProjectsLocationsIpamAdminScopesCleanupCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIpamAdminScopesCleanupCall) Context ¶
func (c *ProjectsLocationsIpamAdminScopesCleanupCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesCleanupCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIpamAdminScopesCleanupCall) Do ¶
func (c *ProjectsLocationsIpamAdminScopesCleanupCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.ipamAdminScopes.cleanup" 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsIpamAdminScopesCleanupCall) Fields ¶
func (c *ProjectsLocationsIpamAdminScopesCleanupCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesCleanupCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIpamAdminScopesCleanupCall) Header ¶
func (c *ProjectsLocationsIpamAdminScopesCleanupCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIpamAdminScopesCreateCall ¶
type ProjectsLocationsIpamAdminScopesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIpamAdminScopesCreateCall) Context ¶
func (c *ProjectsLocationsIpamAdminScopesCreateCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIpamAdminScopesCreateCall) Do ¶
func (c *ProjectsLocationsIpamAdminScopesCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.ipamAdminScopes.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsIpamAdminScopesCreateCall) Fields ¶
func (c *ProjectsLocationsIpamAdminScopesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIpamAdminScopesCreateCall) Header ¶
func (c *ProjectsLocationsIpamAdminScopesCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsIpamAdminScopesCreateCall) IpamAdminScopeId ¶
func (c *ProjectsLocationsIpamAdminScopesCreateCall) IpamAdminScopeId(ipamAdminScopeId string) *ProjectsLocationsIpamAdminScopesCreateCall
IpamAdminScopeId sets the optional parameter "ipamAdminScopeId": Required. Id of the requesting object.
func (*ProjectsLocationsIpamAdminScopesCreateCall) RequestId ¶
func (c *ProjectsLocationsIpamAdminScopesCreateCall) RequestId(requestId string) *ProjectsLocationsIpamAdminScopesCreateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ProjectsLocationsIpamAdminScopesDeleteCall ¶
type ProjectsLocationsIpamAdminScopesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIpamAdminScopesDeleteCall) Context ¶
func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIpamAdminScopesDeleteCall) Do ¶
func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.ipamAdminScopes.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsIpamAdminScopesDeleteCall) Fields ¶
func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIpamAdminScopesDeleteCall) Force ¶
func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Force(force bool) *ProjectsLocationsIpamAdminScopesDeleteCall
Force sets the optional parameter "force": If set to true, all associated resources will be deleted.
func (*ProjectsLocationsIpamAdminScopesDeleteCall) Header ¶
func (c *ProjectsLocationsIpamAdminScopesDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsIpamAdminScopesDeleteCall) RequestId ¶
func (c *ProjectsLocationsIpamAdminScopesDeleteCall) RequestId(requestId string) *ProjectsLocationsIpamAdminScopesDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ProjectsLocationsIpamAdminScopesDisableCall ¶
type ProjectsLocationsIpamAdminScopesDisableCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIpamAdminScopesDisableCall) Context ¶
func (c *ProjectsLocationsIpamAdminScopesDisableCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesDisableCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIpamAdminScopesDisableCall) Do ¶
func (c *ProjectsLocationsIpamAdminScopesDisableCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.ipamAdminScopes.disable" 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsIpamAdminScopesDisableCall) Fields ¶
func (c *ProjectsLocationsIpamAdminScopesDisableCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesDisableCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIpamAdminScopesDisableCall) Header ¶
func (c *ProjectsLocationsIpamAdminScopesDisableCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsIpamAdminScopesGetCall ¶
type ProjectsLocationsIpamAdminScopesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIpamAdminScopesGetCall) Context ¶
func (c *ProjectsLocationsIpamAdminScopesGetCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIpamAdminScopesGetCall) Do ¶
func (c *ProjectsLocationsIpamAdminScopesGetCall) Do(opts ...googleapi.CallOption) (*IpamAdminScope, error)
Do executes the "cloudnumberregistry.projects.locations.ipamAdminScopes.get" call. Any non-2xx status code is an error. Response headers are in either *IpamAdminScope.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsIpamAdminScopesGetCall) Fields ¶
func (c *ProjectsLocationsIpamAdminScopesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIpamAdminScopesGetCall) Header ¶
func (c *ProjectsLocationsIpamAdminScopesGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsIpamAdminScopesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsIpamAdminScopesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsIpamAdminScopesGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsIpamAdminScopesListCall ¶
type ProjectsLocationsIpamAdminScopesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIpamAdminScopesListCall) Context ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIpamAdminScopesListCall) Do ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) Do(opts ...googleapi.CallOption) (*ListIpamAdminScopesResponse, error)
Do executes the "cloudnumberregistry.projects.locations.ipamAdminScopes.list" call. Any non-2xx status code is an error. Response headers are in either *ListIpamAdminScopesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsIpamAdminScopesListCall) Fields ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIpamAdminScopesListCall) Filter ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) Filter(filter string) *ProjectsLocationsIpamAdminScopesListCall
Filter sets the optional parameter "filter": Filtering results
func (*ProjectsLocationsIpamAdminScopesListCall) Header ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsIpamAdminScopesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsIpamAdminScopesListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsIpamAdminScopesListCall) OrderBy ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) OrderBy(orderBy string) *ProjectsLocationsIpamAdminScopesListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order the results
func (*ProjectsLocationsIpamAdminScopesListCall) PageSize ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) PageSize(pageSize int64) *ProjectsLocationsIpamAdminScopesListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsIpamAdminScopesListCall) PageToken ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) PageToken(pageToken string) *ProjectsLocationsIpamAdminScopesListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsIpamAdminScopesListCall) Pages ¶
func (c *ProjectsLocationsIpamAdminScopesListCall) Pages(ctx context.Context, f func(*ListIpamAdminScopesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsIpamAdminScopesPatchCall ¶
type ProjectsLocationsIpamAdminScopesPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsIpamAdminScopesPatchCall) Context ¶
func (c *ProjectsLocationsIpamAdminScopesPatchCall) Context(ctx context.Context) *ProjectsLocationsIpamAdminScopesPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsIpamAdminScopesPatchCall) Do ¶
func (c *ProjectsLocationsIpamAdminScopesPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.ipamAdminScopes.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsIpamAdminScopesPatchCall) Fields ¶
func (c *ProjectsLocationsIpamAdminScopesPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsIpamAdminScopesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsIpamAdminScopesPatchCall) Header ¶
func (c *ProjectsLocationsIpamAdminScopesPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsIpamAdminScopesPatchCall) RequestId ¶
func (c *ProjectsLocationsIpamAdminScopesPatchCall) RequestId(requestId string) *ProjectsLocationsIpamAdminScopesPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsIpamAdminScopesPatchCall) UpdateMask ¶
func (c *ProjectsLocationsIpamAdminScopesPatchCall) UpdateMask(updateMask string) *ProjectsLocationsIpamAdminScopesPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the IpamAdminScope resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsIpamAdminScopesService ¶
type ProjectsLocationsIpamAdminScopesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsIpamAdminScopesService ¶
func NewProjectsLocationsIpamAdminScopesService(s *Service) *ProjectsLocationsIpamAdminScopesService
func (*ProjectsLocationsIpamAdminScopesService) CheckAvailability ¶
func (r *ProjectsLocationsIpamAdminScopesService) CheckAvailability(parent string) *ProjectsLocationsIpamAdminScopesCheckAvailabilityCall
CheckAvailability: Checks the availability of IPAM admin scopes in a given project and location.
- parent: Parent value for the IpamAdminScopes.
func (*ProjectsLocationsIpamAdminScopesService) Cleanup ¶
func (r *ProjectsLocationsIpamAdminScopesService) Cleanup(name string, cleanupipamadminscoperequest *CleanupIpamAdminScopeRequest) *ProjectsLocationsIpamAdminScopesCleanupCall
Cleanup: Cleans up a single IpamAdminScope.
- name: Name of the resource.
func (*ProjectsLocationsIpamAdminScopesService) Create ¶
func (r *ProjectsLocationsIpamAdminScopesService) Create(parent string, ipamadminscope *IpamAdminScope) *ProjectsLocationsIpamAdminScopesCreateCall
Create: Creates a new IpamAdminScope in a given project and location.
- parent: Value for parent.
func (*ProjectsLocationsIpamAdminScopesService) Delete ¶
func (r *ProjectsLocationsIpamAdminScopesService) Delete(name string) *ProjectsLocationsIpamAdminScopesDeleteCall
Delete: Deletes a single IpamAdminScope.
- name: Name of the resource.
func (*ProjectsLocationsIpamAdminScopesService) Disable ¶
func (r *ProjectsLocationsIpamAdminScopesService) Disable(name string, disableipamadminscoperequest *DisableIpamAdminScopeRequest) *ProjectsLocationsIpamAdminScopesDisableCall
Disable: Disables a single IpamAdminScope.
- name: Name of the resource.
func (*ProjectsLocationsIpamAdminScopesService) Get ¶
func (r *ProjectsLocationsIpamAdminScopesService) Get(name string) *ProjectsLocationsIpamAdminScopesGetCall
Get: Gets details of a single IpamAdminScope.
- name: Name of the resource.
func (*ProjectsLocationsIpamAdminScopesService) List ¶
func (r *ProjectsLocationsIpamAdminScopesService) List(parent string) *ProjectsLocationsIpamAdminScopesListCall
List: List all IPAM admin scopes in a given project and location.
- parent: Parent value for ListIpamAdminScopesRequest.
func (*ProjectsLocationsIpamAdminScopesService) Patch ¶
func (r *ProjectsLocationsIpamAdminScopesService) Patch(name string, ipamadminscope *IpamAdminScope) *ProjectsLocationsIpamAdminScopesPatchCall
Patch: Updates the parameters of a single IpamAdminScope.
- name: Identifier. name of resource.
type ProjectsLocationsListCall ¶
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsListCall) Context ¶
func (c *ProjectsLocationsListCall) Context(ctx context.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 "cloudnumberregistry.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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsListCall) ExtraLocationTypes ¶
func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall
ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do not use this field unless explicitly documented otherwise. This is primarily for internal usage.
func (*ProjectsLocationsListCall) Fields ¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsListCall) Filter ¶
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to 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 add headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsListCall) PageSize ¶
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall) PageToken ¶
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (*ProjectsLocationsListCall) Pages ¶
func (c *ProjectsLocationsListCall) Pages(ctx context.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.
type ProjectsLocationsOperationsCancelCall ¶
type ProjectsLocationsOperationsCancelCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsCancelCall) Context ¶
func (c *ProjectsLocationsOperationsCancelCall) Context(ctx context.Context) *ProjectsLocationsOperationsCancelCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsOperationsCancelCall) Do ¶
func (c *ProjectsLocationsOperationsCancelCall) Do(opts ...googleapi.CallOption) (*Empty, error)
Do executes the "cloudnumberregistry.projects.locations.operations.cancel" 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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsCancelCall) Fields ¶
func (c *ProjectsLocationsOperationsCancelCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsCancelCall) Header ¶
func (c *ProjectsLocationsOperationsCancelCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsDeleteCall ¶
type ProjectsLocationsOperationsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsDeleteCall) Context ¶
func (c *ProjectsLocationsOperationsDeleteCall) Context(ctx context.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 "cloudnumberregistry.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsDeleteCall) Header ¶
func (c *ProjectsLocationsOperationsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
type ProjectsLocationsOperationsGetCall ¶
type ProjectsLocationsOperationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsGetCall) Context ¶
func (c *ProjectsLocationsOperationsGetCall) Context(ctx context.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 "cloudnumberregistry.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether 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. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsGetCall) Header ¶
func (c *ProjectsLocationsOperationsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsOperationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
type ProjectsLocationsOperationsListCall ¶
type ProjectsLocationsOperationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsOperationsListCall) Context ¶
func (c *ProjectsLocationsOperationsListCall) Context(ctx context.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 "cloudnumberregistry.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 returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsOperationsListCall) Fields ¶
func (c *ProjectsLocationsOperationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsOperationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsOperationsListCall) Filter ¶
func (c *ProjectsLocationsOperationsListCall) Filter(filter string) *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 add headers to the request.
func (*ProjectsLocationsOperationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsOperationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsOperationsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsOperationsListCall) PageSize ¶
func (c *ProjectsLocationsOperationsListCall) PageSize(pageSize int64) *ProjectsLocationsOperationsListCall
PageSize sets the optional parameter "pageSize": The standard list page size.
func (*ProjectsLocationsOperationsListCall) PageToken ¶
func (c *ProjectsLocationsOperationsListCall) PageToken(pageToken string) *ProjectsLocationsOperationsListCall
PageToken sets the optional parameter "pageToken": The standard list page token.
func (*ProjectsLocationsOperationsListCall) Pages ¶
func (c *ProjectsLocationsOperationsListCall) Pages(ctx context.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 ¶
func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *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` when reading across collections. For example, when `parent` is set to "projects/example/locations/-". This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
type ProjectsLocationsOperationsService ¶
type ProjectsLocationsOperationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsOperationsService ¶
func NewProjectsLocationsOperationsService(s *Service) *ProjectsLocationsOperationsService
func (*ProjectsLocationsOperationsService) Cancel ¶
func (r *ProjectsLocationsOperationsService) Cancel(name string, canceloperationrequest *CancelOperationRequest) *ProjectsLocationsOperationsCancelCall
Cancel: Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.
- name: The name of the operation resource to be cancelled.
func (*ProjectsLocationsOperationsService) Delete ¶
func (r *ProjectsLocationsOperationsService) Delete(name string) *ProjectsLocationsOperationsDeleteCall
Delete: Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the 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(name string) *ProjectsLocationsOperationsGetCall
Get: Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
- name: The name of the operation resource.
func (*ProjectsLocationsOperationsService) List ¶
func (r *ProjectsLocationsOperationsService) List(name string) *ProjectsLocationsOperationsListCall
List: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.
- name: The name of the operation's parent resource.
type ProjectsLocationsRealmsCreateCall ¶
type ProjectsLocationsRealmsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRealmsCreateCall) Context ¶
func (c *ProjectsLocationsRealmsCreateCall) Context(ctx context.Context) *ProjectsLocationsRealmsCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRealmsCreateCall) Do ¶
func (c *ProjectsLocationsRealmsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.realms.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRealmsCreateCall) Fields ¶
func (c *ProjectsLocationsRealmsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRealmsCreateCall) Header ¶
func (c *ProjectsLocationsRealmsCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRealmsCreateCall) RealmId ¶
func (c *ProjectsLocationsRealmsCreateCall) RealmId(realmId string) *ProjectsLocationsRealmsCreateCall
RealmId sets the optional parameter "realmId": Required. Id of the requesting object.
func (*ProjectsLocationsRealmsCreateCall) RequestId ¶
func (c *ProjectsLocationsRealmsCreateCall) RequestId(requestId string) *ProjectsLocationsRealmsCreateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
type ProjectsLocationsRealmsDeleteCall ¶
type ProjectsLocationsRealmsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRealmsDeleteCall) Context ¶
func (c *ProjectsLocationsRealmsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRealmsDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRealmsDeleteCall) Do ¶
func (c *ProjectsLocationsRealmsDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.realms.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRealmsDeleteCall) Fields ¶
func (c *ProjectsLocationsRealmsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRealmsDeleteCall) Force ¶
func (c *ProjectsLocationsRealmsDeleteCall) Force(force bool) *ProjectsLocationsRealmsDeleteCall
Force sets the optional parameter "force": If set to true, all associated resources will be deleted.
func (*ProjectsLocationsRealmsDeleteCall) Header ¶
func (c *ProjectsLocationsRealmsDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRealmsDeleteCall) RequestId ¶
func (c *ProjectsLocationsRealmsDeleteCall) RequestId(requestId string) *ProjectsLocationsRealmsDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request.
type ProjectsLocationsRealmsGetCall ¶
type ProjectsLocationsRealmsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRealmsGetCall) Context ¶
func (c *ProjectsLocationsRealmsGetCall) Context(ctx context.Context) *ProjectsLocationsRealmsGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRealmsGetCall) Do ¶
func (c *ProjectsLocationsRealmsGetCall) Do(opts ...googleapi.CallOption) (*Realm, error)
Do executes the "cloudnumberregistry.projects.locations.realms.get" call. Any non-2xx status code is an error. Response headers are in either *Realm.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRealmsGetCall) Fields ¶
func (c *ProjectsLocationsRealmsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRealmsGetCall) Header ¶
func (c *ProjectsLocationsRealmsGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRealmsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRealmsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRealmsGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsRealmsGetCall) View ¶
func (c *ProjectsLocationsRealmsGetCall) View(view string) *ProjectsLocationsRealmsGetCall
View sets the optional parameter "view": The view of the Realm.
Possible values:
"REALM_VIEW_UNSPECIFIED" - Unspecified view. Defaults to BASIC. "BASIC" - Basic view. "FULL" - Full view. Includes the same data as the BASIC view. "AGGREGATE" - Aggregate includes data about the child resources of the
Realm.
type ProjectsLocationsRealmsListCall ¶
type ProjectsLocationsRealmsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRealmsListCall) Context ¶
func (c *ProjectsLocationsRealmsListCall) Context(ctx context.Context) *ProjectsLocationsRealmsListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRealmsListCall) Do ¶
func (c *ProjectsLocationsRealmsListCall) Do(opts ...googleapi.CallOption) (*ListRealmsResponse, error)
Do executes the "cloudnumberregistry.projects.locations.realms.list" call. Any non-2xx status code is an error. Response headers are in either *ListRealmsResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRealmsListCall) Fields ¶
func (c *ProjectsLocationsRealmsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRealmsListCall) Filter ¶
func (c *ProjectsLocationsRealmsListCall) Filter(filter string) *ProjectsLocationsRealmsListCall
Filter sets the optional parameter "filter": Filtering results
func (*ProjectsLocationsRealmsListCall) Header ¶
func (c *ProjectsLocationsRealmsListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRealmsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRealmsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRealmsListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsRealmsListCall) OrderBy ¶
func (c *ProjectsLocationsRealmsListCall) OrderBy(orderBy string) *ProjectsLocationsRealmsListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order the results
func (*ProjectsLocationsRealmsListCall) PageSize ¶
func (c *ProjectsLocationsRealmsListCall) PageSize(pageSize int64) *ProjectsLocationsRealmsListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsRealmsListCall) PageToken ¶
func (c *ProjectsLocationsRealmsListCall) PageToken(pageToken string) *ProjectsLocationsRealmsListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsRealmsListCall) Pages ¶
func (c *ProjectsLocationsRealmsListCall) Pages(ctx context.Context, f func(*ListRealmsResponse) 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 (*ProjectsLocationsRealmsListCall) View ¶
func (c *ProjectsLocationsRealmsListCall) View(view string) *ProjectsLocationsRealmsListCall
View sets the optional parameter "view": The view of the Realm.
Possible values:
"REALM_VIEW_UNSPECIFIED" - Unspecified view. Defaults to BASIC. "BASIC" - Basic view. "FULL" - Full view. Includes the same data as the BASIC view. "AGGREGATE" - Aggregate includes data about the child resources of the
Realm.
type ProjectsLocationsRealmsPatchCall ¶
type ProjectsLocationsRealmsPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRealmsPatchCall) Context ¶
func (c *ProjectsLocationsRealmsPatchCall) Context(ctx context.Context) *ProjectsLocationsRealmsPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRealmsPatchCall) Do ¶
func (c *ProjectsLocationsRealmsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.realms.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRealmsPatchCall) Fields ¶
func (c *ProjectsLocationsRealmsPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRealmsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRealmsPatchCall) Header ¶
func (c *ProjectsLocationsRealmsPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRealmsPatchCall) RequestId ¶
func (c *ProjectsLocationsRealmsPatchCall) RequestId(requestId string) *ProjectsLocationsRealmsPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.
func (*ProjectsLocationsRealmsPatchCall) UpdateMask ¶
func (c *ProjectsLocationsRealmsPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRealmsPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the Realm resource by the update.
type ProjectsLocationsRealmsService ¶
type ProjectsLocationsRealmsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRealmsService ¶
func NewProjectsLocationsRealmsService(s *Service) *ProjectsLocationsRealmsService
func (*ProjectsLocationsRealmsService) Create ¶
func (r *ProjectsLocationsRealmsService) Create(parent string, realm *Realm) *ProjectsLocationsRealmsCreateCall
Create: Creates a new Realm in a given project and location.
- parent: Value for parent.
func (*ProjectsLocationsRealmsService) Delete ¶
func (r *ProjectsLocationsRealmsService) Delete(name string) *ProjectsLocationsRealmsDeleteCall
Delete: Deletes a single Realm.
- name: Name of the resource.
func (*ProjectsLocationsRealmsService) Get ¶
func (r *ProjectsLocationsRealmsService) Get(name string) *ProjectsLocationsRealmsGetCall
Get: Gets details of a single Realm.
- name: Name of the resource.
func (*ProjectsLocationsRealmsService) List ¶
func (r *ProjectsLocationsRealmsService) List(parent string) *ProjectsLocationsRealmsListCall
List: Lists Realms in a given project and location.
- parent: Parent value for ListRealmsRequest.
func (*ProjectsLocationsRealmsService) Patch ¶
func (r *ProjectsLocationsRealmsService) Patch(name string, realm *Realm) *ProjectsLocationsRealmsPatchCall
Patch: Updates the parameters of a single Realm.
- name: Identifier. Unique name/ID of the realm.
type ProjectsLocationsRegistryBooksCreateCall ¶
type ProjectsLocationsRegistryBooksCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRegistryBooksCreateCall) Context ¶
func (c *ProjectsLocationsRegistryBooksCreateCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksCreateCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRegistryBooksCreateCall) Do ¶
func (c *ProjectsLocationsRegistryBooksCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.registryBooks.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRegistryBooksCreateCall) Fields ¶
func (c *ProjectsLocationsRegistryBooksCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRegistryBooksCreateCall) Header ¶
func (c *ProjectsLocationsRegistryBooksCreateCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRegistryBooksCreateCall) RegistryBookId ¶
func (c *ProjectsLocationsRegistryBooksCreateCall) RegistryBookId(registryBookId string) *ProjectsLocationsRegistryBooksCreateCall
RegistryBookId sets the optional parameter "registryBookId": Required. Id of the requesting object.
func (*ProjectsLocationsRegistryBooksCreateCall) RequestId ¶
func (c *ProjectsLocationsRegistryBooksCreateCall) RequestId(requestId string) *ProjectsLocationsRegistryBooksCreateCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ProjectsLocationsRegistryBooksDeleteCall ¶
type ProjectsLocationsRegistryBooksDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRegistryBooksDeleteCall) Context ¶
func (c *ProjectsLocationsRegistryBooksDeleteCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksDeleteCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRegistryBooksDeleteCall) Do ¶
func (c *ProjectsLocationsRegistryBooksDeleteCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.registryBooks.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRegistryBooksDeleteCall) Fields ¶
func (c *ProjectsLocationsRegistryBooksDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRegistryBooksDeleteCall) Force ¶
func (c *ProjectsLocationsRegistryBooksDeleteCall) Force(force bool) *ProjectsLocationsRegistryBooksDeleteCall
Force sets the optional parameter "force": If set to true, all associated resources will be deleted.
func (*ProjectsLocationsRegistryBooksDeleteCall) Header ¶
func (c *ProjectsLocationsRegistryBooksDeleteCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRegistryBooksDeleteCall) RequestId ¶
func (c *ProjectsLocationsRegistryBooksDeleteCall) RequestId(requestId string) *ProjectsLocationsRegistryBooksDeleteCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
type ProjectsLocationsRegistryBooksGetCall ¶
type ProjectsLocationsRegistryBooksGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRegistryBooksGetCall) Context ¶
func (c *ProjectsLocationsRegistryBooksGetCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksGetCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRegistryBooksGetCall) Do ¶
func (c *ProjectsLocationsRegistryBooksGetCall) Do(opts ...googleapi.CallOption) (*RegistryBook, error)
Do executes the "cloudnumberregistry.projects.locations.registryBooks.get" call. Any non-2xx status code is an error. Response headers are in either *RegistryBook.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRegistryBooksGetCall) Fields ¶
func (c *ProjectsLocationsRegistryBooksGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRegistryBooksGetCall) Header ¶
func (c *ProjectsLocationsRegistryBooksGetCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRegistryBooksGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRegistryBooksGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistryBooksGetCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsRegistryBooksGetCall) View ¶
func (c *ProjectsLocationsRegistryBooksGetCall) View(view string) *ProjectsLocationsRegistryBooksGetCall
View sets the optional parameter "view": The view of the RegistryBook.
Possible values:
"REGISTRY_BOOK_VIEW_UNSPECIFIED" - Unspecified view. Defaults to BASIC. "BASIC" - Basic view. "FULL" - Full view. Includes the same data as the BASIC view. "AGGREGATE" - Aggregate includes data about the child resources of the
RegistryBook.
type ProjectsLocationsRegistryBooksListCall ¶
type ProjectsLocationsRegistryBooksListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRegistryBooksListCall) Context ¶
func (c *ProjectsLocationsRegistryBooksListCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksListCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRegistryBooksListCall) Do ¶
func (c *ProjectsLocationsRegistryBooksListCall) Do(opts ...googleapi.CallOption) (*ListRegistryBooksResponse, error)
Do executes the "cloudnumberregistry.projects.locations.registryBooks.list" call. Any non-2xx status code is an error. Response headers are in either *ListRegistryBooksResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRegistryBooksListCall) Fields ¶
func (c *ProjectsLocationsRegistryBooksListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRegistryBooksListCall) Filter ¶
func (c *ProjectsLocationsRegistryBooksListCall) Filter(filter string) *ProjectsLocationsRegistryBooksListCall
Filter sets the optional parameter "filter": Filtering results
func (*ProjectsLocationsRegistryBooksListCall) Header ¶
func (c *ProjectsLocationsRegistryBooksListCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRegistryBooksListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRegistryBooksListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRegistryBooksListCall
IfNoneMatch sets an optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request.
func (*ProjectsLocationsRegistryBooksListCall) OrderBy ¶
func (c *ProjectsLocationsRegistryBooksListCall) OrderBy(orderBy string) *ProjectsLocationsRegistryBooksListCall
OrderBy sets the optional parameter "orderBy": Hint for how to order the results
func (*ProjectsLocationsRegistryBooksListCall) PageSize ¶
func (c *ProjectsLocationsRegistryBooksListCall) PageSize(pageSize int64) *ProjectsLocationsRegistryBooksListCall
PageSize sets the optional parameter "pageSize": Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
func (*ProjectsLocationsRegistryBooksListCall) PageToken ¶
func (c *ProjectsLocationsRegistryBooksListCall) PageToken(pageToken string) *ProjectsLocationsRegistryBooksListCall
PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.
func (*ProjectsLocationsRegistryBooksListCall) Pages ¶
func (c *ProjectsLocationsRegistryBooksListCall) Pages(ctx context.Context, f func(*ListRegistryBooksResponse) 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 (*ProjectsLocationsRegistryBooksListCall) View ¶
func (c *ProjectsLocationsRegistryBooksListCall) View(view string) *ProjectsLocationsRegistryBooksListCall
View sets the optional parameter "view": The view of the RegistryBook.
Possible values:
"REGISTRY_BOOK_VIEW_UNSPECIFIED" - Unspecified view. Defaults to BASIC. "BASIC" - Basic view. "FULL" - Full view. Includes the same data as the BASIC view. "AGGREGATE" - Aggregate includes data about the child resources of the
RegistryBook.
type ProjectsLocationsRegistryBooksPatchCall ¶
type ProjectsLocationsRegistryBooksPatchCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRegistryBooksPatchCall) Context ¶
func (c *ProjectsLocationsRegistryBooksPatchCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksPatchCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRegistryBooksPatchCall) Do ¶
func (c *ProjectsLocationsRegistryBooksPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error)
Do executes the "cloudnumberregistry.projects.locations.registryBooks.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) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRegistryBooksPatchCall) Fields ¶
func (c *ProjectsLocationsRegistryBooksPatchCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRegistryBooksPatchCall) Header ¶
func (c *ProjectsLocationsRegistryBooksPatchCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRegistryBooksPatchCall) RequestId ¶
func (c *ProjectsLocationsRegistryBooksPatchCall) RequestId(requestId string) *ProjectsLocationsRegistryBooksPatchCall
RequestId sets the optional parameter "requestId": An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
func (*ProjectsLocationsRegistryBooksPatchCall) UpdateMask ¶
func (c *ProjectsLocationsRegistryBooksPatchCall) UpdateMask(updateMask string) *ProjectsLocationsRegistryBooksPatchCall
UpdateMask sets the optional parameter "updateMask": Field mask is used to specify the fields to be overwritten in the RegistryBook resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.
type ProjectsLocationsRegistryBooksSearchIpResourcesCall ¶
type ProjectsLocationsRegistryBooksSearchIpResourcesCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRegistryBooksSearchIpResourcesCall) Context ¶
func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Context(ctx context.Context) *ProjectsLocationsRegistryBooksSearchIpResourcesCall
Context sets the context to be used in this call's Do method.
func (*ProjectsLocationsRegistryBooksSearchIpResourcesCall) Do ¶
func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Do(opts ...googleapi.CallOption) (*SearchIpResourcesResponse, error)
Do executes the "cloudnumberregistry.projects.locations.registryBooks.searchIpResources" call. Any non-2xx status code is an error. Response headers are in either *SearchIpResourcesResponse.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.
func (*ProjectsLocationsRegistryBooksSearchIpResourcesCall) Fields ¶
func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Fields(s ...googleapi.Field) *ProjectsLocationsRegistryBooksSearchIpResourcesCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more details.
func (*ProjectsLocationsRegistryBooksSearchIpResourcesCall) Header ¶
func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Header() http.Header
Header returns a http.Header that can be modified by the caller to add headers to the request.
func (*ProjectsLocationsRegistryBooksSearchIpResourcesCall) Pages ¶
func (c *ProjectsLocationsRegistryBooksSearchIpResourcesCall) Pages(ctx context.Context, f func(*SearchIpResourcesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type ProjectsLocationsRegistryBooksService ¶
type ProjectsLocationsRegistryBooksService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRegistryBooksService ¶
func NewProjectsLocationsRegistryBooksService(s *Service) *ProjectsLocationsRegistryBooksService
func (*ProjectsLocationsRegistryBooksService) Create ¶
func (r *ProjectsLocationsRegistryBooksService) Create(parent string, registrybook *RegistryBook) *ProjectsLocationsRegistryBooksCreateCall
Create: Creates a new RegistryBook in a given project and location.
- parent: Value for parent.
func (*ProjectsLocationsRegistryBooksService) Delete ¶
func (r *ProjectsLocationsRegistryBooksService) Delete(name string) *ProjectsLocationsRegistryBooksDeleteCall
Delete: Deletes a single RegistryBook.
- name: Name of the resource.
func (*ProjectsLocationsRegistryBooksService) Get ¶
func (r *ProjectsLocationsRegistryBooksService) Get(name string) *ProjectsLocationsRegistryBooksGetCall
Get: Gets details of a single RegistryBook.
- name: Name of the resource.
func (*ProjectsLocationsRegistryBooksService) List ¶
func (r *ProjectsLocationsRegistryBooksService) List(parent string) *ProjectsLocationsRegistryBooksListCall
List: Lists RegistryBooks in a given project and location.
- parent: Parent value for ListRegistryBooksRequest.
func (*ProjectsLocationsRegistryBooksService) Patch ¶
func (r *ProjectsLocationsRegistryBooksService) Patch(name string, registrybook *RegistryBook) *ProjectsLocationsRegistryBooksPatchCall
Patch: Updates the parameters of a single RegistryBook.
- name: Identifier. name of resource.
func (*ProjectsLocationsRegistryBooksService) SearchIpResources ¶
func (r *ProjectsLocationsRegistryBooksService) SearchIpResources(name string, searchipresourcesrequest *SearchIpResourcesRequest) *ProjectsLocationsRegistryBooksSearchIpResourcesCall
SearchIpResources: Searches IP resources in a given RegistryBook.
- name: The name of the RegistryBook to search in.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct {
CustomRanges *ProjectsLocationsCustomRangesService
DiscoveredRanges *ProjectsLocationsDiscoveredRangesService
IpamAdminScopes *ProjectsLocationsIpamAdminScopesService
Operations *ProjectsLocationsOperationsService
Realms *ProjectsLocationsRealmsService
RegistryBooks *ProjectsLocationsRegistryBooksService
// contains filtered or unexported fields
}
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *Service) *ProjectsLocationsService
func (*ProjectsLocationsService) Get ¶
func (r *ProjectsLocationsService) Get(name string) *ProjectsLocationsGetCall
Get: Gets information about a location.
- name: Resource name for the location.
func (*ProjectsLocationsService) List ¶
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version.
- name: The resource that owns the locations collection, if applicable.
type ProjectsService ¶
type ProjectsService struct {
Locations *ProjectsLocationsService
// contains filtered or unexported fields
}
func NewProjectsService ¶
func NewProjectsService(s *Service) *ProjectsService
type Range ¶
type Range struct {
// CustomRange: A custom range.
CustomRange *CustomRange `json:"customRange,omitempty"`
// DiscoveredRange: A discovered range.
DiscoveredRange *DiscoveredRange `json:"discoveredRange,omitempty"`
// Utilization: The utilization of the range.
Utilization *RangeUtilization `json:"utilization,omitempty"`
// ForceSendFields is a list of field names (e.g. "CustomRange") 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. "CustomRange") 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:"-"`
}
Range: Message describing either a CustomRange or a DiscoveredRange.
func (Range) MarshalJSON ¶
type RangeUtilization ¶
type RangeUtilization struct {
// TotalConsumed: Output only. The total number of IP addresses consumed in the
// range.
TotalConsumed string `json:"totalConsumed,omitempty"`
// TotalProduced: Output only. The total number of IP addresses produced in the
// range.
TotalProduced string `json:"totalProduced,omitempty"`
// Usage: Output only. The usage of the range as a percentage. This is marked
// as optional so that we have presence tracking and API responses show 0.0
// instead of NULL.
Usage float64 `json:"usage,omitempty"`
// ForceSendFields is a list of field names (e.g. "TotalConsumed") 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. "TotalConsumed") 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:"-"`
}
RangeUtilization: Message for the utilization of an IP range
func (RangeUtilization) MarshalJSON ¶
func (s RangeUtilization) MarshalJSON() ([]byte, error)
func (*RangeUtilization) UnmarshalJSON ¶
func (s *RangeUtilization) UnmarshalJSON(data []byte) error
type Realm ¶
type Realm struct {
// AggregatedData: Output only. Aggregated data for the Realm. Populated only
// when the view is AGGREGATE.
AggregatedData *RealmAggregatedData `json:"aggregatedData,omitempty"`
// CreateTime: Output only. [Output only] Create time stamp
CreateTime string `json:"createTime,omitempty"`
// DiscoveryMetadata: Output only. Discovery metadata of the realm.
DiscoveryMetadata *DiscoveryMetadata `json:"discoveryMetadata,omitempty"`
// IpVersion: Optional. IP version of the realm.
//
// Possible values:
// "IP_VERSION_UNSPECIFIED" - Unspecified IP version.
// "IPV4" - IPv4 IP version.
// "IPV6" - IPv6 IP version.
IpVersion string `json:"ipVersion,omitempty"`
// Labels: Optional. Labels as key value pairs
Labels map[string]string `json:"labels,omitempty"`
// ManagementType: Required. Management type of realm.
//
// Possible values:
// "MANAGEMENT_TYPE_UNSPECIFIED" - Unspecified management type.
// "CNR" - Managed by Cloud Number Registry.
// "USER" - Managed by User.
ManagementType string `json:"managementType,omitempty"`
// Name: Required. Identifier. Unique name/ID of the realm
Name string `json:"name,omitempty"`
// RegistryBook: Required. URI of the registry book that claims the realm.
RegistryBook string `json:"registryBook,omitempty"`
// TrafficType: Required. Traffic type of realm.
//
// Possible values:
// "TRAFFIC_TYPE_UNSPECIFIED" - Unspecified traffic type.
// "UNSET" - Unset traffic type.
// "INTERNET" - Internet traffic.
// "PRIVATE" - Private traffic.
// "LINKLOCAL" - Linklocal traffic.
TrafficType string `json:"trafficType,omitempty"`
// UpdateTime: Output only. [Output only] Update time stamp
UpdateTime string `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. "AggregatedData") 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. "AggregatedData") 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:"-"`
}
Realm: Message describing Realm object
func (Realm) MarshalJSON ¶
type RealmAggregatedData ¶
type RealmAggregatedData struct {
// CustomRangesCount: Output only. Number of custom ranges in the Realm.
CustomRangesCount int64 `json:"customRangesCount,omitempty"`
// DiscoveredRangesCount: Output only. Number of discovered ranges in the
// Realm.
DiscoveredRangesCount int64 `json:"discoveredRangesCount,omitempty"`
// ForceSendFields is a list of field names (e.g. "CustomRangesCount") 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. "CustomRangesCount") 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:"-"`
}
RealmAggregatedData: Aggregated data for the Realm.
func (RealmAggregatedData) MarshalJSON ¶
func (s RealmAggregatedData) MarshalJSON() ([]byte, error)
type RegistryBook ¶
type RegistryBook struct {
// AggregatedData: Output only. Aggregated data for the RegistryBook. Populated
// only when the view is AGGREGATE.
AggregatedData *AggregatedData `json:"aggregatedData,omitempty"`
// ClaimedScopes: Optional. List of scopes claimed by the RegistryBook. In
// Preview, Only project scope is supported. Each scope is in the format of
// projects/{project}. Each scope can only be claimed once.
ClaimedScopes []string `json:"claimedScopes,omitempty"`
// CreateTime: Output only. [Output only] Create time stamp
CreateTime string `json:"createTime,omitempty"`
// IsDefault: Output only. Whether the RegistryBook is the default one.
IsDefault bool `json:"isDefault,omitempty"`
// Labels: Optional. Labels as key value pairs
Labels map[string]string `json:"labels,omitempty"`
// Name: Required. Identifier. name of resource
Name string `json:"name,omitempty"`
// UpdateTime: Output only. [Output only] Update time stamp
UpdateTime string `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. "AggregatedData") 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. "AggregatedData") 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:"-"`
}
RegistryBook: Message describing RegistryBook object
func (RegistryBook) MarshalJSON ¶
func (s RegistryBook) MarshalJSON() ([]byte, error)
type SearchIpResourcesRequest ¶
type SearchIpResourcesRequest struct {
// OrderBy: Optional. Hint for how to order the results
OrderBy string `json:"orderBy,omitempty"`
// PageSize: Optional. Requested page size. Server may return fewer items than
// requested. If unspecified, server will pick an appropriate default.
PageSize int64 `json:"pageSize,omitempty"`
// PageToken: Optional. A token identifying a page of results the server should
// return.
PageToken string `json:"pageToken,omitempty"`
// Query: Optional. Search query. This string filters resources in an
// AIP-160-like format. It has some limitations. You can only specify top level
// conjunctions or attribute level negations. Each restriction can only be used
// once except the attribute restriction. The available restrictions for ranges
// are: - `realm`: The realm name to search in. - `ip_address`: The IP address
// to search for within ranges. - `ip_version`: The IP version to filter by
// (e.g., "IPV4", "IPV6"). - `parent_range`: The parent range of the range to
// search for. - `attribute_text`: The attribute text to search for within
// ranges. - `attribute`: The attribute key and value to filter by. The
// available restrictions for realms are: - `ip_version`: The IP version to
// search for. Only one of attribute_text or multiple attribute filters can be
// specified. Examples: - `realm=test-realm` - `realm=test-realm AND
// ip_address=10.0.0.0` - `realm=test-realm AND ip_version=IPV6` -
// `realm=test-realm AND attribute_text=test` - `ip_address=10.0.0.0 AND
// attribute:(key1=value1) AND attribute:(key2=value2)` - `attribute_text=test
// AND
// parent_range=projects/123/locations/global/discoveredRanges/test-parent-range
// `
Query string `json:"query,omitempty"`
// SearchResourceTypes: Optional. The type of resources to search for. If not
// specified, the server will return ranges.
//
// Possible values:
// "SEARCH_RESOURCE_TYPE_UNSPECIFIED" - Unspecified search type.
// "RANGES" - Search for ranges.
// "REALMS" - Search for realms.
SearchResourceTypes []string `json:"searchResourceTypes,omitempty"`
// ShowUtilization: Optional. Whether to show the utilization of the ranges in
// the response.
ShowUtilization bool `json:"showUtilization,omitempty"`
// ForceSendFields is a list of field names (e.g. "OrderBy") 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. "OrderBy") 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:"-"`
}
SearchIpResourcesRequest: Message for searching IP resources
func (SearchIpResourcesRequest) MarshalJSON ¶
func (s SearchIpResourcesRequest) MarshalJSON() ([]byte, error)
type SearchIpResourcesResponse ¶
type SearchIpResourcesResponse struct {
// NextPageToken: A token identifying a page of results the server should
// return.
NextPageToken string `json:"nextPageToken,omitempty"`
// Ranges: Deprecated: Use results field instead. The list of ranges matching
// the search query.
Ranges []*Range `json:"ranges,omitempty"`
// Results: The list of results matching the search query.
Results []*SearchIpResourcesResult `json:"results,omitempty"`
// Unreachable: Locations that could not be reached.
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:"-"`
}
SearchIpResourcesResponse: Message for response to searching IP resources
func (SearchIpResourcesResponse) MarshalJSON ¶
func (s SearchIpResourcesResponse) MarshalJSON() ([]byte, error)
type SearchIpResourcesResult ¶
type SearchIpResourcesResult struct {
// Range: A range matching the search query.
Range *Range `json:"range,omitempty"`
// Realm: A realm matching the search query.
Realm *Realm `json:"realm,omitempty"`
// ForceSendFields is a list of field names (e.g. "Range") 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. "Range") 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:"-"`
}
SearchIpResourcesResult: A result matching the search query, which can be either a range or a realm.
func (SearchIpResourcesResult) MarshalJSON ¶
func (s SearchIpResourcesResult) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct {
BasePath string // API endpoint base URL
UserAgent string // optional additional User-Agent fragment
Projects *ProjectsService
// contains filtered or unexported fields
}
func New
deprecated
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.
func NewService ¶
NewService creates a new Service.
type ShowCustomRangeUtilizationResponse ¶
type ShowCustomRangeUtilizationResponse struct {
// CustomRange: The CustomRange resource.
CustomRange *CustomRange `json:"customRange,omitempty"`
// RangeUtilization: The utilization of the CustomRange.
RangeUtilization *RangeUtilization `json:"rangeUtilization,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "CustomRange") 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. "CustomRange") 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:"-"`
}
ShowCustomRangeUtilizationResponse: Message for the response to getting the utilization of a CustomRange
func (ShowCustomRangeUtilizationResponse) MarshalJSON ¶
func (s ShowCustomRangeUtilizationResponse) MarshalJSON() ([]byte, error)
type ShowDiscoveredRangeUtilizationResponse ¶
type ShowDiscoveredRangeUtilizationResponse struct {
// DiscoveredRange: The DiscoveredRange resource.
DiscoveredRange *DiscoveredRange `json:"discoveredRange,omitempty"`
// RangeUtilization: The utilization of the DiscoveredRange.
RangeUtilization *RangeUtilization `json:"rangeUtilization,omitempty"`
// ServerResponse contains the HTTP response code and headers from the server.
googleapi.ServerResponse `json:"-"`
// ForceSendFields is a list of field names (e.g. "DiscoveredRange") 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. "DiscoveredRange") 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:"-"`
}
ShowDiscoveredRangeUtilizationResponse: Message for the response to getting the utilization of a DiscoveredRange
func (ShowDiscoveredRangeUtilizationResponse) MarshalJSON ¶
func (s ShowDiscoveredRangeUtilizationResponse) MarshalJSON() ([]byte, error)
type Status ¶
type Status struct {
// Code: The status code, which should be an enum value of google.rpc.Code.
Code int64 `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.
Message string `json:"message,omitempty"`
// ForceSendFields is a list of field names (e.g. "Code") to unconditionally
// include in API requests. By default, fields with empty 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 for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).