api: google.golang.org/api/run/v1alpha1 Index | Files

package run

import "google.golang.org/api/run/v1alpha1"

Package run provides access to the Cloud Run API.

For product documentation, see: https://cloud.google.com/run/

Creating a client

Usage example:

import "google.golang.org/api/run/v1alpha1"
...
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 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 option.WithTokenSource:

config := &oauth2.Config{...}
// ...
token, err := config.Exchange(ctx, ...)
runService, err := run.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

See https://godoc.org/google.golang.org/api/option/ for details on options.

Index

Package Files

run-gen.go

Constants

const (
    // View and manage your data across Google Cloud Platform services
    CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform"
)

OAuth2 scopes used by this API.

type APIService Uses

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 Uses

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 Uses

func NewService(ctx context.Context, opts ...option.ClientOption) (*APIService, error)

NewService creates a new APIService.

type Addressable Uses

type Addressable struct {
    // Hostname: Deprecated - use url instead.
    Hostname string `json:"hostname,omitempty"`

    Url string `json:"url,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Hostname") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Hostname") 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 Uses

func (s *Addressable) MarshalJSON() ([]byte, error)

type AuditConfig Uses

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 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 Uses

func (s *AuditConfig) MarshalJSON() ([]byte, error)

type AuditLogConfig Uses

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 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 Uses

func (s *AuditLogConfig) MarshalJSON() ([]byte, error)

type AuthorizedDomain Uses

type AuthorizedDomain struct {
    // Id: Relative name of the domain authorized for use. Example:
    // `example.com`.
    Id  string `json:"id,omitempty"`

    // Name: Read only. Full path to the `AuthorizedDomain` resource in the
    // API.
    // Example: `apps/myapp/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 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 [Webmaster Central](https://www.google.com/webmasters/verification/home).

func (*AuthorizedDomain) MarshalJSON Uses

func (s *AuthorizedDomain) MarshalJSON() ([]byte, error)

type Binding Uses

type Binding struct {
    // Condition: The condition that is associated with this binding.
    // NOTE: An unsatisfied condition will not allow user access via
    // current
    // binding. Different bindings, including their conditions, are
    // examined
    // independently.
    Condition *Expr `json:"condition,omitempty"`

    // Members: Specifies the identities requesting access for a Cloud
    // Platform 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.
    //
    // * `user:{emailid}`: An email address that represents a specific
    // Google
    //    account. For example, `alice@example.com` .
    //
    //
    // * `serviceAccount:{emailid}`: An email address that represents a
    // service
    //    account. For example,
    // `my-other-app@appspot.gserviceaccount.com`.
    //
    // * `group:{emailid}`: An email address that represents a Google
    // group.
    //    For example, `admins@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.
    //
    //
    // * `domain:{domain}`: The G Suite domain (primary) that represents all
    // the
    //    users of that domain. For example, `google.com` or
    // `example.com`.
    //
    //
    Members []string `json:"members,omitempty"`

    // Role: Role that is assigned to `members`.
    // 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 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` with a `role`.

func (*Binding) MarshalJSON Uses

func (s *Binding) MarshalJSON() ([]byte, error)

type Capabilities Uses

type Capabilities struct {
    // Add: Added capabilities
    // +optional
    Add []string `json:"add,omitempty"`

    // Drop: Removed capabilities
    // +optional
    Drop []string `json:"drop,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Add") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Add") 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:"-"`
}

Capabilities: Adds and removes POSIX capabilities from running containers.

func (*Capabilities) MarshalJSON Uses

func (s *Capabilities) MarshalJSON() ([]byte, error)

type CloudAuditLogsSource Uses

type CloudAuditLogsSource struct {
    // ApiVersion: The API version for this call such as
    // "events.cloud.google.com/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Kind: The kind of resource, in this case "CloudAuditLogsSource".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this CloudAuditLogsSource.
    Metadata *ObjectMeta `json:"metadata,omitempty"`

    // Spec: Spec defines the desired state of the CloudAuditLogsSource.
    Spec *CloudAuditLogsSourceSpec `json:"spec,omitempty"`

    // Status: Status represents the current state of the
    // CloudAuditLogsSource. This data
    // may be out of date. +optional
    Status *CloudAuditLogsSourceStatus `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 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:"-"`
}

func (*CloudAuditLogsSource) MarshalJSON Uses

func (s *CloudAuditLogsSource) MarshalJSON() ([]byte, error)

type CloudAuditLogsSourceSpec Uses

type CloudAuditLogsSourceSpec struct {
    // CeOverrides: CloudEventOverrides defines overrides to control the
    // output format and
    // modifications of the event sent to the sink.
    // +optional
    CeOverrides *CloudEventOverrides `json:"ceOverrides,omitempty"`

    // MethodName: Required. The method name at the service API. This must
    // match "methodName" in Cloud
    // Audit Logs. Regex or Wildcards (*) are not supported.
    // Example: "google.cloud.bigquery.job.create".
    MethodName string `json:"methodName,omitempty"`

    // ResourceName: Optional. The resource specification. This must match
    // "methodName"
    // in Cloud Audit Logs. Regex or Wildcards (*) are not
    // supported.
    // Example: "projects/my-project/jobs/foo".
    ResourceName string `json:"resourceName,omitempty"`

    // ServiceAccountName: Optional. Email address of the IAM service
    // account associated with the source. The
    // service account represents the identity of the source, and determines
    // what
    // permissions the source has. If not provided, the source will use
    // the
    // project's default service account.
    ServiceAccountName string `json:"serviceAccountName,omitempty"`

    // ServiceName: Required. The GCP service name. This must match
    // "serviceName" in Cloud Audit Logs.
    // Regex or Wildcards (*) are not supported.
    // Example: "bigquery.googleapis.com".
    ServiceName string `json:"serviceName,omitempty"`

    // Sink: Sink is a reference to an object that will resolve to a domain
    // name or a
    // URI directly to use as the sink.
    Sink *Destination `json:"sink,omitempty"`

    // ForceSendFields is a list of field names (e.g. "CeOverrides") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "CeOverrides") 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:"-"`
}

CloudAuditLogsSourceSpec: The desired state of the CloudAuditLogsSource.

func (*CloudAuditLogsSourceSpec) MarshalJSON Uses

func (s *CloudAuditLogsSourceSpec) MarshalJSON() ([]byte, error)

type CloudAuditLogsSourceStatus Uses

type CloudAuditLogsSourceStatus struct {
    // Conditions: Array of observed CloudAuditLogsSourceConditions,
    // indicating the current
    // state of the CloudAuditLogsSource.
    Conditions []*Condition `json:"conditions,omitempty"`

    // ObservedGeneration: ObservedGeneration is the 'Generation' of the
    // CloudAuditLogsSource that
    // was last processed by the controller.
    ObservedGeneration int64 `json:"observedGeneration,omitempty"`

    // SinkUri: SinkURI is the current active sink URI that has been
    // configured for the
    // Source.
    // +optional
    SinkUri string `json:"sinkUri,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Conditions") to
    // unconditionally include in API requests. By default, fields with
    // empty 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:"-"`
}

CloudAuditLogsSourceStatus: CloudAuditLogsSourceStatus represents the current state of a CloudAuditLogsSource.

func (*CloudAuditLogsSourceStatus) MarshalJSON Uses

func (s *CloudAuditLogsSourceStatus) MarshalJSON() ([]byte, error)

type CloudEventOverrides Uses

type CloudEventOverrides struct {
    // Extensions: Extensions specify what attribute are added or overridden
    // on the outbound
    // event. Each `Extensions` key-value pair are set on the event as
    // an
    // attribute extension independently.
    // +optional
    Extensions map[string]string `json:"extensions,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Extensions") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Extensions") 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:"-"`
}

CloudEventOverrides: CloudEventOverrides defines arguments for a Source that control the output format of the CloudEvents produced by the Source.

func (*CloudEventOverrides) MarshalJSON Uses

func (s *CloudEventOverrides) MarshalJSON() ([]byte, error)

type CloudPubSubSource Uses

type CloudPubSubSource struct {
    // ApiVersion: The API version for this call such as
    // "events.cloud.google.com/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Kind: The kind of resource, in this case "CloudPubSubSource".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this CloudPubSubSource.
    Metadata *ObjectMeta `json:"metadata,omitempty"`

    // Spec: Spec defines the desired state of the CloudPubSubSource.
    Spec *CloudPubSubSourceSpec `json:"spec,omitempty"`

    // Status: Status represents the current state of the CloudPubSubSource.
    // This data may
    // be out of date. +optional
    Status *CloudPubSubSourceStatus `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 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:"-"`
}

func (*CloudPubSubSource) MarshalJSON Uses

func (s *CloudPubSubSource) MarshalJSON() ([]byte, error)

type CloudPubSubSourceSpec Uses

type CloudPubSubSourceSpec struct {
    // AckDeadline: AckDeadline is the default maximum time after a
    // subscriber receives a
    // message before the subscriber should acknowledge the message.
    // Defaults
    // to 30 seconds ('30s').
    // +optional
    AckDeadline string `json:"ackDeadline,omitempty"`

    // CeOverrides: CloudEventOverrides defines overrides to control the
    // output format and
    // modifications of the event sent to the sink.
    // +optional
    CeOverrides *CloudEventOverrides `json:"ceOverrides,omitempty"`

    // Project: Project is the ID of the Google Cloud Project that the
    // CloudPubSubSource
    // Topic exists in. If omitted, defaults to same as the cluster.
    // +optional
    Project string `json:"project,omitempty"`

    // PubsubSecret: CloudPubSubSourceSecret is the credential to use to
    // create
    // Topic / PullSubscription resources. If omitted, uses Secret.
    PubsubSecret *SecretKeySelector `json:"pubsubSecret,omitempty"`

    // RetainAckedMessages: RetainAckedMessages defines whether to retain
    // acknowledged messages. If
    // true, acknowledged messages will not be expunged until they fall out
    // of
    // the RetentionDuration window.
    RetainAckedMessages bool `json:"retainAckedMessages,omitempty"`

    // RetentionDuration: RetentionDuration defines how long to retain
    // messages in backlog, from
    // the time of publish. If RetainAckedMessages is true, this
    // duration
    // affects the retention of acknowledged messages, otherwise
    // only
    // unacknowledged messages are retained. Cannot be longer than 7 days
    // or
    // shorter than 10 minutes. Defaults to 7 days ('7d').
    // +optional
    RetentionDuration string `json:"retentionDuration,omitempty"`

    // Secret: Secret is the credential to use to create the Scheduler
    // Job.
    // If not specified, defaults to:
    // Name: google-cloud-key
    // Key: key.json
    // +optional
    Secret *SecretKeySelector `json:"secret,omitempty"`

    // Sink: Sink is a reference to an object that will resolve to a domain
    // name or a
    // URI directly to use as the sink.
    Sink *Destination `json:"sink,omitempty"`

    // Topic: Topic is the ID of the CloudPubSubSource Topic to Subscribe
    // to. It must
    // be in the form of the unique identifier within the project, not
    // the
    // entire name. E.g. it must be 'laconia',
    // not
    // 'projects/my-proj/topics/laconia'.
    Topic string `json:"topic,omitempty"`

    // ForceSendFields is a list of field names (e.g. "AckDeadline") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "AckDeadline") 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:"-"`
}

CloudPubSubSourceSpec: The desired state of the CloudPubSubSource.

func (*CloudPubSubSourceSpec) MarshalJSON Uses

func (s *CloudPubSubSourceSpec) MarshalJSON() ([]byte, error)

type CloudPubSubSourceStatus Uses

type CloudPubSubSourceStatus struct {
    // Conditions: Array of observed CloudPubSubSourceConditions, indicating
    // the current state
    // of the CloudPubSubSource.
    Conditions []*Condition `json:"conditions,omitempty"`

    // ObservedGeneration: ObservedGeneration is the 'Generation' of the
    // CloudPubSubSource that
    // was last processed by the controller.
    ObservedGeneration int64 `json:"observedGeneration,omitempty"`

    // SinkUri: SinkURI is the current active sink URI that has been
    // configured for the
    // Source.
    // +optional
    SinkUri string `json:"sinkUri,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Conditions") to
    // unconditionally include in API requests. By default, fields with
    // empty 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:"-"`
}

CloudPubSubSourceStatus: CloudPubSubSourceStatus represents the current state of a CloudPubSubSource.

func (*CloudPubSubSourceStatus) MarshalJSON Uses

func (s *CloudPubSubSourceStatus) MarshalJSON() ([]byte, error)

type CloudSchedulerSource Uses

type CloudSchedulerSource struct {
    // ApiVersion: The API version for this call such as
    // "events.cloud.google.com/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Kind: The kind of resource, in this case "CloudSchedulerSource".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this CloudSchedulerSource.
    Metadata *ObjectMeta `json:"metadata,omitempty"`

    // Spec: Spec defines the desired state of the CloudSchedulerSource.
    Spec *CloudSchedulerSourceSpec `json:"spec,omitempty"`

    // Status: Status represents the current state of the
    // CloudSchedulerSource. This data
    // may be out of date.
    Status *CloudSchedulerSourceStatus `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 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:"-"`
}

CloudSchedulerSource: The CloudSchedulerSource resource.

func (*CloudSchedulerSource) MarshalJSON Uses

func (s *CloudSchedulerSource) MarshalJSON() ([]byte, error)

type CloudSchedulerSourceSpec Uses

type CloudSchedulerSourceSpec struct {
    // CeOverrides: CloudEventOverrides defines overrides to control the
    // output format and
    // modifications of the event sent to the sink.
    CeOverrides *CloudEventOverrides `json:"ceOverrides,omitempty"`

    // Data: Data to send in the payload of the Event.
    Data string `json:"data,omitempty"`

    // Location: Location to create the Scheduler job in.
    Location string `json:"location,omitempty"`

    // Project: Project is the ID of the Google Cloud Project that the
    // CloudPubSubSource
    // Topic exists in. If omitted, defaults to same as the cluster.
    Project string `json:"project,omitempty"`

    // PubsubSecret: CloudPubSubSourceSecret is the credential to use to
    // create
    // Topic / PullSubscription resources. If omitted, uses Secret.
    PubsubSecret *SecretKeySelector `json:"pubsubSecret,omitempty"`

    // Schedule: Schedule in cron format, for example: "* * * * *" would be
    // run
    // every minute.
    Schedule string `json:"schedule,omitempty"`

    // Secret: Secret is the credential to use to create the Scheduler
    // Job.
    // If not specified, defaults to:
    // Name: google-cloud-key
    // Key: key.json
    Secret *SecretKeySelector `json:"secret,omitempty"`

    // Sink: Sink is a reference to an object that will resolve to a domain
    // name or a
    // URI directly to use as the sink.
    Sink *Destination `json:"sink,omitempty"`

    // ForceSendFields is a list of field names (e.g. "CeOverrides") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "CeOverrides") 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:"-"`
}

CloudSchedulerSourceSpec: The desired state of the CloudSchedulerSource.

func (*CloudSchedulerSourceSpec) MarshalJSON Uses

func (s *CloudSchedulerSourceSpec) MarshalJSON() ([]byte, error)

type CloudSchedulerSourceStatus Uses

type CloudSchedulerSourceStatus struct {
    // Conditions: Array of observed CloudSchedulerSourceConditions,
    // indicating the current
    // state of the CloudSchedulerSource.
    Conditions []*Condition `json:"conditions,omitempty"`

    // ObservedGeneration: ObservedGeneration is the 'Generation' of the
    // CloudSchedulerSource that
    // was last processed by the controller.
    ObservedGeneration int64 `json:"observedGeneration,omitempty"`

    // SinkUri: SinkURI is the current active sink URI that has been
    // configured for the
    // Source.
    SinkUri string `json:"sinkUri,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Conditions") to
    // unconditionally include in API requests. By default, fields with
    // empty 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:"-"`
}

CloudSchedulerSourceStatus: CloudSchedulerSourceStatus represents the current state of a CloudSchedulerSource.

func (*CloudSchedulerSourceStatus) MarshalJSON Uses

func (s *CloudSchedulerSourceStatus) MarshalJSON() ([]byte, error)

type CloudStorageSource Uses

type CloudStorageSource struct {
    // ApiVersion: The API version for this call such as
    // "events.cloud.google.com/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Kind: The kind of resource, in this case "CloudStorageSource".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this CloudStorageSource.
    Metadata *ObjectMeta `json:"metadata,omitempty"`

    // Spec: Spec defines the desired state of the CloudStorageSource.
    Spec *CloudStorageSourceSpec `json:"spec,omitempty"`

    // Status: Status represents the current state of the
    // CloudStorageSource. This data
    // may be out of date.
    Status *CloudStorageSourceStatus `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 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:"-"`
}

CloudStorageSource: The CloudStorageSource resource.

func (*CloudStorageSource) MarshalJSON Uses

func (s *CloudStorageSource) MarshalJSON() ([]byte, error)

type CloudStorageSourceSpec Uses

type CloudStorageSourceSpec struct {
    // Bucket: Bucket to subscribe to.
    Bucket string `json:"bucket,omitempty"`

    // CeOverrides: CloudEventOverrides defines overrides to control the
    // output format and
    // modifications of the event sent to the sink.
    CeOverrides *CloudEventOverrides `json:"ceOverrides,omitempty"`

    // EventTypes: EventTypes to subscribe to. If unspecified, then
    // subscribe to all events.
    EventTypes []string `json:"eventTypes,omitempty"`

    // ObjectNamePrefix: ObjectNamePrefix limits the notifications to
    // objects with this prefix.
    ObjectNamePrefix string `json:"objectNamePrefix,omitempty"`

    // PayloadFormat: PayloadFormat specifies the contents of the message
    // payload.
    // See
    // https://cloud.google.com/storage/docs/pubsub-notifications#payload.
    PayloadFormat string `json:"payloadFormat,omitempty"`

    // Project: Project is the ID of the Google Cloud Project that the
    // PubSub Topic exists
    // in. If omitted, defaults to same as the cluster.
    Project string `json:"project,omitempty"`

    // PubsubSecret: PubSubSecret is the credential to use to create
    // Topic / PullSubscription resources. If omitted, uses Secret.
    PubsubSecret *SecretKeySelector `json:"pubsubSecret,omitempty"`

    // Secret: Secret is the credential to use to create the Scheduler
    // Job.
    // If not specified, defaults to:
    // Name: google-cloud-key
    // Key: key.json
    Secret *SecretKeySelector `json:"secret,omitempty"`

    // ServiceAccountName: ServiceAccountName holds the name of the
    // Kubernetes service account
    // as which the underlying K8s resources should be run. If
    // unspecified
    // this will default to the "default" service account for the
    // namespace
    // in which the GCS exists.
    ServiceAccountName string `json:"serviceAccountName,omitempty"`

    // Sink: Sink is a reference to an object that will resolve to a domain
    // name or a
    // URI directly to use as the sink.
    Sink *Destination `json:"sink,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Bucket") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Bucket") 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:"-"`
}

CloudStorageSourceSpec: The desired state of the CloudStorageSource.

func (*CloudStorageSourceSpec) MarshalJSON Uses

func (s *CloudStorageSourceSpec) MarshalJSON() ([]byte, error)

type CloudStorageSourceStatus Uses

type CloudStorageSourceStatus struct {
    // Conditions: Array of observed CloudStorageSourceConditions,
    // indicating the current
    // state of the CloudStorageSource.
    Conditions []*Condition `json:"conditions,omitempty"`

    // ObservedGeneration: ObservedGeneration is the 'Generation' of the
    // CloudStorageSource that
    // was last processed by the controller.
    ObservedGeneration int64 `json:"observedGeneration,omitempty"`

    // SinkUri: SinkURI is the current active sink URI that has been
    // configured for the
    // Source.
    SinkUri string `json:"sinkUri,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Conditions") to
    // unconditionally include in API requests. By default, fields with
    // empty 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:"-"`
}

CloudStorageSourceStatus: CloudStorageSourceStatus represents the current state of a CloudStorageSource.

func (*CloudStorageSourceStatus) MarshalJSON Uses

func (s *CloudStorageSourceStatus) MarshalJSON() ([]byte, error)

type Condition Uses

type Condition 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.
    Reason string `json:"reason,omitempty"`

    // Severity: Optional. How to interpret failures of this condition, one
    // of Error, Warning, Info
    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.
    // See
    // also:
    // https://github.com/knative/serving/blob/master/docs/spec/errors.
    // md#error-conditions-and-reporting
    // Types common to all resources include:
    // * "Ready": 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 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:"-"`
}

Condition: Condition defines a generic condition for a Resource

func (*Condition) MarshalJSON Uses

func (s *Condition) MarshalJSON() ([]byte, error)

type ConfigMapEnvSource Uses

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: Cloud Run fully managed: not supported
    //
    // Cloud Run for Anthos: supported
    //
    // The ConfigMap to select from.
    Name string `json:"name,omitempty"`

    // Optional: Cloud Run fully managed: not supported
    //
    // Cloud Run for Anthos: supported
    //
    // Specify whether the ConfigMap must be defined
    // +optional
    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 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: 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 Uses

func (s *ConfigMapEnvSource) MarshalJSON() ([]byte, error)

type ConfigMapKeySelector Uses

type ConfigMapKeySelector struct {
    // Key: Cloud Run fully managed: not supported
    //
    // Cloud Run on GKE: supported
    //
    // The key to select.
    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: Cloud Run fully managed: not supported
    //
    // Cloud Run on GKE: supported
    //
    // The ConfigMap to select from.
    Name string `json:"name,omitempty"`

    // Optional: Cloud Run fully managed: not supported
    //
    // Cloud Run on GKE: supported
    //
    // Specify whether the ConfigMap or its key must be defined
    // +optional
    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 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: Cloud Run fully managed: not supported

Cloud Run on GKE: supported

Selects a key from a ConfigMap.

func (*ConfigMapKeySelector) MarshalJSON Uses

func (s *ConfigMapKeySelector) MarshalJSON() ([]byte, error)

type ConfigMapVolumeSource Uses

type ConfigMapVolumeSource struct {
    // DefaultMode: Mode bits to use on created files by default. Must be a
    // value between 0 and
    // 0777. Defaults to 0644. Directories within the path are not affected
    // by
    // this setting. 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: 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 which 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: 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 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: 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 Uses

func (s *ConfigMapVolumeSource) MarshalJSON() ([]byte, error)

type Configuration Uses

type Configuration struct {
    // ApiVersion: The API version for this call such as
    // "serving.knative.dev/v1alpha1".
    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 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. See also: https://github.com/knative/serving/blob/master/docs/spec/overvie w.md#configuration

func (*Configuration) MarshalJSON Uses

func (s *Configuration) MarshalJSON() ([]byte, error)

type ConfigurationCondition Uses

type ConfigurationCondition struct {
    // LastTransitionTime: Last time the condition transitioned from one
    // status to another.
    // +optional
    LastTransitionTime string `json:"lastTransitionTime,omitempty"`

    // Message: Human-readable message indicating details about last
    // transition.
    // +optional
    Message string `json:"message,omitempty"`

    // Reason: One-word CamelCase reason for the condition's last
    // transition.
    // +optional
    Reason string `json:"reason,omitempty"`

    // Severity: How to interpret failures of this condition, one of Error,
    // Warning, Info
    // +optional
    Severity string `json:"severity,omitempty"`

    // Status: Status of the condition, one of True, False, Unknown.
    Status string `json:"status,omitempty"`

    // Type: ConfigurationConditionType is used to communicate the status of
    // the
    // reconciliation process. See
    // also:
    // https://github.com/knative/serving/blob/master/docs/spec/errors.
    // md#error-conditions-and-reporting
    // Types include:"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 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:"-"`
}

ConfigurationCondition: ConfigurationCondition defines a readiness condition for a Configuration.

func (*ConfigurationCondition) MarshalJSON Uses

func (s *ConfigurationCondition) MarshalJSON() ([]byte, error)

type ConfigurationSpec Uses

type ConfigurationSpec struct {
    // Generation: Deprecated and not currently populated by Cloud Run.
    // See
    // metadata.generation instead, which is the sequence number containing
    // the
    // latest generation of the desired state.
    //
    // Read-only.
    Generation int64 `json:"generation,omitempty"`

    // RevisionTemplate: RevisionTemplate holds the latest specification for
    // the Revision to
    // be stamped out. The template references the container image, and may
    // also
    // include labels and annotations that should be attached to the
    // Revision.
    // To correlate a Revision, and/or to force a Revision to be created
    // when the
    // spec doesn't otherwise change, a nonce label may be provided in
    // the
    // template metadata. For more details,
    // see:
    // https://github.com/knative/serving/blob/master/docs/client-conven
    // tions.md#associate-modifications-with-revisions
    //
    // Cloud Run does not currently support referencing a build that
    // is
    // responsible for materializing the container image from source.
    RevisionTemplate *RevisionTemplate `json:"revisionTemplate,omitempty"`

    // 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. "Generation") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Generation") 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 Uses

func (s *ConfigurationSpec) MarshalJSON() ([]byte, error)

type ConfigurationStatus Uses

type ConfigurationStatus struct {
    // Conditions: Conditions communicates information about
    // ongoing/complete
    // reconciliation processes that bring the "spec" inline with the
    // observed
    // state of the world.
    Conditions []*ConfigurationCondition `json:"conditions,omitempty"`

    // LatestCreatedRevisionName: LatestCreatedRevisionName is the last
    // revision that was created from this
    // Configuration. It might not be ready yet, for that
    // 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 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 Uses

func (s *ConfigurationStatus) MarshalJSON() ([]byte, error)

type Container Uses

type Container struct {
    // Args: Arguments to the entrypoint.
    // The docker image's CMD is used if this is not provided.
    // Variable references $(VAR_NAME) are expanded using the
    // container's
    // environment. If a variable cannot be resolved, the reference in the
    // input
    // string will be unchanged. The $(VAR_NAME) syntax can be escaped with
    // a
    // double $$, ie: $$(VAR_NAME). Escaped references will never be
    // expanded,
    // regardless of whether the variable exists or not.
    // Cannot be updated.
    // More
    // info:
    // https://kubernetes.io/docs/tasks/inject-data-application/define-
    // command-argument-container/#running-a-command-in-a-shell
    // +optional
    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 $(VAR_NAME) are expanded using the
    // container's
    // environment. If a variable cannot be resolved, the reference in the
    // input
    // string will be unchanged. The $(VAR_NAME) syntax can be escaped with
    // a
    // double $$, ie: $$(VAR_NAME). Escaped references will never be
    // expanded,
    // regardless of whether the variable exists or not.
    // Cannot be updated.
    // More
    // info:
    // https://kubernetes.io/docs/tasks/inject-data-application/define-
    // command-argument-container/#running-a-command-in-a-shell
    // +optional
    Command []string `json:"command,omitempty"`

    // Env: List of environment variables to set in the container.
    // Cannot be updated.
    // +optional
    Env []*EnvVar `json:"env,omitempty"`

    // EnvFrom: List of sources to populate environment variables in the
    // container.
    // The keys defined within a source must be a C_IDENTIFIER. All invalid
    // keys
    // will be reported as an event when the container is starting. When a
    // key
    // exists in multiple sources, the value associated with the last source
    // will
    // take precedence. Values defined by an Env with a duplicate key will
    // take
    // precedence. Cannot be updated. +optional
    EnvFrom []*EnvFromSource `json:"envFrom,omitempty"`

    // Image: Docker image name.
    // More info: https://kubernetes.io/docs/concepts/containers/images
    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.
    // Cannot be updated.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/containers/images#updating-i
    // mages
    // +optional
    ImagePullPolicy string `json:"imagePullPolicy,omitempty"`

    // Lifecycle: Actions that the management system should take in response
    // to container
    // lifecycle events. Cannot be updated. +optional
    Lifecycle *Lifecycle `json:"lifecycle,omitempty"`

    // LivenessProbe: Periodic probe of container liveness.
    // Container will be restarted if the probe fails.
    // Cannot be updated.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle
    // #container-probes
    // +optional
    LivenessProbe *Probe `json:"livenessProbe,omitempty"`

    // Name: Name of the container specified as a DNS_LABEL.
    // Each container must have a unique name (DNS_LABEL).
    // Cannot be updated.
    Name string `json:"name,omitempty"`

    // Ports: List of ports to expose from the container. Exposing a port
    // here gives
    // the system additional information about the network connections
    // a
    // container uses, but is primarily informational. Not specifying a port
    // here
    // DOES NOT prevent that port from being exposed. Any port which
    // is
    // listening on the default "0.0.0.0" address inside a container will
    // be
    // accessible from the network.
    // Cannot be updated.
    // +optional
    Ports []*ContainerPort `json:"ports,omitempty"`

    // ReadinessProbe: Periodic probe of container service
    // readiness.
    // Container will be removed from service endpoints if the probe
    // fails.
    // Cannot be updated.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle
    // #container-probes
    // +optional
    ReadinessProbe *Probe `json:"readinessProbe,omitempty"`

    // Resources: Compute Resources required by this container.
    // Cannot be updated.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/storage/persistent-volumes#r
    // esources
    // +optional
    Resources *ResourceRequirements `json:"resources,omitempty"`

    // SecurityContext: Security options the pod should run with.
    // More info:
    // https://kubernetes.io/docs/concepts/policy/security-context/
    // More
    // info:
    // https://kubernetes.io/docs/tasks/configure-pod-container/securit
    // y-context/
    // +optional
    SecurityContext *SecurityContext `json:"securityContext,omitempty"`

    // Stdin: Whether this container should allocate a buffer for stdin in
    // the container
    // runtime. If this is not set, reads from stdin in the container will
    // always
    // result in EOF. Default is false. +optional
    Stdin bool `json:"stdin,omitempty"`

    // StdinOnce: Whether the container runtime should close the stdin
    // channel after it has
    // been opened by a single attach. When stdin is true the stdin stream
    // will
    // remain open across multiple attach sessions. If stdinOnce is set to
    // true,
    // stdin is opened on container start, is empty until the first
    // client
    // attaches to stdin, and then remains open and accepts data until the
    // client
    // disconnects, at which time stdin is closed and remains closed until
    // the
    // container is restarted. If this flag is false, a container processes
    // that
    // reads from stdin will never receive an EOF. Default is false
    // +optional
    StdinOnce bool `json:"stdinOnce,omitempty"`

    // TerminationMessagePath: Optional: 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.
    // Cannot be updated.
    // +optional
    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.
    // +optional
    TerminationMessagePolicy string `json:"terminationMessagePolicy,omitempty"`

    // Tty: Whether this container should allocate a TTY for itself, also
    // requires
    // 'stdin' to be true. Default is false. +optional
    Tty bool `json:"tty,omitempty"`

    // VolumeDevices: volumeDevices is the list of block devices to be used
    // by the container.
    // This is an alpha feature and may change in the future.
    // +optional
    VolumeDevices []*VolumeDevice `json:"volumeDevices,omitempty"`

    // VolumeMounts: Pod volumes to mount into the container's
    // filesystem.
    // Cannot be updated.
    // +optional
    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.
    // Cannot be updated.
    // +optional
    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 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 Uses

func (s *Container) MarshalJSON() ([]byte, error)

type ContainerPort Uses

type ContainerPort struct {
    // ContainerPort: Number of port to expose on the pod's IP address.
    // This must be a valid port number, 0 < x < 65536.
    ContainerPort int64 `json:"containerPort,omitempty"`

    // HostIP: What host IP to bind the external port to.
    // +optional
    HostIP string `json:"hostIP,omitempty"`

    // HostPort: Number of port to expose on the host.
    // If specified, this must be a valid port number, 0 < x < 65536.
    // If HostNetwork is specified, this must match ContainerPort.
    // Most containers do not need this.
    // +optional
    HostPort int64 `json:"hostPort,omitempty"`

    // Name: If specified, this must be an IANA_SVC_NAME and unique within
    // the pod. Each
    // named port in a pod must have a unique name. Name for the port that
    // can be
    // referred to by services.
    // +optional
    Name string `json:"name,omitempty"`

    // Protocol: Protocol for port. Must be UDP or TCP.
    // Defaults to "TCP".
    // +optional
    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 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 Uses

func (s *ContainerPort) MarshalJSON() ([]byte, error)

type Destination Uses

type Destination struct {
    // Ref: ObjectReference points to an Addressable.
    // + optional
    Ref *ObjectReference `json:"ref,omitempty"`

    // Uri: URI is for direct URI Designations or used with the resulting
    // URL from
    // Addressable ObjectReference. If used with an ObjectReference, will
    // be
    // appended to the path of the resulting URL from the Addressable.
    // + optional
    Uri string `json:"uri,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Ref") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "Ref") 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:"-"`
}

func (*Destination) MarshalJSON Uses

func (s *Destination) MarshalJSON() ([]byte, error)

type DomainMapping Uses

type DomainMapping struct {
    // ApiVersion: The API version for this call such as
    // "domains.cloudrun.com/v1alpha1".
    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 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.

func (*DomainMapping) MarshalJSON Uses

func (s *DomainMapping) MarshalJSON() ([]byte, error)

type DomainMappingCondition Uses

type DomainMappingCondition struct {
    // LastTransitionTime: Last time the condition transitioned from one
    // status to another.
    // +optional
    LastTransitionTime string `json:"lastTransitionTime,omitempty"`

    // Message: Human readable message indicating details about the current
    // status.
    // +optional
    Message string `json:"message,omitempty"`

    // Reason: One-word CamelCase reason for the condition's current
    // status.
    // +optional
    Reason string `json:"reason,omitempty"`

    // Severity: How to interpret failures of this condition, one of Error,
    // Warning, Info
    // +optional
    Severity string `json:"severity,omitempty"`

    // Status: Status of the condition, one of True, False, Unknown.
    Status string `json:"status,omitempty"`

    // Type: Type of domain mapping condition.
    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 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:"-"`
}

DomainMappingCondition: DomainMappingCondition contains state information for a DomainMapping.

func (*DomainMappingCondition) MarshalJSON Uses

func (s *DomainMappingCondition) MarshalJSON() ([]byte, error)

type DomainMappingSpec Uses

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 or LetsEncrypt.
    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 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 Uses

func (s *DomainMappingSpec) MarshalJSON() ([]byte, error)

type DomainMappingStatus Uses

type DomainMappingStatus struct {
    // Conditions: Array of observed DomainMappingConditions, indicating the
    // current state
    // of the DomainMapping.
    Conditions []*DomainMappingCondition `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"`

    // ForceSendFields is a list of field names (e.g. "Conditions") to
    // unconditionally include in API requests. By default, fields with
    // empty 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 Uses

func (s *DomainMappingStatus) MarshalJSON() ([]byte, error)

type Empty Uses

type Empty struct {
    // ServerResponse contains the HTTP response code and headers from the
    // server.
    googleapi.ServerResponse `json:"-"`
}

Empty: A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance:

service Foo {
  rpc Bar(google.protobuf.Empty) returns

(google.protobuf.Empty);

}

The JSON representation for `Empty` is empty JSON object `{}`.

type EnvFromSource Uses

type EnvFromSource struct {
    // ConfigMapRef: The ConfigMap to select from
    // +optional
    ConfigMapRef *ConfigMapEnvSource `json:"configMapRef,omitempty"`

    // Prefix: An optional identifier to prepend to each key in the
    // ConfigMap. Must be a
    // C_IDENTIFIER. +optional
    Prefix string `json:"prefix,omitempty"`

    // SecretRef: The Secret to select from
    // +optional
    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 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: EnvFromSource represents the source of a set of ConfigMaps

func (*EnvFromSource) MarshalJSON Uses

func (s *EnvFromSource) MarshalJSON() ([]byte, error)

type EnvVar Uses

type EnvVar struct {
    // Name: Name of the environment variable. Must be a C_IDENTIFIER.
    Name string `json:"name,omitempty"`

    // Value: Variable references $(VAR_NAME) are expanded
    // using the previous defined environment variables in the container
    // and
    // any route environment variables. If a variable cannot be
    // resolved,
    // the reference in the input string will be unchanged. The
    // $(VAR_NAME)
    // syntax can be escaped with a double $$, ie: $$(VAR_NAME).
    // Escaped
    // references will never be expanded, regardless of whether the
    // variable
    // exists or not.
    // Defaults to "".
    // +optional
    Value string `json:"value,omitempty"`

    // ValueFrom: Cloud Run fully managed: not supported
    //
    // Cloud Run on GKE: supported
    //
    // Source for the environment variable's value. Cannot be used if value
    // is not
    // empty. +optional
    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 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 Uses

func (s *EnvVar) MarshalJSON() ([]byte, error)

type EnvVarSource Uses

type EnvVarSource struct {
    // ConfigMapKeyRef: Cloud Run fully managed: not supported
    //
    // Cloud Run on GKE: supported
    //
    // Selects a key of a ConfigMap.
    // +optional
    ConfigMapKeyRef *ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`

    // SecretKeyRef: Cloud Run fully managed: not supported
    //
    // Cloud Run on GKE: supported
    //
    // Selects a key of a secret in the pod's namespace
    // +optional
    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 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: Cloud Run fully managed: not supported

Cloud Run on GKE: supported

EnvVarSource represents a source for the value of an EnvVar.

func (*EnvVarSource) MarshalJSON Uses

func (s *EnvVarSource) MarshalJSON() ([]byte, error)

type ExecAction Uses

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. +optional
    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 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: ExecAction describes a "run in container" action.

func (*ExecAction) MarshalJSON Uses

func (s *ExecAction) MarshalJSON() ([]byte, error)

type Expr Uses

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 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 Uses

func (s *Expr) MarshalJSON() ([]byte, error)

type HTTPGetAction Uses

type HTTPGetAction struct {
    // Host: Host name to connect to, defaults to the pod IP. You probably
    // want to set
    // "Host" in httpHeaders instead.
    // +optional
    Host string `json:"host,omitempty"`

    // HttpHeaders: Custom headers to set in the request. HTTP allows
    // repeated headers.
    // +optional
    HttpHeaders []*HTTPHeader `json:"httpHeaders,omitempty"`

    // Path: Path to access on the HTTP server.
    // +optional
    Path string `json:"path,omitempty"`

    // Port: Name or number of the port to access on the container.
    // Number must be in the range 1 to 65535.
    // Name must be an IANA_SVC_NAME.
    Port *IntOrString `json:"port,omitempty"`

    // Scheme: Scheme to use for connecting to the host.
    // Defaults to HTTP.
    // +optional
    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 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 Uses

func (s *HTTPGetAction) MarshalJSON() ([]byte, error)

type HTTPHeader Uses

type HTTPHeader struct {
    // Name: 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 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 Uses

func (s *HTTPHeader) MarshalJSON() ([]byte, error)

type Handler Uses

type Handler struct {
    // Exec: One and only one of the following should be specified.
    // Exec specifies the action to take.
    // +optional
    Exec *ExecAction `json:"exec,omitempty"`

    // HttpGet: HTTPGet specifies the http request to perform.
    // +optional
    HttpGet *HTTPGetAction `json:"httpGet,omitempty"`

    // TcpSocket: TCPSocket specifies an action involving a TCP port.
    // TCP hooks not yet supported
    TcpSocket *TCPSocketAction `json:"tcpSocket,omitempty"`

    // ForceSendFields is a list of field names (e.g. "Exec") to
    // unconditionally include in API requests. By default, fields with
    // empty 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:"-"`
}

Handler: Handler defines a specific action that should be taken

func (*Handler) MarshalJSON Uses

func (s *Handler) MarshalJSON() ([]byte, error)

type IntOrString Uses

type IntOrString struct {
    // IntVal: The int value.
    IntVal int64 `json:"intVal,omitempty"`

    // StrVal: The string value.
    StrVal string `json:"strVal,omitempty"`

    // Type: The type of the value.
    Type int64 `json:"type,omitempty"`

    // ForceSendFields is a list of field names (e.g. "IntVal") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "IntVal") 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:"-"`
}

IntOrString: IntOrString is a type that can hold an int32 or a string. When used in JSON or YAML marshalling and unmarshalling, it produces or consumes the inner type. This allows you to have, for example, a JSON field that can accept a name or number.

func (*IntOrString) MarshalJSON Uses

func (s *IntOrString) MarshalJSON() ([]byte, error)

type KeyToPath Uses

type KeyToPath struct {
    // Key: The key to project.
    Key string `json:"key,omitempty"`

    // Mode: Mode bits to use on this file, must be a value between 0 and
    // 0777. If not
    // specified, the volume defaultMode will be used. This might be in
    // conflict
    // with other options that affect the file mode, like fsGroup, and the
    // result
    // can be other mode bits set. +optional
    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 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 Uses

func (s *KeyToPath) MarshalJSON() ([]byte, error)

type Lifecycle Uses

type Lifecycle struct {
    // PostStart: PostStart is called immediately after a container is
    // created. If the
    // handler fails, the container is terminated and restarted according to
    // its
    // restart policy. Other management of the container blocks until the
    // hook
    // completes. More
    // info:
    // https://kubernetes.io/docs/concepts/containers/container-lifecyc
    // le-hooks/#container-hooks
    // +optional
    PostStart *Handler `json:"postStart,omitempty"`

    // PreStop: PreStop is called immediately before a container is
    // terminated.
    // The container is terminated after the handler completes.
    // The reason for termination is passed to the handler.
    // Regardless of the outcome of the handler, the container is
    // eventually
    // terminated. Other management of the container blocks until the
    // hook
    // completes. More
    // info:
    // https://kubernetes.io/docs/concepts/containers/container-lifecyc
    // le-hooks/#container-hooks
    // +optional
    PreStop *Handler `json:"preStop,omitempty"`

    // ForceSendFields is a list of field names (e.g. "PostStart") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "PostStart") 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:"-"`
}

Lifecycle: Lifecycle describes actions that the management system should take in response to container lifecycle events. For the PostStart and PreStop lifecycle handlers, management of the container blocks until the action is complete, unless the container process fails, in which case the handler is aborted.

func (*Lifecycle) MarshalJSON Uses

func (s *Lifecycle) MarshalJSON() ([]byte, error)

type ListAuthorizedDomainsResponse Uses

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 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 Uses

func (s *ListAuthorizedDomainsResponse) MarshalJSON() ([]byte, error)

type ListCloudAuditLogsSourcesResponse Uses

type ListCloudAuditLogsSourcesResponse struct {
    // ApiVersion: The API version for this call such as
    // "events.cloud.google.com/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Items: List of CloudAuditLogsSources.
    Items []*CloudAuditLogsSource `json:"items,omitempty"`

    // Kind: The kind of this resource, in this case
    // "CloudAuditLogsSourceList".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this CloudAuditLogsSource 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 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:"-"`
}

ListCloudAuditLogsSourcesResponse: ListCloudAuditLogsSourcesResponse is a list of CloudAuditLogsSource resources.

func (*ListCloudAuditLogsSourcesResponse) MarshalJSON Uses

func (s *ListCloudAuditLogsSourcesResponse) MarshalJSON() ([]byte, error)

type ListCloudPubSubSourcesResponse Uses

type ListCloudPubSubSourcesResponse struct {
    // ApiVersion: The API version for this call such as
    // "events.cloud.google.com/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Items: List of CloudPubSubSources.
    Items []*CloudPubSubSource `json:"items,omitempty"`

    // Kind: The kind of this resource, in this case
    // "CloudPubSubSourceList".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this CloudPubSubSource 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 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:"-"`
}

ListCloudPubSubSourcesResponse: ListCloudPubSubSourcesResponse is a list of CloudPubSubSource resources.

func (*ListCloudPubSubSourcesResponse) MarshalJSON Uses

func (s *ListCloudPubSubSourcesResponse) MarshalJSON() ([]byte, error)

type ListCloudSchedulerSourcesResponse Uses

type ListCloudSchedulerSourcesResponse struct {
    // ApiVersion: The API version for this call such as
    // "events.cloud.google.com/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Items: List of CloudSchedulerSources.
    Items []*CloudSchedulerSource `json:"items,omitempty"`

    // Kind: The kind of this resource, in this case
    // "CloudSchedulerSourceList".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this CloudSchedulerSource 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 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:"-"`
}

ListCloudSchedulerSourcesResponse: ListCloudSchedulerSourcesResponse is a list of CloudSchedulerSource resources.

func (*ListCloudSchedulerSourcesResponse) MarshalJSON Uses

func (s *ListCloudSchedulerSourcesResponse) MarshalJSON() ([]byte, error)

type ListCloudStorageSourcesResponse Uses

type ListCloudStorageSourcesResponse struct {
    // ApiVersion: The API version for this call such as
    // "events.cloud.google.com/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Items: List of CloudStorageSources.
    Items []*CloudStorageSource `json:"items,omitempty"`

    // Kind: The kind of this resource, in this case
    // "CloudStorageSourceList".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this CloudStorageSource 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 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:"-"`
}

ListCloudStorageSourcesResponse: ListCloudStorageSourcesResponse is a list of CloudStorageSource resources.

func (*ListCloudStorageSourcesResponse) MarshalJSON Uses

func (s *ListCloudStorageSourcesResponse) MarshalJSON() ([]byte, error)

type ListConfigurationsResponse Uses

type ListConfigurationsResponse struct {
    // ApiVersion: The API version for this call such as
    // "serving.knative.dev/v1alpha1".
    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 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 Uses

func (s *ListConfigurationsResponse) MarshalJSON() ([]byte, error)

type ListDomainMappingsResponse Uses

type ListDomainMappingsResponse struct {
    // ApiVersion: The API version for this call such as
    // "domains.cloudrun.com/v1alpha1".
    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 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 Uses

func (s *ListDomainMappingsResponse) MarshalJSON() ([]byte, error)

type ListLocationsResponse Uses

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 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 Uses

func (s *ListLocationsResponse) MarshalJSON() ([]byte, error)

type ListMeta Uses

type ListMeta struct {
    // Continue: continue may be set if the user set a limit on the number
    // of items
    // returned, and indicates that the server has more data available. The
    // value
    // is opaque and may be used to issue another request to the endpoint
    // that
    // served this list to retrieve the next set of available objects.
    // Continuing
    // a list may not be possible if the server configuration has changed or
    // more
    // than a few minutes have passed. The resourceVersion field returned
    // when
    // using this continue value will be identical to the value in the
    // first
    // response.
    Continue string `json:"continue,omitempty"`

    // ResourceVersion: String that identifies the server's internal version
    // of this object that
    // can be used by clients to determine when objects have changed. Value
    // must
    // be treated as opaque by clients and passed unmodified back to the
    // server.
    // Populated by the system.
    // Read-only.
    // More
    // info:
    // https://git.k8s.io/community/contributors/devel/api-conventions.
    // md#concurrency-control-and-consistency
    // +optional
    ResourceVersion string `json:"resourceVersion,omitempty"`

    // SelfLink: SelfLink is a URL representing this object.
    // Populated by the system.
    // Read-only.
    // +optional
    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 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: ListMeta describes metadata that synthetic resources must have, including lists and various status objects. A resource may have only one of {ObjectMeta, ListMeta}.

func (*ListMeta) MarshalJSON Uses

func (s *ListMeta) MarshalJSON() ([]byte, error)

type ListRevisionsResponse Uses

type ListRevisionsResponse struct {
    // ApiVersion: The API version for this call such as
    // "serving.knative.dev/v1alpha1".
    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 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 Uses

func (s *ListRevisionsResponse) MarshalJSON() ([]byte, error)

type ListRoutesResponse Uses

type ListRoutesResponse struct {
    // ApiVersion: The API version for this call such as
    // "serving.knative.dev/v1alpha1".
    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 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 Uses

func (s *ListRoutesResponse) MarshalJSON() ([]byte, error)

type ListServicesResponse Uses

type ListServicesResponse struct {
    // ApiVersion: The API version for this call such as
    // "serving.knative.dev/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Items: List of Services.
    Items []*Service `json:"items,omitempty"`

    // Kind: The kind of this resource, in this case "ServiceList".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this Service 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 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 Uses

func (s *ListServicesResponse) MarshalJSON() ([]byte, error)

type ListTriggersResponse Uses

type ListTriggersResponse struct {
    // ApiVersion: The API version for this call such as
    // "eventing.knative.dev/v1alpha1".
    ApiVersion string `json:"apiVersion,omitempty"`

    // Items: List of Triggers.
    Items []*Trigger `json:"items,omitempty"`

    // Kind: The kind of this resource, in this case "TriggerList".
    Kind string `json:"kind,omitempty"`

    // Metadata: Metadata associated with this Trigger 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 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:"-"`
}

ListTriggersResponse: ListTriggersResponse is a list of Trigger resources.

func (*ListTriggersResponse) MarshalJSON Uses

func (s *ListTriggersResponse) MarshalJSON() ([]byte, error)

type LocalObjectReference Uses

type LocalObjectReference struct {
    // Name: Name of the referent.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/overview/working-with-object
    // s/names/#names
    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 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: LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.

func (*LocalObjectReference) MarshalJSON Uses

func (s *LocalObjectReference) MarshalJSON() ([]byte, error)

type Location Uses

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 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 Google Cloud Platform location.

func (*Location) MarshalJSON Uses

func (s *Location) MarshalJSON() ([]byte, error)

type NamespacesAuthorizeddomainsListCall Uses

type NamespacesAuthorizeddomainsListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesAuthorizeddomainsListCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *NamespacesAuthorizeddomainsListCall) PageSize(pageSize int64) *NamespacesAuthorizeddomainsListCall

PageSize sets the optional parameter "pageSize": Maximum results to return per page.

func (*NamespacesAuthorizeddomainsListCall) PageToken Uses

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 Uses

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 Uses

type NamespacesAuthorizeddomainsService struct {
    // contains filtered or unexported fields
}

func NewNamespacesAuthorizeddomainsService Uses

func NewNamespacesAuthorizeddomainsService(s *APIService) *NamespacesAuthorizeddomainsService

func (*NamespacesAuthorizeddomainsService) List Uses

func (r *NamespacesAuthorizeddomainsService) List(parent string) *NamespacesAuthorizeddomainsListCall

List: RPC to list authorized domains.

type NamespacesCloudauditlogssourcesCreateCall Uses

type NamespacesCloudauditlogssourcesCreateCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudauditlogssourcesCreateCall) Context Uses

func (c *NamespacesCloudauditlogssourcesCreateCall) Context(ctx context.Context) *NamespacesCloudauditlogssourcesCreateCall

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 (*NamespacesCloudauditlogssourcesCreateCall) Do Uses

func (c *NamespacesCloudauditlogssourcesCreateCall) Do(opts ...googleapi.CallOption) (*CloudAuditLogsSource, error)

Do executes the "run.namespaces.cloudauditlogssources.create" call. Exactly one of *CloudAuditLogsSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudAuditLogsSource.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 (*NamespacesCloudauditlogssourcesCreateCall) Fields Uses

func (c *NamespacesCloudauditlogssourcesCreateCall) Fields(s ...googleapi.Field) *NamespacesCloudauditlogssourcesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudauditlogssourcesCreateCall) Header Uses

func (c *NamespacesCloudauditlogssourcesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type NamespacesCloudauditlogssourcesDeleteCall Uses

type NamespacesCloudauditlogssourcesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudauditlogssourcesDeleteCall) ApiVersion Uses

func (c *NamespacesCloudauditlogssourcesDeleteCall) ApiVersion(apiVersion string) *NamespacesCloudauditlogssourcesDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*NamespacesCloudauditlogssourcesDeleteCall) Context Uses

func (c *NamespacesCloudauditlogssourcesDeleteCall) Context(ctx context.Context) *NamespacesCloudauditlogssourcesDeleteCall

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 (*NamespacesCloudauditlogssourcesDeleteCall) Do Uses

func (c *NamespacesCloudauditlogssourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.namespaces.cloudauditlogssources.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*NamespacesCloudauditlogssourcesDeleteCall) Fields Uses

func (c *NamespacesCloudauditlogssourcesDeleteCall) Fields(s ...googleapi.Field) *NamespacesCloudauditlogssourcesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudauditlogssourcesDeleteCall) Header Uses

func (c *NamespacesCloudauditlogssourcesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudauditlogssourcesDeleteCall) Kind Uses

func (c *NamespacesCloudauditlogssourcesDeleteCall) Kind(kind string) *NamespacesCloudauditlogssourcesDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*NamespacesCloudauditlogssourcesDeleteCall) PropagationPolicy Uses

func (c *NamespacesCloudauditlogssourcesDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesCloudauditlogssourcesDeleteCall

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-collecti on/ for more information.

type NamespacesCloudauditlogssourcesGetCall Uses

type NamespacesCloudauditlogssourcesGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudauditlogssourcesGetCall) Context Uses

func (c *NamespacesCloudauditlogssourcesGetCall) Context(ctx context.Context) *NamespacesCloudauditlogssourcesGetCall

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 (*NamespacesCloudauditlogssourcesGetCall) Do Uses

func (c *NamespacesCloudauditlogssourcesGetCall) Do(opts ...googleapi.CallOption) (*CloudAuditLogsSource, error)

Do executes the "run.namespaces.cloudauditlogssources.get" call. Exactly one of *CloudAuditLogsSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudAuditLogsSource.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 (*NamespacesCloudauditlogssourcesGetCall) Fields Uses

func (c *NamespacesCloudauditlogssourcesGetCall) Fields(s ...googleapi.Field) *NamespacesCloudauditlogssourcesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudauditlogssourcesGetCall) Header Uses

func (c *NamespacesCloudauditlogssourcesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudauditlogssourcesGetCall) IfNoneMatch Uses

func (c *NamespacesCloudauditlogssourcesGetCall) IfNoneMatch(entityTag string) *NamespacesCloudauditlogssourcesGetCall

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 NamespacesCloudauditlogssourcesListCall Uses

type NamespacesCloudauditlogssourcesListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudauditlogssourcesListCall) Context Uses

func (c *NamespacesCloudauditlogssourcesListCall) Context(ctx context.Context) *NamespacesCloudauditlogssourcesListCall

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 (*NamespacesCloudauditlogssourcesListCall) Continue Uses

func (c *NamespacesCloudauditlogssourcesListCall) Continue(continue_ string) *NamespacesCloudauditlogssourcesListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesCloudauditlogssourcesListCall) Do Uses

func (c *NamespacesCloudauditlogssourcesListCall) Do(opts ...googleapi.CallOption) (*ListCloudAuditLogsSourcesResponse, error)

Do executes the "run.namespaces.cloudauditlogssources.list" call. Exactly one of *ListCloudAuditLogsSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCloudAuditLogsSourcesResponse.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 (*NamespacesCloudauditlogssourcesListCall) FieldSelector Uses

func (c *NamespacesCloudauditlogssourcesListCall) FieldSelector(fieldSelector string) *NamespacesCloudauditlogssourcesListCall

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 (*NamespacesCloudauditlogssourcesListCall) Fields Uses

func (c *NamespacesCloudauditlogssourcesListCall) Fields(s ...googleapi.Field) *NamespacesCloudauditlogssourcesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudauditlogssourcesListCall) Header Uses

func (c *NamespacesCloudauditlogssourcesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudauditlogssourcesListCall) IfNoneMatch Uses

func (c *NamespacesCloudauditlogssourcesListCall) IfNoneMatch(entityTag string) *NamespacesCloudauditlogssourcesListCall

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 (*NamespacesCloudauditlogssourcesListCall) IncludeUninitialized Uses

func (c *NamespacesCloudauditlogssourcesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesCloudauditlogssourcesListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesCloudauditlogssourcesListCall) LabelSelector Uses

func (c *NamespacesCloudauditlogssourcesListCall) LabelSelector(labelSelector string) *NamespacesCloudauditlogssourcesListCall

LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

func (*NamespacesCloudauditlogssourcesListCall) Limit Uses

func (c *NamespacesCloudauditlogssourcesListCall) Limit(limit int64) *NamespacesCloudauditlogssourcesListCall

Limit sets the optional parameter "limit": The maximum number of records that should be returned.

func (*NamespacesCloudauditlogssourcesListCall) ResourceVersion Uses

func (c *NamespacesCloudauditlogssourcesListCall) ResourceVersion(resourceVersion string) *NamespacesCloudauditlogssourcesListCall

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 (*NamespacesCloudauditlogssourcesListCall) Watch Uses

func (c *NamespacesCloudauditlogssourcesListCall) Watch(watch bool) *NamespacesCloudauditlogssourcesListCall

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 NamespacesCloudauditlogssourcesService Uses

type NamespacesCloudauditlogssourcesService struct {
    // contains filtered or unexported fields
}

func NewNamespacesCloudauditlogssourcesService Uses

func NewNamespacesCloudauditlogssourcesService(s *APIService) *NamespacesCloudauditlogssourcesService

func (*NamespacesCloudauditlogssourcesService) Create Uses

func (r *NamespacesCloudauditlogssourcesService) Create(parent string, cloudauditlogssource *CloudAuditLogsSource) *NamespacesCloudauditlogssourcesCreateCall

Create: Creates a new cloudauditlogssource.

func (*NamespacesCloudauditlogssourcesService) Delete Uses

func (r *NamespacesCloudauditlogssourcesService) Delete(name string) *NamespacesCloudauditlogssourcesDeleteCall

Delete: Rpc to delete a cloudauditlogssource.

func (*NamespacesCloudauditlogssourcesService) Get Uses

func (r *NamespacesCloudauditlogssourcesService) Get(name string) *NamespacesCloudauditlogssourcesGetCall

Get: Rpc to get information about a cloudauditlogssource.

func (*NamespacesCloudauditlogssourcesService) List Uses

func (r *NamespacesCloudauditlogssourcesService) List(parent string) *NamespacesCloudauditlogssourcesListCall

List: Rpc to list cloudauditlogssources.

type NamespacesCloudpubsubsourcesCreateCall Uses

type NamespacesCloudpubsubsourcesCreateCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudpubsubsourcesCreateCall) Context Uses

func (c *NamespacesCloudpubsubsourcesCreateCall) Context(ctx context.Context) *NamespacesCloudpubsubsourcesCreateCall

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 (*NamespacesCloudpubsubsourcesCreateCall) Do Uses

func (c *NamespacesCloudpubsubsourcesCreateCall) Do(opts ...googleapi.CallOption) (*CloudPubSubSource, error)

Do executes the "run.namespaces.cloudpubsubsources.create" call. Exactly one of *CloudPubSubSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudPubSubSource.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 (*NamespacesCloudpubsubsourcesCreateCall) Fields Uses

func (c *NamespacesCloudpubsubsourcesCreateCall) Fields(s ...googleapi.Field) *NamespacesCloudpubsubsourcesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudpubsubsourcesCreateCall) Header Uses

func (c *NamespacesCloudpubsubsourcesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type NamespacesCloudpubsubsourcesDeleteCall Uses

type NamespacesCloudpubsubsourcesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudpubsubsourcesDeleteCall) ApiVersion Uses

func (c *NamespacesCloudpubsubsourcesDeleteCall) ApiVersion(apiVersion string) *NamespacesCloudpubsubsourcesDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*NamespacesCloudpubsubsourcesDeleteCall) Context Uses

func (c *NamespacesCloudpubsubsourcesDeleteCall) Context(ctx context.Context) *NamespacesCloudpubsubsourcesDeleteCall

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 (*NamespacesCloudpubsubsourcesDeleteCall) Do Uses

func (c *NamespacesCloudpubsubsourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.namespaces.cloudpubsubsources.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*NamespacesCloudpubsubsourcesDeleteCall) Fields Uses

func (c *NamespacesCloudpubsubsourcesDeleteCall) Fields(s ...googleapi.Field) *NamespacesCloudpubsubsourcesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudpubsubsourcesDeleteCall) Header Uses

func (c *NamespacesCloudpubsubsourcesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudpubsubsourcesDeleteCall) Kind Uses

func (c *NamespacesCloudpubsubsourcesDeleteCall) Kind(kind string) *NamespacesCloudpubsubsourcesDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*NamespacesCloudpubsubsourcesDeleteCall) PropagationPolicy Uses

func (c *NamespacesCloudpubsubsourcesDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesCloudpubsubsourcesDeleteCall

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-collecti on/ for more information.

type NamespacesCloudpubsubsourcesGetCall Uses

type NamespacesCloudpubsubsourcesGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudpubsubsourcesGetCall) Context Uses

func (c *NamespacesCloudpubsubsourcesGetCall) Context(ctx context.Context) *NamespacesCloudpubsubsourcesGetCall

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 (*NamespacesCloudpubsubsourcesGetCall) Do Uses

func (c *NamespacesCloudpubsubsourcesGetCall) Do(opts ...googleapi.CallOption) (*CloudPubSubSource, error)

Do executes the "run.namespaces.cloudpubsubsources.get" call. Exactly one of *CloudPubSubSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudPubSubSource.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 (*NamespacesCloudpubsubsourcesGetCall) Fields Uses

func (c *NamespacesCloudpubsubsourcesGetCall) Fields(s ...googleapi.Field) *NamespacesCloudpubsubsourcesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudpubsubsourcesGetCall) Header Uses

func (c *NamespacesCloudpubsubsourcesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudpubsubsourcesGetCall) IfNoneMatch Uses

func (c *NamespacesCloudpubsubsourcesGetCall) IfNoneMatch(entityTag string) *NamespacesCloudpubsubsourcesGetCall

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 NamespacesCloudpubsubsourcesListCall Uses

type NamespacesCloudpubsubsourcesListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudpubsubsourcesListCall) Context Uses

func (c *NamespacesCloudpubsubsourcesListCall) Context(ctx context.Context) *NamespacesCloudpubsubsourcesListCall

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 (*NamespacesCloudpubsubsourcesListCall) Continue Uses

func (c *NamespacesCloudpubsubsourcesListCall) Continue(continue_ string) *NamespacesCloudpubsubsourcesListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesCloudpubsubsourcesListCall) Do Uses

func (c *NamespacesCloudpubsubsourcesListCall) Do(opts ...googleapi.CallOption) (*ListCloudPubSubSourcesResponse, error)

Do executes the "run.namespaces.cloudpubsubsources.list" call. Exactly one of *ListCloudPubSubSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCloudPubSubSourcesResponse.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 (*NamespacesCloudpubsubsourcesListCall) FieldSelector Uses

func (c *NamespacesCloudpubsubsourcesListCall) FieldSelector(fieldSelector string) *NamespacesCloudpubsubsourcesListCall

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 (*NamespacesCloudpubsubsourcesListCall) Fields Uses

func (c *NamespacesCloudpubsubsourcesListCall) Fields(s ...googleapi.Field) *NamespacesCloudpubsubsourcesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudpubsubsourcesListCall) Header Uses

func (c *NamespacesCloudpubsubsourcesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudpubsubsourcesListCall) IfNoneMatch Uses

func (c *NamespacesCloudpubsubsourcesListCall) IfNoneMatch(entityTag string) *NamespacesCloudpubsubsourcesListCall

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 (*NamespacesCloudpubsubsourcesListCall) IncludeUninitialized Uses

func (c *NamespacesCloudpubsubsourcesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesCloudpubsubsourcesListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesCloudpubsubsourcesListCall) LabelSelector Uses

func (c *NamespacesCloudpubsubsourcesListCall) LabelSelector(labelSelector string) *NamespacesCloudpubsubsourcesListCall

LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

func (*NamespacesCloudpubsubsourcesListCall) Limit Uses

func (c *NamespacesCloudpubsubsourcesListCall) Limit(limit int64) *NamespacesCloudpubsubsourcesListCall

Limit sets the optional parameter "limit": The maximum number of records that should be returned.

func (*NamespacesCloudpubsubsourcesListCall) ResourceVersion Uses

func (c *NamespacesCloudpubsubsourcesListCall) ResourceVersion(resourceVersion string) *NamespacesCloudpubsubsourcesListCall

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 (*NamespacesCloudpubsubsourcesListCall) Watch Uses

func (c *NamespacesCloudpubsubsourcesListCall) Watch(watch bool) *NamespacesCloudpubsubsourcesListCall

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 NamespacesCloudpubsubsourcesService Uses

type NamespacesCloudpubsubsourcesService struct {
    // contains filtered or unexported fields
}

func NewNamespacesCloudpubsubsourcesService Uses

func NewNamespacesCloudpubsubsourcesService(s *APIService) *NamespacesCloudpubsubsourcesService

func (*NamespacesCloudpubsubsourcesService) Create Uses

func (r *NamespacesCloudpubsubsourcesService) Create(parent string, cloudpubsubsource *CloudPubSubSource) *NamespacesCloudpubsubsourcesCreateCall

Create: Creates a new cloudpubsubsource.

func (*NamespacesCloudpubsubsourcesService) Delete Uses

func (r *NamespacesCloudpubsubsourcesService) Delete(name string) *NamespacesCloudpubsubsourcesDeleteCall

Delete: Rpc to delete a cloudpubsubsource.

func (*NamespacesCloudpubsubsourcesService) Get Uses

func (r *NamespacesCloudpubsubsourcesService) Get(name string) *NamespacesCloudpubsubsourcesGetCall

Get: Rpc to get information about a cloudpubsubsource.

func (*NamespacesCloudpubsubsourcesService) List Uses

func (r *NamespacesCloudpubsubsourcesService) List(parent string) *NamespacesCloudpubsubsourcesListCall

List: Rpc to list cloudpubsubsources.

type NamespacesCloudschedulersourcesCreateCall Uses

type NamespacesCloudschedulersourcesCreateCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudschedulersourcesCreateCall) Context Uses

func (c *NamespacesCloudschedulersourcesCreateCall) Context(ctx context.Context) *NamespacesCloudschedulersourcesCreateCall

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 (*NamespacesCloudschedulersourcesCreateCall) Do Uses

func (c *NamespacesCloudschedulersourcesCreateCall) Do(opts ...googleapi.CallOption) (*CloudSchedulerSource, error)

Do executes the "run.namespaces.cloudschedulersources.create" call. Exactly one of *CloudSchedulerSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudSchedulerSource.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 (*NamespacesCloudschedulersourcesCreateCall) Fields Uses

func (c *NamespacesCloudschedulersourcesCreateCall) Fields(s ...googleapi.Field) *NamespacesCloudschedulersourcesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudschedulersourcesCreateCall) Header Uses

func (c *NamespacesCloudschedulersourcesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type NamespacesCloudschedulersourcesDeleteCall Uses

type NamespacesCloudschedulersourcesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudschedulersourcesDeleteCall) ApiVersion Uses

func (c *NamespacesCloudschedulersourcesDeleteCall) ApiVersion(apiVersion string) *NamespacesCloudschedulersourcesDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*NamespacesCloudschedulersourcesDeleteCall) Context Uses

func (c *NamespacesCloudschedulersourcesDeleteCall) Context(ctx context.Context) *NamespacesCloudschedulersourcesDeleteCall

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 (*NamespacesCloudschedulersourcesDeleteCall) Do Uses

func (c *NamespacesCloudschedulersourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.namespaces.cloudschedulersources.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*NamespacesCloudschedulersourcesDeleteCall) Fields Uses

func (c *NamespacesCloudschedulersourcesDeleteCall) Fields(s ...googleapi.Field) *NamespacesCloudschedulersourcesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudschedulersourcesDeleteCall) Header Uses

func (c *NamespacesCloudschedulersourcesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudschedulersourcesDeleteCall) Kind Uses

func (c *NamespacesCloudschedulersourcesDeleteCall) Kind(kind string) *NamespacesCloudschedulersourcesDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*NamespacesCloudschedulersourcesDeleteCall) PropagationPolicy Uses

func (c *NamespacesCloudschedulersourcesDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesCloudschedulersourcesDeleteCall

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-collecti on/ for more information.

type NamespacesCloudschedulersourcesGetCall Uses

type NamespacesCloudschedulersourcesGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudschedulersourcesGetCall) Context Uses

func (c *NamespacesCloudschedulersourcesGetCall) Context(ctx context.Context) *NamespacesCloudschedulersourcesGetCall

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 (*NamespacesCloudschedulersourcesGetCall) Do Uses

func (c *NamespacesCloudschedulersourcesGetCall) Do(opts ...googleapi.CallOption) (*CloudSchedulerSource, error)

Do executes the "run.namespaces.cloudschedulersources.get" call. Exactly one of *CloudSchedulerSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudSchedulerSource.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 (*NamespacesCloudschedulersourcesGetCall) Fields Uses

func (c *NamespacesCloudschedulersourcesGetCall) Fields(s ...googleapi.Field) *NamespacesCloudschedulersourcesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudschedulersourcesGetCall) Header Uses

func (c *NamespacesCloudschedulersourcesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudschedulersourcesGetCall) IfNoneMatch Uses

func (c *NamespacesCloudschedulersourcesGetCall) IfNoneMatch(entityTag string) *NamespacesCloudschedulersourcesGetCall

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 NamespacesCloudschedulersourcesListCall Uses

type NamespacesCloudschedulersourcesListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudschedulersourcesListCall) Context Uses

func (c *NamespacesCloudschedulersourcesListCall) Context(ctx context.Context) *NamespacesCloudschedulersourcesListCall

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 (*NamespacesCloudschedulersourcesListCall) Continue Uses

func (c *NamespacesCloudschedulersourcesListCall) Continue(continue_ string) *NamespacesCloudschedulersourcesListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesCloudschedulersourcesListCall) Do Uses

func (c *NamespacesCloudschedulersourcesListCall) Do(opts ...googleapi.CallOption) (*ListCloudSchedulerSourcesResponse, error)

Do executes the "run.namespaces.cloudschedulersources.list" call. Exactly one of *ListCloudSchedulerSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCloudSchedulerSourcesResponse.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 (*NamespacesCloudschedulersourcesListCall) FieldSelector Uses

func (c *NamespacesCloudschedulersourcesListCall) FieldSelector(fieldSelector string) *NamespacesCloudschedulersourcesListCall

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 (*NamespacesCloudschedulersourcesListCall) Fields Uses

func (c *NamespacesCloudschedulersourcesListCall) Fields(s ...googleapi.Field) *NamespacesCloudschedulersourcesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudschedulersourcesListCall) Header Uses

func (c *NamespacesCloudschedulersourcesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudschedulersourcesListCall) IfNoneMatch Uses

func (c *NamespacesCloudschedulersourcesListCall) IfNoneMatch(entityTag string) *NamespacesCloudschedulersourcesListCall

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 (*NamespacesCloudschedulersourcesListCall) IncludeUninitialized Uses

func (c *NamespacesCloudschedulersourcesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesCloudschedulersourcesListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesCloudschedulersourcesListCall) LabelSelector Uses

func (c *NamespacesCloudschedulersourcesListCall) LabelSelector(labelSelector string) *NamespacesCloudschedulersourcesListCall

LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

func (*NamespacesCloudschedulersourcesListCall) Limit Uses

func (c *NamespacesCloudschedulersourcesListCall) Limit(limit int64) *NamespacesCloudschedulersourcesListCall

Limit sets the optional parameter "limit": The maximum number of records that should be returned.

func (*NamespacesCloudschedulersourcesListCall) ResourceVersion Uses

func (c *NamespacesCloudschedulersourcesListCall) ResourceVersion(resourceVersion string) *NamespacesCloudschedulersourcesListCall

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 (*NamespacesCloudschedulersourcesListCall) Watch Uses

func (c *NamespacesCloudschedulersourcesListCall) Watch(watch bool) *NamespacesCloudschedulersourcesListCall

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 NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall Uses

type NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Context Uses

func (c *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Context(ctx context.Context) *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall

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 (*NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Do Uses

func (c *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Do(opts ...googleapi.CallOption) (*CloudSchedulerSource, error)

Do executes the "run.namespaces.cloudschedulersources.replaceCloudSchedulerSource" call. Exactly one of *CloudSchedulerSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudSchedulerSource.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 (*NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Fields Uses

func (c *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Fields(s ...googleapi.Field) *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Header Uses

func (c *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type NamespacesCloudschedulersourcesService Uses

type NamespacesCloudschedulersourcesService struct {
    // contains filtered or unexported fields
}

func NewNamespacesCloudschedulersourcesService Uses

func NewNamespacesCloudschedulersourcesService(s *APIService) *NamespacesCloudschedulersourcesService

func (*NamespacesCloudschedulersourcesService) Create Uses

func (r *NamespacesCloudschedulersourcesService) Create(parent string, cloudschedulersource *CloudSchedulerSource) *NamespacesCloudschedulersourcesCreateCall

Create: Creates a new cloudschedulersource.

func (*NamespacesCloudschedulersourcesService) Delete Uses

func (r *NamespacesCloudschedulersourcesService) Delete(name string) *NamespacesCloudschedulersourcesDeleteCall

Delete: Rpc to delete a cloudschedulersource.

func (*NamespacesCloudschedulersourcesService) Get Uses

func (r *NamespacesCloudschedulersourcesService) Get(name string) *NamespacesCloudschedulersourcesGetCall

Get: Rpc to get information about a cloudschedulersource.

func (*NamespacesCloudschedulersourcesService) List Uses

func (r *NamespacesCloudschedulersourcesService) List(parent string) *NamespacesCloudschedulersourcesListCall

List: Rpc to list cloudschedulersources.

func (*NamespacesCloudschedulersourcesService) ReplaceCloudSchedulerSource Uses

func (r *NamespacesCloudschedulersourcesService) ReplaceCloudSchedulerSource(name string, cloudschedulersource *CloudSchedulerSource) *NamespacesCloudschedulersourcesReplaceCloudSchedulerSourceCall

ReplaceCloudSchedulerSource: Rpc to replace a cloudschedulersource.

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.

type NamespacesCloudstoragesourcesCreateCall Uses

type NamespacesCloudstoragesourcesCreateCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudstoragesourcesCreateCall) Context Uses

func (c *NamespacesCloudstoragesourcesCreateCall) Context(ctx context.Context) *NamespacesCloudstoragesourcesCreateCall

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 (*NamespacesCloudstoragesourcesCreateCall) Do Uses

func (c *NamespacesCloudstoragesourcesCreateCall) Do(opts ...googleapi.CallOption) (*CloudStorageSource, error)

Do executes the "run.namespaces.cloudstoragesources.create" call. Exactly one of *CloudStorageSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudStorageSource.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 (*NamespacesCloudstoragesourcesCreateCall) Fields Uses

func (c *NamespacesCloudstoragesourcesCreateCall) Fields(s ...googleapi.Field) *NamespacesCloudstoragesourcesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudstoragesourcesCreateCall) Header Uses

func (c *NamespacesCloudstoragesourcesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type NamespacesCloudstoragesourcesDeleteCall Uses

type NamespacesCloudstoragesourcesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudstoragesourcesDeleteCall) ApiVersion Uses

func (c *NamespacesCloudstoragesourcesDeleteCall) ApiVersion(apiVersion string) *NamespacesCloudstoragesourcesDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*NamespacesCloudstoragesourcesDeleteCall) Context Uses

func (c *NamespacesCloudstoragesourcesDeleteCall) Context(ctx context.Context) *NamespacesCloudstoragesourcesDeleteCall

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 (*NamespacesCloudstoragesourcesDeleteCall) Do Uses

func (c *NamespacesCloudstoragesourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.namespaces.cloudstoragesources.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*NamespacesCloudstoragesourcesDeleteCall) Fields Uses

func (c *NamespacesCloudstoragesourcesDeleteCall) Fields(s ...googleapi.Field) *NamespacesCloudstoragesourcesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudstoragesourcesDeleteCall) Header Uses

func (c *NamespacesCloudstoragesourcesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudstoragesourcesDeleteCall) Kind Uses

func (c *NamespacesCloudstoragesourcesDeleteCall) Kind(kind string) *NamespacesCloudstoragesourcesDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*NamespacesCloudstoragesourcesDeleteCall) PropagationPolicy Uses

func (c *NamespacesCloudstoragesourcesDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesCloudstoragesourcesDeleteCall

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-collecti on/ for more information.

type NamespacesCloudstoragesourcesGetCall Uses

type NamespacesCloudstoragesourcesGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudstoragesourcesGetCall) Context Uses

func (c *NamespacesCloudstoragesourcesGetCall) Context(ctx context.Context) *NamespacesCloudstoragesourcesGetCall

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 (*NamespacesCloudstoragesourcesGetCall) Do Uses

func (c *NamespacesCloudstoragesourcesGetCall) Do(opts ...googleapi.CallOption) (*CloudStorageSource, error)

Do executes the "run.namespaces.cloudstoragesources.get" call. Exactly one of *CloudStorageSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudStorageSource.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 (*NamespacesCloudstoragesourcesGetCall) Fields Uses

func (c *NamespacesCloudstoragesourcesGetCall) Fields(s ...googleapi.Field) *NamespacesCloudstoragesourcesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudstoragesourcesGetCall) Header Uses

func (c *NamespacesCloudstoragesourcesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudstoragesourcesGetCall) IfNoneMatch Uses

func (c *NamespacesCloudstoragesourcesGetCall) IfNoneMatch(entityTag string) *NamespacesCloudstoragesourcesGetCall

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 NamespacesCloudstoragesourcesListCall Uses

type NamespacesCloudstoragesourcesListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudstoragesourcesListCall) Context Uses

func (c *NamespacesCloudstoragesourcesListCall) Context(ctx context.Context) *NamespacesCloudstoragesourcesListCall

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 (*NamespacesCloudstoragesourcesListCall) Continue Uses

func (c *NamespacesCloudstoragesourcesListCall) Continue(continue_ string) *NamespacesCloudstoragesourcesListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesCloudstoragesourcesListCall) Do Uses

func (c *NamespacesCloudstoragesourcesListCall) Do(opts ...googleapi.CallOption) (*ListCloudStorageSourcesResponse, error)

Do executes the "run.namespaces.cloudstoragesources.list" call. Exactly one of *ListCloudStorageSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCloudStorageSourcesResponse.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 (*NamespacesCloudstoragesourcesListCall) FieldSelector Uses

func (c *NamespacesCloudstoragesourcesListCall) FieldSelector(fieldSelector string) *NamespacesCloudstoragesourcesListCall

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 (*NamespacesCloudstoragesourcesListCall) Fields Uses

func (c *NamespacesCloudstoragesourcesListCall) Fields(s ...googleapi.Field) *NamespacesCloudstoragesourcesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudstoragesourcesListCall) Header Uses

func (c *NamespacesCloudstoragesourcesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesCloudstoragesourcesListCall) IfNoneMatch Uses

func (c *NamespacesCloudstoragesourcesListCall) IfNoneMatch(entityTag string) *NamespacesCloudstoragesourcesListCall

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 (*NamespacesCloudstoragesourcesListCall) IncludeUninitialized Uses

func (c *NamespacesCloudstoragesourcesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesCloudstoragesourcesListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesCloudstoragesourcesListCall) LabelSelector Uses

func (c *NamespacesCloudstoragesourcesListCall) LabelSelector(labelSelector string) *NamespacesCloudstoragesourcesListCall

LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

func (*NamespacesCloudstoragesourcesListCall) Limit Uses

func (c *NamespacesCloudstoragesourcesListCall) Limit(limit int64) *NamespacesCloudstoragesourcesListCall

Limit sets the optional parameter "limit": The maximum number of records that should be returned.

func (*NamespacesCloudstoragesourcesListCall) ResourceVersion Uses

func (c *NamespacesCloudstoragesourcesListCall) ResourceVersion(resourceVersion string) *NamespacesCloudstoragesourcesListCall

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 (*NamespacesCloudstoragesourcesListCall) Watch Uses

func (c *NamespacesCloudstoragesourcesListCall) Watch(watch bool) *NamespacesCloudstoragesourcesListCall

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 NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall Uses

type NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Context Uses

