prod_tt_sasportal

package
v0.15.1-0...-796286a Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2020 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package prod_tt_sasportal provides access to the SAS Portal API (Testing).

For product documentation, see: https://developers.google.com/spectrum-access-system/

Creating a client

Usage example:

import "google.golang.org/api/prod_tt_sasportal/v1alpha1"
...
ctx := context.Background()
prod_tt_sasportalService, err := prod_tt_sasportal.NewService(ctx)

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

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

Other authentication options

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

prod_tt_sasportalService, err := prod_tt_sasportal.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, ...)
prod_tt_sasportalService, err := prod_tt_sasportal.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 your email address
	UserinfoEmailScope = "https://www.googleapis.com/auth/userinfo.email"
)

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomersDevicesBulkCall

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

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

Do executes the "prod_tt_sasportal.customers.devices.bulk" call. Exactly one of *SasPortalBulkCreateDeviceResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalBulkCreateDeviceResponse.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 (*CustomersDevicesBulkCall) Fields

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

func (*CustomersDevicesBulkCall) Header

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

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

type CustomersDevicesCreateCall

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

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

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

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

func (*CustomersDevicesCreateCall) Header

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

type CustomersDevicesCreateSignedCall

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

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

Do executes the "prod_tt_sasportal.customers.devices.createSigned" call. Exactly one of *SasPortalDevice or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDevice.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 (*CustomersDevicesCreateSignedCall) Fields

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

func (*CustomersDevicesCreateSignedCall) Header

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

type CustomersDevicesDeleteCall

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

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

Do executes the "prod_tt_sasportal.customers.devices.delete" call. Exactly one of *SasPortalEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalEmpty.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 (*CustomersDevicesDeleteCall) Fields

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

func (*CustomersDevicesDeleteCall) Header

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

type CustomersDevicesGetCall

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

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

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

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

func (*CustomersDevicesGetCall) Header

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

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

func (*CustomersDevicesGetCall) IfNoneMatch

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

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 CustomersDevicesListCall

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

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

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

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

func (*CustomersDevicesListCall) Filter

Filter sets the optional parameter "filter": The filter expression. The filter should have one of the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds to serial_number of the device. The filter is case insensitive.

func (*CustomersDevicesListCall) Header

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

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

func (*CustomersDevicesListCall) IfNoneMatch

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

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 (*CustomersDevicesListCall) PageSize

PageSize sets the optional parameter "pageSize": The maximum number of devices to return in the response.

func (*CustomersDevicesListCall) PageToken

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

PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.

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

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

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

Do executes the "prod_tt_sasportal.customers.devices.move" call. Exactly one of *SasPortalOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalOperation.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 (*CustomersDevicesMoveCall) Fields

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

func (*CustomersDevicesMoveCall) Header

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

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

type CustomersDevicesPatchCall

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

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

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

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

func (*CustomersDevicesPatchCall) Header

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

func (*CustomersDevicesPatchCall) UpdateMask

func (c *CustomersDevicesPatchCall) UpdateMask(updateMask string) *CustomersDevicesPatchCall

UpdateMask sets the optional parameter "updateMask": Fields to be updated.

type CustomersDevicesService

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

func NewCustomersDevicesService

func NewCustomersDevicesService(s *Service) *CustomersDevicesService

func (*CustomersDevicesService) Bulk

func (r *CustomersDevicesService) Bulk(parent string, sasportalbulkcreatedevicerequest *SasPortalBulkCreateDeviceRequest) *CustomersDevicesBulkCall

Bulk: Creates a device under a node or customer. Returned devices are unordered.

func (*CustomersDevicesService) Create

