Class GoogleCloudApihubV1Definition
Represents a definition for example schema, request, response definitions contained in an API version. A
definition is added/updated/deleted in an API version when a new spec is added or an existing spec is
updated/deleted in a version. Currently, definition will be created only corresponding to OpenAPI spec as
parsing is supported for OpenAPI spec. Also, within OpenAPI spec, only schema
object is supported.
Implements
Inherited Members
Namespace: Google.Apis.APIhub.v1.Data
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class GoogleCloudApihubV1Definition : IDirectResponseSchema
Properties
Attributes
Optional. The list of user defined attributes associated with the definition 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> |
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 definition was created.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Identifier. The name of the definition. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Schema
Output only. The value of a schema definition.
Declaration
[JsonProperty("schema")]
public virtual GoogleCloudApihubV1Schema Schema { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudApihubV1Schema |
Spec
Output only. The name of the spec from where the definition was parsed. Format is
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
Declaration
[JsonProperty("spec")]
public virtual string Spec { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
Output only. The type of the definition.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
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 definition was last updated.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |