Skip to content

Commit 783a01c

Browse files
feat(apigee): update the api
#### apigee:v1 The following keys were added: - schemas.GoogleCloudApigeeV1ApiProduct.properties.quotaCounterScope.type (Total Keys: 1) - schemas.GoogleCloudApigeeV1EndpointAttachment.properties.connectionState (Total Keys: 2)
1 parent c4fe80a commit 783a01c

File tree

3 files changed

+50
-1
lines changed

3 files changed

+50
-1
lines changed

docs/dyn/apigee_v1.organizations.apiproducts.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ <h3>Method Details</h3>
194194
&quot;A String&quot;,
195195
],
196196
&quot;quota&quot;: &quot;A String&quot;, # Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.
197+
&quot;quotaCounterScope&quot;: &quot;A String&quot;, # Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.
197198
&quot;quotaInterval&quot;: &quot;A String&quot;, # Time interval over which the number of request messages is calculated.
198199
&quot;quotaTimeUnit&quot;: &quot;A String&quot;, # Time unit defined for the `quotaInterval`. Valid values include `minute`, `hour`, `day`, or `month`.
199200
&quot;scopes&quot;: [ # Comma-separated list of OAuth scopes that are validated at runtime. Apigee validates that the scopes in any access token presented match the scopes defined in the OAuth policy associated with the API product.
@@ -286,6 +287,7 @@ <h3>Method Details</h3>
286287
&quot;A String&quot;,
287288
],
288289
&quot;quota&quot;: &quot;A String&quot;, # Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.
290+
&quot;quotaCounterScope&quot;: &quot;A String&quot;, # Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.
289291
&quot;quotaInterval&quot;: &quot;A String&quot;, # Time interval over which the number of request messages is calculated.
290292
&quot;quotaTimeUnit&quot;: &quot;A String&quot;, # Time unit defined for the `quotaInterval`. Valid values include `minute`, `hour`, `day`, or `month`.
291293
&quot;scopes&quot;: [ # Comma-separated list of OAuth scopes that are validated at runtime. Apigee validates that the scopes in any access token presented match the scopes defined in the OAuth policy associated with the API product.
@@ -385,6 +387,7 @@ <h3>Method Details</h3>
385387
&quot;A String&quot;,
386388
],
387389
&quot;quota&quot;: &quot;A String&quot;, # Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.
390+
&quot;quotaCounterScope&quot;: &quot;A String&quot;, # Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.
388391
&quot;quotaInterval&quot;: &quot;A String&quot;, # Time interval over which the number of request messages is calculated.
389392
&quot;quotaTimeUnit&quot;: &quot;A String&quot;, # Time unit defined for the `quotaInterval`. Valid values include `minute`, `hour`, `day`, or `month`.
390393
&quot;scopes&quot;: [ # Comma-separated list of OAuth scopes that are validated at runtime. Apigee validates that the scopes in any access token presented match the scopes defined in the OAuth policy associated with the API product.
@@ -484,6 +487,7 @@ <h3>Method Details</h3>
484487
&quot;A String&quot;,
485488
],
486489
&quot;quota&quot;: &quot;A String&quot;, # Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.
490+
&quot;quotaCounterScope&quot;: &quot;A String&quot;, # Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.
487491
&quot;quotaInterval&quot;: &quot;A String&quot;, # Time interval over which the number of request messages is calculated.
488492
&quot;quotaTimeUnit&quot;: &quot;A String&quot;, # Time unit defined for the `quotaInterval`. Valid values include `minute`, `hour`, `day`, or `month`.
489493
&quot;scopes&quot;: [ # Comma-separated list of OAuth scopes that are validated at runtime. Apigee validates that the scopes in any access token presented match the scopes defined in the OAuth policy associated with the API product.
@@ -590,6 +594,7 @@ <h3>Method Details</h3>
590594
&quot;A String&quot;,
591595
],
592596
&quot;quota&quot;: &quot;A String&quot;, # Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.
597+
&quot;quotaCounterScope&quot;: &quot;A String&quot;, # Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.
593598
&quot;quotaInterval&quot;: &quot;A String&quot;, # Time interval over which the number of request messages is calculated.
594599
&quot;quotaTimeUnit&quot;: &quot;A String&quot;, # Time unit defined for the `quotaInterval`. Valid values include `minute`, `hour`, `day`, or `month`.
595600
&quot;scopes&quot;: [ # Comma-separated list of OAuth scopes that are validated at runtime. Apigee validates that the scopes in any access token presented match the scopes defined in the OAuth policy associated with the API product.
@@ -686,6 +691,7 @@ <h3>Method Details</h3>
686691
&quot;A String&quot;,
687692
],
688693
&quot;quota&quot;: &quot;A String&quot;, # Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.
694+
&quot;quotaCounterScope&quot;: &quot;A String&quot;, # Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.
689695
&quot;quotaInterval&quot;: &quot;A String&quot;, # Time interval over which the number of request messages is calculated.
690696
&quot;quotaTimeUnit&quot;: &quot;A String&quot;, # Time unit defined for the `quotaInterval`. Valid values include `minute`, `hour`, `day`, or `month`.
691697
&quot;scopes&quot;: [ # Comma-separated list of OAuth scopes that are validated at runtime. Apigee validates that the scopes in any access token presented match the scopes defined in the OAuth policy associated with the API product.
@@ -778,6 +784,7 @@ <h3>Method Details</h3>
778784
&quot;A String&quot;,
779785
],
780786
&quot;quota&quot;: &quot;A String&quot;, # Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.
787+
&quot;quotaCounterScope&quot;: &quot;A String&quot;, # Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.
781788
&quot;quotaInterval&quot;: &quot;A String&quot;, # Time interval over which the number of request messages is calculated.
782789
&quot;quotaTimeUnit&quot;: &quot;A String&quot;, # Time unit defined for the `quotaInterval`. Valid values include `minute`, `hour`, `day`, or `month`.
783790
&quot;scopes&quot;: [ # Comma-separated list of OAuth scopes that are validated at runtime. Apigee validates that the scopes in any access token presented match the scopes defined in the OAuth policy associated with the API product.

docs/dyn/apigee_v1.organizations.endpointAttachments.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ <h3>Method Details</h3>
108108
The object takes the form of:
109109

110110
{ # Apigee endpoint attachment. For more information, see [Southbound networking patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-endpoints).
111+
&quot;connectionState&quot;: &quot;A String&quot;, # Output only. State of the endpoint attachment connection to the service attachment.
111112
&quot;host&quot;: &quot;A String&quot;, # Output only. Host that can be used in either the HTTP target endpoint directly or as the host in target server.
112113
&quot;location&quot;: &quot;A String&quot;, # Required. Location of the endpoint attachment.
113114
&quot;name&quot;: &quot;A String&quot;, # Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`
@@ -195,6 +196,7 @@ <h3>Method Details</h3>
195196
An object of the form:
196197

197198
{ # Apigee endpoint attachment. For more information, see [Southbound networking patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-endpoints).
199+
&quot;connectionState&quot;: &quot;A String&quot;, # Output only. State of the endpoint attachment connection to the service attachment.
198200
&quot;host&quot;: &quot;A String&quot;, # Output only. Host that can be used in either the HTTP target endpoint directly or as the host in target server.
199201
&quot;location&quot;: &quot;A String&quot;, # Required. Location of the endpoint attachment.
200202
&quot;name&quot;: &quot;A String&quot;, # Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`
@@ -222,6 +224,7 @@ <h3>Method Details</h3>
222224
{ # Response for ListEndpointAttachments method.
223225
&quot;endpointAttachments&quot;: [ # Endpoint attachments in the specified organization.
224226
{ # Apigee endpoint attachment. For more information, see [Southbound networking patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-endpoints).
227+
&quot;connectionState&quot;: &quot;A String&quot;, # Output only. State of the endpoint attachment connection to the service attachment.
225228
&quot;host&quot;: &quot;A String&quot;, # Output only. Host that can be used in either the HTTP target endpoint directly or as the host in target server.
226229
&quot;location&quot;: &quot;A String&quot;, # Required. Location of the endpoint attachment.
227230
&quot;name&quot;: &quot;A String&quot;, # Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`

googleapiclient/discovery_cache/documents/apigee.v1.json

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8609,7 +8609,7 @@
86098609
}
86108610
}
86118611
},
8612-
"revision": "20220804",
8612+
"revision": "20220811",
86138613
"rootUrl": "https://apigee.googleapis.com/",
86148614
"schemas": {
86158615
"EdgeConfigstoreBundleBadBundle": {
@@ -8956,6 +8956,20 @@
89568956
"description": "Number of request messages permitted per app by this API product for the specified `quotaInterval` and `quotaTimeUnit`. For example, a `quota` of 50, for a `quotaInterval` of 12 and a `quotaTimeUnit` of hours means 50 requests are allowed every 12 hours.",
89578957
"type": "string"
89588958
},
8959+
"quotaCounterScope": {
8960+
"description": "Scope of the quota decides how the quota counter gets applied and evaluate for quota violation. If the Scope is set as PROXY, then all the operations defined for the APIproduct that are associated with the same proxy will share the same quota counter set at the APIproduct level, making it a global counter at a proxy level. If the Scope is set as OPERATION, then each operations get the counter set at the API product dedicated, making it a local counter. Note that, the QuotaCounterScope applies only when an operation does not have dedicated quota set for itself.",
8961+
"enum": [
8962+
"QUOTA_COUNTER_SCOPE_UNSPECIFIED",
8963+
"PROXY",
8964+
"OPERATION"
8965+
],
8966+
"enumDescriptions": [
8967+
"When quota is not explicitly defined for each operation(REST/GraphQL), the limits set at product level will be used as a local counter for quota evaluation by all the operations, independent of proxy association.",
8968+
"When quota is not explicitly defined for each operation(REST/GraphQL), set at product level will be used as a global counter for quota evaluation by all the operations associated with a particular proxy.",
8969+
"When quota is not explicitly defined for each operation(REST/GraphQL), the limits set at product level will be used as a local counter for quota evaluation by all the operations, independent of proxy association. This behavior mimics the same as QUOTA_COUNTER_SCOPE_UNSPECIFIED."
8970+
],
8971+
"type": "string"
8972+
},
89598973
"quotaInterval": {
89608974
"description": "Time interval over which the number of request messages is calculated.",
89618975
"type": "string"
@@ -10752,6 +10766,31 @@
1075210766
"description": "Apigee endpoint attachment. For more information, see [Southbound networking patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-endpoints).",
1075310767
"id": "GoogleCloudApigeeV1EndpointAttachment",
1075410768
"properties": {
10769+
"connectionState": {
10770+
"description": "Output only. State of the endpoint attachment connection to the service attachment.",
10771+
"enum": [
10772+
"CONNECTION_STATE_UNSPECIFIED",
10773+
"UNAVAILABLE",
10774+
"PENDING",
10775+
"ACCEPTED",
10776+
"REJECTED",
10777+
"CLOSED",
10778+
"FROZEN",
10779+
"NEEDS_ATTENTION"
10780+
],
10781+
"enumDescriptions": [
10782+
"The connection state has not been set.",
10783+
"The connection state is unavailable at this time, possibly because the endpoint attachment is currently being provisioned.",
10784+
"The connection is pending acceptance by the PSC producer.",
10785+
"The connection has been accepted by the PSC producer.",
10786+
"The connection has been rejected by the PSC producer.",
10787+
"The connection has been closed by the PSC producer and will not serve traffic going forward.",
10788+
"The connection has been frozen by the PSC producer and will not serve traffic.",
10789+
"The connection has been accepted by the PSC producer, but it is not ready to serve the traffic due to producer side issues."
10790+
],
10791+
"readOnly": true,
10792+
"type": "string"
10793+
},
1075510794
"host": {
1075610795
"description": "Output only. Host that can be used in either the HTTP target endpoint directly or as the host in target server.",
1075710796
"readOnly": true,

0 commit comments

Comments
 (0)