google-api-client 0.10.2 → 0.10.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/MIGRATING.md +22 -7
- data/README.md +4 -8
- data/api_names.yaml +1210 -37815
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +32 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +144 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +86 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +90 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +764 -764
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +180 -180
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +421 -421
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +1 -0
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +187 -187
- data/generated/google/apis/analyticsreporting_v4/representations.rb +42 -42
- data/generated/google/apis/appengine_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +2251 -0
- data/generated/google/apis/appengine_v1/representations.rb +858 -0
- data/generated/google/apis/appengine_v1/service.rb +894 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +11 -6
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +26 -0
- data/generated/google/apis/books_v1/representations.rb +15 -0
- data/generated/google/apis/books_v1/service.rb +4 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +638 -637
- data/generated/google/apis/cloudbuild_v1/representations.rb +110 -110
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -139
- data/generated/google/apis/clouddebugger_v2.rb +3 -3
- data/generated/google/apis/clouddebugger_v2/classes.rb +131 -131
- data/generated/google/apis/clouddebugger_v2/representations.rb +25 -25
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +36 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +590 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +252 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +350 -0
- data/generated/google/apis/cloudfunctions_v1.rb +35 -0
- data/generated/google/apis/cloudfunctions_v1/classes.rb +98 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +57 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +89 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +277 -270
- data/generated/google/apis/cloudkms_v1/representations.rb +73 -73
- data/generated/google/apis/cloudkms_v1/service.rb +194 -194
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1147 -1144
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +188 -188
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +513 -936
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +307 -916
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +63 -285
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +333 -681
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +16 -16
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +32 -7
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +11 -11
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +95 -2
- data/generated/google/apis/compute_v1/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3333 -3333
- data/generated/google/apis/dataflow_v1b3/representations.rb +759 -759
- data/generated/google/apis/dataflow_v1b3/service.rb +154 -154
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1097 -1097
- data/generated/google/apis/dataproc_v1/representations.rb +200 -200
- data/generated/google/apis/dataproc_v1/service.rb +356 -356
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +701 -690
- data/generated/google/apis/datastore_v1/representations.rb +160 -160
- data/generated/google/apis/datastore_v1/service.rb +52 -52
- data/generated/google/apis/deploymentmanager_v2/classes.rb +4 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +158 -35
- data/generated/google/apis/drive_v2/representations.rb +39 -0
- data/generated/google/apis/drive_v2/service.rb +4 -4
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +162 -33
- data/generated/google/apis/drive_v3/representations.rb +39 -0
- data/generated/google/apis/drive_v3/service.rb +4 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +35 -0
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +466 -0
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +222 -0
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +95 -0
- data/generated/google/apis/firebaserules_v1.rb +41 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +425 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +222 -0
- data/generated/google/apis/firebaserules_v1/service.rb +495 -0
- data/generated/google/apis/games_v1/classes.rb +4 -0
- data/generated/google/apis/genomics_v1.rb +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2336 -2335
- data/generated/google/apis/genomics_v1/representations.rb +387 -387
- data/generated/google/apis/genomics_v1/service.rb +1187 -1187
- data/generated/google/apis/gmail_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +123 -117
- data/generated/google/apis/iam_v1/representations.rb +33 -33
- data/generated/google/apis/iam_v1/service.rb +109 -109
- data/generated/google/apis/identitytoolkit_v3/classes.rb +5 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +6 -6
- data/generated/google/apis/kgsearch_v1/representations.rb +1 -1
- data/generated/google/apis/kgsearch_v1/service.rb +4 -4
- data/generated/google/apis/language_v1.rb +36 -0
- data/generated/google/apis/language_v1/classes.rb +757 -0
- data/generated/google/apis/language_v1/representations.rb +338 -0
- data/generated/google/apis/language_v1/service.rb +185 -0
- data/generated/google/apis/language_v1beta1/classes.rb +407 -407
- data/generated/google/apis/language_v1beta1/representations.rb +103 -103
- data/generated/google/apis/language_v1beta1/service.rb +45 -45
- data/generated/google/apis/logging_v2.rb +46 -0
- data/generated/google/apis/logging_v2/classes.rb +1271 -0
- data/generated/google/apis/logging_v2/representations.rb +421 -0
- data/generated/google/apis/logging_v2/service.rb +1569 -0
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +886 -886
- data/generated/google/apis/logging_v2beta1/representations.rb +132 -132
- data/generated/google/apis/logging_v2beta1/service.rb +235 -235
- data/generated/google/apis/manufacturers_v1/classes.rb +147 -147
- data/generated/google/apis/manufacturers_v1/representations.rb +29 -29
- data/generated/google/apis/ml_v1.rb +34 -0
- data/generated/google/apis/ml_v1/classes.rb +1617 -0
- data/generated/google/apis/ml_v1/representations.rb +498 -0
- data/generated/google/apis/ml_v1/service.rb +769 -0
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +630 -630
- data/generated/google/apis/monitoring_v3/representations.rb +134 -134
- data/generated/google/apis/monitoring_v3/service.rb +240 -240
- data/generated/google/apis/pagespeedonline_v2/classes.rb +1 -0
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +639 -639
- data/generated/google/apis/partners_v2/representations.rb +168 -168
- data/generated/google/apis/partners_v2/service.rb +381 -381
- data/generated/google/apis/people_v1.rb +10 -10
- data/generated/google/apis/people_v1/classes.rb +524 -524
- data/generated/google/apis/people_v1/representations.rb +143 -143
- data/generated/google/apis/people_v1/service.rb +30 -30
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +454 -444
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +90 -90
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +110 -110
- data/generated/google/apis/pubsub_v1/classes.rb +175 -173
- data/generated/google/apis/pubsub_v1/representations.rb +53 -53
- data/generated/google/apis/pubsub_v1/service.rb +210 -210
- data/generated/google/apis/replicapool_v1beta2/classes.rb +2 -0
- data/generated/google/apis/runtimeconfig_v1.rb +38 -0
- data/generated/google/apis/runtimeconfig_v1/classes.rb +252 -0
- data/generated/google/apis/runtimeconfig_v1/representations.rb +98 -0
- data/generated/google/apis/runtimeconfig_v1/service.rb +176 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +6 -6
- data/generated/google/apis/script_v1/representations.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +31 -0
- data/generated/google/apis/searchconsole_v1/classes.rb +205 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +129 -0
- data/generated/google/apis/searchconsole_v1/service.rb +88 -0
- data/generated/google/apis/servicecontrol_v1.rb +38 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +1675 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +601 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +337 -0
- data/generated/google/apis/servicemanagement_v1.rb +45 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +4934 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1526 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +860 -0
- data/generated/google/apis/serviceuser_v1.rb +42 -0
- data/generated/google/apis/serviceuser_v1/classes.rb +3746 -0
- data/generated/google/apis/serviceuser_v1/representations.rb +1041 -0
- data/generated/google/apis/serviceuser_v1/service.rb +214 -0
- data/generated/google/apis/sheets_v4.rb +3 -3
- data/generated/google/apis/sheets_v4/classes.rb +4390 -4390
- data/generated/google/apis/sheets_v4/representations.rb +381 -381
- data/generated/google/apis/sheets_v4/service.rb +48 -48
- data/generated/google/apis/slides_v1.rb +3 -3
- data/generated/google/apis/slides_v1/classes.rb +2860 -2860
- data/generated/google/apis/slides_v1/representations.rb +693 -693
- data/generated/google/apis/slides_v1/service.rb +30 -30
- data/generated/google/apis/sourcerepo_v1.rb +34 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +687 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +285 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +291 -0
- data/generated/google/apis/spanner_v1.rb +35 -0
- data/generated/google/apis/spanner_v1/classes.rb +3294 -0
- data/generated/google/apis/spanner_v1/representations.rb +984 -0
- data/generated/google/apis/spanner_v1/service.rb +1504 -0
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -196
- data/generated/google/apis/speech_v1beta1/representations.rb +53 -53
- data/generated/google/apis/speech_v1beta1/service.rb +27 -27
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +131 -0
- data/generated/google/apis/storage_v1/representations.rb +51 -0
- data/generated/google/apis/storage_v1/service.rb +182 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +732 -661
- data/generated/google/apis/storagetransfer_v1/representations.rb +132 -132
- data/generated/google/apis/storagetransfer_v1/service.rb +174 -197
- data/generated/google/apis/surveys_v2.rb +40 -0
- data/generated/google/apis/surveys_v2/classes.rb +806 -0
- data/generated/google/apis/surveys_v2/representations.rb +347 -0
- data/generated/google/apis/surveys_v2/service.rb +477 -0
- data/generated/google/apis/tagmanager_v2.rb +52 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +2435 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +993 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2865 -0
- data/generated/google/apis/toolresults_v1beta3.rb +34 -0
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2160 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +729 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +1236 -0
- data/generated/google/apis/tracing_v1.rb +40 -0
- data/generated/google/apis/tracing_v1/classes.rb +664 -0
- data/generated/google/apis/tracing_v1/representations.rb +279 -0
- data/generated/google/apis/tracing_v1/service.rb +225 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1223 -1222
- data/generated/google/apis/vision_v1/representations.rb +234 -234
- data/generated/google/apis/vision_v1/service.rb +10 -10
- data/generated/google/apis/webfonts_v1.rb +33 -0
- data/generated/google/apis/webfonts_v1/classes.rb +113 -0
- data/generated/google/apis/webfonts_v1/representations.rb +62 -0
- data/generated/google/apis/webfonts_v1/service.rb +102 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +31 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +6 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +41 -0
- data/generated/google/apis/youtube_v3/classes.rb +1 -0
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +76 -76
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +95 -95
- data/lib/google/apis/generator/annotator.rb +5 -4
- data/lib/google/apis/generator/templates/_class.tmpl +3 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/adsense.rb +99 -0
- data/samples/cli/lib/samples/analytics.rb +18 -0
- data/samples/cli/lib/samples/gmail.rb +33 -0
- data/samples/cli/lib/samples/vision.rb +69 -0
- metadata +89 -4
- data/sync.rb +0 -71
@@ -22,6 +22,25 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudtraceV1
|
24
24
|
|
25
|
+
# List of new or updated traces.
|
26
|
+
class Traces
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# List of traces.
|
30
|
+
# Corresponds to the JSON property `traces`
|
31
|
+
# @return [Array<Google::Apis::CloudtraceV1::Trace>]
|
32
|
+
attr_accessor :traces
|
33
|
+
|
34
|
+
def initialize(**args)
|
35
|
+
update!(**args)
|
36
|
+
end
|
37
|
+
|
38
|
+
# Update properties of this object
|
39
|
+
def update!(**args)
|
40
|
+
@traces = args[:traces] if args.key?(:traces)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
25
44
|
# A span represents a single timed event within a trace. Spans can be nested
|
26
45
|
# and form a trace tree. Often, a trace contains a root span that describes the
|
27
46
|
# end-to-end latency of an operation and, optionally, one or more subspans for
|
@@ -30,22 +49,6 @@ module Google
|
|
30
49
|
class TraceSpan
|
31
50
|
include Google::Apis::Core::Hashable
|
32
51
|
|
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 [String]
|
37
|
-
attr_accessor :span_id
|
38
|
-
|
39
|
-
# ID of the parent span, if any. Optional.
|
40
|
-
# Corresponds to the JSON property `parentSpanId`
|
41
|
-
# @return [String]
|
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
52
|
# Start time of the span in nanoseconds from the UNIX epoch.
|
50
53
|
# Corresponds to the JSON property `startTime`
|
51
54
|
# @return [String]
|
@@ -75,19 +78,35 @@ module Google
|
|
75
78
|
# @return [String]
|
76
79
|
attr_accessor :name
|
77
80
|
|
81
|
+
# Identifier for the span. Must be a 64-bit integer other than 0 and
|
82
|
+
# unique within a trace.
|
83
|
+
# Corresponds to the JSON property `spanId`
|
84
|
+
# @return [String]
|
85
|
+
attr_accessor :span_id
|
86
|
+
|
87
|
+
# ID of the parent span, if any. Optional.
|
88
|
+
# Corresponds to the JSON property `parentSpanId`
|
89
|
+
# @return [String]
|
90
|
+
attr_accessor :parent_span_id
|
91
|
+
|
92
|
+
# End time of the span in nanoseconds from the UNIX epoch.
|
93
|
+
# Corresponds to the JSON property `endTime`
|
94
|
+
# @return [String]
|
95
|
+
attr_accessor :end_time
|
96
|
+
|
78
97
|
def initialize(**args)
|
79
98
|
update!(**args)
|
80
99
|
end
|
81
100
|
|
82
101
|
# Update properties of this object
|
83
102
|
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
103
|
@start_time = args[:start_time] if args.key?(:start_time)
|
88
104
|
@kind = args[:kind] if args.key?(:kind)
|
89
105
|
@labels = args[:labels] if args.key?(:labels)
|
90
106
|
@name = args[:name] if args.key?(:name)
|
107
|
+
@span_id = args[:span_id] if args.key?(:span_id)
|
108
|
+
@parent_span_id = args[:parent_span_id] if args.key?(:parent_span_id)
|
109
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
91
110
|
end
|
92
111
|
end
|
93
112
|
|
@@ -170,25 +189,6 @@ module Google
|
|
170
189
|
@trace_id = args[:trace_id] if args.key?(:trace_id)
|
171
190
|
end
|
172
191
|
end
|
173
|
-
|
174
|
-
# List of new or updated traces.
|
175
|
-
class Traces
|
176
|
-
include Google::Apis::Core::Hashable
|
177
|
-
|
178
|
-
# List of traces.
|
179
|
-
# Corresponds to the JSON property `traces`
|
180
|
-
# @return [Array<Google::Apis::CloudtraceV1::Trace>]
|
181
|
-
attr_accessor :traces
|
182
|
-
|
183
|
-
def initialize(**args)
|
184
|
-
update!(**args)
|
185
|
-
end
|
186
|
-
|
187
|
-
# Update properties of this object
|
188
|
-
def update!(**args)
|
189
|
-
@traces = args[:traces] if args.key?(:traces)
|
190
|
-
end
|
191
|
-
end
|
192
192
|
end
|
193
193
|
end
|
194
194
|
end
|
@@ -22,6 +22,12 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudtraceV1
|
24
24
|
|
25
|
+
class Traces
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
25
31
|
class TraceSpan
|
26
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
33
|
|
@@ -47,21 +53,23 @@ module Google
|
|
47
53
|
end
|
48
54
|
|
49
55
|
class Traces
|
50
|
-
|
56
|
+
# @private
|
57
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
58
|
+
collection :traces, as: 'traces', class: Google::Apis::CloudtraceV1::Trace, decorator: Google::Apis::CloudtraceV1::Trace::Representation
|
51
59
|
|
52
|
-
|
60
|
+
end
|
53
61
|
end
|
54
62
|
|
55
63
|
class TraceSpan
|
56
64
|
# @private
|
57
65
|
class Representation < Google::Apis::Core::JsonRepresentation
|
58
|
-
property :span_id, as: 'spanId'
|
59
|
-
property :parent_span_id, as: 'parentSpanId'
|
60
|
-
property :end_time, as: 'endTime'
|
61
66
|
property :start_time, as: 'startTime'
|
62
67
|
property :kind, as: 'kind'
|
63
68
|
hash :labels, as: 'labels'
|
64
69
|
property :name, as: 'name'
|
70
|
+
property :span_id, as: 'spanId'
|
71
|
+
property :parent_span_id, as: 'parentSpanId'
|
72
|
+
property :end_time, as: 'endTime'
|
65
73
|
end
|
66
74
|
end
|
67
75
|
|
@@ -89,14 +97,6 @@ module Google
|
|
89
97
|
property :trace_id, as: 'traceId'
|
90
98
|
end
|
91
99
|
end
|
92
|
-
|
93
|
-
class Traces
|
94
|
-
# @private
|
95
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
96
|
-
collection :traces, as: 'traces', class: Google::Apis::CloudtraceV1::Trace, decorator: Google::Apis::CloudtraceV1::Trace::Representation
|
97
|
-
|
98
|
-
end
|
99
|
-
end
|
100
100
|
end
|
101
101
|
end
|
102
102
|
end
|
@@ -57,11 +57,11 @@ module Google
|
|
57
57
|
# @param [String] project_id
|
58
58
|
# ID of the Cloud project where the trace data is stored.
|
59
59
|
# @param [Google::Apis::CloudtraceV1::Traces] traces_object
|
60
|
-
# @param [String] fields
|
61
|
-
# Selector specifying which fields to include in a partial response.
|
62
60
|
# @param [String] quota_user
|
63
61
|
# Available to use for quota purposes for server-side applications. Can be any
|
64
62
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [String] fields
|
64
|
+
# Selector specifying which fields to include in a partial response.
|
65
65
|
# @param [Google::Apis::RequestOptions] options
|
66
66
|
# Request-specific options
|
67
67
|
#
|
@@ -74,15 +74,15 @@ module Google
|
|
74
74
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
75
75
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
76
76
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
77
|
-
def patch_project_traces(project_id, traces_object = nil,
|
77
|
+
def patch_project_traces(project_id, traces_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
78
78
|
command = make_simple_command(:patch, 'v1/projects/{projectId}/traces', options)
|
79
79
|
command.request_representation = Google::Apis::CloudtraceV1::Traces::Representation
|
80
80
|
command.request_object = traces_object
|
81
81
|
command.response_representation = Google::Apis::CloudtraceV1::Empty::Representation
|
82
82
|
command.response_class = Google::Apis::CloudtraceV1::Empty
|
83
83
|
command.params['projectId'] = project_id unless project_id.nil?
|
84
|
-
command.query['fields'] = fields unless fields.nil?
|
85
84
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
85
|
+
command.query['fields'] = fields unless fields.nil?
|
86
86
|
execute_or_queue_command(command, &block)
|
87
87
|
end
|
88
88
|
|
@@ -105,12 +105,12 @@ module Google
|
|
105
105
|
# @param [String] end_time
|
106
106
|
# Start of the time interval (inclusive) during which the trace data was
|
107
107
|
# collected from the application.
|
108
|
-
# @param [String] start_time
|
109
|
-
# End of the time interval (inclusive) during which the trace data was
|
110
|
-
# collected from the application.
|
111
108
|
# @param [String] page_token
|
112
109
|
# Token identifying the page of results to return. If provided, use the
|
113
110
|
# value of the `next_page_token` field from a previous request. Optional.
|
111
|
+
# @param [String] start_time
|
112
|
+
# End of the time interval (inclusive) during which the trace data was
|
113
|
+
# collected from the application.
|
114
114
|
# @param [Fixnum] page_size
|
115
115
|
# Maximum number of traces to return. If not specified or <= 0, the
|
116
116
|
# implementation selects a reasonable value. The implementation may
|
@@ -118,11 +118,11 @@ module Google
|
|
118
118
|
# @param [String] view
|
119
119
|
# Type of data returned for traces in the list. Optional. Default is
|
120
120
|
# `MINIMAL`.
|
121
|
-
# @param [String] fields
|
122
|
-
# Selector specifying which fields to include in a partial response.
|
123
121
|
# @param [String] quota_user
|
124
122
|
# Available to use for quota purposes for server-side applications. Can be any
|
125
123
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
124
|
+
# @param [String] fields
|
125
|
+
# Selector specifying which fields to include in a partial response.
|
126
126
|
# @param [Google::Apis::RequestOptions] options
|
127
127
|
# Request-specific options
|
128
128
|
#
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
136
136
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
137
137
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
138
|
-
def list_project_traces(project_id, order_by: nil, filter: nil, end_time: nil,
|
138
|
+
def list_project_traces(project_id, order_by: nil, filter: nil, end_time: nil, page_token: nil, start_time: nil, page_size: nil, view: nil, quota_user: nil, fields: nil, options: nil, &block)
|
139
139
|
command = make_simple_command(:get, 'v1/projects/{projectId}/traces', options)
|
140
140
|
command.response_representation = Google::Apis::CloudtraceV1::ListTracesResponse::Representation
|
141
141
|
command.response_class = Google::Apis::CloudtraceV1::ListTracesResponse
|
@@ -143,12 +143,12 @@ module Google
|
|
143
143
|
command.query['orderBy'] = order_by unless order_by.nil?
|
144
144
|
command.query['filter'] = filter unless filter.nil?
|
145
145
|
command.query['endTime'] = end_time unless end_time.nil?
|
146
|
-
command.query['startTime'] = start_time unless start_time.nil?
|
147
146
|
command.query['pageToken'] = page_token unless page_token.nil?
|
147
|
+
command.query['startTime'] = start_time unless start_time.nil?
|
148
148
|
command.query['pageSize'] = page_size unless page_size.nil?
|
149
149
|
command.query['view'] = view unless view.nil?
|
150
|
-
command.query['fields'] = fields unless fields.nil?
|
151
150
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
151
|
+
command.query['fields'] = fields unless fields.nil?
|
152
152
|
execute_or_queue_command(command, &block)
|
153
153
|
end
|
154
154
|
|
@@ -157,11 +157,11 @@ module Google
|
|
157
157
|
# ID of the Cloud project where the trace data is stored.
|
158
158
|
# @param [String] trace_id
|
159
159
|
# ID of the trace to return.
|
160
|
-
# @param [String] fields
|
161
|
-
# Selector specifying which fields to include in a partial response.
|
162
160
|
# @param [String] quota_user
|
163
161
|
# Available to use for quota purposes for server-side applications. Can be any
|
164
162
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
163
|
+
# @param [String] fields
|
164
|
+
# Selector specifying which fields to include in a partial response.
|
165
165
|
# @param [Google::Apis::RequestOptions] options
|
166
166
|
# Request-specific options
|
167
167
|
#
|
@@ -174,14 +174,14 @@ module Google
|
|
174
174
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
175
175
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
176
176
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
177
|
-
def get_project_trace(project_id, trace_id,
|
177
|
+
def get_project_trace(project_id, trace_id, quota_user: nil, fields: nil, options: nil, &block)
|
178
178
|
command = make_simple_command(:get, 'v1/projects/{projectId}/traces/{traceId}', options)
|
179
179
|
command.response_representation = Google::Apis::CloudtraceV1::Trace::Representation
|
180
180
|
command.response_class = Google::Apis::CloudtraceV1::Trace
|
181
181
|
command.params['projectId'] = project_id unless project_id.nil?
|
182
182
|
command.params['traceId'] = trace_id unless trace_id.nil?
|
183
|
-
command.query['fields'] = fields unless fields.nil?
|
184
183
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
184
|
+
command.query['fields'] = fields unless fields.nil?
|
185
185
|
execute_or_queue_command(command, &block)
|
186
186
|
end
|
187
187
|
|
@@ -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 = '
|
28
|
+
REVISION = '20170313'
|
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'
|
@@ -845,9 +845,9 @@ module Google
|
|
845
845
|
end
|
846
846
|
end
|
847
847
|
|
848
|
-
# Specifies the audit configuration for a service.
|
849
|
-
# permission types are logged, and what identities, if any, are exempted
|
850
|
-
# logging. An AuditConifg must have one or more AuditLogConfigs.
|
848
|
+
# Specifies the audit configuration for a service. The configuration determines
|
849
|
+
# which permission types are logged, and what identities, if any, are exempted
|
850
|
+
# from logging. An AuditConifg must have one or more AuditLogConfigs.
|
851
851
|
# If there are AuditConfigs for both `allServices` and a specific service, the
|
852
852
|
# union of the two AuditConfigs is used for that service: the log_types
|
853
853
|
# specified in each AuditConfig are enabled, and the exempted_members in each
|
@@ -874,8 +874,8 @@ module Google
|
|
874
874
|
attr_accessor :exempted_members
|
875
875
|
|
876
876
|
# Specifies a service that will be enabled for audit logging. For example, `
|
877
|
-
#
|
878
|
-
# covers all services.
|
877
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
878
|
+
# value that covers all services.
|
879
879
|
# Corresponds to the JSON property `service`
|
880
880
|
# @return [String]
|
881
881
|
attr_accessor :service
|
@@ -1649,6 +1649,7 @@ module Google
|
|
1649
1649
|
# inserting a BackendService. An up-to-date fingerprint must be provided in
|
1650
1650
|
# order to update the BackendService.
|
1651
1651
|
# Corresponds to the JSON property `fingerprint`
|
1652
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1652
1653
|
# @return [String]
|
1653
1654
|
attr_accessor :fingerprint
|
1654
1655
|
|
@@ -2684,6 +2685,7 @@ module Google
|
|
2684
2685
|
# hash in order to update or change labels.
|
2685
2686
|
# To see the latest fingerprint, make a get() request to retrieve a disk.
|
2686
2687
|
# Corresponds to the JSON property `labelFingerprint`
|
2688
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2687
2689
|
# @return [String]
|
2688
2690
|
attr_accessor :label_fingerprint
|
2689
2691
|
|
@@ -3970,6 +3972,7 @@ module Google
|
|
3970
3972
|
# provide an up-to-date fingerprint hash when updating or changing labels. Make
|
3971
3973
|
# a get() request to the resource to get the latest fingerprint.
|
3972
3974
|
# Corresponds to the JSON property `labelFingerprint`
|
3975
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
3973
3976
|
# @return [String]
|
3974
3977
|
attr_accessor :label_fingerprint
|
3975
3978
|
|
@@ -4762,6 +4765,7 @@ module Google
|
|
4762
4765
|
# to update or change labels.
|
4763
4766
|
# To see the latest fingerprint, make a get() request to retrieve an image.
|
4764
4767
|
# Corresponds to the JSON property `labelFingerprint`
|
4768
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4765
4769
|
# @return [String]
|
4766
4770
|
attr_accessor :label_fingerprint
|
4767
4771
|
|
@@ -5003,6 +5007,7 @@ module Google
|
|
5003
5007
|
# order to update or change metadata.
|
5004
5008
|
# To see the latest fingerprint, make get() request to the instance.
|
5005
5009
|
# Corresponds to the JSON property `labelFingerprint`
|
5010
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5006
5011
|
# @return [String]
|
5007
5012
|
attr_accessor :label_fingerprint
|
5008
5013
|
|
@@ -5191,6 +5196,7 @@ module Google
|
|
5191
5196
|
# fingerprint to detect conflicts when multiple users change the named ports
|
5192
5197
|
# concurrently.
|
5193
5198
|
# Corresponds to the JSON property `fingerprint`
|
5199
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5194
5200
|
# @return [String]
|
5195
5201
|
attr_accessor :fingerprint
|
5196
5202
|
|
@@ -5418,6 +5424,7 @@ module Google
|
|
5418
5424
|
# [Output Only] The fingerprint of the resource data. You can use this optional
|
5419
5425
|
# field for optimistic locking when you update the resource.
|
5420
5426
|
# Corresponds to the JSON property `fingerprint`
|
5427
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5421
5428
|
# @return [String]
|
5422
5429
|
attr_accessor :fingerprint
|
5423
5430
|
|
@@ -5995,6 +6002,7 @@ module Google
|
|
5995
6002
|
# Then, include the fingerprint in your request to ensure that you do not
|
5996
6003
|
# overwrite changes that were applied from another concurrent request.
|
5997
6004
|
# Corresponds to the JSON property `fingerprint`
|
6005
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5998
6006
|
# @return [String]
|
5999
6007
|
attr_accessor :fingerprint
|
6000
6008
|
|
@@ -6230,6 +6238,7 @@ module Google
|
|
6230
6238
|
# ensure that you do not overwrite changes that were applied from another
|
6231
6239
|
# concurrent request.
|
6232
6240
|
# Corresponds to the JSON property `fingerprint`
|
6241
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6233
6242
|
# @return [String]
|
6234
6243
|
attr_accessor :fingerprint
|
6235
6244
|
|
@@ -6678,6 +6687,7 @@ module Google
|
|
6678
6687
|
# conflicts. Provide the latest fingerprint value when making a request to add
|
6679
6688
|
# or change labels.
|
6680
6689
|
# Corresponds to the JSON property `labelFingerprint`
|
6690
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
6681
6691
|
# @return [String]
|
6682
6692
|
attr_accessor :label_fingerprint
|
6683
6693
|
|
@@ -7334,6 +7344,7 @@ module Google
|
|
7334
7344
|
# modify or update metadata. You must always provide an up-to-date fingerprint
|
7335
7345
|
# hash in order to update or change metadata.
|
7336
7346
|
# Corresponds to the JSON property `fingerprint`
|
7347
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
7337
7348
|
# @return [String]
|
7338
7349
|
attr_accessor :fingerprint
|
7339
7350
|
|
@@ -8346,6 +8357,7 @@ module Google
|
|
8346
8357
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
8347
8358
|
# policy is overwritten blindly.
|
8348
8359
|
# Corresponds to the JSON property `etag`
|
8360
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
8349
8361
|
# @return [String]
|
8350
8362
|
attr_accessor :etag
|
8351
8363
|
|
@@ -8919,6 +8931,7 @@ module Google
|
|
8919
8931
|
# This field is used for optimistic locking when you update the target pool
|
8920
8932
|
# entries. This field is optional.
|
8921
8933
|
# Corresponds to the JSON property `fingerprint`
|
8934
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
8922
8935
|
# @return [String]
|
8923
8936
|
attr_accessor :fingerprint
|
8924
8937
|
|
@@ -9046,6 +9059,7 @@ module Google
|
|
9046
9059
|
# ensure that you do not overwrite changes that were applied from another
|
9047
9060
|
# concurrent request.
|
9048
9061
|
# Corresponds to the JSON property `fingerprint`
|
9062
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
9049
9063
|
# @return [String]
|
9050
9064
|
attr_accessor :fingerprint
|
9051
9065
|
|
@@ -9639,8 +9653,9 @@ module Google
|
|
9639
9653
|
# @return [String]
|
9640
9654
|
attr_accessor :ip_range
|
9641
9655
|
|
9642
|
-
# URI of linked VPN tunnel. It must be in the same region as the router.
|
9643
|
-
# interface can have at most one linked resource
|
9656
|
+
# URI of the linked VPN tunnel. It must be in the same region as the router.
|
9657
|
+
# Each interface can have at most one linked resource and it could either be a
|
9658
|
+
# VPN Tunnel or an interconnect attachment.
|
9644
9659
|
# Corresponds to the JSON property `linkedVpnTunnel`
|
9645
9660
|
# @return [String]
|
9646
9661
|
attr_accessor :linked_vpn_tunnel
|
@@ -9720,6 +9735,11 @@ module Google
|
|
9720
9735
|
# @return [Array<Google::Apis::ComputeBeta::Route>]
|
9721
9736
|
attr_accessor :best_routes
|
9722
9737
|
|
9738
|
+
# Best routes learned by this router.
|
9739
|
+
# Corresponds to the JSON property `bestRoutesForRouter`
|
9740
|
+
# @return [Array<Google::Apis::ComputeBeta::Route>]
|
9741
|
+
attr_accessor :best_routes_for_router
|
9742
|
+
|
9723
9743
|
#
|
9724
9744
|
# Corresponds to the JSON property `bgpPeerStatus`
|
9725
9745
|
# @return [Array<Google::Apis::ComputeBeta::RouterStatusBgpPeerStatus>]
|
@@ -9737,6 +9757,7 @@ module Google
|
|
9737
9757
|
# Update properties of this object
|
9738
9758
|
def update!(**args)
|
9739
9759
|
@best_routes = args[:best_routes] if args.key?(:best_routes)
|
9760
|
+
@best_routes_for_router = args[:best_routes_for_router] if args.key?(:best_routes_for_router)
|
9740
9761
|
@bgp_peer_status = args[:bgp_peer_status] if args.key?(:bgp_peer_status)
|
9741
9762
|
@network = args[:network] if args.key?(:network)
|
9742
9763
|
end
|
@@ -10213,6 +10234,7 @@ module Google
|
|
10213
10234
|
# fingerprint hash in order to update or change labels.
|
10214
10235
|
# To see the latest fingerprint, make a get() request to retrieve a snapshot.
|
10215
10236
|
# Corresponds to the JSON property `labelFingerprint`
|
10237
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
10216
10238
|
# @return [String]
|
10217
10239
|
attr_accessor :label_fingerprint
|
10218
10240
|
|
@@ -10907,6 +10929,7 @@ module Google
|
|
10907
10929
|
# hash in order to update or change metadata.
|
10908
10930
|
# To see the latest fingerprint, make get() request to the instance.
|
10909
10931
|
# Corresponds to the JSON property `fingerprint`
|
10932
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
10910
10933
|
# @return [String]
|
10911
10934
|
attr_accessor :fingerprint
|
10912
10935
|
|
@@ -12661,6 +12684,7 @@ module Google
|
|
12661
12684
|
# inserting a UrlMap. An up-to-date fingerprint must be provided in order to
|
12662
12685
|
# update the UrlMap.
|
12663
12686
|
# Corresponds to the JSON property `fingerprint`
|
12687
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
12664
12688
|
# @return [String]
|
12665
12689
|
attr_accessor :fingerprint
|
12666
12690
|
|
@@ -13460,6 +13484,7 @@ module Google
|
|
13460
13484
|
# provide an up-to-date fingerprint hash in order to update or change labels.
|
13461
13485
|
# Make a get() request to the resource to get the latest fingerprint.
|
13462
13486
|
# Corresponds to the JSON property `labelFingerprint`
|
13487
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
13463
13488
|
# @return [String]
|
13464
13489
|
attr_accessor :label_fingerprint
|
13465
13490
|
|