GetServiceResult constructor

const GetServiceResult({
  1. required String artifactGcsUri,
  2. required String createTime,
  3. required String databaseType,
  4. required EncryptionConfigResponse encryptionConfig,
  5. required String endpointUri,
  6. required HiveMetastoreConfigResponse hiveMetastoreConfig,
  7. required Map<String, String> labels,
  8. required MaintenanceWindowResponse maintenanceWindow,
  9. required MetadataIntegrationResponse metadataIntegration,
  10. required MetadataManagementActivityResponse metadataManagementActivity,
  11. required String name,
  12. required String network,
  13. required NetworkConfigResponse networkConfig,
  14. required int port,
  15. required String releaseChannel,
  16. required ScalingConfigResponse scalingConfig,
  17. required String state,
  18. required String stateMessage,
  19. required TelemetryConfigResponse telemetryConfig,
  20. required String tier,
  21. required String uid,
  22. required String updateTime,
})

Creates a new GetServiceResult. artifactGcsUri A Cloud Storage URI (starting with gs://) that specifies where artifacts related to the metastore service are stored. createTime The time when the metastore service was created. databaseType Immutable. The database type that the Metastore service stores its data. encryptionConfig Immutable. Information used to configure the Dataproc Metastore service to encrypt customer data at rest. Cannot be updated. endpointUri The URI of the endpoint used to access the metastore service. hiveMetastoreConfig Configuration information specific to running Hive metastore software as the metastore service. labels User-defined labels for the metastore service. maintenanceWindow The one hour maintenance window of the metastore service. This specifies when the service can be restarted for maintenance purposes in UTC time. Maintenance window is not needed for services with the SPANNER database type. metadataIntegration Optional. The setting that defines how metastore metadata should be integrated with external services and systems. metadataManagementActivity The metadata management activities of the metastore service. name Immutable. The relative resource name of the metastore service, in the following format:projects/{project_number}/locations/{location_id}/services/{service_id}. network Immutable. The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:projects/{project_number}/global/networks/{network_id}. networkConfig The configuration specifying the network settings for the Dataproc Metastore service. port The TCP port at which the metastore service is reached. Default: 9083. releaseChannel Immutable. The release channel of the service. If unspecified, defaults to STABLE. scalingConfig Scaling configuration of the metastore service. state The current state of the metastore service. stateMessage Additional information about the current state of the metastore service, if available. telemetryConfig The configuration specifying telemetry settings for the Dataproc Metastore service. If unspecified defaults to JSON. tier The tier of the service. uid The globally unique resource identifier of the metastore service. updateTime The time when the metastore service was last updated.

Implementation

const GetServiceResult({
  required this.artifactGcsUri,
  required this.createTime,
  required this.databaseType,
  required this.encryptionConfig,
  required this.endpointUri,
  required this.hiveMetastoreConfig,
  required this.labels,
  required this.maintenanceWindow,
  required this.metadataIntegration,
  required this.metadataManagementActivity,
  required this.name,
  required this.network,
  required this.networkConfig,
  required this.port,
  required this.releaseChannel,
  required this.scalingConfig,
  required this.state,
  required this.stateMessage,
  required this.telemetryConfig,
  required this.tier,
  required this.uid,
  required this.updateTime,
});