cloudnumberregistry

package
v0.280.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 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 custom ranges in the RegistryBook.
	CustomRangesCount int64 `json:"customRangesCount,omitempty"`
	// CustomRealmsCount: Output only. Number of custom realms in the RegistryBook.
	CustomRealmsCount int64 `json:"customRealmsCount,omitempty"`
	// DiscoveredRangesCount: Output only. Number of discovered ranges in the
	// RegistryBook.
	DiscoveredRangesCount int64 `json:"discoveredRangesCount,omitempty"`
	// DiscoveredRealmsCount: Output only. Number of discovered realms in the
	// RegistryBook.
	DiscoveredRealmsCount int64 `json:"discoveredRealmsCount,omitempty"`
	// UniqueScopesCount: Output only. Number of scopes unique to the RegistryBook.
	UniqueScopesCount int64 `json:"uniqueScopesCount,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CustomRangesCount") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CustomRangesCount") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

AggregatedData: Aggregated data for the RegistryBook.

func (AggregatedData) MarshalJSON

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

type Attribute

type Attribute struct {
	// Key: Required. Key of attribute
	Key string `json:"key,omitempty"`
	// Value: Required. Value of attribute
	Value string `json:"value,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Key") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Key") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Attribute: Message describing Attribute object

func (Attribute) MarshalJSON

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: Message for response to checking the availability of IpamAdminScopes

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: Message for cleaning up a IpamAdminScope

func (CleanupIpamAdminScopeRequest) MarshalJSON

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

type CustomRange

type CustomRange struct {
	// Attributes: Optional. The attributes of the CustomRange.
	Attributes []*Attribute `json:"attributes,omitempty"`
	// Description: Optional. Description of the CustomRange.
	Description string `json:"description,omitempty"`
	// Ipv4CidrRange: Optional. The IPv4 CIDR range of the CustomRange.
	Ipv4CidrRange string `json:"ipv4CidrRange,omitempty"`
	// Ipv6CidrRange: Optional. The IPv6 CIDR range of the CustomRange.
	Ipv6CidrRange string `json:"ipv6CidrRange,omitempty"`
	// Labels: Optional. Labels as key value pairs
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Required. Identifier. name of resource
	Name string `json:"name,omitempty"`
	// ParentRange: Optional. The parent range of the CustomRange. Do not allow
	// setting parent range if realm is specified. Format must follow this pattern:
	// projects/{project}/locations/{location}/customRanges/{custom_range}
	ParentRange string `json:"parentRange,omitempty"`
	// Realm: Optional. The realm of the CustomRange. The realm must be in the same
	// project as the custom range. Do not allow setting realm if parent range is
	// specified, since the realm should be inherited from the parent range. Format
	// must follow this pattern:
	// projects/{project}/locations/{location}/realms/{realm}
	Realm string `json:"realm,omitempty"`
	// RegistryBook: Output only. The registry book of the CustomRange. This field
	// is inherited from the realm or parent range depending on which one is
	// specified.
	RegistryBook string `json:"registryBook,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Attributes") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Attributes") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

CustomRange: Message describing CustomRange object

func (CustomRange) MarshalJSON

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

type DisableIpamAdminScopeRequest

type DisableIpamAdminScopeRequest struct {
	// RequestId: Optional. An optional request ID to identify requests. Specify a
	// unique request ID so that if you must retry your request, the server will
	// know to ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request. For example,
	// consider a situation where you make an initial request and the request times
	// out. If you make the request again with the same request ID, the server can
	// check if original operation with the same request ID was received, and if
	// so, will ignore the second request. This prevents clients from accidentally
	// creating duplicate commitments. The request ID must be a valid UUID with the
	// exception that zero UUID is not supported
	// (00000000-0000-0000-0000-000000000000).
	RequestId string `json:"requestId,omitempty"`
	// ForceSendFields is a list of field names (e.g. "RequestId") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "RequestId") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

DisableIpamAdminScopeRequest: Message for disabling a IpamAdminScope

func (DisableIpamAdminScopeRequest) MarshalJSON

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

type DiscoveredRange

type DiscoveredRange struct {
	// Attributes: Optional. The attributes of the DiscoveredRange.
	Attributes []*Attribute `json:"attributes,omitempty"`
	// ChildCidrOverlapAllowed: Output only. If true, allow child ranges of this
	// range to overlap with each other.
	ChildCidrOverlapAllowed bool `json:"childCidrOverlapAllowed,omitempty"`
	// CreateTime: Output only. [Output only] Create time stamp
	CreateTime string `json:"createTime,omitempty"`
	// Description: Optional. Description of the DiscoveredRange.
	Description string `json:"description,omitempty"`
	// DiscoveryMetadata: Output only. Owner metadata for this DiscoveredRange. A
	// unique set of metadata is associated with each DiscoveredRange. If an IP
	// range is shared by multiple resources (e.g., an Address resource and an
	// Instance resource, or multiple ForwardingRules),separate DiscoveredRanges
	// are created, each with a distinct owner. This ensures each DiscoveredRange
	// has its own unique set of attributes, labels, create time and update time.
	DiscoveryMetadata *DiscoveryMetadata `json:"discoveryMetadata,omitempty"`
	// Ipv4CidrRange: Optional. The IPv4 CIDR range of the DiscoveredRange.
	Ipv4CidrRange string `json:"ipv4CidrRange,omitempty"`
	// Ipv6CidrRange: Optional. The IPv6 CIDR range of the DiscoveredRange.
	Ipv6CidrRange string `json:"ipv6CidrRange,omitempty"`
	// Labels: Optional. Labels as key value pairs
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Required. Identifier. Name of the DiscoveredRange.
	Name string `json:"name,omitempty"`
	// ParentRange: Optional. The parent range of the DiscoveredRange.
	ParentRange string `json:"parentRange,omitempty"`
	// Realm: Optional. The realm of the DiscoveredRange.
	Realm string `json:"realm,omitempty"`
	// RegistryBook: Output only. The registry book of the DiscoveredRange.
	RegistryBook string `json:"registryBook,omitempty"`
	// UpdateTime: Output only. [Output only] Update time stamp
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Attributes") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Attributes") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

DiscoveredRange: Message describing DiscoveredRange object

func (DiscoveredRange) MarshalJSON

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

type DiscoveryMetadata

type DiscoveryMetadata struct {
	// CreateTime: Output only. The time when the resource was created.
	CreateTime string `json:"createTime,omitempty"`
	// EventTime: Output only. The time when the event happened.
	EventTime string `json:"eventTime,omitempty"`
	// Resource: Output only. The resource name of the discovered resource, should
	// be API-agnostic. Example: "projects/{project_number}/networks/{network_id}".
	Resource string `json:"resource,omitempty"`
	// ResourceUri: Output only. The resource uri of the discovered resource.
	ResourceUri string `json:"resourceUri,omitempty"`
	// SourceId: Output only. The canonical google.aip.dev/122 name of the source
	// resource.
	SourceId string `json:"sourceId,omitempty"`
	// SourceSubId: Output only. A single source resource can be the source of
	// multiple CNR resources. This sub_id is used to distinguish between the
	// different CNR resources derived from the same upstream resource. For
	// example, a single subnetwork can be the source of multiple ranges, one for
	// each protocol. In this case, the sub_id could be "private-ipv4" or
	// "private-ipv6".
	SourceSubId string `json:"sourceSubId,omitempty"`
	// State: Output only. The state of the resource.
	//
	// Possible values:
	//   "RESOURCE_STATE_UNSPECIFIED" - Unspecified state.
	//   "INVALID" - The resource is in an invalid state.
	//   "EXISTS" - The resource exists in the backing store (is not tombstoned or
	// completely missing) and there were no failures reading out the resource
	// level metadata.
	//   "DOES_NOT_EXIST" - Resource does not exist or has been deleted or
	// soft-deleted.
	//   "ERROR" - There was an error reading out the resource level metadata.
	State string `json:"state,omitempty"`
	// UpdateTime: Output only. The time when the resource was last modified.
	UpdateTime string `json:"updateTime,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

DiscoveryMetadata: Discovery metadata of the discovered resource.

func (DiscoveryMetadata) MarshalJSON

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

type Empty

type Empty struct {
	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
}

Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

type FindCustomRangeFreeIpRangesResponse

type FindCustomRangeFreeIpRangesResponse struct {
	// FreeIpCidrRanges: Output only. Free IP CIDR ranges found in the CustomRange.
	FreeIpCidrRanges []string `json:"freeIpCidrRanges,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "FreeIpCidrRanges") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "FreeIpCidrRanges") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

FindCustomRangeFreeIpRangesResponse: Message for the response to finding free IP ranges.

func (FindCustomRangeFreeIpRangesResponse) MarshalJSON

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

type FindDiscoveredRangeFreeIpRangesResponse

type FindDiscoveredRangeFreeIpRangesResponse struct {
	// FreeIpCidrRanges: Output only. Free IP CIDR ranges found in the
	// DiscoveredRange.
	FreeIpCidrRanges []string `json:"freeIpCidrRanges,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "FreeIpCidrRanges") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "FreeIpCidrRanges") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

FindDiscoveredRangeFreeIpRangesResponse: Message for the response to finding free IP ranges.

func (FindDiscoveredRangeFreeIpRangesResponse) MarshalJSON

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

type IpamAdminScope

type IpamAdminScope struct {
	// CreateTime: Output only. [Output only] Create time stamp
	CreateTime string `json:"createTime,omitempty"`
	// EnabledAddonPlatforms: Required. Addon platforms that are enabled for this
	// IPAM admin scope. Cloud Number Registry only discovers the IP addresses from
	// the enabled platforms.
	//
	// Possible values:
	//   "ADD_ON_PLATFORM_UNSPECIFIED" - Unspecified add-on platform.
	//   "COMPUTE_ENGINE" - Google Compute Engine.
	//   "GCE" - Deprecated: Use COMPUTE_ENGINE instead.
	EnabledAddonPlatforms []string `json:"enabledAddonPlatforms,omitempty"`
	// Labels: Optional. Labels as key value pairs
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Required. Identifier. name of resource
	Name string `json:"name,omitempty"`
	// Scopes: Required. Administrative scopes enabled for IP address discovery and
	// management. For example, "organizations/1234567890". Minimum of 1 scope is
	// required. In preview, only one organization scope is allowed.
	Scopes []string `json:"scopes,omitempty"`
	// State: Output only. State of resource discovery pipeline.
	//
	// Possible values:
	//   "DISCOVERY_PIPELINE_STATE_UNSPECIFIED" - Unspecified state.
	//   "INTERNAL_FAILURE" - Internal failure.
	//   "FAILED" - Failure.
	//   "SETUP_IN_PROGRESS" - Setup in progress.
	//   "READY_FOR_USE" - Ready for use.
	//   "DELETING_IN_PROGRESS" - Deleting in progress.
	//   "UPDATING" - Updating.
	//   "RECOVERING" - Recovering.
	//   "DISABLED" - Disabled.
	//   "DELETION_COMPLETED" - Deleting completed.
	//   "CLEANUP_IN_PROGRESS" - Cleanup in progress.
	//   "READY_FOR_DELETION" - Ready for deletion.
	State string `json:"state,omitempty"`
	// UpdateTime: Output only. [Output only] Update time stamp
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CreateTime") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CreateTime") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

IpamAdminScope: Message describing IpamAdminScope object

func (IpamAdminScope) MarshalJSON

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

type IpamAdminScopeAvailability

type IpamAdminScopeAvailability struct {
	// AdminProject: The admin project of the IpamAdminScope if it exists.
	AdminProject int64 `json:"adminProject,omitempty,string"`
	// Availability: The availability of the scope.
	//
	// Possible values:
	//   "AVAILABILITY_UNSPECIFIED" - Unspecified availability.
	//   "AVAILABLE" - The scope is available.
	//   "UNAVAILABLE" - The scope is not available.
	Availability string `json:"availability,omitempty"`
	// Scope: The scope of the IpamAdminScope.
	Scope string `json:"scope,omitempty"`
	// ForceSendFields is a list of field names (e.g. "AdminProject") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AdminProject") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

IpamAdminScopeAvailability: Message for the availability of an IpamAdminScope

func (IpamAdminScopeAvailability) MarshalJSON

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

type ListCustomRangesResponse

type ListCustomRangesResponse struct {
	// CustomRanges: The list of CustomRange
	CustomRanges []*CustomRange `json:"customRanges,omitempty"`
	// NextPageToken: A token identifying a page of results the server should
	// return.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CustomRanges") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CustomRanges") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListCustomRangesResponse: Message for response to listing CustomRanges

func (ListCustomRangesResponse) MarshalJSON

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

type ListDiscoveredRangesResponse

type ListDiscoveredRangesResponse struct {
	// DiscoveredRanges: The list of DiscoveredRange
	DiscoveredRanges []*DiscoveredRange `json:"discoveredRanges,omitempty"`
	// NextPageToken: A token identifying a page of results the server should
	// return.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "DiscoveredRanges") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DiscoveredRanges") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListDiscoveredRangesResponse: Message for response to listing DiscoveredRanges

func (ListDiscoveredRangesResponse) MarshalJSON

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

type ListIpamAdminScopesResponse

type ListIpamAdminScopesResponse struct {
	// IpamAdminScopes: The list of IpamAdminScope
	IpamAdminScopes []*IpamAdminScope `json:"ipamAdminScopes,omitempty"`
	// NextPageToken: A token identifying a page of results the server should
	// return.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "IpamAdminScopes") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "IpamAdminScopes") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListIpamAdminScopesResponse: Message for response to listing ipamAdminScopes

func (ListIpamAdminScopesResponse) MarshalJSON

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

type ListLocationsResponse

type ListLocationsResponse struct {
	// Locations: A list of locations that matches the specified filter in the
	// request.
	Locations []*Location `json:"locations,omitempty"`
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "Locations") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Locations") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListLocationsResponse: The response message for Locations.ListLocations.

func (ListLocationsResponse) MarshalJSON

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

type ListOperationsResponse

type ListOperationsResponse struct {
	// NextPageToken: The standard List next-page token.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Operations: A list of operations that matches the specified filter in the
	// request.
	Operations []*Operation `json:"operations,omitempty"`
	// Unreachable: Unordered list. Unreachable resources. Populated when the
	// request sets `ListOperationsRequest.return_partial_success` and reads across
	// collections. For example, when attempting to list all resources across all
	// supported locations.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListOperationsResponse: The response message for Operations.ListOperations.

func (ListOperationsResponse) MarshalJSON

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

type ListRealmsResponse

type ListRealmsResponse struct {
	// NextPageToken: A token identifying a page of results the server should
	// return.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Realms: The list of Realm
	Realms []*Realm `json:"realms,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListRealmsResponse: Message for response to listing Realms

func (ListRealmsResponse) MarshalJSON

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

type ListRegistryBooksResponse

type ListRegistryBooksResponse struct {
	// NextPageToken: A token identifying a page of results the server should
	// return.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// RegistryBooks: The list of RegistryBook
	RegistryBooks []*RegistryBook `json:"registryBooks,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ListRegistryBooksResponse: Message for response to listing RegistryBooks

func (ListRegistryBooksResponse) MarshalJSON

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

type Location

type Location struct {
	// DisplayName: The friendly name for this location, typically a nearby city
	// name. For example, "Tokyo".
	DisplayName string `json:"displayName,omitempty"`
	// Labels: Cross-service attributes for the location. For example
	// {"cloud.googleapis.com/region": "us-east1"}
	Labels map[string]string `json:"labels,omitempty"`
	// LocationId: The canonical id for this location. For example: "us-east1".
	LocationId string `json:"locationId,omitempty"`
	// Metadata: Service-specific metadata. For example the available capacity at
	// the given location.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`
	// Name: Resource name for the location, which may vary between
	// implementations. For example:
	// "projects/example-project/locations/us-east1"
	Name string `json:"name,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DisplayName") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Location: A resource that represents a Google Cloud location.

func (Location) MarshalJSON

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 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. Id of the requesting object.

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": Filtering 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: Value for parent.

func (*ProjectsLocationsCustomRangesService) Delete

Delete: Deletes a single CustomRange.

- name: Name of the resource.

func (*ProjectsLocationsCustomRangesService) FindFreeIpRanges

FindFreeIpRanges: Finds free IP ranges in a single CustomRange.

- name: Name of the CustomRange.

func (*ProjectsLocationsCustomRangesService) Get

Get: Gets details of a single CustomRange.

- name: Name of the resource.

func (*ProjectsLocationsCustomRangesService) List

List: Lists CustomRanges in a given project and location.

- parent: Parent value for ListCustomRangesRequest.

func (*ProjectsLocationsCustomRangesService) Patch

Patch: Updates the parameters of a single CustomRange.

- name: Identifier. name of resource.

func (*ProjectsLocationsCustomRangesService) ShowUtilization

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

- name: Name of the resource.

type ProjectsLocationsCustomRangesShowUtilizationCall

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

func (*ProjectsLocationsCustomRangesShowUtilizationCall) Context

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": Filtering 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: Name of the DiscoveredRange.

func (*ProjectsLocationsDiscoveredRangesService) Get

Get: Gets details of a single DiscoveredRange.

- name: Name of the resource.

func (*ProjectsLocationsDiscoveredRangesService) List

List: Lists DiscoveredRanges in a given project and location.

- parent: Parent value for ListDiscoveredRangesRequest.

func (*ProjectsLocationsDiscoveredRangesService) ShowUtilization

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

- name: Name of the resource.

type ProjectsLocationsDiscoveredRangesShowUtilizationCall

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

func (*ProjectsLocationsDiscoveredRangesShowUtilizationCall) Context

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 scopes of the IpamAdminScopes to look for.

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. Id of the requesting object.

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": Filtering 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 IPAM admin scopes in a given project and location.

- parent: Parent value for the IpamAdminScopes.

func (*ProjectsLocationsIpamAdminScopesService) Cleanup

Cleanup: Cleans up a single IpamAdminScope.

- name: Name of the resource.

func (*ProjectsLocationsIpamAdminScopesService) Create

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

- parent: Value for parent.

func (*ProjectsLocationsIpamAdminScopesService) Delete

Delete: Deletes a single IpamAdminScope.

- name: Name of the resource.

func (*ProjectsLocationsIpamAdminScopesService) Disable

Disable: Disables a single IpamAdminScope.

- name: Name of the resource.

func (*ProjectsLocationsIpamAdminScopesService) Get

Get: Gets details of a single IpamAdminScope.

- name: Name of the resource.

func (*ProjectsLocationsIpamAdminScopesService) List

List: List all IPAM admin scopes in a given project and location.

- parent: Parent value for ListIpamAdminScopesRequest.

func (*ProjectsLocationsIpamAdminScopesService) Patch

Patch: Updates the parameters of a single IpamAdminScope.

- name: Identifier. name of resource.

type ProjectsLocationsListCall

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

func (*ProjectsLocationsListCall) Context

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. Id of the requesting object.

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.

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": Filtering 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.

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: Value for parent.

func (*ProjectsLocationsRealmsService) Delete

Delete: Deletes a single Realm.

- name: Name of the resource.

func (*ProjectsLocationsRealmsService) Get

Get: Gets details of a single Realm.

- name: Name of the resource.

func (*ProjectsLocationsRealmsService) List

List: Lists Realms in a given project and location.

- parent: Parent value for ListRealmsRequest.

func (*ProjectsLocationsRealmsService) Patch

Patch: Updates the parameters of a single Realm.

- name: Identifier. Unique name/ID of the realm.

type ProjectsLocationsRegistryBooksCreateCall

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

func (*ProjectsLocationsRegistryBooksCreateCall) Context

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. Id of the requesting object.

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.

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": Filtering 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.

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: Value for parent.

func (*ProjectsLocationsRegistryBooksService) Delete

Delete: Deletes a single RegistryBook.

- name: Name of the resource.

func (*ProjectsLocationsRegistryBooksService) Get

Get: Gets details of a single RegistryBook.

- name: Name of the resource.

func (*ProjectsLocationsRegistryBooksService) List

List: Lists RegistryBooks in a given project and location.

- parent: Parent value for ListRegistryBooksRequest.

func (*ProjectsLocationsRegistryBooksService) Patch

Patch: Updates the parameters of a single RegistryBook.

- name: Identifier. name of resource.

func (*ProjectsLocationsRegistryBooksService) SearchIpResources

SearchIpResources: Searches IP resources in a given RegistryBook.

- name: The name of the RegistryBook to search in.

type ProjectsLocationsService

type ProjectsLocationsService struct {
	CustomRanges *ProjectsLocationsCustomRangesService

	DiscoveredRanges *ProjectsLocationsDiscoveredRangesService

	IpamAdminScopes *ProjectsLocationsIpamAdminScopesService

	Operations *ProjectsLocationsOperationsService

	Realms *ProjectsLocationsRealmsService

	RegistryBooks *ProjectsLocationsRegistryBooksService
	// contains filtered or unexported fields
}

func NewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService) Get

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 custom range.
	CustomRange *CustomRange `json:"customRange,omitempty"`
	// DiscoveredRange: A discovered range.
	DiscoveredRange *DiscoveredRange `json:"discoveredRange,omitempty"`
	// Utilization: The utilization of the range.
	Utilization *RangeUtilization `json:"utilization,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CustomRange") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CustomRange") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Range: Message describing either a CustomRange or a DiscoveredRange.

func (Range) MarshalJSON

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: Message for the utilization of an IP range

func (RangeUtilization) MarshalJSON

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

func (*RangeUtilization) UnmarshalJSON

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

type Realm

type Realm struct {
	// AggregatedData: Output only. Aggregated data for the Realm. Populated only
	// when the view is AGGREGATE.
	AggregatedData *RealmAggregatedData `json:"aggregatedData,omitempty"`
	// CreateTime: Output only. [Output only] Create time stamp
	CreateTime string `json:"createTime,omitempty"`
	// DiscoveryMetadata: Output only. Discovery metadata of the realm.
	DiscoveryMetadata *DiscoveryMetadata `json:"discoveryMetadata,omitempty"`
	// IpVersion: Optional. IP version of the realm.
	//
	// Possible values:
	//   "IP_VERSION_UNSPECIFIED" - Unspecified IP version.
	//   "IPV4" - IPv4 IP version.
	//   "IPV6" - IPv6 IP version.
	IpVersion string `json:"ipVersion,omitempty"`
	// Labels: Optional. Labels as key value pairs
	Labels map[string]string `json:"labels,omitempty"`
	// ManagementType: Required. Management type of realm.
	//
	// Possible values:
	//   "MANAGEMENT_TYPE_UNSPECIFIED" - Unspecified management type.
	//   "CNR" - Managed by Cloud Number Registry.
	//   "USER" - Managed by User.
	ManagementType string `json:"managementType,omitempty"`
	// Name: Required. Identifier. Unique name/ID of the realm
	Name string `json:"name,omitempty"`
	// RegistryBook: Required. URI of the registry book that claims the realm.
	RegistryBook string `json:"registryBook,omitempty"`
	// TrafficType: Required. Traffic type of realm.
	//
	// Possible values:
	//   "TRAFFIC_TYPE_UNSPECIFIED" - Unspecified traffic type.
	//   "UNSET" - Unset traffic type.
	//   "INTERNET" - Internet traffic.
	//   "PRIVATE" - Private traffic.
	//   "LINKLOCAL" - Linklocal traffic.
	TrafficType string `json:"trafficType,omitempty"`
	// UpdateTime: Output only. [Output only] Update time stamp
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AggregatedData") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AggregatedData") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Realm: Message describing Realm object

func (Realm) MarshalJSON

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

type RealmAggregatedData

type RealmAggregatedData struct {
	// CustomRangesCount: Output only. Number of custom ranges in the Realm.
	CustomRangesCount int64 `json:"customRangesCount,omitempty"`
	// DiscoveredRangesCount: Output only. Number of discovered ranges in the
	// Realm.
	DiscoveredRangesCount int64 `json:"discoveredRangesCount,omitempty"`
	// ForceSendFields is a list of field names (e.g. "CustomRangesCount") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CustomRangesCount") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RealmAggregatedData: Aggregated data for the Realm.

func (RealmAggregatedData) MarshalJSON

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

type RegistryBook

type RegistryBook struct {
	// AggregatedData: Output only. Aggregated data for the RegistryBook. Populated
	// only when the view is AGGREGATE.
	AggregatedData *AggregatedData `json:"aggregatedData,omitempty"`
	// ClaimedScopes: Optional. List of scopes claimed by the RegistryBook. In
	// Preview, Only project scope is supported. Each scope is in the format of
	// projects/{project}. Each scope can only be claimed once.
	ClaimedScopes []string `json:"claimedScopes,omitempty"`
	// CreateTime: Output only. [Output only] Create time stamp
	CreateTime string `json:"createTime,omitempty"`
	// IsDefault: Output only. Whether the RegistryBook is the default one.
	IsDefault bool `json:"isDefault,omitempty"`
	// Labels: Optional. Labels as key value pairs
	Labels map[string]string `json:"labels,omitempty"`
	// Name: Required. Identifier. name of resource
	Name string `json:"name,omitempty"`
	// UpdateTime: Output only. [Output only] Update time stamp
	UpdateTime string `json:"updateTime,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "AggregatedData") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "AggregatedData") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

RegistryBook: Message describing RegistryBook object

func (RegistryBook) MarshalJSON

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

type SearchIpResourcesRequest

type SearchIpResourcesRequest struct {
	// OrderBy: Optional. Hint for how to order the results
	OrderBy string `json:"orderBy,omitempty"`
	// PageSize: Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int64 `json:"pageSize,omitempty"`
	// PageToken: Optional. A token identifying a page of results the server should
	// return.
	PageToken string `json:"pageToken,omitempty"`
	// Query: Optional. Search query. This string filters resources in an
	// AIP-160-like format. It has some limitations. You can only specify top level
	// conjunctions or attribute level negations. Each restriction can only be used
	// once except the attribute restriction. The available restrictions for ranges
	// are: - `realm`: The realm name to search in. - `ip_address`: The IP address
	// to search for within ranges. - `ip_version`: The IP version to filter by
	// (e.g., "IPV4", "IPV6"). - `parent_range`: The parent range of the range to
	// search for. - `attribute_text`: The attribute text to search for within
	// ranges. - `attribute`: The attribute key and value to filter by. The
	// available restrictions for realms are: - `ip_version`: The IP version to
	// search for. Only one of attribute_text or multiple attribute filters can be
	// specified. Examples: - `realm=test-realm` - `realm=test-realm AND
	// ip_address=10.0.0.0` - `realm=test-realm AND ip_version=IPV6` -
	// `realm=test-realm AND attribute_text=test` - `ip_address=10.0.0.0 AND
	// attribute:(key1=value1) AND attribute:(key2=value2)` - `attribute_text=test
	// AND
	// parent_range=projects/123/locations/global/discoveredRanges/test-parent-range
	// `
	Query string `json:"query,omitempty"`
	// SearchResourceTypes: Optional. The type of resources to search for. If not
	// specified, the server will return ranges.
	//
	// Possible values:
	//   "SEARCH_RESOURCE_TYPE_UNSPECIFIED" - Unspecified search type.
	//   "RANGES" - Search for ranges.
	//   "REALMS" - Search for realms.
	SearchResourceTypes []string `json:"searchResourceTypes,omitempty"`
	// ShowUtilization: Optional. Whether to show the utilization of the ranges in
	// the response.
	ShowUtilization bool `json:"showUtilization,omitempty"`
	// ForceSendFields is a list of field names (e.g. "OrderBy") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "OrderBy") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SearchIpResourcesRequest: Message for searching IP resources

func (SearchIpResourcesRequest) MarshalJSON

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

type SearchIpResourcesResponse

type SearchIpResourcesResponse struct {
	// NextPageToken: A token identifying a page of results the server should
	// return.
	NextPageToken string `json:"nextPageToken,omitempty"`
	// Ranges: Deprecated: Use results field instead. The list of ranges matching
	// the search query.
	Ranges []*Range `json:"ranges,omitempty"`
	// Results: The list of results matching the search query.
	Results []*SearchIpResourcesResult `json:"results,omitempty"`
	// Unreachable: Locations that could not be reached.
	Unreachable []string `json:"unreachable,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "NextPageToken") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SearchIpResourcesResponse: Message for response to searching IP resources

func (SearchIpResourcesResponse) MarshalJSON

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

type SearchIpResourcesResult

type SearchIpResourcesResult struct {
	// Range: A range matching the search query.
	Range *Range `json:"range,omitempty"`
	// Realm: A realm matching the search query.
	Realm *Realm `json:"realm,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Range") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Range") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

SearchIpResourcesResult: A result matching the search query, which can be either a range or a realm.

func (SearchIpResourcesResult) MarshalJSON

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

type Service

type Service struct {
	BasePath  string // API endpoint base URL
	UserAgent string // optional additional User-Agent fragment

	Projects *ProjectsService
	// contains filtered or unexported fields
}

func New deprecated

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 of the CustomRange.
	RangeUtilization *RangeUtilization `json:"rangeUtilization,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "CustomRange") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "CustomRange") to include in API
	// requests with the JSON null value. By default, fields with empty values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ShowCustomRangeUtilizationResponse: Message for the response to getting the utilization of a CustomRange

func (ShowCustomRangeUtilizationResponse) MarshalJSON

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

type ShowDiscoveredRangeUtilizationResponse

type ShowDiscoveredRangeUtilizationResponse struct {
	// DiscoveredRange: The DiscoveredRange resource.
	DiscoveredRange *DiscoveredRange `json:"discoveredRange,omitempty"`
	// RangeUtilization: The utilization of the DiscoveredRange.
	RangeUtilization *RangeUtilization `json:"rangeUtilization,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the server.
	googleapi.ServerResponse `json:"-"`
	// ForceSendFields is a list of field names (e.g. "DiscoveredRange") to
	// unconditionally include in API requests. By default, fields with empty or
	// default values are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "DiscoveredRange") to include in
	// API requests with the JSON null value. By default, fields with empty values
	// are omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

ShowDiscoveredRangeUtilizationResponse: Message for the response to getting the utilization of a DiscoveredRange

func (ShowDiscoveredRangeUtilizationResponse) MarshalJSON

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

type Status

type Status struct {
	// Code: The status code, which should be an enum value of google.rpc.Code.
	Code int64 `json:"code,omitempty"`
	// Details: A list of messages that carry the error details. There is a common
	// set of message types for APIs to use.
	Details []googleapi.RawMessage `json:"details,omitempty"`
	// Message: A developer-facing error message, which should be in English. Any
	// user-facing error message should be localized and sent in the
	// google.rpc.Status.details field, or localized by the client.
	Message string `json:"message,omitempty"`
	// ForceSendFields is a list of field names (e.g. "Code") to unconditionally
	// include in API requests. By default, fields with empty or default values are
	// omitted from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more
	// details.
	ForceSendFields []string `json:"-"`
	// NullFields is a list of field names (e.g. "Code") to include in API requests
	// with the JSON null value. By default, fields with empty values are omitted
	// from API requests. See
	// https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.
	NullFields []string `json:"-"`
}

Status: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).

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