Skip to content

Commit 4485c5f

Browse files
committedAug 10, 2021
feat(apigee): update the api
#### apigee:v1 The following keys were deleted: - schemas.GoogleCloudApigeeV1AddonsConfig.properties.integrationConfig.$ref (Total Keys: 1) - schemas.GoogleCloudApigeeV1IntegrationConfig (Total Keys: 3) The following keys were added: - resources.organizations.resources.instances.methods.patch (Total Keys: 15)
1 parent 26d18c6 commit 4485c5f

File tree

3 files changed

+91
-31
lines changed

3 files changed

+91
-31
lines changed
 

‎docs/dyn/apigee_v1.organizations.html

-15
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,6 @@ <h3>Method Details</h3>
216216
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
217217
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
218218
},
219-
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
220-
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
221-
},
222219
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
223220
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
224221
},
@@ -340,9 +337,6 @@ <h3>Method Details</h3>
340337
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
341338
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
342339
},
343-
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
344-
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
345-
},
346340
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
347341
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
348342
},
@@ -517,9 +511,6 @@ <h3>Method Details</h3>
517511
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
518512
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
519513
},
520-
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
521-
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
522-
},
523514
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
524515
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
525516
},
@@ -601,9 +592,6 @@ <h3>Method Details</h3>
601592
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
602593
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
603594
},
604-
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
605-
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
606-
},
607595
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
608596
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
609597
},
@@ -654,9 +642,6 @@ <h3>Method Details</h3>
654642
&quot;advancedApiOpsConfig&quot;: { # Configuration for the Advanced API Ops add-on. # Configuration for the Advanced API Ops add-on.
655643
&quot;enabled&quot;: True or False, # Flag that specifies whether the Advanced API Ops add-on is enabled.
656644
},
657-
&quot;integrationConfig&quot;: { # Configuration for the Integration add-on. # Configuration for the Integration add-on.
658-
&quot;enabled&quot;: True or False, # Flag that specifies whether the Integration add-on is enabled.
659-
},
660645
&quot;monetizationConfig&quot;: { # Configuration for the Monetization add-on. # Configuration for the Monetization add-on.
661646
&quot;enabled&quot;: True or False, # Flag that specifies whether the Monetization add-on is enabled.
662647
},

‎docs/dyn/apigee_v1.organizations.instances.html

+56
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ <h2>Instance Methods</h2>
107107
<p class="toc_element">
108108
<code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
109109
<p class="firstline">Retrieves the next page of results.</p>
110+
<p class="toc_element">
111+
<code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
112+
<p class="firstline">Updates an Apigee runtime instance. You can update the fields described in NodeConfig. No other fields will be updated. **Note:** Not supported for Apigee hybrid.</p>
110113
<p class="toc_element">
111114
<code><a href="#reportStatus">reportStatus(instance, body=None, x__xgafv=None)</a></code></p>
112115
<p class="firstline">Reports the latest status for a runtime instance.</p>
@@ -282,6 +285,59 @@ <h3>Method Details</h3>
282285
</pre>
283286
</div>
284287

288+
<div class="method">
289+
<code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
290+
<pre>Updates an Apigee runtime instance. You can update the fields described in NodeConfig. No other fields will be updated. **Note:** Not supported for Apigee hybrid.
291+
292+
Args:
293+
name: string, Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`. (required)
294+
body: object, The request body.
295+
The object takes the form of:
296+
297+
{ # Apigee runtime instance.
298+
&quot;createdAt&quot;: &quot;A String&quot;, # Output only. Time the instance was created in milliseconds since epoch.
299+
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the instance.
300+
&quot;diskEncryptionKeyName&quot;: &quot;A String&quot;, # Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)`
301+
&quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name for the instance.
302+
&quot;host&quot;: &quot;A String&quot;, # Output only. Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service.
303+
&quot;lastModifiedAt&quot;: &quot;A String&quot;, # Output only. Time the instance was last modified in milliseconds since epoch.
304+
&quot;location&quot;: &quot;A String&quot;, # Required. Compute Engine location where the instance resides.
305+
&quot;name&quot;: &quot;A String&quot;, # Required. Resource ID of the instance. Values must match the regular expression `^a-z{0,30}[a-z\d]$`.
306+
&quot;peeringCidrRange&quot;: &quot;A String&quot;, # Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support `SLASH_16` to `SLASH_20` and defaults to `SLASH_16`. Evaluation organizations support only `SLASH_23`.
307+
&quot;port&quot;: &quot;A String&quot;, # Output only. Port number of the exposed Apigee endpoint.
308+
&quot;state&quot;: &quot;A String&quot;, # Output only. State of the instance. Values other than `ACTIVE` means the resource is not ready to use.
309+
}
310+
311+
updateMask: string, List of fields to be updated.
312+
x__xgafv: string, V1 error format.
313+
Allowed values
314+
1 - v1 error format
315+
2 - v2 error format
316+
317+
Returns:
318+
An object of the form:
319+
320+
{ # This resource represents a long-running operation that is the result of a network API call.
321+
&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.
322+
&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.
323+
&quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
324+
&quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
325+
{
326+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
327+
},
328+
],
329+
&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.
330+
},
331+
&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.
332+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
333+
},
334+
&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}`.
335+
&quot;response&quot;: { # The normal response of the operation in case of success. 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`.
336+
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
337+
},
338+
}</pre>
339+
</div>
340+
285341
<div class="method">
286342
<code class="details" id="reportStatus">reportStatus(instance, body=None, x__xgafv=None)</code>
287343
<pre>Reports the latest status for a runtime instance.

