Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.apigeeregistry/v1.getVersionArtifact
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns a specified artifact.
Using getVersionArtifact
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVersionArtifact(args: GetVersionArtifactArgs, opts?: InvokeOptions): Promise<GetVersionArtifactResult>
function getVersionArtifactOutput(args: GetVersionArtifactOutputArgs, opts?: InvokeOptions): Output<GetVersionArtifactResult>def get_version_artifact(api_id: Optional[str] = None,
                         artifact_id: Optional[str] = None,
                         location: Optional[str] = None,
                         project: Optional[str] = None,
                         version_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetVersionArtifactResult
def get_version_artifact_output(api_id: Optional[pulumi.Input[str]] = None,
                         artifact_id: Optional[pulumi.Input[str]] = None,
                         location: Optional[pulumi.Input[str]] = None,
                         project: Optional[pulumi.Input[str]] = None,
                         version_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetVersionArtifactResult]func LookupVersionArtifact(ctx *Context, args *LookupVersionArtifactArgs, opts ...InvokeOption) (*LookupVersionArtifactResult, error)
func LookupVersionArtifactOutput(ctx *Context, args *LookupVersionArtifactOutputArgs, opts ...InvokeOption) LookupVersionArtifactResultOutput> Note: This function is named LookupVersionArtifact in the Go SDK.
public static class GetVersionArtifact 
{
    public static Task<GetVersionArtifactResult> InvokeAsync(GetVersionArtifactArgs args, InvokeOptions? opts = null)
    public static Output<GetVersionArtifactResult> Invoke(GetVersionArtifactInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetVersionArtifactResult> getVersionArtifact(GetVersionArtifactArgs args, InvokeOptions options)
public static Output<GetVersionArtifactResult> getVersionArtifact(GetVersionArtifactArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:apigeeregistry/v1:getVersionArtifact
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ApiId string
- ArtifactId string
- Location string
- VersionId string
- Project string
- ApiId string
- ArtifactId string
- Location string
- VersionId string
- Project string
- apiId String
- artifactId String
- location String
- versionId String
- project String
- apiId string
- artifactId string
- location string
- versionId string
- project string
- api_id str
- artifact_id str
- location str
- version_id str
- project str
- apiId String
- artifactId String
- location String
- versionId String
- project String
getVersionArtifact Result
The following output properties are available:
- Annotations Dictionary<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.
- Contents string
- Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- CreateTime string
- Creation timestamp.
- Hash string
- A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- Labels Dictionary<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 "registry.googleapis.com/" and cannot be changed.
- MimeType string
- A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- Name string
- Resource name.
- SizeBytes int
- The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- UpdateTime string
- Last update timestamp.
- Annotations 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.
- Contents string
- Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- CreateTime string
- Creation timestamp.
- Hash string
- A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- Labels 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 "registry.googleapis.com/" and cannot be changed.
- MimeType string
- A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- Name string
- Resource name.
- SizeBytes int
- The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- UpdateTime string
- Last update timestamp.
- annotations 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.
- contents String
- Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- createTime String
- Creation timestamp.
- hash String
- A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- labels 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 "registry.googleapis.com/" and cannot be changed.
- mimeType String
- A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- name String
- Resource name.
- sizeBytes Integer
- The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- updateTime String
- Last update timestamp.
- annotations {[key: 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.
- contents string
- Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- createTime string
- Creation timestamp.
- hash string
- A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- labels {[key: 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 "registry.googleapis.com/" and cannot be changed.
- mimeType string
- A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- name string
- Resource name.
- sizeBytes number
- The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- updateTime string
- Last update timestamp.
- annotations Mapping[str, str]
- 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.
- contents str
- Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- create_time str
- Creation timestamp.
- hash str
- A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- labels Mapping[str, str]
- 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 "registry.googleapis.com/" and cannot be changed.
- mime_type str
- A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- name str
- Resource name.
- size_bytes int
- The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- update_time str
- Last update timestamp.
- annotations Map<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.
- contents String
- Input only. The contents of the artifact. Provided by API callers when artifacts are created or replaced. To access the contents of an artifact, use GetArtifactContents.
- createTime String
- Creation timestamp.
- hash String
- A SHA-256 hash of the artifact's contents. If the artifact is gzipped, this is the hash of the uncompressed artifact.
- labels Map<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 "registry.googleapis.com/" and cannot be changed.
- mimeType String
- A content type specifier for the artifact. Content type specifiers are Media Types (https://en.wikipedia.org/wiki/Media_type) with a possible "schema" parameter that specifies a schema for the stored information. Content types can specify compression. Currently only GZip compression is supported (indicated with "+gzip").
- name String
- Resource name.
- sizeBytes Number
- The size of the artifact in bytes. If the artifact is gzipped, this is the size of the uncompressed artifact.
- updateTime String
- Last update timestamp.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi