Debian Codegraph @

docs/dyn/aiplatform_v1.projects.locations.metadataStores.metadataSchemas.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="aiplatform_v1.html">Agent Platform API</a> . <a href="aiplatform_v1.projects.html">projects</a> . <a href="aiplatform_v1.projects.locations.html">locations</a> . <a href="aiplatform_v1.projects.locations.metadataStores.html">metadataStores</a> . <a href="aiplatform_v1.projects.locations.metadataStores.metadataSchemas.html">metadataSchemas</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="#create">create(parent, body=None, metadataSchemaId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a MetadataSchema.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Retrieves a specific MetadataSchema.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists MetadataSchemas.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="create">create(parent, body=None, metadataSchemaId=None, x__xgafv=None)</code>
100 <pre>Creates a MetadataSchema.
101
102 Args:
103 parent: string, Required. The resource name of the MetadataStore where the MetadataSchema should be created. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # Instance of a general MetadataSchema.
108 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this MetadataSchema was created.
109 &quot;description&quot;: &quot;A String&quot;, # Description of the Metadata Schema
110 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the MetadataSchema.
111 &quot;schema&quot;: &quot;A String&quot;, # Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by `title` in [MetadataSchema.schema] must be unique within a MetadataStore. The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)
112 &quot;schemaType&quot;: &quot;A String&quot;, # The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
113 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the MetadataSchema. The version&#x27;s format must match the following regular expression: `^[0-9]+.+.+$`, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
114 }
115
116 metadataSchemaId: string, The {metadata_schema} portion of the resource name with the format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` If not provided, the MetadataStore&#x27;s ID will be a UUID generated by the service. Must be 4-128 characters in length. Valid characters are `/a-z-/`. Must be unique across all MetadataSchemas in the parent Location. (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the caller can&#x27;t view the preexisting MetadataSchema.)
117 x__xgafv: string, V1 error format.
118 Allowed values
119 1 - v1 error format
120 2 - v2 error format
121
122 Returns:
123 An object of the form:
124
125 { # Instance of a general MetadataSchema.
126 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this MetadataSchema was created.
127 &quot;description&quot;: &quot;A String&quot;, # Description of the Metadata Schema
128 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the MetadataSchema.
129 &quot;schema&quot;: &quot;A String&quot;, # Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by `title` in [MetadataSchema.schema] must be unique within a MetadataStore. The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)
130 &quot;schemaType&quot;: &quot;A String&quot;, # The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
131 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the MetadataSchema. The version&#x27;s format must match the following regular expression: `^[0-9]+.+.+$`, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
132 }</pre>
133 </div>
134
135 <div class="method">
136 <code class="details" id="get">get(name, x__xgafv=None)</code>
137 <pre>Retrieves a specific MetadataSchema.
138
139 Args:
140 name: string, Required. The resource name of the MetadataSchema to retrieve. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` (required)
141 x__xgafv: string, V1 error format.
142 Allowed values
143 1 - v1 error format
144 2 - v2 error format
145
146 Returns:
147 An object of the form:
148
149 { # Instance of a general MetadataSchema.
150 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this MetadataSchema was created.
151 &quot;description&quot;: &quot;A String&quot;, # Description of the Metadata Schema
152 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the MetadataSchema.
153 &quot;schema&quot;: &quot;A String&quot;, # Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by `title` in [MetadataSchema.schema] must be unique within a MetadataStore. The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)
154 &quot;schemaType&quot;: &quot;A String&quot;, # The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
155 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the MetadataSchema. The version&#x27;s format must match the following regular expression: `^[0-9]+.+.+$`, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
156 }</pre>
157 </div>
158
159 <div class="method">
160 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
161 <pre>Lists MetadataSchemas.
162
163 Args:
164 parent: string, Required. The MetadataStore whose MetadataSchemas should be listed. Format: `projects/{project}/locations/{location}/metadataStores/{metadatastore}` (required)
165 filter: string, A query to filter available MetadataSchemas for matching results.
166 pageSize: integer, The maximum number of MetadataSchemas to return. The service may return fewer. Must be in range 1-100, inclusive. Defaults to 100.
167 pageToken: string, A page token, received from a previous MetadataService.ListMetadataSchemas call. Provide this to retrieve the next page. When paginating, all other provided parameters must match the call that provided the page token. (Otherwise the request will fail with INVALID_ARGUMENT error.)
168 x__xgafv: string, V1 error format.
169 Allowed values
170 1 - v1 error format
171 2 - v2 error format
172
173 Returns:
174 An object of the form:
175
176 { # Response message for MetadataService.ListMetadataSchemas.
177 &quot;metadataSchemas&quot;: [ # The MetadataSchemas found for the MetadataStore.
178 { # Instance of a general MetadataSchema.
179 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when this MetadataSchema was created.
180 &quot;description&quot;: &quot;A String&quot;, # Description of the Metadata Schema
181 &quot;name&quot;: &quot;A String&quot;, # Output only. The resource name of the MetadataSchema.
182 &quot;schema&quot;: &quot;A String&quot;, # Required. The raw YAML string representation of the MetadataSchema. The combination of [MetadataSchema.version] and the schema name given by `title` in [MetadataSchema.schema] must be unique within a MetadataStore. The schema is defined as an OpenAPI 3.0.2 [MetadataSchema Object](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#schemaObject)
183 &quot;schemaType&quot;: &quot;A String&quot;, # The type of the MetadataSchema. This is a property that identifies which metadata types will use the MetadataSchema.
184 &quot;schemaVersion&quot;: &quot;A String&quot;, # The version of the MetadataSchema. The version&#x27;s format must match the following regular expression: `^[0-9]+.+.+$`, which would allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc.
185 },
186 ],
187 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as ListMetadataSchemasRequest.page_token to retrieve the next page. If this field is not populated, there are no subsequent pages.
188 }</pre>
189 </div>
190
191 <div class="method">
192 <code class="details" id="list_next">list_next()</code>
193 <pre>Retrieves the next page of results.
194
195 Args:
196 previous_request: The request for the previous page. (required)
197 previous_response: The response from the request for the previous page. (required)
198
199 Returns:
200 A request object that you can call &#x27;execute()&#x27; on to request the next
201 page. Returns None if there are no more items in the collection.
202 </pre>
203 </div>
204
205 </body></html>