Debian Codegraph @

docs/dyn/apihub_v1.projects.locations.runtimeProjectAttachments.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.runtimeProjectAttachments.html">runtimeProjectAttachments</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, runtimeProjectAttachmentId=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Attaches a runtime project to the host project.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets a runtime project attachment.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">List runtime projects attached to the host project.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="create">create(parent, body=None, runtimeProjectAttachmentId=None, x__xgafv=None)</code>
103 <pre>Attaches a runtime project to the host project.
104
105 Args:
106 parent: string, Required. The parent resource for the Runtime Project Attachment. Format: `projects/{project}/locations/{location}` (required)
107 body: object, The request body.
108 The object takes the form of:
109
110 { # Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments.
111 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
112 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of a runtime project attachment. Format: &quot;projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}&quot;.
113 &quot;runtimeProject&quot;: &quot;A String&quot;, # Required. Immutable. Google cloud project name in the format: &quot;projects/abc&quot; or &quot;projects/123&quot;. As input, project name with either project id or number are accepted. As output, this field will contain project number.
114 }
115
116 runtimeProjectAttachmentId: string, Required. The ID to use for the Runtime Project Attachment, which will become the final component of the Runtime Project Attachment&#x27;s name. The ID must be the same as the project ID of the Google cloud project specified in the runtime_project_attachment.runtime_project field.
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 { # Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments.
126 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
127 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of a runtime project attachment. Format: &quot;projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}&quot;.
128 &quot;runtimeProject&quot;: &quot;A String&quot;, # Required. Immutable. Google cloud project name in the format: &quot;projects/abc&quot; or &quot;projects/123&quot;. As input, project name with either project id or number are accepted. As output, this field will contain project number.
129 }</pre>
130 </div>
131
132 <div class="method">
133 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
134 <pre>Delete a runtime project attachment in the API Hub. This call will detach the runtime project from the host project.
135
136 Args:
137 name: string, Required. The name of the Runtime Project Attachment to delete. Format: `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}` (required)
138 x__xgafv: string, V1 error format.
139 Allowed values
140 1 - v1 error format
141 2 - v2 error format
142
143 Returns:
144 An object of the form:
145
146 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
147 }</pre>
148 </div>
149
150 <div class="method">
151 <code class="details" id="get">get(name, x__xgafv=None)</code>
152 <pre>Gets a runtime project attachment.
153
154 Args:
155 name: string, Required. The name of the API resource to retrieve. Format: `projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}` (required)
156 x__xgafv: string, V1 error format.
157 Allowed values
158 1 - v1 error format
159 2 - v2 error format
160
161 Returns:
162 An object of the form:
163
164 { # Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments.
165 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
166 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of a runtime project attachment. Format: &quot;projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}&quot;.
167 &quot;runtimeProject&quot;: &quot;A String&quot;, # Required. Immutable. Google cloud project name in the format: &quot;projects/abc&quot; or &quot;projects/123&quot;. As input, project name with either project id or number are accepted. As output, this field will contain project number.
168 }</pre>
169 </div>
170
171 <div class="method">
172 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
173 <pre>List runtime projects attached to the host project.
174
175 Args:
176 parent: string, Required. The parent, which owns this collection of runtime project attachments. Format: `projects/{project}/locations/{location}` (required)
177 filter: string, Optional. An expression that filters the list of RuntimeProjectAttachments. A filter expression consists of a field name, a comparison operator, and a value for filtering. The value must be a string. All standard operators as documented at https://google.aip.dev/160 are supported. The following fields in the `RuntimeProjectAttachment` are eligible for filtering: * `name` - The name of the RuntimeProjectAttachment. * `create_time` - The time at which the RuntimeProjectAttachment was created. The value should be in the (RFC3339)[https://tools.ietf.org/html/rfc3339] format. * `runtime_project` - The Google cloud project associated with the RuntimeProjectAttachment.
178 orderBy: string, Optional. Hint for how to order the results.
179 pageSize: integer, Optional. The maximum number of runtime project attachments to return. The service may return fewer than this value. If unspecified, at most 50 runtime project attachments will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
180 pageToken: string, Optional. A page token, received from a previous `ListRuntimeProjectAttachments` call. Provide this to retrieve the subsequent page. When paginating, all other parameters (except page_size) provided to `ListRuntimeProjectAttachments` must match the call that provided the page token.
181 x__xgafv: string, V1 error format.
182 Allowed values
183 1 - v1 error format
184 2 - v2 error format
185
186 Returns:
187 An object of the form:
188
189 { # The ListRuntimeProjectAttachments method&#x27;s response.
190 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
191 &quot;runtimeProjectAttachments&quot;: [ # List of runtime project attachments.
192 { # Runtime project attachment represents an attachment from the runtime project to the host project. Api Hub looks for deployments in the attached runtime projects and creates corresponding resources in Api Hub for the discovered deployments.
193 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Create time.
194 &quot;name&quot;: &quot;A String&quot;, # Identifier. The resource name of a runtime project attachment. Format: &quot;projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}&quot;.
195 &quot;runtimeProject&quot;: &quot;A String&quot;, # Required. Immutable. Google cloud project name in the format: &quot;projects/abc&quot; or &quot;projects/123&quot;. As input, project name with either project id or number are accepted. As output, this field will contain project number.
196 },
197 ],
198 }</pre>
199 </div>
200
201 <div class="method">
202 <code class="details" id="list_next">list_next()</code>
203 <pre>Retrieves the next page of results.
204
205 Args:
206 previous_request: The request for the previous page. (required)
207 previous_response: The response from the request for the previous page. (required)
208
209 Returns:
210 A request object that you can call &#x27;execute()&#x27; on to request the next
211 page. Returns None if there are no more items in the collection.
212 </pre>
213 </div>
214
215 </body></html>