cloudnumberregistry

package
v0.298.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2026 License: BSD-3-Clause Imports: 18 Imported by: 0

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

View Source
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 CustomRanges 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 DiscoveredRanges 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. The key of the attribute.
	Key string `json:"key,omitempty"`
	// Value: Required. The value of the 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: A key-value pair representing a custom attribute associated with a resource.

func (Attribute) MarshalJSON

func (s Attribute) MarshalJSON() ([]byte, error)

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: Response message for the CloudNumberRegistry.CheckAvailabilityIpamAdminScopes method.

func (CheckAvailabilityIpamAdminScopesResponse) MarshalJSON

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: Request message for the CloudNumberRegistry.CleanupIpamAdminScope method.

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. The 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. User-defined labels.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Required. Identifier. The resource name of the CustomRange, in the
	// format
	// `projects/{project}/locations/{location}/customRanges/{custom_range}`.
	Name string `json:"name,omitempty"`
	// ParentRange: Optional. The resource name of the parent CustomRange, in the
	// format
	// `projects/{project}/locations/{location}/customRanges/{custom_range}`. If
	// specified, the parent CustomRange must be in the same RegistryBook. This
	// field is mutually exclusive with the `realm` field, as the Realm is
	// inherited from the parent CustomRange.
	ParentRange string `json:"parentRange,omitempty"`
	// Realm: Optional. The resource name of the Realm associated with the
	// CustomRange, in the format
	// `projects/{project}/locations/{location}/realms/{realm}`. The Realm must be
	// in the same project as the CustomRange. This field must not be set if the
	// `parent_range` field is set, as the Realm will be inherited from the parent
	// CustomRange.
	Realm string `json:"realm,omitempty"`
	// RegistryBook: Output only. The RegistryBook of the CustomRange. This field
	// is inherited from the Realm or parent CustomRange 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: A CustomRange represents a user-defined IP address range.

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: Request message for the CloudNumberRegistry.DisableIpamAdminScope method.

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, allows child DiscoveredRanges
	// of this DiscoveredRange to overlap with each other.
	ChildCidrOverlapAllowed bool `json:"childCidrOverlapAllowed,omitempty"`
	// CreateTime: Output only. The time at which the DiscoveredRange was created.
	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. User-defined labels.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Required. Identifier. The resource name of the DiscoveredRange, in the
	// format
	// `projects/{project}/locations/{location}/discoveredRanges/{discovered_range}`
	// .
	Name string `json:"name,omitempty"`
	// ParentRange: Optional. The resource name of the parent DiscoveredRange, in
	// the format
	// `projects/{project}/locations/{location}/discoveredRanges/{discovered_range}`
	// .
	ParentRange string `json:"parentRange,omitempty"`
	// Realm: Optional. The Realm of the DiscoveredRange.
	Realm string `json:"realm,omitempty"`
	// RegistryBook: Output only. The RegistryBook of the DiscoveredRange.
	RegistryBook string `json:"registryBook,omitempty"`
	// UpdateTime: Output only. The time at which the DiscoveredRange was last
	// updated.
	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: A DiscoveredRange represents an IP address range automatically detected by the discovery pipeline.

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: Metadata about a discovered resource, tracking event times, state, and source information.

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. The free IP CIDR ranges found.
	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: Response message for the CloudNumberRegistry.FindCustomRangeFreeIpRanges method.

func (FindCustomRangeFreeIpRangesResponse) MarshalJSON

func (s FindCustomRangeFreeIpRangesResponse) MarshalJSON() ([]byte, error)

type FindDiscoveredRangeFreeIpRangesResponse

type FindDiscoveredRangeFreeIpRangesResponse struct {
	// FreeIpCidrRanges: Output only. The free IP CIDR ranges found.
	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: Response message for the CloudNumberRegistry.FindDiscoveredRangeFreeIpRanges method.

func (FindDiscoveredRangeFreeIpRangesResponse) MarshalJSON

func (s FindDiscoveredRangeFreeIpRangesResponse) MarshalJSON() ([]byte, error)

type IpamAdminScope

type IpamAdminScope struct {
	// CreateTime: Output only. The time at which the IpamAdminScope was created.
	CreateTime string `json:"createTime,omitempty"`
	// EnabledAddonPlatforms: Required. Add-on platforms that are enabled for this
	// IpamAdminScope. 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. User-defined labels.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Required. Identifier. The resource name of the IpamAdminScope.
	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. The time at which the IpamAdminScope was last
	// updated.
	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: An IpamAdminScope defines the administrative boundary for IP address discovery and management. It configures which platforms and organizational scopes are enabled for IP tracking.

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: Availability details for a specific IpamAdminScope.

func (IpamAdminScopeAvailability) MarshalJSON

func (s IpamAdminScopeAvailability) MarshalJSON() ([]byte, error)

type ListCustomRangesResponse

type ListCustomRangesResponse struct {
	// CustomRanges: The list of CustomRanges.
	CustomRanges []*CustomRange `json:"customRanges,omitempty"`
	// NextPageToken: A token to retrieve the next page of results, or empty if
	// there are no more results in the list.
	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: Response message for the CloudNumberRegistry.ListCustomRanges method.

func (ListCustomRangesResponse) MarshalJSON

func (s ListCustomRangesResponse) MarshalJSON() ([]byte, error)

type ListDiscoveredRangesResponse

type ListDiscoveredRangesResponse struct {
	// DiscoveredRanges: The list of DiscoveredRanges.
	DiscoveredRanges []*DiscoveredRange `json:"discoveredRanges,omitempty"`
	// NextPageToken: A token to retrieve the next page of results, or empty if
	// there are no more results in the list.
	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: Response message for the CloudNumberRegistry.ListDiscoveredRanges method.

func (ListDiscoveredRangesResponse) MarshalJSON

func (s ListDiscoveredRangesResponse) MarshalJSON() ([]byte, error)

type ListIpamAdminScopesResponse

type ListIpamAdminScopesResponse struct {
	// IpamAdminScopes: The list of IpamAdminScopes.
	IpamAdminScopes []*IpamAdminScope `json:"ipamAdminScopes,omitempty"`
	// NextPageToken: A token to retrieve the next page of results, or empty if
	// there are no more results in the list.
	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: Response message for the CloudNumberRegistry.ListIpamAdminScopes method.

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 ListOrgNumberRegistriesResponse added in v0.294.0

type ListOrgNumberRegistriesResponse struct {
	// NextPageToken: A token to retrieve the next page of results, or empty if
	// there are no more results in the list.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// OrgNumberRegistries: The list of OrgNumberRegistries.
	OrgNumberRegistries []*OrgNumberRegistry `json:"orgNumberRegistries,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:"-"`
}

ListOrgNumberRegistriesResponse: Response message for the CloudNumberRegistry.ListOrgNumberRegistries method.

func (ListOrgNumberRegistriesResponse) MarshalJSON added in v0.294.0

func (s ListOrgNumberRegistriesResponse) 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 Realms.
	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: Response message for the CloudNumberRegistry.ListRealms method.

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: Response message for the CloudNumberRegistry.ListRegistryBooks method.

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

func (s Location) MarshalJSON() ([]byte, error)

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

func (s Operation) MarshalJSON() ([]byte, error)

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 OrgNumberRegistry added in v0.294.0

type OrgNumberRegistry struct {
	// AdminProject: Required. The project that will act as the admin project for
	// CNR resources Format: projects/{project_number} or projects/{project_id}
	AdminProject string `json:"adminProject,omitempty"`
	// CreateTime: Output only. The time at which the OrgNumberRegistry was
	// created.
	CreateTime string `json:"createTime,omitempty"`
	// Labels: Optional. User-defined labels.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Identifier. The resource name of the OrgNumberRegistry.
	Name string `json:"name,omitempty"`
	// TargetScopes: Required. The scopes within the organization that the project
	// is able to manage. Currently only organization scope is supported. For
	// example, "organizations/1234567890".
	TargetScopes []string `json:"targetScopes,omitempty"`
	// UpdateTime: Output only. The time at which the OrgNumberRegistry was last
	// updated.
	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. "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:"-"`
}

OrgNumberRegistry: An OrgNumberRegistry defines a delegation of authority from an organization to a project, allowing the project to manage IP address data within specified scopes of the organization.

func (OrgNumberRegistry) MarshalJSON added in v0.294.0

func (s OrgNumberRegistry) MarshalJSON() ([]byte, error)

type OrganizationsLocationsOperationsCancelCall added in v0.294.0

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

func (*OrganizationsLocationsOperationsCancelCall) Context added in v0.294.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOperationsCancelCall) Do added in v0.294.0

Do executes the "cloudnumberregistry.organizations.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 (*OrganizationsLocationsOperationsCancelCall) Fields added in v0.294.0

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

func (*OrganizationsLocationsOperationsCancelCall) Header added in v0.294.0

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

type OrganizationsLocationsOperationsDeleteCall added in v0.294.0

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

func (*OrganizationsLocationsOperationsDeleteCall) Context added in v0.294.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOperationsDeleteCall) Do added in v0.294.0

Do executes the "cloudnumberregistry.organizations.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 (*OrganizationsLocationsOperationsDeleteCall) Fields added in v0.294.0

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

func (*OrganizationsLocationsOperationsDeleteCall) Header added in v0.294.0

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

type OrganizationsLocationsOperationsGetCall added in v0.294.0

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

func (*OrganizationsLocationsOperationsGetCall) Context added in v0.294.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOperationsGetCall) Do added in v0.294.0

Do executes the "cloudnumberregistry.organizations.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 (*OrganizationsLocationsOperationsGetCall) Fields added in v0.294.0

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

func (*OrganizationsLocationsOperationsGetCall) Header added in v0.294.0

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

func (*OrganizationsLocationsOperationsGetCall) IfNoneMatch added in v0.294.0

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 OrganizationsLocationsOperationsListCall added in v0.294.0

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

func (*OrganizationsLocationsOperationsListCall) Context added in v0.294.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOperationsListCall) Do added in v0.294.0

Do executes the "cloudnumberregistry.organizations.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 (*OrganizationsLocationsOperationsListCall) Fields added in v0.294.0

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

func (*OrganizationsLocationsOperationsListCall) Filter added in v0.294.0

Filter sets the optional parameter "filter": The standard list filter.

func (*OrganizationsLocationsOperationsListCall) Header added in v0.294.0

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

func (*OrganizationsLocationsOperationsListCall) IfNoneMatch added in v0.294.0

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 (*OrganizationsLocationsOperationsListCall) PageSize added in v0.294.0

PageSize sets the optional parameter "pageSize": The standard list page size.

func (*OrganizationsLocationsOperationsListCall) PageToken added in v0.294.0

PageToken sets the optional parameter "pageToken": The standard list page token.

func (*OrganizationsLocationsOperationsListCall) Pages added in v0.294.0

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 (*OrganizationsLocationsOperationsListCall) ReturnPartialSuccess added in v0.294.0

func (c *OrganizationsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccess bool) *OrganizationsLocationsOperationsListCall

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 OrganizationsLocationsOperationsService added in v0.294.0

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

func NewOrganizationsLocationsOperationsService added in v0.294.0

func NewOrganizationsLocationsOperationsService(s *Service) *OrganizationsLocationsOperationsService

func (*OrganizationsLocationsOperationsService) Cancel added in v0.294.0

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 (*OrganizationsLocationsOperationsService) Delete added in v0.294.0

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 (*OrganizationsLocationsOperationsService) Get added in v0.294.0

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 (*OrganizationsLocationsOperationsService) List added in v0.294.0

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 OrganizationsLocationsOrgNumberRegistriesCreateCall added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesCreateCall) Context added in v0.294.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOrgNumberRegistriesCreateCall) Do added in v0.294.0

Do executes the "cloudnumberregistry.organizations.locations.orgNumberRegistries.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 (*OrganizationsLocationsOrgNumberRegistriesCreateCall) Fields added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesCreateCall) Header added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesCreateCall) OrgNumberRegistryId added in v0.294.0

OrgNumberRegistryId sets the optional parameter "orgNumberRegistryId": Required. The ID to use for the OrgNumberRegistry, which will become the final segment of the resource name.

func (*OrganizationsLocationsOrgNumberRegistriesCreateCall) RequestId added in v0.294.0

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 OrganizationsLocationsOrgNumberRegistriesDeleteCall added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesDeleteCall) Context added in v0.294.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOrgNumberRegistriesDeleteCall) Do added in v0.294.0

Do executes the "cloudnumberregistry.organizations.locations.orgNumberRegistries.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 (*OrganizationsLocationsOrgNumberRegistriesDeleteCall) Fields added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesDeleteCall) Header added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesDeleteCall) RequestId added in v0.294.0

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 OrganizationsLocationsOrgNumberRegistriesGetCall added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesGetCall) Context added in v0.294.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOrgNumberRegistriesGetCall) Do added in v0.294.0

Do executes the "cloudnumberregistry.organizations.locations.orgNumberRegistries.get" call. Any non-2xx status code is an error. Response headers are in either *OrgNumberRegistry.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 (*OrganizationsLocationsOrgNumberRegistriesGetCall) Fields added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesGetCall) Header added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesGetCall) IfNoneMatch added in v0.294.0

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 OrganizationsLocationsOrgNumberRegistriesListCall added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesListCall) Context added in v0.294.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOrgNumberRegistriesListCall) Do added in v0.294.0

Do executes the "cloudnumberregistry.organizations.locations.orgNumberRegistries.list" call. Any non-2xx status code is an error. Response headers are in either *ListOrgNumberRegistriesResponse.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 (*OrganizationsLocationsOrgNumberRegistriesListCall) Fields added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesListCall) Filter added in v0.294.0

Filter sets the optional parameter "filter": Filter expression to filter the results.

