Class Connection (0.1.6)

Connection(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Message describing Connection object

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
github_config google.cloud.developerconnect_v1.types.GitHubConfig
Configuration for connections to github.com. This field is a member of oneof_ connection_config.
github_enterprise_config google.cloud.developerconnect_v1.types.GitHubEnterpriseConfig
Configuration for connections to an instance of GitHub Enterprise. This field is a member of oneof_ connection_config.
gitlab_config google.cloud.developerconnect_v1.types.GitLabConfig
Configuration for connections to gitlab.com. This field is a member of oneof_ connection_config.
gitlab_enterprise_config google.cloud.developerconnect_v1.types.GitLabEnterpriseConfig
Configuration for connections to an instance of GitLab Enterprise. This field is a member of oneof_ connection_config.
name str
Identifier. The resource name of the connection, in the format projects/{project}/locations/{location}/connections/{connection_id}.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Create timestamp
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Update timestamp
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. [Output only] Delete timestamp
labels MutableMapping[str, str]
Optional. Labels as key value pairs
installation_state google.cloud.developerconnect_v1.types.InstallationState
Output only. Installation state of the Connection.
disabled bool
Optional. 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.
reconciling bool
Output only. Set to true when the connection is being set up or updated in the background.
annotations MutableMapping[str, str]
Optional. Allows clients to store small amounts of arbitrary data.
etag str
Optional. 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.
uid str
Output only. A system-assigned unique identifier for a the GitRepositoryLink.
crypto_key_config google.cloud.developerconnect_v1.types.CryptoKeyConfig
Optional. The crypto key configuration. This field is used by the Customer-Managed Encryption Keys (CMEK) feature.

Classes

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.