Debian Codegraph @

docs/dyn/beyondcorp_v1alpha.projects.locations.securityGateways.hubs.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="beyondcorp_v1alpha.html">BeyondCorp API</a> . <a href="beyondcorp_v1alpha.projects.html">projects</a> . <a href="beyondcorp_v1alpha.projects.locations.html">locations</a> . <a href="beyondcorp_v1alpha.projects.locations.securityGateways.html">securityGateways</a> . <a href="beyondcorp_v1alpha.projects.locations.securityGateways.hubs.html">hubs</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="#delete">delete(name, requestId=None, validateOnly=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes a single Hub.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Gets details of a single Hub.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists Hubs in a given project and location.</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="delete">delete(name, requestId=None, validateOnly=None, x__xgafv=None)</code>
100 <pre>Deletes a single Hub.
101
102 Args:
103 name: string, Required. Name of the resource. (required)
104 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
105 validateOnly: boolean, Optional. If set, validates request by executing a dry-run which would not alter the resource in any way.
106 x__xgafv: string, V1 error format.
107 Allowed values
108 1 - v1 error format
109 2 - v2 error format
110
111 Returns:
112 An object of the form:
113
114 { # This resource represents a long-running operation that is the result of a network API call.
115 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
116 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
117 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
118 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
119 {
120 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
121 },
122 ],
123 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
124 },
125 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
126 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
127 },
128 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
129 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
130 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
131 },
132 }</pre>
133 </div>
134
135 <div class="method">
136 <code class="details" id="get">get(name, x__xgafv=None)</code>
137 <pre>Gets details of a single Hub.
138
139 Args:
140 name: string, Required. The resource name of the Hub using the form: `projects/{project_id}/locations/global/securityGateway/{security_gateway_id}/hubs/{hub_id}` (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 { # A Beyondcorp Hub resource information.
150 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the resource was created.
151 &quot;displayName&quot;: &quot;A String&quot;, # Optional. An arbitrary user-provided name for the Hub. Cannot exceed 64 characters.
152 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the resource.
153 &quot;natGatewayConfig&quot;: { # Represents the NAT Gateway configuration. # Required. NAT gateway setup to ensure enough NAT IP addresses are available to handle the traffic needed to access the applications. Allows to explicitly enable or disable the NAT in the Hub along with the total IPs allocated to handle the capacity limits.
154 &quot;enableNatGateway&quot;: True or False, # Optional. Explicitly enable or disable the NAT Gateway. This is defaulted to false until NAT Gateway configuration is fully supported and any request with a disable option will be rejected.
155 &quot;natIps&quot;: [ # Output only. List of NAT IPs that will be used for establishing connection to the endpoints.
156 &quot;A String&quot;,
157 ],
158 },
159 &quot;state&quot;: &quot;A String&quot;, # Output only. The operational state of the Hub.
160 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the resource was last modified.
161 }</pre>
162 </div>
163
164 <div class="method">
165 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
166 <pre>Lists Hubs in a given project and location.
167
168 Args:
169 parent: string, Required. The parent location to which the resources belong. `projects/{project_id}/locations/global/securityGateways/{security_gateway_id}` (required)
170 filter: string, Optional. A filter specifying constraints of a list operation. All fields in the Hub message are supported. For example, the following query will return the Hub with displayName &quot;test-hub&quot; For more information, please refer to https://google.aip.dev/160.
171 orderBy: string, Optional. Specifies the ordering of results. See [Sorting order](https://cloud.google.com/apis/design/design_patterns#sorting_order) for more information.
172 pageSize: integer, Optional. The maximum number of items to return. If not specified, a default value of 50 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response&#x27;s next_page_token to determine if there are more instances left to be queried.
173 pageToken: string, Optional. The next_page_token value returned from a previous ListHubsRequest, if any.
174 x__xgafv: string, V1 error format.
175 Allowed values
176 1 - v1 error format
177 2 - v2 error format
178
179 Returns:
180 An object of the form:
181
182 { # Message for response to listing Hubs.
183 &quot;hubs&quot;: [ # A list of BeyondCorp Hub in the project.
184 { # A Beyondcorp Hub resource information.
185 &quot;createTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the resource was created.
186 &quot;displayName&quot;: &quot;A String&quot;, # Optional. An arbitrary user-provided name for the Hub. Cannot exceed 64 characters.
187 &quot;name&quot;: &quot;A String&quot;, # Identifier. Name of the resource.
188 &quot;natGatewayConfig&quot;: { # Represents the NAT Gateway configuration. # Required. NAT gateway setup to ensure enough NAT IP addresses are available to handle the traffic needed to access the applications. Allows to explicitly enable or disable the NAT in the Hub along with the total IPs allocated to handle the capacity limits.
189 &quot;enableNatGateway&quot;: True or False, # Optional. Explicitly enable or disable the NAT Gateway. This is defaulted to false until NAT Gateway configuration is fully supported and any request with a disable option will be rejected.
190 &quot;natIps&quot;: [ # Output only. List of NAT IPs that will be used for establishing connection to the endpoints.
191 &quot;A String&quot;,
192 ],
193 },
194 &quot;state&quot;: &quot;A String&quot;, # Output only. The operational state of the Hub.
195 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the resource was last modified.
196 },
197 ],
198 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token to retrieve the next page of results, or empty if there are no more results in the list.
199 &quot;unreachable&quot;: [ # A list of locations that could not be reached.
200 &quot;A String&quot;,
201 ],
202 }</pre>
203 </div>
204
205 <div class="method">
206 <code class="details" id="list_next">list_next()</code>
207 <pre>Retrieves the next page of results.
208
209 Args:
210 previous_request: The request for the previous page. (required)
211 previous_response: The response from the request for the previous page. (required)
212
213 Returns:
214 A request object that you can call &#x27;execute()&#x27; on to request the next
215 page. Returns None if there are no more items in the collection.
216 </pre>
217 </div>
218
219 </body></html>