| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 93fad3f commit 9e48540
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -554,7 +554,7 @@ def sample_list_connections(): | |||
| 554 | 554 | # Done; return the response. | |
| 555 | 555 | return response | |
| 556 | 556 | ||
| 557 | - def __enter__(self): | ||
| 557 | + def __enter__(self) -> "ConnectionServiceClient": | ||
| 558 | 558 | return self | |
| 559 | 559 | ||
| 560 | 560 | def __exit__(self, type, value, traceback): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -507,7 +507,7 @@ def request_generator(): | |||
| 507 | 507 | # Done; return the response. | |
| 508 | 508 | return response | |
| 509 | 509 | ||
| 510 | - def __enter__(self): | ||
| 510 | + def __enter__(self) -> "TetherClient": | ||
| 511 | 511 | return self | |
| 512 | 512 | ||
| 513 | 513 | def __exit__(self, type, value, traceback): | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -38,21 +38,47 @@ | |||
| 38 | 38 | ||
| 39 | 39 | ||
| 40 | 40 | class Action(proto.Enum): | |
| 41 | - r"""The action taken by agent.""" | ||
| 41 | + r"""The action taken by agent. | ||
| 42 | + | ||
| 43 | + Values: | ||
| 44 | + ACTION_UNSPECIFIED (0): | ||
| 45 | + Unspecified Action. | ||
| 46 | + OPEN_NEW_STREAM (1): | ||
| 47 | + Indicates that agent should open a new | ||
| 48 | + stream. | ||
| 49 | + """ | ||
| 42 | 50 | ACTION_UNSPECIFIED = 0 | |
| 43 | 51 | OPEN_NEW_STREAM = 1 | |
| 44 | 52 | ||
| 45 | 53 | ||
| 46 | 54 | class TetherEndpoint(proto.Enum): | |
| 47 | - r"""Endpoint indicates where the messages will be delivered.""" | ||
| 55 | + r"""Endpoint indicates where the messages will be delivered. | ||
| 56 | + | ||
| 57 | + Values: | ||
| 58 | + TETHER_ENDPOINT_UNSPECIFIED (0): | ||
| 59 | + Unspecified tether endpoint. | ||
| 60 | + APIGEE_MART (1): | ||
| 61 | + Apigee MART endpoint. | ||
| 62 | + APIGEE_RUNTIME (2): | ||
| 63 | + Apigee Runtime endpoint. | ||
| 64 | + APIGEE_MINT_RATING (3): | ||
| 65 | + Apigee Mint Rating endpoint. | ||
| 66 | + """ | ||
| 48 | 67 | TETHER_ENDPOINT_UNSPECIFIED = 0 | |
| 49 | 68 | APIGEE_MART = 1 | |
| 50 | 69 | APIGEE_RUNTIME = 2 | |
| 51 | 70 | APIGEE_MINT_RATING = 3 | |
| 52 | 71 | ||
| 53 | 72 | ||
| 54 | 73 | class Scheme(proto.Enum): | |
| 55 | - r"""HTTP Scheme.""" | ||
| 74 | + r"""HTTP Scheme. | ||
| 75 | + | ||
| 76 | + Values: | ||
| 77 | + SCHEME_UNSPECIFIED (0): | ||
| 78 | + Unspecified scheme. | ||
| 79 | + HTTPS (1): | ||
| 80 | + HTTPS protocol. | ||
| 81 | + """ | ||
| 56 | 82 | SCHEME_UNSPECIFIED = 0 | |
| 57 | 83 | HTTPS = 1 | |
| 58 | 84 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ | |||
| 8 | 8 | ], | |
| 9 | 9 | "language": "PYTHON", | |
| 10 | 10 | "name": "google-cloud-apigee-connect", | |
| 11 | - "version": "1.7.0" | ||
| 11 | + "version": "0.1.0" | ||
| 12 | 12 | }, | |
| 13 | 13 | "snippets": [ | |
| 14 | 14 | { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments