google-api-client 0.11.1 → 0.11.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (252) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/api_names.yaml +42335 -1
  4. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +3 -3
  5. data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +28 -28
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +12 -12
  7. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
  8. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +757 -757
  10. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +162 -162
  11. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +48 -48
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +75 -7
  14. data/generated/google/apis/admin_directory_v1/representations.rb +20 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +61 -61
  16. data/generated/google/apis/adsense_v1_4.rb +1 -1
  17. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  18. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  19. data/generated/google/apis/analyticsreporting_v4/classes.rb +403 -403
  20. data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
  21. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  22. data/generated/google/apis/androidenterprise_v1/classes.rb +36 -11
  23. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
  24. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  25. data/generated/google/apis/appengine_v1.rb +6 -5
  26. data/generated/google/apis/appengine_v1/classes.rb +1429 -1421
  27. data/generated/google/apis/appengine_v1/representations.rb +331 -331
  28. data/generated/google/apis/appengine_v1/service.rb +173 -168
  29. data/generated/google/apis/appstate_v1.rb +1 -1
  30. data/generated/google/apis/bigquery_v2.rb +1 -1
  31. data/generated/google/apis/calendar_v3.rb +1 -1
  32. data/generated/google/apis/classroom_v1.rb +1 -1
  33. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  35. data/generated/google/apis/cloudbuild_v1/classes.rb +624 -618
  36. data/generated/google/apis/cloudbuild_v1/representations.rb +126 -125
  37. data/generated/google/apis/cloudbuild_v1/service.rb +87 -87
  38. data/generated/google/apis/clouddebugger_v2.rb +4 -4
  39. data/generated/google/apis/clouddebugger_v2/classes.rb +267 -267
  40. data/generated/google/apis/clouddebugger_v2/representations.rb +83 -83
  41. data/generated/google/apis/clouddebugger_v2/service.rb +137 -137
  42. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  43. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +131 -131
  44. data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +28 -28
  45. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +17 -17
  46. data/generated/google/apis/cloudfunctions_v1.rb +1 -4
  47. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -47
  48. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -17
  49. data/generated/google/apis/cloudfunctions_v1/service.rb +0 -30
  50. data/generated/google/apis/cloudkms_v1.rb +1 -1
  51. data/generated/google/apis/cloudkms_v1/classes.rb +625 -625
  52. data/generated/google/apis/cloudkms_v1/representations.rb +132 -132
  53. data/generated/google/apis/cloudkms_v1/service.rb +272 -272
  54. data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
  55. data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
  56. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +242 -242
  57. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +43 -43
  58. data/generated/google/apis/cloudresourcemanager_v1/service.rb +505 -505
  59. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
  60. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +172 -172
  61. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +39 -39
  62. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +310 -310
  63. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  64. data/generated/google/apis/cloudtrace_v1/classes.rb +96 -69
  65. data/generated/google/apis/cloudtrace_v1/representations.rb +16 -16
  66. data/generated/google/apis/cloudtrace_v1/service.rb +42 -15
  67. data/generated/google/apis/compute_beta.rb +1 -1
  68. data/generated/google/apis/compute_beta/classes.rb +194 -25
  69. data/generated/google/apis/compute_beta/representations.rb +42 -0
  70. data/generated/google/apis/compute_beta/service.rb +196 -100
  71. data/generated/google/apis/compute_v1.rb +1 -1
  72. data/generated/google/apis/compute_v1/classes.rb +69 -18
  73. data/generated/google/apis/compute_v1/representations.rb +16 -0
  74. data/generated/google/apis/compute_v1/service.rb +84 -26
  75. data/generated/google/apis/container_v1.rb +3 -3
  76. data/generated/google/apis/container_v1/classes.rb +794 -586
  77. data/generated/google/apis/container_v1/representations.rb +202 -118
  78. data/generated/google/apis/container_v1/service.rb +396 -167
  79. data/generated/google/apis/content_v2.rb +1 -1
  80. data/generated/google/apis/content_v2/service.rb +4 -4
  81. data/generated/google/apis/dataproc_v1.rb +1 -1
  82. data/generated/google/apis/dataproc_v1/classes.rb +487 -484
  83. data/generated/google/apis/dataproc_v1/representations.rb +83 -83
  84. data/generated/google/apis/dataproc_v1/service.rb +299 -297
  85. data/generated/google/apis/datastore_v1.rb +1 -1
  86. data/generated/google/apis/datastore_v1/classes.rb +703 -703
  87. data/generated/google/apis/datastore_v1/representations.rb +148 -148
  88. data/generated/google/apis/datastore_v1/service.rb +62 -62
  89. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  90. data/generated/google/apis/deploymentmanager_v2/classes.rb +7 -5
  91. data/generated/google/apis/dfareporting_v2_6.rb +1 -1
  92. data/generated/google/apis/dfareporting_v2_6/classes.rb +66 -53
  93. data/generated/google/apis/dfareporting_v2_6/service.rb +30 -30
  94. data/generated/google/apis/dfareporting_v2_7.rb +1 -1
  95. data/generated/google/apis/dfareporting_v2_7/classes.rb +69 -55
  96. data/generated/google/apis/dfareporting_v2_7/service.rb +38 -37
  97. data/generated/google/apis/dfareporting_v2_8.rb +40 -0
  98. data/generated/google/apis/dfareporting_v2_8/classes.rb +12046 -0
  99. data/generated/google/apis/dfareporting_v2_8/representations.rb +4310 -0
  100. data/generated/google/apis/dfareporting_v2_8/service.rb +9135 -0
  101. data/generated/google/apis/dns_v1.rb +1 -1
  102. data/generated/google/apis/dns_v2beta1.rb +1 -1
  103. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  104. data/generated/google/apis/drive_v2.rb +1 -1
  105. data/generated/google/apis/drive_v2/classes.rb +15 -0
  106. data/generated/google/apis/drive_v2/representations.rb +2 -0
  107. data/generated/google/apis/drive_v2/service.rb +2 -1
  108. data/generated/google/apis/drive_v3.rb +1 -1
  109. data/generated/google/apis/drive_v3/classes.rb +16 -0
  110. data/generated/google/apis/drive_v3/representations.rb +2 -0
  111. data/generated/google/apis/drive_v3/service.rb +2 -1
  112. data/generated/google/apis/firebasedynamiclinks_v1.rb +2 -3
  113. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +159 -159
  114. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +55 -55
  115. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -6
  116. data/generated/google/apis/firebaserules_v1.rb +1 -1
  117. data/generated/google/apis/firebaserules_v1/classes.rb +73 -73
  118. data/generated/google/apis/firebaserules_v1/representations.rb +25 -25
  119. data/generated/google/apis/firebaserules_v1/service.rb +118 -118
  120. data/generated/google/apis/fusiontables_v2.rb +1 -1
  121. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  122. data/generated/google/apis/games_management_v1management.rb +1 -1
  123. data/generated/google/apis/games_v1.rb +1 -1
  124. data/generated/google/apis/genomics_v1.rb +1 -1
  125. data/generated/google/apis/genomics_v1/classes.rb +920 -920
  126. data/generated/google/apis/genomics_v1/representations.rb +202 -202
  127. data/generated/google/apis/genomics_v1/service.rb +1092 -1092
  128. data/generated/google/apis/gmail_v1.rb +1 -1
  129. data/generated/google/apis/iam_v1.rb +1 -1
  130. data/generated/google/apis/iam_v1/classes.rb +455 -435
  131. data/generated/google/apis/iam_v1/representations.rb +96 -93
  132. data/generated/google/apis/iam_v1/service.rb +157 -157
  133. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  134. data/generated/google/apis/identitytoolkit_v3/classes.rb +12 -0
  135. data/generated/google/apis/identitytoolkit_v3/representations.rb +2 -0
  136. data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
  137. data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
  138. data/generated/google/apis/kgsearch_v1/service.rb +9 -9
  139. data/generated/google/apis/language_v1.rb +1 -1
  140. data/generated/google/apis/language_v1/classes.rb +455 -455
  141. data/generated/google/apis/language_v1/representations.rb +102 -102
  142. data/generated/google/apis/language_v1/service.rb +42 -42
  143. data/generated/google/apis/language_v1beta1.rb +1 -1
  144. data/generated/google/apis/language_v1beta1/classes.rb +216 -215
  145. data/generated/google/apis/language_v1beta1/representations.rb +75 -75
  146. data/generated/google/apis/language_v1beta1/service.rb +45 -45
  147. data/generated/google/apis/logging_v2.rb +1 -1
  148. data/generated/google/apis/logging_v2/classes.rb +908 -895
  149. data/generated/google/apis/logging_v2/representations.rb +121 -120
  150. data/generated/google/apis/logging_v2/service.rb +489 -489
  151. data/generated/google/apis/logging_v2beta1.rb +4 -4
  152. data/generated/google/apis/logging_v2beta1/classes.rb +928 -915
  153. data/generated/google/apis/logging_v2beta1/representations.rb +121 -120
  154. data/generated/google/apis/logging_v2beta1/service.rb +249 -249
  155. data/generated/google/apis/manufacturers_v1.rb +1 -1
  156. data/generated/google/apis/manufacturers_v1/classes.rb +294 -294
  157. data/generated/google/apis/manufacturers_v1/representations.rb +84 -84
  158. data/generated/google/apis/manufacturers_v1/service.rb +8 -8
  159. data/generated/google/apis/mirror_v1.rb +1 -1
  160. data/generated/google/apis/ml_v1.rb +1 -1
  161. data/generated/google/apis/ml_v1/classes.rb +1186 -1183
  162. data/generated/google/apis/ml_v1/representations.rb +177 -177
  163. data/generated/google/apis/ml_v1/service.rb +244 -244
  164. data/generated/google/apis/monitoring_v3.rb +1 -1
  165. data/generated/google/apis/monitoring_v3/classes.rb +866 -866
  166. data/generated/google/apis/monitoring_v3/representations.rb +163 -163
  167. data/generated/google/apis/monitoring_v3/service.rb +355 -316
  168. data/generated/google/apis/oauth2_v2.rb +1 -1
  169. data/generated/google/apis/partners_v2.rb +1 -1
  170. data/generated/google/apis/partners_v2/classes.rb +1499 -1499
  171. data/generated/google/apis/partners_v2/representations.rb +368 -368
  172. data/generated/google/apis/partners_v2/service.rb +512 -512
  173. data/generated/google/apis/people_v1.rb +10 -10
  174. data/generated/google/apis/people_v1/classes.rb +544 -423
  175. data/generated/google/apis/people_v1/representations.rb +127 -109
  176. data/generated/google/apis/people_v1/service.rb +8 -8
  177. data/generated/google/apis/plus_domains_v1.rb +1 -1
  178. data/generated/google/apis/plus_v1.rb +1 -1
  179. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  180. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +200 -200
  181. data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +41 -41
  182. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +80 -80
  183. data/generated/google/apis/pubsub_v1.rb +1 -1
  184. data/generated/google/apis/pubsub_v1/classes.rb +377 -377
  185. data/generated/google/apis/pubsub_v1/representations.rb +82 -82
  186. data/generated/google/apis/pubsub_v1/service.rb +93 -93
  187. data/generated/google/apis/runtimeconfig_v1.rb +6 -4
  188. data/generated/google/apis/runtimeconfig_v1/classes.rb +22 -22
  189. data/generated/google/apis/runtimeconfig_v1/representations.rb +2 -2
  190. data/generated/google/apis/runtimeconfig_v1/service.rb +57 -55
  191. data/generated/google/apis/script_v1.rb +14 -14
  192. data/generated/google/apis/script_v1/classes.rb +113 -58
  193. data/generated/google/apis/script_v1/representations.rb +43 -14
  194. data/generated/google/apis/script_v1/service.rb +6 -6
  195. data/generated/google/apis/searchconsole_v1.rb +1 -1
  196. data/generated/google/apis/searchconsole_v1/classes.rb +67 -67
  197. data/generated/google/apis/searchconsole_v1/representations.rb +29 -29
  198. data/generated/google/apis/searchconsole_v1/service.rb +6 -6
  199. data/generated/google/apis/servicecontrol_v1.rb +4 -4
  200. data/generated/google/apis/servicecontrol_v1/classes.rb +1125 -1125
  201. data/generated/google/apis/servicecontrol_v1/representations.rb +213 -213
  202. data/generated/google/apis/servicecontrol_v1/service.rb +92 -92
  203. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  204. data/generated/google/apis/servicemanagement_v1/classes.rb +3364 -3622
  205. data/generated/google/apis/servicemanagement_v1/representations.rb +546 -530
  206. data/generated/google/apis/servicemanagement_v1/service.rb +262 -152
  207. data/generated/google/apis/serviceuser_v1.rb +4 -4
  208. data/generated/google/apis/serviceuser_v1/classes.rb +2616 -2874
  209. data/generated/google/apis/serviceuser_v1/representations.rb +294 -278
  210. data/generated/google/apis/serviceuser_v1/service.rb +19 -19
  211. data/generated/google/apis/sheets_v4.rb +4 -1
  212. data/generated/google/apis/sheets_v4/classes.rb +4315 -4313
  213. data/generated/google/apis/sheets_v4/representations.rb +858 -858
  214. data/generated/google/apis/sheets_v4/service.rb +115 -115
  215. data/generated/google/apis/slides_v1.rb +1 -1
  216. data/generated/google/apis/slides_v1/classes.rb +2890 -2890
  217. data/generated/google/apis/slides_v1/representations.rb +638 -638
  218. data/generated/google/apis/slides_v1/service.rb +36 -36
  219. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  220. data/generated/google/apis/sourcerepo_v1/classes.rb +283 -283
  221. data/generated/google/apis/sourcerepo_v1/representations.rb +67 -67
  222. data/generated/google/apis/sourcerepo_v1/service.rb +88 -88
  223. data/generated/google/apis/spanner_v1.rb +1 -1
  224. data/generated/google/apis/spanner_v1/classes.rb +2258 -2233
  225. data/generated/google/apis/spanner_v1/representations.rb +325 -325
  226. data/generated/google/apis/spanner_v1/service.rb +466 -466
  227. data/generated/google/apis/speech_v1beta1.rb +2 -2
  228. data/generated/google/apis/speech_v1beta1/classes.rb +97 -97
  229. data/generated/google/apis/speech_v1beta1/representations.rb +29 -29
  230. data/generated/google/apis/speech_v1beta1/service.rb +49 -49
  231. data/generated/google/apis/storage_v1.rb +1 -1
  232. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  233. data/generated/google/apis/storagetransfer_v1/classes.rb +786 -786
  234. data/generated/google/apis/storagetransfer_v1/representations.rb +133 -133
  235. data/generated/google/apis/storagetransfer_v1/service.rb +30 -30
  236. data/generated/google/apis/surveys_v2.rb +1 -1
  237. data/generated/google/apis/surveys_v2/classes.rb +0 -12
  238. data/generated/google/apis/surveys_v2/representations.rb +0 -4
  239. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  240. data/generated/google/apis/vision_v1.rb +1 -1
  241. data/generated/google/apis/vision_v1/classes.rb +1301 -1302
  242. data/generated/google/apis/vision_v1/representations.rb +183 -183
  243. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  244. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  245. data/generated/google/apis/youtube_partner_v1/classes.rb +10 -0
  246. data/generated/google/apis/youtube_partner_v1/representations.rb +1 -0
  247. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  248. data/generated/google/apis/youtubereporting_v1/classes.rb +64 -64
  249. data/generated/google/apis/youtubereporting_v1/representations.rb +12 -12
  250. data/generated/google/apis/youtubereporting_v1/service.rb +94 -94
  251. data/lib/google/apis/version.rb +1 -1
  252. metadata +7 -3
@@ -28,7 +28,7 @@ module Google
28
28
  # @see https://cloud.google.com/trace
29
29
  module CloudtraceV1
30
30
  VERSION = 'V1'
31
- REVISION = '20170320'
31
+ REVISION = '20170425'
32
32
 
33
33
  # Write Trace data for a project or application
34
34
  AUTH_TRACE_APPEND = 'https://www.googleapis.com/auth/trace.append'
@@ -22,75 +22,6 @@ module Google
22
22
  module Apis
23
23
  module CloudtraceV1
24
24
 
25
- # A span represents a single timed event within a trace. Spans can be nested
26
- # and form a trace tree. Often, a trace contains a root span that describes the
27
- # end-to-end latency of an operation and, optionally, one or more subspans for
28
- # its suboperations. Spans do not need to be contiguous. There may be gaps
29
- # between spans in a trace.
30
- class TraceSpan
31
- include Google::Apis::Core::Hashable
32
-
33
- # Identifier for the span. Must be a 64-bit integer other than 0 and
34
- # unique within a trace.
35
- # Corresponds to the JSON property `spanId`
36
- # @return [Fixnum]
37
- attr_accessor :span_id
38
-
39
- # ID of the parent span, if any. Optional.
40
- # Corresponds to the JSON property `parentSpanId`
41
- # @return [Fixnum]
42
- attr_accessor :parent_span_id
43
-
44
- # End time of the span in nanoseconds from the UNIX epoch.
45
- # Corresponds to the JSON property `endTime`
46
- # @return [String]
47
- attr_accessor :end_time
48
-
49
- # Start time of the span in nanoseconds from the UNIX epoch.
50
- # Corresponds to the JSON property `startTime`
51
- # @return [String]
52
- attr_accessor :start_time
53
-
54
- # Distinguishes between spans generated in a particular context. For example,
55
- # two spans with the same name may be distinguished using `RPC_CLIENT`
56
- # and `RPC_SERVER` to identify queueing latency associated with the span.
57
- # Corresponds to the JSON property `kind`
58
- # @return [String]
59
- attr_accessor :kind
60
-
61
- # Collection of labels associated with the span. Label keys must be less than
62
- # 128 bytes. Label values must be less than 16 kilobytes.
63
- # Corresponds to the JSON property `labels`
64
- # @return [Hash<String,String>]
65
- attr_accessor :labels
66
-
67
- # Name of the span. Must be less than 128 bytes. The span name is sanitized
68
- # and displayed in the Stackdriver Trace tool in the
69
- # `% dynamic print site_values.console_name %`.
70
- # The name may be a method name or some other per-call site name.
71
- # For the same executable and the same call point, a best practice is
72
- # to use a consistent name, which makes it easier to correlate
73
- # cross-trace spans.
74
- # Corresponds to the JSON property `name`
75
- # @return [String]
76
- attr_accessor :name
77
-
78
- def initialize(**args)
79
- update!(**args)
80
- end
81
-
82
- # Update properties of this object
83
- def update!(**args)
84
- @span_id = args[:span_id] if args.key?(:span_id)
85
- @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
86
- @end_time = args[:end_time] if args.key?(:end_time)
87
- @start_time = args[:start_time] if args.key?(:start_time)
88
- @kind = args[:kind] if args.key?(:kind)
89
- @labels = args[:labels] if args.key?(:labels)
90
- @name = args[:name] if args.key?(:name)
91
- end
92
- end
93
-
94
25
  # The response message for the `ListTraces` method.
