Versions in this module Expand all Collapse all v0 v0.25.2 May 21, 2020 Changes in this version + type Asset struct + AuthorName string + CreateTime string + Description string + DisplayName string + ForceSendFields []string + Formats []*Format + IsCurated bool + License string + Metadata string + Name string + NullFields []string + PresentationParams *PresentationParams + RemixInfo *RemixInfo + Thumbnail *File + UpdateTime string + Visibility string + func (s *Asset) MarshalJSON() ([]byte, error) + type AssetImportMessage struct + Code string + FilePath string + ForceSendFields []string + ImageError *ImageError + NullFields []string + ObjParseError *ObjParseError + func (s *AssetImportMessage) MarshalJSON() ([]byte, error) + type AssetsGetCall struct + func (c *AssetsGetCall) Context(ctx context.Context) *AssetsGetCall + func (c *AssetsGetCall) Do(opts ...googleapi.CallOption) (*Asset, error) + func (c *AssetsGetCall) Fields(s ...googleapi.Field) *AssetsGetCall + func (c *AssetsGetCall) Header() http.Header + func (c *AssetsGetCall) IfNoneMatch(entityTag string) *AssetsGetCall + type AssetsListCall struct + func (c *AssetsListCall) Category(category string) *AssetsListCall + func (c *AssetsListCall) Context(ctx context.Context) *AssetsListCall + func (c *AssetsListCall) Curated(curated bool) *AssetsListCall + func (c *AssetsListCall) Do(opts ...googleapi.CallOption) (*ListAssetsResponse, error) + func (c *AssetsListCall) Fields(s ...googleapi.Field) *AssetsListCall + func (c *AssetsListCall) Format(format string) *AssetsListCall + func (c *AssetsListCall) Header() http.Header + func (c *AssetsListCall) IfNoneMatch(entityTag string) *AssetsListCall + func (c *AssetsListCall) Keywords(keywords string) *AssetsListCall + func (c *AssetsListCall) MaxComplexity(maxComplexity string) *AssetsListCall + func (c *AssetsListCall) OrderBy(orderBy string) *AssetsListCall + func (c *AssetsListCall) PageSize(pageSize int64) *AssetsListCall + func (c *AssetsListCall) PageToken(pageToken string) *AssetsListCall + func (c *AssetsListCall) Pages(ctx context.Context, f func(*ListAssetsResponse) error) error + type AssetsService struct + func NewAssetsService(s *Service) *AssetsService + func (r *AssetsService) Get(name string) *AssetsGetCall + func (r *AssetsService) List() *AssetsListCall + type File struct + ContentType string + ForceSendFields []string + NullFields []string + RelativePath string + Url string + func (s *File) MarshalJSON() ([]byte, error) + type Format struct + ForceSendFields []string + FormatComplexity *FormatComplexity + FormatType string + NullFields []string + Resources []*File + Root *File + func (s *Format) MarshalJSON() ([]byte, error) + type FormatComplexity struct + ForceSendFields []string + LodHint int64 + NullFields []string + TriangleCount int64 + func (s *FormatComplexity) MarshalJSON() ([]byte, error) + type ImageError struct + Code string + FilePath string + ForceSendFields []string + NullFields []string + func (s *ImageError) MarshalJSON() ([]byte, error) + type ListAssetsResponse struct + Assets []*Asset + ForceSendFields []string + NextPageToken string + NullFields []string + TotalSize int64 + func (s *ListAssetsResponse) MarshalJSON() ([]byte, error) + type ListLikedAssetsResponse struct + Assets []*Asset + ForceSendFields []string + NextPageToken string + NullFields []string + TotalSize int64 + func (s *ListLikedAssetsResponse) MarshalJSON() ([]byte, error) + type ListUserAssetsResponse struct + ForceSendFields []string + NextPageToken string + NullFields []string + TotalSize int64 + UserAssets []*UserAsset + func (s *ListUserAssetsResponse) MarshalJSON() ([]byte, error) + type ObjParseError struct + Code string + EndIndex int64 + FilePath string + ForceSendFields []string + Line string + LineNumber int64 + NullFields []string + StartIndex int64 + func (s *ObjParseError) MarshalJSON() ([]byte, error) + type PresentationParams struct + BackgroundColor string + ColorSpace string + ForceSendFields []string + NullFields []string + OrientingRotation *Quaternion + func (s *PresentationParams) MarshalJSON() ([]byte, error) + type Quaternion struct + ForceSendFields []string + NullFields []string + W float64 + X float64 + Y float64 + Z float64 + func (s *Quaternion) MarshalJSON() ([]byte, error) + func (s *Quaternion) UnmarshalJSON(data []byte) error + type RemixInfo struct + ForceSendFields []string + NullFields []string + SourceAsset []string + func (s *RemixInfo) MarshalJSON() ([]byte, error) + type Service struct + Assets *AssetsService + BasePath string + UserAgent string + Users *UsersService + func New(client *http.Client) (*Service, error) + func NewService(ctx context.Context, opts ...option.ClientOption) (*Service, error) + type StartAssetImportResponse struct + AssetId string + AssetImportId string + AssetImportMessages []*AssetImportMessage + ForceSendFields []string + NullFields []string + PublishUrl string + func (s *StartAssetImportResponse) MarshalJSON() ([]byte, error) + type UserAsset struct + Asset *Asset + ForceSendFields []string + NullFields []string + func (s *UserAsset) MarshalJSON() ([]byte, error) + type UsersAssetsListCall struct + func (c *UsersAssetsListCall) Context(ctx context.Context) *UsersAssetsListCall + func (c *UsersAssetsListCall) Do(opts ...googleapi.CallOption) (*ListUserAssetsResponse, error) + func (c *UsersAssetsListCall) Fields(s ...googleapi.Field) *UsersAssetsListCall + func (c *UsersAssetsListCall) Format(format string) *UsersAssetsListCall + func (c *UsersAssetsListCall) Header() http.Header + func (c *UsersAssetsListCall) IfNoneMatch(entityTag string) *UsersAssetsListCall + func (c *UsersAssetsListCall) OrderBy(orderBy string) *UsersAssetsListCall + func (c *UsersAssetsListCall) PageSize(pageSize int64) *UsersAssetsListCall + func (c *UsersAssetsListCall) PageToken(pageToken string) *UsersAssetsListCall + func (c *UsersAssetsListCall) Pages(ctx context.Context, f func(*ListUserAssetsResponse) error) error + func (c *UsersAssetsListCall) Visibility(visibility string) *UsersAssetsListCall + type UsersAssetsService struct + func NewUsersAssetsService(s *Service) *UsersAssetsService + func (r *UsersAssetsService) List(name string) *UsersAssetsListCall + type UsersLikedassetsListCall struct + func (c *UsersLikedassetsListCall) Context(ctx context.Context) *UsersLikedassetsListCall + func (c *UsersLikedassetsListCall) Do(opts ...googleapi.CallOption) (*ListLikedAssetsResponse, error) + func (c *UsersLikedassetsListCall) Fields(s ...googleapi.Field) *UsersLikedassetsListCall + func (c *UsersLikedassetsListCall) Format(format string) *UsersLikedassetsListCall + func (c *UsersLikedassetsListCall) Header() http.Header + func (c *UsersLikedassetsListCall) IfNoneMatch(entityTag string) *UsersLikedassetsListCall + func (c *UsersLikedassetsListCall) OrderBy(orderBy string) *UsersLikedassetsListCall + func (c *UsersLikedassetsListCall) PageSize(pageSize int64) *UsersLikedassetsListCall + func (c *UsersLikedassetsListCall) PageToken(pageToken string) *UsersLikedassetsListCall + func (c *UsersLikedassetsListCall) Pages(ctx context.Context, f func(*ListLikedAssetsResponse) error) error + type UsersLikedassetsService struct + func NewUsersLikedassetsService(s *Service) *UsersLikedassetsService + func (r *UsersLikedassetsService) List(name string) *UsersLikedassetsListCall + type UsersService struct + Assets *UsersAssetsService + Likedassets *UsersLikedassetsService + func NewUsersService(s *Service) *UsersService