Endpoint constructor
Endpoint({
- String? ipAddress,
- int? port,
- String? instance,
- String? network,
- Endpoint_NetworkType? networkType,
- String? projectId,
- String? gkeMasterCluster,
- String? cloudSqlInstance,
- Endpoint_CloudFunctionEndpoint? cloudFunction,
- Endpoint_AppEngineVersionEndpoint? appEngineVersion,
- Endpoint_CloudRunRevisionEndpoint? cloudRunRevision,
Implementation
factory Endpoint({
$core.String? ipAddress,
$core.int? port,
$core.String? instance,
$core.String? network,
Endpoint_NetworkType? networkType,
$core.String? projectId,
$core.String? gkeMasterCluster,
$core.String? cloudSqlInstance,
Endpoint_CloudFunctionEndpoint? cloudFunction,
Endpoint_AppEngineVersionEndpoint? appEngineVersion,
Endpoint_CloudRunRevisionEndpoint? cloudRunRevision,
}) {
final $result = create();
if (ipAddress != null) {
$result.ipAddress = ipAddress;
}
if (port != null) {
$result.port = port;
}
if (instance != null) {
$result.instance = instance;
}
if (network != null) {
$result.network = network;
}
if (networkType != null) {
$result.networkType = networkType;
}
if (projectId != null) {
$result.projectId = projectId;
}
if (gkeMasterCluster != null) {
$result.gkeMasterCluster = gkeMasterCluster;
}
if (cloudSqlInstance != null) {
$result.cloudSqlInstance = cloudSqlInstance;
}
if (cloudFunction != null) {
$result.cloudFunction = cloudFunction;
}
if (appEngineVersion != null) {
$result.appEngineVersion = appEngineVersion;
}
if (cloudRunRevision != null) {
$result.cloudRunRevision = cloudRunRevision;
}
return $result;
}