GetConfigResult class
Result data returned by getConfig.
Constructors
-
GetConfigResult({required List<
ApiResponse> apis, required AuthenticationResponse authentication, required BackendResponse backend, required BillingResponse billing, required int configVersion, required ContextResponse context, required ControlResponse control, required CustomErrorResponse customError, required DocumentationResponse documentation, required List<EndpointResponse> endpoints, required List<EnumResponse> enums, required HttpResponse http, required LoggingResponse logging, required List<LogDescriptorResponse> logs, required List<MetricDescriptorResponse> metrics, required List<MonitoredResourceDescriptorResponse> monitoredResources, required MonitoringResponse monitoring, required String name, required String producerProjectId, required PublishingResponse publishing, required QuotaResponse quota, required SourceInfoResponse sourceInfo, required SystemParametersResponse systemParameters, required List<TypeResponse> systemTypes, required String title, required List<TypeResponse> types, required UsageResponse usage}) -
Creates a new GetConfigResult.
apisA list of API interfaces exported by this service. Only thenamefield of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.authenticationAuth configuration.backendAPI backend configuration.billingBilling configuration.configVersionObsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to3.contextContext configuration.controlConfiguration for the service control plane.customErrorCustom error configuration.documentationAdditional API documentation.endpointsConfiguration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.enumsA list of all enum types included in this API service. Enums referenced directly or indirectly by theapisare automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnumhttpHTTP configuration.loggingLogging configuration.logsDefines the logs used by this service.metricsDefines the metrics used by this service.monitoredResourcesDefines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.monitoringMonitoring configuration.nameThe service name, which is a DNS-like logical identifier for the service, such ascalendar.googleapis.com. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.producerProjectIdThe Google project that owns this service.publishingSettings for Google Cloud Client libraries generated from APIs defined as protocol buffers.quotaQuota configuration.sourceInfoThe source information for this configuration if available.systemParametersSystem parameter configuration.systemTypesA list of all proto message types included in this API service. It serves similar purpose asgoogle.api.Service.types, except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.titleThe product title for this service, it is the name displayed in Google Cloud Console.typesA list of all proto message types included in this API service. Types referenced directly or indirectly by theapisare automatically included. Messages which are not referenced but shall be included, such as types used by thegoogle.protobuf.Anytype, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32usageConfiguration controlling usage of this service.const -
GetConfigResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apis
→ List<
ApiResponse> -
A list of API interfaces exported by this service. Only the
namefield of the google.protobuf.Api needs to be provided by the configuration author, as the remaining fields will be derived from the IDL during the normalization process. It is an error to specify an API interface here which cannot be resolved against the associated IDL files.final - authentication → AuthenticationResponse
-
Auth configuration.
final
- backend → BackendResponse
-
API backend configuration.
final
- billing → BillingResponse
-
Billing configuration.
final
- configVersion → int
-
Obsolete. Do not use. This field has no semantic meaning. The service config compiler always sets this field to
3.final - context → ContextResponse
-
Context configuration.
final
- control → ControlResponse
-
Configuration for the service control plane.
final
- customError → CustomErrorResponse
-
Custom error configuration.
final
- documentation → DocumentationResponse
-
Additional API documentation.
final
-
endpoints
→ List<
EndpointResponse> -
Configuration for network endpoints. If this is empty, then an endpoint with the same name as the service is automatically generated to service all defined APIs.
final
-
enums
→ List<
EnumResponse> -
A list of all enum types included in this API service. Enums referenced directly or indirectly by the
apisare automatically included. Enums which are not referenced but shall be included should be listed here by name by the configuration author. Example: enums: - name: google.someapi.v1.SomeEnumfinal - hashCode → int
-
The hash code for this object.
no setterinherited
- http → HttpResponse
-
HTTP configuration.
final
- logging → LoggingResponse
-
Logging configuration.
final
-
logs
→ List<
LogDescriptorResponse> -
Defines the logs used by this service.
final
-
metrics
→ List<
MetricDescriptorResponse> -
Defines the metrics used by this service.
final
-
monitoredResources
→ List<
MonitoredResourceDescriptorResponse> -
Defines the monitored resources used by this service. This is required by the Service.monitoring and Service.logging configurations.
final
- monitoring → MonitoringResponse
-
Monitoring configuration.
final
- name → String
-
The service name, which is a DNS-like logical identifier for the service, such as
calendar.googleapis.com. The service name typically goes through DNS verification to make sure the owner of the service also owns the DNS name.final - producerProjectId → String
-
The Google project that owns this service.
final
- publishing → PublishingResponse
-
Settings for Google Cloud Client libraries generated from APIs defined as protocol buffers.
final
- quota → QuotaResponse
-
Quota configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceInfo → SourceInfoResponse
-
The source information for this configuration if available.
final
- systemParameters → SystemParametersResponse
-
System parameter configuration.
final
-
systemTypes
→ List<
TypeResponse> -
A list of all proto message types included in this API service. It serves similar purpose as
google.api.Service.types, except that these types are not needed by user-defined APIs. Therefore, they will not show up in the generated discovery doc. This field should only be used to define system APIs in ESF.final - title → String
-
The product title for this service, it is the name displayed in Google Cloud Console.
final
-
types
→ List<
TypeResponse> -
A list of all proto message types included in this API service. Types referenced directly or indirectly by the
apisare automatically included. Messages which are not referenced but shall be included, such as types used by thegoogle.protobuf.Anytype, should be listed here by name by the configuration author. Example: types: - name: google.protobuf.Int32final - usage → UsageResponse
-
Configuration controlling usage of this service.
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