Example constructor

Example(
  1. String name, {
  2. ExampleArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

Example(
  String name, {
  ExampleArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'gcp:ces/example:Example',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
      ) {
  app = registerOutput<String>('app');
  createTime = registerOutput<String>('createTime');
  deletionPolicy = registerOutput<String>('deletionPolicy');
  description = registerOutput<String?>('description');
  displayName = registerOutput<String>('displayName');
  entryAgent = registerOutput<String?>('entryAgent');
  etag = registerOutput<String>('etag');
  exampleId = registerOutput<String>('exampleId');
  invalid = registerOutput<bool>('invalid');
  location = registerOutput<String>('location');
  messages = registerOutput<List<ExampleMessage>?>('messages', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ExampleMessage>(guardedValue, (value) => ExampleMessage.fromMap((value as Map).cast<String, dynamic>())); });
  this.name = registerOutput<String>('name');
  project = registerOutput<String>('project');
  updateTime = registerOutput<String>('updateTime');
}