MirrorConfig class
Configuration to automatically mirror a repository from another hosting service, for example GitHub or Bitbucket.
Constructors
-
MirrorConfig({Input<
String> ? deployKeyId, Input<String> ? url, Input<String> ? webhookId}) -
Creates a new MirrorConfig.
deployKeyIdID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.urlURL of the main repository at the other hosting service.webhookIdID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.const -
MirrorConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deployKeyId
→ Input<
String> ? -
ID of the SSH deploy key at the other hosting service. Removing this key from the other service would deauthorize Google Cloud Source Repositories from mirroring.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
url
→ Input<
String> ? -
URL of the main repository at the other hosting service.
final
-
webhookId
→ Input<
String> ? -
ID of the webhook listening to updates to trigger mirroring. Removing this webhook from the other hosting service will stop Google Cloud Source Repositories from receiving notifications, and thereby disabling mirroring.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited