ServiceState class

Input properties used for looking up and filtering Service resources.

Constructors

ServiceState({Input<List<ServiceApi>?>? apis, Input<String?>? configId, Input<String?>? deletionPolicy, Input<String?>? dnsAddress, Input<List<ServiceEndpoint>?>? endpoints, Input<String?>? grpcConfig, Input<String?>? openapiConfig, Input<String?>? project, Input<String?>? protocOutputBase64, Input<String?>? serviceName})
Creates a new ServiceState. apis A list of API objects; structure is documented below. configId 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. deletionPolicy Whether Terraform will be prevented from destroying the instance. Defaults to "DELETE". dnsAddress The address at which the service can be found - usually the same as the service name. endpoints A list of Endpoint objects; structure is documented below. grpcConfig The full text of the Service Config YAML file (Example located here). openapiConfig The full text of the OpenAPI YAML configuration as described here. project The project ID that the service belongs to. If not provided, provider project is used. protocOutputBase64 The full contents of the Service Descriptor File generated by protoc. This should be a compiled .pb file, base64-encoded. serviceName The 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. openApi config 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 grpcConfig and protocOutputBase64 must 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