Debian Codegraph @

docs/dyn/apihub_v1.projects.locations.apis.versions.definitions.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="apihub_v1.html">API hub API</a> . <a href="apihub_v1.projects.html">projects</a> . <a href="apihub_v1.projects.locations.html">locations</a> . <a href="apihub_v1.projects.locations.apis.html">apis</a> . <a href="apihub_v1.projects.locations.apis.versions.html">versions</a> . <a href="apihub_v1.projects.locations.apis.versions.definitions.html">definitions</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Get details about a definition in an API version.</p>
83 <h3>Method Details</h3>
84 <div class="method">
85 <code class="details" id="close">close()</code>
86 <pre>Close httplib2 connections.</pre>
87 </div>
88
89 <div class="method">
90 <code class="details" id="get">get(name, x__xgafv=None)</code>
91 <pre>Get details about a definition in an API version.
92
93 Args:
94 name: string, Required. The name of the definition to retrieve. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}` (required)
95 x__xgafv: string, V1 error format.
96 Allowed values
97 1 - v1 error format
98 2 - v2 error format
99
100 Returns:
101 An object of the form:
102
103 { # 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.
104 &quot;attributes&quot;: { # 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.
105 &quot;a_key&quot;: { # The attribute values associated with resource.
106 &quot;attribute&quot;: &quot;A String&quot;, # Output only. The name of the attribute. Format: projects/{project}/locations/{location}/attributes/{attribute}
107 &quot;enumValues&quot;: { # The attribute values of data type enum. # The attribute values associated with a resource in case attribute data type is enum.
108 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is enum.
109 { # The value that can be assigned to the attribute when the data type is enum.
110 &quot;description&quot;: &quot;A String&quot;, # Optional. The detailed description of the allowed value.
111 &quot;displayName&quot;: &quot;A String&quot;, # Required. The display name of the allowed value.
112 &quot;id&quot;: &quot;A String&quot;, # Required. The ID of the allowed value. * If provided, the same will be used. The service will throw an error if the specified id is already used by another allowed value in the same attribute resource. * If not provided, a system generated id derived from the display name will be used. In this case, the service will handle conflict resolution by adding a system generated suffix in case of duplicates. This value should be 4-63 characters, and valid characters are /a-z-/.
113 &quot;immutable&quot;: True or False, # Optional. When set to true, the allowed value cannot be updated or deleted by the user. It can only be true for System defined attributes.
114 },
115 ],
116 },
117 &quot;jsonValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is JSON.
118 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
119 &quot;A String&quot;,
120 ],
121 },
122 &quot;stringValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is string.
123 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
124 &quot;A String&quot;,
125 ],
126 },
127 &quot;uriValues&quot;: { # The attribute values of data type string or JSON. # The attribute values associated with a resource in case attribute data type is URL, URI or IP, like gs://bucket-name/object-name.
128 &quot;values&quot;: [ # Required. The attribute values in case attribute data type is string or JSON.
129 &quot;A String&quot;,
130 ],
131 },
132 },
133 },
134 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time at which the definition was created.
135 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the definition. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}/definitions/{definition}`
136 &quot;schema&quot;: { # The schema details derived from the spec. Currently, this entity is supported for OpenAPI spec only. For OpenAPI spec, this maps to the schema defined in the `definitions` section for OpenAPI 2.0 version and in `components.schemas` section for OpenAPI 3.0 and 3.1 version. # Output only. The value of a schema definition.
137 &quot;displayName&quot;: &quot;A String&quot;, # Output only. The display name of the schema. This will map to the name of the schema in the spec.
138 &quot;rawValue&quot;: &quot;A String&quot;, # Output only. The raw value of the schema definition corresponding to the schema name in the spec.
139 },
140 &quot;spec&quot;: &quot;A String&quot;, # 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}`
141 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of the definition.
142 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time at which the definition was last updated.
143 }</pre>
144 </div>
145
146 </body></html>