Documentation

Overview

Package dns provides access to the Google Cloud DNS API.

For product documentation, see: https://developers.google.com/cloud-dns

Creating a client

Usage example:

import "google.golang.org/api/dns/v1"
...
ctx := context.Background()
dnsService, err := dns.NewService(ctx)

In this example, Google Application Default Credentials are used for authentication.

For information on how to create and obtain Application Default Credentials, see https://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

By default, all available scopes (see "Constants") are used to authenticate. To restrict scopes, use option.WithScopes:

dnsService, err := dns.NewService(ctx, option.WithScopes(dns.NdevClouddnsReadwriteScope))

To use an API key for authentication (note: some APIs do not support API keys), use option.WithAPIKey:

dnsService, err := dns.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow), use option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
dnsService, err := dns.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Constants

View Source
const (
	// View and manage your data across Google Cloud Platform services
	CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"

	// View your data across Google Cloud Platform services
	CloudPlatformReadOnlyScope = "https://www.googleapis.com/auth/cloud-platform.read-only"

	// View your DNS records hosted by Google Cloud DNS
	NdevClouddnsReadonlyScope = "https://www.googleapis.com/auth/ndev.clouddns.readonly"

	// View and manage your DNS records hosted by Google Cloud DNS
	NdevClouddnsReadwriteScope = "https://www.googleapis.com/auth/ndev.clouddns.readwrite"
)

    OAuth2 scopes used by this API.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type Change

    type Change struct {
    	Additions []*ResourceRecordSet `json:"additions,omitempty"`
    
    	Deletions []*ResourceRecordSet `json:"deletions,omitempty"`
    
    	Id string `json:"id,omitempty"`
    
    	IsServing bool `json:"isServing,omitempty"`
    
    	// Kind: Identifies what kind of resource this is. Value: the fixed
    	// string "dns#change".
    	Kind string `json:"kind,omitempty"`
    
    	StartTime string `json:"startTime,omitempty"`
    
    	// Possible values:
    	//   "done"
    	//   "pending"
    	Status string `json:"status,omitempty"`
    
    	// ServerResponse contains the HTTP response code and headers from the
    	// server.
    	googleapi.ServerResponse `json:"-"`
    
    	// ForceSendFields is a list of field names (e.g. "Additions") to
    	// unconditionally include in API requests. By default, fields with
    	// empty values are omitted from API requests. However, any non-pointer,
    	// non-interface field appearing in ForceSendFields will be sent to the
    	// server regardless of whether the field is empty or not. This may be
    	// used to include empty fields in Patch requests.
    	ForceSendFields []string `json:"-"`
    
    	// NullFields is a list of field names (e.g. "Additions") to include in
    	// API requests with the JSON null value. By default, fields with empty
    	// values are omitted from API requests. However, any field with an
    	// empty value appearing in NullFields will be sent to the server as
    	// null. It is an error if a field in this list has a non-empty value.
    	// This may be used to include null fields in Patch requests.
    	NullFields []string `json:"-"`
    }

    func (*Change) MarshalJSON

    func (s *Change) MarshalJSON() ([]byte, error)

    type ChangesCreateCall

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

    func (*ChangesCreateCall) ClientOperationId

    func (c *ChangesCreateCall) ClientOperationId(clientOperationId string) *ChangesCreateCall

      ClientOperationId sets the optional parameter "clientOperationId":

      func (*ChangesCreateCall) Context

        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

        func (*ChangesCreateCall) Do

        func (c *ChangesCreateCall) Do(opts ...googleapi.CallOption) (*Change, error)

          Do executes the "dns.changes.create" call. Exactly one of *Change or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Change.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 (*ChangesCreateCall) Fields

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

            func (*ChangesCreateCall) Header

            func (c *ChangesCreateCall) Header() http.Header

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

              type ChangesGetCall

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

              func (*ChangesGetCall) ClientOperationId

              func (c *ChangesGetCall) ClientOperationId(clientOperationId string) *ChangesGetCall

                ClientOperationId sets the optional parameter "clientOperationId":

                func (*ChangesGetCall) Context

                func (c *ChangesGetCall) Context(ctx context.Context) *ChangesGetCall

                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                  func (*ChangesGetCall) Do

                  func (c *ChangesGetCall) Do(opts ...googleapi.CallOption) (*Change, error)

                    Do executes the "dns.changes.get" call. Exactly one of *Change or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Change.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 (*ChangesGetCall) Fields

                    func (c *ChangesGetCall) Fields(s ...googleapi.Field) *ChangesGetCall

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

                      func (*ChangesGetCall) Header

                      func (c *ChangesGetCall) Header() http.Header

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

                        func (*ChangesGetCall) IfNoneMatch

                        func (c *ChangesGetCall) IfNoneMatch(entityTag string) *ChangesGetCall

                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                          type ChangesListCall

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

                          func (*ChangesListCall) Context

                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                            func (*ChangesListCall) Do

                              Do executes the "dns.changes.list" call. Exactly one of *ChangesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ChangesListResponse.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 (*ChangesListCall) Fields

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

                                func (*ChangesListCall) Header

                                func (c *ChangesListCall) Header() http.Header

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

                                  func (*ChangesListCall) IfNoneMatch

                                  func (c *ChangesListCall) IfNoneMatch(entityTag string) *ChangesListCall

                                    IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                    func (*ChangesListCall) MaxResults

                                    func (c *ChangesListCall) MaxResults(maxResults int64) *ChangesListCall

                                      MaxResults sets the optional parameter "maxResults":

                                      func (*ChangesListCall) PageToken

                                      func (c *ChangesListCall) PageToken(pageToken string) *ChangesListCall

                                        PageToken sets the optional parameter "pageToken":

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

                                          func (c *ChangesListCall) SortBy(sortBy string) *ChangesListCall

                                            SortBy sets the optional parameter "sortBy":

                                            Possible values:

                                            "changeSequence" (default)
                                            

                                            func (*ChangesListCall) SortOrder

                                            func (c *ChangesListCall) SortOrder(sortOrder string) *ChangesListCall

                                              SortOrder sets the optional parameter "sortOrder":

                                              type ChangesListResponse

                                              type ChangesListResponse struct {
                                              	Changes []*Change `json:"changes,omitempty"`
                                              
                                              	Header *ResponseHeader `json:"header,omitempty"`
                                              
                                              	// Kind: Type of resource.
                                              	Kind string `json:"kind,omitempty"`
                                              
                                              	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. "Changes") to
                                              	// unconditionally include in API requests. By default, fields with
                                              	// empty values are omitted from API requests. However, any non-pointer,
                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                              	// server regardless of whether the field is empty or not. This may be
                                              	// used to include empty fields in Patch requests.
                                              	ForceSendFields []string `json:"-"`
                                              
                                              	// NullFields is a list of field names (e.g. "Changes") to include in
                                              	// API requests with the JSON null value. By default, fields with empty
                                              	// values are omitted from API requests. However, any field with an
                                              	// empty value appearing in NullFields will be sent to the server as
                                              	// null. It is an error if a field in this list has a non-empty value.
                                              	// This may be used to include null fields in Patch requests.
                                              	NullFields []string `json:"-"`
                                              }

                                              func (*ChangesListResponse) MarshalJSON

                                              func (s *ChangesListResponse) MarshalJSON() ([]byte, error)

                                              type ChangesService

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

                                              func NewChangesService

                                              func NewChangesService(s *Service) *ChangesService

                                              func (*ChangesService) Create

                                              func (r *ChangesService) Create(project string, managedZone string, change *Change) *ChangesCreateCall

                                                Create:

                                                func (*ChangesService) Get

                                                func (r *ChangesService) Get(project string, managedZone string, changeId string) *ChangesGetCall

                                                  Get:

                                                  func (*ChangesService) List

                                                  func (r *ChangesService) List(project string, managedZone string) *ChangesListCall

                                                    List:

                                                    type DnsKey

                                                    type DnsKey struct {
                                                    	// Possible values:
                                                    	//   "ecdsap256sha256"
                                                    	//   "ecdsap384sha384"
                                                    	//   "rsasha1"
                                                    	//   "rsasha256"
                                                    	//   "rsasha512"
                                                    	Algorithm string `json:"algorithm,omitempty"`
                                                    
                                                    	CreationTime string `json:"creationTime,omitempty"`
                                                    
                                                    	Description string `json:"description,omitempty"`
                                                    
                                                    	Digests []*DnsKeyDigest `json:"digests,omitempty"`
                                                    
                                                    	Id string `json:"id,omitempty"`
                                                    
                                                    	IsActive bool `json:"isActive,omitempty"`
                                                    
                                                    	KeyLength int64 `json:"keyLength,omitempty"`
                                                    
                                                    	KeyTag int64 `json:"keyTag,omitempty"`
                                                    
                                                    	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                    	// string "dns#dnsKey".
                                                    	Kind string `json:"kind,omitempty"`
                                                    
                                                    	PublicKey string `json:"publicKey,omitempty"`
                                                    
                                                    	// Possible values:
                                                    	//   "keySigning"
                                                    	//   "zoneSigning"
                                                    	Type string `json:"type,omitempty"`
                                                    
                                                    	// ServerResponse contains the HTTP response code and headers from the
                                                    	// server.
                                                    	googleapi.ServerResponse `json:"-"`
                                                    
                                                    	// ForceSendFields is a list of field names (e.g. "Algorithm") to
                                                    	// unconditionally include in API requests. By default, fields with
                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                    	// server regardless of whether the field is empty or not. This may be
                                                    	// used to include empty fields in Patch requests.
                                                    	ForceSendFields []string `json:"-"`
                                                    
                                                    	// NullFields is a list of field names (e.g. "Algorithm") to include in
                                                    	// API requests with the JSON null value. By default, fields with empty
                                                    	// values are omitted from API requests. However, any field with an
                                                    	// empty value appearing in NullFields will be sent to the server as
                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                    	// This may be used to include null fields in Patch requests.
                                                    	NullFields []string `json:"-"`
                                                    }

                                                    func (*DnsKey) MarshalJSON

                                                    func (s *DnsKey) MarshalJSON() ([]byte, error)

                                                    type DnsKeyDigest

                                                    type DnsKeyDigest struct {
                                                    	Digest string `json:"digest,omitempty"`
                                                    
                                                    	// Possible values:
                                                    	//   "sha1"
                                                    	//   "sha256"
                                                    	//   "sha384"
                                                    	Type string `json:"type,omitempty"`
                                                    
                                                    	// ForceSendFields is a list of field names (e.g. "Digest") to
                                                    	// unconditionally include in API requests. By default, fields with
                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                    	// server regardless of whether the field is empty or not. This may be
                                                    	// used to include empty fields in Patch requests.
                                                    	ForceSendFields []string `json:"-"`
                                                    
                                                    	// NullFields is a list of field names (e.g. "Digest") to include in API
                                                    	// requests with the JSON null value. By default, fields with empty
                                                    	// values are omitted from API requests. However, any field with an
                                                    	// empty value appearing in NullFields will be sent to the server as
                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                    	// This may be used to include null fields in Patch requests.
                                                    	NullFields []string `json:"-"`
                                                    }

                                                    func (*DnsKeyDigest) MarshalJSON

                                                    func (s *DnsKeyDigest) MarshalJSON() ([]byte, error)

                                                    type DnsKeySpec

                                                    type DnsKeySpec struct {
                                                    	// Possible values:
                                                    	//   "ecdsap256sha256"
                                                    	//   "ecdsap384sha384"
                                                    	//   "rsasha1"
                                                    	//   "rsasha256"
                                                    	//   "rsasha512"
                                                    	Algorithm string `json:"algorithm,omitempty"`
                                                    
                                                    	KeyLength int64 `json:"keyLength,omitempty"`
                                                    
                                                    	// Possible values:
                                                    	//   "keySigning"
                                                    	//   "zoneSigning"
                                                    	KeyType string `json:"keyType,omitempty"`
                                                    
                                                    	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                    	// string "dns#dnsKeySpec".
                                                    	Kind string `json:"kind,omitempty"`
                                                    
                                                    	// ForceSendFields is a list of field names (e.g. "Algorithm") to
                                                    	// unconditionally include in API requests. By default, fields with
                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                    	// server regardless of whether the field is empty or not. This may be
                                                    	// used to include empty fields in Patch requests.
                                                    	ForceSendFields []string `json:"-"`
                                                    
                                                    	// NullFields is a list of field names (e.g. "Algorithm") to include in
                                                    	// API requests with the JSON null value. By default, fields with empty
                                                    	// values are omitted from API requests. However, any field with an
                                                    	// empty value appearing in NullFields will be sent to the server as
                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                    	// This may be used to include null fields in Patch requests.
                                                    	NullFields []string `json:"-"`
                                                    }

                                                    func (*DnsKeySpec) MarshalJSON

                                                    func (s *DnsKeySpec) MarshalJSON() ([]byte, error)

                                                    type DnsKeysGetCall

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

                                                    func (*DnsKeysGetCall) ClientOperationId

                                                    func (c *DnsKeysGetCall) ClientOperationId(clientOperationId string) *DnsKeysGetCall

                                                      ClientOperationId sets the optional parameter "clientOperationId":

                                                      func (*DnsKeysGetCall) Context

                                                      func (c *DnsKeysGetCall) Context(ctx context.Context) *DnsKeysGetCall

                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                        func (*DnsKeysGetCall) DigestType

                                                        func (c *DnsKeysGetCall) DigestType(digestType string) *DnsKeysGetCall

                                                          DigestType sets the optional parameter "digestType":

                                                          func (*DnsKeysGetCall) Do

                                                          func (c *DnsKeysGetCall) Do(opts ...googleapi.CallOption) (*DnsKey, error)

                                                            Do executes the "dns.dnsKeys.get" call. Exactly one of *DnsKey or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DnsKey.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 (*DnsKeysGetCall) Fields

                                                            func (c *DnsKeysGetCall) Fields(s ...googleapi.Field) *DnsKeysGetCall

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

                                                              func (*DnsKeysGetCall) Header

                                                              func (c *DnsKeysGetCall) Header() http.Header

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

                                                                func (*DnsKeysGetCall) IfNoneMatch

                                                                func (c *DnsKeysGetCall) IfNoneMatch(entityTag string) *DnsKeysGetCall

                                                                  IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                  type DnsKeysListCall

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

                                                                  func (*DnsKeysListCall) Context

                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                    func (*DnsKeysListCall) DigestType

                                                                    func (c *DnsKeysListCall) DigestType(digestType string) *DnsKeysListCall

                                                                      DigestType sets the optional parameter "digestType":

                                                                      func (*DnsKeysListCall) Do

                                                                        Do executes the "dns.dnsKeys.list" call. Exactly one of *DnsKeysListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DnsKeysListResponse.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 (*DnsKeysListCall) Fields

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

                                                                          func (*DnsKeysListCall) Header

                                                                          func (c *DnsKeysListCall) Header() http.Header

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

                                                                            func (*DnsKeysListCall) IfNoneMatch

                                                                            func (c *DnsKeysListCall) IfNoneMatch(entityTag string) *DnsKeysListCall

                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                              func (*DnsKeysListCall) MaxResults

                                                                              func (c *DnsKeysListCall) MaxResults(maxResults int64) *DnsKeysListCall

                                                                                MaxResults sets the optional parameter "maxResults":

                                                                                func (*DnsKeysListCall) PageToken

                                                                                func (c *DnsKeysListCall) PageToken(pageToken string) *DnsKeysListCall

                                                                                  PageToken sets the optional parameter "pageToken":

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

                                                                                    type DnsKeysListResponse struct {
                                                                                    	DnsKeys []*DnsKey `json:"dnsKeys,omitempty"`
                                                                                    
                                                                                    	Header *ResponseHeader `json:"header,omitempty"`
                                                                                    
                                                                                    	// Kind: Type of resource.
                                                                                    	Kind string `json:"kind,omitempty"`
                                                                                    
                                                                                    	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. "DnsKeys") to
                                                                                    	// unconditionally include in API requests. By default, fields with
                                                                                    	// empty values are omitted from API requests. However, any non-pointer,
                                                                                    	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                    	// server regardless of whether the field is empty or not. This may be
                                                                                    	// used to include empty fields in Patch requests.
                                                                                    	ForceSendFields []string `json:"-"`
                                                                                    
                                                                                    	// NullFields is a list of field names (e.g. "DnsKeys") to include in
                                                                                    	// API requests with the JSON null value. By default, fields with empty
                                                                                    	// values are omitted from API requests. However, any field with an
                                                                                    	// empty value appearing in NullFields will be sent to the server as
                                                                                    	// null. It is an error if a field in this list has a non-empty value.
                                                                                    	// This may be used to include null fields in Patch requests.
                                                                                    	NullFields []string `json:"-"`
                                                                                    }

                                                                                    func (*DnsKeysListResponse) MarshalJSON

                                                                                    func (s *DnsKeysListResponse) MarshalJSON() ([]byte, error)

                                                                                    type DnsKeysService

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

                                                                                    func NewDnsKeysService

                                                                                    func NewDnsKeysService(s *Service) *DnsKeysService

                                                                                    func (*DnsKeysService) Get

                                                                                    func (r *DnsKeysService) Get(project string, managedZone string, dnsKeyId string) *DnsKeysGetCall

                                                                                      Get:

                                                                                      func (*DnsKeysService) List

                                                                                      func (r *DnsKeysService) List(project string, managedZone string) *DnsKeysListCall

                                                                                        List:

                                                                                        type ManagedZone

                                                                                        type ManagedZone struct {
                                                                                        	CreationTime string `json:"creationTime,omitempty"`
                                                                                        
                                                                                        	Description string `json:"description,omitempty"`
                                                                                        
                                                                                        	DnsName string `json:"dnsName,omitempty"`
                                                                                        
                                                                                        	DnssecConfig *ManagedZoneDnsSecConfig `json:"dnssecConfig,omitempty"`
                                                                                        
                                                                                        	ForwardingConfig *ManagedZoneForwardingConfig `json:"forwardingConfig,omitempty"`
                                                                                        
                                                                                        	Id uint64 `json:"id,omitempty,string"`
                                                                                        
                                                                                        	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                        	// string "dns#managedZone".
                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                        
                                                                                        	Labels map[string]string `json:"labels,omitempty"`
                                                                                        
                                                                                        	Name string `json:"name,omitempty"`
                                                                                        
                                                                                        	NameServerSet string `json:"nameServerSet,omitempty"`
                                                                                        
                                                                                        	NameServers []string `json:"nameServers,omitempty"`
                                                                                        
                                                                                        	PeeringConfig *ManagedZonePeeringConfig `json:"peeringConfig,omitempty"`
                                                                                        
                                                                                        	PrivateVisibilityConfig *ManagedZonePrivateVisibilityConfig `json:"privateVisibilityConfig,omitempty"`
                                                                                        
                                                                                        	ReverseLookupConfig *ManagedZoneReverseLookupConfig `json:"reverseLookupConfig,omitempty"`
                                                                                        
                                                                                        	// Possible values:
                                                                                        	//   "private"
                                                                                        	//   "public"
                                                                                        	Visibility string `json:"visibility,omitempty"`
                                                                                        
                                                                                        	// ServerResponse contains the HTTP response code and headers from the
                                                                                        	// server.
                                                                                        	googleapi.ServerResponse `json:"-"`
                                                                                        
                                                                                        	// ForceSendFields is a list of field names (e.g. "CreationTime") to
                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                        	// used to include empty fields in Patch requests.
                                                                                        	ForceSendFields []string `json:"-"`
                                                                                        
                                                                                        	// NullFields is a list of field names (e.g. "CreationTime") to include
                                                                                        	// in API requests with the JSON null value. By default, fields with
                                                                                        	// empty values are omitted from API requests. However, any field with
                                                                                        	// an empty value appearing in NullFields will be sent to the server as
                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                        	NullFields []string `json:"-"`
                                                                                        }

                                                                                        func (*ManagedZone) MarshalJSON

                                                                                        func (s *ManagedZone) MarshalJSON() ([]byte, error)

                                                                                        type ManagedZoneDnsSecConfig

                                                                                        type ManagedZoneDnsSecConfig struct {
                                                                                        	DefaultKeySpecs []*DnsKeySpec `json:"defaultKeySpecs,omitempty"`
                                                                                        
                                                                                        	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                        	// string "dns#managedZoneDnsSecConfig".
                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                        
                                                                                        	// Possible values:
                                                                                        	//   "nsec"
                                                                                        	//   "nsec3"
                                                                                        	NonExistence string `json:"nonExistence,omitempty"`
                                                                                        
                                                                                        	// Possible values:
                                                                                        	//   "off"
                                                                                        	//   "on"
                                                                                        	//   "transfer"
                                                                                        	State string `json:"state,omitempty"`
                                                                                        
                                                                                        	// ForceSendFields is a list of field names (e.g. "DefaultKeySpecs") to
                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                        	// used to include empty fields in Patch requests.
                                                                                        	ForceSendFields []string `json:"-"`
                                                                                        
                                                                                        	// NullFields is a list of field names (e.g. "DefaultKeySpecs") to
                                                                                        	// include in API requests with the JSON null value. By default, fields
                                                                                        	// with empty values are omitted from API requests. However, any field
                                                                                        	// with an empty value appearing in NullFields will be sent to the
                                                                                        	// server as null. It is an error if a field in this list has a
                                                                                        	// non-empty value. This may be used to include null fields in Patch
                                                                                        	// requests.
                                                                                        	NullFields []string `json:"-"`
                                                                                        }

                                                                                        func (*ManagedZoneDnsSecConfig) MarshalJSON

                                                                                        func (s *ManagedZoneDnsSecConfig) MarshalJSON() ([]byte, error)

                                                                                        type ManagedZoneForwardingConfig

                                                                                        type ManagedZoneForwardingConfig struct {
                                                                                        	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                        	// string "dns#managedZoneForwardingConfig".
                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                        
                                                                                        	TargetNameServers []*ManagedZoneForwardingConfigNameServerTarget `json:"targetNameServers,omitempty"`
                                                                                        
                                                                                        	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                        	// used to include empty fields in Patch requests.
                                                                                        	ForceSendFields []string `json:"-"`
                                                                                        
                                                                                        	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                        	// requests with the JSON null value. By default, fields with empty
                                                                                        	// values are omitted from API requests. However, any field with an
                                                                                        	// empty value appearing in NullFields will be sent to the server as
                                                                                        	// null. It is an error if a field in this list has a non-empty value.
                                                                                        	// This may be used to include null fields in Patch requests.
                                                                                        	NullFields []string `json:"-"`
                                                                                        }

                                                                                        func (*ManagedZoneForwardingConfig) MarshalJSON

                                                                                        func (s *ManagedZoneForwardingConfig) MarshalJSON() ([]byte, error)

                                                                                        type ManagedZoneForwardingConfigNameServerTarget

                                                                                        type ManagedZoneForwardingConfigNameServerTarget struct {
                                                                                        	// Possible values:
                                                                                        	//   "default"
                                                                                        	//   "private"
                                                                                        	ForwardingPath string `json:"forwardingPath,omitempty"`
                                                                                        
                                                                                        	Ipv4Address string `json:"ipv4Address,omitempty"`
                                                                                        
                                                                                        	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                        	// string "dns#managedZoneForwardingConfigNameServerTarget".
                                                                                        	Kind string `json:"kind,omitempty"`
                                                                                        
                                                                                        	// ForceSendFields is a list of field names (e.g. "ForwardingPath") to
                                                                                        	// unconditionally include in API requests. By default, fields with
                                                                                        	// empty values are omitted from API requests. However, any non-pointer,
                                                                                        	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                        	// server regardless of whether the field is empty or not. This may be
                                                                                        	// used to include empty fields in Patch requests.
                                                                                        	ForceSendFields []string `json:"-"`
                                                                                        
                                                                                        	// NullFields is a list of field names (e.g. "ForwardingPath") to
                                                                                        	// include in API requests with the JSON null value. By default, fields
                                                                                        	// with empty values are omitted from API requests. However, any field
                                                                                        	// with an empty value appearing in NullFields will be sent to the
                                                                                        	// server as null. It is an error if a field in this list has a
                                                                                        	// non-empty value. This may be used to include null fields in Patch
                                                                                        	// requests.
                                                                                        	NullFields []string `json:"-"`
                                                                                        }

                                                                                        func (*ManagedZoneForwardingConfigNameServerTarget) MarshalJSON

                                                                                        type ManagedZoneOperationsGetCall

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

                                                                                        func (*ManagedZoneOperationsGetCall) ClientOperationId

                                                                                        func (c *ManagedZoneOperationsGetCall) ClientOperationId(clientOperationId string) *ManagedZoneOperationsGetCall

                                                                                          ClientOperationId sets the optional parameter "clientOperationId":

                                                                                          func (*ManagedZoneOperationsGetCall) Context

                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                            func (*ManagedZoneOperationsGetCall) Do

                                                                                              Do executes the "dns.managedZoneOperations.get" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                              func (*ManagedZoneOperationsGetCall) Fields

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

                                                                                                func (*ManagedZoneOperationsGetCall) Header

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

                                                                                                  func (*ManagedZoneOperationsGetCall) IfNoneMatch

                                                                                                    IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                    type ManagedZoneOperationsListCall

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

                                                                                                    func (*ManagedZoneOperationsListCall) Context

                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                      func (*ManagedZoneOperationsListCall) Do

                                                                                                        Do executes the "dns.managedZoneOperations.list" call. Exactly one of *ManagedZoneOperationsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedZoneOperationsListResponse.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 (*ManagedZoneOperationsListCall) Fields

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

                                                                                                          func (*ManagedZoneOperationsListCall) Header

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

                                                                                                            func (*ManagedZoneOperationsListCall) IfNoneMatch

                                                                                                              IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                              func (*ManagedZoneOperationsListCall) MaxResults

                                                                                                                MaxResults sets the optional parameter "maxResults":

                                                                                                                func (*ManagedZoneOperationsListCall) PageToken

                                                                                                                  PageToken sets the optional parameter "pageToken":

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

                                                                                                                      SortBy sets the optional parameter "sortBy":

                                                                                                                      Possible values:

                                                                                                                      "id"
                                                                                                                      "startTime" (default)
                                                                                                                      

                                                                                                                      type ManagedZoneOperationsListResponse

                                                                                                                      type ManagedZoneOperationsListResponse struct {
                                                                                                                      	Header *ResponseHeader `json:"header,omitempty"`
                                                                                                                      
                                                                                                                      	// Kind: Type of resource.
                                                                                                                      	Kind string `json:"kind,omitempty"`
                                                                                                                      
                                                                                                                      	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                      
                                                                                                                      	Operations []*Operation `json:"operations,omitempty"`
                                                                                                                      
                                                                                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                      	// server.
                                                                                                                      	googleapi.ServerResponse `json:"-"`
                                                                                                                      
                                                                                                                      	// ForceSendFields is a list of field names (e.g. "Header") to
                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                      
                                                                                                                      	// NullFields is a list of field names (e.g. "Header") to include in API
                                                                                                                      	// requests with the JSON null value. By default, fields with empty
                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                      }

                                                                                                                      func (*ManagedZoneOperationsListResponse) MarshalJSON

                                                                                                                      func (s *ManagedZoneOperationsListResponse) MarshalJSON() ([]byte, error)

                                                                                                                      type ManagedZoneOperationsService

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

                                                                                                                      func NewManagedZoneOperationsService

                                                                                                                      func NewManagedZoneOperationsService(s *Service) *ManagedZoneOperationsService

                                                                                                                      func (*ManagedZoneOperationsService) Get

                                                                                                                      func (r *ManagedZoneOperationsService) Get(project string, managedZone string, operation string) *ManagedZoneOperationsGetCall

                                                                                                                        Get:

                                                                                                                        func (*ManagedZoneOperationsService) List

                                                                                                                          List:

                                                                                                                          type ManagedZonePeeringConfig

                                                                                                                          type ManagedZonePeeringConfig struct {
                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                          	// string "dns#managedZonePeeringConfig".
                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                          
                                                                                                                          	TargetNetwork *ManagedZonePeeringConfigTargetNetwork `json:"targetNetwork,omitempty"`
                                                                                                                          
                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                          
                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                          }

                                                                                                                          func (*ManagedZonePeeringConfig) MarshalJSON

                                                                                                                          func (s *ManagedZonePeeringConfig) MarshalJSON() ([]byte, error)

                                                                                                                          type ManagedZonePeeringConfigTargetNetwork

                                                                                                                          type ManagedZonePeeringConfigTargetNetwork struct {
                                                                                                                          	DeactivateTime string `json:"deactivateTime,omitempty"`
                                                                                                                          
                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                          	// string "dns#managedZonePeeringConfigTargetNetwork".
                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                          
                                                                                                                          	NetworkUrl string `json:"networkUrl,omitempty"`
                                                                                                                          
                                                                                                                          	// ForceSendFields is a list of field names (e.g. "DeactivateTime") to
                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                          
                                                                                                                          	// NullFields is a list of field names (e.g. "DeactivateTime") to
                                                                                                                          	// include in API requests with the JSON null value. By default, fields
                                                                                                                          	// with empty values are omitted from API requests. However, any field
                                                                                                                          	// with an empty value appearing in NullFields will be sent to the
                                                                                                                          	// server as null. It is an error if a field in this list has a
                                                                                                                          	// non-empty value. This may be used to include null fields in Patch
                                                                                                                          	// requests.
                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                          }

                                                                                                                          func (*ManagedZonePeeringConfigTargetNetwork) MarshalJSON

                                                                                                                          func (s *ManagedZonePeeringConfigTargetNetwork) MarshalJSON() ([]byte, error)

                                                                                                                          type ManagedZonePrivateVisibilityConfig

                                                                                                                          type ManagedZonePrivateVisibilityConfig struct {
                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                          	// string "dns#managedZonePrivateVisibilityConfig".
                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                          
                                                                                                                          	Networks []*ManagedZonePrivateVisibilityConfigNetwork `json:"networks,omitempty"`
                                                                                                                          
                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                          
                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                          }

                                                                                                                          func (*ManagedZonePrivateVisibilityConfig) MarshalJSON

                                                                                                                          func (s *ManagedZonePrivateVisibilityConfig) MarshalJSON() ([]byte, error)

                                                                                                                          type ManagedZonePrivateVisibilityConfigNetwork

                                                                                                                          type ManagedZonePrivateVisibilityConfigNetwork struct {
                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                          	// string "dns#managedZonePrivateVisibilityConfigNetwork".
                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                          
                                                                                                                          	NetworkUrl string `json:"networkUrl,omitempty"`
                                                                                                                          
                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                          
                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                          }

                                                                                                                          func (*ManagedZonePrivateVisibilityConfigNetwork) MarshalJSON

                                                                                                                          type ManagedZoneReverseLookupConfig

                                                                                                                          type ManagedZoneReverseLookupConfig struct {
                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                          	// string "dns#managedZoneReverseLookupConfig".
                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                          
                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                          
                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                          }

                                                                                                                          func (*ManagedZoneReverseLookupConfig) MarshalJSON

                                                                                                                          func (s *ManagedZoneReverseLookupConfig) MarshalJSON() ([]byte, error)

                                                                                                                          type ManagedZonesCreateCall

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

                                                                                                                          func (*ManagedZonesCreateCall) ClientOperationId

                                                                                                                          func (c *ManagedZonesCreateCall) ClientOperationId(clientOperationId string) *ManagedZonesCreateCall

                                                                                                                            ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                            func (*ManagedZonesCreateCall) Context

                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                              func (*ManagedZonesCreateCall) Do

                                                                                                                                Do executes the "dns.managedZones.create" call. Exactly one of *ManagedZone or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedZone.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 (*ManagedZonesCreateCall) Fields

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

                                                                                                                                  func (*ManagedZonesCreateCall) Header

                                                                                                                                  func (c *ManagedZonesCreateCall) Header() http.Header

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

                                                                                                                                    type ManagedZonesDeleteCall

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

                                                                                                                                    func (*ManagedZonesDeleteCall) ClientOperationId

                                                                                                                                    func (c *ManagedZonesDeleteCall) ClientOperationId(clientOperationId string) *ManagedZonesDeleteCall

                                                                                                                                      ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                      func (*ManagedZonesDeleteCall) Context

                                                                                                                                        Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                        func (*ManagedZonesDeleteCall) Do

                                                                                                                                          Do executes the "dns.managedZones.delete" call.

                                                                                                                                          func (*ManagedZonesDeleteCall) Fields

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

                                                                                                                                            func (*ManagedZonesDeleteCall) Header

                                                                                                                                            func (c *ManagedZonesDeleteCall) Header() http.Header

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

                                                                                                                                              type ManagedZonesGetCall

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

                                                                                                                                              func (*ManagedZonesGetCall) ClientOperationId

                                                                                                                                              func (c *ManagedZonesGetCall) ClientOperationId(clientOperationId string) *ManagedZonesGetCall

                                                                                                                                                ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                func (*ManagedZonesGetCall) Context

                                                                                                                                                  Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                  func (*ManagedZonesGetCall) Do

                                                                                                                                                    Do executes the "dns.managedZones.get" call. Exactly one of *ManagedZone or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedZone.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 (*ManagedZonesGetCall) Fields

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

                                                                                                                                                      func (*ManagedZonesGetCall) Header

                                                                                                                                                      func (c *ManagedZonesGetCall) Header() http.Header

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

                                                                                                                                                        func (*ManagedZonesGetCall) IfNoneMatch

                                                                                                                                                        func (c *ManagedZonesGetCall) IfNoneMatch(entityTag string) *ManagedZonesGetCall

                                                                                                                                                          IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                          type ManagedZonesListCall

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

                                                                                                                                                          func (*ManagedZonesListCall) Context

                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                            func (*ManagedZonesListCall) DnsName

                                                                                                                                                            func (c *ManagedZonesListCall) DnsName(dnsName string) *ManagedZonesListCall

                                                                                                                                                              DnsName sets the optional parameter "dnsName":

                                                                                                                                                              func (*ManagedZonesListCall) Do

                                                                                                                                                                Do executes the "dns.managedZones.list" call. Exactly one of *ManagedZonesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ManagedZonesListResponse.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 (*ManagedZonesListCall) Fields

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

                                                                                                                                                                  func (*ManagedZonesListCall) Header

                                                                                                                                                                  func (c *ManagedZonesListCall) Header() http.Header

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

                                                                                                                                                                    func (*ManagedZonesListCall) IfNoneMatch

                                                                                                                                                                    func (c *ManagedZonesListCall) IfNoneMatch(entityTag string) *ManagedZonesListCall

                                                                                                                                                                      IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                      func (*ManagedZonesListCall) MaxResults

                                                                                                                                                                      func (c *ManagedZonesListCall) MaxResults(maxResults int64) *ManagedZonesListCall

                                                                                                                                                                        MaxResults sets the optional parameter "maxResults":

                                                                                                                                                                        func (*ManagedZonesListCall) PageToken

                                                                                                                                                                        func (c *ManagedZonesListCall) PageToken(pageToken string) *ManagedZonesListCall

                                                                                                                                                                          PageToken sets the optional parameter "pageToken":

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

                                                                                                                                                                            type ManagedZonesListResponse struct {
                                                                                                                                                                            	Header *ResponseHeader `json:"header,omitempty"`
                                                                                                                                                                            
                                                                                                                                                                            	// Kind: Type of resource.
                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                            
                                                                                                                                                                            	ManagedZones []*ManagedZone `json:"managedZones,omitempty"`
                                                                                                                                                                            
                                                                                                                                                                            	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. "Header") to
                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                            
                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Header") to include in API
                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                            }

                                                                                                                                                                            func (*ManagedZonesListResponse) MarshalJSON

                                                                                                                                                                            func (s *ManagedZonesListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                            type ManagedZonesPatchCall

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

                                                                                                                                                                            func (*ManagedZonesPatchCall) ClientOperationId

                                                                                                                                                                            func (c *ManagedZonesPatchCall) ClientOperationId(clientOperationId string) *ManagedZonesPatchCall

                                                                                                                                                                              ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                                              func (*ManagedZonesPatchCall) Context

                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                func (*ManagedZonesPatchCall) Do

                                                                                                                                                                                  Do executes the "dns.managedZones.patch" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                  func (*ManagedZonesPatchCall) Fields

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

                                                                                                                                                                                    func (*ManagedZonesPatchCall) Header

                                                                                                                                                                                    func (c *ManagedZonesPatchCall) Header() http.Header

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

                                                                                                                                                                                      type ManagedZonesService

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

                                                                                                                                                                                      func NewManagedZonesService

                                                                                                                                                                                      func NewManagedZonesService(s *Service) *ManagedZonesService

                                                                                                                                                                                      func (*ManagedZonesService) Create

                                                                                                                                                                                      func (r *ManagedZonesService) Create(project string, managedzone *ManagedZone) *ManagedZonesCreateCall

                                                                                                                                                                                        Create:

                                                                                                                                                                                        func (*ManagedZonesService) Delete

                                                                                                                                                                                        func (r *ManagedZonesService) Delete(project string, managedZone string) *ManagedZonesDeleteCall

                                                                                                                                                                                          Delete:

                                                                                                                                                                                          func (*ManagedZonesService) Get

                                                                                                                                                                                          func (r *ManagedZonesService) Get(project string, managedZone string) *ManagedZonesGetCall

                                                                                                                                                                                            Get:

                                                                                                                                                                                            func (*ManagedZonesService) List

                                                                                                                                                                                              List:

                                                                                                                                                                                              func (*ManagedZonesService) Patch

                                                                                                                                                                                              func (r *ManagedZonesService) Patch(project string, managedZone string, managedzone *ManagedZone) *ManagedZonesPatchCall

                                                                                                                                                                                                Patch:

                                                                                                                                                                                                func (*ManagedZonesService) Update

                                                                                                                                                                                                func (r *ManagedZonesService) Update(project string, managedZone string, managedzone *ManagedZone) *ManagedZonesUpdateCall

                                                                                                                                                                                                  Update:

                                                                                                                                                                                                  type ManagedZonesUpdateCall

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

                                                                                                                                                                                                  func (*ManagedZonesUpdateCall) ClientOperationId

                                                                                                                                                                                                  func (c *ManagedZonesUpdateCall) ClientOperationId(clientOperationId string) *ManagedZonesUpdateCall

                                                                                                                                                                                                    ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                                                                    func (*ManagedZonesUpdateCall) Context

                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                      func (*ManagedZonesUpdateCall) Do

                                                                                                                                                                                                        Do executes the "dns.managedZones.update" call. Exactly one of *Operation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Operation.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                        func (*ManagedZonesUpdateCall) Fields

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

                                                                                                                                                                                                          func (*ManagedZonesUpdateCall) Header

                                                                                                                                                                                                          func (c *ManagedZonesUpdateCall) Header() http.Header

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

                                                                                                                                                                                                            type Operation

                                                                                                                                                                                                            type Operation struct {
                                                                                                                                                                                                            	DnsKeyContext *OperationDnsKeyContext `json:"dnsKeyContext,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	Id string `json:"id,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                            	// string "dns#operation".
                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	StartTime string `json:"startTime,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// Possible values:
                                                                                                                                                                                                            	//   "done"
                                                                                                                                                                                                            	//   "pending"
                                                                                                                                                                                                            	Status string `json:"status,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	Type string `json:"type,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	User string `json:"user,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	ZoneContext *OperationManagedZoneContext `json:"zoneContext,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "DnsKeyContext") to
                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "DnsKeyContext") to include
                                                                                                                                                                                                            	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                            	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                            }

                                                                                                                                                                                                            func (*Operation) MarshalJSON

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

                                                                                                                                                                                                            type OperationDnsKeyContext

                                                                                                                                                                                                            type OperationDnsKeyContext struct {
                                                                                                                                                                                                            	NewValue *DnsKey `json:"newValue,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	OldValue *DnsKey `json:"oldValue,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "NewValue") to
                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "NewValue") to include in
                                                                                                                                                                                                            	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                            }

                                                                                                                                                                                                            func (*OperationDnsKeyContext) MarshalJSON

                                                                                                                                                                                                            func (s *OperationDnsKeyContext) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                            type OperationManagedZoneContext

                                                                                                                                                                                                            type OperationManagedZoneContext struct {
                                                                                                                                                                                                            	NewValue *ManagedZone `json:"newValue,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	OldValue *ManagedZone `json:"oldValue,omitempty"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "NewValue") to
                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                            
                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "NewValue") to include in
                                                                                                                                                                                                            	// API requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                            }

                                                                                                                                                                                                            func (*OperationManagedZoneContext) MarshalJSON

                                                                                                                                                                                                            func (s *OperationManagedZoneContext) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                            type PoliciesCreateCall

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

                                                                                                                                                                                                            func (*PoliciesCreateCall) ClientOperationId

                                                                                                                                                                                                            func (c *PoliciesCreateCall) ClientOperationId(clientOperationId string) *PoliciesCreateCall

                                                                                                                                                                                                              ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                                                                              func (*PoliciesCreateCall) Context

                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                func (*PoliciesCreateCall) Do

                                                                                                                                                                                                                func (c *PoliciesCreateCall) Do(opts ...googleapi.CallOption) (*Policy, error)

                                                                                                                                                                                                                  Do executes the "dns.policies.create" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                  func (*PoliciesCreateCall) Fields

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

                                                                                                                                                                                                                    func (*PoliciesCreateCall) Header

                                                                                                                                                                                                                    func (c *PoliciesCreateCall) Header() http.Header

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

                                                                                                                                                                                                                      type PoliciesDeleteCall

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

                                                                                                                                                                                                                      func (*PoliciesDeleteCall) ClientOperationId

                                                                                                                                                                                                                      func (c *PoliciesDeleteCall) ClientOperationId(clientOperationId string) *PoliciesDeleteCall

                                                                                                                                                                                                                        ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                                                                                        func (*PoliciesDeleteCall) Context

                                                                                                                                                                                                                          Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                          func (*PoliciesDeleteCall) Do

                                                                                                                                                                                                                            Do executes the "dns.policies.delete" call.

                                                                                                                                                                                                                            func (*PoliciesDeleteCall) Fields

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

                                                                                                                                                                                                                              func (*PoliciesDeleteCall) Header

                                                                                                                                                                                                                              func (c *PoliciesDeleteCall) Header() http.Header

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

                                                                                                                                                                                                                                type PoliciesGetCall

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

                                                                                                                                                                                                                                func (*PoliciesGetCall) ClientOperationId

                                                                                                                                                                                                                                func (c *PoliciesGetCall) ClientOperationId(clientOperationId string) *PoliciesGetCall

                                                                                                                                                                                                                                  ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                                                                                                  func (*PoliciesGetCall) Context

                                                                                                                                                                                                                                    Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                    func (*PoliciesGetCall) Do

                                                                                                                                                                                                                                    func (c *PoliciesGetCall) Do(opts ...googleapi.CallOption) (*Policy, error)

                                                                                                                                                                                                                                      Do executes the "dns.policies.get" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified to check whether the returned error was because http.StatusNotModified was returned.

                                                                                                                                                                                                                                      func (*PoliciesGetCall) Fields

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

                                                                                                                                                                                                                                        func (*PoliciesGetCall) Header

                                                                                                                                                                                                                                        func (c *PoliciesGetCall) Header() http.Header

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

                                                                                                                                                                                                                                          func (*PoliciesGetCall) IfNoneMatch

                                                                                                                                                                                                                                          func (c *PoliciesGetCall) IfNoneMatch(entityTag string) *PoliciesGetCall

                                                                                                                                                                                                                                            IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                            type PoliciesListCall

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

                                                                                                                                                                                                                                            func (*PoliciesListCall) Context

                                                                                                                                                                                                                                              Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                              func (*PoliciesListCall) Do

                                                                                                                                                                                                                                                Do executes the "dns.policies.list" call. Exactly one of *PoliciesListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PoliciesListResponse.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 (*PoliciesListCall) Fields

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

                                                                                                                                                                                                                                                  func (*PoliciesListCall) Header

                                                                                                                                                                                                                                                  func (c *PoliciesListCall) Header() http.Header

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

                                                                                                                                                                                                                                                    func (*PoliciesListCall) IfNoneMatch

                                                                                                                                                                                                                                                    func (c *PoliciesListCall) IfNoneMatch(entityTag string) *PoliciesListCall

                                                                                                                                                                                                                                                      IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                      func (*PoliciesListCall) MaxResults

                                                                                                                                                                                                                                                      func (c *PoliciesListCall) MaxResults(maxResults int64) *PoliciesListCall

                                                                                                                                                                                                                                                        MaxResults sets the optional parameter "maxResults":

                                                                                                                                                                                                                                                        func (*PoliciesListCall) PageToken

                                                                                                                                                                                                                                                        func (c *PoliciesListCall) PageToken(pageToken string) *PoliciesListCall

                                                                                                                                                                                                                                                          PageToken sets the optional parameter "pageToken":

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

                                                                                                                                                                                                                                                            type PoliciesListResponse struct {
                                                                                                                                                                                                                                                            	Header *ResponseHeader `json:"header,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// Kind: Type of resource.
                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	Policies []*Policy `json:"policies,omitempty"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Header") to
                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Header") to include in API
                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                            func (*PoliciesListResponse) MarshalJSON

                                                                                                                                                                                                                                                            func (s *PoliciesListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                            type PoliciesPatchCall

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

                                                                                                                                                                                                                                                            func (*PoliciesPatchCall) ClientOperationId

                                                                                                                                                                                                                                                            func (c *PoliciesPatchCall) ClientOperationId(clientOperationId string) *PoliciesPatchCall

                                                                                                                                                                                                                                                              ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                                                                                                                              func (*PoliciesPatchCall) Context

                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                func (*PoliciesPatchCall) Do

                                                                                                                                                                                                                                                                  Do executes the "dns.policies.patch" call. Exactly one of *PoliciesPatchResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PoliciesPatchResponse.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 (*PoliciesPatchCall) Fields

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

                                                                                                                                                                                                                                                                    func (*PoliciesPatchCall) Header

                                                                                                                                                                                                                                                                    func (c *PoliciesPatchCall) Header() http.Header

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

                                                                                                                                                                                                                                                                      type PoliciesPatchResponse

                                                                                                                                                                                                                                                                      type PoliciesPatchResponse struct {
                                                                                                                                                                                                                                                                      	Header *ResponseHeader `json:"header,omitempty"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	Policy *Policy `json:"policy,omitempty"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                      	// server.
                                                                                                                                                                                                                                                                      	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// ForceSendFields is a list of field names (e.g. "Header") to
                                                                                                                                                                                                                                                                      	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                      	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                      	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                      	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                      	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                      	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                      	// NullFields is a list of field names (e.g. "Header") to include in API
                                                                                                                                                                                                                                                                      	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                      	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                      	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                      	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                      	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                      	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                                                      func (*PoliciesPatchResponse) MarshalJSON

                                                                                                                                                                                                                                                                      func (s *PoliciesPatchResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                      type PoliciesService

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

                                                                                                                                                                                                                                                                      func NewPoliciesService

                                                                                                                                                                                                                                                                      func NewPoliciesService(s *Service) *PoliciesService

                                                                                                                                                                                                                                                                      func (*PoliciesService) Create

                                                                                                                                                                                                                                                                      func (r *PoliciesService) Create(project string, policy *Policy) *PoliciesCreateCall

                                                                                                                                                                                                                                                                        Create:

                                                                                                                                                                                                                                                                        func (*PoliciesService) Delete

                                                                                                                                                                                                                                                                        func (r *PoliciesService) Delete(project string, policy string) *PoliciesDeleteCall

                                                                                                                                                                                                                                                                          Delete:

                                                                                                                                                                                                                                                                          func (*PoliciesService) Get

                                                                                                                                                                                                                                                                          func (r *PoliciesService) Get(project string, policy string) *PoliciesGetCall

                                                                                                                                                                                                                                                                            Get:

                                                                                                                                                                                                                                                                            func (*PoliciesService) List

                                                                                                                                                                                                                                                                            func (r *PoliciesService) List(project string) *PoliciesListCall

                                                                                                                                                                                                                                                                              List:

                                                                                                                                                                                                                                                                              func (*PoliciesService) Patch

                                                                                                                                                                                                                                                                              func (r *PoliciesService) Patch(project string, policy string, policy2 *Policy) *PoliciesPatchCall

                                                                                                                                                                                                                                                                                Patch:

                                                                                                                                                                                                                                                                                func (*PoliciesService) Update

                                                                                                                                                                                                                                                                                func (r *PoliciesService) Update(project string, policy string, policy2 *Policy) *PoliciesUpdateCall

                                                                                                                                                                                                                                                                                  Update:

                                                                                                                                                                                                                                                                                  type PoliciesUpdateCall

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

                                                                                                                                                                                                                                                                                  func (*PoliciesUpdateCall) ClientOperationId

                                                                                                                                                                                                                                                                                  func (c *PoliciesUpdateCall) ClientOperationId(clientOperationId string) *PoliciesUpdateCall

                                                                                                                                                                                                                                                                                    ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                                                                                                                                                    func (*PoliciesUpdateCall) Context

                                                                                                                                                                                                                                                                                      Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                      func (*PoliciesUpdateCall) Do

                                                                                                                                                                                                                                                                                        Do executes the "dns.policies.update" call. Exactly one of *PoliciesUpdateResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *PoliciesUpdateResponse.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 (*PoliciesUpdateCall) Fields

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

                                                                                                                                                                                                                                                                                          func (*PoliciesUpdateCall) Header

                                                                                                                                                                                                                                                                                          func (c *PoliciesUpdateCall) Header() http.Header

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

                                                                                                                                                                                                                                                                                            type PoliciesUpdateResponse

                                                                                                                                                                                                                                                                                            type PoliciesUpdateResponse struct {
                                                                                                                                                                                                                                                                                            	Header *ResponseHeader `json:"header,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	Policy *Policy `json:"policy,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Header") to
                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Header") to include in API
                                                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            func (*PoliciesUpdateResponse) MarshalJSON

                                                                                                                                                                                                                                                                                            func (s *PoliciesUpdateResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                            type Policy

                                                                                                                                                                                                                                                                                            type Policy struct {
                                                                                                                                                                                                                                                                                            	AlternativeNameServerConfig *PolicyAlternativeNameServerConfig `json:"alternativeNameServerConfig,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	Description string `json:"description,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	EnableInboundForwarding bool `json:"enableInboundForwarding,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	EnableLogging bool `json:"enableLogging,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	Id uint64 `json:"id,omitempty,string"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                            	// string "dns#policy".
                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	Networks []*PolicyNetwork `json:"networks,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                            	// "AlternativeNameServerConfig") to unconditionally include in API
                                                                                                                                                                                                                                                                                            	// requests. By default, fields with empty values are omitted from API
                                                                                                                                                                                                                                                                                            	// requests. However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                            	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                            	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                            	// Patch requests.
                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                            	// "AlternativeNameServerConfig") to include in API requests with the
                                                                                                                                                                                                                                                                                            	// JSON null value. By default, fields with empty values are omitted
                                                                                                                                                                                                                                                                                            	// from API requests. However, any field with an empty value appearing
                                                                                                                                                                                                                                                                                            	// in NullFields will be sent to the server as null. It is an error if a
                                                                                                                                                                                                                                                                                            	// field in this list has a non-empty value. This may be used to include
                                                                                                                                                                                                                                                                                            	// null fields in Patch requests.
                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            func (*Policy) MarshalJSON

                                                                                                                                                                                                                                                                                            func (s *Policy) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                            type PolicyAlternativeNameServerConfig

                                                                                                                                                                                                                                                                                            type PolicyAlternativeNameServerConfig struct {
                                                                                                                                                                                                                                                                                            	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                            	// string "dns#policyAlternativeNameServerConfig".
                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	TargetNameServers []*PolicyAlternativeNameServerConfigTargetNameServer `json:"targetNameServers,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            func (*PolicyAlternativeNameServerConfig) MarshalJSON

                                                                                                                                                                                                                                                                                            func (s *PolicyAlternativeNameServerConfig) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                            type PolicyAlternativeNameServerConfigTargetNameServer

                                                                                                                                                                                                                                                                                            type PolicyAlternativeNameServerConfigTargetNameServer struct {
                                                                                                                                                                                                                                                                                            	// Possible values:
                                                                                                                                                                                                                                                                                            	//   "default"
                                                                                                                                                                                                                                                                                            	//   "private"
                                                                                                                                                                                                                                                                                            	ForwardingPath string `json:"forwardingPath,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	Ipv4Address string `json:"ipv4Address,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                            	// string "dns#policyAlternativeNameServerConfigTargetNameServer".
                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "ForwardingPath") to
                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "ForwardingPath") to
                                                                                                                                                                                                                                                                                            	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                            	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                            	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                            	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                            	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                            	// requests.
                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            func (*PolicyAlternativeNameServerConfigTargetNameServer) MarshalJSON

                                                                                                                                                                                                                                                                                            type PolicyNetwork

                                                                                                                                                                                                                                                                                            type PolicyNetwork struct {
                                                                                                                                                                                                                                                                                            	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                            	// string "dns#policyNetwork".
                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	NetworkUrl string `json:"networkUrl,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            func (*PolicyNetwork) MarshalJSON

                                                                                                                                                                                                                                                                                            func (s *PolicyNetwork) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                            type Project

                                                                                                                                                                                                                                                                                            type Project struct {
                                                                                                                                                                                                                                                                                            	Id string `json:"id,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                            	// string "dns#project".
                                                                                                                                                                                                                                                                                            	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	Number uint64 `json:"number,omitempty,string"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	Quota *Quota `json:"quota,omitempty"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                            	// server.
                                                                                                                                                                                                                                                                                            	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// ForceSendFields is a list of field names (e.g. "Id") to
                                                                                                                                                                                                                                                                                            	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                            	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                            	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                            	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                            	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                            	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            
                                                                                                                                                                                                                                                                                            	// NullFields is a list of field names (e.g. "Id") to include in API
                                                                                                                                                                                                                                                                                            	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                            	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                            	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                            	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                            	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                            	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                            func (*Project) MarshalJSON

                                                                                                                                                                                                                                                                                            func (s *Project) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                            type ProjectsGetCall

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

                                                                                                                                                                                                                                                                                            func (*ProjectsGetCall) ClientOperationId

                                                                                                                                                                                                                                                                                            func (c *ProjectsGetCall) ClientOperationId(clientOperationId string) *ProjectsGetCall

                                                                                                                                                                                                                                                                                              ClientOperationId sets the optional parameter "clientOperationId":

                                                                                                                                                                                                                                                                                              func (*ProjectsGetCall) Context

                                                                                                                                                                                                                                                                                                Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                func (*ProjectsGetCall) Do

                                                                                                                                                                                                                                                                                                func (c *ProjectsGetCall) Do(opts ...googleapi.CallOption) (*Project, error)

                                                                                                                                                                                                                                                                                                  Do executes the "dns.projects.get" call. Exactly one of *Project or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Project.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 (*ProjectsGetCall) Fields

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

                                                                                                                                                                                                                                                                                                    func (*ProjectsGetCall) Header

                                                                                                                                                                                                                                                                                                    func (c *ProjectsGetCall) Header() http.Header

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

                                                                                                                                                                                                                                                                                                      func (*ProjectsGetCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                      func (c *ProjectsGetCall) IfNoneMatch(entityTag string) *ProjectsGetCall

                                                                                                                                                                                                                                                                                                        IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                        type ProjectsService

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

                                                                                                                                                                                                                                                                                                        func NewProjectsService

                                                                                                                                                                                                                                                                                                        func NewProjectsService(s *Service) *ProjectsService

                                                                                                                                                                                                                                                                                                        func (*ProjectsService) Get

                                                                                                                                                                                                                                                                                                        func (r *ProjectsService) Get(project string) *ProjectsGetCall

                                                                                                                                                                                                                                                                                                          Get:

                                                                                                                                                                                                                                                                                                          type Quota

                                                                                                                                                                                                                                                                                                          type Quota struct {
                                                                                                                                                                                                                                                                                                          	DnsKeysPerManagedZone int64 `json:"dnsKeysPerManagedZone,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                          	// string "dns#quota".
                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	ManagedZones int64 `json:"managedZones,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	ManagedZonesPerNetwork int64 `json:"managedZonesPerNetwork,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	NetworksPerManagedZone int64 `json:"networksPerManagedZone,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	NetworksPerPolicy int64 `json:"networksPerPolicy,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	Policies int64 `json:"policies,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	ResourceRecordsPerRrset int64 `json:"resourceRecordsPerRrset,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	RrsetAdditionsPerChange int64 `json:"rrsetAdditionsPerChange,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	RrsetDeletionsPerChange int64 `json:"rrsetDeletionsPerChange,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	RrsetsPerManagedZone int64 `json:"rrsetsPerManagedZone,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	TargetNameServersPerManagedZone int64 `json:"targetNameServersPerManagedZone,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	TargetNameServersPerPolicy int64 `json:"targetNameServersPerPolicy,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	TotalRrdataSizePerChange int64 `json:"totalRrdataSizePerChange,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	WhitelistedKeySpecs []*DnsKeySpec `json:"whitelistedKeySpecs,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g.
                                                                                                                                                                                                                                                                                                          	// "DnsKeysPerManagedZone") to unconditionally include in API requests.
                                                                                                                                                                                                                                                                                                          	// By default, fields with empty values are omitted from API requests.
                                                                                                                                                                                                                                                                                                          	// However, any non-pointer, non-interface field appearing in
                                                                                                                                                                                                                                                                                                          	// ForceSendFields will be sent to the server regardless of whether the
                                                                                                                                                                                                                                                                                                          	// field is empty or not. This may be used to include empty fields in
                                                                                                                                                                                                                                                                                                          	// Patch requests.
                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "DnsKeysPerManagedZone") to
                                                                                                                                                                                                                                                                                                          	// include in API requests with the JSON null value. By default, fields
                                                                                                                                                                                                                                                                                                          	// with empty values are omitted from API requests. However, any field
                                                                                                                                                                                                                                                                                                          	// with an empty value appearing in NullFields will be sent to the
                                                                                                                                                                                                                                                                                                          	// server as null. It is an error if a field in this list has a
                                                                                                                                                                                                                                                                                                          	// non-empty value. This may be used to include null fields in Patch
                                                                                                                                                                                                                                                                                                          	// requests.
                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                          func (*Quota) MarshalJSON

                                                                                                                                                                                                                                                                                                          func (s *Quota) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                          type ResourceRecordSet

                                                                                                                                                                                                                                                                                                          type ResourceRecordSet struct {
                                                                                                                                                                                                                                                                                                          	// Kind: Identifies what kind of resource this is. Value: the fixed
                                                                                                                                                                                                                                                                                                          	// string "dns#resourceRecordSet".
                                                                                                                                                                                                                                                                                                          	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	Name string `json:"name,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	Rrdatas []string `json:"rrdatas,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	SignatureRrdatas []string `json:"signatureRrdatas,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	Ttl int64 `json:"ttl,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	Type string `json:"type,omitempty"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// ForceSendFields is a list of field names (e.g. "Kind") to
                                                                                                                                                                                                                                                                                                          	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                          	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                          	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                          	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                          	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                          	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                          
                                                                                                                                                                                                                                                                                                          	// NullFields is a list of field names (e.g. "Kind") to include in API
                                                                                                                                                                                                                                                                                                          	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                          	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                          	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                          	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                          	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                          	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                          func (*ResourceRecordSet) MarshalJSON

                                                                                                                                                                                                                                                                                                          func (s *ResourceRecordSet) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                          type ResourceRecordSetsListCall

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

                                                                                                                                                                                                                                                                                                          func (*ResourceRecordSetsListCall) Context

                                                                                                                                                                                                                                                                                                            Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.

                                                                                                                                                                                                                                                                                                            func (*ResourceRecordSetsListCall) Do

                                                                                                                                                                                                                                                                                                              Do executes the "dns.resourceRecordSets.list" call. Exactly one of *ResourceRecordSetsListResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ResourceRecordSetsListResponse.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 (*ResourceRecordSetsListCall) Fields

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

                                                                                                                                                                                                                                                                                                                func (*ResourceRecordSetsListCall) Header

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

                                                                                                                                                                                                                                                                                                                  func (*ResourceRecordSetsListCall) IfNoneMatch

                                                                                                                                                                                                                                                                                                                    IfNoneMatch sets the optional parameter which makes the operation fail if the object's ETag matches the given value. This is useful for getting updates only after the object has changed since the last request. Use googleapi.IsNotModified to check whether the response error from Do is the result of In-None-Match.

                                                                                                                                                                                                                                                                                                                    func (*ResourceRecordSetsListCall) MaxResults

                                                                                                                                                                                                                                                                                                                    func (c *ResourceRecordSetsListCall) MaxResults(maxResults int64) *ResourceRecordSetsListCall

                                                                                                                                                                                                                                                                                                                      MaxResults sets the optional parameter "maxResults":

                                                                                                                                                                                                                                                                                                                      func (*ResourceRecordSetsListCall) Name

                                                                                                                                                                                                                                                                                                                        Name sets the optional parameter "name":

                                                                                                                                                                                                                                                                                                                        func (*ResourceRecordSetsListCall) PageToken

                                                                                                                                                                                                                                                                                                                          PageToken sets the optional parameter "pageToken":

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

                                                                                                                                                                                                                                                                                                                              Type sets the optional parameter "type":

                                                                                                                                                                                                                                                                                                                              type ResourceRecordSetsListResponse

                                                                                                                                                                                                                                                                                                                              type ResourceRecordSetsListResponse struct {
                                                                                                                                                                                                                                                                                                                              	Header *ResponseHeader `json:"header,omitempty"`
                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                              	// Kind: Type of resource.
                                                                                                                                                                                                                                                                                                                              	Kind string `json:"kind,omitempty"`
                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                              	NextPageToken string `json:"nextPageToken,omitempty"`
                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                              	Rrsets []*ResourceRecordSet `json:"rrsets,omitempty"`
                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                              	// ServerResponse contains the HTTP response code and headers from the
                                                                                                                                                                                                                                                                                                                              	// server.
                                                                                                                                                                                                                                                                                                                              	googleapi.ServerResponse `json:"-"`
                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                              	// ForceSendFields is a list of field names (e.g. "Header") to
                                                                                                                                                                                                                                                                                                                              	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                              	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                              	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                              	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                              	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                              	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                              
                                                                                                                                                                                                                                                                                                                              	// NullFields is a list of field names (e.g. "Header") to include in API
                                                                                                                                                                                                                                                                                                                              	// requests with the JSON null value. By default, fields with empty
                                                                                                                                                                                                                                                                                                                              	// values are omitted from API requests. However, any field with an
                                                                                                                                                                                                                                                                                                                              	// empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                              	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                              	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                              	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                              func (*ResourceRecordSetsListResponse) MarshalJSON

                                                                                                                                                                                                                                                                                                                              func (s *ResourceRecordSetsListResponse) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                              type ResourceRecordSetsService

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

                                                                                                                                                                                                                                                                                                                              func NewResourceRecordSetsService

                                                                                                                                                                                                                                                                                                                              func NewResourceRecordSetsService(s *Service) *ResourceRecordSetsService

                                                                                                                                                                                                                                                                                                                              func (*ResourceRecordSetsService) List

                                                                                                                                                                                                                                                                                                                              func (r *ResourceRecordSetsService) List(project string, managedZone string) *ResourceRecordSetsListCall

                                                                                                                                                                                                                                                                                                                                List:

                                                                                                                                                                                                                                                                                                                                type ResponseHeader

                                                                                                                                                                                                                                                                                                                                type ResponseHeader struct {
                                                                                                                                                                                                                                                                                                                                	OperationId string `json:"operationId,omitempty"`
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	// ForceSendFields is a list of field names (e.g. "OperationId") to
                                                                                                                                                                                                                                                                                                                                	// unconditionally include in API requests. By default, fields with
                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any non-pointer,
                                                                                                                                                                                                                                                                                                                                	// non-interface field appearing in ForceSendFields will be sent to the
                                                                                                                                                                                                                                                                                                                                	// server regardless of whether the field is empty or not. This may be
                                                                                                                                                                                                                                                                                                                                	// used to include empty fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                	ForceSendFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	// NullFields is a list of field names (e.g. "OperationId") to include
                                                                                                                                                                                                                                                                                                                                	// in API requests with the JSON null value. By default, fields with
                                                                                                                                                                                                                                                                                                                                	// empty values are omitted from API requests. However, any field with
                                                                                                                                                                                                                                                                                                                                	// an empty value appearing in NullFields will be sent to the server as
                                                                                                                                                                                                                                                                                                                                	// null. It is an error if a field in this list has a non-empty value.
                                                                                                                                                                                                                                                                                                                                	// This may be used to include null fields in Patch requests.
                                                                                                                                                                                                                                                                                                                                	NullFields []string `json:"-"`
                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                func (*ResponseHeader) MarshalJSON

                                                                                                                                                                                                                                                                                                                                func (s *ResponseHeader) MarshalJSON() ([]byte, error)

                                                                                                                                                                                                                                                                                                                                type Service

                                                                                                                                                                                                                                                                                                                                type Service struct {
                                                                                                                                                                                                                                                                                                                                	BasePath  string // API endpoint base URL
                                                                                                                                                                                                                                                                                                                                	UserAgent string // optional additional User-Agent fragment
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	Changes *ChangesService
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	DnsKeys *DnsKeysService
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	ManagedZoneOperations *ManagedZoneOperationsService
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	ManagedZones *ManagedZonesService
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	Policies *PoliciesService
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	Projects *ProjectsService
                                                                                                                                                                                                                                                                                                                                
                                                                                                                                                                                                                                                                                                                                	ResourceRecordSets *ResourceRecordSetsService
                                                                                                                                                                                                                                                                                                                                	// contains filtered or unexported fields
                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                func New

                                                                                                                                                                                                                                                                                                                                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.

                                                                                                                                                                                                                                                                                                                                    Source Files