ServiceArgs class
The set of arguments for Service. The set of arguments for Service.
Constructors
-
ServiceArgs({Input<
String?> ? deletionPolicy, Input<String?> ? grpcConfig, Input<String?> ? openapiConfig, Input<String?> ? project, Input<String?> ? protocOutputBase64, required Input<String> serviceName}) -
Creates a new ServiceArgs.
deletionPolicyWhether Terraform will be prevented from destroying the instance. Defaults to "DELETE".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 -
ServiceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
-
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