ServiceState class
Input properties used for looking up and filtering Service resources.
Constructors
-
ServiceState({Input<
List< ? apis, Input<ServiceApi> ?>String?> ? configId, Input<String?> ? deletionPolicy, Input<String?> ? dnsAddress, Input<List< ? endpoints, Input<ServiceEndpoint> ?>String?> ? grpcConfig, Input<String?> ? openapiConfig, Input<String?> ? project, Input<String?> ? protocOutputBase64, Input<String?> ? serviceName}) -
Creates a new ServiceState.
apisA list of API objects; structure is documented below.configIdThe autogenerated ID for the configuration that is rolled out as part of the creation of this resource. Must be provided to compute engine instances as a tag.deletionPolicyWhether Terraform will be prevented from destroying the instance. Defaults to "DELETE".dnsAddressThe address at which the service can be found - usually the same as the service name.endpointsA list of Endpoint objects; structure is documented below.grpcConfigThe full text of the Service Config YAML file (Example located here).openapiConfigThe full text of the OpenAPI YAML configuration as described here.projectThe project ID that the service belongs to. If not provided, provider project is used.protocOutputBase64The full contents of the Service Descriptor File generated by protoc. This should be a compiled .pb file, base64-encoded.serviceNameThe name of the service. Usually of the form$apiname.endpoints.$projectid.cloud.goog.const -
ServiceState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
apis
→ Input<
List< ?ServiceApi> ?> -
A list of API objects; structure is documented below.
final
-
configId
→ Input<
String?> ? -
The autogenerated ID for the configuration that is rolled out as part of the creation of this resource. Must be provided to compute engine instances as a tag.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the instance. Defaults to "DELETE".
When a 'terraform destroy' or 'terraform apply' would delete the instance,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
dnsAddress
→ Input<
String?> ? -
The address at which the service can be found - usually the same as the service name.
final
-
endpoints
→ Input<
List< ?ServiceEndpoint> ?> -
A list of Endpoint objects; structure is documented below.
final
-
grpcConfig
→ Input<
String?> ? -
The full text of the Service Config YAML file (Example located here).
If provided, must also provide
protocOutputBase64.openApiconfig must not be provided.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
openapiConfig
→ Input<
String?> ? -
The full text of the OpenAPI YAML configuration as described here.
Either this, or both of
grpcConfigandprotocOutputBase64must be specified.final -
project
→ Input<
String?> ? -
The project ID that the service belongs to. If not provided, provider project is used.
final
-
protocOutputBase64
→ Input<
String?> ? -
The full contents of the Service Descriptor File generated by protoc. This should be a compiled .pb file, base64-encoded.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceName
→ Input<
String?> ? -
The name of the service. Usually of the form
$apiname.endpoints.$projectid.cloud.goog.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