func (*OrganizationsLocationsOrgNumberRegistriesListCall) Header added in v0.294.0

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

func (*OrganizationsLocationsOrgNumberRegistriesListCall) IfNoneMatch added in v0.294.0

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 (*OrganizationsLocationsOrgNumberRegistriesListCall) OrderBy added in v0.294.0

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*OrganizationsLocationsOrgNumberRegistriesListCall) PageSize added in v0.294.0

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 (*OrganizationsLocationsOrgNumberRegistriesListCall) PageToken added in v0.294.0

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.

func (*OrganizationsLocationsOrgNumberRegistriesListCall) Pages added in v0.294.0

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 OrganizationsLocationsOrgNumberRegistriesService added in v0.294.0

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

func NewOrganizationsLocationsOrgNumberRegistriesService added in v0.294.0

func NewOrganizationsLocationsOrgNumberRegistriesService(s *Service) *OrganizationsLocationsOrgNumberRegistriesService

func (*OrganizationsLocationsOrgNumberRegistriesService) Create added in v0.294.0

Create: Creates a new OrgNumberRegistry in a given organization and location.

  • parent: The parent resource name where the OrgNumberRegistry will be created.

func (*OrganizationsLocationsOrgNumberRegistriesService) Delete added in v0.294.0

Delete: Deletes a single OrgNumberRegistry.

- name: The resource name of the OrgNumberRegistry to delete.

func (*OrganizationsLocationsOrgNumberRegistriesService) Get added in v0.294.0

Get: Gets details of a single OrgNumberRegistry.

- name: The resource name of the OrgNumberRegistry to retrieve.

func (*OrganizationsLocationsOrgNumberRegistriesService) List added in v0.294.0

List: Lists OrgNumberRegistries in a given organization and location.

  • parent: The parent resource name, for example `organizations/*/locations/*`.

type OrganizationsLocationsService added in v0.294.0

type OrganizationsLocationsService struct {
	Operations *OrganizationsLocationsOperationsService

	OrgNumberRegistries *OrganizationsLocationsOrgNumberRegistriesService
	// contains filtered or unexported fields
}

func NewOrganizationsLocationsService added in v0.294.0

func NewOrganizationsLocationsService(s *Service) *OrganizationsLocationsService

type OrganizationsService added in v0.294.0

type OrganizationsService struct {
	Locations *OrganizationsLocationsService
	// contains filtered or unexported fields
}

func NewOrganizationsService added in v0.294.0

func NewOrganizationsService(s *Service) *OrganizationsService

type ProjectsLocationsCustomRangesCreateCall

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

func (*ProjectsLocationsCustomRangesCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomRangesCreateCall) CustomRangeId

CustomRangeId sets the optional parameter "customRangeId": Required. The ID to use for the CustomRange, which will become the final segment of the resource name.

func (*ProjectsLocationsCustomRangesCreateCall) Do

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

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

func (*ProjectsLocationsCustomRangesCreateCall) Header

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

func (*ProjectsLocationsCustomRangesCreateCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomRangesDeleteCall) Do

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

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

func (*ProjectsLocationsCustomRangesDeleteCall) Force

Force sets the optional parameter "force": If set to true, all associated resources will be deleted.

func (*ProjectsLocationsCustomRangesDeleteCall) Header

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

func (*ProjectsLocationsCustomRangesDeleteCall) RequestId

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

CidrPrefixLength sets the optional parameter "cidrPrefixLength": Required. The prefix length of the free IP ranges to find.

func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) Do

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

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

func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) Header

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

func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) IfNoneMatch

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

RangeCount sets the optional parameter "rangeCount": The number of free IP ranges to find.

func (*ProjectsLocationsCustomRangesFindFreeIpRangesCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomRangesGetCall) Do

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

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

func (*ProjectsLocationsCustomRangesGetCall) Header

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

func (*ProjectsLocationsCustomRangesGetCall) IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomRangesListCall) Do

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

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

func (*ProjectsLocationsCustomRangesListCall) Filter

Filter sets the optional parameter "filter": Filter expression to filter the results.

func (*ProjectsLocationsCustomRangesListCall) Header

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

func (*ProjectsLocationsCustomRangesListCall) IfNoneMatch

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

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*ProjectsLocationsCustomRangesListCall) PageSize

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

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.

func (*ProjectsLocationsCustomRangesListCall) Pages

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomRangesPatchCall) Do

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

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

func (*ProjectsLocationsCustomRangesPatchCall) Header

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

func (*ProjectsLocationsCustomRangesPatchCall) RequestId

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

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

Create: Creates a new CustomRange in a given project and location.

- parent: The parent resource name where the CustomRange will be created.

func (*ProjectsLocationsCustomRangesService) Delete

Delete: Deletes a single CustomRange.

- name: The resource name of the CustomRange to delete.

func (*ProjectsLocationsCustomRangesService) FindFreeIpRanges

FindFreeIpRanges: Finds free IP ranges in a single CustomRange.

- name: The resource name of the CustomRange to search within.

func (*ProjectsLocationsCustomRangesService) Get

Get: Gets details of a single CustomRange.

- name: The resource name of the CustomRange to retrieve.

func (*ProjectsLocationsCustomRangesService) List

List: Lists CustomRanges in a given project and location.

- parent: The parent resource name, for example `projects/*/locations/*`.

func (*ProjectsLocationsCustomRangesService) Patch

Patch: Updates the parameters of a single CustomRange.

  • name: Identifier. The resource name of the CustomRange, in the format `projects/{project}/locations/{location}/customRanges/{custom_range}`.

func (*ProjectsLocationsCustomRangesService) ShowUtilization

ShowUtilization: Gets the details of a single CustomRange and its utilization.

- name: The resource name of the CustomRange.

type ProjectsLocationsCustomRangesShowUtilizationCall

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

func (*ProjectsLocationsCustomRangesShowUtilizationCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsCustomRangesShowUtilizationCall) Do

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

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

func (*ProjectsLocationsCustomRangesShowUtilizationCall) Header

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

func (*ProjectsLocationsCustomRangesShowUtilizationCall) IfNoneMatch

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

CidrPrefixLength sets the optional parameter "cidrPrefixLength": Required. The prefix length of the free IP ranges to find.

func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Do

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

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

func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) Header

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

func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) IfNoneMatch

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

RangeCount sets the optional parameter "rangeCount": The number of free IP ranges to find.

func (*ProjectsLocationsDiscoveredRangesFindFreeIpRangesCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDiscoveredRangesGetCall) Do

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

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

func (*ProjectsLocationsDiscoveredRangesGetCall) Header

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

func (*ProjectsLocationsDiscoveredRangesGetCall) IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDiscoveredRangesListCall) Do

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

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

func (*ProjectsLocationsDiscoveredRangesListCall) Filter

Filter sets the optional parameter "filter": Filter expression to filter the results.

func (*ProjectsLocationsDiscoveredRangesListCall) Header

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

func (*ProjectsLocationsDiscoveredRangesListCall) IfNoneMatch

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

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*ProjectsLocationsDiscoveredRangesListCall) PageSize

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

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.

func (*ProjectsLocationsDiscoveredRangesListCall) Pages

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

FindFreeIpRanges: Finds free IP ranges in a single DiscoveredRange.

- name: The resource name of the DiscoveredRange to search within.

func (*ProjectsLocationsDiscoveredRangesService) Get

Get: Gets details of a single DiscoveredRange.

- name: The resource name of the DiscoveredRange to retrieve.

func (*ProjectsLocationsDiscoveredRangesService) List

List: Lists DiscoveredRanges in a given project and location.

- parent: The parent resource name, for example `projects/*/locations/*`.

func (*ProjectsLocationsDiscoveredRangesService) ShowUtilization

ShowUtilization: Gets the details of a single DiscoveredRange and its utilization.

- name: The resource name of the DiscoveredRange.

type ProjectsLocationsDiscoveredRangesShowUtilizationCall

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

func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) Do

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

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

func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) Header

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

func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetCall) Do

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Do

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

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

func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) Header

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

func (*ProjectsLocationsIpamAdminScopesCheckAvailabilityCall) IfNoneMatch

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

Scopes sets the optional parameter "scopes": Required. The administrative scopes to check for availability.

type ProjectsLocationsIpamAdminScopesCleanupCall

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

func (*ProjectsLocationsIpamAdminScopesCleanupCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsIpamAdminScopesCleanupCall) Do

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

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

func (*ProjectsLocationsIpamAdminScopesCleanupCall) 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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsIpamAdminScopesCreateCall) Do

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

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

func (*ProjectsLocationsIpamAdminScopesCreateCall) Header

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

func (*ProjectsLocationsIpamAdminScopesCreateCall) IpamAdminScopeId

IpamAdminScopeId sets the optional parameter "ipamAdminScopeId": Required. The ID to use for the IpamAdminScope, which will become the final segment of the resource name.

func (*ProjectsLocationsIpamAdminScopesCreateCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsIpamAdminScopesDeleteCall) Do

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

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

func (*ProjectsLocationsIpamAdminScopesDeleteCall) Force

Force sets the optional parameter "force": If set to true, all associated resources will be deleted.

func (*ProjectsLocationsIpamAdminScopesDeleteCall) Header

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

func (*ProjectsLocationsIpamAdminScopesDeleteCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsIpamAdminScopesDisableCall) Do

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

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

func (*ProjectsLocationsIpamAdminScopesDisableCall) 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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsIpamAdminScopesGetCall) Do

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

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

func (*ProjectsLocationsIpamAdminScopesGetCall) Header

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

func (*ProjectsLocationsIpamAdminScopesGetCall) IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsIpamAdminScopesListCall) Do

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

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

func (*ProjectsLocationsIpamAdminScopesListCall) Filter

Filter sets the optional parameter "filter": Filter expression to filter the results.

func (*ProjectsLocationsIpamAdminScopesListCall) Header

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

func (*ProjectsLocationsIpamAdminScopesListCall) IfNoneMatch

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

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*ProjectsLocationsIpamAdminScopesListCall) PageSize

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

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.

func (*ProjectsLocationsIpamAdminScopesListCall) Pages

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsIpamAdminScopesPatchCall) Do

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

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

func (*ProjectsLocationsIpamAdminScopesPatchCall) Header

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

func (*ProjectsLocationsIpamAdminScopesPatchCall) RequestId

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

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

CheckAvailability: Checks the availability of IpamAdminScopes in a given project and location.

- parent: The parent resource name, for example `projects/*/locations/*`.

func (*ProjectsLocationsIpamAdminScopesService) Cleanup

Cleanup: Cleans up a single IpamAdminScope.

- name: The resource name of the IpamAdminScope to clean up.

func (*ProjectsLocationsIpamAdminScopesService) Create

Create: Creates a new IpamAdminScope in a given project and location.

- parent: The parent resource name where the IpamAdminScope will be created.

func (*ProjectsLocationsIpamAdminScopesService) Delete

Delete: Deletes a single IpamAdminScope.

- name: The resource name of the IpamAdminScope to delete.

func (*ProjectsLocationsIpamAdminScopesService) Disable

Disable: Disables a single IpamAdminScope.

- name: The resource name of the IpamAdminScope to disable.

func (*ProjectsLocationsIpamAdminScopesService) Get

Get: Gets details of a single IpamAdminScope.

- name: The resource name of the IpamAdminScope to retrieve.

func (*ProjectsLocationsIpamAdminScopesService) List

List: Lists IpamAdminScopes in a given project and location.

- parent: The parent resource name, for example `projects/*/locations/*`.

func (*ProjectsLocationsIpamAdminScopesService) Patch

Patch: Updates the parameters of a single IpamAdminScope.

- name: Identifier. The resource name of the IpamAdminScope.

type ProjectsLocationsListCall

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

func (*ProjectsLocationsListCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsListCall) Do

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

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

func (*ProjectsLocationsListCall) Filter

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

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

PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall) PageToken

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsCancelCall) Do

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

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

func (*ProjectsLocationsOperationsCancelCall) 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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsDeleteCall) Do

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

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

func (*ProjectsLocationsOperationsDeleteCall) 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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsGetCall) Do

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

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

func (*ProjectsLocationsOperationsGetCall) Header

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

func (*ProjectsLocationsOperationsGetCall) IfNoneMatch

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsListCall) Do

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

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

func (*ProjectsLocationsOperationsListCall) Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall) Header

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

func (*ProjectsLocationsOperationsListCall) IfNoneMatch

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

PageSize sets the optional parameter "pageSize": The standard list page size.

func (*ProjectsLocationsOperationsListCall) PageToken

PageToken sets the optional parameter "pageToken": The standard list page token.

func (*ProjectsLocationsOperationsListCall) Pages

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

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

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

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRealmsCreateCall) Do

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

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

func (*ProjectsLocationsRealmsCreateCall) Header

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

func (*ProjectsLocationsRealmsCreateCall) RealmId

RealmId sets the optional parameter "realmId": Required. The ID to use for the Realm, which will become the final segment of the resource name.

func (*ProjectsLocationsRealmsCreateCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRealmsDeleteCall) Do

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

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

func (*ProjectsLocationsRealmsDeleteCall) Force

Force sets the optional parameter "force": If set to true, all associated resources will be deleted.

func (*ProjectsLocationsRealmsDeleteCall) Header

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

func (*ProjectsLocationsRealmsDeleteCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRealmsGetCall) Do

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

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

func (*ProjectsLocationsRealmsGetCall) Header

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

func (*ProjectsLocationsRealmsGetCall) IfNoneMatch

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

View sets the optional parameter "view": The view of the Realm to retrieve.

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRealmsListCall) Do

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

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

func (*ProjectsLocationsRealmsListCall) Filter

Filter sets the optional parameter "filter": Filter expression to filter the results.

