Versions in this module Expand all Collapse all v0 v0.37.1 Dec 15, 2020 Changes in this version + const CloudPlatformScope + type AdBreak struct + ForceSendFields []string + NullFields []string + StartTimeOffset string + func (s *AdBreak) MarshalJSON() ([]byte, error) + type Aes128Encryption struct + ForceSendFields []string + KeyUri string + NullFields []string + func (s *Aes128Encryption) MarshalJSON() ([]byte, error) + type Animation struct + AnimationEnd *AnimationEnd + AnimationFade *AnimationFade + AnimationStatic *AnimationStatic + ForceSendFields []string + NullFields []string + func (s *Animation) MarshalJSON() ([]byte, error) + type AnimationEnd struct + ForceSendFields []string + NullFields []string + StartTimeOffset string + func (s *AnimationEnd) MarshalJSON() ([]byte, error) + type AnimationFade struct + EndTimeOffset string + FadeType string + ForceSendFields []string + NullFields []string + StartTimeOffset string + Xy *NormalizedCoordinate + func (s *AnimationFade) MarshalJSON() ([]byte, error) + type AnimationStatic struct + ForceSendFields []string + NullFields []string + StartTimeOffset string + Xy *NormalizedCoordinate + func (s *AnimationStatic) MarshalJSON() ([]byte, error) + type Audio struct + ForceSendFields []string + HighBoost bool + LowBoost bool + Lufs float64 + NullFields []string + func (s *Audio) MarshalJSON() ([]byte, error) + func (s *Audio) UnmarshalJSON(data []byte) error + type AudioAtom struct + Channels []*AudioChannel + ForceSendFields []string + Key string + NullFields []string + func (s *AudioAtom) MarshalJSON() ([]byte, error) + type AudioChannel struct + ForceSendFields []string + Inputs []*AudioChannelInput + NullFields []string + func (s *AudioChannel) MarshalJSON() ([]byte, error) + type AudioChannelInput struct + Channel int64 + ForceSendFields []string + GainDb float64 + Key string + NullFields []string + Track int64 + func (s *AudioChannelInput) MarshalJSON() ([]byte, error) + func (s *AudioChannelInput) UnmarshalJSON(data []byte) error + type AudioStream struct + BitrateBps int64 + ChannelCount int64 + ChannelLayout []string + Codec string + ForceSendFields []string + Mapping []*AudioAtom + NullFields []string + SampleRateHertz int64 + func (s *AudioStream) MarshalJSON() ([]byte, error) + type Color struct + Brightness float64 + Contrast float64 + ForceSendFields []string + NullFields []string + Saturation float64 + func (s *Color) MarshalJSON() ([]byte, error) + func (s *Color) UnmarshalJSON(data []byte) error + type Crop struct + BottomPixels int64 + ForceSendFields []string + LeftPixels int64 + NullFields []string + RightPixels int64 + TopPixels int64 + func (s *Crop) MarshalJSON() ([]byte, error) + type Deblock struct + Enabled bool + ForceSendFields []string + NullFields []string + Strength float64 + func (s *Deblock) MarshalJSON() ([]byte, error) + func (s *Deblock) UnmarshalJSON(data []byte) error + type Denoise struct + ForceSendFields []string + NullFields []string + Strength float64 + Tune string + func (s *Denoise) MarshalJSON() ([]byte, error) + func (s *Denoise) UnmarshalJSON(data []byte) error + type EditAtom struct + EndTimeOffset string + ForceSendFields []string + Inputs []string + Key string + NullFields []string + StartTimeOffset string + func (s *EditAtom) MarshalJSON() ([]byte, error) + type ElementaryStream struct + AudioStream *AudioStream + ForceSendFields []string + Key string + NullFields []string + TextStream *TextStream + VideoStream *VideoStream + func (s *ElementaryStream) MarshalJSON() ([]byte, error) + type Empty struct + type Encryption struct + Aes128 *Aes128Encryption + ForceSendFields []string + Iv string + Key string + MpegCenc *MpegCommonEncryption + NullFields []string + SampleAes *SampleAesEncryption + func (s *Encryption) MarshalJSON() ([]byte, error) + type FailureDetail struct + Description string + ForceSendFields []string + NullFields []string + func (s *FailureDetail) MarshalJSON() ([]byte, error) + type Image struct + Alpha float64 + ForceSendFields []string + NullFields []string + Resolution *NormalizedCoordinate + Uri string + func (s *Image) MarshalJSON() ([]byte, error) + func (s *Image) UnmarshalJSON(data []byte) error + type Input struct + ForceSendFields []string + Key string + NullFields []string + PreprocessingConfig *PreprocessingConfig + Uri string + func (s *Input) MarshalJSON() ([]byte, error) + type Job struct + Config *JobConfig + CreateTime string + EndTime string + FailureDetails []*FailureDetail + FailureReason string + ForceSendFields []string + InputUri string + Name string + NullFields []string + OriginUri *OriginUri + OutputUri string + Priority int64 + Progress *Progress + StartTime string + State string + TemplateId string + TtlAfterCompletionDays int64 + func (s *Job) MarshalJSON() ([]byte, error) + type JobConfig struct + AdBreaks []*AdBreak + EditList []*EditAtom + ElementaryStreams []*ElementaryStream + ForceSendFields []string + Inputs []*Input + Manifests []*Manifest + MuxStreams []*MuxStream + NullFields []string + Output *Output + Overlays []*Overlay + PubsubDestination *PubsubDestination + SpriteSheets []*SpriteSheet + func (s *JobConfig) MarshalJSON() ([]byte, error) + type JobTemplate struct + Config *JobConfig + ForceSendFields []string + Name string + NullFields []string + func (s *JobTemplate) MarshalJSON() ([]byte, error) + type ListJobTemplatesResponse struct + ForceSendFields []string + JobTemplates []*JobTemplate + NextPageToken string + NullFields []string + func (s *ListJobTemplatesResponse) MarshalJSON() ([]byte, error) + type ListJobsResponse struct + ForceSendFields []string + Jobs []*Job + NextPageToken string + NullFields []string + func (s *ListJobsResponse) MarshalJSON() ([]byte, error) + type Manifest struct + FileName string + ForceSendFields []string + MuxStreams []string + NullFields []string + Type string + func (s *Manifest) MarshalJSON() ([]byte, error) + type MpegCommonEncryption struct + ForceSendFields []string + KeyId string + NullFields []string + Scheme string + func (s *MpegCommonEncryption) MarshalJSON() ([]byte, error) + type MuxStream struct + Container string + ElementaryStreams []string + Encryption *Encryption + FileName string + ForceSendFields []string + Key string + NullFields []string + SegmentSettings *SegmentSettings + func (s *MuxStream) MarshalJSON() ([]byte, error) + type NormalizedCoordinate struct + ForceSendFields []string + NullFields []string + X float64 + Y float64 + func (s *NormalizedCoordinate) MarshalJSON() ([]byte, error) + func (s *NormalizedCoordinate) UnmarshalJSON(data []byte) error + type OriginUri struct + Dash string + ForceSendFields []string + Hls string + NullFields []string + func (s *OriginUri) MarshalJSON() ([]byte, error) + type Output struct + ForceSendFields []string + NullFields []string + Uri string + func (s *Output) MarshalJSON() ([]byte, error) + type Overlay struct + Animations []*Animation + ForceSendFields []string + Image *Image + NullFields []string + func (s *Overlay) MarshalJSON() ([]byte, error) + type PreprocessingConfig struct + Audio *Audio + Color *Color + Crop *Crop + Deblock *Deblock + Denoise *Denoise + ForceSendFields []string + NullFields []string + func (s *PreprocessingConfig) MarshalJSON() ([]byte, error) + type Progress struct + Analyzed float64 + Encoded float64 + ForceSendFields []string + Notified float64 + NullFields []string + Uploaded float64 + func (s *Progress) MarshalJSON() ([]byte, error) + func (s *Progress) UnmarshalJSON(data []byte) error + type ProjectsLocationsJobTemplatesCreateCall struct + func (c *ProjectsLocationsJobTemplatesCreateCall) Context(ctx context.Context) *ProjectsLocationsJobTemplatesCreateCall + func (c *ProjectsLocationsJobTemplatesCreateCall) Do(opts ...googleapi.CallOption) (*JobTemplate, error) + func (c *ProjectsLocationsJobTemplatesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobTemplatesCreateCall + func (c *ProjectsLocationsJobTemplatesCreateCall) Header() http.Header + func (c *ProjectsLocationsJobTemplatesCreateCall) JobTemplateId(jobTemplateId string) *ProjectsLocationsJobTemplatesCreateCall + type ProjectsLocationsJobTemplatesDeleteCall struct + func (c *ProjectsLocationsJobTemplatesDeleteCall) Context(ctx context.Context) *ProjectsLocationsJobTemplatesDeleteCall + func (c *ProjectsLocationsJobTemplatesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsJobTemplatesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobTemplatesDeleteCall + func (c *ProjectsLocationsJobTemplatesDeleteCall) Header() http.Header + type ProjectsLocationsJobTemplatesGetCall struct + func (c *ProjectsLocationsJobTemplatesGetCall) Context(ctx context.Context) *ProjectsLocationsJobTemplatesGetCall + func (c *ProjectsLocationsJobTemplatesGetCall) Do(opts ...googleapi.CallOption) (*JobTemplate, error) + func (c *ProjectsLocationsJobTemplatesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobTemplatesGetCall + func (c *ProjectsLocationsJobTemplatesGetCall) Header() http.Header + func (c *ProjectsLocationsJobTemplatesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobTemplatesGetCall + type ProjectsLocationsJobTemplatesListCall struct + func (c *ProjectsLocationsJobTemplatesListCall) Context(ctx context.Context) *ProjectsLocationsJobTemplatesListCall + func (c *ProjectsLocationsJobTemplatesListCall) Do(opts ...googleapi.CallOption) (*ListJobTemplatesResponse, error) + func (c *ProjectsLocationsJobTemplatesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobTemplatesListCall + func (c *ProjectsLocationsJobTemplatesListCall) Header() http.Header + func (c *ProjectsLocationsJobTemplatesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobTemplatesListCall + func (c *ProjectsLocationsJobTemplatesListCall) PageSize(pageSize int64) *ProjectsLocationsJobTemplatesListCall + func (c *ProjectsLocationsJobTemplatesListCall) PageToken(pageToken string) *ProjectsLocationsJobTemplatesListCall + func (c *ProjectsLocationsJobTemplatesListCall) Pages(ctx context.Context, f func(*ListJobTemplatesResponse) error) error + type ProjectsLocationsJobTemplatesService struct + func NewProjectsLocationsJobTemplatesService(s *Service) *ProjectsLocationsJobTemplatesService + func (r *ProjectsLocationsJobTemplatesService) Create(parent string, jobtemplate *JobTemplate) *ProjectsLocationsJobTemplatesCreateCall + func (r *ProjectsLocationsJobTemplatesService) Delete(name string) *ProjectsLocationsJobTemplatesDeleteCall + func (r *ProjectsLocationsJobTemplatesService) Get(name string) *ProjectsLocationsJobTemplatesGetCall + func (r *ProjectsLocationsJobTemplatesService) List(parent string) *ProjectsLocationsJobTemplatesListCall + type ProjectsLocationsJobsCreateCall struct + func (c *ProjectsLocationsJobsCreateCall) Context(ctx context.Context) *ProjectsLocationsJobsCreateCall + func (c *ProjectsLocationsJobsCreateCall) Do(opts ...googleapi.CallOption) (*Job, error) + func (c *ProjectsLocationsJobsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsCreateCall + func (c *ProjectsLocationsJobsCreateCall) Header() http.Header + type ProjectsLocationsJobsDeleteCall struct + func (c *ProjectsLocationsJobsDeleteCall) Context(ctx context.Context) *ProjectsLocationsJobsDeleteCall + func (c *ProjectsLocationsJobsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error) + func (c *ProjectsLocationsJobsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsDeleteCall + func (c *ProjectsLocationsJobsDeleteCall) Header() http.Header + type ProjectsLocationsJobsGetCall struct + func (c *ProjectsLocationsJobsGetCall) Context(ctx context.Context) *ProjectsLocationsJobsGetCall + func (c *ProjectsLocationsJobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error) + func (c *ProjectsLocationsJobsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsGetCall + func (c *ProjectsLocationsJobsGetCall) Header() http.Header + func (c *ProjectsLocationsJobsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsGetCall + type ProjectsLocationsJobsListCall struct + func (c *ProjectsLocationsJobsListCall) Context(ctx context.Context) *ProjectsLocationsJobsListCall + func (c *ProjectsLocationsJobsListCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error) + func (c *ProjectsLocationsJobsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsListCall + func (c *ProjectsLocationsJobsListCall) Header() http.Header + func (c *ProjectsLocationsJobsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsListCall + func (c *ProjectsLocationsJobsListCall) PageSize(pageSize int64) *ProjectsLocationsJobsListCall + func (c *ProjectsLocationsJobsListCall) PageToken(pageToken string) *ProjectsLocationsJobsListCall + func (c *ProjectsLocationsJobsListCall) Pages(ctx context.Context, f func(*ListJobsResponse) error) error + type ProjectsLocationsJobsService struct + func NewProjectsLocationsJobsService(s *Service) *ProjectsLocationsJobsService + func (r *ProjectsLocationsJobsService) Create(parent string, job *Job) *ProjectsLocationsJobsCreateCall + func (r *ProjectsLocationsJobsService) Delete(name string) *ProjectsLocationsJobsDeleteCall + func (r *ProjectsLocationsJobsService) Get(name string) *ProjectsLocationsJobsGetCall + func (r *ProjectsLocationsJobsService) List(parent string) *ProjectsLocationsJobsListCall + type ProjectsLocationsService struct + JobTemplates *ProjectsLocationsJobTemplatesService + Jobs *ProjectsLocationsJobsService + func NewProjectsLocationsService(s *Service) *ProjectsLocationsService + type ProjectsService struct + Locations *ProjectsLocationsService + func NewProjectsService(s *Service) *ProjectsService + type PubsubDestination struct + ForceSendFields []string + NullFields []string + Topic string + func (s *PubsubDestination) MarshalJSON() ([]byte, error) + type SampleAesEncryption struct + ForceSendFields []string + KeyUri string + NullFields []string + func (s *SampleAesEncryption) MarshalJSON() ([]byte, error) + type SegmentSettings struct + ForceSendFields []string + IndividualSegments bool + NullFields []string + SegmentDuration string + func (s *SegmentSettings) MarshalJSON() ([]byte, error) + 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 SpriteSheet struct + ColumnCount int64 + EndTimeOffset string + FilePrefix string + ForceSendFields []string + Format string + Interval string + NullFields []string + RowCount int64 + SpriteHeightPixels int64 + SpriteWidthPixels int64 + StartTimeOffset string + TotalCount int64 + func (s *SpriteSheet) MarshalJSON() ([]byte, error) + type TextAtom struct + ForceSendFields []string + Inputs []*TextInput + Key string + NullFields []string + func (s *TextAtom) MarshalJSON() ([]byte, error) + type TextInput struct + ForceSendFields []string + Key string + NullFields []string + Track int64 + func (s *TextInput) MarshalJSON() ([]byte, error) + type TextStream struct + Codec string + ForceSendFields []string + LanguageCode string + Mapping []*TextAtom + NullFields []string + func (s *TextStream) MarshalJSON() ([]byte, error) + type VideoStream struct + AllowOpenGop bool + AqStrength float64 + BFrameCount int64 + BPyramid bool + BitrateBps int64 + Codec string + CrfLevel int64 + EnableTwoPass bool + EntropyCoder string + ForceSendFields []string + FrameRate float64 + GopDuration string + GopFrameCount int64 + HeightPixels int64 + NullFields []string + PixelFormat string + Preset string + Profile string + RateControlMode string + Tune string + VbvFullnessBits int64 + VbvSizeBits int64 + WidthPixels int64 + func (s *VideoStream) MarshalJSON() ([]byte, error) + func (s *VideoStream) UnmarshalJSON(data []byte) error