‎googleapiclient/discovery_cache/documents/apigee.v1.json

+35-16
Original file line numberDiff line numberDiff line change
@@ -5847,6 +5847,40 @@
58475847
"https://www.googleapis.com/auth/cloud-platform"
58485848
]
58495849
},
5850+
"patch": {
5851+
"description": "Updates an Apigee runtime instance. You can update the fields described in NodeConfig. No other fields will be updated. **Note:** Not supported for Apigee hybrid.",
5852+
"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}",
5853+
"httpMethod": "PATCH",
5854+
"id": "apigee.organizations.instances.patch",
5855+
"parameterOrder": [
5856+
"name"
5857+
],
5858+
"parameters": {
5859+
"name": {
5860+
"description": "Required. Name of the instance. Use the following structure in your request: `organizations/{org}/instances/{instance}`.",
5861+
"location": "path",
5862+
"pattern": "^organizations/[^/]+/instances/[^/]+$",
5863+
"required": true,
5864+
"type": "string"
5865+
},
5866+
"updateMask": {
5867+
"description": "List of fields to be updated.",
5868+
"format": "google-fieldmask",
5869+
"location": "query",
5870+
"type": "string"
5871+
}
5872+
},
5873+
"path": "v1/{+name}",
5874+
"request": {
5875+
"$ref": "GoogleCloudApigeeV1Instance"
5876+
},
5877+
"response": {
5878+
"$ref": "GoogleLongrunningOperation"
5879+
},
5880+
"scopes": [
5881+
"https://www.googleapis.com/auth/cloud-platform"
5882+
]
5883+
},
58505884
"reportStatus": {
58515885
"description": "Reports the latest status for a runtime instance.",
58525886
"flatPath": "v1/organizations/{organizationsId}/instances/{instancesId}:reportStatus",
@@ -7021,7 +7055,7 @@
70217055
}
70227056
}
70237057
},
7024-
"revision": "20210722",
7058+
"revision": "20210729",
70257059
"rootUrl": "https://apigee.googleapis.com/",
70267060
"schemas": {
70277061
"EdgeConfigstoreBundleBadBundle": {
@@ -7151,10 +7185,6 @@
71517185
"$ref": "GoogleCloudApigeeV1AdvancedApiOpsConfig",
71527186
"description": "Configuration for the Advanced API Ops add-on."
71537187
},
7154-
"integrationConfig": {
7155-
"$ref": "GoogleCloudApigeeV1IntegrationConfig",
7156-
"description": "Configuration for the Integration add-on."
7157-
},
71587188
"monetizationConfig": {
71597189
"$ref": "GoogleCloudApigeeV1MonetizationConfig",
71607190
"description": "Configuration for the Monetization add-on."
@@ -9592,17 +9622,6 @@
95929622
},
95939623
"type": "object"
95949624
},
9595-
"GoogleCloudApigeeV1IntegrationConfig": {
9596-
"description": "Configuration for the Integration add-on.",
9597-
"id": "GoogleCloudApigeeV1IntegrationConfig",
9598-
"properties": {
9599-
"enabled": {
9600-
"description": "Flag that specifies whether the Integration add-on is enabled.",
9601-
"type": "boolean"
9602-
}
9603-
},
9604-
"type": "object"
9605-
},
96069625
"GoogleCloudApigeeV1KeyAliasReference": {
96079626
"id": "GoogleCloudApigeeV1KeyAliasReference",
96089627
"properties": {

0 commit comments

Comments
 (0)