func (c *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Context(ctx context.Context) *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall

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 (*NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Do Uses

func (c *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Do(opts ...googleapi.CallOption) (*CloudStorageSource, error)

Do executes the "run.namespaces.cloudstoragesources.replaceCloudStorageSource" call. Exactly one of *CloudStorageSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudStorageSource.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 (*NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Fields Uses

func (c *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Fields(s ...googleapi.Field) *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Header Uses

func (c *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type NamespacesCloudstoragesourcesService Uses

type NamespacesCloudstoragesourcesService struct {
    // contains filtered or unexported fields
}

func NewNamespacesCloudstoragesourcesService Uses

func NewNamespacesCloudstoragesourcesService(s *APIService) *NamespacesCloudstoragesourcesService

func (*NamespacesCloudstoragesourcesService) Create Uses

func (r *NamespacesCloudstoragesourcesService) Create(parent string, cloudstoragesource *CloudStorageSource) *NamespacesCloudstoragesourcesCreateCall

Create: Creates a new cloudstoragesource.

func (*NamespacesCloudstoragesourcesService) Delete Uses

func (r *NamespacesCloudstoragesourcesService) Delete(name string) *NamespacesCloudstoragesourcesDeleteCall

Delete: Rpc to delete a cloudstoragesource.

func (*NamespacesCloudstoragesourcesService) Get Uses

func (r *NamespacesCloudstoragesourcesService) Get(name string) *NamespacesCloudstoragesourcesGetCall

Get: Rpc to get information about a cloudstoragesource.

func (*NamespacesCloudstoragesourcesService) List Uses

func (r *NamespacesCloudstoragesourcesService) List(parent string) *NamespacesCloudstoragesourcesListCall

List: Rpc to list cloudstoragesources.

func (*NamespacesCloudstoragesourcesService) ReplaceCloudStorageSource Uses

func (r *NamespacesCloudstoragesourcesService) ReplaceCloudStorageSource(name string, cloudstoragesource *CloudStorageSource) *NamespacesCloudstoragesourcesReplaceCloudStorageSourceCall

ReplaceCloudStorageSource: Rpc to replace a cloudstoragesource.

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.

type NamespacesConfigurationsGetCall Uses

type NamespacesConfigurationsGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesConfigurationsGetCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type NamespacesConfigurationsListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesConfigurationsListCall) Context Uses

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 Uses

func (c *NamespacesConfigurationsListCall) Continue(continue_ string) *NamespacesConfigurationsListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesConfigurationsListCall) Do Uses

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 Uses

func (c *NamespacesConfigurationsListCall) FieldSelector(fieldSelector string) *NamespacesConfigurationsListCall

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 (*NamespacesConfigurationsListCall) Fields Uses

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 Uses

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 Uses

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 Uses

func (c *NamespacesConfigurationsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesConfigurationsListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesConfigurationsListCall) LabelSelector Uses

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 Uses

func (c *NamespacesConfigurationsListCall) Limit(limit int64) *NamespacesConfigurationsListCall

Limit sets the optional parameter "limit": The maximum number of records that should be returned.

func (*NamespacesConfigurationsListCall) ResourceVersion Uses

func (c *NamespacesConfigurationsListCall) ResourceVersion(resourceVersion string) *NamespacesConfigurationsListCall

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 (*NamespacesConfigurationsListCall) Watch Uses

func (c *NamespacesConfigurationsListCall) Watch(watch bool) *NamespacesConfigurationsListCall

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 NamespacesConfigurationsService Uses

type NamespacesConfigurationsService struct {
    // contains filtered or unexported fields
}

func NewNamespacesConfigurationsService Uses

func NewNamespacesConfigurationsService(s *APIService) *NamespacesConfigurationsService

func (*NamespacesConfigurationsService) Get Uses

func (r *NamespacesConfigurationsService) Get(name string) *NamespacesConfigurationsGetCall

Get: Rpc to get information about a configuration.

func (*NamespacesConfigurationsService) List Uses

func (r *NamespacesConfigurationsService) List(parent string) *NamespacesConfigurationsListCall

List: Rpc to list configurations.

type NamespacesDomainmappingsCreateCall Uses

type NamespacesDomainmappingsCreateCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesDomainmappingsCreateCall) Context Uses

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 Uses

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) Fields Uses

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 Uses

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 Uses

type NamespacesDomainmappingsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesDomainmappingsDeleteCall) ApiVersion Uses

func (c *NamespacesDomainmappingsDeleteCall) ApiVersion(apiVersion string) *NamespacesDomainmappingsDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*NamespacesDomainmappingsDeleteCall) Context Uses

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 Uses

func (c *NamespacesDomainmappingsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.namespaces.domainmappings.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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) Fields Uses

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 Uses

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 Uses

func (c *NamespacesDomainmappingsDeleteCall) Kind(kind string) *NamespacesDomainmappingsDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*NamespacesDomainmappingsDeleteCall) OrphanDependents Uses

func (c *NamespacesDomainmappingsDeleteCall) OrphanDependents(orphanDependents bool) *NamespacesDomainmappingsDeleteCall

OrphanDependents sets the optional parameter "orphanDependents": Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

func (*NamespacesDomainmappingsDeleteCall) PropagationPolicy Uses

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/workloads/controllers/garbage-collecti on/ for more information.

type NamespacesDomainmappingsGetCall Uses

type NamespacesDomainmappingsGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesDomainmappingsGetCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type NamespacesDomainmappingsListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesDomainmappingsListCall) Context Uses

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 Uses

func (c *NamespacesDomainmappingsListCall) Continue(continue_ string) *NamespacesDomainmappingsListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesDomainmappingsListCall) Do Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *NamespacesDomainmappingsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesDomainmappingsListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesDomainmappingsListCall) LabelSelector Uses

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 Uses

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 Uses

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 Uses

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 Uses

type NamespacesDomainmappingsService struct {
    // contains filtered or unexported fields
}

func NewNamespacesDomainmappingsService Uses

func NewNamespacesDomainmappingsService(s *APIService) *NamespacesDomainmappingsService

func (*NamespacesDomainmappingsService) Create Uses

func (r *NamespacesDomainmappingsService) Create(parent string, domainmapping *DomainMapping) *NamespacesDomainmappingsCreateCall

Create: Creates a new domain mapping.

func (*NamespacesDomainmappingsService) Delete Uses

func (r *NamespacesDomainmappingsService) Delete(name string) *NamespacesDomainmappingsDeleteCall

Delete: Rpc to delete a domain mapping.

func (*NamespacesDomainmappingsService) Get Uses

func (r *NamespacesDomainmappingsService) Get(name string) *NamespacesDomainmappingsGetCall

Get: Rpc to get information about a domain mapping.

func (*NamespacesDomainmappingsService) List Uses

func (r *NamespacesDomainmappingsService) List(parent string) *NamespacesDomainmappingsListCall

List: Rpc to list domain mappings.

type NamespacesRevisionsDeleteCall Uses

type NamespacesRevisionsDeleteCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesRevisionsDeleteCall) ApiVersion Uses

func (c *NamespacesRevisionsDeleteCall) ApiVersion(apiVersion string) *NamespacesRevisionsDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*NamespacesRevisionsDeleteCall) Context Uses

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 Uses

func (c *NamespacesRevisionsDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.namespaces.revisions.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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) Fields Uses

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 Uses

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 Uses

func (c *NamespacesRevisionsDeleteCall) Kind(kind string) *NamespacesRevisionsDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*NamespacesRevisionsDeleteCall) OrphanDependents Uses

func (c *NamespacesRevisionsDeleteCall) OrphanDependents(orphanDependents bool) *NamespacesRevisionsDeleteCall

OrphanDependents sets the optional parameter "orphanDependents": Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

func (*NamespacesRevisionsDeleteCall) PropagationPolicy Uses

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. Please see kubernetes.io/docs/concepts/workloads/controllers/garbage-collecti on/ for more information.

type NamespacesRevisionsGetCall Uses

type NamespacesRevisionsGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesRevisionsGetCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type NamespacesRevisionsListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesRevisionsListCall) Context Uses

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 Uses

func (c *NamespacesRevisionsListCall) Continue(continue_ string) *NamespacesRevisionsListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesRevisionsListCall) Do Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *NamespacesRevisionsListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesRevisionsListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesRevisionsListCall) LabelSelector Uses

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 Uses

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 Uses

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 Uses

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 Uses

type NamespacesRevisionsService struct {
    // contains filtered or unexported fields
}

func NewNamespacesRevisionsService Uses

func NewNamespacesRevisionsService(s *APIService) *NamespacesRevisionsService

func (*NamespacesRevisionsService) Delete Uses

func (r *NamespacesRevisionsService) Delete(name string) *NamespacesRevisionsDeleteCall

Delete: Rpc to delete a revision.

func (*NamespacesRevisionsService) Get Uses

func (r *NamespacesRevisionsService) Get(name string) *NamespacesRevisionsGetCall

Get: Rpc to get information about a revision.

func (*NamespacesRevisionsService) List Uses

func (r *NamespacesRevisionsService) List(parent string) *NamespacesRevisionsListCall

List: Rpc to list revisions.

type NamespacesRoutesGetCall Uses

type NamespacesRoutesGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesRoutesGetCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type NamespacesRoutesListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesRoutesListCall) Context Uses

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 Uses

func (c *NamespacesRoutesListCall) Continue(continue_ string) *NamespacesRoutesListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesRoutesListCall) Do Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *NamespacesRoutesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesRoutesListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesRoutesListCall) LabelSelector Uses

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 Uses

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 Uses

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 Uses

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 Uses

type NamespacesRoutesService struct {
    // contains filtered or unexported fields
}

func NewNamespacesRoutesService Uses

func NewNamespacesRoutesService(s *APIService) *NamespacesRoutesService

func (*NamespacesRoutesService) Get Uses

func (r *NamespacesRoutesService) Get(name string) *NamespacesRoutesGetCall

Get: Rpc to get information about a route.

func (*NamespacesRoutesService) List Uses

func (r *NamespacesRoutesService) List(parent string) *NamespacesRoutesListCall

List: Rpc to list routes.

type NamespacesService Uses

type NamespacesService struct {
    Authorizeddomains *NamespacesAuthorizeddomainsService

    Cloudauditlogssources *NamespacesCloudauditlogssourcesService

    Cloudpubsubsources *NamespacesCloudpubsubsourcesService

    Cloudschedulersources *NamespacesCloudschedulersourcesService

    Cloudstoragesources *NamespacesCloudstoragesourcesService

    Configurations *NamespacesConfigurationsService

    Domainmappings *NamespacesDomainmappingsService

    Revisions *NamespacesRevisionsService

    Routes *NamespacesRoutesService

    Services *NamespacesServicesService

    Triggers *NamespacesTriggersService
    // contains filtered or unexported fields
}

func NewNamespacesService Uses

func NewNamespacesService(s *APIService) *NamespacesService

type NamespacesServicesCreateCall Uses

type NamespacesServicesCreateCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesServicesCreateCall) Context Uses

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 Uses

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) Fields Uses

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 Uses

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 Uses

type NamespacesServicesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesServicesDeleteCall) ApiVersion Uses

func (c *NamespacesServicesDeleteCall) ApiVersion(apiVersion string) *NamespacesServicesDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*NamespacesServicesDeleteCall) Context Uses

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 Uses

func (c *NamespacesServicesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.namespaces.services.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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) Fields Uses

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 Uses

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 Uses

func (c *NamespacesServicesDeleteCall) Kind(kind string) *NamespacesServicesDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*NamespacesServicesDeleteCall) OrphanDependents Uses

func (c *NamespacesServicesDeleteCall) OrphanDependents(orphanDependents bool) *NamespacesServicesDeleteCall

OrphanDependents sets the optional parameter "orphanDependents": Deprecated. Specifies the cascade behavior on delete. Cloud Run only supports cascading behavior, so this must be false. This attribute is deprecated, and is now replaced with PropagationPolicy See https://github.com/kubernetes/kubernetes/issues/46659 for more info.

func (*NamespacesServicesDeleteCall) PropagationPolicy Uses

func (c *NamespacesServicesDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesServicesDeleteCall

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-collecti on/ for more information.

type NamespacesServicesGetCall Uses

type NamespacesServicesGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesServicesGetCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type NamespacesServicesListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesServicesListCall) Context Uses

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 Uses

func (c *NamespacesServicesListCall) Continue(continue_ string) *NamespacesServicesListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*NamespacesServicesListCall) Do Uses

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 Uses

func (c *NamespacesServicesListCall) FieldSelector(fieldSelector string) *NamespacesServicesListCall

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 (*NamespacesServicesListCall) Fields Uses

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 Uses

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 Uses

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 Uses

func (c *NamespacesServicesListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesServicesListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesServicesListCall) LabelSelector Uses

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 Uses

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 Uses

func (c *NamespacesServicesListCall) ResourceVersion(resourceVersion string) *NamespacesServicesListCall

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 (*NamespacesServicesListCall) Watch Uses

func (c *NamespacesServicesListCall) Watch(watch bool) *NamespacesServicesListCall

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 NamespacesServicesReplaceServiceCall Uses

type NamespacesServicesReplaceServiceCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesServicesReplaceServiceCall) Context Uses

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 Uses

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) Fields Uses

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 Uses

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 Uses

type NamespacesServicesService struct {
    // contains filtered or unexported fields
}

func NewNamespacesServicesService Uses

func NewNamespacesServicesService(s *APIService) *NamespacesServicesService

func (*NamespacesServicesService) Create Uses

func (r *NamespacesServicesService) Create(parent string, service *Service) *NamespacesServicesCreateCall

Create: Rpc to create a service.

func (*NamespacesServicesService) Delete Uses

func (r *NamespacesServicesService) Delete(name string) *NamespacesServicesDeleteCall

Delete: Rpc to delete a service. This will cause the Service to stop serving traffic and will delete the child entities like Routes, Configurations and Revisions.

func (*NamespacesServicesService) Get Uses

func (r *NamespacesServicesService) Get(name string) *NamespacesServicesGetCall

Get: Rpc to get information about a service.

func (*NamespacesServicesService) List Uses

func (r *NamespacesServicesService) List(parent string) *NamespacesServicesListCall

List: Rpc to list services.

func (*NamespacesServicesService) ReplaceService Uses

func (r *NamespacesServicesService) ReplaceService(name string, service *Service) *NamespacesServicesReplaceServiceCall

ReplaceService: Rpc to replace 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.

type NamespacesTriggersCreateCall Uses

type NamespacesTriggersCreateCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesTriggersCreateCall) Context Uses

func (c *NamespacesTriggersCreateCall) Context(ctx context.Context) *NamespacesTriggersCreateCall

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 (*NamespacesTriggersCreateCall) Do Uses

func (c *NamespacesTriggersCreateCall) Do(opts ...googleapi.CallOption) (*Trigger, error)

Do executes the "run.namespaces.triggers.create" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.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 (*NamespacesTriggersCreateCall) Fields Uses

func (c *NamespacesTriggersCreateCall) Fields(s ...googleapi.Field) *NamespacesTriggersCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesTriggersCreateCall) Header Uses

func (c *NamespacesTriggersCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type NamespacesTriggersDeleteCall Uses

type NamespacesTriggersDeleteCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesTriggersDeleteCall) ApiVersion Uses

func (c *NamespacesTriggersDeleteCall) ApiVersion(apiVersion string) *NamespacesTriggersDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*NamespacesTriggersDeleteCall) Context Uses

func (c *NamespacesTriggersDeleteCall) Context(ctx context.Context) *NamespacesTriggersDeleteCall

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 (*NamespacesTriggersDeleteCall) Do Uses

func (c *NamespacesTriggersDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.namespaces.triggers.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*NamespacesTriggersDeleteCall) Fields Uses

func (c *NamespacesTriggersDeleteCall) Fields(s ...googleapi.Field) *NamespacesTriggersDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesTriggersDeleteCall) Header Uses

func (c *NamespacesTriggersDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesTriggersDeleteCall) Kind Uses

func (c *NamespacesTriggersDeleteCall) Kind(kind string) *NamespacesTriggersDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*NamespacesTriggersDeleteCall) PropagationPolicy Uses

func (c *NamespacesTriggersDeleteCall) PropagationPolicy(propagationPolicy string) *NamespacesTriggersDeleteCall

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-collecti on/ for more information.

type NamespacesTriggersGetCall Uses

type NamespacesTriggersGetCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesTriggersGetCall) Context Uses

func (c *NamespacesTriggersGetCall) Context(ctx context.Context) *NamespacesTriggersGetCall

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 (*NamespacesTriggersGetCall) Do Uses

func (c *NamespacesTriggersGetCall) Do(opts ...googleapi.CallOption) (*Trigger, error)

Do executes the "run.namespaces.triggers.get" call. Exactly one of *Trigger or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Trigger.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 (*NamespacesTriggersGetCall) Fields Uses

func (c *NamespacesTriggersGetCall) Fields(s ...googleapi.Field) *NamespacesTriggersGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesTriggersGetCall) Header Uses

func (c *NamespacesTriggersGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesTriggersGetCall) IfNoneMatch Uses

func (c *NamespacesTriggersGetCall) IfNoneMatch(entityTag string) *NamespacesTriggersGetCall

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 NamespacesTriggersListCall Uses

type NamespacesTriggersListCall struct {
    // contains filtered or unexported fields
}