func (r *CustomersDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *CustomersDevicesCreateCall

Create: Creates a device under a node or customer.

func (*CustomersDevicesService) CreateSigned

func (r *CustomersDevicesService) CreateSigned(parent string, sasportalcreatesigneddevicerequest *SasPortalCreateSignedDeviceRequest) *CustomersDevicesCreateSignedCall

CreateSigned: Creates a signed device under a node or customer.

func (*CustomersDevicesService) Delete

Delete: Deletes a device.

func (*CustomersDevicesService) Get

Get: Gets details about a device.

func (*CustomersDevicesService) List

List: Lists devices under a node or customer.

func (*CustomersDevicesService) Move

func (r *CustomersDevicesService) Move(name string, sasportalmovedevicerequest *SasPortalMoveDeviceRequest) *CustomersDevicesMoveCall

Move: Moves a device under another node or customer.

func (*CustomersDevicesService) Patch

func (r *CustomersDevicesService) Patch(name string, sasportaldevice *SasPortalDevice) *CustomersDevicesPatchCall

Patch: Updates a device.

func (*CustomersDevicesService) SignDevice

func (r *CustomersDevicesService) SignDevice(name string, sasportalsigndevicerequest *SasPortalSignDeviceRequest) *CustomersDevicesSignDeviceCall

SignDevice: Signs a device.

func (*CustomersDevicesService) UpdateSigned

func (r *CustomersDevicesService) UpdateSigned(name string, sasportalupdatesigneddevicerequest *SasPortalUpdateSignedDeviceRequest) *CustomersDevicesUpdateSignedCall

UpdateSigned: Updates a signed device.

type CustomersDevicesSignDeviceCall

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

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

Do executes the "prod_tt_sasportal.customers.devices.signDevice" call. Exactly one of *SasPortalEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalEmpty.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 (*CustomersDevicesSignDeviceCall) Fields

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

func (*CustomersDevicesSignDeviceCall) Header

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

type CustomersDevicesUpdateSignedCall

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

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

Do executes the "prod_tt_sasportal.customers.devices.updateSigned" call. Exactly one of *SasPortalDevice or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDevice.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 (*CustomersDevicesUpdateSignedCall) Fields

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

func (*CustomersDevicesUpdateSignedCall) Header

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

type CustomersGetCall

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

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

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

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

func (*CustomersGetCall) Header

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

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

func (*CustomersGetCall) IfNoneMatch

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

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 CustomersListCall

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

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

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

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

func (*CustomersListCall) Header

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

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

func (*CustomersListCall) IfNoneMatch

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

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 (*CustomersListCall) PageSize

func (c *CustomersListCall) PageSize(pageSize int64) *CustomersListCall

PageSize sets the optional parameter "pageSize": The maximum number of customers to return in the response.

func (*CustomersListCall) PageToken

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

PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListCustomers method that indicates where this listing should continue from.

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

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

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

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

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

func (*CustomersNodesCreateCall) Header

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

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

type CustomersNodesDeleteCall

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

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

Do executes the "prod_tt_sasportal.customers.nodes.delete" call. Exactly one of *SasPortalEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalEmpty.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 (*CustomersNodesDeleteCall) Fields

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

func (*CustomersNodesDeleteCall) Header

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

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

type CustomersNodesGetCall

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

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

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

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

func (*CustomersNodesGetCall) Header

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

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

func (*CustomersNodesGetCall) IfNoneMatch

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

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 CustomersNodesListCall

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

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

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

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

func (*CustomersNodesListCall) Header

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

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

func (*CustomersNodesListCall) IfNoneMatch

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

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 (*CustomersNodesListCall) PageSize

func (c *CustomersNodesListCall) PageSize(pageSize int64) *CustomersNodesListCall

PageSize sets the optional parameter "pageSize": The maximum number of nodes to return in the response.

func (*CustomersNodesListCall) PageToken

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

PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListNodes method that indicates where this listing should continue from.

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

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

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

Do executes the "prod_tt_sasportal.customers.nodes.move" call. Exactly one of *SasPortalOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalOperation.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 (*CustomersNodesMoveCall) Fields

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

func (*CustomersNodesMoveCall) Header

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

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

type CustomersNodesPatchCall

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

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

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

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

func (*CustomersNodesPatchCall) Header

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

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

func (*CustomersNodesPatchCall) UpdateMask

func (c *CustomersNodesPatchCall) UpdateMask(updateMask string) *CustomersNodesPatchCall

UpdateMask sets the optional parameter "updateMask": Fields to be updated.

type CustomersNodesService

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

func NewCustomersNodesService

func NewCustomersNodesService(s *Service) *CustomersNodesService

func (*CustomersNodesService) Create

func (r *CustomersNodesService) Create(parent string, sasportalnode *SasPortalNode) *CustomersNodesCreateCall

Create: Creates a new node.

func (*CustomersNodesService) Delete

Delete: Deletes a node.

func (*CustomersNodesService) Get

Get: Returns a requested node.

func (*CustomersNodesService) List

List: Lists nodes.

func (*CustomersNodesService) Move

func (r *CustomersNodesService) Move(name string, sasportalmovenoderequest *SasPortalMoveNodeRequest) *CustomersNodesMoveCall

Move: Moves a node under another node or customer.

func (*CustomersNodesService) Patch

func (r *CustomersNodesService) Patch(name string, sasportalnode *SasPortalNode) *CustomersNodesPatchCall

Patch: Updates an existing node.

type CustomersPatchCall

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

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

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

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

func (*CustomersPatchCall) Header

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

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

func (*CustomersPatchCall) UpdateMask

func (c *CustomersPatchCall) UpdateMask(updateMask string) *CustomersPatchCall

UpdateMask sets the optional parameter "updateMask": Fields to be updated.

type CustomersService

type CustomersService struct {
	Devices *CustomersDevicesService

	Nodes *CustomersNodesService
	// contains filtered or unexported fields
}

func NewCustomersService

func NewCustomersService(s *Service) *CustomersService

func (*CustomersService) Get

Get: Returns a requested customer.

func (*CustomersService) List

List: Returns a list of requested customers.

func (*CustomersService) Patch

func (r *CustomersService) Patch(name string, sasportalcustomer *SasPortalCustomer) *CustomersPatchCall

Patch: Updates an existing customer.

type InstallerGenerateSecretCall

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

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

Do executes the "prod_tt_sasportal.installer.generateSecret" call. Exactly one of *SasPortalGenerateSecretResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalGenerateSecretResponse.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 (*InstallerGenerateSecretCall) Fields

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

func (*InstallerGenerateSecretCall) Header

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

type InstallerService

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

func NewInstallerService

func NewInstallerService(s *Service) *InstallerService

func (*InstallerService) GenerateSecret

func (r *InstallerService) GenerateSecret(sasportalgeneratesecretrequest *SasPortalGenerateSecretRequest) *InstallerGenerateSecretCall

GenerateSecret: Generates a secret to be used with the ValidateInstaller method

func (*InstallerService) Validate

func (r *InstallerService) Validate(sasportalvalidateinstallerrequest *SasPortalValidateInstallerRequest) *InstallerValidateCall

Validate: Validates the identity of a Certified Professional Installer (CPI).

type InstallerValidateCall

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

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

Do executes the "prod_tt_sasportal.installer.validate" call. Exactly one of *SasPortalValidateInstallerResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalValidateInstallerResponse.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 (*InstallerValidateCall) Fields

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

func (*InstallerValidateCall) Header

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

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

type NodesDevicesBulkCall

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

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

Do executes the "prod_tt_sasportal.nodes.devices.bulk" call. Exactly one of *SasPortalBulkCreateDeviceResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalBulkCreateDeviceResponse.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 (*NodesDevicesBulkCall) Fields

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

func (*NodesDevicesBulkCall) Header

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

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

type NodesDevicesCreateCall

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

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

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

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

func (*NodesDevicesCreateCall) Header

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

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

type NodesDevicesCreateSignedCall

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

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

Do executes the "prod_tt_sasportal.nodes.devices.createSigned" call. Exactly one of *SasPortalDevice or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDevice.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 (*NodesDevicesCreateSignedCall) Fields

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

func (*NodesDevicesCreateSignedCall) Header

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

type NodesDevicesDeleteCall

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

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

Do executes the "prod_tt_sasportal.nodes.devices.delete" call. Exactly one of *SasPortalEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalEmpty.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 (*NodesDevicesDeleteCall) Fields

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

func (*NodesDevicesDeleteCall) Header

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

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

type NodesDevicesGetCall

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

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

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

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

func (*NodesDevicesGetCall) Header

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

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

func (*NodesDevicesGetCall) IfNoneMatch

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

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 NodesDevicesListCall

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

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

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

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

func (*NodesDevicesListCall) Filter

Filter sets the optional parameter "filter": The filter expression. The filter should have one of the following formats: "sn=123454" or "display_name=MyDevice". sn corresponds to serial_number of the device. The filter is case insensitive.

func (*NodesDevicesListCall) Header

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

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

func (*NodesDevicesListCall) IfNoneMatch

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

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 (*NodesDevicesListCall) PageSize

func (c *NodesDevicesListCall) PageSize(pageSize int64) *NodesDevicesListCall

PageSize sets the optional parameter "pageSize": The maximum number of devices to return in the response.

func (*NodesDevicesListCall) PageToken

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

PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListDevices that indicates where this listing should continue from.

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

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

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

Do executes the "prod_tt_sasportal.nodes.devices.move" call. Exactly one of *SasPortalOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalOperation.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 (*NodesDevicesMoveCall) Fields

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

func (*NodesDevicesMoveCall) Header

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

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

type NodesDevicesPatchCall

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

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

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

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

func (*NodesDevicesPatchCall) Header

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

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

func (*NodesDevicesPatchCall) UpdateMask

func (c *NodesDevicesPatchCall) UpdateMask(updateMask string) *NodesDevicesPatchCall

UpdateMask sets the optional parameter "updateMask": Fields to be updated.

type NodesDevicesService

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

func NewNodesDevicesService

func NewNodesDevicesService(s *Service) *NodesDevicesService

func (*NodesDevicesService) Bulk

func (r *NodesDevicesService) Bulk(parent string, sasportalbulkcreatedevicerequest *SasPortalBulkCreateDeviceRequest) *NodesDevicesBulkCall

Bulk: Creates a device under a node or customer. Returned devices are unordered.

func (*NodesDevicesService) Create

func (r *NodesDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *NodesDevicesCreateCall

Create: Creates a device under a node or customer.

func (*NodesDevicesService) CreateSigned

func (r *NodesDevicesService) CreateSigned(parent string, sasportalcreatesigneddevicerequest *SasPortalCreateSignedDeviceRequest) *NodesDevicesCreateSignedCall

CreateSigned: Creates a signed device under a node or customer.

func (*NodesDevicesService) Delete

Delete: Deletes a device.

func (*NodesDevicesService) Get

Get: Gets details about a device.

func (*NodesDevicesService) List

List: Lists devices under a node or customer.

func (*NodesDevicesService) Move

func (r *NodesDevicesService) Move(name string, sasportalmovedevicerequest *SasPortalMoveDeviceRequest) *NodesDevicesMoveCall

Move: Moves a device under another node or customer.

func (*NodesDevicesService) Patch

func (r *NodesDevicesService) Patch(name string, sasportaldevice *SasPortalDevice) *NodesDevicesPatchCall

Patch: Updates a device.

func (*NodesDevicesService) SignDevice

func (r *NodesDevicesService) SignDevice(name string, sasportalsigndevicerequest *SasPortalSignDeviceRequest) *NodesDevicesSignDeviceCall

SignDevice: Signs a device.

func (*NodesDevicesService) UpdateSigned

func (r *NodesDevicesService) UpdateSigned(name string, sasportalupdatesigneddevicerequest *SasPortalUpdateSignedDeviceRequest) *NodesDevicesUpdateSignedCall

UpdateSigned: Updates a signed device.

type NodesDevicesSignDeviceCall

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

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

Do executes the "prod_tt_sasportal.nodes.devices.signDevice" call. Exactly one of *SasPortalEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalEmpty.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 (*NodesDevicesSignDeviceCall) Fields

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

func (*NodesDevicesSignDeviceCall) Header

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

type NodesDevicesUpdateSignedCall

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

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

Do executes the "prod_tt_sasportal.nodes.devices.updateSigned" call. Exactly one of *SasPortalDevice or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDevice.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 (*NodesDevicesUpdateSignedCall) Fields

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

func (*NodesDevicesUpdateSignedCall) Header

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

type NodesNodesCreateCall

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

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

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

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

func (*NodesNodesCreateCall) Header

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

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

type NodesNodesDeleteCall

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

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

Do executes the "prod_tt_sasportal.nodes.nodes.delete" call. Exactly one of *SasPortalEmpty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalEmpty.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 (*NodesNodesDeleteCall) Fields

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

func (*NodesNodesDeleteCall) Header

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

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

type NodesNodesGetCall

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

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

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

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

func (*NodesNodesGetCall) Header

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

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

func (*NodesNodesGetCall) IfNoneMatch

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

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 NodesNodesListCall

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

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

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

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

func (*NodesNodesListCall) Header

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

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

func (*NodesNodesListCall) IfNoneMatch

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

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 (*NodesNodesListCall) PageSize

func (c *NodesNodesListCall) PageSize(pageSize int64) *NodesNodesListCall

PageSize sets the optional parameter "pageSize": The maximum number of nodes to return in the response.

func (*NodesNodesListCall) PageToken

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

PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListNodes method that indicates where this listing should continue from.

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

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

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

Do executes the "prod_tt_sasportal.nodes.nodes.move" call. Exactly one of *SasPortalOperation or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalOperation.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 (*NodesNodesMoveCall) Fields

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

func (*NodesNodesMoveCall) Header

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

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

type NodesNodesPatchCall

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

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

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

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

func (*NodesNodesPatchCall) Header

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

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

func (*NodesNodesPatchCall) UpdateMask

func (c *NodesNodesPatchCall) UpdateMask(updateMask string) *NodesNodesPatchCall

UpdateMask sets the optional parameter "updateMask": Fields to be updated.

type NodesNodesService

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

func NewNodesNodesService

func NewNodesNodesService(s *Service) *NodesNodesService

func (*NodesNodesService) Create

func (r *NodesNodesService) Create(parent string, sasportalnode *SasPortalNode) *NodesNodesCreateCall

Create: Creates a new node.

func (*NodesNodesService) Delete

Delete: Deletes a node.

func (*NodesNodesService) Get

Get: Returns a requested node.

func (*NodesNodesService) List

func (r *NodesNodesService) List(parent string) *NodesNodesListCall

List: Lists nodes.

func (*NodesNodesService) Move

func (r *NodesNodesService) Move(name string, sasportalmovenoderequest *SasPortalMoveNodeRequest) *NodesNodesMoveCall

Move: Moves a node under another node or customer.

func (*NodesNodesService) Patch

func (r *NodesNodesService) Patch(name string, sasportalnode *SasPortalNode) *NodesNodesPatchCall

Patch: Updates an existing node.

type NodesService

type NodesService struct {
	Devices *NodesDevicesService

	Nodes *NodesNodesService
	// contains filtered or unexported fields
}

func NewNodesService

func NewNodesService(s *Service) *NodesService

type PoliciesGetCall

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

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

Do executes the "prod_tt_sasportal.policies.get" call. Exactly one of *SasPortalPolicy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalPolicy.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.

type PoliciesService

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

func NewPoliciesService

func NewPoliciesService(s *Service) *PoliciesService

func (*PoliciesService) Get

func (r *PoliciesService) Get(sasportalgetpolicyrequest *SasPortalGetPolicyRequest) *PoliciesGetCall

Get: Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

func (*PoliciesService) Set

func (r *PoliciesService) Set(sasportalsetpolicyrequest *SasPortalSetPolicyRequest) *PoliciesSetCall

Set: Sets the access control policy on the specified resource. Replaces any existing policy.

func (*PoliciesService) Test

func (r *PoliciesService) Test(sasportaltestpermissionsrequest *SasPortalTestPermissionsRequest) *PoliciesTestCall

Test: Returns permissions that a caller has on the specified resource.

type PoliciesSetCall

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

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

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

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

func (*PoliciesSetCall) Header

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

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

type PoliciesTestCall

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

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

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

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

func (*PoliciesTestCall) Header

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

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

type SasPortalAssignment

type SasPortalAssignment struct {
	// Members: The identities the role is assigned to. It can have the
	// following
	// values:
	//
	// * `{user_email}`: An email address that represents a specific
	//    Google account. For example: `alice@gmail.com`.
	//
	// * `{group_email}`: An email address that represents a Google
	//    group.  For example, `viewers@gmail.com`.
	Members []string `json:"members,omitempty"`

	// Role: Required. Role that is assigned to `members`.
	Role string `json:"role,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Members") 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. "Members") 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:"-"`
}

SasPortalAssignment: Associates `members` with a `role`.

func (*SasPortalAssignment) MarshalJSON

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

type SasPortalBulkCreateDeviceRequest

type SasPortalBulkCreateDeviceRequest struct {
	// Csv: Required. A csv with each row representing a [device]. Each row
	// must
	// conform to the regulations described on CreateDeviceRequest's device
	// field.
	Csv string `json:"csv,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Csv") 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. "Csv") 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:"-"`
}

SasPortalBulkCreateDeviceRequest: Request for BulkCreateDevice method.

func (*SasPortalBulkCreateDeviceRequest) MarshalJSON

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

type SasPortalBulkCreateDeviceResponse

type SasPortalBulkCreateDeviceResponse struct {
	// Devices: Required. The devices that were imported.
	Devices []*SasPortalDevice `json:"devices,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Devices") 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. "Devices") 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:"-"`
}

SasPortalBulkCreateDeviceResponse: Response for BulkCreateDevice method.

func (*SasPortalBulkCreateDeviceResponse) MarshalJSON

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

type SasPortalCreateSignedDeviceRequest

type SasPortalCreateSignedDeviceRequest struct {
	// EncodedDevice: Required. JSON Web Token signed using a CPI private
	// key. Payload
	// must be the JSON encoding of the [Device].
	EncodedDevice string `json:"encodedDevice,omitempty"`

	// InstallerId: Required. Unique installer id (cpiId) from the Certified
	// Professional
	// Installers database.
	InstallerId string `json:"installerId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "EncodedDevice") 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. "EncodedDevice") 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:"-"`
}

SasPortalCreateSignedDeviceRequest: Request for CreateSignedDevice method.

func (*SasPortalCreateSignedDeviceRequest) MarshalJSON

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

type SasPortalCustomer

type SasPortalCustomer struct {
	// DisplayName: Required. Name of the organization that the customer
	// entity represents.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Output only. Resource name of the customer.
	Name string `json:"name,omitempty"`

	// SasUserIds: User IDs used by the devices belonging to this customer.
	SasUserIds []string `json:"sasUserIds,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with
	// empty 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. "DisplayName") 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:"-"`
}

SasPortalCustomer: Entity representing a SAS customer.

func (*SasPortalCustomer) MarshalJSON

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

type SasPortalDevice

type SasPortalDevice struct {
	// ActiveConfig: Output only. Current configuration of the device as
	// registered to the SAS.
	ActiveConfig *SasPortalDeviceConfig `json:"activeConfig,omitempty"`

	// DisplayName: Device display name.
	DisplayName string `json:"displayName,omitempty"`

	// FccId: The FCC identifier of the device.
	FccId string `json:"fccId,omitempty"`

	// Grants: Output only. Grants held by the device.
	Grants []*SasPortalDeviceGrant `json:"grants,omitempty"`

	// Name: Output only. The resource path name.
	Name string `json:"name,omitempty"`

	// PreloadedConfig: Configuration of the device, as specified via SAS
	// Portal API.
	PreloadedConfig *SasPortalDeviceConfig `json:"preloadedConfig,omitempty"`

	// SerialNumber: A serial number assigned to the device by the
	// device
	// manufacturer.
	SerialNumber string `json:"serialNumber,omitempty"`

	// State: Output only. Device state.
	//
	// Possible values:
	//   "DEVICE_STATE_UNSPECIFIED" - Unspecified state.
	//   "RESERVED" - Device created in the SAS Portal, however, not yet
	// registered
	// with SAS.
	//   "REGISTERED" - Device registered with SAS.
	//   "DEREGISTERED" - Device de-registered with SAS.
	State string `json:"state,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "ActiveConfig") 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. "ActiveConfig") 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 (*SasPortalDevice) MarshalJSON

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

type SasPortalDeviceAirInterface

type SasPortalDeviceAirInterface struct {
	// RadioTechnology: This field specifies the radio access technology
	// that is used for the CBSD.
	//
	// Conditional
	//
	// Possible values:
	//   "RADIO_TECHNOLOGY_UNSPECIFIED"
	//   "E_UTRA"
	//   "CAMBIUM_NETWORKS"
	//   "FOUR_G_BBW_SAA_1"
	//   "NR"
	//   "DOODLE_CBRS"
	RadioTechnology string `json:"radioTechnology,omitempty"`

	// SupportedSpec: This field is related to the radioTechnology field and
	// provides the air
	// interface specification that the CBSD is compliant with at the time
	// of
	// registration.
	//
	// Optional
	SupportedSpec string `json:"supportedSpec,omitempty"`

	// ForceSendFields is a list of field names (e.g. "RadioTechnology") 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. "RadioTechnology") 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:"-"`
}

SasPortalDeviceAirInterface: Information about the device's air interface.

func (*SasPortalDeviceAirInterface) MarshalJSON

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

type SasPortalDeviceConfig

type SasPortalDeviceConfig struct {
	// AirInterface: Information about this device's air interface.
	AirInterface *SasPortalDeviceAirInterface `json:"airInterface,omitempty"`

	// CallSign: The call sign of the device operator.
	CallSign string `json:"callSign,omitempty"`

	// Category: FCC category of the device.
	//
	// Possible values:
	//   "DEVICE_CATEGORY_UNSPECIFIED" - Unspecified device category.
	//   "DEVICE_CATEGORY_A" - Category A.
	//   "DEVICE_CATEGORY_B" - Category B.
	Category string `json:"category,omitempty"`

	// InstallationParams: Installation parameters for the device.
	InstallationParams *SasPortalInstallationParams `json:"installationParams,omitempty"`

	// IsSigned: Output-only. Whether the configuration has been signed by a
	// CPI.
	IsSigned bool `json:"isSigned,omitempty"`

	// MeasurementCapabilities: Measurement reporting capabilities of the
	// device.
	//
	// Possible values:
	//   "MEASUREMENT_CAPABILITY_UNSPECIFIED"
	//   "MEASUREMENT_CAPABILITY_RECEIVED_POWER_WITH_GRANT"
	//   "MEASUREMENT_CAPABILITY_RECEIVED_POWER_WITHOUT_GRANT"
	MeasurementCapabilities []string `json:"measurementCapabilities,omitempty"`

	// Model: Information about this device model.
	Model *SasPortalDeviceModel `json:"model,omitempty"`

	// State: State of the configuration.
	//
	// Possible values:
	//   "DEVICE_CONFIG_STATE_UNSPECIFIED"
	//   "DRAFT"
	//   "FINAL"
	State string `json:"state,omitempty"`

	// UpdateTime: Output-only. The last time the device configuration was
	// edited.
	UpdateTime string `json:"updateTime,omitempty"`

	// UserId: Output only. The identifier of a device user.
	UserId string `json:"userId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AirInterface") 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. "AirInterface") 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:"-"`
}

SasPortalDeviceConfig: Information about the device configuration.

func (*SasPortalDeviceConfig) MarshalJSON

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

type SasPortalDeviceGrant

type SasPortalDeviceGrant struct {
	// ChannelType: Type of channel used.
	//
	// Possible values:
	//   "CHANNEL_TYPE_UNSPECIFIED"
	//   "CHANNEL_TYPE_GAA"
	//   "CHANNEL_TYPE_PAL"
	ChannelType string `json:"channelType,omitempty"`

	// ExpireTime: The expiration time of the grant.
	ExpireTime string `json:"expireTime,omitempty"`

	// FrequencyRange: The transmission frequency range.
	FrequencyRange *SasPortalFrequencyRange `json:"frequencyRange,omitempty"`

	// MaxEirp: Maximum Equivalent Isotropically Radiated Power (EIRP)
	// permitted
	// by the grant. The maximum EIRP is in units of dBm/MHz. The
	// value of maxEirp represents the average (RMS) EIRP that would
	// be
	// measured by the procedure defined in FCC part 96.41(e)(3).
	MaxEirp float64 `json:"maxEirp,omitempty"`

	// MoveList: The DPA move lists on which this grant appears.
	MoveList []*SasPortalDpaMoveList `json:"moveList,omitempty"`

	// State: State of the grant.
	//
	// Possible values:
	//   "GRANT_STATE_UNSPECIFIED"
	//   "GRANT_STATE_GRANTED" - The grant has been granted but the device
	// is not heartbeating on it.
	//   "GRANT_STATE_TERMINATED" - The grant has been terminated by the
	// SAS.
	//   "GRANT_STATE_SUSPENDED" - The grant has been suspended by the SAS.
	//   "GRANT_STATE_AUTHORIZED" - The device is currently transmitting.
	//   "GRANT_STATE_EXPIRED" - The grant has expired.
	State string `json:"state,omitempty"`

	// ForceSendFields is a list of field names (e.g. "ChannelType") 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. "ChannelType") 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:"-"`
}

SasPortalDeviceGrant: Device grant. It is an authorization provided by the Spectrum Access System to a device to transmit using specified operating parameters after a successful heartbeat by the device.

func (*SasPortalDeviceGrant) MarshalJSON

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

func (*SasPortalDeviceGrant) UnmarshalJSON

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

type SasPortalDeviceModel

type SasPortalDeviceModel struct {
	// FirmwareVersion: The firmware version of the device.
	FirmwareVersion string `json:"firmwareVersion,omitempty"`

	// HardwareVersion: The hardware version of the device.
	HardwareVersion string `json:"hardwareVersion,omitempty"`

	// Name: The name of the device model.
	Name string `json:"name,omitempty"`

	// SoftwareVersion: The software version of the device.
	SoftwareVersion string `json:"softwareVersion,omitempty"`

	// Vendor: The name of the device vendor.
	Vendor string `json:"vendor,omitempty"`

	// ForceSendFields is a list of field names (e.g. "FirmwareVersion") 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. "FirmwareVersion") 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:"-"`
}

SasPortalDeviceModel: Information about the model of the device.

func (*SasPortalDeviceModel) MarshalJSON

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

type SasPortalDpaMoveList

type SasPortalDpaMoveList struct {
	// DpaId: The ID of the DPA.
	DpaId string `json:"dpaId,omitempty"`

	// FrequencyRange: The frequency range that the move list affects.
	FrequencyRange *SasPortalFrequencyRange `json:"frequencyRange,omitempty"`

	// ForceSendFields is a list of field names (e.g. "DpaId") 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. "DpaId") 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:"-"`
}

SasPortalDpaMoveList: An entry in a DPA's move list.

func (*SasPortalDpaMoveList) MarshalJSON

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

type SasPortalEmpty

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

SasPortalEmpty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:

service Foo {
  rpc Bar(google.protobuf.Empty) returns

(google.protobuf.Empty);

}

The JSON representation for `Empty` is empty JSON object `{}`.

type SasPortalFrequencyRange

type SasPortalFrequencyRange struct {
	// HighFrequencyMhz: The highest frequency of the frequency range in
	// MHz.
	HighFrequencyMhz float64 `json:"highFrequencyMhz,omitempty"`

	// LowFrequencyMhz: The lowest frequency of the frequency range in MHz.
	LowFrequencyMhz float64 `json:"lowFrequencyMhz,omitempty"`

	// ForceSendFields is a list of field names (e.g. "HighFrequencyMhz") 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. "HighFrequencyMhz") 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:"-"`
}

SasPortalFrequencyRange: Frequency range from `low_frequency` to `high_frequency`.

func (*SasPortalFrequencyRange) MarshalJSON

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

func (*SasPortalFrequencyRange) UnmarshalJSON

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

type SasPortalGenerateSecretRequest

type SasPortalGenerateSecretRequest struct {
}

SasPortalGenerateSecretRequest: Request for GenerateSecret method] [spectrum.sas.portal.v1alpha1.DeviceManager.GenerateSecret].

type SasPortalGenerateSecretResponse

type SasPortalGenerateSecretResponse struct {
	// Secret: The secret generated by the string and used
	// by
	// [ValidateInstaller] method.
	Secret string `json:"secret,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Secret") 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. "Secret") 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:"-"`
}

SasPortalGenerateSecretResponse: Response for GenerateSecret method.

func (*SasPortalGenerateSecretResponse) MarshalJSON

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

type SasPortalGetPolicyRequest

type SasPortalGetPolicyRequest struct {
	// Resource: Required. The resource for which the policy is being
	// requested.
	Resource string `json:"resource,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Resource") 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. "Resource") 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:"-"`
}

SasPortalGetPolicyRequest: Request message for `GetPolicy` method.

func (*SasPortalGetPolicyRequest) MarshalJSON

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

type SasPortalInstallationParams

type SasPortalInstallationParams struct {
	// AntennaAzimuth: Boresight direction of the horizontal plane of the
	// antenna in
	// degrees with respect to true north. The value of this parameter
	// is an integer with a value between 0 and 359 inclusive. A value
	// of 0 degrees means true north; a value of 90 degrees means
	// east. This parameter is optional for Category A devices
	// and
	// conditional for Category B devices.
	AntennaAzimuth int64 `json:"antennaAzimuth,omitempty"`

	// AntennaBeamwidth: 3-dB antenna beamwidth of the antenna in the
	// horizontal-plane in
	// degrees.  This parameter is an unsigned integer having a
	// value
	// between 0 and 360 (degrees) inclusive; it is optional for
	// Category A devices and conditional for Category B devices.
	AntennaBeamwidth int64 `json:"antennaBeamwidth,omitempty"`

	// AntennaDowntilt: Antenna downtilt in degrees and is an integer with a
	// value
	// between -90 and +90 inclusive; a negative value means the antenna
	// is tilted up (above horizontal). This parameter is optional
	// for
	// Category A devices and conditional for Category B devices.
	AntennaDowntilt int64 `json:"antennaDowntilt,omitempty"`

	// AntennaGain: Peak antenna gain in dBi. This parameter is an integer
	// with a
	// value between -127 and +128 (dBi) inclusive.
	AntennaGain int64 `json:"antennaGain,omitempty"`

	// AntennaModel: If an external antenna is used, the antenna model is
	// optionally
	// provided in this field. The string has a maximum length of
	// 128
	// octets.
	AntennaModel string `json:"antennaModel,omitempty"`

	// EirpCapability: This parameter is the maximum device EIRP in units of
	// dBm/10MHz
	// and is an integer with a value between -127 and +47 (dBm/10
	// MHz)
	// inclusive. If not included, SAS interprets it as maximum
	// allowable EIRP in units of dBm/10MHz for device category.
	EirpCapability int64 `json:"eirpCapability,omitempty"`

	// Height: Device antenna height in meters. When the heightType
	// parameter
	// value is "AGL", the antenna height should be given relative to
	// ground level. When the heightType parameter value is "AMSL", it
	// is given with respect to WGS84 datum.
	Height float64 `json:"height,omitempty"`

	// HeightType: Specifies how the height is measured.
	//
	// Possible values:
	//   "HEIGHT_TYPE_UNSPECIFIED" - Unspecified height type.
	//   "HEIGHT_TYPE_AGL" - AGL height is measured relative to the ground
	// level.
	//   "HEIGHT_TYPE_AMSL" - AMSL height is measured relative to the mean
	// sea level.
	HeightType string `json:"heightType,omitempty"`

	// HorizontalAccuracy: A positive number in meters to indicate accuracy
	// of the device
	// antenna horizontal location. This optional parameter should only
	// be present if its value is less than the FCC requirement of
	// 50
	// meters.
	HorizontalAccuracy float64 `json:"horizontalAccuracy,omitempty"`

	// IndoorDeployment: Whether the device antenna is indoor or not. True:
	// indoor. False:
	// outdoor.
	IndoorDeployment bool `json:"indoorDeployment,omitempty"`

	// Latitude: Latitude of the device antenna location in degrees relative
	// to
	// the WGS 84 datum. The allowed range is from -90.000000 to
	// +90.000000. Positive values represent latitudes north of the
	// equator; negative values south of the equator.
	Latitude float64 `json:"latitude,omitempty"`

	// Longitude: Longitude of the device antenna location. in degrees
	// relative to
	// the WGS 84 datum. The allowed range is from -180.000000
	// to
	// +180.000000. Positive values represent longitudes east of the
	// prime meridian; negative values west of the prime
	// meridian.
	Longitude float64 `json:"longitude,omitempty"`

	// VerticalAccuracy: A positive number in meters to indicate accuracy of
	// the device
	// antenna vertical location. This optional parameter should only
	// be
	// present if its value is less than the FCC requirement of 3
	// meters.
	VerticalAccuracy float64 `json:"verticalAccuracy,omitempty"`

	// ForceSendFields is a list of field names (e.g. "AntennaAzimuth") 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. "AntennaAzimuth") 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:"-"`
}

SasPortalInstallationParams: Information about the device installation parameters.

func (*SasPortalInstallationParams) MarshalJSON

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

func (*SasPortalInstallationParams) UnmarshalJSON

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

type SasPortalListCustomersResponse

type SasPortalListCustomersResponse struct {
	// Customers: The list of customers that
	// match the request.
	Customers []*SasPortalCustomer `json:"customers,omitempty"`

	// NextPageToken: A pagination token returned from a previous call to
	// ListCustomers method that indicates from
	// where listing should continue. If the field is missing or empty, it
	// means
	// there are no more customers.
	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. "Customers") 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. "Customers") 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:"-"`
}

SasPortalListCustomersResponse: Response for `ListCustomers`.

func (*SasPortalListCustomersResponse) MarshalJSON

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

type SasPortalListDevicesResponse

type SasPortalListDevicesResponse struct {
	// Devices: The devices that match the request.
	Devices []*SasPortalDevice `json:"devices,omitempty"`

	// NextPageToken: A pagination token returned from a previous call to
	// ListDevices method
	// that indicates from where listing should continue. If the field
	// is missing or empty, it means there is no more devices.
	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. "Devices") 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. "Devices") 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:"-"`
}

