Repo constructor

Repo(
  1. String name, {
  2. RepoArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new Repo. name The Pulumi resource name. args Arguments used to configure this Repo. The set of arguments for Repo. options Resource options controlling this resource's behavior.

Implementation

Repo(
  String name, {
  RepoArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:sourcerepo/v1:Repo',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  mirrorConfig = registerOutput<MirrorConfigResponse>('mirrorConfig', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return MirrorConfigResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  pubsubConfigs = registerOutput<Map<String, String>>('pubsubConfigs');
  size = registerOutput<String>('size');
  url = registerOutput<String>('url');
}