Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidArgument failure.StringCode = "InvalidArgument"
Functions ¶
Types ¶
type Client ¶
type Client struct {
C *cs.CloudSchedulerClient
}
type JobHttpTarget ¶
type JobHttpTarget struct { Uri string HttpMethod scheduler.HttpMethod Headers map[string]string Body []byte OidcServiceAccount string }
func (*JobHttpTarget) JobHttpTarget ¶
func (t *JobHttpTarget) JobHttpTarget() *scheduler.Job_HttpTarget
type UpsertJobRequest ¶
type UpsertJobRequest struct { ProjectID string Location string Name string Description string Schedule string TimeZone string Target *JobHttpTarget }
func (*UpsertJobRequest) CreateJobRequest ¶
func (req *UpsertJobRequest) CreateJobRequest() (*scheduler.CreateJobRequest, error)
func (*UpsertJobRequest) UpdateJobRequest ¶
func (req *UpsertJobRequest) UpdateJobRequest() (*scheduler.UpdateJobRequest, error)
Click to show internal directories.
Click to hide internal directories.