GetConfigResult class
Result data returned by getConfig.
Constructors
-
GetConfigResult({required String createTime, required String displayName, required String gatewayServiceAccount, required List<
ApigatewayApiConfigGrpcServiceDefinitionResponse> grpcServices, required Map<String, String> labels, required List<ApigatewayApiConfigFileResponse> managedServiceConfigs, required String name, required List<ApigatewayApiConfigOpenApiDocumentResponse> openapiDocuments, required String serviceConfigId, required String state, required String updateTime}) -
Creates a new GetConfigResult.
createTimeCreated time.displayNameOptional. Display name.gatewayServiceAccountImmutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email ({ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.grpcServicesOptional. gRPC service definition files. If specified, openapi_documents must not be included.labelsOptional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resourcesmanagedServiceConfigsOptional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.nameResource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}openapiDocumentsOptional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.serviceConfigIdThe ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).stateState of the API Config.updateTimeUpdated time.const -
GetConfigResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createTime → String
-
Created time.
final
- displayName → String
-
Optional. Display name.
final
- gatewayServiceAccount → String
-
Immutable. The Google Cloud IAM Service Account that Gateways serving this config should use to authenticate to other services. This may either be the Service Account's email (
{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com) or its full resource name (projects/{PROJECT}/accounts/{UNIQUE_ID}). This is most often used when the service is a GCP resource such as a Cloud Run Service or an IAP-secured service.final -
grpcServices
→ List<
ApigatewayApiConfigGrpcServiceDefinitionResponse> -
Optional. gRPC service definition files. If specified, openapi_documents must not be included.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
final
-
managedServiceConfigs
→ List<
ApigatewayApiConfigFileResponse> -
Optional. Service Configuration files. At least one must be included when using gRPC service definitions. See https://cloud.google.com/endpoints/docs/grpc/grpc-service-config#service_configuration_overview for the expected file contents. If multiple files are specified, the files are merged with the following rules: * All singular scalar fields are merged using "last one wins" semantics in the order of the files uploaded. * Repeated fields are concatenated. * Singular embedded messages are merged using these rules for nested fields.
final
- name → String
-
Resource name of the API Config. Format: projects/{project}/locations/global/apis/{api}/configs/{api_config}
final
-
openapiDocuments
→ List<
ApigatewayApiConfigOpenApiDocumentResponse> -
Optional. OpenAPI specification documents. If specified, grpc_services and managed_service_configs must not be included.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serviceConfigId → String
-
The ID of the associated Service Config ( https://cloud.google.com/service-infrastructure/docs/glossary#config).
final
- state → String
-
State of the API Config.
final
- updateTime → String
-
Updated time.
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