View Source GoogleApi.CloudBuild.V2.Model.Connection (google_api_cloud_build v0.50.1)

A connection to a SCM like GitHub, GitHub Enterprise, Bitbucket Data Center, Bitbucket Cloud or GitLab.

Attributes

  • annotations (type: map(), default: nil) - Allows clients to store small amounts of arbitrary data.
  • bitbucketCloudConfig (type: GoogleApi.CloudBuild.V2.Model.BitbucketCloudConfig.t, default: nil) - Configuration for connections to Bitbucket Cloud.
  • bitbucketDataCenterConfig (type: GoogleApi.CloudBuild.V2.Model.BitbucketDataCenterConfig.t, default: nil) - Configuration for connections to Bitbucket Data Center.
  • createTime (type: DateTime.t, default: nil) - Output only. Server assigned timestamp for when the connection was created.
  • disabled (type: boolean(), default: nil) - If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
  • etag (type: String.t, default: nil) - This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
  • githubConfig (type: GoogleApi.CloudBuild.V2.Model.GitHubConfig.t, default: nil) - Configuration for connections to github.com.
  • githubEnterpriseConfig (type: GoogleApi.CloudBuild.V2.Model.GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig.t, default: nil) - Configuration for connections to an instance of GitHub Enterprise.
  • gitlabConfig (type: GoogleApi.CloudBuild.V2.Model.GoogleDevtoolsCloudbuildV2GitLabConfig.t, default: nil) - Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
  • installationState (type: GoogleApi.CloudBuild.V2.Model.InstallationState.t, default: nil) - Output only. Installation state of the Connection.
  • name (type: String.t, default: nil) - Immutable. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.
  • reconciling (type: boolean(), default: nil) - Output only. Set to true when the connection is being set up or updated in the background.
  • updateTime (type: DateTime.t, default: nil) - Output only. Server assigned timestamp for when the connection was updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V2.Model.Connection{
  annotations: map() | nil,
  bitbucketCloudConfig:
    GoogleApi.CloudBuild.V2.Model.BitbucketCloudConfig.t() | nil,
  bitbucketDataCenterConfig:
    GoogleApi.CloudBuild.V2.Model.BitbucketDataCenterConfig.t() | nil,
  createTime: DateTime.t() | nil,
  disabled: boolean() | nil,
  etag: String.t() | nil,
  githubConfig: GoogleApi.CloudBuild.V2.Model.GitHubConfig.t() | nil,
  githubEnterpriseConfig:
    GoogleApi.CloudBuild.V2.Model.GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig.t()
    | nil,
  gitlabConfig:
    GoogleApi.CloudBuild.V2.Model.GoogleDevtoolsCloudbuildV2GitLabConfig.t()
    | nil,
  installationState: GoogleApi.CloudBuild.V2.Model.InstallationState.t() | nil,
  name: String.t() | nil,
  reconciling: boolean() | nil,
  updateTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.