OLD | NEW |
(Empty) | |
| 1 # |
| 2 # Copyright 2015 Google Inc. |
| 3 # |
| 4 # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 # you may not use this file except in compliance with the License. |
| 6 # You may obtain a copy of the License at |
| 7 # |
| 8 # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 # |
| 10 # Unless required by applicable law or agreed to in writing, software |
| 11 # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 # See the License for the specific language governing permissions and |
| 14 # limitations under the License. |
| 15 |
| 16 """Generated message classes for fusiontables version v1. |
| 17 |
| 18 API for working with Fusion Tables data. |
| 19 """ |
| 20 # NOTE: This file is autogenerated and should not be edited by hand. |
| 21 |
| 22 from apitools.base.protorpclite import messages as _messages |
| 23 |
| 24 |
| 25 package = 'fusiontables' |
| 26 |
| 27 |
| 28 class Column(_messages.Message): |
| 29 |
| 30 """Specifies the id, name and type of a column in a table. |
| 31 |
| 32 Messages: |
| 33 BaseColumnValue: Optional identifier of the base column. If present, this |
| 34 column is derived from the specified base column. |
| 35 |
| 36 Fields: |
| 37 baseColumn: Optional identifier of the base column. If present, this |
| 38 column is derived from the specified base column. |
| 39 columnId: Identifier for the column. |
| 40 description: Optional column description. |
| 41 graph_predicate: Optional column predicate. Used to map table to |
| 42 graph data model (subject,predicate,object) See |
| 43 http://www.w3.org/TR/2014/REC- |
| 44 rdf11-concepts-20140225/#data-model |
| 45 kind: Type name: a template for an individual column. |
| 46 name: Required name of the column. |
| 47 type: Required type of the column. |
| 48 |
| 49 """ |
| 50 |
| 51 class BaseColumnValue(_messages.Message): |
| 52 |
| 53 """Optional identifier of the base column. If present, this column is |
| 54 derived from the specified base column. |
| 55 |
| 56 Fields: |
| 57 columnId: The id of the column in the base table from which |
| 58 this column is derived. |
| 59 tableIndex: Offset to the entry in the list of base tables |
| 60 in the table definition. |
| 61 |
| 62 """ |
| 63 |
| 64 columnId = _messages.IntegerField(1, variant=_messages.Variant.INT32) |
| 65 tableIndex = _messages.IntegerField(2, variant=_messages.Variant.INT32) |
| 66 |
| 67 baseColumn = _messages.MessageField('BaseColumnValue', 1) |
| 68 columnId = _messages.IntegerField(2, variant=_messages.Variant.INT32) |
| 69 description = _messages.StringField(3) |
| 70 graph_predicate = _messages.StringField(4) |
| 71 kind = _messages.StringField(5, default=u'fusiontables#column') |
| 72 name = _messages.StringField(6) |
| 73 type = _messages.StringField(7) |
| 74 |
| 75 |
| 76 class ColumnList(_messages.Message): |
| 77 |
| 78 """Represents a list of columns in a table. |
| 79 |
| 80 Fields: |
| 81 items: List of all requested columns. |
| 82 kind: Type name: a list of all columns. |
| 83 nextPageToken: Token used to access the next page of this |
| 84 result. No token is displayed if there are no more pages left. |
| 85 totalItems: Total number of columns for the table. |
| 86 |
| 87 """ |
| 88 |
| 89 items = _messages.MessageField('Column', 1, repeated=True) |
| 90 kind = _messages.StringField(2, default=u'fusiontables#columnList') |
| 91 nextPageToken = _messages.StringField(3) |
| 92 totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32) |
| 93 |
| 94 |
| 95 class FusiontablesColumnListRequest(_messages.Message): |
| 96 |
| 97 """A FusiontablesColumnListRequest object. |
| 98 |
| 99 Fields: |
| 100 maxResults: Maximum number of columns to return. Optional. Default is 5. |
| 101 pageToken: Continuation token specifying which result page to return. |
| 102 Optional. |
| 103 tableId: Table whose columns are being listed. |
| 104 """ |
| 105 |
| 106 maxResults = _messages.IntegerField(1, variant=_messages.Variant.UINT32) |
| 107 pageToken = _messages.StringField(2) |
| 108 tableId = _messages.StringField(3, required=True) |
| 109 |
| 110 |
| 111 class FusiontablesColumnListAlternateRequest(_messages.Message): |
| 112 |
| 113 """A FusiontablesColumnListRequest object. |
| 114 |
| 115 Fields: |
| 116 pageSize: Maximum number of columns to return. Optional. Default is 5. |
| 117 pageToken: Continuation token specifying which result page to return. |
| 118 Optional. |
| 119 tableId: Table whose columns are being listed. |
| 120 """ |
| 121 |
| 122 pageSize = _messages.IntegerField(1, variant=_messages.Variant.UINT32) |
| 123 pageToken = _messages.StringField(2) |
| 124 tableId = _messages.StringField(3, required=True) |
| 125 |
| 126 |
| 127 class ColumnListAlternate(_messages.Message): |
| 128 |
| 129 """Represents a list of columns in a table. |
| 130 |
| 131 Fields: |
| 132 items: List of all requested columns. |
| 133 kind: Type name: a list of all columns. |
| 134 nextPageToken: Token used to access the next page of this |
| 135 result. No token is displayed if there are no more pages left. |
| 136 totalItems: Total number of columns for the table. |
| 137 |
| 138 """ |
| 139 |
| 140 columns = _messages.MessageField('Column', 1, repeated=True) |
| 141 kind = _messages.StringField(2, default=u'fusiontables#columnList') |
| 142 nextPageToken = _messages.StringField(3) |
| 143 totalItems = _messages.IntegerField(4, variant=_messages.Variant.INT32) |
OLD | NEW |