95
26
  class ListTracesResponse
96
27
  include Google::Apis::Core::Hashable
@@ -189,6 +120,102 @@ module Google
189
120
  @traces = args[:traces] if args.key?(:traces)
190
121
  end
191
122
  end
123
+
124
+ # A span represents a single timed event within a trace. Spans can be nested
125
+ # and form a trace tree. Often, a trace contains a root span that describes the
126
+ # end-to-end latency of an operation and, optionally, one or more subspans for
127
+ # its suboperations. Spans do not need to be contiguous. There may be gaps
128
+ # between spans in a trace.
129
+ class TraceSpan
130
+ include Google::Apis::Core::Hashable
131
+
132
+ # Collection of labels associated with the span. Label keys must be less than
133
+ # 128 bytes. Label values must be less than 16 kilobytes (10MB for
134
+ # `/stacktrace` values).
135
+ # Some predefined label keys exist, or you may create your own. When creating
136
+ # your own, we recommend the following formats:
137
+ # * `/category/product/key` for agents of well-known products (e.g.
138
+ # `/db/mongodb/read_size`).
139
+ # * `short_host/path/key` for domain-specific keys (e.g.
140
+ # `foo.com/myproduct/bar`)
141
+ # Predefined labels include:
142
+ # * `/agent`
143
+ # * `/component`
144
+ # * `/error/message`
145
+ # * `/error/name`
146
+ # * `/http/client_city`
147
+ # * `/http/client_country`
148
+ # * `/http/client_protocol`
149
+ # * `/http/client_region`
150
+ # * `/http/host`
151
+ # * `/http/method`
152
+ # * `/http/redirected_url`
153
+ # * `/http/request/size`
154
+ # * `/http/response/size`
155
+ # * `/http/status_code`
156
+ # * `/http/url`
157
+ # * `/http/user_agent`
158
+ # * `/pid`
159
+ # * `/stacktrace`
160
+ # * `/tid`
161
+ # Corresponds to the JSON property `labels`
162
+ # @return [Hash<String,String>]
163
+ attr_accessor :labels
164
+
165
+ # Name of the span. Must be less than 128 bytes. The span name is sanitized
166
+ # and displayed in the Stackdriver Trace tool in the
167
+ # `% dynamic print site_values.console_name %`.
168
+ # The name may be a method name or some other per-call site name.
169
+ # For the same executable and the same call point, a best practice is
170
+ # to use a consistent name, which makes it easier to correlate
171
+ # cross-trace spans.
172
+ # Corresponds to the JSON property `name`
173
+ # @return [String]
174
+ attr_accessor :name
175
+
176
+ # Identifier for the span. Must be a 64-bit integer other than 0 and
177
+ # unique within a trace.
178
+ # Corresponds to the JSON property `spanId`
179
+ # @return [Fixnum]
180
+ attr_accessor :span_id
181
+
182
+ # ID of the parent span, if any. Optional.
183
+ # Corresponds to the JSON property `parentSpanId`
184
+ # @return [Fixnum]
185
+ attr_accessor :parent_span_id
186
+
187
+ # End time of the span in nanoseconds from the UNIX epoch.
188
+ # Corresponds to the JSON property `endTime`
189
+ # @return [String]
190
+ attr_accessor :end_time
191
+
192
+ # Start time of the span in nanoseconds from the UNIX epoch.
193
+ # Corresponds to the JSON property `startTime`
194
+ # @return [String]
195
+ attr_accessor :start_time
196
+
197
+ # Distinguishes between spans generated in a particular context. For example,
198
+ # two spans with the same name may be distinguished using `RPC_CLIENT`
199
+ # and `RPC_SERVER` to identify queueing latency associated with the span.
200
+ # Corresponds to the JSON property `kind`
201
+ # @return [String]
202
+ attr_accessor :kind
203
+
204
+ def initialize(**args)
205
+ update!(**args)
206
+ end
207
+
208
+ # Update properties of this object
209
+ def update!(**args)
210
+ @labels = args[:labels] if args.key?(:labels)
211
+ @name = args[:name] if args.key?(:name)
212
+ @span_id = args[:span_id] if args.key?(:span_id)
213
+ @parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
214
+ @end_time = args[:end_time] if args.key?(:end_time)
215
+ @start_time = args[:start_time] if args.key?(:start_time)
216
+ @kind = args[:kind] if args.key?(:kind)
217
+ end
218
+ end
192
219
  end
193
220
  end
194
221
  end
@@ -22,12 +22,6 @@ module Google
22
22
  module Apis
23
23
  module CloudtraceV1
24
24
 
25
- class TraceSpan
26
- class Representation < Google::Apis::Core::JsonRepresentation; end
27
-
28
- include Google::Apis::Core::JsonObjectSupport
29
- end
30
-
31
25
  class ListTracesResponse
32
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
27
 
@@ -53,16 +47,9 @@ module Google
53
47
  end
54
48
 
55
49
  class TraceSpan
56
- # @private
57
- class Representation < Google::Apis::Core::JsonRepresentation
58
- property :span_id, :numeric_string => true, as: 'spanId'
59
- property :parent_span_id, :numeric_string => true, as: 'parentSpanId'
60
- property :end_time, as: 'endTime'
61
- property :start_time, as: 'startTime'
62
- property :kind, as: 'kind'
63
- hash :labels, as: 'labels'
64
- property :name, as: 'name'
65
- end
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
66
53
  end
67
54
 
68
55
  class ListTracesResponse
@@ -97,6 +84,19 @@ module Google
97
84
 
98
85
  end
99
86
  end
87
+
88
+ class TraceSpan
89
+ # @private
90
+ class Representation < Google::Apis::Core::JsonRepresentation
91
+ hash :labels, as: 'labels'
92
+ property :name, as: 'name'
93
+ property :span_id, :numeric_string => true, as: 'spanId'
94
+ property :parent_span_id, :numeric_string => true, as: 'parentSpanId'
95
+ property :end_time, as: 'endTime'
96
+ property :start_time, as: 'startTime'
97
+ property :kind, as: 'kind'
98
+ end
99
+ end
100
100
  end
101
101
  end
102
102
  end
@@ -90,17 +90,6 @@ module Google
90
90
  # Returns of a list of traces that match the specified filter conditions.
91
91
  # @param [String] project_id
92
92
  # ID of the Cloud project where the trace data is stored.
93
- # @param [String] filter
94
- # An optional filter for the request.
95
- # @param [String] end_time
96
- # Start of the time interval (inclusive) during which the trace data was
97
- # collected from the application.
98
- # @param [String] page_token
99
- # Token identifying the page of results to return. If provided, use the
100
- # value of the `next_page_token` field from a previous request. Optional.
101
- # @param [String] start_time
102
- # End of the time interval (inclusive) during which the trace data was
103
- # collected from the application.
104
93
  # @param [Fixnum] page_size
105
94
  # Maximum number of traces to return. If not specified or <= 0, the
106
95
  # implementation selects a reasonable value. The implementation may
@@ -119,6 +108,44 @@ module Google
119
108
  # Descending order can be specified by appending `desc` to the sort field
120
109
  # (for example, `name desc`).
121
110
  # Only one sort field is permitted.
111
+ # @param [String] filter
112
+ # An optional filter against labels for the request.
113
+ # By default, searches use prefix matching. To specify exact match, prepend
114
+ # a plus symbol (`+`) to the search term.
115
+ # Multiple terms are ANDed. Syntax:
116
+ # * `root:NAME_PREFIX` or `NAME_PREFIX`: Return traces where any root
117
+ # span starts with `NAME_PREFIX`.
118
+ # * `+root:NAME` or `+NAME`: Return traces where any root span's name is
119
+ # exactly `NAME`.
120
+ # * `span:NAME_PREFIX`: Return traces where any span starts with
121
+ # `NAME_PREFIX`.
122
+ # * `+span:NAME`: Return traces where any span's name is exactly
123
+ # `NAME`.
124
+ # * `latency:DURATION`: Return traces whose overall latency is
125
+ # greater or equal to than `DURATION`. Accepted units are nanoseconds
126
+ # (`ns`), milliseconds (`ms`), and seconds (`s`). Default is `ms`. For
127
+ # example, `latency:24ms` returns traces whose overall latency
128
+ # is greater than or equal to 24 milliseconds.
129
+ # * `label:LABEL_KEY`: Return all traces containing the specified
130
+ # label key (exact match, case-sensitive) regardless of the key:value
131
+ # pair's value (including empty values).
132
+ # * `LABEL_KEY:VALUE_PREFIX`: Return all traces containing the specified
133
+ # label key (exact match, case-sensitive) whose value starts with
134
+ # `VALUE_PREFIX`. Both a key and a value must be specified.
135
+ # * `+LABEL_KEY:VALUE`: Return all traces containing a key:value pair
136
+ # exactly matching the specified text. Both a key and a value must be
137
+ # specified.
138
+ # * `method:VALUE`: Equivalent to `/http/method:VALUE`.
139
+ # * `url:VALUE`: Equivalent to `/http/url:VALUE`.
140
+ # @param [String] end_time
141
+ # End of the time interval (inclusive) during which the trace data was
142
+ # collected from the application.
143
+ # @param [String] page_token
144
+ # Token identifying the page of results to return. If provided, use the
145
+ # value of the `next_page_token` field from a previous request. Optional.
146
+ # @param [String] start_time
147
+ # Start of the time interval (inclusive) during which the trace data was
148
+ # collected from the application.
122
149
  # @param [String] quota_user
123
150
  # Available to use for quota purposes for server-side applications. Can be any
124
151
  # arbitrary string assigned to a user, but should not exceed 40 characters.
@@ -136,18 +163,18 @@ module Google
136
163
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
137
164
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
138
165
  # @raise [Google::Apis::AuthorizationError] Authorization is required
139
- def list_project_traces(project_id, filter: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, view: nil, order_by: nil, quota_user: nil, fields: nil, options: nil, &block)
166
+ def list_project_traces(project_id, page_size: nil, view: nil, order_by: nil, filter: nil, end_time: nil, page_token: nil, start_time: nil, quota_user: nil, fields: nil, options: nil, &block)
140
167
  command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options)
141
168
  command.response_representation = Google::Apis::CloudtraceV1::ListTracesResponse::Representation
142
169
  command.response_class = Google::Apis::CloudtraceV1::ListTracesResponse
143
170
  command.params['projectId'] = project_id unless project_id.nil?
171
+ command.query['pageSize'] = page_size unless page_size.nil?
172
+ command.query['view'] = view unless view.nil?
173
+ command.query['orderBy'] = order_by unless order_by.nil?
144
174
  command.query['filter'] = filter unless filter.nil?
145
175
  command.query['endTime'] = end_time unless end_time.nil?
146
176
  command.query['pageToken'] = page_token unless page_token.nil?
147
177
  command.query['startTime'] = start_time unless start_time.nil?
148
- command.query['pageSize'] = page_size unless page_size.nil?
149
- command.query['view'] = view unless view.nil?
150
- command.query['orderBy'] = order_by unless order_by.nil?
151
178
  command.query['quotaUser'] = quota_user unless quota_user.nil?
152
179
  command.query['fields'] = fields unless fields.nil?
153
180
  execute_or_queue_command(command, &block)
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/compute/docs/reference/latest/
26
26
  module ComputeBeta
27
27
  VERSION = 'Beta'
28
- REVISION = '20170313'
28
+ REVISION = '20170416'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -314,7 +314,9 @@ module Google
314
314
  # @return [String]
315
315
  attr_accessor :kind
316
316
 
317
- # Name of this access configuration.
317
+ # The name of this access configuration. The default and recommended name is
318
+ # External NAT but you can use any arbitrary string you would like. For example,
319
+ # My external IP or Network Access.
318
320
  # Corresponds to the JSON property `name`
319
321
  # @return [String]
320
322
  attr_accessor :name
@@ -350,8 +352,7 @@ module Google
350
352
  class Address
351
353
  include Google::Apis::Core::Hashable
352
354
 
353
- # The static external IP address represented by this resource. Only IPv4 is
354
- # supported.
355
+ # The static external IP address represented by this resource.
355
356
  # Corresponds to the JSON property `address`
356
357
  # @return [String]
357
358
  attr_accessor :address
@@ -373,6 +374,12 @@ module Google
373
374
  # @return [Fixnum]
374
375
  attr_accessor :id
375
376
 
377
+ # The IP Version that will be used by this address. Valid options are IPV4 or
378
+ # IPV6. This can only be specified for a global address.
379
+ # Corresponds to the JSON property `ipVersion`
380
+ # @return [String]
381
+ attr_accessor :ip_version
382
+
376
383
  # [Output Only] Type of the resource. Always compute#address for addresses.
377
384
  # Corresponds to the JSON property `kind`
378
385
  # @return [String]
@@ -422,6 +429,7 @@ module Google
422
429
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
423
430
  @description = args[:description] if args.key?(:description)
424
431
  @id = args[:id] if args.key?(:id)
432
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
425
433
  @kind = args[:kind] if args.key?(:kind)
426
434
  @name = args[:name] if args.key?(:name)
427
435
  @region = args[:region] if args.key?(:region)
@@ -847,17 +855,19 @@ module Google
847
855
 
848
856
  # Specifies the audit configuration for a service. The configuration determines
849
857
  # which permission types are logged, and what identities, if any, are exempted
850
- # from logging. An AuditConifg must have one or more AuditLogConfigs.
858
+ # from logging. An AuditConfig must have one or more AuditLogConfigs.
851
859
  # If there are AuditConfigs for both `allServices` and a specific service, the
852
860
  # union of the two AuditConfigs is used for that service: the log_types
853
861
  # specified in each AuditConfig are enabled, and the exempted_members in each
854
- # AuditConfig are exempted. Example Policy with multiple AuditConfigs: ` "
855
- # audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
862
+ # AuditConfig are exempted.
863
+ # Example Policy with multiple AuditConfigs:
864
+ # ` "audit_configs": [ ` "service": "allServices" "audit_log_configs": [ ` "
856
865
  # log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] `, ` "
857
866
  # log_type": "DATA_WRITE", `, ` "log_type": "ADMIN_READ", ` ] `, ` "service": "
858
- # fooservice@googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
867
+ # fooservice.googleapis.com" "audit_log_configs": [ ` "log_type": "DATA_READ", `,
859
868
  # ` "log_type": "DATA_WRITE", "exempted_members": [ "user:bar@gmail.com" ] ` ] `
860
- # ] ` For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
869
+ # ] `
870
+ # For fooservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
861
871
  # logging. It also exempts foo@gmail.com from DATA_READ logging, and bar@gmail.
862
872
  # com from DATA_WRITE logging.
863
873
  class AuditConfig
@@ -3618,7 +3628,7 @@ module Google
3618
3628
 
3619
3629
  # A ForwardingRule resource. A ForwardingRule resource specifies which pool of
3620
3630
  # target virtual machines to forward a packet to if it matches the given [
3621
- # IPAddress, IPProtocol, portRange] tuple.
3631
+ # IPAddress, IPProtocol, ports] tuple.
3622
3632
  class ForwardingRule
3623
3633
  include Google::Apis::Core::Hashable
3624
3634
 
@@ -3667,6 +3677,12 @@ module Google
3667
3677
  # @return [Fixnum]
3668
3678
  attr_accessor :id
3669
3679
 
3680
+ # The IP Version that will be used by this forwarding rule. Valid options are
3681
+ # IPV4 or IPV6. This can only be specified for a global forwarding rule.
3682
+ # Corresponds to the JSON property `ipVersion`
3683
+ # @return [String]
3684
+ attr_accessor :ip_version
3685
+
3670
3686
  # [Output Only] Type of the resource. Always compute#forwardingRule for
3671
3687
  # Forwarding Rule resources.
3672
3688
  # Corresponds to the JSON property `kind`
@@ -3700,19 +3716,27 @@ module Google
3700
3716
  # @return [String]
3701
3717
  attr_accessor :network
3702
3718
 
3719
+ # This field is used along with the target field for TargetHttpProxy,
3720
+ # TargetHttpsProxy, TargetSslProxy, TargetTcpProxy, TargetVpnGateway, TargetPool,
3721
+ # TargetInstance.
3703
3722
  # Applicable only when IPProtocol is TCP, UDP, or SCTP, only packets addressed
3704
3723
  # to ports in the specified range will be forwarded to target. Forwarding rules
3705
3724
  # with the same [IPAddress, IPProtocol] pair must have disjoint port ranges.
3706
- # This field is not used for internal load balancing.
3725
+ # Some types of forwarding target have constraints on the acceptable ports:
3726
+ # - TargetHttpProxy: 80, 8080
3727
+ # - TargetHttpsProxy: 443
3728
+ # - TargetSslProxy: 443
3729
+ # - TargetVpnGateway: 500, 4500
3730
+ # -
3707
3731
  # Corresponds to the JSON property `portRange`
3708
3732
  # @return [String]
3709
3733
  attr_accessor :port_range
3710
3734
 
3711
- # This field is not used for external load balancing.
3735
+ # This field is used along with the backend_service field for internal load
3736
+ # balancing.
3712
3737
  # When the load balancing scheme is INTERNAL, a single port or a comma separated
3713
3738
  # list of ports can be configured. Only packets addressed to these ports will be
3714
- # forwarded to the backends configured with this forwarding rule. If the port
3715
- # list is not provided then all ports are allowed to pass through.
3739
+ # forwarded to the backends configured with this forwarding rule.
3716
3740
  # You may specify a maximum of up to 5 ports.
3717
3741
  # Corresponds to the JSON property `ports`
3718
3742
  # @return [Array<String>]
@@ -3729,6 +3753,25 @@ module Google
3729
3753
  # @return [String]
3730
3754
  attr_accessor :self_link
3731
3755
 
3756
+ # An optional prefix to the service name for this Forwarding Rule. If specified,
3757
+ # will be the first label of the fully qualified service name.
3758
+ # The label must be 1-63 characters long, and comply with RFC1035. Specifically,
3759
+ # the label must be 1-63 characters long and match the regular expression [a-z]([
3760
+ # -a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter,
3761
+ # and all following characters must be a dash, lowercase letter, or digit,
3762
+ # except the last character, which cannot be a dash.
3763
+ # This field is only used for internal load balancing.
3764
+ # Corresponds to the JSON property `serviceLabel`
3765
+ # @return [String]
3766
+ attr_accessor :service_label
3767
+
3768
+ # [Output Only] The internal fully qualified service name for this Forwarding
3769
+ # Rule.
3770
+ # This field is only used for internal load balancing.
3771
+ # Corresponds to the JSON property `serviceName`
3772
+ # @return [String]
3773
+ attr_accessor :service_name
3774
+
3732
3775
  # This field is not used for external load balancing.
3733
3776
  # For internal load balancing, this field identifies the subnetwork that the
3734
3777
  # load balanced IP should belong to for this Forwarding Rule.
@@ -3743,8 +3786,7 @@ module Google
3743
3786
  # forwarding rules, this target must live in the same region as the forwarding
3744
3787
  # rule. For global forwarding rules, this target must be a global load balancing
3745
3788
  # resource. The forwarded traffic must be of a type appropriate to the target
3746
- # object. For example, TargetHttpProxy requires HTTP traffic, and
3747
- # TargetHttpsProxy requires HTTPS traffic.
3789
+ # object.
3748
3790
  # This field is not used for internal load balancing.
3749
3791
  # Corresponds to the JSON property `target`
3750
3792
  # @return [String]
@@ -3762,6 +3804,7 @@ module Google
3762
3804
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
3763
3805
  @description = args[:description] if args.key?(:description)
3764
3806
  @id = args[:id] if args.key?(:id)
3807
+ @ip_version = args[:ip_version] if args.key?(:ip_version)
3765
3808
  @kind = args[:kind] if args.key?(:kind)
3766
3809
  @load_balancing_scheme = args[:load_balancing_scheme] if args.key?(:load_balancing_scheme)
3767
3810
  @name = args[:name] if args.key?(:name)
@@ -3770,6 +3813,8 @@ module Google
3770
3813
  @ports = args[:ports] if args.key?(:ports)
3771
3814
  @region = args[:region] if args.key?(:region)
3772
3815
  @self_link = args[:self_link] if args.key?(:self_link)
3816
+ @service_label = args[:service_label] if args.key?(:service_label)
3817
+ @service_name = args[:service_name] if args.key?(:service_name)
3773
3818
  @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
3774
3819
  @target = args[:target] if args.key?(:target)
3775
3820
  end
@@ -4984,7 +5029,7 @@ module Google
4984
5029
  # @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
4985
5030
  attr_accessor :disks
4986
5031
 
4987
- #
5032
+ # List of the type and count of accelerator cards attached to the instance.
4988
5033
  # Corresponds to the JSON property `guestAccelerators`
4989
5034
  # @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
4990
5035
  attr_accessor :guest_accelerators
@@ -5744,7 +5789,8 @@ module Google
5744
5789
  class InstanceGroupManagersAbandonInstancesRequest
5745
5790
  include Google::Apis::Core::Hashable
5746
5791
 
5747
- # The URL for one or more instances to abandon from the managed instance group.
5792
+ # The URLs of one or more instances to abandon. This can be a full URL or a
5793
+ # partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
5748
5794
  # Corresponds to the JSON property `instances`
5749
5795
  # @return [Array<String>]
5750
5796
  attr_accessor :instances
@@ -5763,8 +5809,8 @@ module Google
5763
5809
  class InstanceGroupManagersDeleteInstancesRequest
5764
5810
  include Google::Apis::Core::Hashable
5765
5811
 
5766
- # The list of instances to delete from this managed instance group. Specify one
5767
- # or more instance URLs.
5812
+ # The URLs of one or more instances to delete. This can be a full URL or a
5813
+ # partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
5768
5814
  # Corresponds to the JSON property `instances`
5769
5815
  # @return [Array<String>]
5770
5816
  attr_accessor :instances
@@ -5788,6 +5834,15 @@ module Google
5788
5834
  # @return [Array<Google::Apis::ComputeBeta::ManagedInstance>]
5789
5835
  attr_accessor :managed_instances
5790
5836
 
5837
+ # [Output Only] This token allows you to get the next page of results for list
5838
+ # requests. If the number of results is larger than maxResults, use the
5839
+ # nextPageToken as a value for the query parameter pageToken in the next list
5840
+ # request. Subsequent list requests will have their own nextPageToken to
5841
+ # continue paging through the results.
5842
+ # Corresponds to the JSON property `nextPageToken`
5843
+ # @return [String]
5844
+ attr_accessor :next_page_token
5845
+
5791
5846
  def initialize(**args)
5792
5847
  update!(**args)
5793
5848
  end
@@ -5795,6 +5850,7 @@ module Google
5795
5850
  # Update properties of this object
5796
5851
  def update!(**args)
5797
5852
  @managed_instances = args[:managed_instances] if args.key?(:managed_instances)
5853
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
5798
5854
  end
5799
5855
  end
5800
5856
 
@@ -5802,7 +5858,8 @@ module Google
5802
5858
  class InstanceGroupManagersRecreateInstancesRequest
5803
5859
  include Google::Apis::Core::Hashable
5804
5860
 
5805
- # The URL for one or more instances to recreate.
5861
+ # The URLs of one or more instances to recreate. This can be a full URL or a
5862
+ # partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
5806
5863
  # Corresponds to the JSON property `instances`
5807
5864
  # @return [Array<String>]
5808
5865
  attr_accessor :instances
@@ -6307,6 +6364,55 @@ module Google
6307
6364
  end
6308
6365
  end
6309
6366
 
6367
+ # Contains a list of instance referrers.
6368
+ class InstanceListReferrers
6369
+ include Google::Apis::Core::Hashable
6370
+
6371
+ # [Output Only] The unique identifier for the resource. This identifier is
6372
+ # defined by the server.
6373
+ # Corresponds to the JSON property `id`
6374
+ # @return [String]
6375
+ attr_accessor :id
6376
+
6377
+ # [Output Only] A list of referrers.
6378
+ # Corresponds to the JSON property `items`
6379
+ # @return [Array<Google::Apis::ComputeBeta::Reference>]
6380
+ attr_accessor :items
6381
+
6382
+ # [Output Only] Type of resource. Always compute#instanceListReferrers for lists
6383
+ # of Instance referrers.
6384
+ # Corresponds to the JSON property `kind`
6385
+ # @return [String]
6386
+ attr_accessor :kind
6387
+
6388
+ # [Output Only] This token allows you to get the next page of results for list
6389
+ # requests. If the number of results is larger than maxResults, use the
6390
+ # nextPageToken as a value for the query parameter pageToken in the next list
6391
+ # request. Subsequent list requests will have their own nextPageToken to
6392
+ # continue paging through the results.
6393
+ # Corresponds to the JSON property `nextPageToken`
6394
+ # @return [String]
6395
+ attr_accessor :next_page_token
6396
+
6397
+ # [Output Only] Server-defined URL for this resource.
6398
+ # Corresponds to the JSON property `selfLink`
6399
+ # @return [String]
6400
+ attr_accessor :self_link
6401
+
6402
+ def initialize(**args)
6403
+ update!(**args)
6404
+ end
6405
+
6406
+ # Update properties of this object
6407
+ def update!(**args)
6408
+ @id = args[:id] if args.key?(:id)
6409
+ @items = args[:items] if args.key?(:items)
6410
+ @kind = args[:kind] if args.key?(:kind)
6411
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
6412
+ @self_link = args[:self_link] if args.key?(:self_link)
6413
+ end
6414
+ end
6415
+
6310
6416
  #
6311
6417
  class MoveInstanceRequest
6312
6418
  include Google::Apis::Core::Hashable
@@ -6368,6 +6474,12 @@ module Google
6368
6474
  # @return [Array<Google::Apis::ComputeBeta::AttachedDisk>]
6369
6475
  attr_accessor :disks
6370
6476
 
6477
+ # A list of guest accelerator cards' type and count to use for instances created
6478
+ # from the instance template.
6479
+ # Corresponds to the JSON property `guestAccelerators`
6480
+ # @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
6481
+ attr_accessor :guest_accelerators
6482
+
6371
6483
  # Labels to apply to instances that are created from this template.
6372
6484
  # Corresponds to the JSON property `labels`
6373
6485
  # @return [Hash<String,String>]
@@ -6414,6 +6526,7 @@ module Google
6414
6526
  @can_ip_forward = args[:can_ip_forward] if args.key?(:can_ip_forward)
6415
6527
  @description = args[:description] if args.key?(:description)
6416
6528
  @disks = args[:disks] if args.key?(:disks)
6529
+ @guest_accelerators = args[:guest_accelerators] if args.key?(:guest_accelerators)
6417
6530
  @labels = args[:labels] if args.key?(:labels)
6418
6531
  @machine_type = args[:machine_type] if args.key?(:machine_type)
6419
6532
  @metadata = args[:metadata] if args.key?(:metadata)
@@ -6711,7 +6824,7 @@ module Google
6711
6824
  class InstancesSetMachineResourcesRequest
6712
6825
  include Google::Apis::Core::Hashable
6713
6826
 
6714
- #
6827
+ # List of the type and count of accelerator cards attached to the instance.
6715
6828
  # Corresponds to the JSON property `guestAccelerators`
6716
6829
  # @return [Array<Google::Apis::ComputeBeta::AcceleratorConfig>]
6717
6830
  attr_accessor :guest_accelerators
@@ -8615,6 +8728,45 @@ module Google
8615
8728
  end
8616
8729
  end
8617
8730
 
8731
+ # Represents a reference to a resource.
8732
+ class Reference
8733
+ include Google::Apis::Core::Hashable
8734
+
8735
+ # [Output Only] Type of the resource. Always compute#reference for references.
8736
+ # Corresponds to the JSON property `kind`
8737
+ # @return [String]
8738
+ attr_accessor :kind
8739
+
8740
+ # A description of the reference type with no implied semantics. Possible values
8741
+ # include:
8742
+ # - MEMBER_OF
8743
+ # Corresponds to the JSON property `referenceType`
8744
+ # @return [String]
8745
+ attr_accessor :reference_type
8746
+
8747
+ # URL of the resource which refers to the target.
8748
+ # Corresponds to the JSON property `referrer`
8749
+ # @return [String]
8750
+ attr_accessor :referrer
8751
+
8752
+ # URL of the resource to which this reference points.
8753
+ # Corresponds to the JSON property `target`
8754
+ # @return [String]
8755
+ attr_accessor :target
8756
+
8757
+ def initialize(**args)
8758
+ update!(**args)
8759
+ end
8760
+
8761
+ # Update properties of this object
8762
+ def update!(**args)
8763
+ @kind = args[:kind] if args.key?(:kind)
8764
+ @reference_type = args[:reference_type] if args.key?(:reference_type)
8765
+ @referrer = args[:referrer] if args.key?(:referrer)
8766
+ @target = args[:target] if args.key?(:target)
8767
+ end
8768
+ end
8769
+
8618
8770
  # Region resource.
8619
8771
  class Region
8620
8772
  include Google::Apis::Core::Hashable
@@ -8832,7 +8984,8 @@ module Google
8832
8984
  class RegionInstanceGroupManagersAbandonInstancesRequest
8833
8985
  include Google::Apis::Core::Hashable
8834
8986
 
8835
- # The names of one or more instances to abandon.
8987
+ # The URLs of one or more instances to abandon. This can be a full URL or a
8988
+ # partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
8836
8989
  # Corresponds to the JSON property `instances`
8837
8990
  # @return [Array<String>]
8838
8991
  attr_accessor :instances
@@ -8851,7 +9004,8 @@ module Google
8851
9004
  class RegionInstanceGroupManagersDeleteInstancesRequest
8852
9005
  include Google::Apis::Core::Hashable
8853
9006
 
8854
- # The names of one or more instances to delete.
9007
+ # The URLs of one or more instances to delete. This can be a full URL or a
9008
+ # partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
8855
9009
  # Corresponds to the JSON property `instances`
8856
9010
  # @return [Array<String>]
8857
9011
  attr_accessor :instances
@@ -8875,6 +9029,15 @@ module Google
8875
9029
  # @return [Array<Google::Apis::ComputeBeta::ManagedInstance>]
8876
9030
  attr_accessor :managed_instances
8877
9031
 
9032
+ # [Output Only] This token allows you to get the next page of results for list
9033
+ # requests. If the number of results is larger than maxResults, use the
9034
+ # nextPageToken as a value for the query parameter pageToken in the next list
9035
+ # request. Subsequent list requests will have their own nextPageToken to
9036
+ # continue paging through the results.
9037
+ # Corresponds to the JSON property `nextPageToken`
9038
+ # @return [String]
9039
+ attr_accessor :next_page_token
9040
+
8878
9041
  def initialize(**args)
8879
9042
  update!(**args)
8880
9043
  end
@@ -8882,6 +9045,7 @@ module Google
8882
9045
  # Update properties of this object
8883
9046
  def update!(**args)
8884
9047
  @managed_instances = args[:managed_instances] if args.key?(:managed_instances)
9048
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
8885
9049
  end
8886
9050
  end
8887
9051
 
@@ -8889,7 +9053,8 @@ module Google
8889
9053
  class RegionInstanceGroupManagersRecreateRequest
8890
9054
  include Google::Apis::Core::Hashable
8891
9055
 
8892
- # The URL for one or more instances to recreate.
9056
+ # The URLs of one or more instances to recreate. This can be a full URL or a
9057
+ # partial URL, such as zones/[ZONE]/instances/[INSTANCE_NAME].
8893
9058
  # Corresponds to the JSON property `instances`
8894
9059
  # @return [Array<String>]
8895
9060
  attr_accessor :instances
@@ -10091,6 +10256,8 @@ module Google
10091
10256
  # terminated by Compute Engine (not terminated by a user). You can only set the
10092
10257
  # automatic restart option for standard instances. Preemptible instances cannot
10093
10258
  # be automatically restarted.
10259
+ # By default, this is set to true so an instance is automatically restarted if
10260
+ # it is terminated by Compute Engine.
10094
10261
  # Corresponds to the JSON property `automaticRestart`
10095
10262
  # @return [Boolean]
10096
10263
  attr_accessor :automatic_restart
@@ -10104,7 +10271,9 @@ module Google
10104
10271
  # @return [String]
10105
10272
  attr_accessor :on_host_maintenance
10106
10273
 
10107
- # Whether the instance is preemptible.
10274
+ # Defines whether the instance is preemptible. This can only be set during
10275
+ # instance creation, it cannot be set or changed after the instance has been
10276
+ # created.
10108
10277
  # Corresponds to the JSON property `preemptible`
10109
10278
  # @return [Boolean]
10110
10279
  attr_accessor :preemptible