SasPortalListDevicesResponse: Response for ListDevices method.

func (*SasPortalListDevicesResponse) MarshalJSON

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

type SasPortalListNodesResponse

type SasPortalListNodesResponse struct {
	// NextPageToken: A pagination token returned from a previous call
	// to
	// ListNodes method
	// that indicates from where listing should continue. If the field is
	// missing
	// or empty, it means there is no more nodes.
	NextPageToken string `json:"nextPageToken,omitempty"`

	// Nodes: The nodes that match the request.
	Nodes []*SasPortalNode `json:"nodes,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "NextPageToken") to
	// unconditionally include in API requests. By default, fields with
	// empty 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. "NextPageToken") 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:"-"`
}

SasPortalListNodesResponse: Response for ListNodes method.

func (*SasPortalListNodesResponse) MarshalJSON

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

type SasPortalMoveDeviceRequest

type SasPortalMoveDeviceRequest struct {
	// Destination: Required. The name of the new parent resource (Node or
	// Customer) to
	// reparent the device under.
	Destination string `json:"destination,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Destination") 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. "Destination") 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:"-"`
}

SasPortalMoveDeviceRequest: Request for MoveDevice method.

func (*SasPortalMoveDeviceRequest) MarshalJSON

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

type SasPortalMoveNodeRequest

type SasPortalMoveNodeRequest struct {
	// Destination: Required. The name of the new parent resource node or
	// Customer) to reparent the node under.
	Destination string `json:"destination,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Destination") 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. "Destination") 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:"-"`
}

SasPortalMoveNodeRequest: Request for MoveNode method.

func (*SasPortalMoveNodeRequest) MarshalJSON

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

type SasPortalNode

type SasPortalNode struct {
	// DisplayName: The node's display name.
	DisplayName string `json:"displayName,omitempty"`

	// Name: Output only. Resource name.
	Name string `json:"name,omitempty"`

	// SasUserIds: User ids used by the devices belonging to this node.
	SasUserIds []string `json:"sasUserIds,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "DisplayName") to
	// unconditionally include in API requests. By default, fields with
	// empty 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. "DisplayName") 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:"-"`
}

SasPortalNode: The Node.

func (*SasPortalNode) MarshalJSON

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

type SasPortalOperation

type SasPortalOperation struct {
	// Done: If the value is `false`, it means the operation is still in
	// progress.
	// If `true`, the operation is completed, and either `error` or
	// `response` is
	// available.
	Done bool `json:"done,omitempty"`

	// Error: The error result of the operation in case of failure or
	// cancellation.
	Error *SasPortalStatus `json:"error,omitempty"`

	// Metadata: Service-specific metadata associated with the operation.
	// It typically
	// contains progress information and common metadata such as create
	// time.
	// Some services might not provide such metadata.  Any method that
	// returns a
	// long-running operation should document the metadata type, if any.
	Metadata googleapi.RawMessage `json:"metadata,omitempty"`

	// Name: The server-assigned name, which is only unique within the same
	// service that
	// originally returns it. If you use the default HTTP mapping,
	// the
	// `name` should be a resource name ending with
	// `operations/{unique_id}`.
	Name string `json:"name,omitempty"`

	// Response: The normal response of the operation in case of success.
	// If the original
	// method returns no data on success, such as `Delete`, the response
	// is
	// `google.protobuf.Empty`.  If the original method is
	// standard
	// `Get`/`Create`/`Update`, the response should be the resource.  For
	// other
	// methods, the response should have the type `XxxResponse`, where
	// `Xxx`
	// is the original method name.  For example, if the original method
	// name
	// is `TakeSnapshot()`, the inferred response type
	// is
	// `TakeSnapshotResponse`.
	Response googleapi.RawMessage `json:"response,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Done") to
	// unconditionally include in API requests. By default, fields with
	// empty 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. "Done") 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:"-"`
}

SasPortalOperation: This resource represents a long-running operation that is the result of a network API call.

func (*SasPortalOperation) MarshalJSON

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

type SasPortalPolicy

type SasPortalPolicy struct {
	Assignments []*SasPortalAssignment `json:"assignments,omitempty"`

	// Etag: The [etag] is used for optimistic concurrency control as a way
	// to
	// help prevent simultaneous updates of a policy from overwriting
	// each other.  It is strongly suggested that systems make use of
	// the [etag] in the read-modify-write cycle to perform policy
	// updates in order to avoid race conditions: An [etag] is returned
	// in the response to [GetPolicy], and systems are expected to put
	// that etag in the request to [SetPolicy] to ensure that their
	// change will be applied to the same version of the policy.
	//
	// If no [etag] is provided in the call to [SetPolicy], then
	// the
	// existing policy is overwritten blindly.
	Etag string `json:"etag,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Assignments") 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. "Assignments") 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:"-"`
}

SasPortalPolicy: Defines an access control policy to the resources.

func (*SasPortalPolicy) MarshalJSON

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

type SasPortalSetPolicyRequest

type SasPortalSetPolicyRequest struct {
	// Policy: Required. The policy to be applied to the `resource`.
	Policy *SasPortalPolicy `json:"policy,omitempty"`

	// Resource: Required. The resource for which the policy is being
	// specified. This policy
	// replaces any existing policy.
	Resource string `json:"resource,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Policy") 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. "Policy") 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:"-"`
}

