SourceArgs class
The set of arguments for Source. The set of arguments for Source.
Constructors
-
SourceArgs({Input<
String> ? description, Input<String> ? displayName, Input<String> ? location, Input<bool> ? managed, Input<int> ? priority, Input<String> ? project, Input<String> ? requestId, required Input<String> sourceId, Input<SourceType> ? type}) -
Creates a new SourceArgs.
descriptionFree-text description.displayNameUser-friendly display name.locationOptional.managedIftrue, the source is managed by other service(s).priorityThe information confidence of the source. The higher the value, the higher the confidence.projectOptional.requestIdOptional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).sourceIdRequired. User specified ID for the source. It will become the last component of the source name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression:[a-z]([a-z0-9-]{0,61}[a-z0-9])?.typeData source type.const -
SourceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String> ? -
Free-text description.
final
-
displayName
→ Input<
String> ? -
User-friendly display name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
location
→ Input<
String> ? -
final
-
managed
→ Input<
bool> ? -
If
true, the source is managed by other service(s).final -
priority
→ Input<
int> ? -
The information confidence of the source. The higher the value, the higher the confidence.
final
-
project
→ Input<
String> ? -
final
-
requestId
→ Input<
String> ? -
Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sourceId
→ Input<
String> -
Required. User specified ID for the source. It will become the last component of the source name. The ID must be unique within the project, must conform with RFC-1034, is restricted to lower-cased letters, and has a maximum length of 63 characters. The ID must match the regular expression:
[a-z]([a-z0-9-]{0,61}[a-z0-9])?.final -
type
→ Input<
SourceType> ? -
Data source type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited