Spec

class Spec : KotlinCustomResource

Creates a specified spec.

Properties

Link copied to clipboard
val annotations: Output<Map<String, String>>

Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.

Link copied to clipboard
val apiId: Output<String>
Link copied to clipboard
val apiSpecId: Output<String>

Required. The ID to use for the spec, which will become the final component of the spec's resource name. This value should be 4-63 characters, and valid characters are /a-z-/. Following AIP-162, IDs must not have the form of a UUID.

Link copied to clipboard
val contents: Output<String>

Input only. The contents of the spec. Provided by API callers when specs are created or updated. To access the contents of a spec, use GetApiSpecContents.

Link copied to clipboard
val createTime: Output<String>

Creation timestamp; when the spec resource was created.

Link copied to clipboard
val description: Output<String>

A detailed description.

Link copied to clipboard
val filename: Output<String>

A possibly-hierarchical name used to refer to the spec from other specs.

Link copied to clipboard
val hash: Output<String>

A SHA-256 hash of the spec's contents. If the spec is gzipped, this is the hash of the uncompressed spec.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val labels: Output<Map<String, String>>

Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with apigeeregistry.googleapis.com/ and cannot be changed.

Link copied to clipboard
val location: Output<String>
Link copied to clipboard
val mimeType: Output<String>

A style (format) descriptor for this spec that is specified as a Media Type (https://en.wikipedia.org/wiki/Media_type). Possible values include application/vnd.apigee.proto, application/vnd.apigee.openapi, and application/vnd.apigee.graphql, with possible suffixes representing compression types. These hypothetical names are defined in the vendor tree defined in RFC6838 (https://tools.ietf.org/html/rfc6838) and are not final. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").

Link copied to clipboard
val name: Output<String>

Resource name.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Revision creation timestamp; when the represented revision was created.

Link copied to clipboard
val revisionId: Output<String>

Immutable. The revision ID of the spec. A new revision is committed whenever the spec contents are changed. The format is an 8-character hexadecimal string.

Link copied to clipboard

Last update timestamp: when the represented revision was last modified.

Link copied to clipboard
val sizeBytes: Output<Int>

The size of the spec file in bytes. If the spec is gzipped, this is the size of the uncompressed spec.

Link copied to clipboard
val sourceUri: Output<String>

The original source URI of the spec (if one exists). This is an external location that can be used for reference purposes but which may not be authoritative since this external resource may change after the spec is retrieved.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard
val versionId: Output<String>