You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pre>Creates an EndpointAttachment. **Note:** Not supported for Apigee hybrid.
104
+
105
+
Args:
106
+
parent: string, Required. The Organization this EndpointAttachment will be created in. (required)
107
+
body: object, The request body.
108
+
The object takes the form of:
109
+
110
+
{ # Apigee Endpoint Attachment.
111
+
"host": "A String", # Output only. Host that can be used in either HTTP Target Endpoint directly, or as the host in Target Server.
112
+
"location": "A String", # Required. Location of the endpoint attachment.
113
+
"name": "A String", # Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`.
endpointAttachmentId: string, The ID to use for the endpoint attachment. ID must be a 1-20 characters string with lowercase letters and numbers and must start with a letter.
118
+
x__xgafv: string, V1 error format.
119
+
Allowed values
120
+
1 - v1 error format
121
+
2 - v2 error format
122
+
123
+
Returns:
124
+
An object of the form:
125
+
126
+
{ # This resource represents a long-running operation that is the result of a network API call.
127
+
"done": 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.
128
+
"error": { # 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.
129
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
130
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
131
+
{
132
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
133
+
},
134
+
],
135
+
"message": "A String", # 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.
136
+
},
137
+
"metadata": { # 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.
138
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
139
+
},
140
+
"name": "A String", # 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}`.
141
+
"response": { # 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`.
142
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
name: string, Required. Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`. (required)
153
+
x__xgafv: string, V1 error format.
154
+
Allowed values
155
+
1 - v1 error format
156
+
2 - v2 error format
157
+
158
+
Returns:
159
+
An object of the form:
160
+
161
+
{ # This resource represents a long-running operation that is the result of a network API call.
162
+
"done": 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.
163
+
"error": { # 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.
164
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
165
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
166
+
{
167
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
168
+
},
169
+
],
170
+
"message": "A String", # 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.
171
+
},
172
+
"metadata": { # 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.
173
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
174
+
},
175
+
"name": "A String", # 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}`.
176
+
"response": { # 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`.
177
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
name: string, Required. Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`. (required)
188
+
x__xgafv: string, V1 error format.
189
+
Allowed values
190
+
1 - v1 error format
191
+
2 - v2 error format
192
+
193
+
Returns:
194
+
An object of the form:
195
+
196
+
{ # Apigee Endpoint Attachment.
197
+
"host": "A String", # Output only. Host that can be used in either HTTP Target Endpoint directly, or as the host in Target Server.
198
+
"location": "A String", # Required. Location of the endpoint attachment.
199
+
"name": "A String", # Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`.
<pre>Lists the EndpointAttachments in the specified Organization.
207
+
208
+
Args:
209
+
parent: string, Required. Name of the Organization for which to list Endpoint Attachments in the format: `organizations/{organization}`. (required)
210
+
pageSize: integer, Optional. Maximum number of Endpoint Attachments to return. If unspecified, at most 25 attachments will be returned.
211
+
pageToken: string, Optional. Page token, returned from a previous ListEndpointAttachments call, that you can use to retrieve the next page.
212
+
x__xgafv: string, V1 error format.
213
+
Allowed values
214
+
1 - v1 error format
215
+
2 - v2 error format
216
+
217
+
Returns:
218
+
An object of the form:
219
+
220
+
{ # Response for ListEndpointAttachments method.
221
+
"endpointAttachments": [ # Endpoint Attachments in the specified organization.
222
+
{ # Apigee Endpoint Attachment.
223
+
"host": "A String", # Output only. Host that can be used in either HTTP Target Endpoint directly, or as the host in Target Server.
224
+
"location": "A String", # Required. Location of the endpoint attachment.
225
+
"name": "A String", # Name of the Endpoint Attachment in the following format: `organizations/{organization}/endpointAttachments/{endpoint_attachment}`.
"nextPageToken": "A String", # Page token that you can include in a ListEndpointAttachments request to retrieve the next page. If omitted, no subsequent pages exist.
Copy file name to clipboardExpand all lines: docs/dyn/apigee_v1.organizations.environments.apis.revisions.debugsessions.html
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -114,6 +114,7 @@ <h3>Method Details</h3>
114
114
115
115
{
116
116
"count": 42, # Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10.
117
+
"createTime": "A String", # Output only. The first transaction creation timestamp, recorded by UAP.
117
118
"filter": "A String", # Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition.
118
119
"name": "A String", # A unique ID for this DebugSession.
119
120
"timeout": "A String", # Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided.
@@ -132,6 +133,7 @@ <h3>Method Details</h3>
132
133
133
134
{
134
135
"count": 42, # Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10.
136
+
"createTime": "A String", # Output only. The first transaction creation timestamp, recorded by UAP.
135
137
"filter": "A String", # Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition.
136
138
"name": "A String", # A unique ID for this DebugSession.
137
139
"timeout": "A String", # Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided.
@@ -174,6 +176,7 @@ <h3>Method Details</h3>
174
176
175
177
{
176
178
"count": 42, # Optional. The number of request to be traced. Min = 1, Max = 15, Default = 10.
179
+
"createTime": "A String", # Output only. The first transaction creation timestamp, recorded by UAP.
177
180
"filter": "A String", # Optional. A conditional statement which is evaluated against the request message to determine if it should be traced. Syntax matches that of on API Proxy bundle flow Condition.
178
181
"name": "A String", # A unique ID for this DebugSession.
179
182
"timeout": "A String", # Optional. The time in seconds after which this DebugSession should end. This value will override the value in query param, if both are provided.
@@ -203,7 +206,7 @@ <h3>Method Details</h3>
203
206
"sessions": [ # Session info that includes debug session ID and the first transaction creation timestamp.
204
207
{ # Session carries the debug session id and its creation time.
205
208
"id": "A String", # The debug session ID.
206
-
"timestampMs": "A String", # The first transaction creation timestamp in millisecond, recoreded by UAP.
209
+
"timestampMs": "A String", # The first transaction creation timestamp in millisecond, recorded by UAP.
0 commit comments