SasPortalSetPolicyRequest: Request message for `SetPolicy` method.

func (*SasPortalSetPolicyRequest) MarshalJSON

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

type SasPortalSignDeviceRequest

type SasPortalSignDeviceRequest struct {
	// Device: Required. The device to sign.
	// The device fields name, fcc_id and serial_number must be set.
	Device *SasPortalDevice `json:"device,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Device") 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. "Device") 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:"-"`
}

SasPortalSignDeviceRequest: Request for SignDevice method.

func (*SasPortalSignDeviceRequest) MarshalJSON

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

type SasPortalStatus

type SasPortalStatus struct {
	// Code: The status code, which should be an enum value of
	// google.rpc.Code.
	Code int64 `json:"code,omitempty"`

	// Details: A list of messages that carry the error details.  There is a
	// common set of
	// message types for APIs to use.
	Details []googleapi.RawMessage `json:"details,omitempty"`

	// Message: A developer-facing error message, which should be in
	// English. Any
	// user-facing error message should be localized and sent in
	// the
	// google.rpc.Status.details field, or localized by the client.
	Message string `json:"message,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Code") to
	// unconditionally include in API requests. By default, fields with
	// empty 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. "Code") 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:"-"`
}

SasPortalStatus: The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details.

You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).

func (*SasPortalStatus) MarshalJSON

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

