Class GoogleCloudApihubV1Version
Represents a version of the API resource in API hub. This is also referred to as the API version.
Implements
Inherited Members
Namespace: Google.Apis.APIhub.v1.Data
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class GoogleCloudApihubV1Version : IDirectResponseSchema
Properties
Accreditation
Optional. The accreditations associated with the API version. This maps to the following system defined
attribute: projects/{project}/locations/{location}/attributes/system-accreditation attribute. The number
of values for this attribute will be based on the cardinality of the attribute. The same can be retrieved
via GetAttribute API. All values should be from the list of allowed values defined for the attribute.
Declaration
[JsonProperty("accreditation")]
public virtual GoogleCloudApihubV1AttributeValues Accreditation { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudApihubV1AttributeValues |
ApiOperations
Output only. The operations contained in the API version. These operations will be added to the version when
a new spec is added or when an existing spec is updated. Format is
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
Declaration
[JsonProperty("apiOperations")]
public virtual IList<string> ApiOperations { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Attributes
Optional. The list of user defined attributes associated with the Version resource. The key is the attribute
name. It will be of the format: projects/{project}/locations/{location}/attributes/{attribute}. The value
is the attribute values associated with the resource.
Declaration
[JsonProperty("attributes")]
public virtual IDictionary<string, GoogleCloudApihubV1AttributeValues> Attributes { get; set; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, GoogleCloudApihubV1AttributeValues> |
Compliance
Optional. The compliance associated with the API version. This maps to the following system defined
attribute: projects/{project}/locations/{location}/attributes/system-compliance attribute. The number of
values for this attribute will be based on the cardinality of the attribute. The same can be retrieved via
GetAttribute API. All values should be from the list of allowed values defined for the attribute.
Declaration
[JsonProperty("compliance")]
public virtual GoogleCloudApihubV1AttributeValues Compliance { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudApihubV1AttributeValues |
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CreateTimeRaw
Output only. The time at which the version was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Definitions
Output only. The definitions contained in the API version. These definitions will be added to the version
when a new spec is added or when an existing spec is updated. Format is
projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}
Declaration
[JsonProperty("definitions")]
public virtual IList<string> Definitions { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Deployments
Optional. The deployments linked to this API version. Note: A particular API version could be deployed to
multiple deployments (for dev deployment, UAT deployment, etc) Format is
projects/{project}/locations/{location}/deployments/{deployment}
Declaration
[JsonProperty("deployments")]
public virtual IList<string> Deployments { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Description
Optional. The description of the version.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
DisplayName
Required. The display name of the version.
Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Documentation
Optional. The documentation of the version.
Declaration
[JsonProperty("documentation")]
public virtual GoogleCloudApihubV1Documentation Documentation { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudApihubV1Documentation |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Lifecycle
Optional. The lifecycle of the API version. This maps to the following system defined attribute:
projects/{project}/locations/{location}/attributes/system-lifecycle attribute. The number of values for
this attribute will be based on the cardinality of the attribute. The same can be retrieved via GetAttribute
API. All values should be from the list of allowed values defined for the attribute.
Declaration
[JsonProperty("lifecycle")]
public virtual GoogleCloudApihubV1AttributeValues Lifecycle { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleCloudApihubV1AttributeValues |
Name
Identifier. The name of the version. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SelectedDeployment
Optional. The selected deployment for a Version resource. This can be used when special handling is needed
on client side for a particular deployment linked to the version. Format is
projects/{project}/locations/{location}/deployments/{deployment}
Declaration
[JsonProperty("selectedDeployment")]
public virtual string SelectedDeployment { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SourceMetadata
Output only. The list of sources and metadata from the sources of the version.
Declaration
[JsonProperty("sourceMetadata")]
public virtual IList<GoogleCloudApihubV1SourceMetadata> SourceMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudApihubV1SourceMetadata> |
Specs
Output only. The specs associated with this version. Note that an API version can be associated with
multiple specs. Format is
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Declaration
[JsonProperty("specs")]
public virtual IList<string> Specs { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
UpdateTimeRaw
Output only. The time at which the version was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |