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
* method. In Python, a standard `datetime.datetime` object can be converted
94
-
* to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
95
-
* with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
96
-
* can use the Joda Time's [`ISODateTimeFormat.dateTime()`](https://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D) to obtain a formatter capable of generating timestamps in this format.
95
+
* to this format using
96
+
* [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
97
+
* the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
98
+
* the Joda Time's [`ISODateTimeFormat.dateTime()`](https://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D) to obtain a formatter capable of generating timestamps in this format.
Copy file name to clipboardExpand all lines: src/v1/doc/google/spanner/v1/doc_spanner.js
+60-12Lines changed: 60 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,51 @@ const CreateSessionRequest = {
34
34
// This is for documentation. Actual contents will be loaded by gRPC.
35
35
};
36
36
37
+
/**
38
+
* The request for
39
+
* BatchCreateSessions.
40
+
*
41
+
* @property {string} database
42
+
* Required. The database in which the new sessions are created.
43
+
*
44
+
* @property {Object} sessionTemplate
45
+
* Parameters to be applied to each created session.
46
+
*
47
+
* This object should have the same structure as [Session]{@link google.spanner.v1.Session}
48
+
*
49
+
* @property {number} sessionCount
50
+
* Required. The number of sessions to be created in this batch call.
51
+
* The API may return fewer than the requested number of sessions. If a
52
+
* specific number of sessions are desired, the client can make additional
53
+
* calls to BatchCreateSessions (adjusting
54
+
* session_count
55
+
* as necessary).
56
+
*
57
+
* @typedef BatchCreateSessionsRequest
58
+
* @memberof google.spanner.v1
59
+
* @see [google.spanner.v1.BatchCreateSessionsRequest definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/spanner/v1/spanner.proto}
60
+
*/
61
+
constBatchCreateSessionsRequest={
62
+
// This is for documentation. Actual contents will be loaded by gRPC.
63
+
};
64
+
65
+
/**
66
+
* The response for
67
+
* BatchCreateSessions.
68
+
*
69
+
* @property {Object[]} session
70
+
* The freshly created sessions.
71
+
*
72
+
* This object should have the same structure as [Session]{@link google.spanner.v1.Session}
73
+
*
74
+
* @typedef BatchCreateSessionsResponse
75
+
* @memberof google.spanner.v1
76
+
* @see [google.spanner.v1.BatchCreateSessionsResponse definition in proto format]{@link https://github.com/googleapis/googleapis/blob/master/google/spanner/v1/spanner.proto}
77
+
*/
78
+
constBatchCreateSessionsResponse={
79
+
// This is for documentation. Actual contents will be loaded by gRPC.
0 commit comments