RepositoryGroup constructor
RepositoryGroup(
- String name, {
- RepositoryGroupArgs? args,
- CustomResourceOptions? options,
Creates a new RepositoryGroup.
name The Pulumi resource name.
args Arguments used to configure this RepositoryGroup. The set of arguments for RepositoryGroup.
options Resource options controlling this resource's behavior.
Implementation
RepositoryGroup(
String name, {
RepositoryGroupArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:gemini/repositoryGroup:RepositoryGroup',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
) {
codeRepositoryIndex = registerOutput<String>('codeRepositoryIndex');
createTime = registerOutput<String>('createTime');
deletionPolicy = registerOutput<String>('deletionPolicy');
effectiveLabels = registerOutput<Map<String, String>>('effectiveLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
labels = registerOutput<Map<String, String>?>('labels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
location = registerOutput<String>('location');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
pulumiLabels = registerOutput<Map<String, String>>('pulumiLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
repositories = registerOutput<List<RepositoryGroupRepository>>('repositories', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<RepositoryGroupRepository>(guardedValue, (value) => RepositoryGroupRepository.fromMap((value as Map).cast<String, dynamic>())); });
repositoryGroupId = registerOutput<String>('repositoryGroupId');
updateTime = registerOutput<String>('updateTime');
}