Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + type Empty struct + type ListModelsResponse struct + ForceSendFields []string + Models []*Model + NextPageToken string + NullFields []string + func (s *ListModelsResponse) MarshalJSON() ([]byte, error) + type Model struct + ActiveOperations []*Operation + CreateTime string + DisplayName string + Etag string + ForceSendFields []string + ModelHash string + Name string + NullFields []string + State *ModelState + Tags []string + TfliteModel *TfLiteModel + UpdateTime string + func (s *Model) MarshalJSON() ([]byte, error) + type ModelOperationMetadata struct + BasicOperationStatus string + ForceSendFields []string + Name string + NullFields []string + func (s *ModelOperationMetadata) MarshalJSON() ([]byte, error) + type ModelState struct + ForceSendFields []string + NullFields []string + Published bool + ValidationError *Status + func (s *ModelState) MarshalJSON() ([]byte, error) + type Operation struct + Done bool + Error *Status + ForceSendFields []string + Metadata googleapi.RawMessage + Name string + NullFields []string + Response googleapi.RawMessage + func (s *Operation) MarshalJSON() ([]byte, error) + type ProjectsModelsCreateCall struct + func (c *ProjectsModelsCreateCall) Context(ctx context.Context) *ProjectsModelsCreateCall + func (c *ProjectsModelsCreateCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsModelsCreateCall) Fields(s ...googleapi.Field) *ProjectsModelsCreateCall + func (c *ProjectsModelsCreateCall) Header() http.Header + type ProjectsModelsDeleteCall struct + func (c *ProjectsModelsDeleteCall) Context(ctx context.Context) *ProjectsModelsDeleteCall + func (c *ProjectsModelsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsModelsDeleteCall) Fields(s ...googleapi.Field) *ProjectsModelsDeleteCall + func (c *ProjectsModelsDeleteCall) Header() http.Header + type ProjectsModelsGetCall struct + func (c *ProjectsModelsGetCall) Context(ctx context.Context) *ProjectsModelsGetCall + func (c *ProjectsModelsGetCall) Do(opts ...googleapi.CallOption) (*Model, error) + func (c *ProjectsModelsGetCall) Fields(s ...googleapi.Field) *ProjectsModelsGetCall + func (c *ProjectsModelsGetCall) Header() http.Header + func (c *ProjectsModelsGetCall) IfNoneMatch(entityTag string) *ProjectsModelsGetCall + type ProjectsModelsListCall struct + func (c *ProjectsModelsListCall) Context(ctx context.Context) *ProjectsModelsListCall + func (c *ProjectsModelsListCall) Do(opts ...googleapi.CallOption) (*ListModelsResponse, error) + func (c *ProjectsModelsListCall) Fields(s ...googleapi.Field) *ProjectsModelsListCall + func (c *ProjectsModelsListCall) Filter(filter string) *ProjectsModelsListCall + func (c *ProjectsModelsListCall) Header() http.Header + func (c *ProjectsModelsListCall) IfNoneMatch(entityTag string) *ProjectsModelsListCall + func (c *ProjectsModelsListCall) PageSize(pageSize int64) *ProjectsModelsListCall + func (c *ProjectsModelsListCall) PageToken(pageToken string) *ProjectsModelsListCall + func (c *ProjectsModelsListCall) Pages(ctx context.Context, f func(*ListModelsResponse) error) error + type ProjectsModelsPatchCall struct + func (c *ProjectsModelsPatchCall) Context(ctx context.Context) *ProjectsModelsPatchCall + func (c *ProjectsModelsPatchCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsModelsPatchCall) Fields(s ...googleapi.Field) *ProjectsModelsPatchCall + func (c *ProjectsModelsPatchCall) Header() http.Header + func (c *ProjectsModelsPatchCall) UpdateMask(updateMask string) *ProjectsModelsPatchCall + type ProjectsModelsService struct + func NewProjectsModelsService(s *Service) *ProjectsModelsService + func (r *ProjectsModelsService) Create(parent string, model *Model) *ProjectsModelsCreateCall + func (r *ProjectsModelsService) Delete(name string) *ProjectsModelsDeleteCall + func (r *ProjectsModelsService) Get(name string) *ProjectsModelsGetCall + func (r *ProjectsModelsService) List(parent string) *ProjectsModelsListCall + func (r *ProjectsModelsService) Patch(name string, model *Model) *ProjectsModelsPatchCall + type ProjectsOperationsGetCall struct + func (c *ProjectsOperationsGetCall) Context(ctx context.Context) *ProjectsOperationsGetCall + func (c *ProjectsOperationsGetCall) Do(opts ...googleapi.CallOption) (*Operation, error) + func (c *ProjectsOperationsGetCall) Fields(s ...googleapi.Field) *ProjectsOperationsGetCall + func (c *ProjectsOperationsGetCall) Header() http.Header + func (c *ProjectsOperationsGetCall) IfNoneMatch(entityTag string) *ProjectsOperationsGetCall + type ProjectsOperationsService struct + func NewProjectsOperationsService(s *Service) *ProjectsOperationsService + func (r *ProjectsOperationsService) Get(name string) *ProjectsOperationsGetCall + type ProjectsService struct + Models *ProjectsModelsService + Operations *ProjectsOperationsService + func NewProjectsService(s *Service) *ProjectsService + type Service struct + BasePath string + Projects *ProjectsService + UserAgent string + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type Status struct + Code int64 + Details []googleapi.RawMessage + ForceSendFields []string + Message string + NullFields []string + func (s *Status) MarshalJSON() ([]byte, error) + type TfLiteModel struct + AutomlModel string + ForceSendFields []string + GcsTfliteUri string + NullFields []string + SizeBytes string + func (s *TfLiteModel) MarshalJSON() ([]byte, error)