func (*ProjectsLocationsRealmsListCall) Header

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

func (*ProjectsLocationsRealmsListCall) IfNoneMatch

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

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*ProjectsLocationsRealmsListCall) PageSize

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

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.

func (*ProjectsLocationsRealmsListCall) Pages

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

View sets the optional parameter "view": The view of the Realm to retrieve.

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRealmsPatchCall) Do

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

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

func (*ProjectsLocationsRealmsPatchCall) Header

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

func (*ProjectsLocationsRealmsPatchCall) RequestId

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

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

Create: Creates a new Realm in a given project and location.

- parent: The parent resource name where the Realm will be created.

func (*ProjectsLocationsRealmsService) Delete

Delete: Deletes a single Realm.

- name: The resource name of the Realm to delete.

func (*ProjectsLocationsRealmsService) Get

Get: Gets details of a single Realm.

- name: The resource name of the Realm to retrieve.

func (*ProjectsLocationsRealmsService) List

List: Lists Realms in a given project and location.

- parent: The parent resource name, for example `projects/*/locations/*`.

func (*ProjectsLocationsRealmsService) Patch

Patch: Updates the parameters of a single Realm.

- name: Identifier. The resource name of the Realm.

type ProjectsLocationsRegistryBooksCreateCall

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

func (*ProjectsLocationsRegistryBooksCreateCall) Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRegistryBooksCreateCall) Do

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

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

func (*ProjectsLocationsRegistryBooksCreateCall) Header

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

func (*ProjectsLocationsRegistryBooksCreateCall) RegistryBookId

RegistryBookId sets the optional parameter "registryBookId": Required. The ID to use for the RegistryBook, which will become the final segment of the resource name.

func (*ProjectsLocationsRegistryBooksCreateCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRegistryBooksDeleteCall) Do

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

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

func (*ProjectsLocationsRegistryBooksDeleteCall) Force

Force sets the optional parameter "force": If set to true, all associated resources will be deleted.

func (*ProjectsLocationsRegistryBooksDeleteCall) Header

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

func (*ProjectsLocationsRegistryBooksDeleteCall) RequestId

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRegistryBooksGetCall) Do

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

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

func (*ProjectsLocationsRegistryBooksGetCall) Header

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

func (*ProjectsLocationsRegistryBooksGetCall) IfNoneMatch

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

View sets the optional parameter "view": The view of the RegistryBook to retrieve.

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRegistryBooksListCall) Do

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

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

func (*ProjectsLocationsRegistryBooksListCall) Filter

Filter sets the optional parameter "filter": Filter expression to filter the results.

func (*ProjectsLocationsRegistryBooksListCall) Header

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

func (*ProjectsLocationsRegistryBooksListCall) IfNoneMatch

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

OrderBy sets the optional parameter "orderBy": Hint for how to order the results.

func (*ProjectsLocationsRegistryBooksListCall) PageSize

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

PageToken sets the optional parameter "pageToken": A token identifying a page of results the server should return.

func (*ProjectsLocationsRegistryBooksListCall) Pages

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

View sets the optional parameter "view": The view of the RegistryBook to retrieve.

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRegistryBooksPatchCall) Do

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

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

func (*ProjectsLocationsRegistryBooksPatchCall) Header

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

func (*ProjectsLocationsRegistryBooksPatchCall) RequestId

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

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

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsRegistryBooksSearchIpResourcesCall) Do

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

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

func (*ProjectsLocationsRegistryBooksSearchIpResourcesCall) Header

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

func (*ProjectsLocationsRegistryBooksSearchIpResourcesCall) Pages

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

Create: Creates a new RegistryBook in a given project and location.

- parent: The parent resource name where the RegistryBook will be created.

func (*ProjectsLocationsRegistryBooksService) Delete

Delete: Deletes a single RegistryBook.

- name: The resource name of the RegistryBook to delete.

func (*ProjectsLocationsRegistryBooksService) Get

Get: Gets details of a single RegistryBook.

- name: The resource name of the RegistryBook to retrieve.

func (*ProjectsLocationsRegistryBooksService) List

List: Lists RegistryBooks in a given project and location.

- parent: The parent resource name, for example `projects/*/locations/*`.

func (*ProjectsLocationsRegistryBooksService) Patch

Patch: Updates the parameters of a single RegistryBook.

- name: Identifier. The resource name of the RegistryBook.

func (*ProjectsLocationsRegistryBooksService) SearchIpResources

SearchIpResources: Searches IP resources in a given RegistryBook.

- name: The resource 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

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService) List

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 CustomRange.
	CustomRange *CustomRange `json:"customRange,omitempty"`
	// DiscoveredRange: A DiscoveredRange.
	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: Represents either a CustomRange or a DiscoveredRange.

