Debian Codegraph @

docs/dyn/drivelabels_v2.limits.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="drivelabels_v2.html">Drive Labels API</a> . <a href="drivelabels_v2.limits.html">limits</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#getLabel">getLabel(name=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Get the constraints on the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.</p>
83 <h3>Method Details</h3>
84 <div class="method">
85 <code class="details" id="close">close()</code>
86 <pre>Close httplib2 connections.</pre>
87 </div>
88
89 <div class="method">
90 <code class="details" id="getLabel">getLabel(name=None, x__xgafv=None)</code>
91 <pre>Get the constraints on the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.
92
93 Args:
94 name: string, Required. Label revision resource name must be: &quot;limits/label&quot;.
95 x__xgafv: string, V1 error format.
96 Allowed values
97 1 - v1 error format
98 2 - v2 error format
99
100 Returns:
101 An object of the form:
102
103 { # Label constraints governing the structure of a label; such as, the maximum number of fields allowed and maximum length of the label title.
104 &quot;fieldLimits&quot;: { # Field constants governing the structure of a field; such as, the maximum title length, minimum and maximum field values or length, etc. # The limits for fields.
105 &quot;dateLimits&quot;: { # Limits for date field type. # Date field limits.
106 &quot;maxValue&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Maximum value for the date field type.
107 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
108 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
109 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
110 },
111 &quot;minValue&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp # Minimum value for the date field type.
112 &quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
113 &quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
114 &quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
115 },
116 },
117 &quot;integerLimits&quot;: { # Limits for integer field type. # Integer field limits.
118 &quot;maxValue&quot;: &quot;A String&quot;, # Maximum value for an integer field type.
119 &quot;minValue&quot;: &quot;A String&quot;, # Minimum value for an integer field type.
120 },
121 &quot;longTextLimits&quot;: { # Limits for long text field type. # Long text field limits.
122 &quot;maxLength&quot;: 42, # Maximum length allowed for a long text field type.
123 &quot;minLength&quot;: 42, # Minimum length allowed for a long text field type.
124 },
125 &quot;maxDescriptionLength&quot;: 42, # Limits for field description, also called help text.
126 &quot;maxDisplayNameLength&quot;: 42, # Limits for field title.
127 &quot;maxIdLength&quot;: 42, # Maximum length for the id.
128 &quot;selectionLimits&quot;: { # Limits for selection field type. # Selection field limits.
129 &quot;listLimits&quot;: { # Limits for list-variant of a field type. # Limits for list-variant of a field type.
130 &quot;maxEntries&quot;: 42, # Maximum number of values allowed for the field type.
131 },
132 &quot;maxChoices&quot;: 42, # Maximum number of choices.
133 &quot;maxDeletedChoices&quot;: 42, # Maximum number of deleted choices.
134 &quot;maxDisplayNameLength&quot;: 42, # Maximum length for display name.
135 &quot;maxIdLength&quot;: 42, # Maximum ID length for a selection option.
136 },
137 &quot;textLimits&quot;: { # Limits for text field type. # The relevant limits for the specified Field.Type. Text field limits.
138 &quot;maxLength&quot;: 42, # Maximum length allowed for a text field type.
139 &quot;minLength&quot;: 42, # Minimum length allowed for a text field type.
140 },
141 &quot;userLimits&quot;: { # Limits for Field.Type.USER. # User field limits.
142 &quot;listLimits&quot;: { # Limits for list-variant of a field type. # Limits for list-variant of a field type.
143 &quot;maxEntries&quot;: 42, # Maximum number of values allowed for the field type.
144 },
145 },
146 },
147 &quot;maxDeletedFields&quot;: 42, # The maximum number of published fields that can be deleted.
148 &quot;maxDescriptionLength&quot;: 42, # The maximum number of characters allowed for the description.
149 &quot;maxDraftRevisions&quot;: 42, # The maximum number of draft revisions that will be kept before deleting old drafts.
150 &quot;maxFields&quot;: 42, # The maximum number of fields allowed within the label.
151 &quot;maxTitleLength&quot;: 42, # The maximum number of characters allowed for the title.
152 &quot;name&quot;: &quot;A String&quot;, # Resource name.
153 }</pre>
154 </div>
155
156 </body></html>