Debian Codegraph @

docs/dyn/managedkafka_v1.projects.locations.schemaRegistries.contexts.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="managedkafka_v1.html">Managed Service for Apache Kafka API</a> . <a href="managedkafka_v1.projects.html">projects</a> . <a href="managedkafka_v1.projects.locations.html">locations</a> . <a href="managedkafka_v1.projects.locations.schemaRegistries.html">schemaRegistries</a> . <a href="managedkafka_v1.projects.locations.schemaRegistries.contexts.html">contexts</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="managedkafka_v1.projects.locations.schemaRegistries.contexts.compatibility.html">compatibility()</a></code>
79 </p>
80 <p class="firstline">Returns the compatibility Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="managedkafka_v1.projects.locations.schemaRegistries.contexts.config.html">config()</a></code>
84 </p>
85 <p class="firstline">Returns the config Resource.</p>
86
87 <p class="toc_element">
88 <code><a href="managedkafka_v1.projects.locations.schemaRegistries.contexts.mode.html">mode()</a></code>
89 </p>
90 <p class="firstline">Returns the mode Resource.</p>
91
92 <p class="toc_element">
93 <code><a href="managedkafka_v1.projects.locations.schemaRegistries.contexts.schemas.html">schemas()</a></code>
94 </p>
95 <p class="firstline">Returns the schemas Resource.</p>
96
97 <p class="toc_element">
98 <code><a href="managedkafka_v1.projects.locations.schemaRegistries.contexts.subjects.html">subjects()</a></code>
99 </p>
100 <p class="firstline">Returns the subjects Resource.</p>
101
102 <p class="toc_element">
103 <code><a href="#close">close()</a></code></p>
104 <p class="firstline">Close httplib2 connections.</p>
105 <p class="toc_element">
106 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
107 <p class="firstline">Get the context.</p>
108 <p class="toc_element">
109 <code><a href="#list">list(parent, x__xgafv=None)</a></code></p>
110 <p class="firstline">List contexts for a schema registry.</p>
111 <h3>Method Details</h3>
112 <div class="method">
113 <code class="details" id="close">close()</code>
114 <pre>Close httplib2 connections.</pre>
115 </div>
116
117 <div class="method">
118 <code class="details" id="get">get(name, x__xgafv=None)</code>
119 <pre>Get the context.
120
121 Args:
122 name: string, Required. The name of the context to return. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` (required)
123 x__xgafv: string, V1 error format.
124 Allowed values
125 1 - v1 error format
126 2 - v2 error format
127
128 Returns:
129 An object of the form:
130
131 { # Context represents an independent schema grouping in a schema registry instance.
132 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the context. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}/contexts/{context}` The context name {context} can contain the following: * Up to 255 characters. * Allowed characters: letters (uppercase or lowercase), numbers, and the following special characters: `.`, `-`, `_`, `+`, `%`, and `~`.
133 &quot;subjects&quot;: [ # Optional. The subjects of the context.
134 &quot;A String&quot;,
135 ],
136 }</pre>
137 </div>
138
139 <div class="method">
140 <code class="details" id="list">list(parent, x__xgafv=None)</code>
141 <pre>List contexts for a schema registry.
142
143 Args:
144 parent: string, Required. The parent of the contexts. Structured like: `projects/{project}/locations/{location}/schemaRegistries/{schema_registry}` (required)
145 x__xgafv: string, V1 error format.
146 Allowed values
147 1 - v1 error format
148 2 - v2 error format
149
150 Returns:
151 An object of the form:
152
153 { # Message that represents an arbitrary HTTP body. It should only be used for payload formats that can&#x27;t be represented as JSON, such as raw binary or an HTML page. This message can be used both in streaming and non-streaming API methods in the request as well as the response. It can be used as a top-level request field, which is convenient if one wants to extract parameters from either the URL or HTTP template into the request fields and also want access to the raw HTTP body. Example: message GetResourceRequest { // A unique request id. string request_id = 1; // The raw HTTP body is bound to this field. google.api.HttpBody http_body = 2; } service ResourceService { rpc GetResource(GetResourceRequest) returns (google.api.HttpBody); rpc UpdateResource(google.api.HttpBody) returns (google.protobuf.Empty); } Example with streaming methods: service CaldavService { rpc GetCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); rpc UpdateCalendar(stream google.api.HttpBody) returns (stream google.api.HttpBody); } Use of this type only changes how the request and response bodies are handled, all other features will continue to work unchanged.
154 &quot;contentType&quot;: &quot;A String&quot;, # The HTTP Content-Type header value specifying the content type of the body.
155 &quot;data&quot;: &quot;A String&quot;, # The HTTP request/response body as raw binary.
156 &quot;extensions&quot;: [ # Application specific response metadata. Must be set in the first response for streaming APIs.
157 {
158 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
159 },
160 ],
161 }</pre>
162 </div>
163
164 </body></html>