Documentation ¶
Overview ¶
Package run provides access to the Cloud Run Admin API.
For product documentation, see: https://cloud.google.com/run/
Library status ¶
These client libraries are officially supported by Google. However, this library is considered complete and is in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
When possible, we recommend using our newer [Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go) that are still actively being worked and iterated on.
Creating a client ¶
Usage example:
import "google.golang.org/api/run/v1" ... ctx := context.Background() runService, err := run.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 google.golang.org/api/option.WithAPIKey:
runService, err := run.NewService(ctx, option.WithAPIKey("AIza..."))
To use an OAuth token (e.g., a user token obtained via a three-legged OAuth flow, use google.golang.org/api/option.WithTokenSource:
config := &oauth2.Config{...} // ... token, err := config.Exchange(ctx, ...) runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))
See google.golang.org/api/option.ClientOption for details on options.
Index ¶
- Constants
- type APIService
- type Addressable
- type AuditConfig
- type AuditLogConfig
- type AuthorizedDomain
- type Binding
- type CancelExecutionRequest
- type ConfigMapEnvSource
- type ConfigMapKeySelector
- type ConfigMapVolumeSource
- type Configuration
- type ConfigurationSpec
- type ConfigurationStatus
- type Container
- type ContainerOverride
- type ContainerPort
- type DomainMapping
- type DomainMappingSpec
- type DomainMappingStatus
- type EmptyDirVolumeSource
- type EnvFromSource
- type EnvVar
- type EnvVarSource
- type ExecAction
- type Execution
- type ExecutionReference
- type ExecutionSpec
- type ExecutionStatus
- type ExecutionTemplateSpec
- type Expr
- type GRPCAction
- type GoogleCloudRunV1Condition
- type GoogleRpcStatus
- type HTTPGetAction
- type HTTPHeader
- type Job
- type JobSpec
- type JobStatus
- type KeyToPath
- type ListAuthorizedDomainsResponse
- type ListConfigurationsResponse
- type ListDomainMappingsResponse
- type ListExecutionsResponse
- type ListJobsResponse
- type ListLocationsResponse
- type ListMeta
- type ListRevisionsResponse
- type ListRoutesResponse
- type ListServicesResponse
- type ListTasksResponse
- type LocalObjectReference
- type Location
- type NamespacesAuthorizeddomainsListCall
- func (c *NamespacesAuthorizeddomainsListCall) Context(ctx context.Context) *NamespacesAuthorizeddomainsListCall
- func (c *NamespacesAuthorizeddomainsListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedDomainsResponse, error)
- func (c *NamespacesAuthorizeddomainsListCall) Fields(s ...googleapi.Field) *NamespacesAuthorizeddomainsListCall
- func (c *NamespacesAuthorizeddomainsListCall) Header() http.Header
- func (c *NamespacesAuthorizeddomainsListCall) IfNoneMatch(entityTag string) *NamespacesAuthorizeddomainsListCall
- func (c *NamespacesAuthorizeddomainsListCall) PageSize(pageSize int64) *NamespacesAuthorizeddomainsListCall
- func (c *NamespacesAuthorizeddomainsListCall) PageToken(pageToken string) *NamespacesAuthorizeddomainsListCall
- func (c *NamespacesAuthorizeddomainsListCall) Pages(ctx context.Context, f func(*ListAuthorizedDomainsResponse) error) error
- type NamespacesAuthorizeddomainsService
- type NamespacesConfigurationsGetCall
- func (c *NamespacesConfigurationsGetCall) Context(ctx context.Context) *NamespacesConfigurationsGetCall
- func (c *NamespacesConfigurationsGetCall) Do(opts ...googleapi.CallOption) (*Configuration, error)
- func (c *NamespacesConfigurationsGetCall) Fields(s ...googleapi.Field) *NamespacesConfigurationsGetCall
- func (c *NamespacesConfigurationsGetCall) Header() http.Header
- func (c *NamespacesConfigurationsGetCall) IfNoneMatch(entityTag string) *NamespacesConfigurationsGetCall
- type NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) Context(ctx context.Context) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) Continue(continue_ string) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) Do(opts ...googleapi.CallOption) (*ListConfigurationsResponse, error)
- func (c *NamespacesConfigurationsListCall) FieldSelector(fieldSelector string) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) Fields(s ...googleapi.Field) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) Header() http.Header
- func (c *NamespacesConfigurationsListCall) IfNoneMatch(entityTag string) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) LabelSelector(labelSelector string) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) Limit(limit int64) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) ResourceVersion(resourceVersion string) *NamespacesConfigurationsListCall
- func (c *NamespacesConfigurationsListCall) Watch(watch bool) *NamespacesConfigurationsListCall
- type NamespacesConfigurationsService
- type NamespacesDomainmappingsCreateCall
- func (c *NamespacesDomainmappingsCreateCall) Context(ctx context.Context) *NamespacesDomainmappingsCreateCall
- func (c *NamespacesDomainmappingsCreateCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
- func (c *NamespacesDomainmappingsCreateCall) DryRun(dryRun string) *NamespacesDomainmappingsCreateCall
- func (c *NamespacesDomainmappingsCreateCall) Fields(s ...googleapi.Field) *NamespacesDomainmappingsCreateCall
- func (c *NamespacesDomainmappingsCreateCall) Header() http.Header
- type NamespacesDomainmappingsDeleteCall
- func (c *NamespacesDomainmappingsDeleteCall) ApiVersion(apiVersion string) *NamespacesDomainmappingsDeleteCall
- func (c *NamespacesDomainmappingsDeleteCall) Context(ctx context.Context) *NamespacesDomainmappingsDeleteCall
- func (c *NamespacesDomainmappingsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
- func (c *NamespacesDomainmappingsDeleteCall) DryRun(dryRun string) *NamespacesDomainmappingsDeleteCall
- func (c *NamespacesDomainmappingsDeleteCall) Fields(s ...googleapi.Field) *NamespacesDomainmappingsDeleteCall
- func (c *NamespacesDomainmappingsDeleteCall) Header() http.Header
- func (c *NamespacesDomainmappingsDeleteCall) Kind(kind string) *NamespacesDomainmappingsDeleteCall
- func (c *NamespacesDomainmappingsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesDomainmappingsDeleteCall
- type NamespacesDomainmappingsGetCall
- func (c *NamespacesDomainmappingsGetCall) Context(ctx context.Context) *NamespacesDomainmappingsGetCall
- func (c *NamespacesDomainmappingsGetCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
- func (c *NamespacesDomainmappingsGetCall) Fields(s ...googleapi.Field) *NamespacesDomainmappingsGetCall
- func (c *NamespacesDomainmappingsGetCall) Header() http.Header
- func (c *NamespacesDomainmappingsGetCall) IfNoneMatch(entityTag string) *NamespacesDomainmappingsGetCall
- type NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) Context(ctx context.Context) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) Continue(continue_ string) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) Do(opts ...googleapi.CallOption) (*ListDomainMappingsResponse, error)
- func (c *NamespacesDomainmappingsListCall) FieldSelector(fieldSelector string) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) Fields(s ...googleapi.Field) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) Header() http.Header
- func (c *NamespacesDomainmappingsListCall) IfNoneMatch(entityTag string) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) LabelSelector(labelSelector string) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) Limit(limit int64) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) ResourceVersion(resourceVersion string) *NamespacesDomainmappingsListCall
- func (c *NamespacesDomainmappingsListCall) Watch(watch bool) *NamespacesDomainmappingsListCall
- type NamespacesDomainmappingsService
- func (r *NamespacesDomainmappingsService) Create(parent string, domainmapping *DomainMapping) *NamespacesDomainmappingsCreateCall
- func (r *NamespacesDomainmappingsService) Delete(name string) *NamespacesDomainmappingsDeleteCall
- func (r *NamespacesDomainmappingsService) Get(name string) *NamespacesDomainmappingsGetCall
- func (r *NamespacesDomainmappingsService) List(parent string) *NamespacesDomainmappingsListCall
- type NamespacesExecutionsCancelCall
- func (c *NamespacesExecutionsCancelCall) Context(ctx context.Context) *NamespacesExecutionsCancelCall
- func (c *NamespacesExecutionsCancelCall) Do(opts ...googleapi.CallOption) (*Execution, error)
- func (c *NamespacesExecutionsCancelCall) Fields(s ...googleapi.Field) *NamespacesExecutionsCancelCall
- func (c *NamespacesExecutionsCancelCall) Header() http.Header
- type NamespacesExecutionsDeleteCall
- func (c *NamespacesExecutionsDeleteCall) ApiVersion(apiVersion string) *NamespacesExecutionsDeleteCall
- func (c *NamespacesExecutionsDeleteCall) Context(ctx context.Context) *NamespacesExecutionsDeleteCall
- func (c *NamespacesExecutionsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
- func (c *NamespacesExecutionsDeleteCall) Fields(s ...googleapi.Field) *NamespacesExecutionsDeleteCall
- func (c *NamespacesExecutionsDeleteCall) Header() http.Header
- func (c *NamespacesExecutionsDeleteCall) Kind(kind string) *NamespacesExecutionsDeleteCall
- func (c *NamespacesExecutionsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesExecutionsDeleteCall
- type NamespacesExecutionsGetCall
- func (c *NamespacesExecutionsGetCall) Context(ctx context.Context) *NamespacesExecutionsGetCall
- func (c *NamespacesExecutionsGetCall) Do(opts ...googleapi.CallOption) (*Execution, error)
- func (c *NamespacesExecutionsGetCall) Fields(s ...googleapi.Field) *NamespacesExecutionsGetCall
- func (c *NamespacesExecutionsGetCall) Header() http.Header
- func (c *NamespacesExecutionsGetCall) IfNoneMatch(entityTag string) *NamespacesExecutionsGetCall
- type NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) Context(ctx context.Context) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) Continue(continue_ string) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) Do(opts ...googleapi.CallOption) (*ListExecutionsResponse, error)
- func (c *NamespacesExecutionsListCall) FieldSelector(fieldSelector string) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) Fields(s ...googleapi.Field) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) Header() http.Header
- func (c *NamespacesExecutionsListCall) IfNoneMatch(entityTag string) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) LabelSelector(labelSelector string) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) Limit(limit int64) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) ResourceVersion(resourceVersion string) *NamespacesExecutionsListCall
- func (c *NamespacesExecutionsListCall) Watch(watch bool) *NamespacesExecutionsListCall
- type NamespacesExecutionsService
- func (r *NamespacesExecutionsService) Cancel(name string, cancelexecutionrequest *CancelExecutionRequest) *NamespacesExecutionsCancelCall
- func (r *NamespacesExecutionsService) Delete(name string) *NamespacesExecutionsDeleteCall
- func (r *NamespacesExecutionsService) Get(name string) *NamespacesExecutionsGetCall
- func (r *NamespacesExecutionsService) List(parent string) *NamespacesExecutionsListCall
- type NamespacesJobsCreateCall
- func (c *NamespacesJobsCreateCall) Context(ctx context.Context) *NamespacesJobsCreateCall
- func (c *NamespacesJobsCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *NamespacesJobsCreateCall) Fields(s ...googleapi.Field) *NamespacesJobsCreateCall
- func (c *NamespacesJobsCreateCall) Header() http.Header
- type NamespacesJobsDeleteCall
- func (c *NamespacesJobsDeleteCall) ApiVersion(apiVersion string) *NamespacesJobsDeleteCall
- func (c *NamespacesJobsDeleteCall) Context(ctx context.Context) *NamespacesJobsDeleteCall
- func (c *NamespacesJobsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
- func (c *NamespacesJobsDeleteCall) Fields(s ...googleapi.Field) *NamespacesJobsDeleteCall
- func (c *NamespacesJobsDeleteCall) Header() http.Header
- func (c *NamespacesJobsDeleteCall) Kind(kind string) *NamespacesJobsDeleteCall
- func (c *NamespacesJobsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesJobsDeleteCall
- type NamespacesJobsGetCall
- func (c *NamespacesJobsGetCall) Context(ctx context.Context) *NamespacesJobsGetCall
- func (c *NamespacesJobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *NamespacesJobsGetCall) Fields(s ...googleapi.Field) *NamespacesJobsGetCall
- func (c *NamespacesJobsGetCall) Header() http.Header
- func (c *NamespacesJobsGetCall) IfNoneMatch(entityTag string) *NamespacesJobsGetCall
- type NamespacesJobsListCall
- func (c *NamespacesJobsListCall) Context(ctx context.Context) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) Continue(continue_ string) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error)
- func (c *NamespacesJobsListCall) FieldSelector(fieldSelector string) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) Fields(s ...googleapi.Field) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) Header() http.Header
- func (c *NamespacesJobsListCall) IfNoneMatch(entityTag string) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) LabelSelector(labelSelector string) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) Limit(limit int64) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) ResourceVersion(resourceVersion string) *NamespacesJobsListCall
- func (c *NamespacesJobsListCall) Watch(watch bool) *NamespacesJobsListCall
- type NamespacesJobsReplaceJobCall
- func (c *NamespacesJobsReplaceJobCall) Context(ctx context.Context) *NamespacesJobsReplaceJobCall
- func (c *NamespacesJobsReplaceJobCall) Do(opts ...googleapi.CallOption) (*Job, error)
- func (c *NamespacesJobsReplaceJobCall) Fields(s ...googleapi.Field) *NamespacesJobsReplaceJobCall
- func (c *NamespacesJobsReplaceJobCall) Header() http.Header
- type NamespacesJobsRunCall
- func (c *NamespacesJobsRunCall) Context(ctx context.Context) *NamespacesJobsRunCall
- func (c *NamespacesJobsRunCall) Do(opts ...googleapi.CallOption) (*Execution, error)
- func (c *NamespacesJobsRunCall) Fields(s ...googleapi.Field) *NamespacesJobsRunCall
- func (c *NamespacesJobsRunCall) Header() http.Header
- type NamespacesJobsService
- func (r *NamespacesJobsService) Create(parent string, job *Job) *NamespacesJobsCreateCall
- func (r *NamespacesJobsService) Delete(name string) *NamespacesJobsDeleteCall
- func (r *NamespacesJobsService) Get(name string) *NamespacesJobsGetCall
- func (r *NamespacesJobsService) List(parent string) *NamespacesJobsListCall
- func (r *NamespacesJobsService) ReplaceJob(name string, job *Job) *NamespacesJobsReplaceJobCall
- func (r *NamespacesJobsService) Run(name string, runjobrequest *RunJobRequest) *NamespacesJobsRunCall
- type NamespacesRevisionsDeleteCall
- func (c *NamespacesRevisionsDeleteCall) ApiVersion(apiVersion string) *NamespacesRevisionsDeleteCall
- func (c *NamespacesRevisionsDeleteCall) Context(ctx context.Context) *NamespacesRevisionsDeleteCall
- func (c *NamespacesRevisionsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
- func (c *NamespacesRevisionsDeleteCall) DryRun(dryRun string) *NamespacesRevisionsDeleteCall
- func (c *NamespacesRevisionsDeleteCall) Fields(s ...googleapi.Field) *NamespacesRevisionsDeleteCall
- func (c *NamespacesRevisionsDeleteCall) Header() http.Header
- func (c *NamespacesRevisionsDeleteCall) Kind(kind string) *NamespacesRevisionsDeleteCall
- func (c *NamespacesRevisionsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesRevisionsDeleteCall
- type NamespacesRevisionsGetCall
- func (c *NamespacesRevisionsGetCall) Context(ctx context.Context) *NamespacesRevisionsGetCall
- func (c *NamespacesRevisionsGetCall) Do(opts ...googleapi.CallOption) (*Revision, error)
- func (c *NamespacesRevisionsGetCall) Fields(s ...googleapi.Field) *NamespacesRevisionsGetCall
- func (c *NamespacesRevisionsGetCall) Header() http.Header
- func (c *NamespacesRevisionsGetCall) IfNoneMatch(entityTag string) *NamespacesRevisionsGetCall
- type NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) Context(ctx context.Context) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) Continue(continue_ string) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) Do(opts ...googleapi.CallOption) (*ListRevisionsResponse, error)
- func (c *NamespacesRevisionsListCall) FieldSelector(fieldSelector string) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) Fields(s ...googleapi.Field) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) Header() http.Header
- func (c *NamespacesRevisionsListCall) IfNoneMatch(entityTag string) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) LabelSelector(labelSelector string) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) Limit(limit int64) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) ResourceVersion(resourceVersion string) *NamespacesRevisionsListCall
- func (c *NamespacesRevisionsListCall) Watch(watch bool) *NamespacesRevisionsListCall
- type NamespacesRevisionsService
- type NamespacesRoutesGetCall
- func (c *NamespacesRoutesGetCall) Context(ctx context.Context) *NamespacesRoutesGetCall
- func (c *NamespacesRoutesGetCall) Do(opts ...googleapi.CallOption) (*Route, error)
- func (c *NamespacesRoutesGetCall) Fields(s ...googleapi.Field) *NamespacesRoutesGetCall
- func (c *NamespacesRoutesGetCall) Header() http.Header
- func (c *NamespacesRoutesGetCall) IfNoneMatch(entityTag string) *NamespacesRoutesGetCall
- type NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) Context(ctx context.Context) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) Continue(continue_ string) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) Do(opts ...googleapi.CallOption) (*ListRoutesResponse, error)
- func (c *NamespacesRoutesListCall) FieldSelector(fieldSelector string) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) Fields(s ...googleapi.Field) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) Header() http.Header
- func (c *NamespacesRoutesListCall) IfNoneMatch(entityTag string) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) LabelSelector(labelSelector string) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) Limit(limit int64) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) ResourceVersion(resourceVersion string) *NamespacesRoutesListCall
- func (c *NamespacesRoutesListCall) Watch(watch bool) *NamespacesRoutesListCall
- type NamespacesRoutesService
- type NamespacesService
- type NamespacesServicesCreateCall
- func (c *NamespacesServicesCreateCall) Context(ctx context.Context) *NamespacesServicesCreateCall
- func (c *NamespacesServicesCreateCall) Do(opts ...googleapi.CallOption) (*Service, error)
- func (c *NamespacesServicesCreateCall) DryRun(dryRun string) *NamespacesServicesCreateCall
- func (c *NamespacesServicesCreateCall) Fields(s ...googleapi.Field) *NamespacesServicesCreateCall
- func (c *NamespacesServicesCreateCall) Header() http.Header
- type NamespacesServicesDeleteCall
- func (c *NamespacesServicesDeleteCall) ApiVersion(apiVersion string) *NamespacesServicesDeleteCall
- func (c *NamespacesServicesDeleteCall) Context(ctx context.Context) *NamespacesServicesDeleteCall
- func (c *NamespacesServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
- func (c *NamespacesServicesDeleteCall) DryRun(dryRun string) *NamespacesServicesDeleteCall
- func (c *NamespacesServicesDeleteCall) Fields(s ...googleapi.Field) *NamespacesServicesDeleteCall
- func (c *NamespacesServicesDeleteCall) Header() http.Header
- func (c *NamespacesServicesDeleteCall) Kind(kind string) *NamespacesServicesDeleteCall
- func (c *NamespacesServicesDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesServicesDeleteCall
- type NamespacesServicesGetCall
- func (c *NamespacesServicesGetCall) Context(ctx context.Context) *NamespacesServicesGetCall
- func (c *NamespacesServicesGetCall) Do(opts ...googleapi.CallOption) (*Service, error)
- func (c *NamespacesServicesGetCall) Fields(s ...googleapi.Field) *NamespacesServicesGetCall
- func (c *NamespacesServicesGetCall) Header() http.Header
- func (c *NamespacesServicesGetCall) IfNoneMatch(entityTag string) *NamespacesServicesGetCall
- type NamespacesServicesListCall
- func (c *NamespacesServicesListCall) Context(ctx context.Context) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) Continue(continue_ string) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) Do(opts ...googleapi.CallOption) (*ListServicesResponse, error)
- func (c *NamespacesServicesListCall) FieldSelector(fieldSelector string) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) Fields(s ...googleapi.Field) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) Header() http.Header
- func (c *NamespacesServicesListCall) IfNoneMatch(entityTag string) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) LabelSelector(labelSelector string) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) Limit(limit int64) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) ResourceVersion(resourceVersion string) *NamespacesServicesListCall
- func (c *NamespacesServicesListCall) Watch(watch bool) *NamespacesServicesListCall
- type NamespacesServicesReplaceServiceCall
- func (c *NamespacesServicesReplaceServiceCall) Context(ctx context.Context) *NamespacesServicesReplaceServiceCall
- func (c *NamespacesServicesReplaceServiceCall) Do(opts ...googleapi.CallOption) (*Service, error)
- func (c *NamespacesServicesReplaceServiceCall) DryRun(dryRun string) *NamespacesServicesReplaceServiceCall
- func (c *NamespacesServicesReplaceServiceCall) Fields(s ...googleapi.Field) *NamespacesServicesReplaceServiceCall
- func (c *NamespacesServicesReplaceServiceCall) Header() http.Header
- type NamespacesServicesService
- func (r *NamespacesServicesService) Create(parent string, service *Service) *NamespacesServicesCreateCall
- func (r *NamespacesServicesService) Delete(name string) *NamespacesServicesDeleteCall
- func (r *NamespacesServicesService) Get(name string) *NamespacesServicesGetCall
- func (r *NamespacesServicesService) List(parent string) *NamespacesServicesListCall
- func (r *NamespacesServicesService) ReplaceService(name string, service *Service) *NamespacesServicesReplaceServiceCall
- type NamespacesTasksGetCall
- func (c *NamespacesTasksGetCall) Context(ctx context.Context) *NamespacesTasksGetCall
- func (c *NamespacesTasksGetCall) Do(opts ...googleapi.CallOption) (*Task, error)
- func (c *NamespacesTasksGetCall) Fields(s ...googleapi.Field) *NamespacesTasksGetCall
- func (c *NamespacesTasksGetCall) Header() http.Header
- func (c *NamespacesTasksGetCall) IfNoneMatch(entityTag string) *NamespacesTasksGetCall
- type NamespacesTasksListCall
- func (c *NamespacesTasksListCall) Context(ctx context.Context) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) Continue(continue_ string) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) Do(opts ...googleapi.CallOption) (*ListTasksResponse, error)
- func (c *NamespacesTasksListCall) FieldSelector(fieldSelector string) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) Fields(s ...googleapi.Field) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) Header() http.Header
- func (c *NamespacesTasksListCall) IfNoneMatch(entityTag string) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) LabelSelector(labelSelector string) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) Limit(limit int64) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) ResourceVersion(resourceVersion string) *NamespacesTasksListCall
- func (c *NamespacesTasksListCall) Watch(watch bool) *NamespacesTasksListCall
- type NamespacesTasksService
- type ObjectMeta
- type Overrides
- type OwnerReference
- type Policy
- type Probe
- type ProjectsAuthorizeddomainsListCall
- func (c *ProjectsAuthorizeddomainsListCall) Context(ctx context.Context) *ProjectsAuthorizeddomainsListCall
- func (c *ProjectsAuthorizeddomainsListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedDomainsResponse, error)
- func (c *ProjectsAuthorizeddomainsListCall) Fields(s ...googleapi.Field) *ProjectsAuthorizeddomainsListCall
- func (c *ProjectsAuthorizeddomainsListCall) Header() http.Header
- func (c *ProjectsAuthorizeddomainsListCall) IfNoneMatch(entityTag string) *ProjectsAuthorizeddomainsListCall
- func (c *ProjectsAuthorizeddomainsListCall) PageSize(pageSize int64) *ProjectsAuthorizeddomainsListCall
- func (c *ProjectsAuthorizeddomainsListCall) PageToken(pageToken string) *ProjectsAuthorizeddomainsListCall
- func (c *ProjectsAuthorizeddomainsListCall) Pages(ctx context.Context, f func(*ListAuthorizedDomainsResponse) error) error
- type ProjectsAuthorizeddomainsService
- type ProjectsLocationsAuthorizeddomainsListCall
- func (c *ProjectsLocationsAuthorizeddomainsListCall) Context(ctx context.Context) *ProjectsLocationsAuthorizeddomainsListCall
- func (c *ProjectsLocationsAuthorizeddomainsListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedDomainsResponse, error)
- func (c *ProjectsLocationsAuthorizeddomainsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthorizeddomainsListCall
- func (c *ProjectsLocationsAuthorizeddomainsListCall) Header() http.Header
- func (c *ProjectsLocationsAuthorizeddomainsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthorizeddomainsListCall
- func (c *ProjectsLocationsAuthorizeddomainsListCall) PageSize(pageSize int64) *ProjectsLocationsAuthorizeddomainsListCall
- func (c *ProjectsLocationsAuthorizeddomainsListCall) PageToken(pageToken string) *ProjectsLocationsAuthorizeddomainsListCall
- func (c *ProjectsLocationsAuthorizeddomainsListCall) Pages(ctx context.Context, f func(*ListAuthorizedDomainsResponse) error) error
- type ProjectsLocationsAuthorizeddomainsService
- type ProjectsLocationsConfigurationsGetCall
- func (c *ProjectsLocationsConfigurationsGetCall) Context(ctx context.Context) *ProjectsLocationsConfigurationsGetCall
- func (c *ProjectsLocationsConfigurationsGetCall) Do(opts ...googleapi.CallOption) (*Configuration, error)
- func (c *ProjectsLocationsConfigurationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConfigurationsGetCall
- func (c *ProjectsLocationsConfigurationsGetCall) Header() http.Header
- func (c *ProjectsLocationsConfigurationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConfigurationsGetCall
- type ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) Context(ctx context.Context) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) Continue(continue_ string) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) Do(opts ...googleapi.CallOption) (*ListConfigurationsResponse, error)
- func (c *ProjectsLocationsConfigurationsListCall) FieldSelector(fieldSelector string) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) Header() http.Header
- func (c *ProjectsLocationsConfigurationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) LabelSelector(labelSelector string) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) Limit(limit int64) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsConfigurationsListCall
- func (c *ProjectsLocationsConfigurationsListCall) Watch(watch bool) *ProjectsLocationsConfigurationsListCall
- type ProjectsLocationsConfigurationsService
- type ProjectsLocationsDomainmappingsCreateCall
- func (c *ProjectsLocationsDomainmappingsCreateCall) Context(ctx context.Context) *ProjectsLocationsDomainmappingsCreateCall
- func (c *ProjectsLocationsDomainmappingsCreateCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
- func (c *ProjectsLocationsDomainmappingsCreateCall) DryRun(dryRun string) *ProjectsLocationsDomainmappingsCreateCall
- func (c *ProjectsLocationsDomainmappingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDomainmappingsCreateCall
- func (c *ProjectsLocationsDomainmappingsCreateCall) Header() http.Header
- type ProjectsLocationsDomainmappingsDeleteCall
- func (c *ProjectsLocationsDomainmappingsDeleteCall) ApiVersion(apiVersion string) *ProjectsLocationsDomainmappingsDeleteCall
- func (c *ProjectsLocationsDomainmappingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDomainmappingsDeleteCall
- func (c *ProjectsLocationsDomainmappingsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
- func (c *ProjectsLocationsDomainmappingsDeleteCall) DryRun(dryRun string) *ProjectsLocationsDomainmappingsDeleteCall
- func (c *ProjectsLocationsDomainmappingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDomainmappingsDeleteCall
- func (c *ProjectsLocationsDomainmappingsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsDomainmappingsDeleteCall) Kind(kind string) *ProjectsLocationsDomainmappingsDeleteCall
- func (c *ProjectsLocationsDomainmappingsDeleteCall) PropagationPolicy(propagationPolicy string) *ProjectsLocationsDomainmappingsDeleteCall
- type ProjectsLocationsDomainmappingsGetCall
- func (c *ProjectsLocationsDomainmappingsGetCall) Context(ctx context.Context) *ProjectsLocationsDomainmappingsGetCall
- func (c *ProjectsLocationsDomainmappingsGetCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
- func (c *ProjectsLocationsDomainmappingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDomainmappingsGetCall
- func (c *ProjectsLocationsDomainmappingsGetCall) Header() http.Header
- func (c *ProjectsLocationsDomainmappingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDomainmappingsGetCall
- type ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) Context(ctx context.Context) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) Continue(continue_ string) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) Do(opts ...googleapi.CallOption) (*ListDomainMappingsResponse, error)
- func (c *ProjectsLocationsDomainmappingsListCall) FieldSelector(fieldSelector string) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) Header() http.Header
- func (c *ProjectsLocationsDomainmappingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) LabelSelector(labelSelector string) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) Limit(limit int64) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsDomainmappingsListCall
- func (c *ProjectsLocationsDomainmappingsListCall) Watch(watch bool) *ProjectsLocationsDomainmappingsListCall
- type ProjectsLocationsDomainmappingsService
- func (r *ProjectsLocationsDomainmappingsService) Create(parent string, domainmapping *DomainMapping) *ProjectsLocationsDomainmappingsCreateCall
- func (r *ProjectsLocationsDomainmappingsService) Delete(name string) *ProjectsLocationsDomainmappingsDeleteCall
- func (r *ProjectsLocationsDomainmappingsService) Get(name string) *ProjectsLocationsDomainmappingsGetCall
- func (r *ProjectsLocationsDomainmappingsService) List(parent string) *ProjectsLocationsDomainmappingsListCall
- type ProjectsLocationsJobsGetIamPolicyCall
- func (c *ProjectsLocationsJobsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsJobsGetIamPolicyCall
- func (c *ProjectsLocationsJobsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsJobsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsGetIamPolicyCall
- func (c *ProjectsLocationsJobsGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsJobsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsGetIamPolicyCall
- func (c *ProjectsLocationsJobsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsJobsGetIamPolicyCall
- type ProjectsLocationsJobsService
- func (r *ProjectsLocationsJobsService) GetIamPolicy(resource string) *ProjectsLocationsJobsGetIamPolicyCall
- func (r *ProjectsLocationsJobsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsJobsSetIamPolicyCall
- func (r *ProjectsLocationsJobsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsJobsTestIamPermissionsCall
- type ProjectsLocationsJobsSetIamPolicyCall
- func (c *ProjectsLocationsJobsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsJobsSetIamPolicyCall
- func (c *ProjectsLocationsJobsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsJobsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsSetIamPolicyCall
- func (c *ProjectsLocationsJobsSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsJobsTestIamPermissionsCall
- func (c *ProjectsLocationsJobsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsJobsTestIamPermissionsCall
- func (c *ProjectsLocationsJobsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsJobsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsTestIamPermissionsCall
- func (c *ProjectsLocationsJobsTestIamPermissionsCall) Header() http.Header
- type ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
- func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Header() http.Header
- func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
- func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) error) error
- type ProjectsLocationsRevisionsDeleteCall
- func (c *ProjectsLocationsRevisionsDeleteCall) ApiVersion(apiVersion string) *ProjectsLocationsRevisionsDeleteCall
- func (c *ProjectsLocationsRevisionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRevisionsDeleteCall
- func (c *ProjectsLocationsRevisionsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
- func (c *ProjectsLocationsRevisionsDeleteCall) DryRun(dryRun string) *ProjectsLocationsRevisionsDeleteCall
- func (c *ProjectsLocationsRevisionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRevisionsDeleteCall
- func (c *ProjectsLocationsRevisionsDeleteCall) Header() http.Header
- func (c *ProjectsLocationsRevisionsDeleteCall) Kind(kind string) *ProjectsLocationsRevisionsDeleteCall
- func (c *ProjectsLocationsRevisionsDeleteCall) PropagationPolicy(propagationPolicy string) *ProjectsLocationsRevisionsDeleteCall
- type ProjectsLocationsRevisionsGetCall
- func (c *ProjectsLocationsRevisionsGetCall) Context(ctx context.Context) *ProjectsLocationsRevisionsGetCall
- func (c *ProjectsLocationsRevisionsGetCall) Do(opts ...googleapi.CallOption) (*Revision, error)
- func (c *ProjectsLocationsRevisionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRevisionsGetCall
- func (c *ProjectsLocationsRevisionsGetCall) Header() http.Header
- func (c *ProjectsLocationsRevisionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRevisionsGetCall
- type ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) Context(ctx context.Context) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) Continue(continue_ string) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) Do(opts ...googleapi.CallOption) (*ListRevisionsResponse, error)
- func (c *ProjectsLocationsRevisionsListCall) FieldSelector(fieldSelector string) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) Header() http.Header
- func (c *ProjectsLocationsRevisionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) LabelSelector(labelSelector string) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) Limit(limit int64) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsRevisionsListCall
- func (c *ProjectsLocationsRevisionsListCall) Watch(watch bool) *ProjectsLocationsRevisionsListCall
- type ProjectsLocationsRevisionsService
- type ProjectsLocationsRoutesGetCall
- func (c *ProjectsLocationsRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsRoutesGetCall
- func (c *ProjectsLocationsRoutesGetCall) Do(opts ...googleapi.CallOption) (*Route, error)
- func (c *ProjectsLocationsRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRoutesGetCall
- func (c *ProjectsLocationsRoutesGetCall) Header() http.Header
- func (c *ProjectsLocationsRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRoutesGetCall
- type ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) Context(ctx context.Context) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) Continue(continue_ string) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) Do(opts ...googleapi.CallOption) (*ListRoutesResponse, error)
- func (c *ProjectsLocationsRoutesListCall) FieldSelector(fieldSelector string) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) Header() http.Header
- func (c *ProjectsLocationsRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) LabelSelector(labelSelector string) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) Limit(limit int64) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsRoutesListCall
- func (c *ProjectsLocationsRoutesListCall) Watch(watch bool) *ProjectsLocationsRoutesListCall
- type ProjectsLocationsRoutesService
- type ProjectsLocationsService
- type ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Context(ctx context.Context) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Do(opts ...googleapi.CallOption) (*Service, error)
- func (c *ProjectsLocationsServicesCreateCall) DryRun(dryRun string) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCreateCall
- func (c *ProjectsLocationsServicesCreateCall) Header() http.Header
- type ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) ApiVersion(apiVersion string) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
- func (c *ProjectsLocationsServicesDeleteCall) DryRun(dryRun string) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header
- func (c *ProjectsLocationsServicesDeleteCall) Kind(kind string) *ProjectsLocationsServicesDeleteCall
- func (c *ProjectsLocationsServicesDeleteCall) PropagationPolicy(propagationPolicy string) *ProjectsLocationsServicesDeleteCall
- type ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Context(ctx context.Context) *ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*Service, error)
- func (c *ProjectsLocationsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetCall
- func (c *ProjectsLocationsServicesGetCall) Header() http.Header
- func (c *ProjectsLocationsServicesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesGetCall
- type ProjectsLocationsServicesGetIamPolicyCall
- func (c *ProjectsLocationsServicesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesGetIamPolicyCall
- func (c *ProjectsLocationsServicesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetIamPolicyCall
- func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header
- func (c *ProjectsLocationsServicesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesGetIamPolicyCall
- func (c *ProjectsLocationsServicesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsServicesGetIamPolicyCall
- type ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Context(ctx context.Context) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Continue(continue_ string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*ListServicesResponse, error)
- func (c *ProjectsLocationsServicesListCall) FieldSelector(fieldSelector string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Header() http.Header
- func (c *ProjectsLocationsServicesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) LabelSelector(labelSelector string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Limit(limit int64) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsServicesListCall
- func (c *ProjectsLocationsServicesListCall) Watch(watch bool) *ProjectsLocationsServicesListCall
- type ProjectsLocationsServicesReplaceServiceCall
- func (c *ProjectsLocationsServicesReplaceServiceCall) Context(ctx context.Context) *ProjectsLocationsServicesReplaceServiceCall
- func (c *ProjectsLocationsServicesReplaceServiceCall) Do(opts ...googleapi.CallOption) (*Service, error)
- func (c *ProjectsLocationsServicesReplaceServiceCall) DryRun(dryRun string) *ProjectsLocationsServicesReplaceServiceCall
- func (c *ProjectsLocationsServicesReplaceServiceCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesReplaceServiceCall
- func (c *ProjectsLocationsServicesReplaceServiceCall) Header() http.Header
- type ProjectsLocationsServicesService
- func (r *ProjectsLocationsServicesService) Create(parent string, service *Service) *ProjectsLocationsServicesCreateCall
- func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall
- func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall
- func (r *ProjectsLocationsServicesService) GetIamPolicy(resource string) *ProjectsLocationsServicesGetIamPolicyCall
- func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall
- func (r *ProjectsLocationsServicesService) ReplaceService(name string, service *Service) *ProjectsLocationsServicesReplaceServiceCall
- func (r *ProjectsLocationsServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesSetIamPolicyCall
- func (r *ProjectsLocationsServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesTestIamPermissionsCall
- type ProjectsLocationsServicesSetIamPolicyCall
- func (c *ProjectsLocationsServicesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesSetIamPolicyCall
- func (c *ProjectsLocationsServicesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
- func (c *ProjectsLocationsServicesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSetIamPolicyCall
- func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header
- type ProjectsLocationsServicesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsServicesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
- func (c *ProjectsLocationsServicesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesTestIamPermissionsCall
- func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header
- type ProjectsService
- type ResourceRecord
- type ResourceRequirements
- type Revision
- type RevisionSpec
- type RevisionStatus
- type RevisionTemplate
- type Route
- type RouteSpec
- type RouteStatus
- type RunJobRequest
- type SecretEnvSource
- type SecretKeySelector
- type SecretVolumeSource
- type SecurityContext
- type Service
- type ServiceSpec
- type ServiceStatus
- type SetIamPolicyRequest
- type Status
- type StatusCause
- type StatusDetails
- type TCPSocketAction
- type Task
- type TaskAttemptResult
- type TaskSpec
- type TaskStatus
- type TaskTemplateSpec
- type TestIamPermissionsRequest
- type TestIamPermissionsResponse
- type TrafficTarget
- type Volume
- type VolumeMount
Constants ¶
const ( // See, edit, configure, and delete your Google Cloud data and see the // email address for your Google Account. CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform" )
OAuth2 scopes used by this API.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIService ¶
type APIService struct { BasePath string // API endpoint base URL UserAgent string // optional additional User-Agent fragment Namespaces *NamespacesService Projects *ProjectsService // contains filtered or unexported fields }
func New
deprecated
func New(client *http.Client) (*APIService, error)
New creates a new APIService. 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 ¶
func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, error)
NewService creates a new APIService.
type Addressable ¶
type Addressable struct { Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "Url") 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. "Url") 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:"-"` }
Addressable: Information for connecting over HTTP(s).
func (*Addressable) MarshalJSON ¶
func (s *Addressable) MarshalJSON() ([]byte, error)
type AuditConfig ¶
type AuditConfig struct { // AuditLogConfigs: The configuration for logging of each type of // permission. AuditLogConfigs []*AuditLogConfig `json:"auditLogConfigs,omitempty"` // Service: Specifies a service that will be enabled for audit logging. // For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. // `allServices` is a special value that covers all services. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "AuditLogConfigs") 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. "AuditLogConfigs") 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:"-"` }
AuditConfig: Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts `jose@example.com` from DATA_READ logging, and `aliya@example.com` from DATA_WRITE logging.
func (*AuditConfig) MarshalJSON ¶
func (s *AuditConfig) MarshalJSON() ([]byte, error)
type AuditLogConfig ¶
type AuditLogConfig struct { // ExemptedMembers: Specifies the identities that do not cause logging // for this type of permission. Follows the same format of // Binding.members. ExemptedMembers []string `json:"exemptedMembers,omitempty"` // LogType: The log type that this config enables. // // Possible values: // "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this. // "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy // "DATA_WRITE" - Data writes. Example: CloudSQL Users create // "DATA_READ" - Data reads. Example: CloudSQL Users list LogType string `json:"logType,omitempty"` // ForceSendFields is a list of field names (e.g. "ExemptedMembers") 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. "ExemptedMembers") 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:"-"` }
AuditLogConfig: Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
func (*AuditLogConfig) MarshalJSON ¶
func (s *AuditLogConfig) MarshalJSON() ([]byte, error)
type AuthorizedDomain ¶
type AuthorizedDomain struct { // Id: Relative name of the domain authorized for use. Example: // `example.com`. Id string `json:"id,omitempty"` // Name: Deprecated Read only. Full path to the `AuthorizedDomain` // resource in the API. Example: // `projects/myproject/authorizedDomains/example.com`. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Id") 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. "Id") 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:"-"` }
AuthorizedDomain: A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Search Console (https://search.google.com/search-console/welcome).
func (*AuthorizedDomain) MarshalJSON ¶
func (s *AuthorizedDomain) MarshalJSON() ([]byte, error)
type Binding ¶
type Binding struct { // Condition: The condition that is associated with this binding. If the // condition evaluates to `true`, then this binding applies to the // current request. If the condition evaluates to `false`, then this // binding does not apply to the current request. However, a different // role binding might grant the same role to one or more of the // principals in this binding. To learn which resources support // conditions in their IAM policies, see the IAM documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Condition *Expr `json:"condition,omitempty"` // Members: Specifies the principals requesting access for a Google // Cloud resource. `members` can have the following values: * // `allUsers`: A special identifier that represents anyone who is on the // internet; with or without a Google account. * // `allAuthenticatedUsers`: A special identifier that represents anyone // who is authenticated with a Google account or a service account. Does // not include identities that come from external identity providers // (IdPs) through identity federation. * `user:{emailid}`: An email // address that represents a specific Google account. For example, // `alice@example.com` . * `serviceAccount:{emailid}`: An email address // that represents a Google service account. For example, // `my-other-app@appspot.gserviceaccount.com`. * // `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: // An identifier for a Kubernetes service account // (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). // For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. // * `group:{emailid}`: An email address that represents a Google group. // For example, `admins@example.com`. * `domain:{domain}`: The G Suite // domain (primary) that represents all the users of that domain. For // example, `google.com` or `example.com`. * // `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus // unique identifier) representing a user that has been recently // deleted. For example, `alice@example.com?uid=123456789012345678901`. // If the user is recovered, this value reverts to `user:{emailid}` and // the recovered user retains the role in the binding. * // `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address // (plus unique identifier) representing a service account that has been // recently deleted. For example, // `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. // If the service account is undeleted, this value reverts to // `serviceAccount:{emailid}` and the undeleted service account retains // the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: // An email address (plus unique identifier) representing a Google group // that has been recently deleted. For example, // `admins@example.com?uid=123456789012345678901`. If the group is // recovered, this value reverts to `group:{emailid}` and the recovered // group retains the role in the binding. Members []string `json:"members,omitempty"` // Role: Role that is assigned to the list of `members`, or principals. // For example, `roles/viewer`, `roles/editor`, or `roles/owner`. Role string `json:"role,omitempty"` // ForceSendFields is a list of field names (e.g. "Condition") 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. "Condition") 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:"-"` }
Binding: Associates `members`, or principals, with a `role`.
func (*Binding) MarshalJSON ¶
type CancelExecutionRequest ¶
type CancelExecutionRequest struct { }
CancelExecutionRequest: Request message for cancelling an execution.
type ConfigMapEnvSource ¶
type ConfigMapEnvSource struct { // LocalObjectReference: This field should not be used directly as it is // meant to be inlined directly into the message. Use the "name" field // instead. LocalObjectReference *LocalObjectReference `json:"localObjectReference,omitempty"` // Name: The ConfigMap to select from. Name string `json:"name,omitempty"` // Optional: Specify whether the ConfigMap must be defined. Optional bool `json:"optional,omitempty"` // ForceSendFields is a list of field names (e.g. // "LocalObjectReference") 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. "LocalObjectReference") 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:"-"` }
ConfigMapEnvSource: Not supported by Cloud Run. ConfigMapEnvSource selects a ConfigMap to populate the environment variables with. The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
func (*ConfigMapEnvSource) MarshalJSON ¶
func (s *ConfigMapEnvSource) MarshalJSON() ([]byte, error)
type ConfigMapKeySelector ¶
type ConfigMapKeySelector struct { // Key: Required. Not supported by Cloud Run. Key string `json:"key,omitempty"` // LocalObjectReference: Not supported by Cloud Run. LocalObjectReference *LocalObjectReference `json:"localObjectReference,omitempty"` // Name: Required. Not supported by Cloud Run. Name string `json:"name,omitempty"` // Optional: Not supported by Cloud Run. Optional bool `json:"optional,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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:"-"` }
ConfigMapKeySelector: Not supported by Cloud Run.
func (*ConfigMapKeySelector) MarshalJSON ¶
func (s *ConfigMapKeySelector) MarshalJSON() ([]byte, error)
type ConfigMapVolumeSource ¶
type ConfigMapVolumeSource struct { // DefaultMode: (Optional) Integer representation of mode bits to use on // created files by default. Must be a value between 01 and 0777 // (octal). If 0 or not set, it will default to 0644. Directories within // the path are not affected by this setting. Notes * Internally, a // umask of 0222 will be applied to any non-zero value. * This is an // integer representation of the mode bits. So, the octal integer value // should look exactly as the chmod numeric notation with a leading // zero. Some examples: for chmod 777 (a=rwx), set to 0777 (octal) or // 511 (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 // (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or // 493 (base-10). * This might be in conflict with other options that // affect the file mode, like fsGroup, and the result can be other mode // bits set. DefaultMode int64 `json:"defaultMode,omitempty"` // Items: (Optional) If unspecified, each key-value pair in the Data // field of the referenced Secret will be projected into the volume as a // file whose name is the key and content is the value. If specified, // the listed keys will be projected into the specified paths, and // unlisted keys will not be present. If a key is specified that is not // present in the Secret, the volume setup will error unless it is // marked optional. Items []*KeyToPath `json:"items,omitempty"` // Name: Name of the config. Name string `json:"name,omitempty"` // Optional: (Optional) Specify whether the Secret or its keys must be // defined. Optional bool `json:"optional,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultMode") 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. "DefaultMode") 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:"-"` }
ConfigMapVolumeSource: Not supported by Cloud Run. Adapts a ConfigMap into a volume. The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths.
func (*ConfigMapVolumeSource) MarshalJSON ¶
func (s *ConfigMapVolumeSource) MarshalJSON() ([]byte, error)
type Configuration ¶
type Configuration struct { // ApiVersion: The API version for this call such as // "serving.knative.dev/v1". ApiVersion string `json:"apiVersion,omitempty"` // Kind: The kind of resource, in this case always "Configuration". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this Configuration, including // name, namespace, labels, and annotations. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: Spec holds the desired state of the Configuration (from the // client). Spec *ConfigurationSpec `json:"spec,omitempty"` // Status: Status communicates the observed state of the Configuration // (from the controller). Status *ConfigurationStatus `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
Configuration: Configuration represents the "floating HEAD" of a linear history of Revisions, and optionally how the containers those revisions reference are built. Users create new Revisions by updating the Configuration's spec. The "latest created" revision's name is available under status, as is the "latest ready" revision's name.
func (*Configuration) MarshalJSON ¶
func (s *Configuration) MarshalJSON() ([]byte, error)
type ConfigurationSpec ¶
type ConfigurationSpec struct { // Template: Template holds the latest specification for the Revision to // be stamped out. Template *RevisionTemplate `json:"template,omitempty"` // ForceSendFields is a list of field names (e.g. "Template") 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. "Template") 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:"-"` }
ConfigurationSpec: ConfigurationSpec holds the desired state of the Configuration (from the client).
func (*ConfigurationSpec) MarshalJSON ¶
func (s *ConfigurationSpec) MarshalJSON() ([]byte, error)
type ConfigurationStatus ¶
type ConfigurationStatus struct { // Conditions: Conditions communicate information about ongoing/complete // reconciliation processes that bring the "spec" inline with the // observed state of the world. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // LatestCreatedRevisionName: LatestCreatedRevisionName is the last // revision that was created from this Configuration. It might not be // ready yet, so for the latest ready revision, use // LatestReadyRevisionName. LatestCreatedRevisionName string `json:"latestCreatedRevisionName,omitempty"` // LatestReadyRevisionName: LatestReadyRevisionName holds the name of // the latest Revision stamped out from this Configuration that has had // its "Ready" condition become "True". LatestReadyRevisionName string `json:"latestReadyRevisionName,omitempty"` // ObservedGeneration: ObservedGeneration is the 'Generation' of the // Configuration that was last processed by the controller. The observed // generation is updated even if the controller failed to process the // spec and create the Revision. Clients polling for completed // reconciliation should poll until observedGeneration = // metadata.generation, and the Ready condition's status is True or // False. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // ForceSendFields is a list of field names (e.g. "Conditions") 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. "Conditions") 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:"-"` }
ConfigurationStatus: ConfigurationStatus communicates the observed state of the Configuration (from the controller).
func (*ConfigurationStatus) MarshalJSON ¶
func (s *ConfigurationStatus) MarshalJSON() ([]byte, error)
type Container ¶
type Container struct { // Args: Arguments to the entrypoint. The docker image's CMD is used if // this is not provided. Variable references are not supported in Cloud // Run. Args []string `json:"args,omitempty"` // Command: Entrypoint array. Not executed within a shell. The docker // image's ENTRYPOINT is used if this is not provided. Variable // references are not supported in Cloud Run. Command []string `json:"command,omitempty"` // Env: List of environment variables to set in the container. EnvVar // with duplicate names are generally allowed; if referencing a secret, // the name must be unique for the container. For non-secret EnvVar // names, the Container will only get the last-declared one. Env []*EnvVar `json:"env,omitempty"` // EnvFrom: Not supported by Cloud Run. EnvFrom []*EnvFromSource `json:"envFrom,omitempty"` // Image: Required. Name of the container image in Dockerhub, Google // Artifact Registry, or Google Container Registry. If the host is not // provided, Dockerhub is assumed. Image string `json:"image,omitempty"` // ImagePullPolicy: Image pull policy. One of Always, Never, // IfNotPresent. Defaults to Always if :latest tag is specified, or // IfNotPresent otherwise. ImagePullPolicy string `json:"imagePullPolicy,omitempty"` // LivenessProbe: Periodic probe of container liveness. Container will // be restarted if the probe fails. LivenessProbe *Probe `json:"livenessProbe,omitempty"` // Name: Name of the container specified as a DNS_LABEL (RFC 1123). Name string `json:"name,omitempty"` // Ports: List of ports to expose from the container. Only a single port // can be specified. The specified ports must be listening on all // interfaces (0.0.0.0) within the container to be accessible. If // omitted, a port number will be chosen and passed to the container // through the PORT environment variable for the container to listen on. Ports []*ContainerPort `json:"ports,omitempty"` // ReadinessProbe: Not supported by Cloud Run. ReadinessProbe *Probe `json:"readinessProbe,omitempty"` // Resources: Compute Resources required by this container. Resources *ResourceRequirements `json:"resources,omitempty"` // SecurityContext: Not supported by Cloud Run. SecurityContext *SecurityContext `json:"securityContext,omitempty"` // StartupProbe: Startup probe of application within the container. All // other probes are disabled if a startup probe is provided, until it // succeeds. Container will not receive traffic if the probe fails. If // not provided, a default startup probe with TCP socket action is used. StartupProbe *Probe `json:"startupProbe,omitempty"` // TerminationMessagePath: Path at which the file to which the // container's termination message will be written is mounted into the // container's filesystem. Message written is intended to be brief final // status, such as an assertion failure message. Will be truncated by // the node if greater than 4096 bytes. The total message length across // all containers will be limited to 12kb. Defaults to // /dev/termination-log. TerminationMessagePath string `json:"terminationMessagePath,omitempty"` // TerminationMessagePolicy: Indicate how the termination message should // be populated. File will use the contents of terminationMessagePath to // populate the container status message on both success and failure. // FallbackToLogsOnError will use the last chunk of container log output // if the termination message file is empty and the container exited // with an error. The log output is limited to 2048 bytes or 80 lines, // whichever is smaller. Defaults to File. Cannot be updated. TerminationMessagePolicy string `json:"terminationMessagePolicy,omitempty"` // VolumeMounts: Volume to mount into the container's filesystem. Only // supports SecretVolumeSources. Pod volumes to mount into the // container's filesystem. VolumeMounts []*VolumeMount `json:"volumeMounts,omitempty"` // WorkingDir: Container's working directory. If not specified, the // container runtime's default will be used, which might be configured // in the container image. WorkingDir string `json:"workingDir,omitempty"` // ForceSendFields is a list of field names (e.g. "Args") 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. "Args") 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:"-"` }
Container: A single application container. This specifies both the container to run, the command to run in the container and the arguments to supply to it. Note that additional arguments may be supplied by the system to the container at runtime.
func (*Container) MarshalJSON ¶
type ContainerOverride ¶
type ContainerOverride struct { // Args: Arguments to the entrypoint. The specified arguments replace // and override any existing entrypoint arguments. Must be empty if // `clear_args` is set to true. Args []string `json:"args,omitempty"` // ClearArgs: Optional. Set to True to clear all existing arguments. ClearArgs bool `json:"clearArgs,omitempty"` // Env: List of environment variables to set in the container. All // specified environment variables are merged with existing environment // variables. When the specified environment variables exist, these // values override any existing values. Env []*EnvVar `json:"env,omitempty"` // Name: The name of the container specified as a DNS_LABEL. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Args") 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. "Args") 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:"-"` }
ContainerOverride: Per container override specification.
func (*ContainerOverride) MarshalJSON ¶
func (s *ContainerOverride) MarshalJSON() ([]byte, error)
type ContainerPort ¶
type ContainerPort struct { // ContainerPort: Port number the container listens on. If present, this // must be a valid port number, 0 < x < 65536. If not present, it will // default to port 8080. For more information, see // https://cloud.google.com/run/docs/container-contract#port ContainerPort int64 `json:"containerPort,omitempty"` // Name: If specified, used to specify which protocol to use. Allowed // values are "http1" and "h2c". Name string `json:"name,omitempty"` // Protocol: Protocol for port. Must be "TCP". Defaults to "TCP". Protocol string `json:"protocol,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerPort") 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. "ContainerPort") 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:"-"` }
ContainerPort: ContainerPort represents a network port in a single container.
func (*ContainerPort) MarshalJSON ¶
func (s *ContainerPort) MarshalJSON() ([]byte, error)
type DomainMapping ¶
type DomainMapping struct { // ApiVersion: The API version for this call such as // "domains.cloudrun.com/v1". ApiVersion string `json:"apiVersion,omitempty"` // Kind: The kind of resource, in this case "DomainMapping". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this BuildTemplate. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: The spec for this DomainMapping. Spec *DomainMappingSpec `json:"spec,omitempty"` // Status: The current status of the DomainMapping. Status *DomainMappingStatus `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
DomainMapping: Resource to hold the state and status of a user's domain mapping. NOTE: This resource is currently in Beta.
func (*DomainMapping) MarshalJSON ¶
func (s *DomainMapping) MarshalJSON() ([]byte, error)
type DomainMappingSpec ¶
type DomainMappingSpec struct { // CertificateMode: The mode of the certificate. // // Possible values: // "CERTIFICATE_MODE_UNSPECIFIED" // "NONE" - Do not provision an HTTPS certificate. // "AUTOMATIC" - Automatically provisions an HTTPS certificate via // GoogleCA. CertificateMode string `json:"certificateMode,omitempty"` // ForceOverride: If set, the mapping will override any mapping set // before this spec was set. It is recommended that the user leaves this // empty to receive an error warning about a potential conflict and only // set it once the respective UI has given such a warning. ForceOverride bool `json:"forceOverride,omitempty"` // RouteName: The name of the Knative Route that this DomainMapping // applies to. The route must exist. RouteName string `json:"routeName,omitempty"` // ForceSendFields is a list of field names (e.g. "CertificateMode") 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. "CertificateMode") 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:"-"` }
DomainMappingSpec: The desired state of the Domain Mapping.
func (*DomainMappingSpec) MarshalJSON ¶
func (s *DomainMappingSpec) MarshalJSON() ([]byte, error)
type DomainMappingStatus ¶
type DomainMappingStatus struct { // Conditions: Array of observed DomainMappingConditions, indicating the // current state of the DomainMapping. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // MappedRouteName: The name of the route that the mapping currently // points to. MappedRouteName string `json:"mappedRouteName,omitempty"` // ObservedGeneration: ObservedGeneration is the 'Generation' of the // DomainMapping that was last processed by the controller. Clients // polling for completed reconciliation should poll until // observedGeneration = metadata.generation and the Ready condition's // status is True or False. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // ResourceRecords: The resource records required to configure this // domain mapping. These records must be added to the domain's DNS // configuration in order to serve the application via this domain // mapping. ResourceRecords []*ResourceRecord `json:"resourceRecords,omitempty"` // Url: Optional. Not supported by Cloud Run. Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "Conditions") 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. "Conditions") 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:"-"` }
DomainMappingStatus: The current state of the Domain Mapping.
func (*DomainMappingStatus) MarshalJSON ¶
func (s *DomainMappingStatus) MarshalJSON() ([]byte, error)
type EmptyDirVolumeSource ¶
type EmptyDirVolumeSource struct { // Medium: The medium on which the data is stored. The default is "" // which means to use the node's default medium. Must be an empty string // (default) or Memory. More info: // https://kubernetes.io/docs/concepts/storage/volumes#emptydir Medium string `json:"medium,omitempty"` // SizeLimit: Limit on the storage usable by this EmptyDir volume. The // size limit is also applicable for memory medium. The maximum usage on // memory medium EmptyDir would be the minimum value between the // SizeLimit specified here and the sum of memory limits of all // containers. The default is nil which means that the limit is // undefined. More info: // https://cloud.google.com/run/docs/configuring/in-memory-volumes#configure-volume. // Info in Kubernetes: // https://kubernetes.io/docs/concepts/storage/volumes/#emptydir SizeLimit string `json:"sizeLimit,omitempty"` // ForceSendFields is a list of field names (e.g. "Medium") 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. "Medium") 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:"-"` }
EmptyDirVolumeSource: In memory (tmpfs) ephemeral storage. It is ephemeral in the sense that when the sandbox is taken down, the data is destroyed with it (it does not persist across sandbox runs).
func (*EmptyDirVolumeSource) MarshalJSON ¶
func (s *EmptyDirVolumeSource) MarshalJSON() ([]byte, error)
type EnvFromSource ¶
type EnvFromSource struct { // ConfigMapRef: The ConfigMap to select from ConfigMapRef *ConfigMapEnvSource `json:"configMapRef,omitempty"` // Prefix: An optional identifier to prepend to each key in the // ConfigMap. Must be a C_IDENTIFIER. Prefix string `json:"prefix,omitempty"` // SecretRef: The Secret to select from SecretRef *SecretEnvSource `json:"secretRef,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfigMapRef") 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. "ConfigMapRef") 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:"-"` }
EnvFromSource: Not supported by Cloud Run. EnvFromSource represents the source of a set of ConfigMaps
func (*EnvFromSource) MarshalJSON ¶
func (s *EnvFromSource) MarshalJSON() ([]byte, error)
type EnvVar ¶
type EnvVar struct { // Name: Required. Name of the environment variable. Name string `json:"name,omitempty"` // Value: Value of the environment variable. Defaults to "". Variable // references are not supported in Cloud Run. Value string `json:"value,omitempty"` // ValueFrom: Source for the environment variable's value. Only supports // secret_key_ref. Cannot be used if value is not empty. ValueFrom *EnvVarSource `json:"valueFrom,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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:"-"` }
EnvVar: EnvVar represents an environment variable present in a Container.
func (*EnvVar) MarshalJSON ¶
type EnvVarSource ¶
type EnvVarSource struct { // ConfigMapKeyRef: Not supported by Cloud Run. Not supported in Cloud // Run. ConfigMapKeyRef *ConfigMapKeySelector `json:"configMapKeyRef,omitempty"` // SecretKeyRef: Selects a key (version) of a secret in Secret Manager. SecretKeyRef *SecretKeySelector `json:"secretKeyRef,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfigMapKeyRef") 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. "ConfigMapKeyRef") 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:"-"` }
EnvVarSource: EnvVarSource represents a source for the value of an EnvVar.
func (*EnvVarSource) MarshalJSON ¶
func (s *EnvVarSource) MarshalJSON() ([]byte, error)
type ExecAction ¶
type ExecAction struct { // Command: Command is the command line to execute inside the container, // the working directory for the command is root ('/') in the // container's filesystem. The command is simply exec'd, it is not run // inside a shell, so traditional shell instructions ('|', etc) won't // work. To use a shell, you need to explicitly call out to that shell. // Exit status of 0 is treated as live/healthy and non-zero is // unhealthy. Command []string `json:"command,omitempty"` // ForceSendFields is a list of field names (e.g. "Command") 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. "Command") 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:"-"` }
ExecAction: Not supported by Cloud Run. ExecAction describes a "run in container" action.
func (*ExecAction) MarshalJSON ¶
func (s *ExecAction) MarshalJSON() ([]byte, error)
type Execution ¶
type Execution struct { // ApiVersion: Optional. APIVersion defines the versioned schema of this // representation of an object. Servers should convert recognized // schemas to the latest internal value, and may reject unrecognized // values. ApiVersion string `json:"apiVersion,omitempty"` // Kind: Optional. Kind is a string value representing the REST resource // this object represents. Servers may infer this from the endpoint the // client submits requests to. Cannot be updated. In CamelCase. Kind string `json:"kind,omitempty"` // Metadata: Optional. Standard object's metadata. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: Optional. Specification of the desired behavior of an // execution. Spec *ExecutionSpec `json:"spec,omitempty"` // Status: Output only. Current status of an execution. Status *ExecutionStatus `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
Execution: Execution represents the configuration of a single execution. An execution is an immutable resource that references a container image which is run to completion.
func (*Execution) MarshalJSON ¶
type ExecutionReference ¶
type ExecutionReference struct { // CompletionTimestamp: Optional. Completion timestamp of the execution. CompletionTimestamp string `json:"completionTimestamp,omitempty"` // CreationTimestamp: Optional. Creation timestamp of the execution. CreationTimestamp string `json:"creationTimestamp,omitempty"` // Name: Optional. Name of the execution. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "CompletionTimestamp") // 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. "CompletionTimestamp") 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:"-"` }
ExecutionReference: Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.
func (*ExecutionReference) MarshalJSON ¶
func (s *ExecutionReference) MarshalJSON() ([]byte, error)
type ExecutionSpec ¶
type ExecutionSpec struct { // Parallelism: Optional. Specifies the maximum desired number of tasks // the execution should run at given time. Must be <= task_count. When // the job is run, if this field is 0 or unset, the maximum possible // value will be used for that execution. The actual number of tasks // running in steady state will be less than this number when there are // fewer tasks waiting to be completed, i.e. when the work left to do is // less than max parallelism. Parallelism int64 `json:"parallelism,omitempty"` // TaskCount: Optional. Specifies the desired number of tasks the // execution should run. Setting to 1 means that parallelism is limited // to 1 and the success of that task signals the success of the // execution. Defaults to 1. TaskCount int64 `json:"taskCount,omitempty"` // Template: Optional. The template used to create tasks for this // execution. Template *TaskTemplateSpec `json:"template,omitempty"` // ForceSendFields is a list of field names (e.g. "Parallelism") 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. "Parallelism") 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:"-"` }
ExecutionSpec: ExecutionSpec describes how the execution will look.
func (*ExecutionSpec) MarshalJSON ¶
func (s *ExecutionSpec) MarshalJSON() ([]byte, error)
type ExecutionStatus ¶
type ExecutionStatus struct { // CancelledCount: Optional. The number of tasks which reached phase // Cancelled. CancelledCount int64 `json:"cancelledCount,omitempty"` // CompletionTime: Optional. Represents the time that the execution was // completed. It is not guaranteed to be set in happens-before order // across separate operations. It is represented in RFC3339 form and is // in UTC. +optional CompletionTime string `json:"completionTime,omitempty"` // Conditions: Optional. Conditions communicate information about // ongoing/complete reconciliation processes that bring the "spec" // inline with the observed state of the world. Execution-specific // conditions include: * `ResourcesAvailable`: `True` when underlying // resources have been provisioned. * `Started`: `True` when the // execution has started to execute. * `Completed`: `True` when the // execution has succeeded. `False` when the execution has failed. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // FailedCount: Optional. The number of tasks which reached phase // Failed. FailedCount int64 `json:"failedCount,omitempty"` // LogUri: Optional. URI where logs for this execution can be found in // Cloud Console. LogUri string `json:"logUri,omitempty"` // ObservedGeneration: Optional. The 'generation' of the execution that // was last processed by the controller. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // RetriedCount: Optional. The number of tasks which have retried at // least once. RetriedCount int64 `json:"retriedCount,omitempty"` // RunningCount: Optional. The number of actively running tasks. RunningCount int64 `json:"runningCount,omitempty"` // StartTime: Optional. Represents the time that the execution started // to run. It is not guaranteed to be set in happens-before order across // separate operations. It is represented in RFC3339 form and is in UTC. StartTime string `json:"startTime,omitempty"` // SucceededCount: Optional. The number of tasks which reached phase // Succeeded. SucceededCount int64 `json:"succeededCount,omitempty"` // ForceSendFields is a list of field names (e.g. "CancelledCount") 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. "CancelledCount") 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:"-"` }
ExecutionStatus: ExecutionStatus represents the current state of an Execution.
func (*ExecutionStatus) MarshalJSON ¶
func (s *ExecutionStatus) MarshalJSON() ([]byte, error)
type ExecutionTemplateSpec ¶
type ExecutionTemplateSpec struct { // Metadata: Optional. Optional metadata for this Execution, including // labels and annotations. The following annotation keys set properties // of the created execution: * `run.googleapis.com/cloudsql-instances` // sets Cloud SQL connections. Multiple values should be comma // separated. * `run.googleapis.com/vpc-access-connector` sets a // Serverless VPC Access connector. * // `run.googleapis.com/vpc-access-egress` sets VPC egress. Supported // values are `all-traffic`, `all` (deprecated), and // `private-ranges-only`. `all-traffic` and `all` provide the same // functionality. `all` is deprecated but will continue to be supported. // Prefer `all-traffic`. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: Required. ExecutionSpec holds the desired configuration for // executions of this job. Spec *ExecutionSpec `json:"spec,omitempty"` // ForceSendFields is a list of field names (e.g. "Metadata") 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. "Metadata") 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:"-"` }
ExecutionTemplateSpec: ExecutionTemplateSpec describes the metadata and spec an Execution should have when created from a job.
func (*ExecutionTemplateSpec) MarshalJSON ¶
func (s *ExecutionTemplateSpec) MarshalJSON() ([]byte, error)
type Expr ¶
type Expr struct { // Description: Optional. Description of the expression. This is a // longer text which describes the expression, e.g. when hovered over it // in a UI. Description string `json:"description,omitempty"` // Expression: Textual representation of an expression in Common // Expression Language syntax. Expression string `json:"expression,omitempty"` // Location: Optional. String indicating the location of the expression // for error reporting, e.g. a file name and a position in the file. Location string `json:"location,omitempty"` // Title: Optional. Title for the expression, i.e. a short string // describing its purpose. This can be used e.g. in UIs which allow to // enter the expression. Title string `json:"title,omitempty"` // ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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:"-"` }
Expr: Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
func (*Expr) MarshalJSON ¶
type GRPCAction ¶
type GRPCAction struct { // Port: Port number of the gRPC service. Number must be in the range 1 // to 65535. Port int64 `json:"port,omitempty"` // Service: Service is the name of the service to place in the gRPC // HealthCheckRequest. If this is not specified, the default behavior is // defined by gRPC. Service string `json:"service,omitempty"` // ForceSendFields is a list of field names (e.g. "Port") 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. "Port") 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:"-"` }
GRPCAction: GRPCAction describes an action involving a GRPC port.
func (*GRPCAction) MarshalJSON ¶
func (s *GRPCAction) MarshalJSON() ([]byte, error)
type GoogleCloudRunV1Condition ¶
type GoogleCloudRunV1Condition struct { // LastTransitionTime: Optional. Last time the condition transitioned // from one status to another. LastTransitionTime string `json:"lastTransitionTime,omitempty"` // Message: Optional. Human readable message indicating details about // the current status. Message string `json:"message,omitempty"` // Reason: Optional. One-word CamelCase reason for the condition's last // transition. These are intended to be stable, unique values which the // client may use to trigger error handling logic, whereas messages // which may be changed later by the server. Reason string `json:"reason,omitempty"` // Severity: Optional. How to interpret this condition. One of Error, // Warning, or Info. Conditions of severity Info do not contribute to // resource readiness. Severity string `json:"severity,omitempty"` // Status: Status of the condition, one of True, False, Unknown. Status string `json:"status,omitempty"` // Type: type is used to communicate the status of the reconciliation // process. Types common to all resources include: * "Ready" or // "Completed": True when the Resource is ready. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "LastTransitionTime") // 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. "LastTransitionTime") 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:"-"` }
GoogleCloudRunV1Condition: Conditions show the status of reconciliation progress on a given resource. Most resource use a top-level condition type "Ready" or "Completed" to show overall status with other conditions to checkpoint each stage of reconciliation. Note that if metadata.Generation does not equal status.ObservedGeneration, the conditions shown may not be relevant for the current spec.
func (*GoogleCloudRunV1Condition) MarshalJSON ¶
func (s *GoogleCloudRunV1Condition) MarshalJSON() ([]byte, error)
type GoogleRpcStatus ¶
type GoogleRpcStatus 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:"-"` }
GoogleRpcStatus: 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 (*GoogleRpcStatus) MarshalJSON ¶
func (s *GoogleRpcStatus) MarshalJSON() ([]byte, error)
type HTTPGetAction ¶
type HTTPGetAction struct { // Host: Not supported by Cloud Run. Host string `json:"host,omitempty"` // HttpHeaders: Custom headers to set in the request. HTTP allows // repeated headers. HttpHeaders []*HTTPHeader `json:"httpHeaders,omitempty"` // Path: Path to access on the HTTP server. Path string `json:"path,omitempty"` // Port: Port number to access on the container. Number must be in the // range 1 to 65535. Port int64 `json:"port,omitempty"` // Scheme: Not supported by Cloud Run. Scheme string `json:"scheme,omitempty"` // ForceSendFields is a list of field names (e.g. "Host") 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. "Host") 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:"-"` }
HTTPGetAction: HTTPGetAction describes an action based on HTTP Get requests.
func (*HTTPGetAction) MarshalJSON ¶
func (s *HTTPGetAction) MarshalJSON() ([]byte, error)
type HTTPHeader ¶
type HTTPHeader struct { // Name: Required. The header field name Name string `json:"name,omitempty"` // Value: The header field value Value string `json:"value,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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:"-"` }
HTTPHeader: HTTPHeader describes a custom header to be used in HTTP probes
func (*HTTPHeader) MarshalJSON ¶
func (s *HTTPHeader) MarshalJSON() ([]byte, error)
type Job ¶
type Job struct { // ApiVersion: Optional. APIVersion defines the versioned schema of this // representation of an object. Servers should convert recognized // schemas to the latest internal value, and may reject unrecognized // values. ApiVersion string `json:"apiVersion,omitempty"` // Kind: Optional. Kind is a string value representing the REST resource // this object represents. Servers may infer this from the endpoint the // client submits requests to. Cannot be updated. In CamelCase. Kind string `json:"kind,omitempty"` // Metadata: Optional. Standard object's metadata. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: Optional. Specification of the desired behavior of a job. Spec *JobSpec `json:"spec,omitempty"` // Status: Output only. Current status of a job. Status *JobStatus `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
Job: Job represents the configuration of a single job, which references a container image which is run to completion.
func (*Job) MarshalJSON ¶
type JobSpec ¶
type JobSpec struct { // Template: Optional. Describes the execution that will be created when // running a job. Template *ExecutionTemplateSpec `json:"template,omitempty"` // ForceSendFields is a list of field names (e.g. "Template") 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. "Template") 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:"-"` }
JobSpec: JobSpec describes how the job will look.
func (*JobSpec) MarshalJSON ¶
type JobStatus ¶
type JobStatus struct { // Conditions: Conditions communicate information about ongoing/complete // reconciliation processes that bring the "spec" inline with the // observed state of the world. Job-specific conditions include: * // `Ready`: `True` when the job is ready to be executed. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // ExecutionCount: Number of executions created for this job. ExecutionCount int64 `json:"executionCount,omitempty"` // LatestCreatedExecution: A pointer to the most recently created // execution for this job. This is set regardless of the eventual state // of the execution. LatestCreatedExecution *ExecutionReference `json:"latestCreatedExecution,omitempty"` // ObservedGeneration: The 'generation' of the job that was last // processed by the controller. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // ForceSendFields is a list of field names (e.g. "Conditions") 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. "Conditions") 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:"-"` }
JobStatus: JobStatus represents the current state of a Job.
func (*JobStatus) MarshalJSON ¶
type KeyToPath ¶
type KeyToPath struct { // Key: The Cloud Secret Manager secret version. Can be 'latest' for the // latest value, or an integer or a secret alias for a specific version. // The key to project. Key string `json:"key,omitempty"` // Mode: (Optional) Mode bits to use on this file, must be a value // between 01 and 0777 (octal). If 0 or not set, the Volume's default // mode will be used. Notes * Internally, a umask of 0222 will be // applied to any non-zero value. * This is an integer representation of // the mode bits. So, the octal integer value should look exactly as the // chmod numeric notation with a leading zero. Some examples: for chmod // 777 (a=rwx), set to 0777 (octal) or 511 (base-10). For chmod 640 // (u=rw,g=r), set to 0640 (octal) or 416 (base-10). For chmod 755 // (u=rwx,g=rx,o=rx), set to 0755 (octal) or 493 (base-10). * This might // be in conflict with other options that affect the file mode, like // fsGroup, and the result can be other mode bits set. Mode int64 `json:"mode,omitempty"` // Path: The relative path of the file to map the key to. May not be an // absolute path. May not contain the path element '..'. May not start // with the string '..'. Path string `json:"path,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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:"-"` }
KeyToPath: Maps a string key to a path within a volume.
func (*KeyToPath) MarshalJSON ¶
type ListAuthorizedDomainsResponse ¶
type ListAuthorizedDomainsResponse struct { // Domains: The authorized domains belonging to the user. Domains []*AuthorizedDomain `json:"domains,omitempty"` // NextPageToken: Continuation token for fetching the next page of // results. 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. "Domains") 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. "Domains") 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:"-"` }
ListAuthorizedDomainsResponse: A list of Authorized Domains.
func (*ListAuthorizedDomainsResponse) MarshalJSON ¶
func (s *ListAuthorizedDomainsResponse) MarshalJSON() ([]byte, error)
type ListConfigurationsResponse ¶
type ListConfigurationsResponse struct { // ApiVersion: The API version for this call such as // "serving.knative.dev/v1". ApiVersion string `json:"apiVersion,omitempty"` // Items: List of Configurations. Items []*Configuration `json:"items,omitempty"` // Kind: The kind of this resource, in this case "ConfigurationList". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this Configuration list. Metadata *ListMeta `json:"metadata,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
ListConfigurationsResponse: ListConfigurationsResponse is a list of Configuration resources.
func (*ListConfigurationsResponse) MarshalJSON ¶
func (s *ListConfigurationsResponse) MarshalJSON() ([]byte, error)
type ListDomainMappingsResponse ¶
type ListDomainMappingsResponse struct { // ApiVersion: The API version for this call such as // "domains.cloudrun.com/v1". ApiVersion string `json:"apiVersion,omitempty"` // Items: List of DomainMappings. Items []*DomainMapping `json:"items,omitempty"` // Kind: The kind of this resource, in this case "DomainMappingList". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this DomainMapping list. Metadata *ListMeta `json:"metadata,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
ListDomainMappingsResponse: ListDomainMappingsResponse is a list of DomainMapping resources.
func (*ListDomainMappingsResponse) MarshalJSON ¶
func (s *ListDomainMappingsResponse) MarshalJSON() ([]byte, error)
type ListExecutionsResponse ¶
type ListExecutionsResponse struct { // ApiVersion: The API version for this call such as // "run.googleapis.com/v1". ApiVersion string `json:"apiVersion,omitempty"` // Items: List of Executions. Items []*Execution `json:"items,omitempty"` // Kind: The kind of this resource, in this case "ExecutionsList". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this executions list. Metadata *ListMeta `json:"metadata,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
ListExecutionsResponse: ListExecutionsResponse is a list of Executions resources.
func (*ListExecutionsResponse) MarshalJSON ¶
func (s *ListExecutionsResponse) MarshalJSON() ([]byte, error)
type ListJobsResponse ¶
type ListJobsResponse struct { // ApiVersion: The API version for this call such as // "run.googleapis.com/v1". ApiVersion string `json:"apiVersion,omitempty"` // Items: List of Jobs. Items []*Job `json:"items,omitempty"` // Kind: The kind of this resource, in this case "JobsList". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this jobs list. Metadata *ListMeta `json:"metadata,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
ListJobsResponse: ListJobsResponse is a list of Jobs resources.
func (*ListJobsResponse) MarshalJSON ¶
func (s *ListJobsResponse) MarshalJSON() ([]byte, error)
type ListLocationsResponse ¶
type ListLocationsResponse struct { // Locations: A list of locations that matches the specified filter in // the request. Locations []*Location `json:"locations,omitempty"` // NextPageToken: The standard List next-page token. 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. "Locations") 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. "Locations") 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:"-"` }
ListLocationsResponse: The response message for Locations.ListLocations.
func (*ListLocationsResponse) MarshalJSON ¶
func (s *ListLocationsResponse) MarshalJSON() ([]byte, error)
type ListMeta ¶
type ListMeta struct { // Continue: Continuation token is a value emitted when the count of // items is larger than the user/system limit. To retrieve the next page // of items, pass the value of `continue` as the next request's // `page_token`. Continue string `json:"continue,omitempty"` // ResourceVersion: Opaque string that identifies the server's internal // version of this object. It can be used by clients to determine when // objects have changed. If the message is passed back to the server, it // must be left unmodified. ResourceVersion string `json:"resourceVersion,omitempty"` // SelfLink: URL representing this object. SelfLink string `json:"selfLink,omitempty"` // ForceSendFields is a list of field names (e.g. "Continue") 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. "Continue") 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:"-"` }
ListMeta: Metadata for synthetic resources like List. In Cloud Run, all List Resources Responses will have a ListMeta instead of ObjectMeta.
func (*ListMeta) MarshalJSON ¶
type ListRevisionsResponse ¶
type ListRevisionsResponse struct { // ApiVersion: The API version for this call such as // "serving.knative.dev/v1". ApiVersion string `json:"apiVersion,omitempty"` // Items: List of Revisions. Items []*Revision `json:"items,omitempty"` // Kind: The kind of this resource, in this case "RevisionList". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this revision list. Metadata *ListMeta `json:"metadata,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
ListRevisionsResponse: ListRevisionsResponse is a list of Revision resources.
func (*ListRevisionsResponse) MarshalJSON ¶
func (s *ListRevisionsResponse) MarshalJSON() ([]byte, error)
type ListRoutesResponse ¶
type ListRoutesResponse struct { // ApiVersion: The API version for this call such as // "serving.knative.dev/v1". ApiVersion string `json:"apiVersion,omitempty"` // Items: List of Routes. Items []*Route `json:"items,omitempty"` // Kind: The kind of this resource, in this case always "RouteList". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this Route list. Metadata *ListMeta `json:"metadata,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
ListRoutesResponse: ListRoutesResponse is a list of Route resources.
func (*ListRoutesResponse) MarshalJSON ¶
func (s *ListRoutesResponse) MarshalJSON() ([]byte, error)
type ListServicesResponse ¶
type ListServicesResponse struct { // ApiVersion: The API version for this call; returns // "serving.knative.dev/v1". ApiVersion string `json:"apiVersion,omitempty"` // Items: List of Services. Items []*Service `json:"items,omitempty"` // Kind: The kind of this resource; returns "ServiceList". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this Service list. Metadata *ListMeta `json:"metadata,omitempty"` // Unreachable: For calls against the global endpoint, returns the list // of Cloud locations that could not be reached. For regional calls, // this field is not used. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
ListServicesResponse: A list of Service resources.
func (*ListServicesResponse) MarshalJSON ¶
func (s *ListServicesResponse) MarshalJSON() ([]byte, error)
type ListTasksResponse ¶
type ListTasksResponse struct { // ApiVersion: The API version for this call such as // "run.googleapis.com/v1". ApiVersion string `json:"apiVersion,omitempty"` // Items: List of Tasks. Items []*Task `json:"items,omitempty"` // Kind: The kind of this resource, in this case "TasksList". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this tasks list. Metadata *ListMeta `json:"metadata,omitempty"` // Unreachable: Locations that could not be reached. Unreachable []string `json:"unreachable,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
ListTasksResponse: ListTasksResponse is a list of Tasks resources.
func (*ListTasksResponse) MarshalJSON ¶
func (s *ListTasksResponse) MarshalJSON() ([]byte, error)
type LocalObjectReference ¶
type LocalObjectReference struct { // Name: Name of the referent. Name string `json:"name,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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:"-"` }
LocalObjectReference: Not supported by Cloud Run. LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
func (*LocalObjectReference) MarshalJSON ¶
func (s *LocalObjectReference) MarshalJSON() ([]byte, error)
type Location ¶
type Location struct { // DisplayName: The friendly name for this location, typically a nearby // city name. For example, "Tokyo". DisplayName string `json:"displayName,omitempty"` // Labels: Cross-service attributes for the location. For example // {"cloud.googleapis.com/region": "us-east1"} Labels map[string]string `json:"labels,omitempty"` // LocationId: The canonical id for this location. For example: // "us-east1". LocationId string `json:"locationId,omitempty"` // Metadata: Service-specific metadata. For example the available // capacity at the given location. Metadata googleapi.RawMessage `json:"metadata,omitempty"` // Name: Resource name for the location, which may vary between // implementations. For example: // "projects/example-project/locations/us-east1" Name string `json:"name,omitempty"` // 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:"-"` }
Location: A resource that represents a Google Cloud location.
func (*Location) MarshalJSON ¶
type NamespacesAuthorizeddomainsListCall ¶
type NamespacesAuthorizeddomainsListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesAuthorizeddomainsListCall) Context ¶
func (c *NamespacesAuthorizeddomainsListCall) Context(ctx context.Context) *NamespacesAuthorizeddomainsListCall
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 (*NamespacesAuthorizeddomainsListCall) Do ¶
func (c *NamespacesAuthorizeddomainsListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedDomainsResponse, error)
Do executes the "run.namespaces.authorizeddomains.list" call. Exactly one of *ListAuthorizedDomainsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAuthorizedDomainsResponse.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 (*NamespacesAuthorizeddomainsListCall) Fields ¶
func (c *NamespacesAuthorizeddomainsListCall) Fields(s ...googleapi.Field) *NamespacesAuthorizeddomainsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesAuthorizeddomainsListCall) Header ¶
func (c *NamespacesAuthorizeddomainsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesAuthorizeddomainsListCall) IfNoneMatch ¶
func (c *NamespacesAuthorizeddomainsListCall) IfNoneMatch(entityTag string) *NamespacesAuthorizeddomainsListCall
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 (*NamespacesAuthorizeddomainsListCall) PageSize ¶
func (c *NamespacesAuthorizeddomainsListCall) PageSize(pageSize int64) *NamespacesAuthorizeddomainsListCall
PageSize sets the optional parameter "pageSize": Maximum results to return per page.
func (*NamespacesAuthorizeddomainsListCall) PageToken ¶
func (c *NamespacesAuthorizeddomainsListCall) PageToken(pageToken string) *NamespacesAuthorizeddomainsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*NamespacesAuthorizeddomainsListCall) Pages ¶
func (c *NamespacesAuthorizeddomainsListCall) Pages(ctx context.Context, f func(*ListAuthorizedDomainsResponse) 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 NamespacesAuthorizeddomainsService ¶
type NamespacesAuthorizeddomainsService struct {
// contains filtered or unexported fields
}
func NewNamespacesAuthorizeddomainsService ¶
func NewNamespacesAuthorizeddomainsService(s *APIService) *NamespacesAuthorizeddomainsService
func (*NamespacesAuthorizeddomainsService) List ¶
func (r *NamespacesAuthorizeddomainsService) List(parent string) *NamespacesAuthorizeddomainsListCall
List: List authorized domains.
- parent: Name of the parent Project resource. Example: `projects/myproject`.
type NamespacesConfigurationsGetCall ¶
type NamespacesConfigurationsGetCall struct {
// contains filtered or unexported fields
}
func (*NamespacesConfigurationsGetCall) Context ¶
func (c *NamespacesConfigurationsGetCall) Context(ctx context.Context) *NamespacesConfigurationsGetCall
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 (*NamespacesConfigurationsGetCall) Do ¶
func (c *NamespacesConfigurationsGetCall) Do(opts ...googleapi.CallOption) (*Configuration, error)
Do executes the "run.namespaces.configurations.get" call. Exactly one of *Configuration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Configuration.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 (*NamespacesConfigurationsGetCall) Fields ¶
func (c *NamespacesConfigurationsGetCall) Fields(s ...googleapi.Field) *NamespacesConfigurationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesConfigurationsGetCall) Header ¶
func (c *NamespacesConfigurationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesConfigurationsGetCall) IfNoneMatch ¶
func (c *NamespacesConfigurationsGetCall) IfNoneMatch(entityTag string) *NamespacesConfigurationsGetCall
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 NamespacesConfigurationsListCall ¶
type NamespacesConfigurationsListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesConfigurationsListCall) Context ¶
func (c *NamespacesConfigurationsListCall) Context(ctx context.Context) *NamespacesConfigurationsListCall
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 (*NamespacesConfigurationsListCall) Continue ¶
func (c *NamespacesConfigurationsListCall) Continue(continue_ string) *NamespacesConfigurationsListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*NamespacesConfigurationsListCall) Do ¶
func (c *NamespacesConfigurationsListCall) Do(opts ...googleapi.CallOption) (*ListConfigurationsResponse, error)
Do executes the "run.namespaces.configurations.list" call. Exactly one of *ListConfigurationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListConfigurationsResponse.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 (*NamespacesConfigurationsListCall) FieldSelector ¶
func (c *NamespacesConfigurationsListCall) FieldSelector(fieldSelector string) *NamespacesConfigurationsListCall
FieldSelector sets the optional parameter "fieldSelector": Not supported by Cloud Run.
func (*NamespacesConfigurationsListCall) Fields ¶
func (c *NamespacesConfigurationsListCall) Fields(s ...googleapi.Field) *NamespacesConfigurationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesConfigurationsListCall) Header ¶
func (c *NamespacesConfigurationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesConfigurationsListCall) IfNoneMatch ¶
func (c *NamespacesConfigurationsListCall) IfNoneMatch(entityTag string) *NamespacesConfigurationsListCall
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 (*NamespacesConfigurationsListCall) IncludeUninitialized ¶
func (c *NamespacesConfigurationsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesConfigurationsListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not supported by Cloud Run.
func (*NamespacesConfigurationsListCall) LabelSelector ¶
func (c *NamespacesConfigurationsListCall) LabelSelector(labelSelector string) *NamespacesConfigurationsListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*NamespacesConfigurationsListCall) Limit ¶
func (c *NamespacesConfigurationsListCall) Limit(limit int64) *NamespacesConfigurationsListCall
Limit sets the optional parameter "limit": The maximum number of the records that should be returned.
func (*NamespacesConfigurationsListCall) ResourceVersion ¶
func (c *NamespacesConfigurationsListCall) ResourceVersion(resourceVersion string) *NamespacesConfigurationsListCall
ResourceVersion sets the optional parameter "resourceVersion": Not supported by Cloud Run.
func (*NamespacesConfigurationsListCall) Watch ¶
func (c *NamespacesConfigurationsListCall) Watch(watch bool) *NamespacesConfigurationsListCall
Watch sets the optional parameter "watch": Not supported by Cloud Run.
type NamespacesConfigurationsService ¶
type NamespacesConfigurationsService struct {
// contains filtered or unexported fields
}
func NewNamespacesConfigurationsService ¶
func NewNamespacesConfigurationsService(s *APIService) *NamespacesConfigurationsService
func (*NamespacesConfigurationsService) Get ¶
func (r *NamespacesConfigurationsService) Get(name string) *NamespacesConfigurationsGetCall
Get: Get information about a configuration.
- name: The name of the configuration to retrieve. For Cloud Run, replace {namespace_id} with the project ID or number.
func (*NamespacesConfigurationsService) List ¶
func (r *NamespacesConfigurationsService) List(parent string) *NamespacesConfigurationsListCall
List: List configurations.
- parent: The namespace from which the configurations should be listed. For Cloud Run, replace {namespace_id} with the project ID or number.
type NamespacesDomainmappingsCreateCall ¶
type NamespacesDomainmappingsCreateCall struct {
// contains filtered or unexported fields
}
func (*NamespacesDomainmappingsCreateCall) Context ¶
func (c *NamespacesDomainmappingsCreateCall) Context(ctx context.Context) *NamespacesDomainmappingsCreateCall
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 (*NamespacesDomainmappingsCreateCall) Do ¶
func (c *NamespacesDomainmappingsCreateCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
Do executes the "run.namespaces.domainmappings.create" call. Exactly one of *DomainMapping or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DomainMapping.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 (*NamespacesDomainmappingsCreateCall) DryRun ¶
func (c *NamespacesDomainmappingsCreateCall) DryRun(dryRun string) *NamespacesDomainmappingsCreateCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*NamespacesDomainmappingsCreateCall) Fields ¶
func (c *NamespacesDomainmappingsCreateCall) Fields(s ...googleapi.Field) *NamespacesDomainmappingsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesDomainmappingsCreateCall) Header ¶
func (c *NamespacesDomainmappingsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NamespacesDomainmappingsDeleteCall ¶
type NamespacesDomainmappingsDeleteCall struct {
// contains filtered or unexported fields
}
func (*NamespacesDomainmappingsDeleteCall) ApiVersion ¶
func (c *NamespacesDomainmappingsDeleteCall) ApiVersion(apiVersion string) *NamespacesDomainmappingsDeleteCall
ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.
func (*NamespacesDomainmappingsDeleteCall) Context ¶
func (c *NamespacesDomainmappingsDeleteCall) Context(ctx context.Context) *NamespacesDomainmappingsDeleteCall
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 (*NamespacesDomainmappingsDeleteCall) Do ¶
func (c *NamespacesDomainmappingsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
Do executes the "run.namespaces.domainmappings.delete" call. Exactly one of *Status or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Status.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 (*NamespacesDomainmappingsDeleteCall) DryRun ¶
func (c *NamespacesDomainmappingsDeleteCall) DryRun(dryRun string) *NamespacesDomainmappingsDeleteCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*NamespacesDomainmappingsDeleteCall) Fields ¶
func (c *NamespacesDomainmappingsDeleteCall) Fields(s ...googleapi.Field) *NamespacesDomainmappingsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesDomainmappingsDeleteCall) Header ¶
func (c *NamespacesDomainmappingsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesDomainmappingsDeleteCall) Kind ¶
func (c *NamespacesDomainmappingsDeleteCall) Kind(kind string) *NamespacesDomainmappingsDeleteCall
Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.
func (*NamespacesDomainmappingsDeleteCall) PropagationPolicy ¶
func (c *NamespacesDomainmappingsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesDomainmappingsDeleteCall
PropagationPolicy sets the optional parameter "propagationPolicy": Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/architecture/garbage-collection/ for more information.
type NamespacesDomainmappingsGetCall ¶
type NamespacesDomainmappingsGetCall struct {
// contains filtered or unexported fields
}
func (*NamespacesDomainmappingsGetCall) Context ¶
func (c *NamespacesDomainmappingsGetCall) Context(ctx context.Context) *NamespacesDomainmappingsGetCall
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 (*NamespacesDomainmappingsGetCall) Do ¶
func (c *NamespacesDomainmappingsGetCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
Do executes the "run.namespaces.domainmappings.get" call. Exactly one of *DomainMapping or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DomainMapping.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 (*NamespacesDomainmappingsGetCall) Fields ¶
func (c *NamespacesDomainmappingsGetCall) Fields(s ...googleapi.Field) *NamespacesDomainmappingsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesDomainmappingsGetCall) Header ¶
func (c *NamespacesDomainmappingsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesDomainmappingsGetCall) IfNoneMatch ¶
func (c *NamespacesDomainmappingsGetCall) IfNoneMatch(entityTag string) *NamespacesDomainmappingsGetCall
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 NamespacesDomainmappingsListCall ¶
type NamespacesDomainmappingsListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesDomainmappingsListCall) Context ¶
func (c *NamespacesDomainmappingsListCall) Context(ctx context.Context) *NamespacesDomainmappingsListCall
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 (*NamespacesDomainmappingsListCall) Continue ¶
func (c *NamespacesDomainmappingsListCall) Continue(continue_ string) *NamespacesDomainmappingsListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*NamespacesDomainmappingsListCall) Do ¶
func (c *NamespacesDomainmappingsListCall) Do(opts ...googleapi.CallOption) (*ListDomainMappingsResponse, error)
Do executes the "run.namespaces.domainmappings.list" call. Exactly one of *ListDomainMappingsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListDomainMappingsResponse.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 (*NamespacesDomainmappingsListCall) FieldSelector ¶
func (c *NamespacesDomainmappingsListCall) FieldSelector(fieldSelector string) *NamespacesDomainmappingsListCall
FieldSelector sets the optional parameter "fieldSelector": Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
func (*NamespacesDomainmappingsListCall) Fields ¶
func (c *NamespacesDomainmappingsListCall) Fields(s ...googleapi.Field) *NamespacesDomainmappingsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesDomainmappingsListCall) Header ¶
func (c *NamespacesDomainmappingsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesDomainmappingsListCall) IfNoneMatch ¶
func (c *NamespacesDomainmappingsListCall) IfNoneMatch(entityTag string) *NamespacesDomainmappingsListCall
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 (*NamespacesDomainmappingsListCall) IncludeUninitialized ¶
func (c *NamespacesDomainmappingsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesDomainmappingsListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.
func (*NamespacesDomainmappingsListCall) LabelSelector ¶
func (c *NamespacesDomainmappingsListCall) LabelSelector(labelSelector string) *NamespacesDomainmappingsListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*NamespacesDomainmappingsListCall) Limit ¶
func (c *NamespacesDomainmappingsListCall) Limit(limit int64) *NamespacesDomainmappingsListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*NamespacesDomainmappingsListCall) ResourceVersion ¶
func (c *NamespacesDomainmappingsListCall) ResourceVersion(resourceVersion string) *NamespacesDomainmappingsListCall
ResourceVersion sets the optional parameter "resourceVersion": The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
func (*NamespacesDomainmappingsListCall) Watch ¶
func (c *NamespacesDomainmappingsListCall) Watch(watch bool) *NamespacesDomainmappingsListCall
Watch sets the optional parameter "watch": Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
type NamespacesDomainmappingsService ¶
type NamespacesDomainmappingsService struct {
// contains filtered or unexported fields
}
func NewNamespacesDomainmappingsService ¶
func NewNamespacesDomainmappingsService(s *APIService) *NamespacesDomainmappingsService
func (*NamespacesDomainmappingsService) Create ¶
func (r *NamespacesDomainmappingsService) Create(parent string, domainmapping *DomainMapping) *NamespacesDomainmappingsCreateCall
Create: Create a new domain mapping.
- parent: The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesDomainmappingsService) Delete ¶
func (r *NamespacesDomainmappingsService) Delete(name string) *NamespacesDomainmappingsDeleteCall
Delete: Delete a domain mapping.
- name: The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesDomainmappingsService) Get ¶
func (r *NamespacesDomainmappingsService) Get(name string) *NamespacesDomainmappingsGetCall
Get: Get information about a domain mapping.
- name: The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesDomainmappingsService) List ¶
func (r *NamespacesDomainmappingsService) List(parent string) *NamespacesDomainmappingsListCall
List: List all domain mappings.
- parent: The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type NamespacesExecutionsCancelCall ¶
type NamespacesExecutionsCancelCall struct {
// contains filtered or unexported fields
}
func (*NamespacesExecutionsCancelCall) Context ¶
func (c *NamespacesExecutionsCancelCall) Context(ctx context.Context) *NamespacesExecutionsCancelCall
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 (*NamespacesExecutionsCancelCall) Do ¶
func (c *NamespacesExecutionsCancelCall) Do(opts ...googleapi.CallOption) (*Execution, error)
Do executes the "run.namespaces.executions.cancel" call. Exactly one of *Execution or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Execution.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 (*NamespacesExecutionsCancelCall) Fields ¶
func (c *NamespacesExecutionsCancelCall) Fields(s ...googleapi.Field) *NamespacesExecutionsCancelCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesExecutionsCancelCall) Header ¶
func (c *NamespacesExecutionsCancelCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NamespacesExecutionsDeleteCall ¶
type NamespacesExecutionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*NamespacesExecutionsDeleteCall) ApiVersion ¶
func (c *NamespacesExecutionsDeleteCall) ApiVersion(apiVersion string) *NamespacesExecutionsDeleteCall
ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.
func (*NamespacesExecutionsDeleteCall) Context ¶
func (c *NamespacesExecutionsDeleteCall) Context(ctx context.Context) *NamespacesExecutionsDeleteCall
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 (*NamespacesExecutionsDeleteCall) Do ¶
func (c *NamespacesExecutionsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
Do executes the "run.namespaces.executions.delete" call. Exactly one of *Status or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Status.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 (*NamespacesExecutionsDeleteCall) Fields ¶
func (c *NamespacesExecutionsDeleteCall) Fields(s ...googleapi.Field) *NamespacesExecutionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesExecutionsDeleteCall) Header ¶
func (c *NamespacesExecutionsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesExecutionsDeleteCall) Kind ¶
func (c *NamespacesExecutionsDeleteCall) Kind(kind string) *NamespacesExecutionsDeleteCall
Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.
func (*NamespacesExecutionsDeleteCall) PropagationPolicy ¶
func (c *NamespacesExecutionsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesExecutionsDeleteCall
PropagationPolicy sets the optional parameter "propagationPolicy": Specifies the propagation policy of delete. Cloud Run currently ignores this setting.
type NamespacesExecutionsGetCall ¶
type NamespacesExecutionsGetCall struct {
// contains filtered or unexported fields
}
func (*NamespacesExecutionsGetCall) Context ¶
func (c *NamespacesExecutionsGetCall) Context(ctx context.Context) *NamespacesExecutionsGetCall
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 (*NamespacesExecutionsGetCall) Do ¶
func (c *NamespacesExecutionsGetCall) Do(opts ...googleapi.CallOption) (*Execution, error)
Do executes the "run.namespaces.executions.get" call. Exactly one of *Execution or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Execution.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 (*NamespacesExecutionsGetCall) Fields ¶
func (c *NamespacesExecutionsGetCall) Fields(s ...googleapi.Field) *NamespacesExecutionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesExecutionsGetCall) Header ¶
func (c *NamespacesExecutionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesExecutionsGetCall) IfNoneMatch ¶
func (c *NamespacesExecutionsGetCall) IfNoneMatch(entityTag string) *NamespacesExecutionsGetCall
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 NamespacesExecutionsListCall ¶
type NamespacesExecutionsListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesExecutionsListCall) Context ¶
func (c *NamespacesExecutionsListCall) Context(ctx context.Context) *NamespacesExecutionsListCall
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 (*NamespacesExecutionsListCall) Continue ¶
func (c *NamespacesExecutionsListCall) Continue(continue_ string) *NamespacesExecutionsListCall
Continue sets the optional parameter "continue": Optional encoded string to continue paging.
func (*NamespacesExecutionsListCall) Do ¶
func (c *NamespacesExecutionsListCall) Do(opts ...googleapi.CallOption) (*ListExecutionsResponse, error)
Do executes the "run.namespaces.executions.list" call. Exactly one of *ListExecutionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListExecutionsResponse.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 (*NamespacesExecutionsListCall) FieldSelector ¶
func (c *NamespacesExecutionsListCall) FieldSelector(fieldSelector string) *NamespacesExecutionsListCall
FieldSelector sets the optional parameter "fieldSelector": Not supported by Cloud Run.
func (*NamespacesExecutionsListCall) Fields ¶
func (c *NamespacesExecutionsListCall) Fields(s ...googleapi.Field) *NamespacesExecutionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesExecutionsListCall) Header ¶
func (c *NamespacesExecutionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesExecutionsListCall) IfNoneMatch ¶
func (c *NamespacesExecutionsListCall) IfNoneMatch(entityTag string) *NamespacesExecutionsListCall
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 (*NamespacesExecutionsListCall) IncludeUninitialized ¶
func (c *NamespacesExecutionsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesExecutionsListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not supported by Cloud Run.
func (*NamespacesExecutionsListCall) LabelSelector ¶
func (c *NamespacesExecutionsListCall) LabelSelector(labelSelector string) *NamespacesExecutionsListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*NamespacesExecutionsListCall) Limit ¶
func (c *NamespacesExecutionsListCall) Limit(limit int64) *NamespacesExecutionsListCall
Limit sets the optional parameter "limit": The maximum number of the records that should be returned.
func (*NamespacesExecutionsListCall) ResourceVersion ¶
func (c *NamespacesExecutionsListCall) ResourceVersion(resourceVersion string) *NamespacesExecutionsListCall
ResourceVersion sets the optional parameter "resourceVersion": Not supported by Cloud Run.
func (*NamespacesExecutionsListCall) Watch ¶
func (c *NamespacesExecutionsListCall) Watch(watch bool) *NamespacesExecutionsListCall
Watch sets the optional parameter "watch": Not supported by Cloud Run.
type NamespacesExecutionsService ¶
type NamespacesExecutionsService struct {
// contains filtered or unexported fields
}
func NewNamespacesExecutionsService ¶
func NewNamespacesExecutionsService(s *APIService) *NamespacesExecutionsService
func (*NamespacesExecutionsService) Cancel ¶
func (r *NamespacesExecutionsService) Cancel(name string, cancelexecutionrequest *CancelExecutionRequest) *NamespacesExecutionsCancelCall
Cancel: Cancel an execution.
- name: The name of the execution to cancel. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesExecutionsService) Delete ¶
func (r *NamespacesExecutionsService) Delete(name string) *NamespacesExecutionsDeleteCall
Delete: Delete an execution.
- name: The name of the execution to delete. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesExecutionsService) Get ¶
func (r *NamespacesExecutionsService) Get(name string) *NamespacesExecutionsGetCall
Get: Get information about an execution.
- name: The name of the execution to retrieve. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesExecutionsService) List ¶
func (r *NamespacesExecutionsService) List(parent string) *NamespacesExecutionsListCall
List: List executions.
- parent: The namespace from which the executions should be listed. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type NamespacesJobsCreateCall ¶
type NamespacesJobsCreateCall struct {
// contains filtered or unexported fields
}
func (*NamespacesJobsCreateCall) Context ¶
func (c *NamespacesJobsCreateCall) Context(ctx context.Context) *NamespacesJobsCreateCall
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 (*NamespacesJobsCreateCall) Do ¶
func (c *NamespacesJobsCreateCall) Do(opts ...googleapi.CallOption) (*Job, error)
Do executes the "run.namespaces.jobs.create" call. Exactly one of *Job or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Job.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 (*NamespacesJobsCreateCall) Fields ¶
func (c *NamespacesJobsCreateCall) Fields(s ...googleapi.Field) *NamespacesJobsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesJobsCreateCall) Header ¶
func (c *NamespacesJobsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NamespacesJobsDeleteCall ¶
type NamespacesJobsDeleteCall struct {
// contains filtered or unexported fields
}
func (*NamespacesJobsDeleteCall) ApiVersion ¶
func (c *NamespacesJobsDeleteCall) ApiVersion(apiVersion string) *NamespacesJobsDeleteCall
ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.
func (*NamespacesJobsDeleteCall) Context ¶
func (c *NamespacesJobsDeleteCall) Context(ctx context.Context) *NamespacesJobsDeleteCall
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 (*NamespacesJobsDeleteCall) Do ¶
func (c *NamespacesJobsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
Do executes the "run.namespaces.jobs.delete" call. Exactly one of *Status or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Status.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 (*NamespacesJobsDeleteCall) Fields ¶
func (c *NamespacesJobsDeleteCall) Fields(s ...googleapi.Field) *NamespacesJobsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesJobsDeleteCall) Header ¶
func (c *NamespacesJobsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesJobsDeleteCall) Kind ¶
func (c *NamespacesJobsDeleteCall) Kind(kind string) *NamespacesJobsDeleteCall
Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.
func (*NamespacesJobsDeleteCall) PropagationPolicy ¶
func (c *NamespacesJobsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesJobsDeleteCall
PropagationPolicy sets the optional parameter "propagationPolicy": Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for more information.
type NamespacesJobsGetCall ¶
type NamespacesJobsGetCall struct {
// contains filtered or unexported fields
}
func (*NamespacesJobsGetCall) Context ¶
func (c *NamespacesJobsGetCall) Context(ctx context.Context) *NamespacesJobsGetCall
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 (*NamespacesJobsGetCall) Do ¶
func (c *NamespacesJobsGetCall) Do(opts ...googleapi.CallOption) (*Job, error)
Do executes the "run.namespaces.jobs.get" call. Exactly one of *Job or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Job.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 (*NamespacesJobsGetCall) Fields ¶
func (c *NamespacesJobsGetCall) Fields(s ...googleapi.Field) *NamespacesJobsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesJobsGetCall) Header ¶
func (c *NamespacesJobsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesJobsGetCall) IfNoneMatch ¶
func (c *NamespacesJobsGetCall) IfNoneMatch(entityTag string) *NamespacesJobsGetCall
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 NamespacesJobsListCall ¶
type NamespacesJobsListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesJobsListCall) Context ¶
func (c *NamespacesJobsListCall) Context(ctx context.Context) *NamespacesJobsListCall
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 (*NamespacesJobsListCall) Continue ¶
func (c *NamespacesJobsListCall) Continue(continue_ string) *NamespacesJobsListCall
Continue sets the optional parameter "continue": Optional encoded string to continue paging.
func (*NamespacesJobsListCall) Do ¶
func (c *NamespacesJobsListCall) Do(opts ...googleapi.CallOption) (*ListJobsResponse, error)
Do executes the "run.namespaces.jobs.list" call. Exactly one of *ListJobsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListJobsResponse.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 (*NamespacesJobsListCall) FieldSelector ¶
func (c *NamespacesJobsListCall) FieldSelector(fieldSelector string) *NamespacesJobsListCall
FieldSelector sets the optional parameter "fieldSelector": Not supported by Cloud Run.
func (*NamespacesJobsListCall) Fields ¶
func (c *NamespacesJobsListCall) Fields(s ...googleapi.Field) *NamespacesJobsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesJobsListCall) Header ¶
func (c *NamespacesJobsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesJobsListCall) IfNoneMatch ¶
func (c *NamespacesJobsListCall) IfNoneMatch(entityTag string) *NamespacesJobsListCall
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 (*NamespacesJobsListCall) IncludeUninitialized ¶
func (c *NamespacesJobsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesJobsListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not supported by Cloud Run.
func (*NamespacesJobsListCall) LabelSelector ¶
func (c *NamespacesJobsListCall) LabelSelector(labelSelector string) *NamespacesJobsListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*NamespacesJobsListCall) Limit ¶
func (c *NamespacesJobsListCall) Limit(limit int64) *NamespacesJobsListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*NamespacesJobsListCall) ResourceVersion ¶
func (c *NamespacesJobsListCall) ResourceVersion(resourceVersion string) *NamespacesJobsListCall
ResourceVersion sets the optional parameter "resourceVersion": Not supported by Cloud Run.
func (*NamespacesJobsListCall) Watch ¶
func (c *NamespacesJobsListCall) Watch(watch bool) *NamespacesJobsListCall
Watch sets the optional parameter "watch": Not supported by Cloud Run.
type NamespacesJobsReplaceJobCall ¶
type NamespacesJobsReplaceJobCall struct {
// contains filtered or unexported fields
}
func (*NamespacesJobsReplaceJobCall) Context ¶
func (c *NamespacesJobsReplaceJobCall) Context(ctx context.Context) *NamespacesJobsReplaceJobCall
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 (*NamespacesJobsReplaceJobCall) Do ¶
func (c *NamespacesJobsReplaceJobCall) Do(opts ...googleapi.CallOption) (*Job, error)
Do executes the "run.namespaces.jobs.replaceJob" call. Exactly one of *Job or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Job.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 (*NamespacesJobsReplaceJobCall) Fields ¶
func (c *NamespacesJobsReplaceJobCall) Fields(s ...googleapi.Field) *NamespacesJobsReplaceJobCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesJobsReplaceJobCall) Header ¶
func (c *NamespacesJobsReplaceJobCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NamespacesJobsRunCall ¶
type NamespacesJobsRunCall struct {
// contains filtered or unexported fields
}
func (*NamespacesJobsRunCall) Context ¶
func (c *NamespacesJobsRunCall) Context(ctx context.Context) *NamespacesJobsRunCall
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 (*NamespacesJobsRunCall) Do ¶
func (c *NamespacesJobsRunCall) Do(opts ...googleapi.CallOption) (*Execution, error)
Do executes the "run.namespaces.jobs.run" call. Exactly one of *Execution or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Execution.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 (*NamespacesJobsRunCall) Fields ¶
func (c *NamespacesJobsRunCall) Fields(s ...googleapi.Field) *NamespacesJobsRunCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesJobsRunCall) Header ¶
func (c *NamespacesJobsRunCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NamespacesJobsService ¶
type NamespacesJobsService struct {
// contains filtered or unexported fields
}
func NewNamespacesJobsService ¶
func NewNamespacesJobsService(s *APIService) *NamespacesJobsService
func (*NamespacesJobsService) Create ¶
func (r *NamespacesJobsService) Create(parent string, job *Job) *NamespacesJobsCreateCall
Create: Create a job.
- parent: The namespace in which the job should be created. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesJobsService) Delete ¶
func (r *NamespacesJobsService) Delete(name string) *NamespacesJobsDeleteCall
Delete: Delete a job.
- name: The name of the job to delete. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesJobsService) Get ¶
func (r *NamespacesJobsService) Get(name string) *NamespacesJobsGetCall
Get: Get information about a job.
- name: The name of the job to retrieve. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesJobsService) List ¶
func (r *NamespacesJobsService) List(parent string) *NamespacesJobsListCall
List: List jobs.
- parent: The namespace from which the jobs should be listed. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesJobsService) ReplaceJob ¶
func (r *NamespacesJobsService) ReplaceJob(name string, job *Job) *NamespacesJobsReplaceJobCall
ReplaceJob: Replace a job. Only the spec and metadata labels and annotations are modifiable. After the Replace request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.
- name: The name of the job being replaced. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesJobsService) Run ¶
func (r *NamespacesJobsService) Run(name string, runjobrequest *RunJobRequest) *NamespacesJobsRunCall
Run: Trigger creation of a new execution of this job.
- name: The name of the job to run. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type NamespacesRevisionsDeleteCall ¶
type NamespacesRevisionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*NamespacesRevisionsDeleteCall) ApiVersion ¶
func (c *NamespacesRevisionsDeleteCall) ApiVersion(apiVersion string) *NamespacesRevisionsDeleteCall
ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.
func (*NamespacesRevisionsDeleteCall) Context ¶
func (c *NamespacesRevisionsDeleteCall) Context(ctx context.Context) *NamespacesRevisionsDeleteCall
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 (*NamespacesRevisionsDeleteCall) Do ¶
func (c *NamespacesRevisionsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
Do executes the "run.namespaces.revisions.delete" call. Exactly one of *Status or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Status.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 (*NamespacesRevisionsDeleteCall) DryRun ¶
func (c *NamespacesRevisionsDeleteCall) DryRun(dryRun string) *NamespacesRevisionsDeleteCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*NamespacesRevisionsDeleteCall) Fields ¶
func (c *NamespacesRevisionsDeleteCall) Fields(s ...googleapi.Field) *NamespacesRevisionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesRevisionsDeleteCall) Header ¶
func (c *NamespacesRevisionsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesRevisionsDeleteCall) Kind ¶
func (c *NamespacesRevisionsDeleteCall) Kind(kind string) *NamespacesRevisionsDeleteCall
Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.
func (*NamespacesRevisionsDeleteCall) PropagationPolicy ¶
func (c *NamespacesRevisionsDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesRevisionsDeleteCall
PropagationPolicy sets the optional parameter "propagationPolicy": Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background.
type NamespacesRevisionsGetCall ¶
type NamespacesRevisionsGetCall struct {
// contains filtered or unexported fields
}
func (*NamespacesRevisionsGetCall) Context ¶
func (c *NamespacesRevisionsGetCall) Context(ctx context.Context) *NamespacesRevisionsGetCall
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 (*NamespacesRevisionsGetCall) Do ¶
func (c *NamespacesRevisionsGetCall) Do(opts ...googleapi.CallOption) (*Revision, error)
Do executes the "run.namespaces.revisions.get" call. Exactly one of *Revision or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Revision.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 (*NamespacesRevisionsGetCall) Fields ¶
func (c *NamespacesRevisionsGetCall) Fields(s ...googleapi.Field) *NamespacesRevisionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesRevisionsGetCall) Header ¶
func (c *NamespacesRevisionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesRevisionsGetCall) IfNoneMatch ¶
func (c *NamespacesRevisionsGetCall) IfNoneMatch(entityTag string) *NamespacesRevisionsGetCall
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 NamespacesRevisionsListCall ¶
type NamespacesRevisionsListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesRevisionsListCall) Context ¶
func (c *NamespacesRevisionsListCall) Context(ctx context.Context) *NamespacesRevisionsListCall
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 (*NamespacesRevisionsListCall) Continue ¶
func (c *NamespacesRevisionsListCall) Continue(continue_ string) *NamespacesRevisionsListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*NamespacesRevisionsListCall) Do ¶
func (c *NamespacesRevisionsListCall) Do(opts ...googleapi.CallOption) (*ListRevisionsResponse, error)
Do executes the "run.namespaces.revisions.list" call. Exactly one of *ListRevisionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListRevisionsResponse.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 (*NamespacesRevisionsListCall) FieldSelector ¶
func (c *NamespacesRevisionsListCall) FieldSelector(fieldSelector string) *NamespacesRevisionsListCall
FieldSelector sets the optional parameter "fieldSelector": Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
func (*NamespacesRevisionsListCall) Fields ¶
func (c *NamespacesRevisionsListCall) Fields(s ...googleapi.Field) *NamespacesRevisionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesRevisionsListCall) Header ¶
func (c *NamespacesRevisionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesRevisionsListCall) IfNoneMatch ¶
func (c *NamespacesRevisionsListCall) IfNoneMatch(entityTag string) *NamespacesRevisionsListCall
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 (*NamespacesRevisionsListCall) IncludeUninitialized ¶
func (c *NamespacesRevisionsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesRevisionsListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.
func (*NamespacesRevisionsListCall) LabelSelector ¶
func (c *NamespacesRevisionsListCall) LabelSelector(labelSelector string) *NamespacesRevisionsListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*NamespacesRevisionsListCall) Limit ¶
func (c *NamespacesRevisionsListCall) Limit(limit int64) *NamespacesRevisionsListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*NamespacesRevisionsListCall) ResourceVersion ¶
func (c *NamespacesRevisionsListCall) ResourceVersion(resourceVersion string) *NamespacesRevisionsListCall
ResourceVersion sets the optional parameter "resourceVersion": The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
func (*NamespacesRevisionsListCall) Watch ¶
func (c *NamespacesRevisionsListCall) Watch(watch bool) *NamespacesRevisionsListCall
Watch sets the optional parameter "watch": Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
type NamespacesRevisionsService ¶
type NamespacesRevisionsService struct {
// contains filtered or unexported fields
}
func NewNamespacesRevisionsService ¶
func NewNamespacesRevisionsService(s *APIService) *NamespacesRevisionsService
func (*NamespacesRevisionsService) Delete ¶
func (r *NamespacesRevisionsService) Delete(name string) *NamespacesRevisionsDeleteCall
Delete: Delete a revision.
- name: The name of the revision to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesRevisionsService) Get ¶
func (r *NamespacesRevisionsService) Get(name string) *NamespacesRevisionsGetCall
Get: Get information about a revision.
- name: The name of the revision to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesRevisionsService) List ¶
func (r *NamespacesRevisionsService) List(parent string) *NamespacesRevisionsListCall
List: List revisions.
- parent: The namespace from which the revisions should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type NamespacesRoutesGetCall ¶
type NamespacesRoutesGetCall struct {
// contains filtered or unexported fields
}
func (*NamespacesRoutesGetCall) Context ¶
func (c *NamespacesRoutesGetCall) Context(ctx context.Context) *NamespacesRoutesGetCall
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 (*NamespacesRoutesGetCall) Do ¶
func (c *NamespacesRoutesGetCall) Do(opts ...googleapi.CallOption) (*Route, error)
Do executes the "run.namespaces.routes.get" call. Exactly one of *Route or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Route.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 (*NamespacesRoutesGetCall) Fields ¶
func (c *NamespacesRoutesGetCall) Fields(s ...googleapi.Field) *NamespacesRoutesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesRoutesGetCall) Header ¶
func (c *NamespacesRoutesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesRoutesGetCall) IfNoneMatch ¶
func (c *NamespacesRoutesGetCall) IfNoneMatch(entityTag string) *NamespacesRoutesGetCall
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 NamespacesRoutesListCall ¶
type NamespacesRoutesListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesRoutesListCall) Context ¶
func (c *NamespacesRoutesListCall) Context(ctx context.Context) *NamespacesRoutesListCall
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 (*NamespacesRoutesListCall) Continue ¶
func (c *NamespacesRoutesListCall) Continue(continue_ string) *NamespacesRoutesListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*NamespacesRoutesListCall) Do ¶
func (c *NamespacesRoutesListCall) Do(opts ...googleapi.CallOption) (*ListRoutesResponse, error)
Do executes the "run.namespaces.routes.list" call. Exactly one of *ListRoutesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListRoutesResponse.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 (*NamespacesRoutesListCall) FieldSelector ¶
func (c *NamespacesRoutesListCall) FieldSelector(fieldSelector string) *NamespacesRoutesListCall
FieldSelector sets the optional parameter "fieldSelector": Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
func (*NamespacesRoutesListCall) Fields ¶
func (c *NamespacesRoutesListCall) Fields(s ...googleapi.Field) *NamespacesRoutesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesRoutesListCall) Header ¶
func (c *NamespacesRoutesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesRoutesListCall) IfNoneMatch ¶
func (c *NamespacesRoutesListCall) IfNoneMatch(entityTag string) *NamespacesRoutesListCall
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 (*NamespacesRoutesListCall) IncludeUninitialized ¶
func (c *NamespacesRoutesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesRoutesListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.
func (*NamespacesRoutesListCall) LabelSelector ¶
func (c *NamespacesRoutesListCall) LabelSelector(labelSelector string) *NamespacesRoutesListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*NamespacesRoutesListCall) Limit ¶
func (c *NamespacesRoutesListCall) Limit(limit int64) *NamespacesRoutesListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*NamespacesRoutesListCall) ResourceVersion ¶
func (c *NamespacesRoutesListCall) ResourceVersion(resourceVersion string) *NamespacesRoutesListCall
ResourceVersion sets the optional parameter "resourceVersion": The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
func (*NamespacesRoutesListCall) Watch ¶
func (c *NamespacesRoutesListCall) Watch(watch bool) *NamespacesRoutesListCall
Watch sets the optional parameter "watch": Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
type NamespacesRoutesService ¶
type NamespacesRoutesService struct {
// contains filtered or unexported fields
}
func NewNamespacesRoutesService ¶
func NewNamespacesRoutesService(s *APIService) *NamespacesRoutesService
func (*NamespacesRoutesService) Get ¶
func (r *NamespacesRoutesService) Get(name string) *NamespacesRoutesGetCall
Get: Get information about a route.
- name: The name of the route to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesRoutesService) List ¶
func (r *NamespacesRoutesService) List(parent string) *NamespacesRoutesListCall
List: List routes.
- parent: The namespace from which the routes should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type NamespacesService ¶
type NamespacesService struct { Authorizeddomains *NamespacesAuthorizeddomainsService Configurations *NamespacesConfigurationsService Domainmappings *NamespacesDomainmappingsService Executions *NamespacesExecutionsService Jobs *NamespacesJobsService Revisions *NamespacesRevisionsService Routes *NamespacesRoutesService Services *NamespacesServicesService Tasks *NamespacesTasksService // contains filtered or unexported fields }
func NewNamespacesService ¶
func NewNamespacesService(s *APIService) *NamespacesService
type NamespacesServicesCreateCall ¶
type NamespacesServicesCreateCall struct {
// contains filtered or unexported fields
}
func (*NamespacesServicesCreateCall) Context ¶
func (c *NamespacesServicesCreateCall) Context(ctx context.Context) *NamespacesServicesCreateCall
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 (*NamespacesServicesCreateCall) Do ¶
func (c *NamespacesServicesCreateCall) Do(opts ...googleapi.CallOption) (*Service, error)
Do executes the "run.namespaces.services.create" call. Exactly one of *Service or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Service.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 (*NamespacesServicesCreateCall) DryRun ¶
func (c *NamespacesServicesCreateCall) DryRun(dryRun string) *NamespacesServicesCreateCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*NamespacesServicesCreateCall) Fields ¶
func (c *NamespacesServicesCreateCall) Fields(s ...googleapi.Field) *NamespacesServicesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesServicesCreateCall) Header ¶
func (c *NamespacesServicesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NamespacesServicesDeleteCall ¶
type NamespacesServicesDeleteCall struct {
// contains filtered or unexported fields
}
func (*NamespacesServicesDeleteCall) ApiVersion ¶
func (c *NamespacesServicesDeleteCall) ApiVersion(apiVersion string) *NamespacesServicesDeleteCall
ApiVersion sets the optional parameter "apiVersion": Not supported, and ignored by Cloud Run.
func (*NamespacesServicesDeleteCall) Context ¶
func (c *NamespacesServicesDeleteCall) Context(ctx context.Context) *NamespacesServicesDeleteCall
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 (*NamespacesServicesDeleteCall) Do ¶
func (c *NamespacesServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
Do executes the "run.namespaces.services.delete" call. Exactly one of *Status or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Status.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 (*NamespacesServicesDeleteCall) DryRun ¶
func (c *NamespacesServicesDeleteCall) DryRun(dryRun string) *NamespacesServicesDeleteCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*NamespacesServicesDeleteCall) Fields ¶
func (c *NamespacesServicesDeleteCall) Fields(s ...googleapi.Field) *NamespacesServicesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesServicesDeleteCall) Header ¶
func (c *NamespacesServicesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesServicesDeleteCall) Kind ¶
func (c *NamespacesServicesDeleteCall) Kind(kind string) *NamespacesServicesDeleteCall
Kind sets the optional parameter "kind": Not supported, and ignored by Cloud Run.
func (*NamespacesServicesDeleteCall) PropagationPolicy ¶
func (c *NamespacesServicesDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesServicesDeleteCall
PropagationPolicy sets the optional parameter "propagationPolicy": Not supported, and ignored by Cloud Run.
type NamespacesServicesGetCall ¶
type NamespacesServicesGetCall struct {
// contains filtered or unexported fields
}
func (*NamespacesServicesGetCall) Context ¶
func (c *NamespacesServicesGetCall) Context(ctx context.Context) *NamespacesServicesGetCall
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 (*NamespacesServicesGetCall) Do ¶
func (c *NamespacesServicesGetCall) Do(opts ...googleapi.CallOption) (*Service, error)
Do executes the "run.namespaces.services.get" call. Exactly one of *Service or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Service.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 (*NamespacesServicesGetCall) Fields ¶
func (c *NamespacesServicesGetCall) Fields(s ...googleapi.Field) *NamespacesServicesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesServicesGetCall) Header ¶
func (c *NamespacesServicesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesServicesGetCall) IfNoneMatch ¶
func (c *NamespacesServicesGetCall) IfNoneMatch(entityTag string) *NamespacesServicesGetCall
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 NamespacesServicesListCall ¶
type NamespacesServicesListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesServicesListCall) Context ¶
func (c *NamespacesServicesListCall) Context(ctx context.Context) *NamespacesServicesListCall
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 (*NamespacesServicesListCall) Continue ¶
func (c *NamespacesServicesListCall) Continue(continue_ string) *NamespacesServicesListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*NamespacesServicesListCall) Do ¶
func (c *NamespacesServicesListCall) Do(opts ...googleapi.CallOption) (*ListServicesResponse, error)
Do executes the "run.namespaces.services.list" call. Exactly one of *ListServicesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListServicesResponse.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 (*NamespacesServicesListCall) FieldSelector ¶
func (c *NamespacesServicesListCall) FieldSelector(fieldSelector string) *NamespacesServicesListCall
FieldSelector sets the optional parameter "fieldSelector": Not supported, and ignored by Cloud Run.
func (*NamespacesServicesListCall) Fields ¶
func (c *NamespacesServicesListCall) Fields(s ...googleapi.Field) *NamespacesServicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesServicesListCall) Header ¶
func (c *NamespacesServicesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesServicesListCall) IfNoneMatch ¶
func (c *NamespacesServicesListCall) IfNoneMatch(entityTag string) *NamespacesServicesListCall
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 (*NamespacesServicesListCall) IncludeUninitialized ¶
func (c *NamespacesServicesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesServicesListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not supported, and ignored by Cloud Run.
func (*NamespacesServicesListCall) LabelSelector ¶
func (c *NamespacesServicesListCall) LabelSelector(labelSelector string) *NamespacesServicesListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*NamespacesServicesListCall) Limit ¶
func (c *NamespacesServicesListCall) Limit(limit int64) *NamespacesServicesListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*NamespacesServicesListCall) ResourceVersion ¶
func (c *NamespacesServicesListCall) ResourceVersion(resourceVersion string) *NamespacesServicesListCall
ResourceVersion sets the optional parameter "resourceVersion": Not supported, and ignored by Cloud Run.
func (*NamespacesServicesListCall) Watch ¶
func (c *NamespacesServicesListCall) Watch(watch bool) *NamespacesServicesListCall
Watch sets the optional parameter "watch": Not supported, and ignored by Cloud Run.
type NamespacesServicesReplaceServiceCall ¶
type NamespacesServicesReplaceServiceCall struct {
// contains filtered or unexported fields
}
func (*NamespacesServicesReplaceServiceCall) Context ¶
func (c *NamespacesServicesReplaceServiceCall) Context(ctx context.Context) *NamespacesServicesReplaceServiceCall
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 (*NamespacesServicesReplaceServiceCall) Do ¶
func (c *NamespacesServicesReplaceServiceCall) Do(opts ...googleapi.CallOption) (*Service, error)
Do executes the "run.namespaces.services.replaceService" call. Exactly one of *Service or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Service.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 (*NamespacesServicesReplaceServiceCall) DryRun ¶
func (c *NamespacesServicesReplaceServiceCall) DryRun(dryRun string) *NamespacesServicesReplaceServiceCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*NamespacesServicesReplaceServiceCall) Fields ¶
func (c *NamespacesServicesReplaceServiceCall) Fields(s ...googleapi.Field) *NamespacesServicesReplaceServiceCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesServicesReplaceServiceCall) Header ¶
func (c *NamespacesServicesReplaceServiceCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type NamespacesServicesService ¶
type NamespacesServicesService struct {
// contains filtered or unexported fields
}
func NewNamespacesServicesService ¶
func NewNamespacesServicesService(s *APIService) *NamespacesServicesService
func (*NamespacesServicesService) Create ¶
func (r *NamespacesServicesService) Create(parent string, service *Service) *NamespacesServicesCreateCall
Create: Creates a new Service. Service creation will trigger a new deployment. Use GetService, and check service.status to determine if the Service is ready.
- parent: The resource's parent. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`.
func (*NamespacesServicesService) Delete ¶
func (r *NamespacesServicesService) Delete(name string) *NamespacesServicesDeleteCall
Delete: Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions.
- name: The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is regional) * `projects/{project_id_or_number}/locations/{region}/services/{servic e_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_ name}`.
func (*NamespacesServicesService) Get ¶
func (r *NamespacesServicesService) Get(name string) *NamespacesServicesGetCall
Get: Gets information about a service.
- name: The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is regional) * `projects/{project_id_or_number}/locations/{region}/services/{servic e_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_ name}`.
func (*NamespacesServicesService) List ¶
func (r *NamespacesServicesService) List(parent string) *NamespacesServicesListCall
List: Lists services for the given project and region.
- parent: The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`.
func (*NamespacesServicesService) ReplaceService ¶
func (r *NamespacesServicesService) ReplaceService(name string, service *Service) *NamespacesServicesReplaceServiceCall
ReplaceService: Replaces a service. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.
- name: The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is regional) * `projects/{project_id_or_number}/locations/{region}/services/{servic e_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_ name}`.
type NamespacesTasksGetCall ¶
type NamespacesTasksGetCall struct {
// contains filtered or unexported fields
}
func (*NamespacesTasksGetCall) Context ¶
func (c *NamespacesTasksGetCall) Context(ctx context.Context) *NamespacesTasksGetCall
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 (*NamespacesTasksGetCall) Do ¶
func (c *NamespacesTasksGetCall) Do(opts ...googleapi.CallOption) (*Task, error)
Do executes the "run.namespaces.tasks.get" call. Exactly one of *Task or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Task.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 (*NamespacesTasksGetCall) Fields ¶
func (c *NamespacesTasksGetCall) Fields(s ...googleapi.Field) *NamespacesTasksGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesTasksGetCall) Header ¶
func (c *NamespacesTasksGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesTasksGetCall) IfNoneMatch ¶
func (c *NamespacesTasksGetCall) IfNoneMatch(entityTag string) *NamespacesTasksGetCall
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 NamespacesTasksListCall ¶
type NamespacesTasksListCall struct {
// contains filtered or unexported fields
}
func (*NamespacesTasksListCall) Context ¶
func (c *NamespacesTasksListCall) Context(ctx context.Context) *NamespacesTasksListCall
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 (*NamespacesTasksListCall) Continue ¶
func (c *NamespacesTasksListCall) Continue(continue_ string) *NamespacesTasksListCall
Continue sets the optional parameter "continue": Optional encoded string to continue paging.
func (*NamespacesTasksListCall) Do ¶
func (c *NamespacesTasksListCall) Do(opts ...googleapi.CallOption) (*ListTasksResponse, error)
Do executes the "run.namespaces.tasks.list" call. Exactly one of *ListTasksResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTasksResponse.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 (*NamespacesTasksListCall) FieldSelector ¶
func (c *NamespacesTasksListCall) FieldSelector(fieldSelector string) *NamespacesTasksListCall
FieldSelector sets the optional parameter "fieldSelector": Not supported by Cloud Run.
func (*NamespacesTasksListCall) Fields ¶
func (c *NamespacesTasksListCall) Fields(s ...googleapi.Field) *NamespacesTasksListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*NamespacesTasksListCall) Header ¶
func (c *NamespacesTasksListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*NamespacesTasksListCall) IfNoneMatch ¶
func (c *NamespacesTasksListCall) IfNoneMatch(entityTag string) *NamespacesTasksListCall
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 (*NamespacesTasksListCall) IncludeUninitialized ¶
func (c *NamespacesTasksListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesTasksListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not supported by Cloud Run.
func (*NamespacesTasksListCall) LabelSelector ¶
func (c *NamespacesTasksListCall) LabelSelector(labelSelector string) *NamespacesTasksListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn. For example, to list all tasks of execution "foo" in succeeded state: `run.googleapis.com/execution=foo,run.googleapis.com/runningState=Succ eeded`. Supported states are: * `Pending`: Initial state of all tasks. The task has not yet started but eventually will. * `Running`: Container instances for this task are running or will be running shortly. * `Succeeded`: No more container instances to run for the task, and the last attempt succeeded. * `Failed`: No more container instances to run for the task, and the last attempt failed. This task has run out of retry attempts. * `Cancelled`: Task was running but got stopped because its parent execution has been aborted. * `Abandoned`: The task has not yet started and never will because its parent execution has been aborted.
func (*NamespacesTasksListCall) Limit ¶
func (c *NamespacesTasksListCall) Limit(limit int64) *NamespacesTasksListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*NamespacesTasksListCall) ResourceVersion ¶
func (c *NamespacesTasksListCall) ResourceVersion(resourceVersion string) *NamespacesTasksListCall
ResourceVersion sets the optional parameter "resourceVersion": Not supported by Cloud Run.
func (*NamespacesTasksListCall) Watch ¶
func (c *NamespacesTasksListCall) Watch(watch bool) *NamespacesTasksListCall
Watch sets the optional parameter "watch": Not supported by Cloud Run.
type NamespacesTasksService ¶
type NamespacesTasksService struct {
// contains filtered or unexported fields
}
func NewNamespacesTasksService ¶
func NewNamespacesTasksService(s *APIService) *NamespacesTasksService
func (*NamespacesTasksService) Get ¶
func (r *NamespacesTasksService) Get(name string) *NamespacesTasksGetCall
Get: Get information about a task.
- name: The name of the task to retrieve. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*NamespacesTasksService) List ¶
func (r *NamespacesTasksService) List(parent string) *NamespacesTasksListCall
List: List tasks.
- parent: The namespace from which the tasks should be listed. Replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type ObjectMeta ¶
type ObjectMeta struct { // Annotations: Unstructured key value map stored with a resource that // may be set by external tools to store and retrieve arbitrary // metadata. They are not queryable and should be preserved when // modifying objects. In Cloud Run, annotations with // 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, // and the accepted annotations will be different depending on the // resource type. * `autoscaling.knative.dev/maxScale`: Revision. * // `autoscaling.knative.dev/minScale`: Revision. * // `run.googleapis.com/binary-authorization-breakglass`: Service, Job, * // `run.googleapis.com/binary-authorization`: Service, Job, Execution. * // `run.googleapis.com/client-name`: All resources. * // `run.googleapis.com/cloudsql-instances`: Revision, Execution. * // `run.googleapis.com/container-dependencies`: Revision. * // `run.googleapis.com/cpu-throttling`: Revision. * // `run.googleapis.com/custom-audiences`: Service. * // `run.googleapis.com/description`: Service. * // `run.googleapis.com/disable-default-url`: Service. * // `run.googleapis.com/encryption-key-shutdown-hours`: Revision * // `run.googleapis.com/encryption-key`: Revision, Execution. * // `run.googleapis.com/execution-environment`: Revision, Execution. * // `run.googleapis.com/gc-traffic-tags`: Service. * // `run.googleapis.com/ingress`: Service. * // `run.googleapis.com/launch-stage`: Service, Job. * // `run.googleapis.com/minScale`: Service (ALPHA) * // `run.googleapis.com/network-interfaces`: Revision, Execution. * // `run.googleapis.com/post-key-revocation-action-type`: Revision. * // `run.googleapis.com/secrets`: Revision, Execution. * // `run.googleapis.com/secure-session-agent`: Revision. * // `run.googleapis.com/sessionAffinity`: Revision. * // `run.googleapis.com/startup-cpu-boost`: Revision. * // `run.googleapis.com/vpc-access-connector`: Revision, Execution. * // `run.googleapis.com/vpc-access-egress`: Revision, Execution. Annotations map[string]string `json:"annotations,omitempty"` // ClusterName: Not supported by Cloud Run ClusterName string `json:"clusterName,omitempty"` // CreationTimestamp: UTC timestamp representing the server time when // this object was created. CreationTimestamp string `json:"creationTimestamp,omitempty"` // DeletionGracePeriodSeconds: Not supported by Cloud Run DeletionGracePeriodSeconds int64 `json:"deletionGracePeriodSeconds,omitempty"` // DeletionTimestamp: The read-only soft deletion timestamp for this // resource. In Cloud Run, users are not able to set this field. // Instead, they must call the corresponding Delete API. DeletionTimestamp string `json:"deletionTimestamp,omitempty"` // Finalizers: Not supported by Cloud Run Finalizers []string `json:"finalizers,omitempty"` // GenerateName: Not supported by Cloud Run GenerateName string `json:"generateName,omitempty"` // Generation: A system-provided sequence number representing a specific // generation of the desired state. Generation int64 `json:"generation,omitempty"` // Labels: Map of string keys and values that can be used to organize // and categorize (scope and select) objects. May match selectors of // replication controllers and routes. Labels map[string]string `json:"labels,omitempty"` // Name: Required. The name of the resource. Name is required when // creating top-level resources (Service, Job), must be unique within a // Cloud Run project/region, and cannot be changed once created. Name string `json:"name,omitempty"` // Namespace: Required. Defines the space within each name must be // unique within a Cloud Run region. In Cloud Run, it must be project ID // or number. Namespace string `json:"namespace,omitempty"` // OwnerReferences: Not supported by Cloud Run OwnerReferences []*OwnerReference `json:"ownerReferences,omitempty"` // ResourceVersion: Opaque, system-generated value that represents the // internal version of this object that can be used by clients to // determine when objects have changed. May be used for optimistic // concurrency, change detection, and the watch operation on a resource // or set of resources. Clients must treat these values as opaque and // passed unmodified back to the server or omit the value to disable // conflict-detection. ResourceVersion string `json:"resourceVersion,omitempty"` // SelfLink: URL representing this object. SelfLink string `json:"selfLink,omitempty"` // Uid: Unique, system-generated identifier for this resource. Uid string `json:"uid,omitempty"` // ForceSendFields is a list of field names (e.g. "Annotations") 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. "Annotations") 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:"-"` }
ObjectMeta: google.cloud.run.meta.v1.ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
func (*ObjectMeta) MarshalJSON ¶
func (s *ObjectMeta) MarshalJSON() ([]byte, error)
type Overrides ¶
type Overrides struct { // ContainerOverrides: Per container override specification. ContainerOverrides []*ContainerOverride `json:"containerOverrides,omitempty"` // TaskCount: The desired number of tasks the execution should run. Will // replace existing task_count value. TaskCount int64 `json:"taskCount,omitempty"` // TimeoutSeconds: Duration in seconds the task may be active before the // system will actively try to mark it failed and kill associated // containers. Will replace existing timeout_seconds value. TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"` // ForceSendFields is a list of field names (e.g. "ContainerOverrides") // 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. "ContainerOverrides") 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:"-"` }
Overrides: RunJob Overrides that contains Execution fields to be overridden on the go.
func (*Overrides) MarshalJSON ¶
type OwnerReference ¶
type OwnerReference struct { // ApiVersion: This is not supported or used by Cloud Run. ApiVersion string `json:"apiVersion,omitempty"` // BlockOwnerDeletion: This is not supported or used by Cloud Run. BlockOwnerDeletion bool `json:"blockOwnerDeletion,omitempty"` // Controller: This is not supported or used by Cloud Run. Controller bool `json:"controller,omitempty"` // Kind: This is not supported or used by Cloud Run. Kind string `json:"kind,omitempty"` // Name: This is not supported or used by Cloud Run. Name string `json:"name,omitempty"` // Uid: This is not supported or used by Cloud Run. Uid string `json:"uid,omitempty"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
OwnerReference: This is not supported or used by Cloud Run.
func (*OwnerReference) MarshalJSON ¶
func (s *OwnerReference) MarshalJSON() ([]byte, error)
type Policy ¶
type Policy struct { // AuditConfigs: Specifies cloud audit logging configuration for this // policy. AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"` // Bindings: Associates a list of `members`, or principals, with a // `role`. Optionally, may specify a `condition` that determines how and // when the `bindings` are applied. Each of the `bindings` must contain // at least one principal. The `bindings` in a `Policy` can refer to up // to 1,500 principals; up to 250 of these principals can be Google // groups. Each occurrence of a principal counts towards these limits. // For example, if the `bindings` grant 50 different roles to // `user:alice@example.com`, and not to any other principal, then you // can add another 1,450 principals to the `bindings` in the `Policy`. Bindings []*Binding `json:"bindings,omitempty"` // Etag: `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 // `getIamPolicy`, and systems are expected to put that etag in the // request to `setIamPolicy` to ensure that their change will be applied // to the same version of the policy. **Important:** If you use IAM // Conditions, you must include the `etag` field whenever you call // `setIamPolicy`. If you omit this field, then IAM allows you to // overwrite a version `3` policy with a version `1` policy, and all of // the conditions in the version `3` policy are lost. Etag string `json:"etag,omitempty"` // Version: Specifies the format of the policy. Valid values are `0`, // `1`, and `3`. Requests that specify an invalid value are rejected. // Any operation that affects conditional role bindings must specify // version `3`. This requirement applies to the following operations: * // Getting a policy that includes a conditional role binding * Adding a // conditional role binding to a policy * Changing a conditional role // binding in a policy * Removing any role binding, with or without a // condition, from a policy that includes conditions **Important:** If // you use IAM Conditions, you must include the `etag` field whenever // you call `setIamPolicy`. If you omit this field, then IAM allows you // to overwrite a version `3` policy with a version `1` policy, and all // of the conditions in the version `3` policy are lost. If a policy // does not include any conditions, operations on that policy may // specify any valid version or leave the field unset. To learn which // resources support conditions in their IAM policies, see the IAM // documentation // (https://cloud.google.com/iam/help/conditions/resource-policies). Version int64 `json:"version,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "AuditConfigs") 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. "AuditConfigs") 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:"-"` }
Policy: An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the IAM documentation (https://cloud.google.com/iam/docs/).
func (*Policy) MarshalJSON ¶
type Probe ¶
type Probe struct { // Exec: Not supported by Cloud Run. Exec *ExecAction `json:"exec,omitempty"` // FailureThreshold: Minimum consecutive failures for the probe to be // considered failed after having succeeded. Defaults to 3. Minimum // value is 1. FailureThreshold int64 `json:"failureThreshold,omitempty"` // Grpc: GRPCAction specifies an action involving a GRPC port. Grpc *GRPCAction `json:"grpc,omitempty"` // HttpGet: HTTPGet specifies the http request to perform. HttpGet *HTTPGetAction `json:"httpGet,omitempty"` // InitialDelaySeconds: Number of seconds after the container has // started before the probe is initiated. Defaults to 0 seconds. Minimum // value is 0. Maximum value for liveness probe is 3600. Maximum value // for startup probe is 240. InitialDelaySeconds int64 `json:"initialDelaySeconds,omitempty"` // PeriodSeconds: How often (in seconds) to perform the probe. Default // to 10 seconds. Minimum value is 1. Maximum value for liveness probe // is 3600. Maximum value for startup probe is 240. Must be greater or // equal than timeout_seconds. PeriodSeconds int64 `json:"periodSeconds,omitempty"` // SuccessThreshold: Minimum consecutive successes for the probe to be // considered successful after having failed. Must be 1 if set. SuccessThreshold int64 `json:"successThreshold,omitempty"` // TcpSocket: TCPSocket specifies an action involving a TCP port. TcpSocket *TCPSocketAction `json:"tcpSocket,omitempty"` // TimeoutSeconds: Number of seconds after which the probe times out. // Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must // be smaller than period_seconds; if period_seconds is not set, must be // less or equal than 10. TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"` // ForceSendFields is a list of field names (e.g. "Exec") 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. "Exec") 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:"-"` }
Probe: Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
func (*Probe) MarshalJSON ¶
type ProjectsAuthorizeddomainsListCall ¶
type ProjectsAuthorizeddomainsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsAuthorizeddomainsListCall) Context ¶
func (c *ProjectsAuthorizeddomainsListCall) Context(ctx context.Context) *ProjectsAuthorizeddomainsListCall
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 (*ProjectsAuthorizeddomainsListCall) Do ¶
func (c *ProjectsAuthorizeddomainsListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedDomainsResponse, error)
Do executes the "run.projects.authorizeddomains.list" call. Exactly one of *ListAuthorizedDomainsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAuthorizedDomainsResponse.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 (*ProjectsAuthorizeddomainsListCall) Fields ¶
func (c *ProjectsAuthorizeddomainsListCall) Fields(s ...googleapi.Field) *ProjectsAuthorizeddomainsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsAuthorizeddomainsListCall) Header ¶
func (c *ProjectsAuthorizeddomainsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsAuthorizeddomainsListCall) IfNoneMatch ¶
func (c *ProjectsAuthorizeddomainsListCall) IfNoneMatch(entityTag string) *ProjectsAuthorizeddomainsListCall
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 (*ProjectsAuthorizeddomainsListCall) PageSize ¶
func (c *ProjectsAuthorizeddomainsListCall) PageSize(pageSize int64) *ProjectsAuthorizeddomainsListCall
PageSize sets the optional parameter "pageSize": Maximum results to return per page.
func (*ProjectsAuthorizeddomainsListCall) PageToken ¶
func (c *ProjectsAuthorizeddomainsListCall) PageToken(pageToken string) *ProjectsAuthorizeddomainsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*ProjectsAuthorizeddomainsListCall) Pages ¶
func (c *ProjectsAuthorizeddomainsListCall) Pages(ctx context.Context, f func(*ListAuthorizedDomainsResponse) 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 ProjectsAuthorizeddomainsService ¶
type ProjectsAuthorizeddomainsService struct {
// contains filtered or unexported fields
}
func NewProjectsAuthorizeddomainsService ¶
func NewProjectsAuthorizeddomainsService(s *APIService) *ProjectsAuthorizeddomainsService
func (*ProjectsAuthorizeddomainsService) List ¶
func (r *ProjectsAuthorizeddomainsService) List(parent string) *ProjectsAuthorizeddomainsListCall
List: List authorized domains.
- parent: Name of the parent Project resource. Example: `projects/myproject`.
type ProjectsLocationsAuthorizeddomainsListCall ¶
type ProjectsLocationsAuthorizeddomainsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsAuthorizeddomainsListCall) Context ¶
func (c *ProjectsLocationsAuthorizeddomainsListCall) Context(ctx context.Context) *ProjectsLocationsAuthorizeddomainsListCall
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 (*ProjectsLocationsAuthorizeddomainsListCall) Do ¶
func (c *ProjectsLocationsAuthorizeddomainsListCall) Do(opts ...googleapi.CallOption) (*ListAuthorizedDomainsResponse, error)
Do executes the "run.projects.locations.authorizeddomains.list" call. Exactly one of *ListAuthorizedDomainsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListAuthorizedDomainsResponse.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 (*ProjectsLocationsAuthorizeddomainsListCall) Fields ¶
func (c *ProjectsLocationsAuthorizeddomainsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsAuthorizeddomainsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsAuthorizeddomainsListCall) Header ¶
func (c *ProjectsLocationsAuthorizeddomainsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsAuthorizeddomainsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsAuthorizeddomainsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsAuthorizeddomainsListCall
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 (*ProjectsLocationsAuthorizeddomainsListCall) PageSize ¶
func (c *ProjectsLocationsAuthorizeddomainsListCall) PageSize(pageSize int64) *ProjectsLocationsAuthorizeddomainsListCall
PageSize sets the optional parameter "pageSize": Maximum results to return per page.
func (*ProjectsLocationsAuthorizeddomainsListCall) PageToken ¶
func (c *ProjectsLocationsAuthorizeddomainsListCall) PageToken(pageToken string) *ProjectsLocationsAuthorizeddomainsListCall
PageToken sets the optional parameter "pageToken": Continuation token for fetching the next page of results.
func (*ProjectsLocationsAuthorizeddomainsListCall) Pages ¶
func (c *ProjectsLocationsAuthorizeddomainsListCall) Pages(ctx context.Context, f func(*ListAuthorizedDomainsResponse) 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 ProjectsLocationsAuthorizeddomainsService ¶
type ProjectsLocationsAuthorizeddomainsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsAuthorizeddomainsService ¶
func NewProjectsLocationsAuthorizeddomainsService(s *APIService) *ProjectsLocationsAuthorizeddomainsService
func (*ProjectsLocationsAuthorizeddomainsService) List ¶
func (r *ProjectsLocationsAuthorizeddomainsService) List(parent string) *ProjectsLocationsAuthorizeddomainsListCall
List: List authorized domains.
- parent: Name of the parent Project resource. Example: `projects/myproject`.
type ProjectsLocationsConfigurationsGetCall ¶
type ProjectsLocationsConfigurationsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConfigurationsGetCall) Context ¶
func (c *ProjectsLocationsConfigurationsGetCall) Context(ctx context.Context) *ProjectsLocationsConfigurationsGetCall
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 (*ProjectsLocationsConfigurationsGetCall) Do ¶
func (c *ProjectsLocationsConfigurationsGetCall) Do(opts ...googleapi.CallOption) (*Configuration, error)
Do executes the "run.projects.locations.configurations.get" call. Exactly one of *Configuration or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Configuration.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 (*ProjectsLocationsConfigurationsGetCall) Fields ¶
func (c *ProjectsLocationsConfigurationsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsConfigurationsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConfigurationsGetCall) Header ¶
func (c *ProjectsLocationsConfigurationsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConfigurationsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsConfigurationsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsConfigurationsGetCall
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 ProjectsLocationsConfigurationsListCall ¶
type ProjectsLocationsConfigurationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsConfigurationsListCall) Context ¶
func (c *ProjectsLocationsConfigurationsListCall) Context(ctx context.Context) *ProjectsLocationsConfigurationsListCall
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 (*ProjectsLocationsConfigurationsListCall) Continue ¶
func (c *ProjectsLocationsConfigurationsListCall) Continue(continue_ string) *ProjectsLocationsConfigurationsListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*ProjectsLocationsConfigurationsListCall) Do ¶
func (c *ProjectsLocationsConfigurationsListCall) Do(opts ...googleapi.CallOption) (*ListConfigurationsResponse, error)
Do executes the "run.projects.locations.configurations.list" call. Exactly one of *ListConfigurationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListConfigurationsResponse.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 (*ProjectsLocationsConfigurationsListCall) FieldSelector ¶
func (c *ProjectsLocationsConfigurationsListCall) FieldSelector(fieldSelector string) *ProjectsLocationsConfigurationsListCall
FieldSelector sets the optional parameter "fieldSelector": Not supported by Cloud Run.
func (*ProjectsLocationsConfigurationsListCall) Fields ¶
func (c *ProjectsLocationsConfigurationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsConfigurationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsConfigurationsListCall) Header ¶
func (c *ProjectsLocationsConfigurationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsConfigurationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsConfigurationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsConfigurationsListCall
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 (*ProjectsLocationsConfigurationsListCall) IncludeUninitialized ¶
func (c *ProjectsLocationsConfigurationsListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsConfigurationsListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not supported by Cloud Run.
func (*ProjectsLocationsConfigurationsListCall) LabelSelector ¶
func (c *ProjectsLocationsConfigurationsListCall) LabelSelector(labelSelector string) *ProjectsLocationsConfigurationsListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*ProjectsLocationsConfigurationsListCall) Limit ¶
func (c *ProjectsLocationsConfigurationsListCall) Limit(limit int64) *ProjectsLocationsConfigurationsListCall
Limit sets the optional parameter "limit": The maximum number of the records that should be returned.
func (*ProjectsLocationsConfigurationsListCall) ResourceVersion ¶
func (c *ProjectsLocationsConfigurationsListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsConfigurationsListCall
ResourceVersion sets the optional parameter "resourceVersion": Not supported by Cloud Run.
func (*ProjectsLocationsConfigurationsListCall) Watch ¶
func (c *ProjectsLocationsConfigurationsListCall) Watch(watch bool) *ProjectsLocationsConfigurationsListCall
Watch sets the optional parameter "watch": Not supported by Cloud Run.
type ProjectsLocationsConfigurationsService ¶
type ProjectsLocationsConfigurationsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsConfigurationsService ¶
func NewProjectsLocationsConfigurationsService(s *APIService) *ProjectsLocationsConfigurationsService
func (*ProjectsLocationsConfigurationsService) Get ¶
func (r *ProjectsLocationsConfigurationsService) Get(name string) *ProjectsLocationsConfigurationsGetCall
Get: Get information about a configuration.
- name: The name of the configuration to retrieve. For Cloud Run, replace {namespace_id} with the project ID or number.
func (*ProjectsLocationsConfigurationsService) List ¶
func (r *ProjectsLocationsConfigurationsService) List(parent string) *ProjectsLocationsConfigurationsListCall
List: List configurations.
- parent: The namespace from which the configurations should be listed. For Cloud Run, replace {namespace_id} with the project ID or number.
type ProjectsLocationsDomainmappingsCreateCall ¶
type ProjectsLocationsDomainmappingsCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDomainmappingsCreateCall) Context ¶
func (c *ProjectsLocationsDomainmappingsCreateCall) Context(ctx context.Context) *ProjectsLocationsDomainmappingsCreateCall
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 (*ProjectsLocationsDomainmappingsCreateCall) Do ¶
func (c *ProjectsLocationsDomainmappingsCreateCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
Do executes the "run.projects.locations.domainmappings.create" call. Exactly one of *DomainMapping or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DomainMapping.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 (*ProjectsLocationsDomainmappingsCreateCall) DryRun ¶
func (c *ProjectsLocationsDomainmappingsCreateCall) DryRun(dryRun string) *ProjectsLocationsDomainmappingsCreateCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*ProjectsLocationsDomainmappingsCreateCall) Fields ¶
func (c *ProjectsLocationsDomainmappingsCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsDomainmappingsCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDomainmappingsCreateCall) Header ¶
func (c *ProjectsLocationsDomainmappingsCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsDomainmappingsDeleteCall ¶
type ProjectsLocationsDomainmappingsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDomainmappingsDeleteCall) ApiVersion ¶
func (c *ProjectsLocationsDomainmappingsDeleteCall) ApiVersion(apiVersion string) *ProjectsLocationsDomainmappingsDeleteCall
ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.
func (*ProjectsLocationsDomainmappingsDeleteCall) Context ¶
func (c *ProjectsLocationsDomainmappingsDeleteCall) Context(ctx context.Context) *ProjectsLocationsDomainmappingsDeleteCall
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 (*ProjectsLocationsDomainmappingsDeleteCall) Do ¶
func (c *ProjectsLocationsDomainmappingsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
Do executes the "run.projects.locations.domainmappings.delete" call. Exactly one of *Status or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Status.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 (*ProjectsLocationsDomainmappingsDeleteCall) DryRun ¶
func (c *ProjectsLocationsDomainmappingsDeleteCall) DryRun(dryRun string) *ProjectsLocationsDomainmappingsDeleteCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*ProjectsLocationsDomainmappingsDeleteCall) Fields ¶
func (c *ProjectsLocationsDomainmappingsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsDomainmappingsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDomainmappingsDeleteCall) Header ¶
func (c *ProjectsLocationsDomainmappingsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDomainmappingsDeleteCall) Kind ¶
func (c *ProjectsLocationsDomainmappingsDeleteCall) Kind(kind string) *ProjectsLocationsDomainmappingsDeleteCall
Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.
func (*ProjectsLocationsDomainmappingsDeleteCall) PropagationPolicy ¶
func (c *ProjectsLocationsDomainmappingsDeleteCall) PropagationPolicy(propagationPolicy string) *ProjectsLocationsDomainmappingsDeleteCall
PropagationPolicy sets the optional parameter "propagationPolicy": Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background. Please see kubernetes.io/docs/concepts/architecture/garbage-collection/ for more information.
type ProjectsLocationsDomainmappingsGetCall ¶
type ProjectsLocationsDomainmappingsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDomainmappingsGetCall) Context ¶
func (c *ProjectsLocationsDomainmappingsGetCall) Context(ctx context.Context) *ProjectsLocationsDomainmappingsGetCall
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 (*ProjectsLocationsDomainmappingsGetCall) Do ¶
func (c *ProjectsLocationsDomainmappingsGetCall) Do(opts ...googleapi.CallOption) (*DomainMapping, error)
Do executes the "run.projects.locations.domainmappings.get" call. Exactly one of *DomainMapping or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *DomainMapping.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 (*ProjectsLocationsDomainmappingsGetCall) Fields ¶
func (c *ProjectsLocationsDomainmappingsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsDomainmappingsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDomainmappingsGetCall) Header ¶
func (c *ProjectsLocationsDomainmappingsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDomainmappingsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsDomainmappingsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsDomainmappingsGetCall
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 ProjectsLocationsDomainmappingsListCall ¶
type ProjectsLocationsDomainmappingsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsDomainmappingsListCall) Context ¶
func (c *ProjectsLocationsDomainmappingsListCall) Context(ctx context.Context) *ProjectsLocationsDomainmappingsListCall
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 (*ProjectsLocationsDomainmappingsListCall) Continue ¶
func (c *ProjectsLocationsDomainmappingsListCall) Continue(continue_ string) *ProjectsLocationsDomainmappingsListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*ProjectsLocationsDomainmappingsListCall) Do ¶
func (c *ProjectsLocationsDomainmappingsListCall) Do(opts ...googleapi.CallOption) (*ListDomainMappingsResponse, error)
Do executes the "run.projects.locations.domainmappings.list" call. Exactly one of *ListDomainMappingsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListDomainMappingsResponse.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 (*ProjectsLocationsDomainmappingsListCall) FieldSelector ¶
func (c *ProjectsLocationsDomainmappingsListCall) FieldSelector(fieldSelector string) *ProjectsLocationsDomainmappingsListCall
FieldSelector sets the optional parameter "fieldSelector": Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
func (*ProjectsLocationsDomainmappingsListCall) Fields ¶
func (c *ProjectsLocationsDomainmappingsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsDomainmappingsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsDomainmappingsListCall) Header ¶
func (c *ProjectsLocationsDomainmappingsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsDomainmappingsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsDomainmappingsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsDomainmappingsListCall
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 (*ProjectsLocationsDomainmappingsListCall) IncludeUninitialized ¶
func (c *ProjectsLocationsDomainmappingsListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsDomainmappingsListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.
func (*ProjectsLocationsDomainmappingsListCall) LabelSelector ¶
func (c *ProjectsLocationsDomainmappingsListCall) LabelSelector(labelSelector string) *ProjectsLocationsDomainmappingsListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*ProjectsLocationsDomainmappingsListCall) Limit ¶
func (c *ProjectsLocationsDomainmappingsListCall) Limit(limit int64) *ProjectsLocationsDomainmappingsListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*ProjectsLocationsDomainmappingsListCall) ResourceVersion ¶
func (c *ProjectsLocationsDomainmappingsListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsDomainmappingsListCall
ResourceVersion sets the optional parameter "resourceVersion": The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
func (*ProjectsLocationsDomainmappingsListCall) Watch ¶
func (c *ProjectsLocationsDomainmappingsListCall) Watch(watch bool) *ProjectsLocationsDomainmappingsListCall
Watch sets the optional parameter "watch": Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
type ProjectsLocationsDomainmappingsService ¶
type ProjectsLocationsDomainmappingsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsDomainmappingsService ¶
func NewProjectsLocationsDomainmappingsService(s *APIService) *ProjectsLocationsDomainmappingsService
func (*ProjectsLocationsDomainmappingsService) Create ¶
func (r *ProjectsLocationsDomainmappingsService) Create(parent string, domainmapping *DomainMapping) *ProjectsLocationsDomainmappingsCreateCall
Create: Create a new domain mapping.
- parent: The namespace in which the domain mapping should be created. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*ProjectsLocationsDomainmappingsService) Delete ¶
func (r *ProjectsLocationsDomainmappingsService) Delete(name string) *ProjectsLocationsDomainmappingsDeleteCall
Delete: Delete a domain mapping.
- name: The name of the domain mapping to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*ProjectsLocationsDomainmappingsService) Get ¶
func (r *ProjectsLocationsDomainmappingsService) Get(name string) *ProjectsLocationsDomainmappingsGetCall
Get: Get information about a domain mapping.
- name: The name of the domain mapping to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*ProjectsLocationsDomainmappingsService) List ¶
func (r *ProjectsLocationsDomainmappingsService) List(parent string) *ProjectsLocationsDomainmappingsListCall
List: List all domain mappings.
- parent: The namespace from which the domain mappings should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type ProjectsLocationsJobsGetIamPolicyCall ¶
type ProjectsLocationsJobsGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsJobsGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsJobsGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsJobsGetIamPolicyCall
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 (*ProjectsLocationsJobsGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsJobsGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "run.projects.locations.jobs.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsJobsGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsJobsGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsJobsGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsJobsGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsJobsGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsJobsGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsJobsGetIamPolicyCall
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 (*ProjectsLocationsJobsGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsJobsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsJobsGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsJobsService ¶
type ProjectsLocationsJobsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsJobsService ¶
func NewProjectsLocationsJobsService(s *APIService) *ProjectsLocationsJobsService
func (*ProjectsLocationsJobsService) GetIamPolicy ¶
func (r *ProjectsLocationsJobsService) GetIamPolicy(resource string) *ProjectsLocationsJobsGetIamPolicyCall
GetIamPolicy: Get the IAM Access Control policy currently in effect for the given job. This result does not include any inherited policies.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsJobsService) SetIamPolicy ¶
func (r *ProjectsLocationsJobsService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsJobsSetIamPolicyCall
SetIamPolicy: Sets the IAM Access control policy for the specified job. Overwrites any existing policy.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsJobsService) TestIamPermissions ¶
func (r *ProjectsLocationsJobsService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsJobsTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified job. There are no permissions required for making this API call.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type ProjectsLocationsJobsSetIamPolicyCall ¶
type ProjectsLocationsJobsSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsJobsSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsJobsSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsJobsSetIamPolicyCall
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 (*ProjectsLocationsJobsSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsJobsSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "run.projects.locations.jobs.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsJobsSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsJobsSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsJobsSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsJobsSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsJobsTestIamPermissionsCall ¶
type ProjectsLocationsJobsTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsJobsTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsJobsTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsJobsTestIamPermissionsCall
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 (*ProjectsLocationsJobsTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsJobsTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "run.projects.locations.jobs.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsJobsTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsJobsTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsJobsTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsJobsTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsJobsTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsListCall ¶
type ProjectsLocationsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsListCall) Context ¶
func (c *ProjectsLocationsListCall) Context(ctx context.Context) *ProjectsLocationsListCall
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 (*ProjectsLocationsListCall) Do ¶
func (c *ProjectsLocationsListCall) Do(opts ...googleapi.CallOption) (*ListLocationsResponse, error)
Do executes the "run.projects.locations.list" call. Exactly one of *ListLocationsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListLocationsResponse.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 (*ProjectsLocationsListCall) Fields ¶
func (c *ProjectsLocationsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsListCall) Filter ¶
func (c *ProjectsLocationsListCall) Filter(filter string) *ProjectsLocationsListCall
Filter sets the optional parameter "filter": A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160).
func (*ProjectsLocationsListCall) Header ¶
func (c *ProjectsLocationsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsListCall
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 (*ProjectsLocationsListCall) PageSize ¶
func (c *ProjectsLocationsListCall) PageSize(pageSize int64) *ProjectsLocationsListCall
PageSize sets the optional parameter "pageSize": The maximum number of results to return. If not set, the service selects a default.
func (*ProjectsLocationsListCall) PageToken ¶
func (c *ProjectsLocationsListCall) PageToken(pageToken string) *ProjectsLocationsListCall
PageToken sets the optional parameter "pageToken": A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.
func (*ProjectsLocationsListCall) Pages ¶
func (c *ProjectsLocationsListCall) Pages(ctx context.Context, f func(*ListLocationsResponse) 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 ProjectsLocationsRevisionsDeleteCall ¶
type ProjectsLocationsRevisionsDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRevisionsDeleteCall) ApiVersion ¶
func (c *ProjectsLocationsRevisionsDeleteCall) ApiVersion(apiVersion string) *ProjectsLocationsRevisionsDeleteCall
ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.
func (*ProjectsLocationsRevisionsDeleteCall) Context ¶
func (c *ProjectsLocationsRevisionsDeleteCall) Context(ctx context.Context) *ProjectsLocationsRevisionsDeleteCall
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 (*ProjectsLocationsRevisionsDeleteCall) Do ¶
func (c *ProjectsLocationsRevisionsDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
Do executes the "run.projects.locations.revisions.delete" call. Exactly one of *Status or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Status.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 (*ProjectsLocationsRevisionsDeleteCall) DryRun ¶
func (c *ProjectsLocationsRevisionsDeleteCall) DryRun(dryRun string) *ProjectsLocationsRevisionsDeleteCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*ProjectsLocationsRevisionsDeleteCall) Fields ¶
func (c *ProjectsLocationsRevisionsDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsRevisionsDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRevisionsDeleteCall) Header ¶
func (c *ProjectsLocationsRevisionsDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRevisionsDeleteCall) Kind ¶
func (c *ProjectsLocationsRevisionsDeleteCall) Kind(kind string) *ProjectsLocationsRevisionsDeleteCall
Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.
func (*ProjectsLocationsRevisionsDeleteCall) PropagationPolicy ¶
func (c *ProjectsLocationsRevisionsDeleteCall) PropagationPolicy(propagationPolicy string) *ProjectsLocationsRevisionsDeleteCall
PropagationPolicy sets the optional parameter "propagationPolicy": Specifies the propagation policy of delete. Cloud Run currently ignores this setting, and deletes in the background.
type ProjectsLocationsRevisionsGetCall ¶
type ProjectsLocationsRevisionsGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRevisionsGetCall) Context ¶
func (c *ProjectsLocationsRevisionsGetCall) Context(ctx context.Context) *ProjectsLocationsRevisionsGetCall
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 (*ProjectsLocationsRevisionsGetCall) Do ¶
func (c *ProjectsLocationsRevisionsGetCall) Do(opts ...googleapi.CallOption) (*Revision, error)
Do executes the "run.projects.locations.revisions.get" call. Exactly one of *Revision or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Revision.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 (*ProjectsLocationsRevisionsGetCall) Fields ¶
func (c *ProjectsLocationsRevisionsGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRevisionsGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRevisionsGetCall) Header ¶
func (c *ProjectsLocationsRevisionsGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRevisionsGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRevisionsGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRevisionsGetCall
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 ProjectsLocationsRevisionsListCall ¶
type ProjectsLocationsRevisionsListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRevisionsListCall) Context ¶
func (c *ProjectsLocationsRevisionsListCall) Context(ctx context.Context) *ProjectsLocationsRevisionsListCall
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 (*ProjectsLocationsRevisionsListCall) Continue ¶
func (c *ProjectsLocationsRevisionsListCall) Continue(continue_ string) *ProjectsLocationsRevisionsListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*ProjectsLocationsRevisionsListCall) Do ¶
func (c *ProjectsLocationsRevisionsListCall) Do(opts ...googleapi.CallOption) (*ListRevisionsResponse, error)
Do executes the "run.projects.locations.revisions.list" call. Exactly one of *ListRevisionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListRevisionsResponse.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 (*ProjectsLocationsRevisionsListCall) FieldSelector ¶
func (c *ProjectsLocationsRevisionsListCall) FieldSelector(fieldSelector string) *ProjectsLocationsRevisionsListCall
FieldSelector sets the optional parameter "fieldSelector": Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
func (*ProjectsLocationsRevisionsListCall) Fields ¶
func (c *ProjectsLocationsRevisionsListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRevisionsListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRevisionsListCall) Header ¶
func (c *ProjectsLocationsRevisionsListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRevisionsListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRevisionsListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRevisionsListCall
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 (*ProjectsLocationsRevisionsListCall) IncludeUninitialized ¶
func (c *ProjectsLocationsRevisionsListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsRevisionsListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.
func (*ProjectsLocationsRevisionsListCall) LabelSelector ¶
func (c *ProjectsLocationsRevisionsListCall) LabelSelector(labelSelector string) *ProjectsLocationsRevisionsListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*ProjectsLocationsRevisionsListCall) Limit ¶
func (c *ProjectsLocationsRevisionsListCall) Limit(limit int64) *ProjectsLocationsRevisionsListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*ProjectsLocationsRevisionsListCall) ResourceVersion ¶
func (c *ProjectsLocationsRevisionsListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsRevisionsListCall
ResourceVersion sets the optional parameter "resourceVersion": The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
func (*ProjectsLocationsRevisionsListCall) Watch ¶
func (c *ProjectsLocationsRevisionsListCall) Watch(watch bool) *ProjectsLocationsRevisionsListCall
Watch sets the optional parameter "watch": Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
type ProjectsLocationsRevisionsService ¶
type ProjectsLocationsRevisionsService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRevisionsService ¶
func NewProjectsLocationsRevisionsService(s *APIService) *ProjectsLocationsRevisionsService
func (*ProjectsLocationsRevisionsService) Delete ¶
func (r *ProjectsLocationsRevisionsService) Delete(name string) *ProjectsLocationsRevisionsDeleteCall
Delete: Delete a revision.
- name: The name of the revision to delete. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*ProjectsLocationsRevisionsService) Get ¶
func (r *ProjectsLocationsRevisionsService) Get(name string) *ProjectsLocationsRevisionsGetCall
Get: Get information about a revision.
- name: The name of the revision to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*ProjectsLocationsRevisionsService) List ¶
func (r *ProjectsLocationsRevisionsService) List(parent string) *ProjectsLocationsRevisionsListCall
List: List revisions.
- parent: The namespace from which the revisions should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type ProjectsLocationsRoutesGetCall ¶
type ProjectsLocationsRoutesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRoutesGetCall) Context ¶
func (c *ProjectsLocationsRoutesGetCall) Context(ctx context.Context) *ProjectsLocationsRoutesGetCall
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 (*ProjectsLocationsRoutesGetCall) Do ¶
func (c *ProjectsLocationsRoutesGetCall) Do(opts ...googleapi.CallOption) (*Route, error)
Do executes the "run.projects.locations.routes.get" call. Exactly one of *Route or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Route.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 (*ProjectsLocationsRoutesGetCall) Fields ¶
func (c *ProjectsLocationsRoutesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsRoutesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRoutesGetCall) Header ¶
func (c *ProjectsLocationsRoutesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRoutesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsRoutesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsRoutesGetCall
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 ProjectsLocationsRoutesListCall ¶
type ProjectsLocationsRoutesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsRoutesListCall) Context ¶
func (c *ProjectsLocationsRoutesListCall) Context(ctx context.Context) *ProjectsLocationsRoutesListCall
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 (*ProjectsLocationsRoutesListCall) Continue ¶
func (c *ProjectsLocationsRoutesListCall) Continue(continue_ string) *ProjectsLocationsRoutesListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*ProjectsLocationsRoutesListCall) Do ¶
func (c *ProjectsLocationsRoutesListCall) Do(opts ...googleapi.CallOption) (*ListRoutesResponse, error)
Do executes the "run.projects.locations.routes.list" call. Exactly one of *ListRoutesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListRoutesResponse.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 (*ProjectsLocationsRoutesListCall) FieldSelector ¶
func (c *ProjectsLocationsRoutesListCall) FieldSelector(fieldSelector string) *ProjectsLocationsRoutesListCall
FieldSelector sets the optional parameter "fieldSelector": Allows to filter resources based on a specific value for a field name. Send this in a query string format. i.e. 'metadata.name%3Dlorem'. Not currently used by Cloud Run.
func (*ProjectsLocationsRoutesListCall) Fields ¶
func (c *ProjectsLocationsRoutesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsRoutesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsRoutesListCall) Header ¶
func (c *ProjectsLocationsRoutesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsRoutesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsRoutesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsRoutesListCall
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 (*ProjectsLocationsRoutesListCall) IncludeUninitialized ¶
func (c *ProjectsLocationsRoutesListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsRoutesListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.
func (*ProjectsLocationsRoutesListCall) LabelSelector ¶
func (c *ProjectsLocationsRoutesListCall) LabelSelector(labelSelector string) *ProjectsLocationsRoutesListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*ProjectsLocationsRoutesListCall) Limit ¶
func (c *ProjectsLocationsRoutesListCall) Limit(limit int64) *ProjectsLocationsRoutesListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*ProjectsLocationsRoutesListCall) ResourceVersion ¶
func (c *ProjectsLocationsRoutesListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsRoutesListCall
ResourceVersion sets the optional parameter "resourceVersion": The baseline resource version from which the list or watch operation should start. Not currently used by Cloud Run.
func (*ProjectsLocationsRoutesListCall) Watch ¶
func (c *ProjectsLocationsRoutesListCall) Watch(watch bool) *ProjectsLocationsRoutesListCall
Watch sets the optional parameter "watch": Flag that indicates that the client expects to watch this resource as well. Not currently used by Cloud Run.
type ProjectsLocationsRoutesService ¶
type ProjectsLocationsRoutesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsRoutesService ¶
func NewProjectsLocationsRoutesService(s *APIService) *ProjectsLocationsRoutesService
func (*ProjectsLocationsRoutesService) Get ¶
func (r *ProjectsLocationsRoutesService) Get(name string) *ProjectsLocationsRoutesGetCall
Get: Get information about a route.
- name: The name of the route to retrieve. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
func (*ProjectsLocationsRoutesService) List ¶
func (r *ProjectsLocationsRoutesService) List(parent string) *ProjectsLocationsRoutesListCall
List: List routes.
- parent: The namespace from which the routes should be listed. For Cloud Run (fully managed), replace {namespace} with the project ID or number. It takes the form namespaces/{namespace}. For example: namespaces/PROJECT_ID.
type ProjectsLocationsService ¶
type ProjectsLocationsService struct { Authorizeddomains *ProjectsLocationsAuthorizeddomainsService Configurations *ProjectsLocationsConfigurationsService Domainmappings *ProjectsLocationsDomainmappingsService Jobs *ProjectsLocationsJobsService Revisions *ProjectsLocationsRevisionsService Routes *ProjectsLocationsRoutesService Services *ProjectsLocationsServicesService // contains filtered or unexported fields }
func NewProjectsLocationsService ¶
func NewProjectsLocationsService(s *APIService) *ProjectsLocationsService
func (*ProjectsLocationsService) List ¶
func (r *ProjectsLocationsService) List(name string) *ProjectsLocationsListCall
List: Lists information about the supported locations for this service.
- name: The resource that owns the locations collection, if applicable.
type ProjectsLocationsServicesCreateCall ¶
type ProjectsLocationsServicesCreateCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsServicesCreateCall) Context ¶
func (c *ProjectsLocationsServicesCreateCall) Context(ctx context.Context) *ProjectsLocationsServicesCreateCall
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 (*ProjectsLocationsServicesCreateCall) Do ¶
func (c *ProjectsLocationsServicesCreateCall) Do(opts ...googleapi.CallOption) (*Service, error)
Do executes the "run.projects.locations.services.create" call. Exactly one of *Service or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Service.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 (*ProjectsLocationsServicesCreateCall) DryRun ¶
func (c *ProjectsLocationsServicesCreateCall) DryRun(dryRun string) *ProjectsLocationsServicesCreateCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*ProjectsLocationsServicesCreateCall) Fields ¶
func (c *ProjectsLocationsServicesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesCreateCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsServicesCreateCall) Header ¶
func (c *ProjectsLocationsServicesCreateCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsServicesDeleteCall ¶
type ProjectsLocationsServicesDeleteCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsServicesDeleteCall) ApiVersion ¶
func (c *ProjectsLocationsServicesDeleteCall) ApiVersion(apiVersion string) *ProjectsLocationsServicesDeleteCall
ApiVersion sets the optional parameter "apiVersion": Not supported, and ignored by Cloud Run.
func (*ProjectsLocationsServicesDeleteCall) Context ¶
func (c *ProjectsLocationsServicesDeleteCall) Context(ctx context.Context) *ProjectsLocationsServicesDeleteCall
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 (*ProjectsLocationsServicesDeleteCall) Do ¶
func (c *ProjectsLocationsServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Status, error)
Do executes the "run.projects.locations.services.delete" call. Exactly one of *Status or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Status.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 (*ProjectsLocationsServicesDeleteCall) DryRun ¶
func (c *ProjectsLocationsServicesDeleteCall) DryRun(dryRun string) *ProjectsLocationsServicesDeleteCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*ProjectsLocationsServicesDeleteCall) Fields ¶
func (c *ProjectsLocationsServicesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesDeleteCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsServicesDeleteCall) Header ¶
func (c *ProjectsLocationsServicesDeleteCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsServicesDeleteCall) Kind ¶
func (c *ProjectsLocationsServicesDeleteCall) Kind(kind string) *ProjectsLocationsServicesDeleteCall
Kind sets the optional parameter "kind": Not supported, and ignored by Cloud Run.
func (*ProjectsLocationsServicesDeleteCall) PropagationPolicy ¶
func (c *ProjectsLocationsServicesDeleteCall) PropagationPolicy(propagationPolicy string) *ProjectsLocationsServicesDeleteCall
PropagationPolicy sets the optional parameter "propagationPolicy": Not supported, and ignored by Cloud Run.
type ProjectsLocationsServicesGetCall ¶
type ProjectsLocationsServicesGetCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsServicesGetCall) Context ¶
func (c *ProjectsLocationsServicesGetCall) Context(ctx context.Context) *ProjectsLocationsServicesGetCall
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 (*ProjectsLocationsServicesGetCall) Do ¶
func (c *ProjectsLocationsServicesGetCall) Do(opts ...googleapi.CallOption) (*Service, error)
Do executes the "run.projects.locations.services.get" call. Exactly one of *Service or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Service.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 (*ProjectsLocationsServicesGetCall) Fields ¶
func (c *ProjectsLocationsServicesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsServicesGetCall) Header ¶
func (c *ProjectsLocationsServicesGetCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsServicesGetCall) IfNoneMatch ¶
func (c *ProjectsLocationsServicesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesGetCall
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 ProjectsLocationsServicesGetIamPolicyCall ¶
type ProjectsLocationsServicesGetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsServicesGetIamPolicyCall) Context ¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesGetIamPolicyCall
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 (*ProjectsLocationsServicesGetIamPolicyCall) Do ¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "run.projects.locations.services.getIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsServicesGetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesGetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsServicesGetIamPolicyCall) Header ¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsServicesGetIamPolicyCall) IfNoneMatch ¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesGetIamPolicyCall
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 (*ProjectsLocationsServicesGetIamPolicyCall) OptionsRequestedPolicyVersion ¶
func (c *ProjectsLocationsServicesGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersion int64) *ProjectsLocationsServicesGetIamPolicyCall
OptionsRequestedPolicyVersion sets the optional parameter "options.requestedPolicyVersion": The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the IAM documentation (https://cloud.google.com/iam/help/conditions/resource-policies).
type ProjectsLocationsServicesListCall ¶
type ProjectsLocationsServicesListCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsServicesListCall) Context ¶
func (c *ProjectsLocationsServicesListCall) Context(ctx context.Context) *ProjectsLocationsServicesListCall
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 (*ProjectsLocationsServicesListCall) Continue ¶
func (c *ProjectsLocationsServicesListCall) Continue(continue_ string) *ProjectsLocationsServicesListCall
Continue sets the optional parameter "continue": Encoded string to continue paging.
func (*ProjectsLocationsServicesListCall) Do ¶
func (c *ProjectsLocationsServicesListCall) Do(opts ...googleapi.CallOption) (*ListServicesResponse, error)
Do executes the "run.projects.locations.services.list" call. Exactly one of *ListServicesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListServicesResponse.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 (*ProjectsLocationsServicesListCall) FieldSelector ¶
func (c *ProjectsLocationsServicesListCall) FieldSelector(fieldSelector string) *ProjectsLocationsServicesListCall
FieldSelector sets the optional parameter "fieldSelector": Not supported, and ignored by Cloud Run.
func (*ProjectsLocationsServicesListCall) Fields ¶
func (c *ProjectsLocationsServicesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesListCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsServicesListCall) Header ¶
func (c *ProjectsLocationsServicesListCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
func (*ProjectsLocationsServicesListCall) IfNoneMatch ¶
func (c *ProjectsLocationsServicesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsServicesListCall
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 (*ProjectsLocationsServicesListCall) IncludeUninitialized ¶
func (c *ProjectsLocationsServicesListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsServicesListCall
IncludeUninitialized sets the optional parameter "includeUninitialized": Not supported, and ignored by Cloud Run.
func (*ProjectsLocationsServicesListCall) LabelSelector ¶
func (c *ProjectsLocationsServicesListCall) LabelSelector(labelSelector string) *ProjectsLocationsServicesListCall
LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.
func (*ProjectsLocationsServicesListCall) Limit ¶
func (c *ProjectsLocationsServicesListCall) Limit(limit int64) *ProjectsLocationsServicesListCall
Limit sets the optional parameter "limit": The maximum number of records that should be returned.
func (*ProjectsLocationsServicesListCall) ResourceVersion ¶
func (c *ProjectsLocationsServicesListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsServicesListCall
ResourceVersion sets the optional parameter "resourceVersion": Not supported, and ignored by Cloud Run.
func (*ProjectsLocationsServicesListCall) Watch ¶
func (c *ProjectsLocationsServicesListCall) Watch(watch bool) *ProjectsLocationsServicesListCall
Watch sets the optional parameter "watch": Not supported, and ignored by Cloud Run.
type ProjectsLocationsServicesReplaceServiceCall ¶
type ProjectsLocationsServicesReplaceServiceCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsServicesReplaceServiceCall) Context ¶
func (c *ProjectsLocationsServicesReplaceServiceCall) Context(ctx context.Context) *ProjectsLocationsServicesReplaceServiceCall
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 (*ProjectsLocationsServicesReplaceServiceCall) Do ¶
func (c *ProjectsLocationsServicesReplaceServiceCall) Do(opts ...googleapi.CallOption) (*Service, error)
Do executes the "run.projects.locations.services.replaceService" call. Exactly one of *Service or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Service.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 (*ProjectsLocationsServicesReplaceServiceCall) DryRun ¶
func (c *ProjectsLocationsServicesReplaceServiceCall) DryRun(dryRun string) *ProjectsLocationsServicesReplaceServiceCall
DryRun sets the optional parameter "dryRun": Indicates that the server should validate the request and populate default values without persisting the request. Supported values: `all`
func (*ProjectsLocationsServicesReplaceServiceCall) Fields ¶
func (c *ProjectsLocationsServicesReplaceServiceCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesReplaceServiceCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsServicesReplaceServiceCall) Header ¶
func (c *ProjectsLocationsServicesReplaceServiceCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsServicesService ¶
type ProjectsLocationsServicesService struct {
// contains filtered or unexported fields
}
func NewProjectsLocationsServicesService ¶
func NewProjectsLocationsServicesService(s *APIService) *ProjectsLocationsServicesService
func (*ProjectsLocationsServicesService) Create ¶
func (r *ProjectsLocationsServicesService) Create(parent string, service *Service) *ProjectsLocationsServicesCreateCall
Create: Creates a new Service. Service creation will trigger a new deployment. Use GetService, and check service.status to determine if the Service is ready.
- parent: The resource's parent. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`.
func (*ProjectsLocationsServicesService) Delete ¶
func (r *ProjectsLocationsServicesService) Delete(name string) *ProjectsLocationsServicesDeleteCall
Delete: Deletes the provided service. This will cause the Service to stop serving traffic and will delete all associated Revisions.
- name: The fully qualified name of the service to delete. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is regional) * `projects/{project_id_or_number}/locations/{region}/services/{servic e_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_ name}`.
func (*ProjectsLocationsServicesService) Get ¶
func (r *ProjectsLocationsServicesService) Get(name string) *ProjectsLocationsServicesGetCall
Get: Gets information about a service.
- name: The fully qualified name of the service to retrieve. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is regional) * `projects/{project_id_or_number}/locations/{region}/services/{servic e_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_ name}`.
func (*ProjectsLocationsServicesService) GetIamPolicy ¶
func (r *ProjectsLocationsServicesService) GetIamPolicy(resource string) *ProjectsLocationsServicesGetIamPolicyCall
GetIamPolicy: Gets the IAM Access Control policy currently in effect for the given Cloud Run service. This result does not include any inherited policies.
- resource: REQUIRED: The resource for which the policy is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsServicesService) List ¶
func (r *ProjectsLocationsServicesService) List(parent string) *ProjectsLocationsServicesListCall
List: Lists services for the given project and region.
- parent: The parent from where the resources should be listed. In Cloud Run, it may be one of the following: * `{project_id_or_number}` * `namespaces/{project_id_or_number}` * `namespaces/{project_id_or_number}/services` * `projects/{project_id_or_number}/locations/{region}` * `projects/{project_id_or_number}/regions/{region}`.
func (*ProjectsLocationsServicesService) ReplaceService ¶
func (r *ProjectsLocationsServicesService) ReplaceService(name string, service *Service) *ProjectsLocationsServicesReplaceServiceCall
ReplaceService: Replaces a service. Only the spec and metadata labels and annotations are modifiable. After the Update request, Cloud Run will work to make the 'status' match the requested 'spec'. May provide metadata.resourceVersion to enforce update from last read for optimistic concurrency control.
- name: The fully qualified name of the service to replace. It can be any of the following forms: * `namespaces/{project_id_or_number}/services/{service_name}` (only when the `endpoint` is regional) * `projects/{project_id_or_number}/locations/{region}/services/{servic e_name}` * `projects/{project_id_or_number}/regions/{region}/services/{service_ name}`.
func (*ProjectsLocationsServicesService) SetIamPolicy ¶
func (r *ProjectsLocationsServicesService) SetIamPolicy(resource string, setiampolicyrequest *SetIamPolicyRequest) *ProjectsLocationsServicesSetIamPolicyCall
SetIamPolicy: Sets the IAM Access control policy for the specified Service. Overwrites any existing policy.
- resource: REQUIRED: The resource for which the policy is being specified. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
func (*ProjectsLocationsServicesService) TestIamPermissions ¶
func (r *ProjectsLocationsServicesService) TestIamPermissions(resource string, testiampermissionsrequest *TestIamPermissionsRequest) *ProjectsLocationsServicesTestIamPermissionsCall
TestIamPermissions: Returns permissions that a caller has on the specified Project. There are no permissions required for making this API call.
- resource: REQUIRED: The resource for which the policy detail is being requested. See Resource names (https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.
type ProjectsLocationsServicesSetIamPolicyCall ¶
type ProjectsLocationsServicesSetIamPolicyCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsServicesSetIamPolicyCall) Context ¶
func (c *ProjectsLocationsServicesSetIamPolicyCall) Context(ctx context.Context) *ProjectsLocationsServicesSetIamPolicyCall
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 (*ProjectsLocationsServicesSetIamPolicyCall) Do ¶
func (c *ProjectsLocationsServicesSetIamPolicyCall) Do(opts ...googleapi.CallOption) (*Policy, error)
Do executes the "run.projects.locations.services.setIamPolicy" call. Exactly one of *Policy or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Policy.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 (*ProjectsLocationsServicesSetIamPolicyCall) Fields ¶
func (c *ProjectsLocationsServicesSetIamPolicyCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesSetIamPolicyCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsServicesSetIamPolicyCall) Header ¶
func (c *ProjectsLocationsServicesSetIamPolicyCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsLocationsServicesTestIamPermissionsCall ¶
type ProjectsLocationsServicesTestIamPermissionsCall struct {
// contains filtered or unexported fields
}
func (*ProjectsLocationsServicesTestIamPermissionsCall) Context ¶
func (c *ProjectsLocationsServicesTestIamPermissionsCall) Context(ctx context.Context) *ProjectsLocationsServicesTestIamPermissionsCall
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 (*ProjectsLocationsServicesTestIamPermissionsCall) Do ¶
func (c *ProjectsLocationsServicesTestIamPermissionsCall) Do(opts ...googleapi.CallOption) (*TestIamPermissionsResponse, error)
Do executes the "run.projects.locations.services.testIamPermissions" call. Exactly one of *TestIamPermissionsResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *TestIamPermissionsResponse.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 (*ProjectsLocationsServicesTestIamPermissionsCall) Fields ¶
func (c *ProjectsLocationsServicesTestIamPermissionsCall) Fields(s ...googleapi.Field) *ProjectsLocationsServicesTestIamPermissionsCall
Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.
func (*ProjectsLocationsServicesTestIamPermissionsCall) Header ¶
func (c *ProjectsLocationsServicesTestIamPermissionsCall) Header() http.Header
Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.
type ProjectsService ¶
type ProjectsService struct { Authorizeddomains *ProjectsAuthorizeddomainsService Locations *ProjectsLocationsService // contains filtered or unexported fields }
func NewProjectsService ¶
func NewProjectsService(s *APIService) *ProjectsService
type ResourceRecord ¶
type ResourceRecord struct { // Name: Relative name of the object affected by this record. Only // applicable for `CNAME` records. Example: 'www'. Name string `json:"name,omitempty"` // Rrdata: Data for this record. Values vary by record type, as defined // in RFC 1035 (section 5) and RFC 1034 (section 3.6.1). Rrdata string `json:"rrdata,omitempty"` // Type: Resource record type. Example: `AAAA`. // // Possible values: // "RECORD_TYPE_UNSPECIFIED" - An unknown resource record. // "A" - An A resource record. Data is an IPv4 address. // "AAAA" - An AAAA resource record. Data is an IPv6 address. // "CNAME" - A CNAME resource record. Data is a domain name to be // aliased. Type string `json:"type,omitempty"` // ForceSendFields is a list of field names (e.g. "Name") 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. "Name") 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:"-"` }
ResourceRecord: A DNS resource record.
func (*ResourceRecord) MarshalJSON ¶
func (s *ResourceRecord) MarshalJSON() ([]byte, error)
type ResourceRequirements ¶
type ResourceRequirements struct { // Limits: Limits describes the maximum amount of compute resources // allowed. Only 'cpu' and 'memory' keys are supported. * For supported // 'cpu' values, go to // https://cloud.google.com/run/docs/configuring/cpu. * For supported // 'memory' values and syntax, go to // https://cloud.google.com/run/docs/configuring/memory-limits Limits map[string]string `json:"limits,omitempty"` // Requests: Requests describes the minimum amount of compute resources // required. Only `cpu` and `memory` are supported. If Requests is // omitted for a container, it defaults to Limits if that is explicitly // specified, otherwise to an implementation-defined value. * For // supported 'cpu' values, go to // https://cloud.google.com/run/docs/configuring/cpu. * For supported // 'memory' values and syntax, go to // https://cloud.google.com/run/docs/configuring/memory-limits Requests map[string]string `json:"requests,omitempty"` // ForceSendFields is a list of field names (e.g. "Limits") 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. "Limits") 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:"-"` }
ResourceRequirements: ResourceRequirements describes the compute resource requirements.
func (*ResourceRequirements) MarshalJSON ¶
func (s *ResourceRequirements) MarshalJSON() ([]byte, error)
type Revision ¶
type Revision struct { // ApiVersion: The API version for this call such as // "serving.knative.dev/v1". ApiVersion string `json:"apiVersion,omitempty"` // Kind: The kind of this resource, in this case "Revision". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this Revision, including name, // namespace, labels, and annotations. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: Spec holds the desired state of the Revision (from the client). Spec *RevisionSpec `json:"spec,omitempty"` // Status: Status communicates the observed state of the Revision (from // the controller). Status *RevisionStatus `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
Revision: Revision is an immutable snapshot of code and configuration. A revision references a container image. Revisions are created by updates to a Configuration. See also: https://github.com/knative/specs/blob/main/specs/serving/overview.md#revision
func (*Revision) MarshalJSON ¶
type RevisionSpec ¶
type RevisionSpec struct { // ContainerConcurrency: ContainerConcurrency specifies the maximum // allowed in-flight (concurrent) requests per container instance of the // Revision. If not specified, defaults to 80. ContainerConcurrency int64 `json:"containerConcurrency,omitempty"` // Containers: Containers holds the single container that defines the // unit of execution for this Revision. In the context of a Revision, we // disallow a number of fields on this Container, including: name and // lifecycle. In Cloud Run, only a single container may be provided. Containers []*Container `json:"containers,omitempty"` // EnableServiceLinks: Not supported by Cloud Run. EnableServiceLinks bool `json:"enableServiceLinks,omitempty"` // ImagePullSecrets: Not supported by Cloud Run. ImagePullSecrets []*LocalObjectReference `json:"imagePullSecrets,omitempty"` // ServiceAccountName: Email address of the IAM service account // associated with the revision of the service. The service account // represents the identity of the running revision, and determines what // permissions the revision has. If not provided, the revision will use // the project's default service account. ServiceAccountName string `json:"serviceAccountName,omitempty"` // TimeoutSeconds: TimeoutSeconds holds the max duration the instance is // allowed for responding to a request. Cloud Run: defaults to 300 // seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour). TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"` Volumes []*Volume `json:"volumes,omitempty"` // ForceSendFields is a list of field names (e.g. // "ContainerConcurrency") 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. "ContainerConcurrency") 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:"-"` }
RevisionSpec: RevisionSpec holds the desired state of the Revision (from the client).
func (*RevisionSpec) MarshalJSON ¶
func (s *RevisionSpec) MarshalJSON() ([]byte, error)
type RevisionStatus ¶
type RevisionStatus struct { // Conditions: Conditions communicate information about ongoing/complete // reconciliation processes that bring the "spec" inline with the // observed state of the world. As a Revision is being prepared, it will // incrementally update conditions. Revision-specific conditions // include: * `ResourcesAvailable`: `True` when underlying resources // have been provisioned. * `ContainerHealthy`: `True` when the Revision // readiness check completes. * `Active`: `True` when the Revision may // receive traffic. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // DesiredReplicas: Output only. The configured number of instances // running this revision. For Cloud Run, this only includes instances // provisioned using the minScale annotation. It does not include // instances created by autoscaling. DesiredReplicas int64 `json:"desiredReplicas,omitempty"` // ImageDigest: ImageDigest holds the resolved digest for the image // specified within .Spec.Container.Image. The digest is resolved during // the creation of Revision. This field holds the digest value // regardless of whether a tag or digest was originally specified in the // Container object. ImageDigest string `json:"imageDigest,omitempty"` // LogUrl: Optional. Specifies the generated logging url for this // particular revision based on the revision url template specified in // the controller's config. LogUrl string `json:"logUrl,omitempty"` // ObservedGeneration: ObservedGeneration is the 'Generation' of the // Revision that was last processed by the controller. Clients polling // for completed reconciliation should poll until observedGeneration = // metadata.generation, and the Ready condition's status is True or // False. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // ServiceName: Not currently used by Cloud Run. ServiceName string `json:"serviceName,omitempty"` // ForceSendFields is a list of field names (e.g. "Conditions") 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. "Conditions") 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:"-"` }
RevisionStatus: RevisionStatus communicates the observed state of the Revision (from the controller).
func (*RevisionStatus) MarshalJSON ¶
func (s *RevisionStatus) MarshalJSON() ([]byte, error)
type RevisionTemplate ¶
type RevisionTemplate struct { // Metadata: Optional metadata for this Revision, including labels and // annotations. Name will be generated by the Configuration. The // following annotation keys set properties of the created revision: * // `autoscaling.knative.dev/minScale` sets the minimum number of // instances. * `autoscaling.knative.dev/maxScale` sets the maximum // number of instances. * `run.googleapis.com/cloudsql-instances` sets // Cloud SQL connections. Multiple values should be comma separated. * // `run.googleapis.com/vpc-access-connector` sets a Serverless VPC // Access connector. * `run.googleapis.com/vpc-access-egress` sets VPC // egress. Supported values are `all-traffic`, `all` (deprecated), and // `private-ranges-only`. `all-traffic` and `all` provide the same // functionality. `all` is deprecated but will continue to be supported. // Prefer `all-traffic`. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: RevisionSpec holds the desired state of the Revision (from the // client). Spec *RevisionSpec `json:"spec,omitempty"` // ForceSendFields is a list of field names (e.g. "Metadata") 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. "Metadata") 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:"-"` }
RevisionTemplate: RevisionTemplateSpec describes the data a revision should have when created from a template.
func (*RevisionTemplate) MarshalJSON ¶
func (s *RevisionTemplate) MarshalJSON() ([]byte, error)
type Route ¶
type Route struct { // ApiVersion: The API version for this call such as // "serving.knative.dev/v1". ApiVersion string `json:"apiVersion,omitempty"` // Kind: The kind of this resource, in this case always "Route". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this Route, including name, // namespace, labels, and annotations. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: Spec holds the desired state of the Route (from the client). Spec *RouteSpec `json:"spec,omitempty"` // Status: Status communicates the observed state of the Route (from the // controller). Status *RouteStatus `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
Route: Route is responsible for configuring ingress over a collection of Revisions. Some of the Revisions a Route distributes traffic over may be specified by referencing the Configuration responsible for creating them; in these cases the Route is additionally responsible for monitoring the Configuration for "latest ready" revision changes, and smoothly rolling out latest revisions. Cloud Run currently supports referencing a single Configuration to automatically deploy the "latest ready" Revision from that Configuration.
func (*Route) MarshalJSON ¶
type RouteSpec ¶
type RouteSpec struct { // Traffic: Traffic specifies how to distribute traffic over a // collection of Knative Revisions and Configurations. Cloud Run // currently supports a single configurationName. Traffic []*TrafficTarget `json:"traffic,omitempty"` // ForceSendFields is a list of field names (e.g. "Traffic") 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. "Traffic") 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:"-"` }
RouteSpec: RouteSpec holds the desired state of the Route (from the client).
func (*RouteSpec) MarshalJSON ¶
type RouteStatus ¶
type RouteStatus struct { // Address: Similar to url, information on where the service is // available on HTTP. Address *Addressable `json:"address,omitempty"` // Conditions: Conditions communicates information about // ongoing/complete reconciliation processes that bring the "spec" // inline with the observed state of the world. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // ObservedGeneration: ObservedGeneration is the 'Generation' of the // Route that was last processed by the controller. Clients polling for // completed reconciliation should poll until observedGeneration = // metadata.generation and the Ready condition's status is True or // False. Note that providing a TrafficTarget that has // latest_revision=True will result in a Route that does not increment // either its metadata.generation or its observedGeneration, as new // "latest ready" revisions from the Configuration are processed without // an update to the Route's spec. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Traffic: Traffic holds the configured traffic distribution. These // entries will always contain RevisionName references. When // ConfigurationName appears in the spec, this will hold the // LatestReadyRevisionName that was last observed. Traffic []*TrafficTarget `json:"traffic,omitempty"` // Url: URL holds the url that will distribute traffic over the provided // traffic targets. It generally has the form: // `https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app` Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") 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. "Address") 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:"-"` }
RouteStatus: RouteStatus communicates the observed state of the Route (from the controller).
func (*RouteStatus) MarshalJSON ¶
func (s *RouteStatus) MarshalJSON() ([]byte, error)
type RunJobRequest ¶
type RunJobRequest struct { // Overrides: Optional. Overrides existing job configuration for one // specific new job execution only, using the specified values to update // the job configuration for the new execution. Overrides *Overrides `json:"overrides,omitempty"` // ForceSendFields is a list of field names (e.g. "Overrides") 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. "Overrides") 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:"-"` }
RunJobRequest: Request message for creating a new execution of a job.
func (*RunJobRequest) MarshalJSON ¶
func (s *RunJobRequest) MarshalJSON() ([]byte, error)
type SecretEnvSource ¶
type SecretEnvSource struct { // LocalObjectReference: This field should not be used directly as it is // meant to be inlined directly into the message. Use the "name" field // instead. LocalObjectReference *LocalObjectReference `json:"localObjectReference,omitempty"` // Name: The Secret to select from. Name string `json:"name,omitempty"` // Optional: Specify whether the Secret must be defined Optional bool `json:"optional,omitempty"` // ForceSendFields is a list of field names (e.g. // "LocalObjectReference") 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. "LocalObjectReference") 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:"-"` }
SecretEnvSource: Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
func (*SecretEnvSource) MarshalJSON ¶
func (s *SecretEnvSource) MarshalJSON() ([]byte, error)
type SecretKeySelector ¶
type SecretKeySelector struct { // Key: Required. A Cloud Secret Manager secret version. Must be // 'latest' for the latest version, an integer for a specific version, // or a version alias. The key of the secret to select from. Must be a // valid secret key. Key string `json:"key,omitempty"` // LocalObjectReference: This field should not be used directly as it is // meant to be inlined directly into the message. Use the "name" field // instead. LocalObjectReference *LocalObjectReference `json:"localObjectReference,omitempty"` // Name: The name of the secret in Cloud Secret Manager. By default, the // secret is assumed to be in the same project. If the secret is in // another project, you must define an alias. An alias definition has // the form: :projects//secrets/. If multiple alias definitions are // needed, they must be separated by commas. The alias definitions must // be set on the run.googleapis.com/secrets annotation. The name of the // secret in the pod's namespace to select from. Name string `json:"name,omitempty"` // Optional: Specify whether the Secret or its key must be defined. Optional bool `json:"optional,omitempty"` // ForceSendFields is a list of field names (e.g. "Key") 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. "Key") 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:"-"` }
SecretKeySelector: SecretKeySelector selects a key of a Secret.
func (*SecretKeySelector) MarshalJSON ¶
func (s *SecretKeySelector) MarshalJSON() ([]byte, error)
type SecretVolumeSource ¶
type SecretVolumeSource struct { // DefaultMode: Integer representation of mode bits to use on created // files by default. Must be a value between 01 and 0777 (octal). If 0 // or not set, it will default to 0444. Directories within the path are // not affected by this setting. Notes * Internally, a umask of 0222 // will be applied to any non-zero value. * This is an integer // representation of the mode bits. So, the octal integer value should // look exactly as the chmod numeric notation with a leading zero. Some // examples: for chmod 777 (a=rwx), set to 0777 (octal) or 511 // (base-10). For chmod 640 (u=rw,g=r), set to 0640 (octal) or 416 // (base-10). For chmod 755 (u=rwx,g=rx,o=rx), set to 0755 (octal) or // 493 (base-10). * This might be in conflict with other options that // affect the file mode, like fsGroup, and the result can be other mode // bits set. DefaultMode int64 `json:"defaultMode,omitempty"` // Items: A list of secret versions to mount in the volume. If no items // are specified, the volume will expose a file with the same name as // the secret name. The contents of the file will be the data in the // latest version of the secret. If items are specified, the key will be // used as the version to fetch from Cloud Secret Manager and the path // will be the name of the file exposed in the volume. When items are // defined, they must specify both a key and a path. Items []*KeyToPath `json:"items,omitempty"` // Optional: Not supported by Cloud Run. Optional bool `json:"optional,omitempty"` // SecretName: The name of the secret in Cloud Secret Manager. By // default, the secret is assumed to be in the same project. If the // secret is in another project, you must define an alias. An alias // definition has the form: :projects//secrets/. If multiple alias // definitions are needed, they must be separated by commas. The alias // definitions must be set on the run.googleapis.com/secrets annotation. // Name of the secret in the container's namespace to use. SecretName string `json:"secretName,omitempty"` // ForceSendFields is a list of field names (e.g. "DefaultMode") 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. "DefaultMode") 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:"-"` }
SecretVolumeSource: A volume representing a secret stored in Google Secret Manager. The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names.
func (*SecretVolumeSource) MarshalJSON ¶
func (s *SecretVolumeSource) MarshalJSON() ([]byte, error)
type SecurityContext ¶
type SecurityContext struct { // RunAsUser: The UID to run the entrypoint of the container process. // Defaults to user specified in image metadata if unspecified. May also // be set in PodSecurityContext. If set in both SecurityContext and // PodSecurityContext, the value specified in SecurityContext takes // precedence. RunAsUser int64 `json:"runAsUser,omitempty"` // ForceSendFields is a list of field names (e.g. "RunAsUser") 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. "RunAsUser") 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:"-"` }
SecurityContext: Not supported by Cloud Run. SecurityContext holds security configuration that will be applied to a container. Some fields are present in both SecurityContext and PodSecurityContext. When both are set, the values in SecurityContext take precedence.
func (*SecurityContext) MarshalJSON ¶
func (s *SecurityContext) MarshalJSON() ([]byte, error)
type Service ¶
type Service struct { // ApiVersion: The API version for this call. It must be // "serving.knative.dev/v1". ApiVersion string `json:"apiVersion,omitempty"` // Kind: The kind of resource. It must be "Service". Kind string `json:"kind,omitempty"` // Metadata: Metadata associated with this Service, including name, // namespace, labels, and annotations. In Cloud Run, annotations with // 'run.googleapis.com/' and 'autoscaling.knative.dev' are restricted, // and the accepted annotations will be different depending on the // resource type. The following Cloud Run-specific annotations are // accepted in Service.metadata.annotations. * // `run.googleapis.com/binary-authorization-breakglass` * // `run.googleapis.com/binary-authorization` * // `run.googleapis.com/client-name` * // `run.googleapis.com/custom-audiences` * // `run.googleapis.com/description` * // `run.googleapis.com/disable-default-url` * // `run.googleapis.com/gc-traffic-tags` * `run.googleapis.com/ingress` * // `run.googleapis.com/ingress` sets the ingress settings for the // Service. See the ingress settings documentation // (/run/docs/securing/ingress) for details on configuring ingress // settings. * `run.googleapis.com/ingress-status` is output-only and // contains the currently active ingress settings for the Service. // `run.googleapis.com/ingress-status` may differ from // `run.googleapis.com/ingress` while the system is processing a change // to `run.googleapis.com/ingress` or if the system failed to process a // change to `run.googleapis.com/ingress`. When the system has processed // all changes successfully `run.googleapis.com/ingress-status` and // `run.googleapis.com/ingress` are equal. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: Holds the desired state of the Service (from the client). Spec *ServiceSpec `json:"spec,omitempty"` // Status: Communicates the system-controlled state of the Service. Status *ServiceStatus `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
Service: Service acts as a top-level container that manages a set of Routes and Configurations which implement a network service. Service exists to provide a singular abstraction which can be access controlled, reasoned about, and which encapsulates software lifecycle decisions such as rollout policy and team resource ownership. Service acts only as an orchestrator of the underlying Routes and Configurations (much as a kubernetes Deployment orchestrates ReplicaSets). The Service's controller will track the statuses of its owned Configuration and Route, reflecting their statuses and conditions as its own.
func (*Service) MarshalJSON ¶
type ServiceSpec ¶
type ServiceSpec struct { // Template: Holds the latest specification for the Revision to be // stamped out. Template *RevisionTemplate `json:"template,omitempty"` // Traffic: Specifies how to distribute traffic over a collection of // Knative Revisions and Configurations to the Service's main URL. Traffic []*TrafficTarget `json:"traffic,omitempty"` // ForceSendFields is a list of field names (e.g. "Template") 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. "Template") 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:"-"` }
ServiceSpec: ServiceSpec holds the desired state of the Route (from the client), which is used to manipulate the underlying Route and Configuration(s).
func (*ServiceSpec) MarshalJSON ¶
func (s *ServiceSpec) MarshalJSON() ([]byte, error)
type ServiceStatus ¶
type ServiceStatus struct { // Address: Similar to url, information on where the service is // available on HTTP. Address *Addressable `json:"address,omitempty"` // Conditions: Conditions communicate information about ongoing/complete // reconciliation processes that bring the `spec` inline with the // observed state of the world. Service-specific conditions include: * // `ConfigurationsReady`: `True` when the underlying Configuration is // ready. * `RoutesReady`: `True` when the underlying Route is ready. * // `Ready`: `True` when all underlying resources are ready. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // LatestCreatedRevisionName: Name of the last revision that was created // from this Service's Configuration. It might not be ready yet, for // that use LatestReadyRevisionName. LatestCreatedRevisionName string `json:"latestCreatedRevisionName,omitempty"` // LatestReadyRevisionName: Name of the latest Revision from this // Service's Configuration that has had its `Ready` condition become // `True`. LatestReadyRevisionName string `json:"latestReadyRevisionName,omitempty"` // ObservedGeneration: Returns the generation last seen by the system. // Clients polling for completed reconciliation should poll until // observedGeneration = metadata.generation and the Ready condition's // status is True or False. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Traffic: Holds the configured traffic distribution. These entries // will always contain RevisionName references. When ConfigurationName // appears in the spec, this will hold the LatestReadyRevisionName that // we last observed. Traffic []*TrafficTarget `json:"traffic,omitempty"` // Url: URL that will distribute traffic over the provided traffic // targets. It generally has the form // `https://{route-hash}-{project-hash}-{cluster-level-suffix}.a.run.app` Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "Address") 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. "Address") 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:"-"` }
ServiceStatus: The current state of the Service. Output only.
func (*ServiceStatus) MarshalJSON ¶
func (s *ServiceStatus) MarshalJSON() ([]byte, error)
type SetIamPolicyRequest ¶
type SetIamPolicyRequest struct { // Policy: REQUIRED: The complete policy to be applied to the // `resource`. The size of the policy is limited to a few 10s of KB. An // empty policy is a valid policy but certain Google Cloud services // (such as Projects) might reject them. Policy *Policy `json:"policy,omitempty"` // UpdateMask: OPTIONAL: A FieldMask specifying which fields of the // policy to modify. Only the fields in the mask will be modified. If no // mask is provided, the following default mask is used: `paths: // "bindings, etag" UpdateMask string `json:"updateMask,omitempty"` // ForceSendFields is a list of field names (e.g. "Policy") 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. "Policy") 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:"-"` }
SetIamPolicyRequest: Request message for `SetIamPolicy` method.
func (*SetIamPolicyRequest) MarshalJSON ¶
func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error)
type Status ¶
type Status struct { // Code: Suggested HTTP return code for this status, 0 if not set. Code int64 `json:"code,omitempty"` // Details: Extended data associated with the reason. Each reason may // define its own extended details. This field is optional and the data // returned is not guaranteed to conform to any schema except that // defined by the reason type. Details *StatusDetails `json:"details,omitempty"` // Message: A human-readable description of the status of this // operation. Message string `json:"message,omitempty"` // Metadata: Standard list metadata. Metadata *ListMeta `json:"metadata,omitempty"` // Reason: A machine-readable description of why this operation is in // the "Failure" status. If this value is empty there is no information // available. A Reason clarifies an HTTP status code but does not // override it. Reason string `json:"reason,omitempty"` // Status: Status of the operation. One of: "Success" or "Failure". Status string `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // 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:"-"` }
Status: Status is a return value for calls that don't return other objects.
func (*Status) MarshalJSON ¶
type StatusCause ¶
type StatusCause struct { // Field: The field of the resource that has caused this error, as named // by its JSON serialization. May include dot and postfix notation for // nested attributes. Arrays are zero-indexed. Fields may appear more // than once in an array of causes due to fields having multiple errors. // Examples: "name" - the field "name" on the current resource // "items[0].name" - the field "name" on the first array entry in // "items" Field string `json:"field,omitempty"` // Message: A human-readable description of the cause of the error. This // field may be presented as-is to a reader. Message string `json:"message,omitempty"` // Reason: A machine-readable description of the cause of the error. If // this value is empty there is no information available. Reason string `json:"reason,omitempty"` // ForceSendFields is a list of field names (e.g. "Field") 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. "Field") 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:"-"` }
StatusCause: StatusCause provides more information about an api.Status failure, including cases when multiple errors are encountered.
func (*StatusCause) MarshalJSON ¶
func (s *StatusCause) MarshalJSON() ([]byte, error)
type StatusDetails ¶
type StatusDetails struct { // Causes: The Causes array includes more details associated with the // StatusReason failure. Not all StatusReasons may provide detailed // causes. Causes []*StatusCause `json:"causes,omitempty"` // Group: The group attribute of the resource associated with the status // StatusReason. Group string `json:"group,omitempty"` // Kind: The kind attribute of the resource associated with the status // StatusReason. On some operations may differ from the requested // resource Kind. Kind string `json:"kind,omitempty"` // Name: The name attribute of the resource associated with the status // StatusReason (when there is a single name which can be described). Name string `json:"name,omitempty"` // RetryAfterSeconds: If specified, the time in seconds before the // operation should be retried. Some errors may indicate the client must // take an alternate action - for those errors this field may indicate // how long to wait before taking the alternate action. RetryAfterSeconds int64 `json:"retryAfterSeconds,omitempty"` // Uid: UID of the resource. (when there is a single resource which can // be described). Uid string `json:"uid,omitempty"` // ForceSendFields is a list of field names (e.g. "Causes") 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. "Causes") 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:"-"` }
StatusDetails: StatusDetails is a set of additional properties that MAY be set by the server to provide additional information about a response. The Reason field of a Status object defines what attributes will be set. Clients must ignore fields that do not match the defined type of each attribute, and should assume that any attribute may be empty, invalid, or under defined.
func (*StatusDetails) MarshalJSON ¶
func (s *StatusDetails) MarshalJSON() ([]byte, error)
type TCPSocketAction ¶
type TCPSocketAction struct { // Host: Not supported by Cloud Run. Host string `json:"host,omitempty"` // Port: Port number to access on the container. Number must be in the // range 1 to 65535. Port int64 `json:"port,omitempty"` // ForceSendFields is a list of field names (e.g. "Host") 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. "Host") 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:"-"` }
TCPSocketAction: TCPSocketAction describes an action based on opening a socket
func (*TCPSocketAction) MarshalJSON ¶
func (s *TCPSocketAction) MarshalJSON() ([]byte, error)
type Task ¶
type Task struct { // ApiVersion: Optional. APIVersion defines the versioned schema of this // representation of an object. Servers should convert recognized // schemas to the latest internal value, and may reject unrecognized // values. ApiVersion string `json:"apiVersion,omitempty"` // Kind: Optional. Kind is a string value representing the REST resource // this object represents. Servers may infer this from the endpoint the // client submits requests to. Cannot be updated. In CamelCase. Kind string `json:"kind,omitempty"` // Metadata: Optional. Standard object's metadata. Metadata *ObjectMeta `json:"metadata,omitempty"` // Spec: Optional. Specification of the desired behavior of a task. Spec *TaskSpec `json:"spec,omitempty"` // Status: Output only. Current status of a task. Status *TaskStatus `json:"status,omitempty"` // ServerResponse contains the HTTP response code and headers from the // server. googleapi.ServerResponse `json:"-"` // ForceSendFields is a list of field names (e.g. "ApiVersion") 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. "ApiVersion") 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:"-"` }
Task: Task represents a single run of a container to completion.
func (*Task) MarshalJSON ¶
type TaskAttemptResult ¶
type TaskAttemptResult struct { // ExitCode: Optional. The exit code of this attempt. This may be unset // if the container was unable to exit cleanly with a code due to some // other failure. See status field for possible failure details. ExitCode int64 `json:"exitCode,omitempty"` // Status: Optional. The status of this attempt. If the status code is // OK, then the attempt succeeded. Status *GoogleRpcStatus `json:"status,omitempty"` // ForceSendFields is a list of field names (e.g. "ExitCode") 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. "ExitCode") 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:"-"` }
TaskAttemptResult: Result of a task attempt.
func (*TaskAttemptResult) MarshalJSON ¶
func (s *TaskAttemptResult) MarshalJSON() ([]byte, error)
type TaskSpec ¶
type TaskSpec struct { // Containers: Optional. List of containers belonging to the task. We // disallow a number of fields on this Container. Only a single // container may be provided. Containers []*Container `json:"containers,omitempty"` // MaxRetries: Optional. Number of retries allowed per task, before // marking this job failed. Defaults to 3. MaxRetries int64 `json:"maxRetries,omitempty"` // ServiceAccountName: Optional. Email address of the IAM service // account associated with the task of a job execution. The service // account represents the identity of the running task, and determines // what permissions the task has. If not provided, the task will use the // project's default service account. ServiceAccountName string `json:"serviceAccountName,omitempty"` // TimeoutSeconds: Optional. Duration in seconds the task may be active // before the system will actively try to mark it failed and kill // associated containers. This applies per attempt of a task, meaning // each retry can run for the full timeout. Defaults to 600 seconds. TimeoutSeconds int64 `json:"timeoutSeconds,omitempty,string"` // Volumes: Optional. List of volumes that can be mounted by containers // belonging to the task. Volumes []*Volume `json:"volumes,omitempty"` // ForceSendFields is a list of field names (e.g. "Containers") 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. "Containers") 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:"-"` }
TaskSpec: TaskSpec is a description of a task.
func (*TaskSpec) MarshalJSON ¶
type TaskStatus ¶
type TaskStatus struct { // CompletionTime: Optional. Represents time when the task was // completed. It is not guaranteed to be set in happens-before order // across separate operations. It is represented in RFC3339 form and is // in UTC. CompletionTime string `json:"completionTime,omitempty"` // Conditions: Optional. Conditions communicate information about // ongoing/complete reconciliation processes that bring the "spec" // inline with the observed state of the world. Task-specific conditions // include: * `Started`: `True` when the task has started to execute. * // `Completed`: `True` when the task has succeeded. `False` when the // task has failed. Conditions []*GoogleCloudRunV1Condition `json:"conditions,omitempty"` // Index: Required. Index of the task, unique per execution, and // beginning at 0. Index int64 `json:"index,omitempty"` // LastAttemptResult: Optional. Result of the last attempt of this task. LastAttemptResult *TaskAttemptResult `json:"lastAttemptResult,omitempty"` // LogUri: Optional. URI where logs for this task can be found in Cloud // Console. LogUri string `json:"logUri,omitempty"` // ObservedGeneration: Optional. The 'generation' of the task that was // last processed by the controller. ObservedGeneration int64 `json:"observedGeneration,omitempty"` // Retried: Optional. The number of times this task was retried. // Instances are retried when they fail up to the maxRetries limit. Retried int64 `json:"retried,omitempty"` // StartTime: Optional. Represents time when the task started to run. It // is not guaranteed to be set in happens-before order across separate // operations. It is represented in RFC3339 form and is in UTC. StartTime string `json:"startTime,omitempty"` // ForceSendFields is a list of field names (e.g. "CompletionTime") 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. "CompletionTime") 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:"-"` }
TaskStatus: TaskStatus represents the status of a task.
func (*TaskStatus) MarshalJSON ¶
func (s *TaskStatus) MarshalJSON() ([]byte, error)
type TaskTemplateSpec ¶
type TaskTemplateSpec struct { // Spec: Optional. Specification of the desired behavior of the task. Spec *TaskSpec `json:"spec,omitempty"` // ForceSendFields is a list of field names (e.g. "Spec") 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. "Spec") 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:"-"` }
TaskTemplateSpec: TaskTemplateSpec describes the data a task should have when created from a template.
func (*TaskTemplateSpec) MarshalJSON ¶
func (s *TaskTemplateSpec) MarshalJSON() ([]byte, error)
type TestIamPermissionsRequest ¶
type TestIamPermissionsRequest struct { // Permissions: The set of permissions to check for the `resource`. // Permissions with wildcards (such as `*` or `storage.*`) are not // allowed. For more information see IAM Overview // (https://cloud.google.com/iam/docs/overview#permissions). Permissions []string `json:"permissions,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:"-"` }
TestIamPermissionsRequest: Request message for `TestIamPermissions` method.
func (*TestIamPermissionsRequest) MarshalJSON ¶
func (s *TestIamPermissionsRequest) MarshalJSON() ([]byte, error)
type TestIamPermissionsResponse ¶
type TestIamPermissionsResponse struct { // Permissions: A subset of `TestPermissionsRequest.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:"-"` }
TestIamPermissionsResponse: Response message for `TestIamPermissions` method.
func (*TestIamPermissionsResponse) MarshalJSON ¶
func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error)
type TrafficTarget ¶
type TrafficTarget struct { // ConfigurationName: [Deprecated] Not supported in Cloud Run. It must // be empty. ConfigurationName string `json:"configurationName,omitempty"` // LatestRevision: Uses the "status.latestReadyRevisionName" of the // Service to determine the traffic target. When it changes, traffic // will automatically migrate from the prior "latest ready" revision to // the new one. This field must be false if RevisionName is set. This // field defaults to true otherwise. If the field is set to true on // Status, this means that the Revision was resolved from the Service's // latest ready revision. LatestRevision bool `json:"latestRevision,omitempty"` // Percent: Percent specifies percent of the traffic to this Revision or // Configuration. This defaults to zero if unspecified. Percent int64 `json:"percent,omitempty"` // RevisionName: Points this traffic target to a specific Revision. This // field is mutually exclusive with latest_revision. RevisionName string `json:"revisionName,omitempty"` // Tag: Tag is used to expose a dedicated url for referencing this // target exclusively. Tag string `json:"tag,omitempty"` // Url: Output only. URL displays the URL for accessing tagged traffic // targets. URL is displayed in status, and is disallowed on spec. URL // must contain a scheme (e.g. https://) and a hostname, but may not // contain anything else (e.g. basic auth, url path, etc.) Url string `json:"url,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfigurationName") // 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. "ConfigurationName") 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:"-"` }
TrafficTarget: TrafficTarget holds a single entry of the routing table for a Route.
func (*TrafficTarget) MarshalJSON ¶
func (s *TrafficTarget) MarshalJSON() ([]byte, error)
type Volume ¶
type Volume struct { // ConfigMap: Not supported in Cloud Run. ConfigMap *ConfigMapVolumeSource `json:"configMap,omitempty"` // EmptyDir: Ephemeral storage used as a shared volume. EmptyDir *EmptyDirVolumeSource `json:"emptyDir,omitempty"` // Name: Volume's name. In Cloud Run Fully Managed, the name 'cloudsql' // is reserved. Name string `json:"name,omitempty"` // Secret: The secret's value will be presented as the content of a file // whose name is defined in the item path. If no items are defined, the // name of the file is the secretName. Secret *SecretVolumeSource `json:"secret,omitempty"` // ForceSendFields is a list of field names (e.g. "ConfigMap") 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. "ConfigMap") 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:"-"` }
Volume: Volume represents a named volume in a container.
func (*Volume) MarshalJSON ¶
type VolumeMount ¶
type VolumeMount struct { // MountPath: Required. Path within the container at which the volume // should be mounted. Must not contain ':'. MountPath string `json:"mountPath,omitempty"` // Name: Required. The name of the volume. There must be a corresponding // Volume with the same name. Name string `json:"name,omitempty"` // ReadOnly: Sets the mount to be read-only or read-write. Not used by // Cloud Run. ReadOnly bool `json:"readOnly,omitempty"` // SubPath: Path within the volume from which the container's volume // should be mounted. Defaults to "" (volume's root). SubPath string `json:"subPath,omitempty"` // ForceSendFields is a list of field names (e.g. "MountPath") 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. "MountPath") 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:"-"` }
VolumeMount: VolumeMount describes a mounting of a Volume within a container.
func (*VolumeMount) MarshalJSON ¶
func (s *VolumeMount) MarshalJSON() ([]byte, error)