Documentation ¶
Overview ¶
Package sasportal provides access to the SAS Portal API.
For product documentation, see: https://developers.google.com/spectrum-access-system/
Creating a client ¶
Usage example:
import "google.golang.org/api/sasportal/v1alpha1" ... ctx := context.Background() sasportalService, err := 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:
sasportalService, err := 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, ...) sasportalService, err := sasportal.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See https://godoc.org/google.golang.org/api/option/ for details on options.
Index ¶
- Constants
- type CustomersDeploymentsCreateCall
- func (c *CustomersDeploymentsCreateCall) Context(ctx context.Context) *CustomersDeploymentsCreateCall
- func (c *CustomersDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
- func (c *CustomersDeploymentsCreateCall) Fields(s ...googleapi.Field) *CustomersDeploymentsCreateCall
- func (c *CustomersDeploymentsCreateCall) Header() http.Header
- type CustomersDeploymentsDeleteCall
- func (c *CustomersDeploymentsDeleteCall) Context(ctx context.Context) *CustomersDeploymentsDeleteCall
- func (c *CustomersDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *CustomersDeploymentsDeleteCall) Fields(s ...googleapi.Field) *CustomersDeploymentsDeleteCall
- func (c *CustomersDeploymentsDeleteCall) Header() http.Header
- type CustomersDeploymentsDevicesCreateCall
- func (c *CustomersDeploymentsDevicesCreateCall) Context(ctx context.Context) *CustomersDeploymentsDevicesCreateCall
- func (c *CustomersDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersDeploymentsDevicesCreateCall) Fields(s ...googleapi.Field) *CustomersDeploymentsDevicesCreateCall
- func (c *CustomersDeploymentsDevicesCreateCall) Header() http.Header
- type CustomersDeploymentsDevicesCreateSignedCall
- func (c *CustomersDeploymentsDevicesCreateSignedCall) Context(ctx context.Context) *CustomersDeploymentsDevicesCreateSignedCall
- func (c *CustomersDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersDeploymentsDevicesCreateSignedCall) Fields(s ...googleapi.Field) *CustomersDeploymentsDevicesCreateSignedCall
- func (c *CustomersDeploymentsDevicesCreateSignedCall) Header() http.Header
- type CustomersDeploymentsDevicesListCall
- func (c *CustomersDeploymentsDevicesListCall) Context(ctx context.Context) *CustomersDeploymentsDevicesListCall
- func (c *CustomersDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
- func (c *CustomersDeploymentsDevicesListCall) Fields(s ...googleapi.Field) *CustomersDeploymentsDevicesListCall
- func (c *CustomersDeploymentsDevicesListCall) Filter(filter string) *CustomersDeploymentsDevicesListCall
- func (c *CustomersDeploymentsDevicesListCall) Header() http.Header
- func (c *CustomersDeploymentsDevicesListCall) IfNoneMatch(entityTag string) *CustomersDeploymentsDevicesListCall
- func (c *CustomersDeploymentsDevicesListCall) PageSize(pageSize int64) *CustomersDeploymentsDevicesListCall
- func (c *CustomersDeploymentsDevicesListCall) PageToken(pageToken string) *CustomersDeploymentsDevicesListCall
- func (c *CustomersDeploymentsDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
- type CustomersDeploymentsDevicesService
- func (r *CustomersDeploymentsDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *CustomersDeploymentsDevicesCreateCall
- func (r *CustomersDeploymentsDevicesService) CreateSigned(parent string, ...) *CustomersDeploymentsDevicesCreateSignedCall
- func (r *CustomersDeploymentsDevicesService) List(parent string) *CustomersDeploymentsDevicesListCall
- type CustomersDeploymentsGetCall
- func (c *CustomersDeploymentsGetCall) Context(ctx context.Context) *CustomersDeploymentsGetCall
- func (c *CustomersDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
- func (c *CustomersDeploymentsGetCall) Fields(s ...googleapi.Field) *CustomersDeploymentsGetCall
- func (c *CustomersDeploymentsGetCall) Header() http.Header
- func (c *CustomersDeploymentsGetCall) IfNoneMatch(entityTag string) *CustomersDeploymentsGetCall
- type CustomersDeploymentsListCall
- func (c *CustomersDeploymentsListCall) Context(ctx context.Context) *CustomersDeploymentsListCall
- func (c *CustomersDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDeploymentsResponse, error)
- func (c *CustomersDeploymentsListCall) Fields(s ...googleapi.Field) *CustomersDeploymentsListCall
- func (c *CustomersDeploymentsListCall) Filter(filter string) *CustomersDeploymentsListCall
- func (c *CustomersDeploymentsListCall) Header() http.Header
- func (c *CustomersDeploymentsListCall) IfNoneMatch(entityTag string) *CustomersDeploymentsListCall
- func (c *CustomersDeploymentsListCall) PageSize(pageSize int64) *CustomersDeploymentsListCall
- func (c *CustomersDeploymentsListCall) PageToken(pageToken string) *CustomersDeploymentsListCall
- func (c *CustomersDeploymentsListCall) Pages(ctx context.Context, f func(*SasPortalListDeploymentsResponse) error) error
- type CustomersDeploymentsMoveCall
- func (c *CustomersDeploymentsMoveCall) Context(ctx context.Context) *CustomersDeploymentsMoveCall
- func (c *CustomersDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
- func (c *CustomersDeploymentsMoveCall) Fields(s ...googleapi.Field) *CustomersDeploymentsMoveCall
- func (c *CustomersDeploymentsMoveCall) Header() http.Header
- type CustomersDeploymentsPatchCall
- func (c *CustomersDeploymentsPatchCall) Context(ctx context.Context) *CustomersDeploymentsPatchCall
- func (c *CustomersDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
- func (c *CustomersDeploymentsPatchCall) Fields(s ...googleapi.Field) *CustomersDeploymentsPatchCall
- func (c *CustomersDeploymentsPatchCall) Header() http.Header
- func (c *CustomersDeploymentsPatchCall) UpdateMask(updateMask string) *CustomersDeploymentsPatchCall
- type CustomersDeploymentsService
- func (r *CustomersDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *CustomersDeploymentsCreateCall
- func (r *CustomersDeploymentsService) Delete(name string) *CustomersDeploymentsDeleteCall
- func (r *CustomersDeploymentsService) Get(name string) *CustomersDeploymentsGetCall
- func (r *CustomersDeploymentsService) List(parent string) *CustomersDeploymentsListCall
- func (r *CustomersDeploymentsService) Move(name string, sasportalmovedeploymentrequest *SasPortalMoveDeploymentRequest) *CustomersDeploymentsMoveCall
- func (r *CustomersDeploymentsService) Patch(name string, sasportaldeployment *SasPortalDeployment) *CustomersDeploymentsPatchCall
- type CustomersDevicesCreateCall
- func (c *CustomersDevicesCreateCall) Context(ctx context.Context) *CustomersDevicesCreateCall
- func (c *CustomersDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersDevicesCreateCall) Fields(s ...googleapi.Field) *CustomersDevicesCreateCall
- func (c *CustomersDevicesCreateCall) Header() http.Header
- type CustomersDevicesCreateSignedCall
- func (c *CustomersDevicesCreateSignedCall) Context(ctx context.Context) *CustomersDevicesCreateSignedCall
- func (c *CustomersDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersDevicesCreateSignedCall) Fields(s ...googleapi.Field) *CustomersDevicesCreateSignedCall
- func (c *CustomersDevicesCreateSignedCall) Header() http.Header
- type CustomersDevicesDeleteCall
- func (c *CustomersDevicesDeleteCall) Context(ctx context.Context) *CustomersDevicesDeleteCall
- func (c *CustomersDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *CustomersDevicesDeleteCall) Fields(s ...googleapi.Field) *CustomersDevicesDeleteCall
- func (c *CustomersDevicesDeleteCall) Header() http.Header
- type CustomersDevicesGetCall
- func (c *CustomersDevicesGetCall) Context(ctx context.Context) *CustomersDevicesGetCall
- func (c *CustomersDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersDevicesGetCall) Fields(s ...googleapi.Field) *CustomersDevicesGetCall
- func (c *CustomersDevicesGetCall) Header() http.Header
- func (c *CustomersDevicesGetCall) IfNoneMatch(entityTag string) *CustomersDevicesGetCall
- type CustomersDevicesListCall
- func (c *CustomersDevicesListCall) Context(ctx context.Context) *CustomersDevicesListCall
- func (c *CustomersDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
- func (c *CustomersDevicesListCall) Fields(s ...googleapi.Field) *CustomersDevicesListCall
- func (c *CustomersDevicesListCall) Filter(filter string) *CustomersDevicesListCall
- func (c *CustomersDevicesListCall) Header() http.Header
- func (c *CustomersDevicesListCall) IfNoneMatch(entityTag string) *CustomersDevicesListCall
- func (c *CustomersDevicesListCall) PageSize(pageSize int64) *CustomersDevicesListCall
- func (c *CustomersDevicesListCall) PageToken(pageToken string) *CustomersDevicesListCall
- func (c *CustomersDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
- type CustomersDevicesMoveCall
- func (c *CustomersDevicesMoveCall) Context(ctx context.Context) *CustomersDevicesMoveCall
- func (c *CustomersDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
- func (c *CustomersDevicesMoveCall) Fields(s ...googleapi.Field) *CustomersDevicesMoveCall
- func (c *CustomersDevicesMoveCall) Header() http.Header
- type CustomersDevicesPatchCall
- func (c *CustomersDevicesPatchCall) Context(ctx context.Context) *CustomersDevicesPatchCall
- func (c *CustomersDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersDevicesPatchCall) Fields(s ...googleapi.Field) *CustomersDevicesPatchCall
- func (c *CustomersDevicesPatchCall) Header() http.Header
- func (c *CustomersDevicesPatchCall) UpdateMask(updateMask string) *CustomersDevicesPatchCall
- type CustomersDevicesService
- func (r *CustomersDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *CustomersDevicesCreateCall
- func (r *CustomersDevicesService) CreateSigned(parent string, ...) *CustomersDevicesCreateSignedCall
- func (r *CustomersDevicesService) Delete(name string) *CustomersDevicesDeleteCall
- func (r *CustomersDevicesService) Get(name string) *CustomersDevicesGetCall
- func (r *CustomersDevicesService) List(parent string) *CustomersDevicesListCall
- func (r *CustomersDevicesService) Move(name string, sasportalmovedevicerequest *SasPortalMoveDeviceRequest) *CustomersDevicesMoveCall
- func (r *CustomersDevicesService) Patch(name string, sasportaldevice *SasPortalDevice) *CustomersDevicesPatchCall
- func (r *CustomersDevicesService) SignDevice(name string, sasportalsigndevicerequest *SasPortalSignDeviceRequest) *CustomersDevicesSignDeviceCall
- func (r *CustomersDevicesService) UpdateSigned(name string, ...) *CustomersDevicesUpdateSignedCall
- type CustomersDevicesSignDeviceCall
- func (c *CustomersDevicesSignDeviceCall) Context(ctx context.Context) *CustomersDevicesSignDeviceCall
- func (c *CustomersDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *CustomersDevicesSignDeviceCall) Fields(s ...googleapi.Field) *CustomersDevicesSignDeviceCall
- func (c *CustomersDevicesSignDeviceCall) Header() http.Header
- type CustomersDevicesUpdateSignedCall
- func (c *CustomersDevicesUpdateSignedCall) Context(ctx context.Context) *CustomersDevicesUpdateSignedCall
- func (c *CustomersDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersDevicesUpdateSignedCall) Fields(s ...googleapi.Field) *CustomersDevicesUpdateSignedCall
- func (c *CustomersDevicesUpdateSignedCall) Header() http.Header
- type CustomersGetCall
- func (c *CustomersGetCall) Context(ctx context.Context) *CustomersGetCall
- func (c *CustomersGetCall) Do(opts ...googleapi.CallOption) (*SasPortalCustomer, error)
- func (c *CustomersGetCall) Fields(s ...googleapi.Field) *CustomersGetCall
- func (c *CustomersGetCall) Header() http.Header
- func (c *CustomersGetCall) IfNoneMatch(entityTag string) *CustomersGetCall
- type CustomersListCall
- func (c *CustomersListCall) Context(ctx context.Context) *CustomersListCall
- func (c *CustomersListCall) Do(opts ...googleapi.CallOption) (*SasPortalListCustomersResponse, error)
- func (c *CustomersListCall) Fields(s ...googleapi.Field) *CustomersListCall
- func (c *CustomersListCall) Header() http.Header
- func (c *CustomersListCall) IfNoneMatch(entityTag string) *CustomersListCall
- func (c *CustomersListCall) PageSize(pageSize int64) *CustomersListCall
- func (c *CustomersListCall) PageToken(pageToken string) *CustomersListCall
- func (c *CustomersListCall) Pages(ctx context.Context, f func(*SasPortalListCustomersResponse) error) error
- type CustomersNodesCreateCall
- func (c *CustomersNodesCreateCall) Context(ctx context.Context) *CustomersNodesCreateCall
- func (c *CustomersNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *CustomersNodesCreateCall) Fields(s ...googleapi.Field) *CustomersNodesCreateCall
- func (c *CustomersNodesCreateCall) Header() http.Header
- type CustomersNodesDeleteCall
- func (c *CustomersNodesDeleteCall) Context(ctx context.Context) *CustomersNodesDeleteCall
- func (c *CustomersNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *CustomersNodesDeleteCall) Fields(s ...googleapi.Field) *CustomersNodesDeleteCall
- func (c *CustomersNodesDeleteCall) Header() http.Header
- type CustomersNodesDeploymentsCreateCall
- func (c *CustomersNodesDeploymentsCreateCall) Context(ctx context.Context) *CustomersNodesDeploymentsCreateCall
- func (c *CustomersNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
- func (c *CustomersNodesDeploymentsCreateCall) Fields(s ...googleapi.Field) *CustomersNodesDeploymentsCreateCall
- func (c *CustomersNodesDeploymentsCreateCall) Header() http.Header
- type CustomersNodesDeploymentsListCall
- func (c *CustomersNodesDeploymentsListCall) Context(ctx context.Context) *CustomersNodesDeploymentsListCall
- func (c *CustomersNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDeploymentsResponse, error)
- func (c *CustomersNodesDeploymentsListCall) Fields(s ...googleapi.Field) *CustomersNodesDeploymentsListCall
- func (c *CustomersNodesDeploymentsListCall) Filter(filter string) *CustomersNodesDeploymentsListCall
- func (c *CustomersNodesDeploymentsListCall) Header() http.Header
- func (c *CustomersNodesDeploymentsListCall) IfNoneMatch(entityTag string) *CustomersNodesDeploymentsListCall
- func (c *CustomersNodesDeploymentsListCall) PageSize(pageSize int64) *CustomersNodesDeploymentsListCall
- func (c *CustomersNodesDeploymentsListCall) PageToken(pageToken string) *CustomersNodesDeploymentsListCall
- func (c *CustomersNodesDeploymentsListCall) Pages(ctx context.Context, f func(*SasPortalListDeploymentsResponse) error) error
- type CustomersNodesDeploymentsService
- type CustomersNodesDevicesCreateCall
- func (c *CustomersNodesDevicesCreateCall) Context(ctx context.Context) *CustomersNodesDevicesCreateCall
- func (c *CustomersNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersNodesDevicesCreateCall) Fields(s ...googleapi.Field) *CustomersNodesDevicesCreateCall
- func (c *CustomersNodesDevicesCreateCall) Header() http.Header
- type CustomersNodesDevicesCreateSignedCall
- func (c *CustomersNodesDevicesCreateSignedCall) Context(ctx context.Context) *CustomersNodesDevicesCreateSignedCall
- func (c *CustomersNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *CustomersNodesDevicesCreateSignedCall) Fields(s ...googleapi.Field) *CustomersNodesDevicesCreateSignedCall
- func (c *CustomersNodesDevicesCreateSignedCall) Header() http.Header
- type CustomersNodesDevicesListCall
- func (c *CustomersNodesDevicesListCall) Context(ctx context.Context) *CustomersNodesDevicesListCall
- func (c *CustomersNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
- func (c *CustomersNodesDevicesListCall) Fields(s ...googleapi.Field) *CustomersNodesDevicesListCall
- func (c *CustomersNodesDevicesListCall) Filter(filter string) *CustomersNodesDevicesListCall
- func (c *CustomersNodesDevicesListCall) Header() http.Header
- func (c *CustomersNodesDevicesListCall) IfNoneMatch(entityTag string) *CustomersNodesDevicesListCall
- func (c *CustomersNodesDevicesListCall) PageSize(pageSize int64) *CustomersNodesDevicesListCall
- func (c *CustomersNodesDevicesListCall) PageToken(pageToken string) *CustomersNodesDevicesListCall
- func (c *CustomersNodesDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
- type CustomersNodesDevicesService
- func (r *CustomersNodesDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *CustomersNodesDevicesCreateCall
- func (r *CustomersNodesDevicesService) CreateSigned(parent string, ...) *CustomersNodesDevicesCreateSignedCall
- func (r *CustomersNodesDevicesService) List(parent string) *CustomersNodesDevicesListCall
- type CustomersNodesGetCall
- func (c *CustomersNodesGetCall) Context(ctx context.Context) *CustomersNodesGetCall
- func (c *CustomersNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *CustomersNodesGetCall) Fields(s ...googleapi.Field) *CustomersNodesGetCall
- func (c *CustomersNodesGetCall) Header() http.Header
- func (c *CustomersNodesGetCall) IfNoneMatch(entityTag string) *CustomersNodesGetCall
- type CustomersNodesListCall
- func (c *CustomersNodesListCall) Context(ctx context.Context) *CustomersNodesListCall
- func (c *CustomersNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNodesResponse, error)
- func (c *CustomersNodesListCall) Fields(s ...googleapi.Field) *CustomersNodesListCall
- func (c *CustomersNodesListCall) Filter(filter string) *CustomersNodesListCall
- func (c *CustomersNodesListCall) Header() http.Header
- func (c *CustomersNodesListCall) IfNoneMatch(entityTag string) *CustomersNodesListCall
- func (c *CustomersNodesListCall) PageSize(pageSize int64) *CustomersNodesListCall
- func (c *CustomersNodesListCall) PageToken(pageToken string) *CustomersNodesListCall
- func (c *CustomersNodesListCall) Pages(ctx context.Context, f func(*SasPortalListNodesResponse) error) error
- type CustomersNodesMoveCall
- func (c *CustomersNodesMoveCall) Context(ctx context.Context) *CustomersNodesMoveCall
- func (c *CustomersNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
- func (c *CustomersNodesMoveCall) Fields(s ...googleapi.Field) *CustomersNodesMoveCall
- func (c *CustomersNodesMoveCall) Header() http.Header
- type CustomersNodesNodesCreateCall
- func (c *CustomersNodesNodesCreateCall) Context(ctx context.Context) *CustomersNodesNodesCreateCall
- func (c *CustomersNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *CustomersNodesNodesCreateCall) Fields(s ...googleapi.Field) *CustomersNodesNodesCreateCall
- func (c *CustomersNodesNodesCreateCall) Header() http.Header
- type CustomersNodesNodesListCall
- func (c *CustomersNodesNodesListCall) Context(ctx context.Context) *CustomersNodesNodesListCall
- func (c *CustomersNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNodesResponse, error)
- func (c *CustomersNodesNodesListCall) Fields(s ...googleapi.Field) *CustomersNodesNodesListCall
- func (c *CustomersNodesNodesListCall) Filter(filter string) *CustomersNodesNodesListCall
- func (c *CustomersNodesNodesListCall) Header() http.Header
- func (c *CustomersNodesNodesListCall) IfNoneMatch(entityTag string) *CustomersNodesNodesListCall
- func (c *CustomersNodesNodesListCall) PageSize(pageSize int64) *CustomersNodesNodesListCall
- func (c *CustomersNodesNodesListCall) PageToken(pageToken string) *CustomersNodesNodesListCall
- func (c *CustomersNodesNodesListCall) Pages(ctx context.Context, f func(*SasPortalListNodesResponse) error) error
- type CustomersNodesNodesService
- type CustomersNodesPatchCall
- func (c *CustomersNodesPatchCall) Context(ctx context.Context) *CustomersNodesPatchCall
- func (c *CustomersNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *CustomersNodesPatchCall) Fields(s ...googleapi.Field) *CustomersNodesPatchCall
- func (c *CustomersNodesPatchCall) Header() http.Header
- func (c *CustomersNodesPatchCall) UpdateMask(updateMask string) *CustomersNodesPatchCall
- type CustomersNodesService
- func (r *CustomersNodesService) Create(parent string, sasportalnode *SasPortalNode) *CustomersNodesCreateCall
- func (r *CustomersNodesService) Delete(name string) *CustomersNodesDeleteCall
- func (r *CustomersNodesService) Get(name string) *CustomersNodesGetCall
- func (r *CustomersNodesService) List(parent string) *CustomersNodesListCall
- func (r *CustomersNodesService) Move(name string, sasportalmovenoderequest *SasPortalMoveNodeRequest) *CustomersNodesMoveCall
- func (r *CustomersNodesService) Patch(name string, sasportalnode *SasPortalNode) *CustomersNodesPatchCall
- type CustomersPatchCall
- func (c *CustomersPatchCall) Context(ctx context.Context) *CustomersPatchCall
- func (c *CustomersPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalCustomer, error)
- func (c *CustomersPatchCall) Fields(s ...googleapi.Field) *CustomersPatchCall
- func (c *CustomersPatchCall) Header() http.Header
- func (c *CustomersPatchCall) UpdateMask(updateMask string) *CustomersPatchCall
- type CustomersService
- type DeploymentsDevicesDeleteCall
- func (c *DeploymentsDevicesDeleteCall) Context(ctx context.Context) *DeploymentsDevicesDeleteCall
- func (c *DeploymentsDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *DeploymentsDevicesDeleteCall) Fields(s ...googleapi.Field) *DeploymentsDevicesDeleteCall
- func (c *DeploymentsDevicesDeleteCall) Header() http.Header
- type DeploymentsDevicesGetCall
- func (c *DeploymentsDevicesGetCall) Context(ctx context.Context) *DeploymentsDevicesGetCall
- func (c *DeploymentsDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *DeploymentsDevicesGetCall) Fields(s ...googleapi.Field) *DeploymentsDevicesGetCall
- func (c *DeploymentsDevicesGetCall) Header() http.Header
- func (c *DeploymentsDevicesGetCall) IfNoneMatch(entityTag string) *DeploymentsDevicesGetCall
- type DeploymentsDevicesMoveCall
- func (c *DeploymentsDevicesMoveCall) Context(ctx context.Context) *DeploymentsDevicesMoveCall
- func (c *DeploymentsDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
- func (c *DeploymentsDevicesMoveCall) Fields(s ...googleapi.Field) *DeploymentsDevicesMoveCall
- func (c *DeploymentsDevicesMoveCall) Header() http.Header
- type DeploymentsDevicesPatchCall
- func (c *DeploymentsDevicesPatchCall) Context(ctx context.Context) *DeploymentsDevicesPatchCall
- func (c *DeploymentsDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *DeploymentsDevicesPatchCall) Fields(s ...googleapi.Field) *DeploymentsDevicesPatchCall
- func (c *DeploymentsDevicesPatchCall) Header() http.Header
- func (c *DeploymentsDevicesPatchCall) UpdateMask(updateMask string) *DeploymentsDevicesPatchCall
- type DeploymentsDevicesService
- func (r *DeploymentsDevicesService) Delete(name string) *DeploymentsDevicesDeleteCall
- func (r *DeploymentsDevicesService) Get(name string) *DeploymentsDevicesGetCall
- func (r *DeploymentsDevicesService) Move(name string, sasportalmovedevicerequest *SasPortalMoveDeviceRequest) *DeploymentsDevicesMoveCall
- func (r *DeploymentsDevicesService) Patch(name string, sasportaldevice *SasPortalDevice) *DeploymentsDevicesPatchCall
- func (r *DeploymentsDevicesService) SignDevice(name string, sasportalsigndevicerequest *SasPortalSignDeviceRequest) *DeploymentsDevicesSignDeviceCall
- func (r *DeploymentsDevicesService) UpdateSigned(name string, ...) *DeploymentsDevicesUpdateSignedCall
- type DeploymentsDevicesSignDeviceCall
- func (c *DeploymentsDevicesSignDeviceCall) Context(ctx context.Context) *DeploymentsDevicesSignDeviceCall
- func (c *DeploymentsDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *DeploymentsDevicesSignDeviceCall) Fields(s ...googleapi.Field) *DeploymentsDevicesSignDeviceCall
- func (c *DeploymentsDevicesSignDeviceCall) Header() http.Header
- type DeploymentsDevicesUpdateSignedCall
- func (c *DeploymentsDevicesUpdateSignedCall) Context(ctx context.Context) *DeploymentsDevicesUpdateSignedCall
- func (c *DeploymentsDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *DeploymentsDevicesUpdateSignedCall) Fields(s ...googleapi.Field) *DeploymentsDevicesUpdateSignedCall
- func (c *DeploymentsDevicesUpdateSignedCall) Header() http.Header
- type DeploymentsGetCall
- func (c *DeploymentsGetCall) Context(ctx context.Context) *DeploymentsGetCall
- func (c *DeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
- func (c *DeploymentsGetCall) Fields(s ...googleapi.Field) *DeploymentsGetCall
- func (c *DeploymentsGetCall) Header() http.Header
- func (c *DeploymentsGetCall) IfNoneMatch(entityTag string) *DeploymentsGetCall
- type DeploymentsService
- type InstallerGenerateSecretCall
- func (c *InstallerGenerateSecretCall) Context(ctx context.Context) *InstallerGenerateSecretCall
- func (c *InstallerGenerateSecretCall) Do(opts ...googleapi.CallOption) (*SasPortalGenerateSecretResponse, error)
- func (c *InstallerGenerateSecretCall) Fields(s ...googleapi.Field) *InstallerGenerateSecretCall
- func (c *InstallerGenerateSecretCall) Header() http.Header
- type InstallerService
- type InstallerValidateCall
- func (c *InstallerValidateCall) Context(ctx context.Context) *InstallerValidateCall
- func (c *InstallerValidateCall) Do(opts ...googleapi.CallOption) (*SasPortalValidateInstallerResponse, error)
- func (c *InstallerValidateCall) Fields(s ...googleapi.Field) *InstallerValidateCall
- func (c *InstallerValidateCall) Header() http.Header
- type NodesDeploymentsDeleteCall
- func (c *NodesDeploymentsDeleteCall) Context(ctx context.Context) *NodesDeploymentsDeleteCall
- func (c *NodesDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *NodesDeploymentsDeleteCall) Fields(s ...googleapi.Field) *NodesDeploymentsDeleteCall
- func (c *NodesDeploymentsDeleteCall) Header() http.Header
- type NodesDeploymentsDevicesCreateCall
- func (c *NodesDeploymentsDevicesCreateCall) Context(ctx context.Context) *NodesDeploymentsDevicesCreateCall
- func (c *NodesDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesDeploymentsDevicesCreateCall) Fields(s ...googleapi.Field) *NodesDeploymentsDevicesCreateCall
- func (c *NodesDeploymentsDevicesCreateCall) Header() http.Header
- type NodesDeploymentsDevicesCreateSignedCall
- func (c *NodesDeploymentsDevicesCreateSignedCall) Context(ctx context.Context) *NodesDeploymentsDevicesCreateSignedCall
- func (c *NodesDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesDeploymentsDevicesCreateSignedCall) Fields(s ...googleapi.Field) *NodesDeploymentsDevicesCreateSignedCall
- func (c *NodesDeploymentsDevicesCreateSignedCall) Header() http.Header
- type NodesDeploymentsDevicesListCall
- func (c *NodesDeploymentsDevicesListCall) Context(ctx context.Context) *NodesDeploymentsDevicesListCall
- func (c *NodesDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
- func (c *NodesDeploymentsDevicesListCall) Fields(s ...googleapi.Field) *NodesDeploymentsDevicesListCall
- func (c *NodesDeploymentsDevicesListCall) Filter(filter string) *NodesDeploymentsDevicesListCall
- func (c *NodesDeploymentsDevicesListCall) Header() http.Header
- func (c *NodesDeploymentsDevicesListCall) IfNoneMatch(entityTag string) *NodesDeploymentsDevicesListCall
- func (c *NodesDeploymentsDevicesListCall) PageSize(pageSize int64) *NodesDeploymentsDevicesListCall
- func (c *NodesDeploymentsDevicesListCall) PageToken(pageToken string) *NodesDeploymentsDevicesListCall
- func (c *NodesDeploymentsDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
- type NodesDeploymentsDevicesService
- func (r *NodesDeploymentsDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *NodesDeploymentsDevicesCreateCall
- func (r *NodesDeploymentsDevicesService) CreateSigned(parent string, ...) *NodesDeploymentsDevicesCreateSignedCall
- func (r *NodesDeploymentsDevicesService) List(parent string) *NodesDeploymentsDevicesListCall
- type NodesDeploymentsGetCall
- func (c *NodesDeploymentsGetCall) Context(ctx context.Context) *NodesDeploymentsGetCall
- func (c *NodesDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
- func (c *NodesDeploymentsGetCall) Fields(s ...googleapi.Field) *NodesDeploymentsGetCall
- func (c *NodesDeploymentsGetCall) Header() http.Header
- func (c *NodesDeploymentsGetCall) IfNoneMatch(entityTag string) *NodesDeploymentsGetCall
- type NodesDeploymentsListCall
- func (c *NodesDeploymentsListCall) Context(ctx context.Context) *NodesDeploymentsListCall
- func (c *NodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDeploymentsResponse, error)
- func (c *NodesDeploymentsListCall) Fields(s ...googleapi.Field) *NodesDeploymentsListCall
- func (c *NodesDeploymentsListCall) Filter(filter string) *NodesDeploymentsListCall
- func (c *NodesDeploymentsListCall) Header() http.Header
- func (c *NodesDeploymentsListCall) IfNoneMatch(entityTag string) *NodesDeploymentsListCall
- func (c *NodesDeploymentsListCall) PageSize(pageSize int64) *NodesDeploymentsListCall
- func (c *NodesDeploymentsListCall) PageToken(pageToken string) *NodesDeploymentsListCall
- func (c *NodesDeploymentsListCall) Pages(ctx context.Context, f func(*SasPortalListDeploymentsResponse) error) error
- type NodesDeploymentsMoveCall
- func (c *NodesDeploymentsMoveCall) Context(ctx context.Context) *NodesDeploymentsMoveCall
- func (c *NodesDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
- func (c *NodesDeploymentsMoveCall) Fields(s ...googleapi.Field) *NodesDeploymentsMoveCall
- func (c *NodesDeploymentsMoveCall) Header() http.Header
- type NodesDeploymentsPatchCall
- func (c *NodesDeploymentsPatchCall) Context(ctx context.Context) *NodesDeploymentsPatchCall
- func (c *NodesDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
- func (c *NodesDeploymentsPatchCall) Fields(s ...googleapi.Field) *NodesDeploymentsPatchCall
- func (c *NodesDeploymentsPatchCall) Header() http.Header
- func (c *NodesDeploymentsPatchCall) UpdateMask(updateMask string) *NodesDeploymentsPatchCall
- type NodesDeploymentsService
- func (r *NodesDeploymentsService) Delete(name string) *NodesDeploymentsDeleteCall
- func (r *NodesDeploymentsService) Get(name string) *NodesDeploymentsGetCall
- func (r *NodesDeploymentsService) List(parent string) *NodesDeploymentsListCall
- func (r *NodesDeploymentsService) Move(name string, sasportalmovedeploymentrequest *SasPortalMoveDeploymentRequest) *NodesDeploymentsMoveCall
- func (r *NodesDeploymentsService) Patch(name string, sasportaldeployment *SasPortalDeployment) *NodesDeploymentsPatchCall
- type NodesDevicesCreateCall
- func (c *NodesDevicesCreateCall) Context(ctx context.Context) *NodesDevicesCreateCall
- func (c *NodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesDevicesCreateCall) Fields(s ...googleapi.Field) *NodesDevicesCreateCall
- func (c *NodesDevicesCreateCall) Header() http.Header
- type NodesDevicesCreateSignedCall
- func (c *NodesDevicesCreateSignedCall) Context(ctx context.Context) *NodesDevicesCreateSignedCall
- func (c *NodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesDevicesCreateSignedCall) Fields(s ...googleapi.Field) *NodesDevicesCreateSignedCall
- func (c *NodesDevicesCreateSignedCall) Header() http.Header
- type NodesDevicesDeleteCall
- func (c *NodesDevicesDeleteCall) Context(ctx context.Context) *NodesDevicesDeleteCall
- func (c *NodesDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *NodesDevicesDeleteCall) Fields(s ...googleapi.Field) *NodesDevicesDeleteCall
- func (c *NodesDevicesDeleteCall) Header() http.Header
- type NodesDevicesGetCall
- func (c *NodesDevicesGetCall) Context(ctx context.Context) *NodesDevicesGetCall
- func (c *NodesDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesDevicesGetCall) Fields(s ...googleapi.Field) *NodesDevicesGetCall
- func (c *NodesDevicesGetCall) Header() http.Header
- func (c *NodesDevicesGetCall) IfNoneMatch(entityTag string) *NodesDevicesGetCall
- type NodesDevicesListCall
- func (c *NodesDevicesListCall) Context(ctx context.Context) *NodesDevicesListCall
- func (c *NodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
- func (c *NodesDevicesListCall) Fields(s ...googleapi.Field) *NodesDevicesListCall
- func (c *NodesDevicesListCall) Filter(filter string) *NodesDevicesListCall
- func (c *NodesDevicesListCall) Header() http.Header
- func (c *NodesDevicesListCall) IfNoneMatch(entityTag string) *NodesDevicesListCall
- func (c *NodesDevicesListCall) PageSize(pageSize int64) *NodesDevicesListCall
- func (c *NodesDevicesListCall) PageToken(pageToken string) *NodesDevicesListCall
- func (c *NodesDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
- type NodesDevicesMoveCall
- func (c *NodesDevicesMoveCall) Context(ctx context.Context) *NodesDevicesMoveCall
- func (c *NodesDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
- func (c *NodesDevicesMoveCall) Fields(s ...googleapi.Field) *NodesDevicesMoveCall
- func (c *NodesDevicesMoveCall) Header() http.Header
- type NodesDevicesPatchCall
- func (c *NodesDevicesPatchCall) Context(ctx context.Context) *NodesDevicesPatchCall
- func (c *NodesDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesDevicesPatchCall) Fields(s ...googleapi.Field) *NodesDevicesPatchCall
- func (c *NodesDevicesPatchCall) Header() http.Header
- func (c *NodesDevicesPatchCall) UpdateMask(updateMask string) *NodesDevicesPatchCall
- type NodesDevicesService
- func (r *NodesDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *NodesDevicesCreateCall
- func (r *NodesDevicesService) CreateSigned(parent string, ...) *NodesDevicesCreateSignedCall
- func (r *NodesDevicesService) Delete(name string) *NodesDevicesDeleteCall
- func (r *NodesDevicesService) Get(name string) *NodesDevicesGetCall
- func (r *NodesDevicesService) List(parent string) *NodesDevicesListCall
- func (r *NodesDevicesService) Move(name string, sasportalmovedevicerequest *SasPortalMoveDeviceRequest) *NodesDevicesMoveCall
- func (r *NodesDevicesService) Patch(name string, sasportaldevice *SasPortalDevice) *NodesDevicesPatchCall
- func (r *NodesDevicesService) SignDevice(name string, sasportalsigndevicerequest *SasPortalSignDeviceRequest) *NodesDevicesSignDeviceCall
- func (r *NodesDevicesService) UpdateSigned(name string, ...) *NodesDevicesUpdateSignedCall
- type NodesDevicesSignDeviceCall
- func (c *NodesDevicesSignDeviceCall) Context(ctx context.Context) *NodesDevicesSignDeviceCall
- func (c *NodesDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *NodesDevicesSignDeviceCall) Fields(s ...googleapi.Field) *NodesDevicesSignDeviceCall
- func (c *NodesDevicesSignDeviceCall) Header() http.Header
- type NodesDevicesUpdateSignedCall
- func (c *NodesDevicesUpdateSignedCall) Context(ctx context.Context) *NodesDevicesUpdateSignedCall
- func (c *NodesDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesDevicesUpdateSignedCall) Fields(s ...googleapi.Field) *NodesDevicesUpdateSignedCall
- func (c *NodesDevicesUpdateSignedCall) Header() http.Header
- type NodesGetCall
- func (c *NodesGetCall) Context(ctx context.Context) *NodesGetCall
- func (c *NodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *NodesGetCall) Fields(s ...googleapi.Field) *NodesGetCall
- func (c *NodesGetCall) Header() http.Header
- func (c *NodesGetCall) IfNoneMatch(entityTag string) *NodesGetCall
- type NodesNodesCreateCall
- func (c *NodesNodesCreateCall) Context(ctx context.Context) *NodesNodesCreateCall
- func (c *NodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *NodesNodesCreateCall) Fields(s ...googleapi.Field) *NodesNodesCreateCall
- func (c *NodesNodesCreateCall) Header() http.Header
- type NodesNodesDeleteCall
- func (c *NodesNodesDeleteCall) Context(ctx context.Context) *NodesNodesDeleteCall
- func (c *NodesNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
- func (c *NodesNodesDeleteCall) Fields(s ...googleapi.Field) *NodesNodesDeleteCall
- func (c *NodesNodesDeleteCall) Header() http.Header
- type NodesNodesDeploymentsCreateCall
- func (c *NodesNodesDeploymentsCreateCall) Context(ctx context.Context) *NodesNodesDeploymentsCreateCall
- func (c *NodesNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
- func (c *NodesNodesDeploymentsCreateCall) Fields(s ...googleapi.Field) *NodesNodesDeploymentsCreateCall
- func (c *NodesNodesDeploymentsCreateCall) Header() http.Header
- type NodesNodesDeploymentsListCall
- func (c *NodesNodesDeploymentsListCall) Context(ctx context.Context) *NodesNodesDeploymentsListCall
- func (c *NodesNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDeploymentsResponse, error)
- func (c *NodesNodesDeploymentsListCall) Fields(s ...googleapi.Field) *NodesNodesDeploymentsListCall
- func (c *NodesNodesDeploymentsListCall) Filter(filter string) *NodesNodesDeploymentsListCall
- func (c *NodesNodesDeploymentsListCall) Header() http.Header
- func (c *NodesNodesDeploymentsListCall) IfNoneMatch(entityTag string) *NodesNodesDeploymentsListCall
- func (c *NodesNodesDeploymentsListCall) PageSize(pageSize int64) *NodesNodesDeploymentsListCall
- func (c *NodesNodesDeploymentsListCall) PageToken(pageToken string) *NodesNodesDeploymentsListCall
- func (c *NodesNodesDeploymentsListCall) Pages(ctx context.Context, f func(*SasPortalListDeploymentsResponse) error) error
- type NodesNodesDeploymentsService
- type NodesNodesDevicesCreateCall
- func (c *NodesNodesDevicesCreateCall) Context(ctx context.Context) *NodesNodesDevicesCreateCall
- func (c *NodesNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesNodesDevicesCreateCall) Fields(s ...googleapi.Field) *NodesNodesDevicesCreateCall
- func (c *NodesNodesDevicesCreateCall) Header() http.Header
- type NodesNodesDevicesCreateSignedCall
- func (c *NodesNodesDevicesCreateSignedCall) Context(ctx context.Context) *NodesNodesDevicesCreateSignedCall
- func (c *NodesNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
- func (c *NodesNodesDevicesCreateSignedCall) Fields(s ...googleapi.Field) *NodesNodesDevicesCreateSignedCall
- func (c *NodesNodesDevicesCreateSignedCall) Header() http.Header
- type NodesNodesDevicesListCall
- func (c *NodesNodesDevicesListCall) Context(ctx context.Context) *NodesNodesDevicesListCall
- func (c *NodesNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
- func (c *NodesNodesDevicesListCall) Fields(s ...googleapi.Field) *NodesNodesDevicesListCall
- func (c *NodesNodesDevicesListCall) Filter(filter string) *NodesNodesDevicesListCall
- func (c *NodesNodesDevicesListCall) Header() http.Header
- func (c *NodesNodesDevicesListCall) IfNoneMatch(entityTag string) *NodesNodesDevicesListCall
- func (c *NodesNodesDevicesListCall) PageSize(pageSize int64) *NodesNodesDevicesListCall
- func (c *NodesNodesDevicesListCall) PageToken(pageToken string) *NodesNodesDevicesListCall
- func (c *NodesNodesDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
- type NodesNodesDevicesService
- func (r *NodesNodesDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *NodesNodesDevicesCreateCall
- func (r *NodesNodesDevicesService) CreateSigned(parent string, ...) *NodesNodesDevicesCreateSignedCall
- func (r *NodesNodesDevicesService) List(parent string) *NodesNodesDevicesListCall
- type NodesNodesGetCall
- func (c *NodesNodesGetCall) Context(ctx context.Context) *NodesNodesGetCall
- func (c *NodesNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *NodesNodesGetCall) Fields(s ...googleapi.Field) *NodesNodesGetCall
- func (c *NodesNodesGetCall) Header() http.Header
- func (c *NodesNodesGetCall) IfNoneMatch(entityTag string) *NodesNodesGetCall
- type NodesNodesListCall
- func (c *NodesNodesListCall) Context(ctx context.Context) *NodesNodesListCall
- func (c *NodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNodesResponse, error)
- func (c *NodesNodesListCall) Fields(s ...googleapi.Field) *NodesNodesListCall
- func (c *NodesNodesListCall) Filter(filter string) *NodesNodesListCall
- func (c *NodesNodesListCall) Header() http.Header
- func (c *NodesNodesListCall) IfNoneMatch(entityTag string) *NodesNodesListCall
- func (c *NodesNodesListCall) PageSize(pageSize int64) *NodesNodesListCall
- func (c *NodesNodesListCall) PageToken(pageToken string) *NodesNodesListCall
- func (c *NodesNodesListCall) Pages(ctx context.Context, f func(*SasPortalListNodesResponse) error) error
- type NodesNodesMoveCall
- type NodesNodesNodesCreateCall
- func (c *NodesNodesNodesCreateCall) Context(ctx context.Context) *NodesNodesNodesCreateCall
- func (c *NodesNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *NodesNodesNodesCreateCall) Fields(s ...googleapi.Field) *NodesNodesNodesCreateCall
- func (c *NodesNodesNodesCreateCall) Header() http.Header
- type NodesNodesNodesListCall
- func (c *NodesNodesNodesListCall) Context(ctx context.Context) *NodesNodesNodesListCall
- func (c *NodesNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNodesResponse, error)
- func (c *NodesNodesNodesListCall) Fields(s ...googleapi.Field) *NodesNodesNodesListCall
- func (c *NodesNodesNodesListCall) Filter(filter string) *NodesNodesNodesListCall
- func (c *NodesNodesNodesListCall) Header() http.Header
- func (c *NodesNodesNodesListCall) IfNoneMatch(entityTag string) *NodesNodesNodesListCall
- func (c *NodesNodesNodesListCall) PageSize(pageSize int64) *NodesNodesNodesListCall
- func (c *NodesNodesNodesListCall) PageToken(pageToken string) *NodesNodesNodesListCall
- func (c *NodesNodesNodesListCall) Pages(ctx context.Context, f func(*SasPortalListNodesResponse) error) error
- type NodesNodesNodesService
- type NodesNodesPatchCall
- func (c *NodesNodesPatchCall) Context(ctx context.Context) *NodesNodesPatchCall
- func (c *NodesNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
- func (c *NodesNodesPatchCall) Fields(s ...googleapi.Field) *NodesNodesPatchCall
- func (c *NodesNodesPatchCall) Header() http.Header
- func (c *NodesNodesPatchCall) UpdateMask(updateMask string) *NodesNodesPatchCall
- type NodesNodesService
- func (r *NodesNodesService) Create(parent string, sasportalnode *SasPortalNode) *NodesNodesCreateCall
- func (r *NodesNodesService) Delete(name string) *NodesNodesDeleteCall
- func (r *NodesNodesService) Get(name string) *NodesNodesGetCall
- func (r *NodesNodesService) List(parent string) *NodesNodesListCall
- func (r *NodesNodesService) Move(name string, sasportalmovenoderequest *SasPortalMoveNodeRequest) *NodesNodesMoveCall
- func (r *NodesNodesService) Patch(name string, sasportalnode *SasPortalNode) *NodesNodesPatchCall
- type NodesService
- type PoliciesGetCall
- type PoliciesService
- func (r *PoliciesService) Get(sasportalgetpolicyrequest *SasPortalGetPolicyRequest) *PoliciesGetCall
- func (r *PoliciesService) Set(sasportalsetpolicyrequest *SasPortalSetPolicyRequest) *PoliciesSetCall
- func (r *PoliciesService) Test(sasportaltestpermissionsrequest *SasPortalTestPermissionsRequest) *PoliciesTestCall
- type PoliciesSetCall
- type PoliciesTestCall
- type SasPortalAssignment
- type SasPortalChannelWithScore
- type SasPortalCreateSignedDeviceRequest
- type SasPortalCustomer
- type SasPortalDeployment
- type SasPortalDevice
- type SasPortalDeviceAirInterface
- type SasPortalDeviceConfig
- type SasPortalDeviceGrant
- type SasPortalDeviceMetadata
- type SasPortalDeviceModel
- type SasPortalDpaMoveList
- type SasPortalEmpty
- type SasPortalFrequencyRange
- type SasPortalGenerateSecretRequest
- type SasPortalGenerateSecretResponse
- type SasPortalGetPolicyRequest
- type SasPortalInstallationParams
- type SasPortalListCustomersResponse
- type SasPortalListDeploymentsResponse
- type SasPortalListDevicesResponse
- type SasPortalListNodesResponse
- type SasPortalMoveDeploymentRequest
- type SasPortalMoveDeviceRequest
- type SasPortalMoveNodeRequest
- type SasPortalNode
- type SasPortalOperation
- type SasPortalPolicy
- type SasPortalSetPolicyRequest
- type SasPortalSignDeviceRequest
- type SasPortalStatus
- type SasPortalTestPermissionsRequest
- type SasPortalTestPermissionsResponse
- type SasPortalUpdateSignedDeviceRequest
- type SasPortalValidateInstallerRequest
- type SasPortalValidateInstallerResponse
- type Service
Constants ¶
const (
// See your primary Google Account 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 CustomersDeploymentsCreateCall ¶ added in v0.29.0
type CustomersDeploymentsCreateCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsCreateCall) Context ¶ added in v0.29.0
func (c *CustomersDeploymentsCreateCall) Context(ctx context.Context) *CustomersDeploymentsCreateCall
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 (*CustomersDeploymentsCreateCall) Do ¶ added in v0.29.0
func (c *CustomersDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
Do executes the "sasportal.customers.deployments.create" call. Exactly one of *SasPortalDeployment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDeployment.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 (*CustomersDeploymentsCreateCall) Fields ¶ added in v0.29.0
func (c *CustomersDeploymentsCreateCall) Fields(s ...googleapi.Field) *CustomersDeploymentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsCreateCall) Header ¶ added in v0.29.0
func (c *CustomersDeploymentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersDeploymentsDeleteCall ¶ added in v0.29.0
type CustomersDeploymentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsDeleteCall) Context ¶ added in v0.29.0
func (c *CustomersDeploymentsDeleteCall) Context(ctx context.Context) *CustomersDeploymentsDeleteCall
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 (*CustomersDeploymentsDeleteCall) Do ¶ added in v0.29.0
func (c *CustomersDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "sasportal.customers.deployments.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 (*CustomersDeploymentsDeleteCall) Fields ¶ added in v0.29.0
func (c *CustomersDeploymentsDeleteCall) Fields(s ...googleapi.Field) *CustomersDeploymentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsDeleteCall) Header ¶ added in v0.29.0
func (c *CustomersDeploymentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersDeploymentsDevicesCreateCall ¶ added in v0.32.0
type CustomersDeploymentsDevicesCreateCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsDevicesCreateCall) Context ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesCreateCall) Context(ctx context.Context) *CustomersDeploymentsDevicesCreateCall
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 (*CustomersDeploymentsDevicesCreateCall) Do ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.customers.deployments.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 (*CustomersDeploymentsDevicesCreateCall) Fields ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesCreateCall) Fields(s ...googleapi.Field) *CustomersDeploymentsDevicesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsDevicesCreateCall) Header ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersDeploymentsDevicesCreateSignedCall ¶ added in v0.32.0
type CustomersDeploymentsDevicesCreateSignedCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsDevicesCreateSignedCall) Context ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesCreateSignedCall) Context(ctx context.Context) *CustomersDeploymentsDevicesCreateSignedCall
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 (*CustomersDeploymentsDevicesCreateSignedCall) Do ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.customers.deployments.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 (*CustomersDeploymentsDevicesCreateSignedCall) Fields ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesCreateSignedCall) Fields(s ...googleapi.Field) *CustomersDeploymentsDevicesCreateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsDevicesCreateSignedCall) Header ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesCreateSignedCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersDeploymentsDevicesListCall ¶ added in v0.32.0
type CustomersDeploymentsDevicesListCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsDevicesListCall) Context ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) Context(ctx context.Context) *CustomersDeploymentsDevicesListCall
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 (*CustomersDeploymentsDevicesListCall) Do ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
Do executes the "sasportal.customers.deployments.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 (*CustomersDeploymentsDevicesListCall) Fields ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) Fields(s ...googleapi.Field) *CustomersDeploymentsDevicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsDevicesListCall) Filter ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) Filter(filter string) *CustomersDeploymentsDevicesListCall
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 (*CustomersDeploymentsDevicesListCall) Header ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*CustomersDeploymentsDevicesListCall) IfNoneMatch ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) IfNoneMatch(entityTag string) *CustomersDeploymentsDevicesListCall
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 (*CustomersDeploymentsDevicesListCall) PageSize ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) PageSize(pageSize int64) *CustomersDeploymentsDevicesListCall
PageSize sets the optional parameter "pageSize": The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
func (*CustomersDeploymentsDevicesListCall) PageToken ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) PageToken(pageToken string) *CustomersDeploymentsDevicesListCall
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 (*CustomersDeploymentsDevicesListCall) Pages ¶ added in v0.32.0
func (c *CustomersDeploymentsDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersDeploymentsDevicesService ¶ added in v0.32.0
type CustomersDeploymentsDevicesService struct {
// contains filtered or unexported fields
}
func NewCustomersDeploymentsDevicesService ¶ added in v0.32.0
func NewCustomersDeploymentsDevicesService(s *Service) *CustomersDeploymentsDevicesService
func (*CustomersDeploymentsDevicesService) Create ¶ added in v0.32.0
func (r *CustomersDeploymentsDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *CustomersDeploymentsDevicesCreateCall
Create: Creates a device under a node or customer.
- parent: The name of the parent resource.
func (*CustomersDeploymentsDevicesService) CreateSigned ¶ added in v0.32.0
func (r *CustomersDeploymentsDevicesService) CreateSigned(parent string, sasportalcreatesigneddevicerequest *SasPortalCreateSignedDeviceRequest) *CustomersDeploymentsDevicesCreateSignedCall
CreateSigned: Creates a signed device under a node or customer.
- parent: The name of the parent resource.
func (*CustomersDeploymentsDevicesService) List ¶ added in v0.32.0
func (r *CustomersDeploymentsDevicesService) List(parent string) *CustomersDeploymentsDevicesListCall
List: Lists devices under a node or customer.
- parent: The name of the parent resource.
type CustomersDeploymentsGetCall ¶ added in v0.29.0
type CustomersDeploymentsGetCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsGetCall) Context ¶ added in v0.29.0
func (c *CustomersDeploymentsGetCall) Context(ctx context.Context) *CustomersDeploymentsGetCall
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 (*CustomersDeploymentsGetCall) Do ¶ added in v0.29.0
func (c *CustomersDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
Do executes the "sasportal.customers.deployments.get" call. Exactly one of *SasPortalDeployment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDeployment.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 (*CustomersDeploymentsGetCall) Fields ¶ added in v0.29.0
func (c *CustomersDeploymentsGetCall) Fields(s ...googleapi.Field) *CustomersDeploymentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsGetCall) Header ¶ added in v0.29.0
func (c *CustomersDeploymentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*CustomersDeploymentsGetCall) IfNoneMatch ¶ added in v0.29.0
func (c *CustomersDeploymentsGetCall) IfNoneMatch(entityTag string) *CustomersDeploymentsGetCall
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 CustomersDeploymentsListCall ¶ added in v0.29.0
type CustomersDeploymentsListCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsListCall) Context ¶ added in v0.29.0
func (c *CustomersDeploymentsListCall) Context(ctx context.Context) *CustomersDeploymentsListCall
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 (*CustomersDeploymentsListCall) Do ¶ added in v0.29.0
func (c *CustomersDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDeploymentsResponse, error)
Do executes the "sasportal.customers.deployments.list" call. Exactly one of *SasPortalListDeploymentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalListDeploymentsResponse.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 (*CustomersDeploymentsListCall) Fields ¶ added in v0.29.0
func (c *CustomersDeploymentsListCall) Fields(s ...googleapi.Field) *CustomersDeploymentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsListCall) Filter ¶ added in v0.39.0
func (c *CustomersDeploymentsListCall) Filter(filter string) *CustomersDeploymentsListCall
Filter sets the optional parameter "filter": The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.
func (*CustomersDeploymentsListCall) Header ¶ added in v0.29.0
func (c *CustomersDeploymentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*CustomersDeploymentsListCall) IfNoneMatch ¶ added in v0.29.0
func (c *CustomersDeploymentsListCall) IfNoneMatch(entityTag string) *CustomersDeploymentsListCall
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 (*CustomersDeploymentsListCall) PageSize ¶ added in v0.29.0
func (c *CustomersDeploymentsListCall) PageSize(pageSize int64) *CustomersDeploymentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of deployments to return in the response.
func (*CustomersDeploymentsListCall) PageToken ¶ added in v0.29.0
func (c *CustomersDeploymentsListCall) PageToken(pageToken string) *CustomersDeploymentsListCall
PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.
func (*CustomersDeploymentsListCall) Pages ¶ added in v0.29.0
func (c *CustomersDeploymentsListCall) Pages(ctx context.Context, f func(*SasPortalListDeploymentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersDeploymentsMoveCall ¶ added in v0.32.0
type CustomersDeploymentsMoveCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsMoveCall) Context ¶ added in v0.32.0
func (c *CustomersDeploymentsMoveCall) Context(ctx context.Context) *CustomersDeploymentsMoveCall
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 (*CustomersDeploymentsMoveCall) Do ¶ added in v0.32.0
func (c *CustomersDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
Do executes the "sasportal.customers.deployments.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 (*CustomersDeploymentsMoveCall) Fields ¶ added in v0.32.0
func (c *CustomersDeploymentsMoveCall) Fields(s ...googleapi.Field) *CustomersDeploymentsMoveCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsMoveCall) Header ¶ added in v0.32.0
func (c *CustomersDeploymentsMoveCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersDeploymentsPatchCall ¶ added in v0.29.0
type CustomersDeploymentsPatchCall struct {
// contains filtered or unexported fields
}
func (*CustomersDeploymentsPatchCall) Context ¶ added in v0.29.0
func (c *CustomersDeploymentsPatchCall) Context(ctx context.Context) *CustomersDeploymentsPatchCall
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 (*CustomersDeploymentsPatchCall) Do ¶ added in v0.29.0
func (c *CustomersDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
Do executes the "sasportal.customers.deployments.patch" call. Exactly one of *SasPortalDeployment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDeployment.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 (*CustomersDeploymentsPatchCall) Fields ¶ added in v0.29.0
func (c *CustomersDeploymentsPatchCall) Fields(s ...googleapi.Field) *CustomersDeploymentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDeploymentsPatchCall) Header ¶ added in v0.29.0
func (c *CustomersDeploymentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*CustomersDeploymentsPatchCall) UpdateMask ¶ added in v0.29.0
func (c *CustomersDeploymentsPatchCall) UpdateMask(updateMask string) *CustomersDeploymentsPatchCall
UpdateMask sets the optional parameter "updateMask": Fields to be updated.
type CustomersDeploymentsService ¶ added in v0.29.0
type CustomersDeploymentsService struct { Devices *CustomersDeploymentsDevicesService // contains filtered or unexported fields }
func NewCustomersDeploymentsService ¶ added in v0.29.0
func NewCustomersDeploymentsService(s *Service) *CustomersDeploymentsService
func (*CustomersDeploymentsService) Create ¶ added in v0.29.0
func (r *CustomersDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *CustomersDeploymentsCreateCall
Create: Creates a new deployment.
- parent: The parent resource name where the deployment is to be created.
func (*CustomersDeploymentsService) Delete ¶ added in v0.29.0
func (r *CustomersDeploymentsService) Delete(name string) *CustomersDeploymentsDeleteCall
Delete: Deletes a deployment.
- name: The name of the deployment.
func (*CustomersDeploymentsService) Get ¶ added in v0.29.0
func (r *CustomersDeploymentsService) Get(name string) *CustomersDeploymentsGetCall
Get: Returns a requested deployment.
- name: The name of the deployment.
func (*CustomersDeploymentsService) List ¶ added in v0.29.0
func (r *CustomersDeploymentsService) List(parent string) *CustomersDeploymentsListCall
List: Lists deployments.
- parent: The parent resource name, for example, "nodes/1", customer/1/nodes/2.
func (*CustomersDeploymentsService) Move ¶ added in v0.32.0
func (r *CustomersDeploymentsService) Move(name string, sasportalmovedeploymentrequest *SasPortalMoveDeploymentRequest) *CustomersDeploymentsMoveCall
Move: Moves a deployment under another node or customer.
- name: The name of the deployment to move.
func (*CustomersDeploymentsService) Patch ¶ added in v0.29.0
func (r *CustomersDeploymentsService) Patch(name string, sasportaldeployment *SasPortalDeployment) *CustomersDeploymentsPatchCall
Patch: Updates an existing deployment.
- name: Output only. Resource name.
type CustomersDevicesCreateCall ¶
type CustomersDevicesCreateCall struct {
// contains filtered or unexported fields
}
func (*CustomersDevicesCreateCall) Context ¶
func (c *CustomersDevicesCreateCall) Context(ctx context.Context) *CustomersDevicesCreateCall
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 ¶
func (c *CustomersDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *CustomersDevicesCreateCall) Fields(s ...googleapi.Field) *CustomersDevicesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDevicesCreateCall) Header ¶
func (c *CustomersDevicesCreateCall) Header() http.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 ¶
func (c *CustomersDevicesCreateSignedCall) Context(ctx context.Context) *CustomersDevicesCreateSignedCall
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 ¶
func (c *CustomersDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *CustomersDevicesCreateSignedCall) Fields(s ...googleapi.Field) *CustomersDevicesCreateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDevicesCreateSignedCall) Header ¶
func (c *CustomersDevicesCreateSignedCall) Header() http.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 ¶
func (c *CustomersDevicesDeleteCall) Context(ctx context.Context) *CustomersDevicesDeleteCall
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 ¶
func (c *CustomersDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "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 ¶
func (c *CustomersDevicesDeleteCall) Fields(s ...googleapi.Field) *CustomersDevicesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDevicesDeleteCall) Header ¶
func (c *CustomersDevicesDeleteCall) Header() http.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 ¶
func (c *CustomersDevicesGetCall) Context(ctx context.Context) *CustomersDevicesGetCall
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 ¶
func (c *CustomersDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *CustomersDevicesGetCall) Fields(s ...googleapi.Field) *CustomersDevicesGetCall
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 ¶
func (c *CustomersDevicesListCall) Context(ctx context.Context) *CustomersDevicesListCall
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 ¶
func (c *CustomersDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
Do executes the "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 ¶
func (c *CustomersDevicesListCall) Fields(s ...googleapi.Field) *CustomersDevicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDevicesListCall) Filter ¶
func (c *CustomersDevicesListCall) Filter(filter string) *CustomersDevicesListCall
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 ¶
func (c *CustomersDevicesListCall) PageSize(pageSize int64) *CustomersDevicesListCall
PageSize sets the optional parameter "pageSize": The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
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 ¶
func (c *CustomersDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersDevicesMoveCall ¶
type CustomersDevicesMoveCall struct {
// contains filtered or unexported fields
}
func (*CustomersDevicesMoveCall) Context ¶
func (c *CustomersDevicesMoveCall) Context(ctx context.Context) *CustomersDevicesMoveCall
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 ¶
func (c *CustomersDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
Do executes the "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 ¶
func (c *CustomersDevicesMoveCall) Fields(s ...googleapi.Field) *CustomersDevicesMoveCall
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 ¶
func (c *CustomersDevicesPatchCall) Context(ctx context.Context) *CustomersDevicesPatchCall
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 ¶
func (c *CustomersDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *CustomersDevicesPatchCall) Fields(s ...googleapi.Field) *CustomersDevicesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDevicesPatchCall) Header ¶
func (c *CustomersDevicesPatchCall) Header() http.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) Create ¶
func (r *CustomersDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *CustomersDevicesCreateCall
Create: Creates a device under a node or customer.
- parent: The name of the parent resource.
func (*CustomersDevicesService) CreateSigned ¶
func (r *CustomersDevicesService) CreateSigned(parent string, sasportalcreatesigneddevicerequest *SasPortalCreateSignedDeviceRequest) *CustomersDevicesCreateSignedCall
CreateSigned: Creates a signed device under a node or customer.
- parent: The name of the parent resource.
func (*CustomersDevicesService) Delete ¶
func (r *CustomersDevicesService) Delete(name string) *CustomersDevicesDeleteCall
Delete: Deletes a device.
- name: The name of the device.
func (*CustomersDevicesService) Get ¶
func (r *CustomersDevicesService) Get(name string) *CustomersDevicesGetCall
Get: Gets details about a device.
- name: The name of the device.
func (*CustomersDevicesService) List ¶
func (r *CustomersDevicesService) List(parent string) *CustomersDevicesListCall
List: Lists devices under a node or customer.
- parent: The name of the parent resource.
func (*CustomersDevicesService) Move ¶
func (r *CustomersDevicesService) Move(name string, sasportalmovedevicerequest *SasPortalMoveDeviceRequest) *CustomersDevicesMoveCall
Move: Moves a device under another node or customer.
- name: The name of the device to move.
func (*CustomersDevicesService) Patch ¶
func (r *CustomersDevicesService) Patch(name string, sasportaldevice *SasPortalDevice) *CustomersDevicesPatchCall
Patch: Updates a device.
- name: Output only. The resource path name.
func (*CustomersDevicesService) SignDevice ¶
func (r *CustomersDevicesService) SignDevice(name string, sasportalsigndevicerequest *SasPortalSignDeviceRequest) *CustomersDevicesSignDeviceCall
SignDevice: Signs a device.
- name: Output only. The resource path name.
func (*CustomersDevicesService) UpdateSigned ¶
func (r *CustomersDevicesService) UpdateSigned(name string, sasportalupdatesigneddevicerequest *SasPortalUpdateSignedDeviceRequest) *CustomersDevicesUpdateSignedCall
UpdateSigned: Updates a signed device.
- name: The name of the device to update.
type CustomersDevicesSignDeviceCall ¶
type CustomersDevicesSignDeviceCall struct {
// contains filtered or unexported fields
}
func (*CustomersDevicesSignDeviceCall) Context ¶
func (c *CustomersDevicesSignDeviceCall) Context(ctx context.Context) *CustomersDevicesSignDeviceCall
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 ¶
func (c *CustomersDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "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 ¶
func (c *CustomersDevicesSignDeviceCall) Fields(s ...googleapi.Field) *CustomersDevicesSignDeviceCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDevicesSignDeviceCall) Header ¶
func (c *CustomersDevicesSignDeviceCall) Header() http.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 ¶
func (c *CustomersDevicesUpdateSignedCall) Context(ctx context.Context) *CustomersDevicesUpdateSignedCall
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 ¶
func (c *CustomersDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *CustomersDevicesUpdateSignedCall) Fields(s ...googleapi.Field) *CustomersDevicesUpdateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersDevicesUpdateSignedCall) Header ¶
func (c *CustomersDevicesUpdateSignedCall) Header() http.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 ¶
func (c *CustomersGetCall) Context(ctx context.Context) *CustomersGetCall
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 ¶
func (c *CustomersGetCall) Do(opts ...googleapi.CallOption) (*SasPortalCustomer, error)
Do executes the "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 ¶
func (c *CustomersGetCall) Fields(s ...googleapi.Field) *CustomersGetCall
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 ¶
func (c *CustomersListCall) Context(ctx context.Context) *CustomersListCall
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 ¶
func (c *CustomersListCall) Do(opts ...googleapi.CallOption) (*SasPortalListCustomersResponse, error)
Do executes the "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 ¶
func (c *CustomersListCall) Fields(s ...googleapi.Field) *CustomersListCall
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 that indicates where this listing should continue from.
func (*CustomersListCall) Pages ¶
func (c *CustomersListCall) Pages(ctx context.Context, f func(*SasPortalListCustomersResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersNodesCreateCall ¶
type CustomersNodesCreateCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesCreateCall) Context ¶
func (c *CustomersNodesCreateCall) Context(ctx context.Context) *CustomersNodesCreateCall
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 ¶
func (c *CustomersNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "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 ¶
func (c *CustomersNodesCreateCall) Fields(s ...googleapi.Field) *CustomersNodesCreateCall
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 ¶
func (c *CustomersNodesDeleteCall) Context(ctx context.Context) *CustomersNodesDeleteCall
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 ¶
func (c *CustomersNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "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 ¶
func (c *CustomersNodesDeleteCall) Fields(s ...googleapi.Field) *CustomersNodesDeleteCall
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 CustomersNodesDeploymentsCreateCall ¶ added in v0.29.0
type CustomersNodesDeploymentsCreateCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesDeploymentsCreateCall) Context ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsCreateCall) Context(ctx context.Context) *CustomersNodesDeploymentsCreateCall
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 (*CustomersNodesDeploymentsCreateCall) Do ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
Do executes the "sasportal.customers.nodes.deployments.create" call. Exactly one of *SasPortalDeployment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDeployment.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 (*CustomersNodesDeploymentsCreateCall) Fields ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsCreateCall) Fields(s ...googleapi.Field) *CustomersNodesDeploymentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersNodesDeploymentsCreateCall) Header ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersNodesDeploymentsListCall ¶ added in v0.29.0
type CustomersNodesDeploymentsListCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesDeploymentsListCall) Context ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsListCall) Context(ctx context.Context) *CustomersNodesDeploymentsListCall
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 (*CustomersNodesDeploymentsListCall) Do ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDeploymentsResponse, error)
Do executes the "sasportal.customers.nodes.deployments.list" call. Exactly one of *SasPortalListDeploymentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalListDeploymentsResponse.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 (*CustomersNodesDeploymentsListCall) Fields ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsListCall) Fields(s ...googleapi.Field) *CustomersNodesDeploymentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersNodesDeploymentsListCall) Filter ¶ added in v0.39.0
func (c *CustomersNodesDeploymentsListCall) Filter(filter string) *CustomersNodesDeploymentsListCall
Filter sets the optional parameter "filter": The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.
func (*CustomersNodesDeploymentsListCall) Header ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*CustomersNodesDeploymentsListCall) IfNoneMatch ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsListCall) IfNoneMatch(entityTag string) *CustomersNodesDeploymentsListCall
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 (*CustomersNodesDeploymentsListCall) PageSize ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsListCall) PageSize(pageSize int64) *CustomersNodesDeploymentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of deployments to return in the response.
func (*CustomersNodesDeploymentsListCall) PageToken ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsListCall) PageToken(pageToken string) *CustomersNodesDeploymentsListCall
PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.
func (*CustomersNodesDeploymentsListCall) Pages ¶ added in v0.29.0
func (c *CustomersNodesDeploymentsListCall) Pages(ctx context.Context, f func(*SasPortalListDeploymentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersNodesDeploymentsService ¶ added in v0.29.0
type CustomersNodesDeploymentsService struct {
// contains filtered or unexported fields
}
func NewCustomersNodesDeploymentsService ¶ added in v0.29.0
func NewCustomersNodesDeploymentsService(s *Service) *CustomersNodesDeploymentsService
func (*CustomersNodesDeploymentsService) Create ¶ added in v0.29.0
func (r *CustomersNodesDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *CustomersNodesDeploymentsCreateCall
Create: Creates a new deployment.
- parent: The parent resource name where the deployment is to be created.
func (*CustomersNodesDeploymentsService) List ¶ added in v0.29.0
func (r *CustomersNodesDeploymentsService) List(parent string) *CustomersNodesDeploymentsListCall
List: Lists deployments.
- parent: The parent resource name, for example, "nodes/1", customer/1/nodes/2.
type CustomersNodesDevicesCreateCall ¶ added in v0.34.0
type CustomersNodesDevicesCreateCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesDevicesCreateCall) Context ¶ added in v0.34.0
func (c *CustomersNodesDevicesCreateCall) Context(ctx context.Context) *CustomersNodesDevicesCreateCall
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 (*CustomersNodesDevicesCreateCall) Do ¶ added in v0.34.0
func (c *CustomersNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.customers.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 (*CustomersNodesDevicesCreateCall) Fields ¶ added in v0.34.0
func (c *CustomersNodesDevicesCreateCall) Fields(s ...googleapi.Field) *CustomersNodesDevicesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersNodesDevicesCreateCall) Header ¶ added in v0.34.0
func (c *CustomersNodesDevicesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersNodesDevicesCreateSignedCall ¶ added in v0.34.0
type CustomersNodesDevicesCreateSignedCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesDevicesCreateSignedCall) Context ¶ added in v0.34.0
func (c *CustomersNodesDevicesCreateSignedCall) Context(ctx context.Context) *CustomersNodesDevicesCreateSignedCall
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 (*CustomersNodesDevicesCreateSignedCall) Do ¶ added in v0.34.0
func (c *CustomersNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.customers.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 (*CustomersNodesDevicesCreateSignedCall) Fields ¶ added in v0.34.0
func (c *CustomersNodesDevicesCreateSignedCall) Fields(s ...googleapi.Field) *CustomersNodesDevicesCreateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersNodesDevicesCreateSignedCall) Header ¶ added in v0.34.0
func (c *CustomersNodesDevicesCreateSignedCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersNodesDevicesListCall ¶ added in v0.34.0
type CustomersNodesDevicesListCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesDevicesListCall) Context ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) Context(ctx context.Context) *CustomersNodesDevicesListCall
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 (*CustomersNodesDevicesListCall) Do ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
Do executes the "sasportal.customers.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 (*CustomersNodesDevicesListCall) Fields ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) Fields(s ...googleapi.Field) *CustomersNodesDevicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersNodesDevicesListCall) Filter ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) Filter(filter string) *CustomersNodesDevicesListCall
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 (*CustomersNodesDevicesListCall) Header ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*CustomersNodesDevicesListCall) IfNoneMatch ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) IfNoneMatch(entityTag string) *CustomersNodesDevicesListCall
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 (*CustomersNodesDevicesListCall) PageSize ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) PageSize(pageSize int64) *CustomersNodesDevicesListCall
PageSize sets the optional parameter "pageSize": The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
func (*CustomersNodesDevicesListCall) PageToken ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) PageToken(pageToken string) *CustomersNodesDevicesListCall
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 (*CustomersNodesDevicesListCall) Pages ¶ added in v0.34.0
func (c *CustomersNodesDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersNodesDevicesService ¶ added in v0.34.0
type CustomersNodesDevicesService struct {
// contains filtered or unexported fields
}
func NewCustomersNodesDevicesService ¶ added in v0.34.0
func NewCustomersNodesDevicesService(s *Service) *CustomersNodesDevicesService
func (*CustomersNodesDevicesService) Create ¶ added in v0.34.0
func (r *CustomersNodesDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *CustomersNodesDevicesCreateCall
Create: Creates a device under a node or customer.
- parent: The name of the parent resource.
func (*CustomersNodesDevicesService) CreateSigned ¶ added in v0.34.0
func (r *CustomersNodesDevicesService) CreateSigned(parent string, sasportalcreatesigneddevicerequest *SasPortalCreateSignedDeviceRequest) *CustomersNodesDevicesCreateSignedCall
CreateSigned: Creates a signed device under a node or customer.
- parent: The name of the parent resource.
func (*CustomersNodesDevicesService) List ¶ added in v0.34.0
func (r *CustomersNodesDevicesService) List(parent string) *CustomersNodesDevicesListCall
List: Lists devices under a node or customer.
- parent: The name of the parent resource.
type CustomersNodesGetCall ¶
type CustomersNodesGetCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesGetCall) Context ¶
func (c *CustomersNodesGetCall) Context(ctx context.Context) *CustomersNodesGetCall
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 ¶
func (c *CustomersNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "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 ¶
func (c *CustomersNodesGetCall) Fields(s ...googleapi.Field) *CustomersNodesGetCall
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 ¶
func (c *CustomersNodesListCall) Context(ctx context.Context) *CustomersNodesListCall
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 ¶
func (c *CustomersNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNodesResponse, error)
Do executes the "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 ¶
func (c *CustomersNodesListCall) Fields(s ...googleapi.Field) *CustomersNodesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersNodesListCall) Filter ¶ added in v0.39.0
func (c *CustomersNodesListCall) Filter(filter string) *CustomersNodesListCall
Filter sets the optional parameter "filter": The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.
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 that indicates where this listing should continue from.
func (*CustomersNodesListCall) Pages ¶
func (c *CustomersNodesListCall) Pages(ctx context.Context, f func(*SasPortalListNodesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersNodesMoveCall ¶
type CustomersNodesMoveCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesMoveCall) Context ¶
func (c *CustomersNodesMoveCall) Context(ctx context.Context) *CustomersNodesMoveCall
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 ¶
func (c *CustomersNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
Do executes the "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 ¶
func (c *CustomersNodesMoveCall) Fields(s ...googleapi.Field) *CustomersNodesMoveCall
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 CustomersNodesNodesCreateCall ¶ added in v0.22.0
type CustomersNodesNodesCreateCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesNodesCreateCall) Context ¶ added in v0.22.0
func (c *CustomersNodesNodesCreateCall) Context(ctx context.Context) *CustomersNodesNodesCreateCall
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 (*CustomersNodesNodesCreateCall) Do ¶ added in v0.22.0
func (c *CustomersNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "sasportal.customers.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 (*CustomersNodesNodesCreateCall) Fields ¶ added in v0.22.0
func (c *CustomersNodesNodesCreateCall) Fields(s ...googleapi.Field) *CustomersNodesNodesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersNodesNodesCreateCall) Header ¶ added in v0.22.0
func (c *CustomersNodesNodesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type CustomersNodesNodesListCall ¶ added in v0.22.0
type CustomersNodesNodesListCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesNodesListCall) Context ¶ added in v0.22.0
func (c *CustomersNodesNodesListCall) Context(ctx context.Context) *CustomersNodesNodesListCall
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 (*CustomersNodesNodesListCall) Do ¶ added in v0.22.0
func (c *CustomersNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNodesResponse, error)
Do executes the "sasportal.customers.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 (*CustomersNodesNodesListCall) Fields ¶ added in v0.22.0
func (c *CustomersNodesNodesListCall) Fields(s ...googleapi.Field) *CustomersNodesNodesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*CustomersNodesNodesListCall) Filter ¶ added in v0.39.0
func (c *CustomersNodesNodesListCall) Filter(filter string) *CustomersNodesNodesListCall
Filter sets the optional parameter "filter": The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.
func (*CustomersNodesNodesListCall) Header ¶ added in v0.22.0
func (c *CustomersNodesNodesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*CustomersNodesNodesListCall) IfNoneMatch ¶ added in v0.22.0
func (c *CustomersNodesNodesListCall) IfNoneMatch(entityTag string) *CustomersNodesNodesListCall
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 (*CustomersNodesNodesListCall) PageSize ¶ added in v0.22.0
func (c *CustomersNodesNodesListCall) PageSize(pageSize int64) *CustomersNodesNodesListCall
PageSize sets the optional parameter "pageSize": The maximum number of nodes to return in the response.
func (*CustomersNodesNodesListCall) PageToken ¶ added in v0.22.0
func (c *CustomersNodesNodesListCall) PageToken(pageToken string) *CustomersNodesNodesListCall
PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.
func (*CustomersNodesNodesListCall) Pages ¶ added in v0.22.0
func (c *CustomersNodesNodesListCall) Pages(ctx context.Context, f func(*SasPortalListNodesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type CustomersNodesNodesService ¶ added in v0.22.0
type CustomersNodesNodesService struct {
// contains filtered or unexported fields
}
func NewCustomersNodesNodesService ¶ added in v0.22.0
func NewCustomersNodesNodesService(s *Service) *CustomersNodesNodesService
func (*CustomersNodesNodesService) Create ¶ added in v0.22.0
func (r *CustomersNodesNodesService) Create(parent string, sasportalnode *SasPortalNode) *CustomersNodesNodesCreateCall
Create: Creates a new node.
- parent: The parent resource name where the node is to be created.
func (*CustomersNodesNodesService) List ¶ added in v0.22.0
func (r *CustomersNodesNodesService) List(parent string) *CustomersNodesNodesListCall
List: Lists nodes.
- parent: The parent resource name, for example, "nodes/1".
type CustomersNodesPatchCall ¶
type CustomersNodesPatchCall struct {
// contains filtered or unexported fields
}
func (*CustomersNodesPatchCall) Context ¶
func (c *CustomersNodesPatchCall) Context(ctx context.Context) *CustomersNodesPatchCall
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 ¶
func (c *CustomersNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "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 ¶
func (c *CustomersNodesPatchCall) Fields(s ...googleapi.Field) *CustomersNodesPatchCall
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 { Deployments *CustomersNodesDeploymentsService Devices *CustomersNodesDevicesService Nodes *CustomersNodesNodesService // 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.
- parent: The parent resource name where the node is to be created.
func (*CustomersNodesService) Delete ¶
func (r *CustomersNodesService) Delete(name string) *CustomersNodesDeleteCall
Delete: Deletes a node.
- name: The name of the node.
func (*CustomersNodesService) Get ¶
func (r *CustomersNodesService) Get(name string) *CustomersNodesGetCall
Get: Returns a requested node.
- name: The name of the node.
func (*CustomersNodesService) List ¶
func (r *CustomersNodesService) List(parent string) *CustomersNodesListCall
List: Lists nodes.
- parent: The parent resource name, for example, "nodes/1".
func (*CustomersNodesService) Move ¶
func (r *CustomersNodesService) Move(name string, sasportalmovenoderequest *SasPortalMoveNodeRequest) *CustomersNodesMoveCall
Move: Moves a node under another node or customer.
- name: The name of the node to move.
func (*CustomersNodesService) Patch ¶
func (r *CustomersNodesService) Patch(name string, sasportalnode *SasPortalNode) *CustomersNodesPatchCall
Patch: Updates an existing node.
- name: Output only. Resource name.
type CustomersPatchCall ¶
type CustomersPatchCall struct {
// contains filtered or unexported fields
}
func (*CustomersPatchCall) Context ¶
func (c *CustomersPatchCall) Context(ctx context.Context) *CustomersPatchCall
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 ¶
func (c *CustomersPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalCustomer, error)
Do executes the "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 ¶
func (c *CustomersPatchCall) Fields(s ...googleapi.Field) *CustomersPatchCall
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 { Deployments *CustomersDeploymentsService Devices *CustomersDevicesService Nodes *CustomersNodesService // contains filtered or unexported fields }
func NewCustomersService ¶
func NewCustomersService(s *Service) *CustomersService
func (*CustomersService) Get ¶
func (r *CustomersService) Get(name string) *CustomersGetCall
Get: Returns a requested customer.
- name: The name of the customer.
func (*CustomersService) List ¶
func (r *CustomersService) List() *CustomersListCall
List: Returns a list of requested customers.
func (*CustomersService) Patch ¶
func (r *CustomersService) Patch(name string, sasportalcustomer *SasPortalCustomer) *CustomersPatchCall
Patch: Updates an existing customer.
- name: Output only. Resource name of the customer.
type DeploymentsDevicesDeleteCall ¶ added in v0.32.0
type DeploymentsDevicesDeleteCall struct {
// contains filtered or unexported fields
}
func (*DeploymentsDevicesDeleteCall) Context ¶ added in v0.32.0
func (c *DeploymentsDevicesDeleteCall) Context(ctx context.Context) *DeploymentsDevicesDeleteCall
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 (*DeploymentsDevicesDeleteCall) Do ¶ added in v0.32.0
func (c *DeploymentsDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "sasportal.deployments.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 (*DeploymentsDevicesDeleteCall) Fields ¶ added in v0.32.0
func (c *DeploymentsDevicesDeleteCall) Fields(s ...googleapi.Field) *DeploymentsDevicesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DeploymentsDevicesDeleteCall) Header ¶ added in v0.32.0
func (c *DeploymentsDevicesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type DeploymentsDevicesGetCall ¶ added in v0.32.0
type DeploymentsDevicesGetCall struct {
// contains filtered or unexported fields
}
func (*DeploymentsDevicesGetCall) Context ¶ added in v0.32.0
func (c *DeploymentsDevicesGetCall) Context(ctx context.Context) *DeploymentsDevicesGetCall
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 (*DeploymentsDevicesGetCall) Do ¶ added in v0.32.0
func (c *DeploymentsDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.deployments.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 (*DeploymentsDevicesGetCall) Fields ¶ added in v0.32.0
func (c *DeploymentsDevicesGetCall) Fields(s ...googleapi.Field) *DeploymentsDevicesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DeploymentsDevicesGetCall) Header ¶ added in v0.32.0
func (c *DeploymentsDevicesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*DeploymentsDevicesGetCall) IfNoneMatch ¶ added in v0.32.0
func (c *DeploymentsDevicesGetCall) IfNoneMatch(entityTag string) *DeploymentsDevicesGetCall
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 DeploymentsDevicesMoveCall ¶ added in v0.32.0
type DeploymentsDevicesMoveCall struct {
// contains filtered or unexported fields
}
func (*DeploymentsDevicesMoveCall) Context ¶ added in v0.32.0
func (c *DeploymentsDevicesMoveCall) Context(ctx context.Context) *DeploymentsDevicesMoveCall
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 (*DeploymentsDevicesMoveCall) Do ¶ added in v0.32.0
func (c *DeploymentsDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
Do executes the "sasportal.deployments.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 (*DeploymentsDevicesMoveCall) Fields ¶ added in v0.32.0
func (c *DeploymentsDevicesMoveCall) Fields(s ...googleapi.Field) *DeploymentsDevicesMoveCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DeploymentsDevicesMoveCall) Header ¶ added in v0.32.0
func (c *DeploymentsDevicesMoveCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type DeploymentsDevicesPatchCall ¶ added in v0.32.0
type DeploymentsDevicesPatchCall struct {
// contains filtered or unexported fields
}
func (*DeploymentsDevicesPatchCall) Context ¶ added in v0.32.0
func (c *DeploymentsDevicesPatchCall) Context(ctx context.Context) *DeploymentsDevicesPatchCall
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 (*DeploymentsDevicesPatchCall) Do ¶ added in v0.32.0
func (c *DeploymentsDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.deployments.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 (*DeploymentsDevicesPatchCall) Fields ¶ added in v0.32.0
func (c *DeploymentsDevicesPatchCall) Fields(s ...googleapi.Field) *DeploymentsDevicesPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DeploymentsDevicesPatchCall) Header ¶ added in v0.32.0
func (c *DeploymentsDevicesPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*DeploymentsDevicesPatchCall) UpdateMask ¶ added in v0.32.0
func (c *DeploymentsDevicesPatchCall) UpdateMask(updateMask string) *DeploymentsDevicesPatchCall
UpdateMask sets the optional parameter "updateMask": Fields to be updated.
type DeploymentsDevicesService ¶ added in v0.32.0
type DeploymentsDevicesService struct {
// contains filtered or unexported fields
}
func NewDeploymentsDevicesService ¶ added in v0.32.0
func NewDeploymentsDevicesService(s *Service) *DeploymentsDevicesService
func (*DeploymentsDevicesService) Delete ¶ added in v0.32.0
func (r *DeploymentsDevicesService) Delete(name string) *DeploymentsDevicesDeleteCall
Delete: Deletes a device.
- name: The name of the device.
func (*DeploymentsDevicesService) Get ¶ added in v0.32.0
func (r *DeploymentsDevicesService) Get(name string) *DeploymentsDevicesGetCall
Get: Gets details about a device.
- name: The name of the device.
func (*DeploymentsDevicesService) Move ¶ added in v0.32.0
func (r *DeploymentsDevicesService) Move(name string, sasportalmovedevicerequest *SasPortalMoveDeviceRequest) *DeploymentsDevicesMoveCall
Move: Moves a device under another node or customer.
- name: The name of the device to move.
func (*DeploymentsDevicesService) Patch ¶ added in v0.32.0
func (r *DeploymentsDevicesService) Patch(name string, sasportaldevice *SasPortalDevice) *DeploymentsDevicesPatchCall
Patch: Updates a device.
- name: Output only. The resource path name.
func (*DeploymentsDevicesService) SignDevice ¶ added in v0.32.0
func (r *DeploymentsDevicesService) SignDevice(name string, sasportalsigndevicerequest *SasPortalSignDeviceRequest) *DeploymentsDevicesSignDeviceCall
SignDevice: Signs a device.
- name: Output only. The resource path name.
func (*DeploymentsDevicesService) UpdateSigned ¶ added in v0.32.0
func (r *DeploymentsDevicesService) UpdateSigned(name string, sasportalupdatesigneddevicerequest *SasPortalUpdateSignedDeviceRequest) *DeploymentsDevicesUpdateSignedCall
UpdateSigned: Updates a signed device.
- name: The name of the device to update.
type DeploymentsDevicesSignDeviceCall ¶ added in v0.32.0
type DeploymentsDevicesSignDeviceCall struct {
// contains filtered or unexported fields
}
func (*DeploymentsDevicesSignDeviceCall) Context ¶ added in v0.32.0
func (c *DeploymentsDevicesSignDeviceCall) Context(ctx context.Context) *DeploymentsDevicesSignDeviceCall
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 (*DeploymentsDevicesSignDeviceCall) Do ¶ added in v0.32.0
func (c *DeploymentsDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "sasportal.deployments.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 (*DeploymentsDevicesSignDeviceCall) Fields ¶ added in v0.32.0
func (c *DeploymentsDevicesSignDeviceCall) Fields(s ...googleapi.Field) *DeploymentsDevicesSignDeviceCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DeploymentsDevicesSignDeviceCall) Header ¶ added in v0.32.0
func (c *DeploymentsDevicesSignDeviceCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type DeploymentsDevicesUpdateSignedCall ¶ added in v0.32.0
type DeploymentsDevicesUpdateSignedCall struct {
// contains filtered or unexported fields
}
func (*DeploymentsDevicesUpdateSignedCall) Context ¶ added in v0.32.0
func (c *DeploymentsDevicesUpdateSignedCall) Context(ctx context.Context) *DeploymentsDevicesUpdateSignedCall
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 (*DeploymentsDevicesUpdateSignedCall) Do ¶ added in v0.32.0
func (c *DeploymentsDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.deployments.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 (*DeploymentsDevicesUpdateSignedCall) Fields ¶ added in v0.32.0
func (c *DeploymentsDevicesUpdateSignedCall) Fields(s ...googleapi.Field) *DeploymentsDevicesUpdateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DeploymentsDevicesUpdateSignedCall) Header ¶ added in v0.32.0
func (c *DeploymentsDevicesUpdateSignedCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type DeploymentsGetCall ¶ added in v0.29.0
type DeploymentsGetCall struct {
// contains filtered or unexported fields
}
func (*DeploymentsGetCall) Context ¶ added in v0.29.0
func (c *DeploymentsGetCall) Context(ctx context.Context) *DeploymentsGetCall
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 (*DeploymentsGetCall) Do ¶ added in v0.29.0
func (c *DeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
Do executes the "sasportal.deployments.get" call. Exactly one of *SasPortalDeployment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDeployment.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 (*DeploymentsGetCall) Fields ¶ added in v0.29.0
func (c *DeploymentsGetCall) Fields(s ...googleapi.Field) *DeploymentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*DeploymentsGetCall) Header ¶ added in v0.29.0
func (c *DeploymentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*DeploymentsGetCall) IfNoneMatch ¶ added in v0.29.0
func (c *DeploymentsGetCall) IfNoneMatch(entityTag string) *DeploymentsGetCall
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 DeploymentsService ¶ added in v0.29.0
type DeploymentsService struct { Devices *DeploymentsDevicesService // contains filtered or unexported fields }
func NewDeploymentsService ¶ added in v0.29.0
func NewDeploymentsService(s *Service) *DeploymentsService
func (*DeploymentsService) Get ¶ added in v0.29.0
func (r *DeploymentsService) Get(name string) *DeploymentsGetCall
Get: Returns a requested deployment.
- name: The name of the deployment.
type InstallerGenerateSecretCall ¶
type InstallerGenerateSecretCall struct {
// contains filtered or unexported fields
}
func (*InstallerGenerateSecretCall) Context ¶
func (c *InstallerGenerateSecretCall) Context(ctx context.Context) *InstallerGenerateSecretCall
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 ¶
func (c *InstallerGenerateSecretCall) Do(opts ...googleapi.CallOption) (*SasPortalGenerateSecretResponse, error)
Do executes the "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 ¶
func (c *InstallerGenerateSecretCall) Fields(s ...googleapi.Field) *InstallerGenerateSecretCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*InstallerGenerateSecretCall) Header ¶
func (c *InstallerGenerateSecretCall) Header() http.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.
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 ¶
func (c *InstallerValidateCall) Context(ctx context.Context) *InstallerValidateCall
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 ¶
func (c *InstallerValidateCall) Do(opts ...googleapi.CallOption) (*SasPortalValidateInstallerResponse, error)
Do executes the "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 ¶
func (c *InstallerValidateCall) Fields(s ...googleapi.Field) *InstallerValidateCall
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 NodesDeploymentsDeleteCall ¶ added in v0.29.0
type NodesDeploymentsDeleteCall struct {
// contains filtered or unexported fields
}
func (*NodesDeploymentsDeleteCall) Context ¶ added in v0.29.0
func (c *NodesDeploymentsDeleteCall) Context(ctx context.Context) *NodesDeploymentsDeleteCall
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 (*NodesDeploymentsDeleteCall) Do ¶ added in v0.29.0
func (c *NodesDeploymentsDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "sasportal.nodes.deployments.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 (*NodesDeploymentsDeleteCall) Fields ¶ added in v0.29.0
func (c *NodesDeploymentsDeleteCall) Fields(s ...googleapi.Field) *NodesDeploymentsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDeploymentsDeleteCall) Header ¶ added in v0.29.0
func (c *NodesDeploymentsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesDeploymentsDevicesCreateCall ¶ added in v0.32.0
type NodesDeploymentsDevicesCreateCall struct {
// contains filtered or unexported fields
}
func (*NodesDeploymentsDevicesCreateCall) Context ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesCreateCall) Context(ctx context.Context) *NodesDeploymentsDevicesCreateCall
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 (*NodesDeploymentsDevicesCreateCall) Do ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.nodes.deployments.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 (*NodesDeploymentsDevicesCreateCall) Fields ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesCreateCall) Fields(s ...googleapi.Field) *NodesDeploymentsDevicesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDeploymentsDevicesCreateCall) Header ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesDeploymentsDevicesCreateSignedCall ¶ added in v0.32.0
type NodesDeploymentsDevicesCreateSignedCall struct {
// contains filtered or unexported fields
}
func (*NodesDeploymentsDevicesCreateSignedCall) Context ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesCreateSignedCall) Context(ctx context.Context) *NodesDeploymentsDevicesCreateSignedCall
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 (*NodesDeploymentsDevicesCreateSignedCall) Do ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.nodes.deployments.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 (*NodesDeploymentsDevicesCreateSignedCall) Fields ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesCreateSignedCall) Fields(s ...googleapi.Field) *NodesDeploymentsDevicesCreateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDeploymentsDevicesCreateSignedCall) Header ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesCreateSignedCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesDeploymentsDevicesListCall ¶ added in v0.32.0
type NodesDeploymentsDevicesListCall struct {
// contains filtered or unexported fields
}
func (*NodesDeploymentsDevicesListCall) Context ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) Context(ctx context.Context) *NodesDeploymentsDevicesListCall
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 (*NodesDeploymentsDevicesListCall) Do ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
Do executes the "sasportal.nodes.deployments.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 (*NodesDeploymentsDevicesListCall) Fields ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) Fields(s ...googleapi.Field) *NodesDeploymentsDevicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDeploymentsDevicesListCall) Filter ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) Filter(filter string) *NodesDeploymentsDevicesListCall
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 (*NodesDeploymentsDevicesListCall) Header ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NodesDeploymentsDevicesListCall) IfNoneMatch ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) IfNoneMatch(entityTag string) *NodesDeploymentsDevicesListCall
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 (*NodesDeploymentsDevicesListCall) PageSize ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) PageSize(pageSize int64) *NodesDeploymentsDevicesListCall
PageSize sets the optional parameter "pageSize": The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
func (*NodesDeploymentsDevicesListCall) PageToken ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) PageToken(pageToken string) *NodesDeploymentsDevicesListCall
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 (*NodesDeploymentsDevicesListCall) Pages ¶ added in v0.32.0
func (c *NodesDeploymentsDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type NodesDeploymentsDevicesService ¶ added in v0.32.0
type NodesDeploymentsDevicesService struct {
// contains filtered or unexported fields
}
func NewNodesDeploymentsDevicesService ¶ added in v0.32.0
func NewNodesDeploymentsDevicesService(s *Service) *NodesDeploymentsDevicesService
func (*NodesDeploymentsDevicesService) Create ¶ added in v0.32.0
func (r *NodesDeploymentsDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *NodesDeploymentsDevicesCreateCall
Create: Creates a device under a node or customer.
- parent: The name of the parent resource.
func (*NodesDeploymentsDevicesService) CreateSigned ¶ added in v0.32.0
func (r *NodesDeploymentsDevicesService) CreateSigned(parent string, sasportalcreatesigneddevicerequest *SasPortalCreateSignedDeviceRequest) *NodesDeploymentsDevicesCreateSignedCall
CreateSigned: Creates a signed device under a node or customer.
- parent: The name of the parent resource.
func (*NodesDeploymentsDevicesService) List ¶ added in v0.32.0
func (r *NodesDeploymentsDevicesService) List(parent string) *NodesDeploymentsDevicesListCall
List: Lists devices under a node or customer.
- parent: The name of the parent resource.
type NodesDeploymentsGetCall ¶ added in v0.29.0
type NodesDeploymentsGetCall struct {
// contains filtered or unexported fields
}
func (*NodesDeploymentsGetCall) Context ¶ added in v0.29.0
func (c *NodesDeploymentsGetCall) Context(ctx context.Context) *NodesDeploymentsGetCall
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 (*NodesDeploymentsGetCall) Do ¶ added in v0.29.0
func (c *NodesDeploymentsGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
Do executes the "sasportal.nodes.deployments.get" call. Exactly one of *SasPortalDeployment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDeployment.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 (*NodesDeploymentsGetCall) Fields ¶ added in v0.29.0
func (c *NodesDeploymentsGetCall) Fields(s ...googleapi.Field) *NodesDeploymentsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDeploymentsGetCall) Header ¶ added in v0.29.0
func (c *NodesDeploymentsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NodesDeploymentsGetCall) IfNoneMatch ¶ added in v0.29.0
func (c *NodesDeploymentsGetCall) IfNoneMatch(entityTag string) *NodesDeploymentsGetCall
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 NodesDeploymentsListCall ¶ added in v0.29.0
type NodesDeploymentsListCall struct {
// contains filtered or unexported fields
}
func (*NodesDeploymentsListCall) Context ¶ added in v0.29.0
func (c *NodesDeploymentsListCall) Context(ctx context.Context) *NodesDeploymentsListCall
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 (*NodesDeploymentsListCall) Do ¶ added in v0.29.0
func (c *NodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDeploymentsResponse, error)
Do executes the "sasportal.nodes.deployments.list" call. Exactly one of *SasPortalListDeploymentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalListDeploymentsResponse.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 (*NodesDeploymentsListCall) Fields ¶ added in v0.29.0
func (c *NodesDeploymentsListCall) Fields(s ...googleapi.Field) *NodesDeploymentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDeploymentsListCall) Filter ¶ added in v0.39.0
func (c *NodesDeploymentsListCall) Filter(filter string) *NodesDeploymentsListCall
Filter sets the optional parameter "filter": The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.
func (*NodesDeploymentsListCall) Header ¶ added in v0.29.0
func (c *NodesDeploymentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NodesDeploymentsListCall) IfNoneMatch ¶ added in v0.29.0
func (c *NodesDeploymentsListCall) IfNoneMatch(entityTag string) *NodesDeploymentsListCall
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 (*NodesDeploymentsListCall) PageSize ¶ added in v0.29.0
func (c *NodesDeploymentsListCall) PageSize(pageSize int64) *NodesDeploymentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of deployments to return in the response.
func (*NodesDeploymentsListCall) PageToken ¶ added in v0.29.0
func (c *NodesDeploymentsListCall) PageToken(pageToken string) *NodesDeploymentsListCall
PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.
func (*NodesDeploymentsListCall) Pages ¶ added in v0.29.0
func (c *NodesDeploymentsListCall) Pages(ctx context.Context, f func(*SasPortalListDeploymentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type NodesDeploymentsMoveCall ¶ added in v0.32.0
type NodesDeploymentsMoveCall struct {
// contains filtered or unexported fields
}
func (*NodesDeploymentsMoveCall) Context ¶ added in v0.32.0
func (c *NodesDeploymentsMoveCall) Context(ctx context.Context) *NodesDeploymentsMoveCall
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 (*NodesDeploymentsMoveCall) Do ¶ added in v0.32.0
func (c *NodesDeploymentsMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
Do executes the "sasportal.nodes.deployments.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 (*NodesDeploymentsMoveCall) Fields ¶ added in v0.32.0
func (c *NodesDeploymentsMoveCall) Fields(s ...googleapi.Field) *NodesDeploymentsMoveCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDeploymentsMoveCall) Header ¶ added in v0.32.0
func (c *NodesDeploymentsMoveCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesDeploymentsPatchCall ¶ added in v0.29.0
type NodesDeploymentsPatchCall struct {
// contains filtered or unexported fields
}
func (*NodesDeploymentsPatchCall) Context ¶ added in v0.29.0
func (c *NodesDeploymentsPatchCall) Context(ctx context.Context) *NodesDeploymentsPatchCall
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 (*NodesDeploymentsPatchCall) Do ¶ added in v0.29.0
func (c *NodesDeploymentsPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
Do executes the "sasportal.nodes.deployments.patch" call. Exactly one of *SasPortalDeployment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDeployment.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 (*NodesDeploymentsPatchCall) Fields ¶ added in v0.29.0
func (c *NodesDeploymentsPatchCall) Fields(s ...googleapi.Field) *NodesDeploymentsPatchCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDeploymentsPatchCall) Header ¶ added in v0.29.0
func (c *NodesDeploymentsPatchCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NodesDeploymentsPatchCall) UpdateMask ¶ added in v0.29.0
func (c *NodesDeploymentsPatchCall) UpdateMask(updateMask string) *NodesDeploymentsPatchCall
UpdateMask sets the optional parameter "updateMask": Fields to be updated.
type NodesDeploymentsService ¶ added in v0.29.0
type NodesDeploymentsService struct { Devices *NodesDeploymentsDevicesService // contains filtered or unexported fields }
func NewNodesDeploymentsService ¶ added in v0.29.0
func NewNodesDeploymentsService(s *Service) *NodesDeploymentsService
func (*NodesDeploymentsService) Delete ¶ added in v0.29.0
func (r *NodesDeploymentsService) Delete(name string) *NodesDeploymentsDeleteCall
Delete: Deletes a deployment.
- name: The name of the deployment.
func (*NodesDeploymentsService) Get ¶ added in v0.29.0
func (r *NodesDeploymentsService) Get(name string) *NodesDeploymentsGetCall
Get: Returns a requested deployment.
- name: The name of the deployment.
func (*NodesDeploymentsService) List ¶ added in v0.29.0
func (r *NodesDeploymentsService) List(parent string) *NodesDeploymentsListCall
List: Lists deployments.
- parent: The parent resource name, for example, "nodes/1", customer/1/nodes/2.
func (*NodesDeploymentsService) Move ¶ added in v0.32.0
func (r *NodesDeploymentsService) Move(name string, sasportalmovedeploymentrequest *SasPortalMoveDeploymentRequest) *NodesDeploymentsMoveCall
Move: Moves a deployment under another node or customer.
- name: The name of the deployment to move.
func (*NodesDeploymentsService) Patch ¶ added in v0.29.0
func (r *NodesDeploymentsService) Patch(name string, sasportaldeployment *SasPortalDeployment) *NodesDeploymentsPatchCall
Patch: Updates an existing deployment.
- name: Output only. Resource name.
type NodesDevicesCreateCall ¶
type NodesDevicesCreateCall struct {
// contains filtered or unexported fields
}
func (*NodesDevicesCreateCall) Context ¶
func (c *NodesDevicesCreateCall) Context(ctx context.Context) *NodesDevicesCreateCall
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 ¶
func (c *NodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *NodesDevicesCreateCall) Fields(s ...googleapi.Field) *NodesDevicesCreateCall
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 ¶
func (c *NodesDevicesCreateSignedCall) Context(ctx context.Context) *NodesDevicesCreateSignedCall
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 ¶
func (c *NodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *NodesDevicesCreateSignedCall) Fields(s ...googleapi.Field) *NodesDevicesCreateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDevicesCreateSignedCall) Header ¶
func (c *NodesDevicesCreateSignedCall) Header() http.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 ¶
func (c *NodesDevicesDeleteCall) Context(ctx context.Context) *NodesDevicesDeleteCall
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 ¶
func (c *NodesDevicesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "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 ¶
func (c *NodesDevicesDeleteCall) Fields(s ...googleapi.Field) *NodesDevicesDeleteCall
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 ¶
func (c *NodesDevicesGetCall) Context(ctx context.Context) *NodesDevicesGetCall
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 ¶
func (c *NodesDevicesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *NodesDevicesGetCall) Fields(s ...googleapi.Field) *NodesDevicesGetCall
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 ¶
func (c *NodesDevicesListCall) Context(ctx context.Context) *NodesDevicesListCall
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 ¶
func (c *NodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
Do executes the "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 ¶
func (c *NodesDevicesListCall) Fields(s ...googleapi.Field) *NodesDevicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDevicesListCall) Filter ¶
func (c *NodesDevicesListCall) Filter(filter string) *NodesDevicesListCall
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. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
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 ¶
func (c *NodesDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type NodesDevicesMoveCall ¶
type NodesDevicesMoveCall struct {
// contains filtered or unexported fields
}
func (*NodesDevicesMoveCall) Context ¶
func (c *NodesDevicesMoveCall) Context(ctx context.Context) *NodesDevicesMoveCall
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 ¶
func (c *NodesDevicesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
Do executes the "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 ¶
func (c *NodesDevicesMoveCall) Fields(s ...googleapi.Field) *NodesDevicesMoveCall
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 ¶
func (c *NodesDevicesPatchCall) Context(ctx context.Context) *NodesDevicesPatchCall
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 ¶
func (c *NodesDevicesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *NodesDevicesPatchCall) Fields(s ...googleapi.Field) *NodesDevicesPatchCall
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) Create ¶
func (r *NodesDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *NodesDevicesCreateCall
Create: Creates a device under a node or customer.
- parent: The name of the parent resource.
func (*NodesDevicesService) CreateSigned ¶
func (r *NodesDevicesService) CreateSigned(parent string, sasportalcreatesigneddevicerequest *SasPortalCreateSignedDeviceRequest) *NodesDevicesCreateSignedCall
CreateSigned: Creates a signed device under a node or customer.
- parent: The name of the parent resource.
func (*NodesDevicesService) Delete ¶
func (r *NodesDevicesService) Delete(name string) *NodesDevicesDeleteCall
Delete: Deletes a device.
- name: The name of the device.
func (*NodesDevicesService) Get ¶
func (r *NodesDevicesService) Get(name string) *NodesDevicesGetCall
Get: Gets details about a device.
- name: The name of the device.
func (*NodesDevicesService) List ¶
func (r *NodesDevicesService) List(parent string) *NodesDevicesListCall
List: Lists devices under a node or customer.
- parent: The name of the parent resource.
func (*NodesDevicesService) Move ¶
func (r *NodesDevicesService) Move(name string, sasportalmovedevicerequest *SasPortalMoveDeviceRequest) *NodesDevicesMoveCall
Move: Moves a device under another node or customer.
- name: The name of the device to move.
func (*NodesDevicesService) Patch ¶
func (r *NodesDevicesService) Patch(name string, sasportaldevice *SasPortalDevice) *NodesDevicesPatchCall
Patch: Updates a device.
- name: Output only. The resource path name.
func (*NodesDevicesService) SignDevice ¶
func (r *NodesDevicesService) SignDevice(name string, sasportalsigndevicerequest *SasPortalSignDeviceRequest) *NodesDevicesSignDeviceCall
SignDevice: Signs a device.
- name: Output only. The resource path name.
func (*NodesDevicesService) UpdateSigned ¶
func (r *NodesDevicesService) UpdateSigned(name string, sasportalupdatesigneddevicerequest *SasPortalUpdateSignedDeviceRequest) *NodesDevicesUpdateSignedCall
UpdateSigned: Updates a signed device.
- name: The name of the device to update.
type NodesDevicesSignDeviceCall ¶
type NodesDevicesSignDeviceCall struct {
// contains filtered or unexported fields
}
func (*NodesDevicesSignDeviceCall) Context ¶
func (c *NodesDevicesSignDeviceCall) Context(ctx context.Context) *NodesDevicesSignDeviceCall
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 ¶
func (c *NodesDevicesSignDeviceCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "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 ¶
func (c *NodesDevicesSignDeviceCall) Fields(s ...googleapi.Field) *NodesDevicesSignDeviceCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDevicesSignDeviceCall) Header ¶
func (c *NodesDevicesSignDeviceCall) Header() http.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 ¶
func (c *NodesDevicesUpdateSignedCall) Context(ctx context.Context) *NodesDevicesUpdateSignedCall
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 ¶
func (c *NodesDevicesUpdateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "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 ¶
func (c *NodesDevicesUpdateSignedCall) Fields(s ...googleapi.Field) *NodesDevicesUpdateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesDevicesUpdateSignedCall) Header ¶
func (c *NodesDevicesUpdateSignedCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesGetCall ¶ added in v0.27.0
type NodesGetCall struct {
// contains filtered or unexported fields
}
func (*NodesGetCall) Context ¶ added in v0.27.0
func (c *NodesGetCall) Context(ctx context.Context) *NodesGetCall
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 (*NodesGetCall) Do ¶ added in v0.27.0
func (c *NodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "sasportal.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 (*NodesGetCall) Fields ¶ added in v0.27.0
func (c *NodesGetCall) Fields(s ...googleapi.Field) *NodesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesGetCall) Header ¶ added in v0.27.0
func (c *NodesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NodesGetCall) IfNoneMatch ¶ added in v0.27.0
func (c *NodesGetCall) IfNoneMatch(entityTag string) *NodesGetCall
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 NodesNodesCreateCall ¶
type NodesNodesCreateCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesCreateCall) Context ¶
func (c *NodesNodesCreateCall) Context(ctx context.Context) *NodesNodesCreateCall
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 ¶
func (c *NodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "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 ¶
func (c *NodesNodesCreateCall) Fields(s ...googleapi.Field) *NodesNodesCreateCall
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 ¶
func (c *NodesNodesDeleteCall) Context(ctx context.Context) *NodesNodesDeleteCall
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 ¶
func (c *NodesNodesDeleteCall) Do(opts ...googleapi.CallOption) (*SasPortalEmpty, error)
Do executes the "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 ¶
func (c *NodesNodesDeleteCall) Fields(s ...googleapi.Field) *NodesNodesDeleteCall
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 NodesNodesDeploymentsCreateCall ¶ added in v0.29.0
type NodesNodesDeploymentsCreateCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesDeploymentsCreateCall) Context ¶ added in v0.29.0
func (c *NodesNodesDeploymentsCreateCall) Context(ctx context.Context) *NodesNodesDeploymentsCreateCall
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 (*NodesNodesDeploymentsCreateCall) Do ¶ added in v0.29.0
func (c *NodesNodesDeploymentsCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDeployment, error)
Do executes the "sasportal.nodes.nodes.deployments.create" call. Exactly one of *SasPortalDeployment or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalDeployment.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 (*NodesNodesDeploymentsCreateCall) Fields ¶ added in v0.29.0
func (c *NodesNodesDeploymentsCreateCall) Fields(s ...googleapi.Field) *NodesNodesDeploymentsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesNodesDeploymentsCreateCall) Header ¶ added in v0.29.0
func (c *NodesNodesDeploymentsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesNodesDeploymentsListCall ¶ added in v0.29.0
type NodesNodesDeploymentsListCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesDeploymentsListCall) Context ¶ added in v0.29.0
func (c *NodesNodesDeploymentsListCall) Context(ctx context.Context) *NodesNodesDeploymentsListCall
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 (*NodesNodesDeploymentsListCall) Do ¶ added in v0.29.0
func (c *NodesNodesDeploymentsListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDeploymentsResponse, error)
Do executes the "sasportal.nodes.nodes.deployments.list" call. Exactly one of *SasPortalListDeploymentsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *SasPortalListDeploymentsResponse.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 (*NodesNodesDeploymentsListCall) Fields ¶ added in v0.29.0
func (c *NodesNodesDeploymentsListCall) Fields(s ...googleapi.Field) *NodesNodesDeploymentsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesNodesDeploymentsListCall) Filter ¶ added in v0.39.0
func (c *NodesNodesDeploymentsListCall) Filter(filter string) *NodesNodesDeploymentsListCall
Filter sets the optional parameter "filter": The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no deployments are filtered.
func (*NodesNodesDeploymentsListCall) Header ¶ added in v0.29.0
func (c *NodesNodesDeploymentsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NodesNodesDeploymentsListCall) IfNoneMatch ¶ added in v0.29.0
func (c *NodesNodesDeploymentsListCall) IfNoneMatch(entityTag string) *NodesNodesDeploymentsListCall
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 (*NodesNodesDeploymentsListCall) PageSize ¶ added in v0.29.0
func (c *NodesNodesDeploymentsListCall) PageSize(pageSize int64) *NodesNodesDeploymentsListCall
PageSize sets the optional parameter "pageSize": The maximum number of deployments to return in the response.
func (*NodesNodesDeploymentsListCall) PageToken ¶ added in v0.29.0
func (c *NodesNodesDeploymentsListCall) PageToken(pageToken string) *NodesNodesDeploymentsListCall
PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListDeployments that indicates where this listing should continue from.
func (*NodesNodesDeploymentsListCall) Pages ¶ added in v0.29.0
func (c *NodesNodesDeploymentsListCall) Pages(ctx context.Context, f func(*SasPortalListDeploymentsResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type NodesNodesDeploymentsService ¶ added in v0.29.0
type NodesNodesDeploymentsService struct {
// contains filtered or unexported fields
}
func NewNodesNodesDeploymentsService ¶ added in v0.29.0
func NewNodesNodesDeploymentsService(s *Service) *NodesNodesDeploymentsService
func (*NodesNodesDeploymentsService) Create ¶ added in v0.29.0
func (r *NodesNodesDeploymentsService) Create(parent string, sasportaldeployment *SasPortalDeployment) *NodesNodesDeploymentsCreateCall
Create: Creates a new deployment.
- parent: The parent resource name where the deployment is to be created.
func (*NodesNodesDeploymentsService) List ¶ added in v0.29.0
func (r *NodesNodesDeploymentsService) List(parent string) *NodesNodesDeploymentsListCall
List: Lists deployments.
- parent: The parent resource name, for example, "nodes/1", customer/1/nodes/2.
type NodesNodesDevicesCreateCall ¶ added in v0.22.0
type NodesNodesDevicesCreateCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesDevicesCreateCall) Context ¶ added in v0.22.0
func (c *NodesNodesDevicesCreateCall) Context(ctx context.Context) *NodesNodesDevicesCreateCall
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 (*NodesNodesDevicesCreateCall) Do ¶ added in v0.22.0
func (c *NodesNodesDevicesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.nodes.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 (*NodesNodesDevicesCreateCall) Fields ¶ added in v0.22.0
func (c *NodesNodesDevicesCreateCall) Fields(s ...googleapi.Field) *NodesNodesDevicesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesNodesDevicesCreateCall) Header ¶ added in v0.22.0
func (c *NodesNodesDevicesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesNodesDevicesCreateSignedCall ¶ added in v0.22.0
type NodesNodesDevicesCreateSignedCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesDevicesCreateSignedCall) Context ¶ added in v0.22.0
func (c *NodesNodesDevicesCreateSignedCall) Context(ctx context.Context) *NodesNodesDevicesCreateSignedCall
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 (*NodesNodesDevicesCreateSignedCall) Do ¶ added in v0.22.0
func (c *NodesNodesDevicesCreateSignedCall) Do(opts ...googleapi.CallOption) (*SasPortalDevice, error)
Do executes the "sasportal.nodes.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 (*NodesNodesDevicesCreateSignedCall) Fields ¶ added in v0.22.0
func (c *NodesNodesDevicesCreateSignedCall) Fields(s ...googleapi.Field) *NodesNodesDevicesCreateSignedCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesNodesDevicesCreateSignedCall) Header ¶ added in v0.22.0
func (c *NodesNodesDevicesCreateSignedCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesNodesDevicesListCall ¶ added in v0.22.0
type NodesNodesDevicesListCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesDevicesListCall) Context ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) Context(ctx context.Context) *NodesNodesDevicesListCall
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 (*NodesNodesDevicesListCall) Do ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListDevicesResponse, error)
Do executes the "sasportal.nodes.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 (*NodesNodesDevicesListCall) Fields ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) Fields(s ...googleapi.Field) *NodesNodesDevicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesNodesDevicesListCall) Filter ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) Filter(filter string) *NodesNodesDevicesListCall
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 (*NodesNodesDevicesListCall) Header ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NodesNodesDevicesListCall) IfNoneMatch ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) IfNoneMatch(entityTag string) *NodesNodesDevicesListCall
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 (*NodesNodesDevicesListCall) PageSize ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) PageSize(pageSize int64) *NodesNodesDevicesListCall
PageSize sets the optional parameter "pageSize": The maximum number of devices to return in the response. If empty or zero, all devices will be listed. Must be in the range [0, 1000].
func (*NodesNodesDevicesListCall) PageToken ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) PageToken(pageToken string) *NodesNodesDevicesListCall
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 (*NodesNodesDevicesListCall) Pages ¶ added in v0.22.0
func (c *NodesNodesDevicesListCall) Pages(ctx context.Context, f func(*SasPortalListDevicesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type NodesNodesDevicesService ¶ added in v0.22.0
type NodesNodesDevicesService struct {
// contains filtered or unexported fields
}
func NewNodesNodesDevicesService ¶ added in v0.22.0
func NewNodesNodesDevicesService(s *Service) *NodesNodesDevicesService
func (*NodesNodesDevicesService) Create ¶ added in v0.22.0
func (r *NodesNodesDevicesService) Create(parent string, sasportaldevice *SasPortalDevice) *NodesNodesDevicesCreateCall
Create: Creates a device under a node or customer.
- parent: The name of the parent resource.
func (*NodesNodesDevicesService) CreateSigned ¶ added in v0.22.0
func (r *NodesNodesDevicesService) CreateSigned(parent string, sasportalcreatesigneddevicerequest *SasPortalCreateSignedDeviceRequest) *NodesNodesDevicesCreateSignedCall
CreateSigned: Creates a signed device under a node or customer.
- parent: The name of the parent resource.
func (*NodesNodesDevicesService) List ¶ added in v0.22.0
func (r *NodesNodesDevicesService) List(parent string) *NodesNodesDevicesListCall
List: Lists devices under a node or customer.
- parent: The name of the parent resource.
type NodesNodesGetCall ¶
type NodesNodesGetCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesGetCall) Context ¶
func (c *NodesNodesGetCall) Context(ctx context.Context) *NodesNodesGetCall
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 ¶
func (c *NodesNodesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "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 ¶
func (c *NodesNodesGetCall) Fields(s ...googleapi.Field) *NodesNodesGetCall
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 ¶
func (c *NodesNodesListCall) Context(ctx context.Context) *NodesNodesListCall
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 ¶
func (c *NodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNodesResponse, error)
Do executes the "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 ¶
func (c *NodesNodesListCall) Fields(s ...googleapi.Field) *NodesNodesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesNodesListCall) Filter ¶ added in v0.39.0
func (c *NodesNodesListCall) Filter(filter string) *NodesNodesListCall
Filter sets the optional parameter "filter": The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.
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 that indicates where this listing should continue from.
func (*NodesNodesListCall) Pages ¶
func (c *NodesNodesListCall) Pages(ctx context.Context, f func(*SasPortalListNodesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type NodesNodesMoveCall ¶
type NodesNodesMoveCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesMoveCall) Context ¶
func (c *NodesNodesMoveCall) Context(ctx context.Context) *NodesNodesMoveCall
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 ¶
func (c *NodesNodesMoveCall) Do(opts ...googleapi.CallOption) (*SasPortalOperation, error)
Do executes the "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 ¶
func (c *NodesNodesMoveCall) Fields(s ...googleapi.Field) *NodesNodesMoveCall
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 NodesNodesNodesCreateCall ¶ added in v0.22.0
type NodesNodesNodesCreateCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesNodesCreateCall) Context ¶ added in v0.22.0
func (c *NodesNodesNodesCreateCall) Context(ctx context.Context) *NodesNodesNodesCreateCall
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 (*NodesNodesNodesCreateCall) Do ¶ added in v0.22.0
func (c *NodesNodesNodesCreateCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "sasportal.nodes.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 (*NodesNodesNodesCreateCall) Fields ¶ added in v0.22.0
func (c *NodesNodesNodesCreateCall) Fields(s ...googleapi.Field) *NodesNodesNodesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesNodesNodesCreateCall) Header ¶ added in v0.22.0
func (c *NodesNodesNodesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NodesNodesNodesListCall ¶ added in v0.22.0
type NodesNodesNodesListCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesNodesListCall) Context ¶ added in v0.22.0
func (c *NodesNodesNodesListCall) Context(ctx context.Context) *NodesNodesNodesListCall
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 (*NodesNodesNodesListCall) Do ¶ added in v0.22.0
func (c *NodesNodesNodesListCall) Do(opts ...googleapi.CallOption) (*SasPortalListNodesResponse, error)
Do executes the "sasportal.nodes.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 (*NodesNodesNodesListCall) Fields ¶ added in v0.22.0
func (c *NodesNodesNodesListCall) Fields(s ...googleapi.Field) *NodesNodesNodesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NodesNodesNodesListCall) Filter ¶ added in v0.39.0
func (c *NodesNodesNodesListCall) Filter(filter string) *NodesNodesNodesListCall
Filter sets the optional parameter "filter": The filter expression. The filter should have the following format: "DIRECT_CHILDREN" or format: "direct_children". The filter is case insensitive. If empty, then no nodes are filtered.
func (*NodesNodesNodesListCall) Header ¶ added in v0.22.0
func (c *NodesNodesNodesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NodesNodesNodesListCall) IfNoneMatch ¶ added in v0.22.0
func (c *NodesNodesNodesListCall) IfNoneMatch(entityTag string) *NodesNodesNodesListCall
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 (*NodesNodesNodesListCall) PageSize ¶ added in v0.22.0
func (c *NodesNodesNodesListCall) PageSize(pageSize int64) *NodesNodesNodesListCall
PageSize sets the optional parameter "pageSize": The maximum number of nodes to return in the response.
func (*NodesNodesNodesListCall) PageToken ¶ added in v0.22.0
func (c *NodesNodesNodesListCall) PageToken(pageToken string) *NodesNodesNodesListCall
PageToken sets the optional parameter "pageToken": A pagination token returned from a previous call to ListNodes that indicates where this listing should continue from.
func (*NodesNodesNodesListCall) Pages ¶ added in v0.22.0
func (c *NodesNodesNodesListCall) Pages(ctx context.Context, f func(*SasPortalListNodesResponse) error) error
Pages invokes f for each page of results. A non-nil error returned from f will halt the iteration. The provided context supersedes any context provided to the Context method.
type NodesNodesNodesService ¶ added in v0.22.0
type NodesNodesNodesService struct {
// contains filtered or unexported fields
}
func NewNodesNodesNodesService ¶ added in v0.22.0
func NewNodesNodesNodesService(s *Service) *NodesNodesNodesService
func (*NodesNodesNodesService) Create ¶ added in v0.22.0
func (r *NodesNodesNodesService) Create(parent string, sasportalnode *SasPortalNode) *NodesNodesNodesCreateCall
Create: Creates a new node.
- parent: The parent resource name where the node is to be created.
func (*NodesNodesNodesService) List ¶ added in v0.22.0
func (r *NodesNodesNodesService) List(parent string) *NodesNodesNodesListCall
List: Lists nodes.
- parent: The parent resource name, for example, "nodes/1".
type NodesNodesPatchCall ¶
type NodesNodesPatchCall struct {
// contains filtered or unexported fields
}
func (*NodesNodesPatchCall) Context ¶
func (c *NodesNodesPatchCall) Context(ctx context.Context) *NodesNodesPatchCall
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 ¶
func (c *NodesNodesPatchCall) Do(opts ...googleapi.CallOption) (*SasPortalNode, error)
Do executes the "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 ¶
func (c *NodesNodesPatchCall) Fields(s ...googleapi.Field) *NodesNodesPatchCall
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 { Deployments *NodesNodesDeploymentsService Devices *NodesNodesDevicesService Nodes *NodesNodesNodesService // 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.
- parent: The parent resource name where the node is to be created.
func (*NodesNodesService) Delete ¶
func (r *NodesNodesService) Delete(name string) *NodesNodesDeleteCall
Delete: Deletes a node.
- name: The name of the node.
func (*NodesNodesService) Get ¶
func (r *NodesNodesService) Get(name string) *NodesNodesGetCall
Get: Returns a requested node.
- name: The name of the node.
func (*NodesNodesService) List ¶
func (r *NodesNodesService) List(parent string) *NodesNodesListCall
List: Lists nodes.
- parent: The parent resource name, for example, "nodes/1".
func (*NodesNodesService) Move ¶
func (r *NodesNodesService) Move(name string, sasportalmovenoderequest *SasPortalMoveNodeRequest) *NodesNodesMoveCall
Move: Moves a node under another node or customer.
- name: The name of the node to move.
func (*NodesNodesService) Patch ¶
func (r *NodesNodesService) Patch(name string, sasportalnode *SasPortalNode) *NodesNodesPatchCall
Patch: Updates an existing node.
- name: Output only. Resource name.
type NodesService ¶
type NodesService struct { Deployments *NodesDeploymentsService Devices *NodesDevicesService Nodes *NodesNodesService // contains filtered or unexported fields }
func NewNodesService ¶
func NewNodesService(s *Service) *NodesService
func (*NodesService) Get ¶ added in v0.27.0
func (r *NodesService) Get(name string) *NodesGetCall
Get: Returns a requested node.
- name: The name of the node.
type PoliciesGetCall ¶
type PoliciesGetCall struct {
// contains filtered or unexported fields
}
func (*PoliciesGetCall) Context ¶
func (c *PoliciesGetCall) Context(ctx context.Context) *PoliciesGetCall
Context sets the context to be used in this call's Do method. Any pending HTTP request will be aborted if the provided context is canceled.
func (*PoliciesGetCall) Do ¶
func (c *PoliciesGetCall) Do(opts ...googleapi.CallOption) (*SasPortalPolicy, error)
Do executes the "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 ¶
func (c *PoliciesGetCall) Fields(s ...googleapi.Field) *PoliciesGetCall
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 ¶
func (c *PoliciesSetCall) Context(ctx context.Context) *PoliciesSetCall
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 ¶
func (c *PoliciesSetCall) Do(opts ...googleapi.CallOption) (*SasPortalPolicy, error)
Do executes the "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 ¶
func (c *PoliciesSetCall) Fields(s ...googleapi.Field) *PoliciesSetCall
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 ¶
func (c *PoliciesTestCall) Context(ctx context.Context) *PoliciesTestCall
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 ¶
func (c *PoliciesTestCall) Do(opts ...googleapi.CallOption) (*SasPortalTestPermissionsResponse, error)
Do executes the "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 ¶
func (c *PoliciesTestCall) Fields(s ...googleapi.Field) *PoliciesTestCall
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 or default 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 SasPortalChannelWithScore ¶ added in v0.43.0
type SasPortalChannelWithScore struct { // FrequencyRange: The frequency range of the channel. FrequencyRange *SasPortalFrequencyRange `json:"frequencyRange,omitempty"` // Score: The channel score, normalized to be in [0,100]. Score float64 `json:"score,omitempty"` // ForceSendFields is a list of field names (e.g. "FrequencyRange") to // unconditionally include in API requests. By default, fields with // empty or default 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. "FrequencyRange") 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:"-"` }
SasPortalChannelWithScore: The channel with score.
func (*SasPortalChannelWithScore) MarshalJSON ¶ added in v0.43.0
func (s *SasPortalChannelWithScore) MarshalJSON() ([]byte, error)
func (*SasPortalChannelWithScore) UnmarshalJSON ¶ added in v0.43.0
func (s *SasPortalChannelWithScore) UnmarshalJSON(data []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. The user_id // field must be set. 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 or default 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.
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 or default 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 SasPortalDeployment ¶ added in v0.29.0
type SasPortalDeployment struct { // AllowedBillingModes: The allowed billing modes under this deployment. // // Possible values: // "BILLING_MODE_UNSPECIFIED" - Billing mode has not been specified. // "MOBILE" - Price is based on category of CBSD: Category A, Category // B registered with SAS. // "FIXED_WIRELESS" - Price is based on type of CBSD: Base station or // CPE. AllowedBillingModes []string `json:"allowedBillingModes,omitempty"` // DefaultBillingMode: Default billing mode for the deployment and // devices under it. // // Possible values: // "BILLING_MODE_UNSPECIFIED" - Billing mode has not been specified. // "MOBILE" - Price is based on category of CBSD: Category A, Category // B registered with SAS. // "FIXED_WIRELESS" - Price is based on type of CBSD: Base station or // CPE. DefaultBillingMode string `json:"defaultBillingMode,omitempty"` // DisplayName: The deployment's display name. DisplayName string `json:"displayName,omitempty"` // Frns: Output only. The FRNs copied from its direct parent. Frns []string `json:"frns,omitempty"` // Name: Output only. Resource name. Name string `json:"name,omitempty"` // SasUserIds: User ID used by the devices belonging to this deployment. // Each deployment should be associated with one unique user ID. 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. "AllowedBillingModes") // to unconditionally include in API requests. By default, fields with // empty or default 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. "AllowedBillingModes") 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:"-"` }
SasPortalDeployment: The Deployment.
func (*SasPortalDeployment) MarshalJSON ¶ added in v0.29.0
func (s *SasPortalDeployment) 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"` // CurrentChannels: Output only. Current channels with scores. CurrentChannels []*SasPortalChannelWithScore `json:"currentChannels,omitempty"` // DeviceMetadata: Device parameters that can be overridden by both SAS // Portal and SAS registration requests. DeviceMetadata *SasPortalDeviceMetadata `json:"deviceMetadata,omitempty"` // DisplayName: Device display name. DisplayName string `json:"displayName,omitempty"` // FccId: The FCC identifier of the device. FccId string `json:"fccId,omitempty"` // GrantRangeAllowlists: Only ranges within the allowlists are available // for new grants. GrantRangeAllowlists []*SasPortalFrequencyRange `json:"grantRangeAllowlists,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 or default 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: Conditional. This field specifies the radio access // technology that is used for the CBSD. // // Possible values: // "RADIO_TECHNOLOGY_UNSPECIFIED" // "E_UTRA" // "CAMBIUM_NETWORKS" // "FOUR_G_BBW_SAA_1" // "NR" // "DOODLE_CBRS" // "CW" // "REDLINE" // "TARANA_WIRELESS" RadioTechnology string `json:"radioTechnology,omitempty"` // SupportedSpec: Optional. This field is related to the // `radioTechnology` and provides the air interface specification that // the CBSD is compliant with at the time of registration. 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 or default 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: 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 or default 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"` // GrantId: Grant Id. GrantId string `json:"grantId,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"` // SuspensionReason: If the grant is suspended, the reason(s) for // suspension. SuspensionReason []string `json:"suspensionReason,omitempty"` // ForceSendFields is a list of field names (e.g. "ChannelType") to // unconditionally include in API requests. By default, fields with // empty or default 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 SasPortalDeviceMetadata ¶ added in v0.29.0
type SasPortalDeviceMetadata struct { // AntennaModel: If populated, the Antenna Model Pattern to use. Format // is: RecordCreatorId:PatternId AntennaModel string `json:"antennaModel,omitempty"` // ForceSendFields is a list of field names (e.g. "AntennaModel") to // unconditionally include in API requests. By default, fields with // empty or default 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. "AntennaModel") 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:"-"` }
SasPortalDeviceMetadata: Device data overridable by both SAS Portal and registration requests.
func (*SasPortalDeviceMetadata) MarshalJSON ¶ added in v0.50.0
func (s *SasPortalDeviceMetadata) MarshalJSON() ([]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 or default 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 or default 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 or default 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.
type SasPortalGenerateSecretResponse ¶
type SasPortalGenerateSecretResponse struct { // Secret: The secret generated by the string and used by // ValidateInstaller. 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 or default 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.
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 or default 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"` // CpeCbsdIndication: If present, this parameter specifies whether the // CBSD is a CPE-CBSD or not. CpeCbsdIndication bool `json:"cpeCbsdIndication,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 or default 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 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 or default 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 SasPortalListDeploymentsResponse ¶ added in v0.29.0
type SasPortalListDeploymentsResponse struct { // Deployments: The deployments that match the request. Deployments []*SasPortalDeployment `json:"deployments,omitempty"` // NextPageToken: A pagination token returned from a previous call to // ListDeployments that indicates from where listing should continue. If // the field is missing or empty, it means there are no more // deployments. 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. "Deployments") to // unconditionally include in API requests. By default, fields with // empty or default 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. "Deployments") 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:"-"` }
SasPortalListDeploymentsResponse: Response for ListDeployments.
func (*SasPortalListDeploymentsResponse) MarshalJSON ¶ added in v0.29.0
func (s *SasPortalListDeploymentsResponse) 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 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 or default 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.
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 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 or default 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.
func (*SasPortalListNodesResponse) MarshalJSON ¶
func (s *SasPortalListNodesResponse) MarshalJSON() ([]byte, error)
type SasPortalMoveDeploymentRequest ¶ added in v0.32.0
type SasPortalMoveDeploymentRequest struct { // Destination: Required. The name of the new parent resource node or // customer to reparent the deployment 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 or default 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:"-"` }
SasPortalMoveDeploymentRequest: Request for MoveDeployment.
func (*SasPortalMoveDeploymentRequest) MarshalJSON ¶ added in v0.32.0
func (s *SasPortalMoveDeploymentRequest) 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 or default 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.
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 or default 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.
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 or default 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 or default 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: List of assignments 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 // GetPolicy, 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 or default 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 { // DisableNotification: Optional. Set the field as true when we would // like to disable the onboarding notification. DisableNotification bool `json:"disableNotification,omitempty"` // 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. "DisableNotification") // to unconditionally include in API requests. By default, fields with // empty or default 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. "DisableNotification") 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. The user_id field 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 or default 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.
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 or default 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 or default 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 or default 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. The // user_id field must be set. 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 or default 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.
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 (CPI ID) from the // Certified Professional Installers database. InstallerId string `json:"installerId,omitempty"` // Secret: Required. Secret returned by the GenerateSecret. 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 or default 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.
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.
type Service ¶
type Service struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Customers *CustomersService Deployments *DeploymentsService Installer *InstallerService Nodes *NodesService Policies *PoliciesService // contains filtered or unexported fields }
func New
deprecated
New creates a new Service. It uses the provided http.Client for requests.
Deprecated: please use NewService instead. To provide a custom HTTP client, use option.WithHTTPClient. If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.
func NewService ¶
NewService creates a new Service.