type SasPortalTestPermissionsRequest

type SasPortalTestPermissionsRequest struct {
	// Permissions: The set of permissions to check for the `resource`.
	Permissions []string `json:"permissions,omitempty"`

	// Resource: Required. The resource for which the permissions are being
	// requested.
	Resource string `json:"resource,omitempty"`

	// ForceSendFields is a list of field names (e.g. "Permissions") 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. "Permissions") 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:"-"`
}

SasPortalTestPermissionsRequest: Request message for `TestPermissions` method.

func (*SasPortalTestPermissionsRequest) MarshalJSON

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

type SasPortalTestPermissionsResponse

type SasPortalTestPermissionsResponse struct {
	// Permissions: A set of permissions that the caller is allowed.
	Permissions []string `json:"permissions,omitempty"`

	// ServerResponse contains the HTTP response code and headers from the
	// server.
	googleapi.ServerResponse `json:"-"`

	// ForceSendFields is a list of field names (e.g. "Permissions") to
	// unconditionally include in API requests. By default, fields with
	// empty 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. "Permissions") 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:"-"`
}

SasPortalTestPermissionsResponse: Response message for `TestPermissions` method.

func (*SasPortalTestPermissionsResponse) MarshalJSON

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

type SasPortalUpdateSignedDeviceRequest

type SasPortalUpdateSignedDeviceRequest struct {
	// EncodedDevice: Required. The JSON Web Token signed using a CPI
	// private key. Payload
	// must be the JSON encoding
	// of the device.
	EncodedDevice string `json:"encodedDevice,omitempty"`

	// InstallerId: Required. Unique installer ID (CPI ID) from the
	// Certified Professional
	// Installers database.
	InstallerId string `json:"installerId,omitempty"`

	// ForceSendFields is a list of field names (e.g. "EncodedDevice") 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. "EncodedDevice") 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:"-"`
}

SasPortalUpdateSignedDeviceRequest: Request for UpdateSignedDevice method.

func (*SasPortalUpdateSignedDeviceRequest) MarshalJSON

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

type SasPortalValidateInstallerRequest

type SasPortalValidateInstallerRequest struct {
	// EncodedSecret: Required. JSON Web Token signed using a CPI private
	// key. Payload
	// must include a "secret" claim whose value is the secret.
	EncodedSecret string `json:"encodedSecret,omitempty"`

	// InstallerId: Required. Unique installer id (cpiId) from the
	// Certified
	// Professional Installers database.
	InstallerId string `json:"installerId,omitempty"`

	// Secret: Required. Secret returned by the GenerateSecret method.
	Secret string `json:"secret,omitempty"`

	// ForceSendFields is a list of field names (e.g. "EncodedSecret") 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. "EncodedSecret") 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:"-"`
}

SasPortalValidateInstallerRequest: Request for ValidateInstaller method.

func (*SasPortalValidateInstallerRequest) MarshalJSON

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

type SasPortalValidateInstallerResponse

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

SasPortalValidateInstallerResponse: Response for ValidateInstaller method] [spectrum.sas.portal.v1alpha1.DeviceManager.ValidateInstaller] .

type Service

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

	Customers *CustomersService

	Installer *InstallerService

	Nodes *NodesService

	Policies *PoliciesService
	// contains filtered or unexported fields
}

func New deprecated

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

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

func NewService

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

NewService creates a new Service.

Jump to

Keyboard shortcuts

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