DeviceSession constructor
DeviceSession(
- String name, {
- DeviceSessionArgs? args,
- CustomResourceOptions? options,
Creates a new DeviceSession.
name The Pulumi resource name.
args Arguments used to configure this DeviceSession. The set of arguments for DeviceSession.
options Resource options controlling this resource's behavior.
Implementation
DeviceSession(
String name, {
DeviceSessionArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:testing/v1:DeviceSession',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
activeStartTime = registerOutput<String>('activeStartTime');
androidDevice = registerOutput<AndroidDeviceResponse>('androidDevice', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AndroidDeviceResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
createTime = registerOutput<String>('createTime');
displayName = registerOutput<String>('displayName');
expireTime = registerOutput<String>('expireTime');
inactivityTimeout = registerOutput<String>('inactivityTimeout');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
state = registerOutput<String>('state');
stateHistories = registerOutput<List<Map<String, dynamic>>>('stateHistories');
ttl = registerOutput<String>('ttl');
}