LogScope constructor

LogScope(
  1. String name, {
  2. LogScopeArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

LogScope(
  String name, {
  LogScopeArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:logging/logScope:LogScope',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  createTime = registerOutput<String>('createTime');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String?>('description');
  location = registerOutput<String>('location');
  this.name = registerOutput<String>('name');
  parent = registerOutput<String>('parent');
  resourceNames = registerOutput<List<String>>('resourceNames', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
  updateTime = registerOutput<String>('updateTime');
}