func (*NamespacesTriggersListCall) Context Uses

func (c *NamespacesTriggersListCall) Context(ctx context.Context) *NamespacesTriggersListCall

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 (*NamespacesTriggersListCall) Continue Uses

func (c *NamespacesTriggersListCall) Continue(continue_ string) *NamespacesTriggersListCall

Continue sets the optional parameter "continue": Encoded string to continue paging.

func (*NamespacesTriggersListCall) Do Uses

func (c *NamespacesTriggersListCall) Do(opts ...googleapi.CallOption) (*ListTriggersResponse, error)

Do executes the "run.namespaces.triggers.list" call. Exactly one of *ListTriggersResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListTriggersResponse.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 (*NamespacesTriggersListCall) FieldSelector Uses

func (c *NamespacesTriggersListCall) FieldSelector(fieldSelector string) *NamespacesTriggersListCall

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 (*NamespacesTriggersListCall) Fields Uses

func (c *NamespacesTriggersListCall) Fields(s ...googleapi.Field) *NamespacesTriggersListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*NamespacesTriggersListCall) Header Uses

func (c *NamespacesTriggersListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*NamespacesTriggersListCall) IfNoneMatch Uses

func (c *NamespacesTriggersListCall) IfNoneMatch(entityTag string) *NamespacesTriggersListCall

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 (*NamespacesTriggersListCall) IncludeUninitialized Uses

func (c *NamespacesTriggersListCall) IncludeUninitialized(includeUninitialized bool) *NamespacesTriggersListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*NamespacesTriggersListCall) LabelSelector Uses

func (c *NamespacesTriggersListCall) LabelSelector(labelSelector string) *NamespacesTriggersListCall

LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

func (*NamespacesTriggersListCall) Limit Uses

func (c *NamespacesTriggersListCall) Limit(limit int64) *NamespacesTriggersListCall

Limit sets the optional parameter "limit": The maximum number of records that should be returned.

func (*NamespacesTriggersListCall) ResourceVersion Uses

func (c *NamespacesTriggersListCall) ResourceVersion(resourceVersion string) *NamespacesTriggersListCall

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 (*NamespacesTriggersListCall) Watch Uses

func (c *NamespacesTriggersListCall) Watch(watch bool) *NamespacesTriggersListCall

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 NamespacesTriggersService Uses

type NamespacesTriggersService struct {
    // contains filtered or unexported fields
}

func NewNamespacesTriggersService Uses

func NewNamespacesTriggersService(s *APIService) *NamespacesTriggersService

func (*NamespacesTriggersService) Create Uses

func (r *NamespacesTriggersService) Create(parent string, trigger *Trigger) *NamespacesTriggersCreateCall

Create: Creates a new trigger.

func (*NamespacesTriggersService) Delete Uses

func (r *NamespacesTriggersService) Delete(name string) *NamespacesTriggersDeleteCall

Delete: Rpc to delete a trigger.

func (*NamespacesTriggersService) Get Uses

func (r *NamespacesTriggersService) Get(name string) *NamespacesTriggersGetCall

Get: Rpc to get information about a trigger.

func (*NamespacesTriggersService) List Uses

func (r *NamespacesTriggersService) List(parent string) *NamespacesTriggersListCall

List: Rpc to list triggers.

type ObjectMeta Uses

type ObjectMeta struct {
    // Annotations: Annotations is an 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.
    // More
    // info: http://kubernetes.io/docs/user-guide/annotations +optional
    Annotations map[string]string `json:"annotations,omitempty"`

    // ClusterName: Not currently supported by Cloud Run.
    //
    // The name of the cluster which the object belongs to.
    // This is used to distinguish resources with same name and namespace
    // in
    // different clusters. This field is not set anywhere right now and
    // apiserver
    // is going to ignore it if set in create or update request. +optional
    ClusterName string `json:"clusterName,omitempty"`

    // CreationTimestamp: CreationTimestamp is a timestamp representing the
    // server time when this
    // object was created. It is not guaranteed to be set in happens-before
    // order
    // across separate operations. Clients may not set this value. It
    // is
    // represented in RFC3339 form and is in UTC.
    //
    // Populated by the system.
    // Read-only.
    // Null for lists.
    // More
    // info:
    // https://git.k8s.io/community/contributors/devel/api-conventions.
    // md#metadata
    // +optional
    CreationTimestamp string `json:"creationTimestamp,omitempty"`

    // DeletionGracePeriodSeconds: Not currently supported by Cloud
    // Run.
    //
    // Number of seconds allowed for this object to gracefully terminate
    // before
    // it will be removed from the system. Only set when deletionTimestamp
    // is also
    // set. May only be shortened. Read-only. +optional
    DeletionGracePeriodSeconds int64 `json:"deletionGracePeriodSeconds,omitempty"`

    // DeletionTimestamp: DeletionTimestamp is RFC 3339 date and time at
    // which this resource will be
    // deleted. This field is set by the server when a graceful deletion
    // is
    // requested by the user, and is not directly settable by a client.
    // The
    // resource is expected to be deleted (no longer visible from resource
    // lists,
    // and not reachable by name) after the time in this field, once
    // the
    // finalizers list is empty. As long as the finalizers list contains
    // items,
    // deletion is blocked. Once the deletionTimestamp is set, this value
    // may not
    // be unset or be set further into the future, although it may be
    // shortened or
    // the resource may be deleted prior to this time. For example, a user
    // may
    // request that a pod is deleted in 30 seconds. The Kubelet will react
    // by
    // sending a graceful termination signal to the containers in the pod.
    // After
    // that 30 seconds, the Kubelet will send a hard termination signal
    // (SIGKILL)
    // to the container and after cleanup, remove the pod from the API. In
    // the
    // presence of network partitions, this object may still exist after
    // this
    // timestamp, until an administrator or automated process can determine
    // the
    // resource is fully terminated.
    // If not set, graceful deletion of the object has not been
    // requested.
    //
    // Populated by the system when a graceful deletion is
    // requested.
    // Read-only.
    // More
    // info:
    // https://git.k8s.io/community/contributors/devel/api-conventions.
    // md#metadata
    // +optional
    DeletionTimestamp string `json:"deletionTimestamp,omitempty"`

    // Finalizers: Not currently supported by Cloud Run.
    //
    // Must be empty before the object is deleted from the registry. Each
    // entry
    // is an identifier for the responsible component that will remove the
    // entry
    // from the list. If the deletionTimestamp of the object is non-nil,
    // entries
    // in this list can only be removed.
    // +optional
    // +patchStrategy=merge
    Finalizers []string `json:"finalizers,omitempty"`

    // GenerateName: Not currently supported by Cloud Run.
    //
    // GenerateName is an optional prefix, used by the server, to generate
    // a
    // unique name ONLY IF the Name field has not been provided. If this
    // field is
    // used, the name returned to the client will be different than the
    // name
    // passed. This value will also be combined with a unique suffix. The
    // provided
    // value has the same validation rules as the Name field, and may be
    // truncated
    // by the length of the suffix required to make the value unique on
    // the
    // server.
    //
    // If this field is specified and the generated name exists, the server
    // will
    // NOT return a 409 - instead, it will either return 201 Created or 500
    // with
    // Reason ServerTimeout indicating a unique name could not be found in
    // the
    // time allotted, and the client should retry (optionally after the
    // time
    // indicated in the Retry-After header).
    //
    // Applied only if Name is not specified.
    // More
    // info:
    // https://git.k8s.io/community/contributors/devel/api-conventions.
    // md#idempotency
    // +optional
    //  string generateName = 2;
    GenerateName string `json:"generateName,omitempty"`

    // Generation: A sequence number representing a specific generation of
    // the desired state.
    // Populated by the system. Read-only.
    // +optional
    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.
    // More info: http://kubernetes.io/docs/user-guide/labels
    // +optional
    Labels map[string]string `json:"labels,omitempty"`

    // Name: Name must be unique within a namespace, within a Cloud Run
    // region.
    // Is required when creating
    // resources, although some resources may allow a client to request
    // the
    // generation of an appropriate name automatically. Name is primarily
    // intended
    // for creation idempotence and configuration definition. Cannot be
    // updated.
    // More info:
    // http://kubernetes.io/docs/user-guide/identifiers#names
    // +optional
    Name string `json:"name,omitempty"`

    // Namespace: Namespace defines the space within each name must be
    // unique, within a
    // Cloud Run region. In Cloud Run the namespace must be equal to either
    // the
    // project ID or project number.
    Namespace string `json:"namespace,omitempty"`

    // OwnerReferences: List of objects that own this object. If ALL objects
    // in the list have
    // been deleted, this object will be garbage collected.
    // +optional
    OwnerReferences []*OwnerReference `json:"ownerReferences,omitempty"`

    // ResourceVersion: An opaque 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. They may only be valid for
    // a
    // particular resource or set of resources.
    //
    // Populated by the system.
    // Read-only.
    // Value must be treated as opaque by clients and .
    // More
    // info:
    // https://git.k8s.io/community/contributors/devel/api-conventions.
    // md#concurrency-control-and-consistency
    // +optional
    ResourceVersion string `json:"resourceVersion,omitempty"`

    // SelfLink: SelfLink is a URL representing this object.
    // Populated by the system.
    // Read-only.
    // +optional
    //  string selfLink = 4;
    SelfLink string `json:"selfLink,omitempty"`

    // Uid: UID is the unique in time and space value for this object. It is
    // typically
    // generated by the server on successful creation of a resource and is
    // not
    // allowed to change on PUT operations.
    //
    // Populated by the system.
    // Read-only.
    // More info:
    // http://kubernetes.io/docs/user-guide/identifiers#uids
    // +optional
    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 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: ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

func (*ObjectMeta) MarshalJSON Uses

func (s *ObjectMeta) MarshalJSON() ([]byte, error)

type ObjectReference Uses

type ObjectReference struct {
    // ApiVersion: API version of the referent.
    // +optional
    ApiVersion string `json:"apiVersion,omitempty"`

    // FieldPath: If referring to a piece of an object instead of an entire
    // object, this
    // string should contain a valid JSON/Go field access statement, such
    // as
    // desiredState.manifest.containers[2]. For example, if the object
    // reference
    // is to a container within a pod, this would take on a value
    // like:
    // "spec.containers{name}" (where "name" refers to the name of the
    // container
    // that triggered the event) or if no container name is
    // specified
    // "spec.containers[2]" (container with index 2 in this pod). This
    // syntax is
    // chosen only to have some well-defined way of referencing a part of
    // an
    // object.
    FieldPath string `json:"fieldPath,omitempty"`

    // Kind: Kind of the referent.
    // More
    // info:
    // https://git.k8s.io/community/contributors/devel/api-conventions.
    // md#types-kinds
    // +optional
    Kind string `json:"kind,omitempty"`

    // Name: Name of the referent.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/overview/working-with-object
    // s/names/#names
    // +optional
    Name string `json:"name,omitempty"`

    // Namespace: Namespace of the referent.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/overview/working-with-object
    // s/namespaces/
    // +optional
    Namespace string `json:"namespace,omitempty"`

    // ResourceVersion: Specific resourceVersion to which this reference is
    // made, if any.
    // More
    // info:
    // https://git.k8s.io/community/contributors/devel/api-conventions.
    // md#concurrency-control-and-consistency
    // +optional
    ResourceVersion string `json:"resourceVersion,omitempty"`

    // Uid: UID of the referent.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/overview/working-with-object
    // s/names/#uids
    // +optional
    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 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:"-"`
}

ObjectReference: ObjectReference contains enough information to let you inspect or modify the referred object.

func (*ObjectReference) MarshalJSON Uses

func (s *ObjectReference) MarshalJSON() ([]byte, error)

type OwnerReference Uses

type OwnerReference struct {
    // ApiVersion: API version of the referent.
    ApiVersion string `json:"apiVersion,omitempty"`

    // BlockOwnerDeletion: If true, AND if the owner has the
    // "foregroundDeletion" finalizer, then
    // the owner cannot be deleted from the key-value store until
    // this
    // reference is removed.
    // Defaults to false.
    // To set this field, a user needs "delete" permission of the
    // owner,
    // otherwise 422 (Unprocessable Entity) will be returned.
    // +optional
    BlockOwnerDeletion bool `json:"blockOwnerDeletion,omitempty"`

    // Controller: If true, this reference points to the managing
    // controller.
    // +optional
    Controller bool `json:"controller,omitempty"`

    // Kind: Kind of the referent.
    // More
    // info:
    // https://git.k8s.io/community/contributors/devel/api-conventions.
    // md#types-kinds
    Kind string `json:"kind,omitempty"`

    // Name: Name of the referent.
    // More info: http://kubernetes.io/docs/user-guide/identifiers#names
    Name string `json:"name,omitempty"`

    // Uid: UID of the referent.
    // More info: http://kubernetes.io/docs/user-guide/identifiers#uids
    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 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: OwnerReference contains enough information to let you identify an owning object. Currently, an owning object must be in the same namespace, so there is no namespace field.

func (*OwnerReference) MarshalJSON Uses

func (s *OwnerReference) MarshalJSON() ([]byte, error)

type Policy Uses

type Policy struct {
    // AuditConfigs: Specifies cloud audit logging configuration for this
    // policy.
    AuditConfigs []*AuditConfig `json:"auditConfigs,omitempty"`

    // Bindings: Associates a list of `members` to 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 member.
    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.
    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 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` to a single `role`. Members 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.

Optionally, a `binding` can 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.

**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 Uses

func (s *Policy) MarshalJSON() ([]byte, error)

type Probe Uses

type Probe struct {
    // FailureThreshold: Minimum consecutive failures for the probe to be
    // considered failed after
    // having succeeded. Defaults to 3. Minimum value is 1. +optional
    FailureThreshold int64 `json:"failureThreshold,omitempty"`

    // Handler: The action taken to determine the health of a container
    Handler *Handler `json:"handler,omitempty"`

    // InitialDelaySeconds: Number of seconds after the container has
    // started before liveness probes
    // are initiated. More
    // info:
    // https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle
    // #container-probes
    // +optional
    InitialDelaySeconds int64 `json:"initialDelaySeconds,omitempty"`

    // PeriodSeconds: How often (in seconds) to perform the probe.
    // Default to 10 seconds. Minimum value is 1.
    // +optional
    PeriodSeconds int64 `json:"periodSeconds,omitempty"`

    // SuccessThreshold: Minimum consecutive successes for the probe to be
    // considered successful
    // after having failed. Defaults to 1. Must be 1 for liveness. Minimum
    // value
    // is 1. +optional
    SuccessThreshold int64 `json:"successThreshold,omitempty"`

    // TimeoutSeconds: Number of seconds after which the probe times
    // out.
    // Defaults to 1 second. Minimum value is 1.
    // More
    // info:
    // https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle
    // #container-probes
    // +optional
    TimeoutSeconds int64 `json:"timeoutSeconds,omitempty"`

    // ForceSendFields is a list of field names (e.g. "FailureThreshold") to
    // unconditionally include in API requests. By default, fields with
    // empty 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. "FailureThreshold") 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 Uses

func (s *Probe) MarshalJSON() ([]byte, error)

type ProjectsLocationsAuthorizeddomainsListCall Uses

type ProjectsLocationsAuthorizeddomainsListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsAuthorizeddomainsListCall) Context Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

func (c *ProjectsLocationsAuthorizeddomainsListCall) PageSize(pageSize int64) *ProjectsLocationsAuthorizeddomainsListCall

PageSize sets the optional parameter "pageSize": Maximum results to return per page.

func (*ProjectsLocationsAuthorizeddomainsListCall) PageToken Uses

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 Uses

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 Uses

type ProjectsLocationsAuthorizeddomainsService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsAuthorizeddomainsService Uses

func NewProjectsLocationsAuthorizeddomainsService(s *APIService) *ProjectsLocationsAuthorizeddomainsService

func (*ProjectsLocationsAuthorizeddomainsService) List Uses

func (r *ProjectsLocationsAuthorizeddomainsService) List(parent string) *ProjectsLocationsAuthorizeddomainsListCall

List: RPC to list authorized domains.

type ProjectsLocationsCloudauditlogssourcesCreateCall Uses

type ProjectsLocationsCloudauditlogssourcesCreateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudauditlogssourcesCreateCall) Context Uses

func (c *ProjectsLocationsCloudauditlogssourcesCreateCall) Context(ctx context.Context) *ProjectsLocationsCloudauditlogssourcesCreateCall

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 (*ProjectsLocationsCloudauditlogssourcesCreateCall) Do Uses

func (c *ProjectsLocationsCloudauditlogssourcesCreateCall) Do(opts ...googleapi.CallOption) (*CloudAuditLogsSource, error)

Do executes the "run.projects.locations.cloudauditlogssources.create" call. Exactly one of *CloudAuditLogsSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudAuditLogsSource.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 (*ProjectsLocationsCloudauditlogssourcesCreateCall) Fields Uses

func (c *ProjectsLocationsCloudauditlogssourcesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudauditlogssourcesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudauditlogssourcesCreateCall) Header Uses

func (c *ProjectsLocationsCloudauditlogssourcesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsCloudauditlogssourcesDeleteCall Uses

type ProjectsLocationsCloudauditlogssourcesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudauditlogssourcesDeleteCall) ApiVersion Uses

func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) ApiVersion(apiVersion string) *ProjectsLocationsCloudauditlogssourcesDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*ProjectsLocationsCloudauditlogssourcesDeleteCall) Context Uses

func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCloudauditlogssourcesDeleteCall

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 (*ProjectsLocationsCloudauditlogssourcesDeleteCall) Do Uses

func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.projects.locations.cloudauditlogssources.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*ProjectsLocationsCloudauditlogssourcesDeleteCall) Fields Uses

func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudauditlogssourcesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudauditlogssourcesDeleteCall) Header Uses

func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsCloudauditlogssourcesDeleteCall) Kind Uses

func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) Kind(kind string) *ProjectsLocationsCloudauditlogssourcesDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*ProjectsLocationsCloudauditlogssourcesDeleteCall) PropagationPolicy Uses

func (c *ProjectsLocationsCloudauditlogssourcesDeleteCall) PropagationPolicy(propagationPolicy string) *ProjectsLocationsCloudauditlogssourcesDeleteCall

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-collecti on/ for more information.

type ProjectsLocationsCloudauditlogssourcesGetCall Uses

type ProjectsLocationsCloudauditlogssourcesGetCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudauditlogssourcesGetCall) Context Uses

func (c *ProjectsLocationsCloudauditlogssourcesGetCall) Context(ctx context.Context) *ProjectsLocationsCloudauditlogssourcesGetCall

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 (*ProjectsLocationsCloudauditlogssourcesGetCall) Do Uses

func (c *ProjectsLocationsCloudauditlogssourcesGetCall) Do(opts ...googleapi.CallOption) (*CloudAuditLogsSource, error)

Do executes the "run.projects.locations.cloudauditlogssources.get" call. Exactly one of *CloudAuditLogsSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudAuditLogsSource.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 (*ProjectsLocationsCloudauditlogssourcesGetCall) Fields Uses

func (c *ProjectsLocationsCloudauditlogssourcesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudauditlogssourcesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudauditlogssourcesGetCall) Header Uses

func (c *ProjectsLocationsCloudauditlogssourcesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsCloudauditlogssourcesGetCall) IfNoneMatch Uses

func (c *ProjectsLocationsCloudauditlogssourcesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCloudauditlogssourcesGetCall

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 ProjectsLocationsCloudauditlogssourcesListCall Uses

type ProjectsLocationsCloudauditlogssourcesListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudauditlogssourcesListCall) Context Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) Context(ctx context.Context) *ProjectsLocationsCloudauditlogssourcesListCall

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 (*ProjectsLocationsCloudauditlogssourcesListCall) Continue Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) Continue(continue_ string) *ProjectsLocationsCloudauditlogssourcesListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*ProjectsLocationsCloudauditlogssourcesListCall) Do Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) Do(opts ...googleapi.CallOption) (*ListCloudAuditLogsSourcesResponse, error)

Do executes the "run.projects.locations.cloudauditlogssources.list" call. Exactly one of *ListCloudAuditLogsSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCloudAuditLogsSourcesResponse.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 (*ProjectsLocationsCloudauditlogssourcesListCall) FieldSelector Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) FieldSelector(fieldSelector string) *ProjectsLocationsCloudauditlogssourcesListCall

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 (*ProjectsLocationsCloudauditlogssourcesListCall) Fields Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudauditlogssourcesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudauditlogssourcesListCall) Header Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsCloudauditlogssourcesListCall) IfNoneMatch Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCloudauditlogssourcesListCall

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 (*ProjectsLocationsCloudauditlogssourcesListCall) IncludeUninitialized Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsCloudauditlogssourcesListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*ProjectsLocationsCloudauditlogssourcesListCall) LabelSelector Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) LabelSelector(labelSelector string) *ProjectsLocationsCloudauditlogssourcesListCall

LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

func (*ProjectsLocationsCloudauditlogssourcesListCall) Limit Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) Limit(limit int64) *ProjectsLocationsCloudauditlogssourcesListCall

Limit sets the optional parameter "limit": The maximum number of records that should be returned.

func (*ProjectsLocationsCloudauditlogssourcesListCall) ResourceVersion Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsCloudauditlogssourcesListCall

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 (*ProjectsLocationsCloudauditlogssourcesListCall) Watch Uses

func (c *ProjectsLocationsCloudauditlogssourcesListCall) Watch(watch bool) *ProjectsLocationsCloudauditlogssourcesListCall

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 ProjectsLocationsCloudauditlogssourcesService Uses

type ProjectsLocationsCloudauditlogssourcesService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsCloudauditlogssourcesService Uses

func NewProjectsLocationsCloudauditlogssourcesService(s *APIService) *ProjectsLocationsCloudauditlogssourcesService

func (*ProjectsLocationsCloudauditlogssourcesService) Create Uses

func (r *ProjectsLocationsCloudauditlogssourcesService) Create(parent string, cloudauditlogssource *CloudAuditLogsSource) *ProjectsLocationsCloudauditlogssourcesCreateCall

Create: Creates a new cloudauditlogssource.

func (*ProjectsLocationsCloudauditlogssourcesService) Delete Uses

func (r *ProjectsLocationsCloudauditlogssourcesService) Delete(name string) *ProjectsLocationsCloudauditlogssourcesDeleteCall

Delete: Rpc to delete a cloudauditlogssource.

func (*ProjectsLocationsCloudauditlogssourcesService) Get Uses

func (r *ProjectsLocationsCloudauditlogssourcesService) Get(name string) *ProjectsLocationsCloudauditlogssourcesGetCall

Get: Rpc to get information about a cloudauditlogssource.

func (*ProjectsLocationsCloudauditlogssourcesService) List Uses

func (r *ProjectsLocationsCloudauditlogssourcesService) List(parent string) *ProjectsLocationsCloudauditlogssourcesListCall

List: Rpc to list cloudauditlogssources.

type ProjectsLocationsCloudpubsubsourcesCreateCall Uses

type ProjectsLocationsCloudpubsubsourcesCreateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudpubsubsourcesCreateCall) Context Uses

func (c *ProjectsLocationsCloudpubsubsourcesCreateCall) Context(ctx context.Context) *ProjectsLocationsCloudpubsubsourcesCreateCall

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 (*ProjectsLocationsCloudpubsubsourcesCreateCall) Do Uses

func (c *ProjectsLocationsCloudpubsubsourcesCreateCall) Do(opts ...googleapi.CallOption) (*CloudPubSubSource, error)

Do executes the "run.projects.locations.cloudpubsubsources.create" call. Exactly one of *CloudPubSubSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudPubSubSource.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 (*ProjectsLocationsCloudpubsubsourcesCreateCall) Fields Uses

func (c *ProjectsLocationsCloudpubsubsourcesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudpubsubsourcesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudpubsubsourcesCreateCall) Header Uses

func (c *ProjectsLocationsCloudpubsubsourcesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsCloudpubsubsourcesDeleteCall Uses

type ProjectsLocationsCloudpubsubsourcesDeleteCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudpubsubsourcesDeleteCall) ApiVersion Uses

func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) ApiVersion(apiVersion string) *ProjectsLocationsCloudpubsubsourcesDeleteCall

ApiVersion sets the optional parameter "apiVersion": Cloud Run currently ignores this parameter.

func (*ProjectsLocationsCloudpubsubsourcesDeleteCall) Context Uses

func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) Context(ctx context.Context) *ProjectsLocationsCloudpubsubsourcesDeleteCall

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 (*ProjectsLocationsCloudpubsubsourcesDeleteCall) Do Uses

func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) Do(opts ...googleapi.CallOption) (*Empty, error)

Do executes the "run.projects.locations.cloudpubsubsources.delete" call. Exactly one of *Empty or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *Empty.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 (*ProjectsLocationsCloudpubsubsourcesDeleteCall) Fields Uses

func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudpubsubsourcesDeleteCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudpubsubsourcesDeleteCall) Header Uses

func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsCloudpubsubsourcesDeleteCall) Kind Uses

func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) Kind(kind string) *ProjectsLocationsCloudpubsubsourcesDeleteCall

Kind sets the optional parameter "kind": Cloud Run currently ignores this parameter.

func (*ProjectsLocationsCloudpubsubsourcesDeleteCall) PropagationPolicy Uses

func (c *ProjectsLocationsCloudpubsubsourcesDeleteCall) PropagationPolicy(propagationPolicy string) *ProjectsLocationsCloudpubsubsourcesDeleteCall

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-collecti on/ for more information.

type ProjectsLocationsCloudpubsubsourcesGetCall Uses

type ProjectsLocationsCloudpubsubsourcesGetCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudpubsubsourcesGetCall) Context Uses

func (c *ProjectsLocationsCloudpubsubsourcesGetCall) Context(ctx context.Context) *ProjectsLocationsCloudpubsubsourcesGetCall

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 (*ProjectsLocationsCloudpubsubsourcesGetCall) Do Uses

func (c *ProjectsLocationsCloudpubsubsourcesGetCall) Do(opts ...googleapi.CallOption) (*CloudPubSubSource, error)

Do executes the "run.projects.locations.cloudpubsubsources.get" call. Exactly one of *CloudPubSubSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudPubSubSource.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 (*ProjectsLocationsCloudpubsubsourcesGetCall) Fields Uses

func (c *ProjectsLocationsCloudpubsubsourcesGetCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudpubsubsourcesGetCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudpubsubsourcesGetCall) Header Uses

func (c *ProjectsLocationsCloudpubsubsourcesGetCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsCloudpubsubsourcesGetCall) IfNoneMatch Uses

func (c *ProjectsLocationsCloudpubsubsourcesGetCall) IfNoneMatch(entityTag string) *ProjectsLocationsCloudpubsubsourcesGetCall

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 ProjectsLocationsCloudpubsubsourcesListCall Uses

type ProjectsLocationsCloudpubsubsourcesListCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudpubsubsourcesListCall) Context Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) Context(ctx context.Context) *ProjectsLocationsCloudpubsubsourcesListCall

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 (*ProjectsLocationsCloudpubsubsourcesListCall) Continue Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) Continue(continue_ string) *ProjectsLocationsCloudpubsubsourcesListCall

Continue sets the optional parameter "continue": Optional encoded string to continue paging.

func (*ProjectsLocationsCloudpubsubsourcesListCall) Do Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) Do(opts ...googleapi.CallOption) (*ListCloudPubSubSourcesResponse, error)

Do executes the "run.projects.locations.cloudpubsubsources.list" call. Exactly one of *ListCloudPubSubSourcesResponse or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *ListCloudPubSubSourcesResponse.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 (*ProjectsLocationsCloudpubsubsourcesListCall) FieldSelector Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) FieldSelector(fieldSelector string) *ProjectsLocationsCloudpubsubsourcesListCall

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 (*ProjectsLocationsCloudpubsubsourcesListCall) Fields Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudpubsubsourcesListCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudpubsubsourcesListCall) Header Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

func (*ProjectsLocationsCloudpubsubsourcesListCall) IfNoneMatch Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) IfNoneMatch(entityTag string) *ProjectsLocationsCloudpubsubsourcesListCall

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 (*ProjectsLocationsCloudpubsubsourcesListCall) IncludeUninitialized Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) IncludeUninitialized(includeUninitialized bool) *ProjectsLocationsCloudpubsubsourcesListCall

IncludeUninitialized sets the optional parameter "includeUninitialized": Not currently used by Cloud Run.

func (*ProjectsLocationsCloudpubsubsourcesListCall) LabelSelector Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) LabelSelector(labelSelector string) *ProjectsLocationsCloudpubsubsourcesListCall

LabelSelector sets the optional parameter "labelSelector": Allows to filter resources based on a label. Supported operations are =, !=, exists, in, and notIn.

func (*ProjectsLocationsCloudpubsubsourcesListCall) Limit Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) Limit(limit int64) *ProjectsLocationsCloudpubsubsourcesListCall

Limit sets the optional parameter "limit": The maximum number of records that should be returned.

func (*ProjectsLocationsCloudpubsubsourcesListCall) ResourceVersion Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) ResourceVersion(resourceVersion string) *ProjectsLocationsCloudpubsubsourcesListCall

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 (*ProjectsLocationsCloudpubsubsourcesListCall) Watch Uses

func (c *ProjectsLocationsCloudpubsubsourcesListCall) Watch(watch bool) *ProjectsLocationsCloudpubsubsourcesListCall

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 ProjectsLocationsCloudpubsubsourcesService Uses

type ProjectsLocationsCloudpubsubsourcesService struct {
    // contains filtered or unexported fields
}

func NewProjectsLocationsCloudpubsubsourcesService Uses

func NewProjectsLocationsCloudpubsubsourcesService(s *APIService) *ProjectsLocationsCloudpubsubsourcesService

func (*ProjectsLocationsCloudpubsubsourcesService) Create Uses

func (r *ProjectsLocationsCloudpubsubsourcesService) Create(parent string, cloudpubsubsource *CloudPubSubSource) *ProjectsLocationsCloudpubsubsourcesCreateCall

Create: Creates a new cloudpubsubsource.

func (*ProjectsLocationsCloudpubsubsourcesService) Delete Uses

func (r *ProjectsLocationsCloudpubsubsourcesService) Delete(name string) *ProjectsLocationsCloudpubsubsourcesDeleteCall

Delete: Rpc to delete a cloudpubsubsource.

func (*ProjectsLocationsCloudpubsubsourcesService) Get Uses

func (r *ProjectsLocationsCloudpubsubsourcesService) Get(name string) *ProjectsLocationsCloudpubsubsourcesGetCall

Get: Rpc to get information about a cloudpubsubsource.

func (*ProjectsLocationsCloudpubsubsourcesService) List Uses

func (r *ProjectsLocationsCloudpubsubsourcesService) List(parent string) *ProjectsLocationsCloudpubsubsourcesListCall

List: Rpc to list cloudpubsubsources.

type ProjectsLocationsCloudschedulersourcesCreateCall Uses

type ProjectsLocationsCloudschedulersourcesCreateCall struct {
    // contains filtered or unexported fields
}

func (*ProjectsLocationsCloudschedulersourcesCreateCall) Context Uses

func (c *ProjectsLocationsCloudschedulersourcesCreateCall) Context(ctx context.Context) *ProjectsLocationsCloudschedulersourcesCreateCall

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 (*ProjectsLocationsCloudschedulersourcesCreateCall) Do Uses

func (c *ProjectsLocationsCloudschedulersourcesCreateCall) Do(opts ...googleapi.CallOption) (*CloudSchedulerSource, error)

Do executes the "run.projects.locations.cloudschedulersources.create" call. Exactly one of *CloudSchedulerSource or error will be non-nil. Any non-2xx status code is an error. Response headers are in either *CloudSchedulerSource.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 (*ProjectsLocationsCloudschedulersourcesCreateCall) Fields Uses

func (c *ProjectsLocationsCloudschedulersourcesCreateCall) Fields(s ...googleapi.Field) *ProjectsLocationsCloudschedulersourcesCreateCall

Fields allows partial responses to be retrieved. See https://developers.google.com/gdata/docs/2.0/basics#PartialResponse for more information.

func (*ProjectsLocationsCloudschedulersourcesCreateCall) Header Uses

func (c *ProjectsLocationsCloudschedulersourcesCreateCall) Header() http.Header

Header returns an http.Header that can be modified by the caller to add HTTP headers to the request.

type ProjectsLocationsCloudschedulersourcesDeleteCall Uses

type ProjectsLocations