func (Range) MarshalJSON

func (s Range) MarshalJSON() ([]byte, error)

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: Utilization metrics for an IP Range, including consumed and produced address counts.

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. The time at which the Realm was created.
	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. User-defined labels.
	Labels map[string]string `json:"labels,omitempty"`
	// ManagementType: Optional. Management type of the 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. The resource name of the Realm.
	Name string `json:"name,omitempty"`
	// RegistryBook: Required. Name of the RegistryBook that claims the Realm.
	RegistryBook string `json:"registryBook,omitempty"`
	// TrafficType: Required. Traffic type of the 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. The time at which the Realm was last updated.
	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: A Realm represents a distinct network domain or security zone. It groups Ranges that share the same traffic and management characteristics. All the ranges in a Realm are routable to each other, meaning that they cannot overlap.

func (Realm) MarshalJSON

func (s Realm) MarshalJSON() ([]byte, error)

type RealmAggregatedData

type RealmAggregatedData struct {
	// CustomRangesCount: Output only. Number of CustomRanges in the Realm.
	CustomRangesCount int64 `json:"customRangesCount,omitempty"`
	// DiscoveredRangesCount: Output only. Number of DiscoveredRanges 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"`
	// ClaimedScopesInfo: Output only. Detailed scope information corresponding to
	// each entry in `claimed_scopes`.
	ClaimedScopesInfo []*ScopeInfo `json:"claimedScopesInfo,omitempty"`
	// CreateTime: Output only. The time at which the RegistryBook was created.
	CreateTime string `json:"createTime,omitempty"`
	// IsDefault: Output only. Whether the RegistryBook is the default one.
	IsDefault bool `json:"isDefault,omitempty"`
	// Labels: Optional. User-defined labels.
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Required. Identifier. The resource name of the RegistryBook.
	Name string `json:"name,omitempty"`
	// UpdateTime: Output only. The time at which the RegistryBook was last
	// updated.
	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: A RegistryBook organizes and manages IP address space. It claims specific scopes (such as projects) and groups related Realms and Ranges.

func (RegistryBook) MarshalJSON

func (s RegistryBook) MarshalJSON() ([]byte, error)

type ScopeInfo

type ScopeInfo struct {
	// DisplayName: Output only. Human-readable display title of the scope shown in
	// Console (e.g. "My Cloud Project"). Used for UI display.
	DisplayName string `json:"displayName,omitempty"`
	// Id: Output only. Programmatic string identifier of the scope (e.g. GCP
	// Project ID "my-project-id"). Used for API and code logic.
	Id string `json:"id,omitempty"`
	// Name: Output only. Resource name of the scope, e.g. "projects/1234567890".
	Name string `json:"name,omitempty"`
	// 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:"-"`
}

ScopeInfo: Details of a scope (e.g. project or folder).

func (ScopeInfo) MarshalJSON

func (s ScopeInfo) MarshalJSON() ([]byte, error)

type SearchIpResourcesRequest

type SearchIpResourcesRequest struct {
	// OrderBy: Optional. Hint for how to order the results. Supported sort fields
	// are: - `name`: Sort alphabetically by the resource name. - `create_time`:
	// Sort by the creation timestamp of the resource. - `update_time`: Sort by the
	// last update timestamp of the resource. Supported directions are `asc`
	// (ascending) and `desc` (descending). If unspecified, direction defaults to
	// `asc`. Only sorting by a single field is supported.
	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: - `resource_id`: The resource ID to search for within Ranges (only
	// substring matching using the format `resource_id="*value*" is supported). -
	// `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. -
	// `management_type`: The management type of the Realm (e.g., "CNR", "USER").
	// 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
	// resource_id="*my-range*" - `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
	// ` - `management_type=CNR`
	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: Request message for the CloudNumberRegistry.SearchIpResources method.

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: Response message for the CloudNumberRegistry.SearchIpResources method.

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

	Organizations *OrganizationsService

	Projects *ProjectsService
	// contains filtered or unexported fields
}

func New deprecated

func New(client *http.Client) (*Service, error)

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

func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error)

NewService creates a new Service.

type ShowCustomRangeUtilizationResponse

type ShowCustomRangeUtilizationResponse struct {
	// CustomRange: The CustomRange resource.
	CustomRange *CustomRange `json:"customRange,omitempty"`
	// RangeUtilization: The utilization details 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: Response message for the CloudNumberRegistry.ShowCustomRangeUtilization method.

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 details 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: Response message for the CloudNumberRegistry.ShowDiscoveredRangeUtilization method.

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).

func (Status) MarshalJSON

func (s Status) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL