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
<pclass="firstline">Gets the access control policy for an instance resource. Returns an empty policy if an instance exists but does not have a policy set.</p>
parent: string, Required. The parent instance where this logical view will be created. Format: `projects/{project}/instances/{instance}`. (required)
119
+
body: object, The request body.
120
+
The object takes the form of:
121
+
122
+
{ # A SQL logical view object that can be referenced in SQL queries.
123
+
"etag": "A String", # Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
124
+
"name": "A String", # Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
125
+
"query": "A String", # Required. The logical view's select query.
126
+
}
127
+
128
+
logicalViewId: string, Required. The ID to use for the logical view, which will become the final component of the logical view's resource name.
129
+
x__xgafv: string, V1 error format.
130
+
Allowed values
131
+
1 - v1 error format
132
+
2 - v2 error format
133
+
134
+
Returns:
135
+
An object of the form:
136
+
137
+
{ # This resource represents a long-running operation that is the result of a network API call.
138
+
"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.
139
+
"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.
140
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
141
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
142
+
{
143
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
144
+
},
145
+
],
146
+
"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.
147
+
},
148
+
"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.
149
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
150
+
},
151
+
"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}`.
152
+
"response": { # 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`.
153
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
name: string, Required. The unique name of the logical view to be deleted. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`. (required)
164
+
etag: string, Optional. The current etag of the logical view. If an etag is provided and does not match the current etag of the logical view, deletion will be blocked and an ABORTED error will be returned.
165
+
x__xgafv: string, V1 error format.
166
+
Allowed values
167
+
1 - v1 error format
168
+
2 - v2 error format
169
+
170
+
Returns:
171
+
An object of the form:
172
+
173
+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
name: string, Required. The unique name of the requested logical view. Values are of the form `projects/{project}/instances/{instance}/logicalViews/{logical_view}`. (required)
183
+
x__xgafv: string, V1 error format.
184
+
Allowed values
185
+
1 - v1 error format
186
+
2 - v2 error format
187
+
188
+
Returns:
189
+
An object of the form:
190
+
191
+
{ # A SQL logical view object that can be referenced in SQL queries.
192
+
"etag": "A String", # Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
193
+
"name": "A String", # Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
194
+
"query": "A String", # Required. The logical view's select query.
<pre>Lists information about logical views in an instance.
257
+
258
+
Args:
259
+
parent: string, Required. The unique name of the instance for which the list of logical views is requested. Values are of the form `projects/{project}/instances/{instance}`. (required)
260
+
pageSize: integer, Optional. The maximum number of logical views to return. The service may return fewer than this value
261
+
pageToken: string, Optional. A page token, received from a previous `ListLogicalViews` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListLogicalViews` must match the call that provided the page token.
262
+
x__xgafv: string, V1 error format.
263
+
Allowed values
264
+
1 - v1 error format
265
+
2 - v2 error format
266
+
267
+
Returns:
268
+
An object of the form:
269
+
270
+
{ # Response message for BigtableInstanceAdmin.ListLogicalViews.
271
+
"logicalViews": [ # The list of requested logical views.
272
+
{ # A SQL logical view object that can be referenced in SQL queries.
273
+
"etag": "A String", # Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
274
+
"name": "A String", # Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
275
+
"query": "A String", # Required. The logical view's select query.
276
+
},
277
+
],
278
+
"nextPageToken": "A String", # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
name: string, Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}` (required)
302
+
body: object, The request body.
303
+
The object takes the form of:
304
+
305
+
{ # A SQL logical view object that can be referenced in SQL queries.
306
+
"etag": "A String", # Optional. The etag for this logical view. This may be sent on update requests to ensure that the client has an up-to-date value before proceeding. The server returns an ABORTED error on a mismatched etag.
307
+
"name": "A String", # Identifier. The unique name of the logical view. Format: `projects/{project}/instances/{instance}/logicalViews/{logical_view}`
308
+
"query": "A String", # Required. The logical view's select query.
309
+
}
310
+
311
+
updateMask: string, Optional. The list of fields to update.
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
+
"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.
322
+
"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.
323
+
"code": 42, # The status code, which should be an enum value of google.rpc.Code.
324
+
"details": [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
325
+
{
326
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
327
+
},
328
+
],
329
+
"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.
330
+
},
331
+
"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.
332
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
333
+
},
334
+
"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}`.
335
+
"response": { # 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`.
336
+
"a_key": "", # Properties of the object. Contains field @type with type URL.
0 commit comments