google-api-client 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -48,61 +48,11 @@ module Google
|
|
|
48
48
|
super('https://monitoring.googleapis.com/', '')
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
-
# Stackdriver Monitoring Agent only: Creates a new time series.<aside class="
|
|
52
|
-
# caution">This method is only for use by the Stackdriver Monitoring Agent. Use
|
|
53
|
-
# projects.timeSeries.create instead.</aside>
|
|
54
|
-
# @param [String] name
|
|
55
|
-
# The project in which to create the time series. The format is "projects/
|
|
56
|
-
# PROJECT_ID_OR_NUMBER".
|
|
57
|
-
# @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object
|
|
58
|
-
# @param [String] fields
|
|
59
|
-
# Selector specifying which fields to include in a partial response.
|
|
60
|
-
# @param [String] quota_user
|
|
61
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
62
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
63
|
-
# @param [Google::Apis::RequestOptions] options
|
|
64
|
-
# Request-specific options
|
|
65
|
-
#
|
|
66
|
-
# @yield [result, err] Result & error if block supplied
|
|
67
|
-
# @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
|
|
68
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
69
|
-
#
|
|
70
|
-
# @return [Google::Apis::MonitoringV3::Empty]
|
|
71
|
-
#
|
|
72
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
73
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
74
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
75
|
-
def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
76
|
-
command = make_simple_command(:post, 'v3/{+name}/collectdTimeSeries', options)
|
|
77
|
-
command.request_representation = Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest::Representation
|
|
78
|
-
command.request_object = create_collectd_time_series_request_object
|
|
79
|
-
command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
|
|
80
|
-
command.response_class = Google::Apis::MonitoringV3::Empty
|
|
81
|
-
command.params['name'] = name unless name.nil?
|
|
82
|
-
command.query['fields'] = fields unless fields.nil?
|
|
83
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
84
|
-
execute_or_queue_command(command, &block)
|
|
85
|
-
end
|
|
86
|
-
|
|
87
51
|
# Lists time series that match a filter. This method does not require a
|
|
88
52
|
# Stackdriver account.
|
|
89
53
|
# @param [String] name
|
|
90
54
|
# The project on which to execute the request. The format is "projects/`
|
|
91
55
|
# project_id_or_number`".
|
|
92
|
-
# @param [Array<String>, String] aggregation_group_by_fields
|
|
93
|
-
# The set of fields to preserve when crossSeriesReducer is specified. The
|
|
94
|
-
# groupByFields determine how the time series are partitioned into subsets prior
|
|
95
|
-
# to applying the aggregation function. Each subset contains time series that
|
|
96
|
-
# have the same value for each of the grouping fields. Each individual time
|
|
97
|
-
# series is a member of exactly one subset. The crossSeriesReducer is applied to
|
|
98
|
-
# each subset of time series. It is not possible to reduce across different
|
|
99
|
-
# resource types, so this field implicitly contains resource.type. Fields not
|
|
100
|
-
# specified in groupByFields are aggregated away. If groupByFields is not
|
|
101
|
-
# specified and all the time series have the same resource type, then the time
|
|
102
|
-
# series are aggregated into a single output time series. If crossSeriesReducer
|
|
103
|
-
# is not defined, this field is ignored.
|
|
104
|
-
# @param [String] interval_end_time
|
|
105
|
-
# Required. The end of the time interval.
|
|
106
56
|
# @param [String] aggregation_alignment_period
|
|
107
57
|
# The alignment period for per-time series alignment. If present,
|
|
108
58
|
# alignmentPeriod must be at least 60 seconds. After per-time series alignment,
|
|
@@ -148,11 +98,25 @@ module Google
|
|
|
148
98
|
# time is the end time. The start time must not be later than the end time.
|
|
149
99
|
# @param [String] view
|
|
150
100
|
# Specifies which information is returned about the time series.
|
|
151
|
-
# @param [String]
|
|
152
|
-
#
|
|
101
|
+
# @param [Array<String>, String] aggregation_group_by_fields
|
|
102
|
+
# The set of fields to preserve when crossSeriesReducer is specified. The
|
|
103
|
+
# groupByFields determine how the time series are partitioned into subsets prior
|
|
104
|
+
# to applying the aggregation function. Each subset contains time series that
|
|
105
|
+
# have the same value for each of the grouping fields. Each individual time
|
|
106
|
+
# series is a member of exactly one subset. The crossSeriesReducer is applied to
|
|
107
|
+
# each subset of time series. It is not possible to reduce across different
|
|
108
|
+
# resource types, so this field implicitly contains resource.type. Fields not
|
|
109
|
+
# specified in groupByFields are aggregated away. If groupByFields is not
|
|
110
|
+
# specified and all the time series have the same resource type, then the time
|
|
111
|
+
# series are aggregated into a single output time series. If crossSeriesReducer
|
|
112
|
+
# is not defined, this field is ignored.
|
|
113
|
+
# @param [String] interval_end_time
|
|
114
|
+
# Required. The end of the time interval.
|
|
153
115
|
# @param [String] quota_user
|
|
154
116
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
155
117
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
118
|
+
# @param [String] fields
|
|
119
|
+
# Selector specifying which fields to include in a partial response.
|
|
156
120
|
# @param [Google::Apis::RequestOptions] options
|
|
157
121
|
# Request-specific options
|
|
158
122
|
#
|
|
@@ -165,13 +129,11 @@ module Google
|
|
|
165
129
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
166
130
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
167
131
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
168
|
-
def list_project_time_series(name,
|
|
132
|
+
def list_project_time_series(name, aggregation_alignment_period: nil, page_size: nil, order_by: nil, aggregation_cross_series_reducer: nil, filter: nil, page_token: nil, aggregation_per_series_aligner: nil, interval_start_time: nil, view: nil, aggregation_group_by_fields: nil, interval_end_time: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
169
133
|
command = make_simple_command(:get, 'v3/{+name}/timeSeries', options)
|
|
170
134
|
command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation
|
|
171
135
|
command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse
|
|
172
136
|
command.params['name'] = name unless name.nil?
|
|
173
|
-
command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil?
|
|
174
|
-
command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
|
|
175
137
|
command.query['aggregation.alignmentPeriod'] = aggregation_alignment_period unless aggregation_alignment_period.nil?
|
|
176
138
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
177
139
|
command.query['orderBy'] = order_by unless order_by.nil?
|
|
@@ -181,8 +143,10 @@ module Google
|
|
|
181
143
|
command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil?
|
|
182
144
|
command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
|
|
183
145
|
command.query['view'] = view unless view.nil?
|
|
184
|
-
command.query['
|
|
146
|
+
command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil?
|
|
147
|
+
command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
|
|
185
148
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
149
|
+
command.query['fields'] = fields unless fields.nil?
|
|
186
150
|
execute_or_queue_command(command, &block)
|
|
187
151
|
end
|
|
188
152
|
|
|
@@ -193,11 +157,11 @@ module Google
|
|
|
193
157
|
# The project on which to execute the request. The format is "projects/`
|
|
194
158
|
# project_id_or_number`".
|
|
195
159
|
# @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
|
|
196
|
-
# @param [String] fields
|
|
197
|
-
# Selector specifying which fields to include in a partial response.
|
|
198
160
|
# @param [String] quota_user
|
|
199
161
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
200
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.
|
|
201
165
|
# @param [Google::Apis::RequestOptions] options
|
|
202
166
|
# Request-specific options
|
|
203
167
|
#
|
|
@@ -210,161 +174,161 @@ module Google
|
|
|
210
174
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
211
175
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
212
176
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
213
|
-
def create_time_series(name, create_time_series_request_object = nil,
|
|
177
|
+
def create_time_series(name, create_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
214
178
|
command = make_simple_command(:post, 'v3/{+name}/timeSeries', options)
|
|
215
179
|
command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation
|
|
216
180
|
command.request_object = create_time_series_request_object
|
|
217
181
|
command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
|
|
218
182
|
command.response_class = Google::Apis::MonitoringV3::Empty
|
|
219
183
|
command.params['name'] = name unless name.nil?
|
|
220
|
-
command.query['fields'] = fields unless fields.nil?
|
|
221
184
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
185
|
+
command.query['fields'] = fields unless fields.nil?
|
|
222
186
|
execute_or_queue_command(command, &block)
|
|
223
187
|
end
|
|
224
188
|
|
|
225
|
-
#
|
|
226
|
-
#
|
|
189
|
+
# Lists metric descriptors that match a filter. This method does not require a
|
|
190
|
+
# Stackdriver account.
|
|
227
191
|
# @param [String] name
|
|
228
192
|
# The project on which to execute the request. The format is "projects/`
|
|
229
193
|
# project_id_or_number`".
|
|
230
|
-
# @param [
|
|
231
|
-
#
|
|
232
|
-
#
|
|
194
|
+
# @param [String] filter
|
|
195
|
+
# If this field is empty, all custom and system-defined metric descriptors are
|
|
196
|
+
# returned. Otherwise, the filter specifies which metric descriptors are to be
|
|
197
|
+
# returned. For example, the following filter matches all custom metrics:
|
|
198
|
+
# metric.type = starts_with("custom.googleapis.com/")
|
|
199
|
+
# @param [String] page_token
|
|
200
|
+
# If this field is not empty then it must contain the nextPageToken value
|
|
201
|
+
# returned by a previous call to this method. Using this field causes the method
|
|
202
|
+
# to return additional results from the previous method call.
|
|
203
|
+
# @param [Fixnum] page_size
|
|
204
|
+
# A positive number that is the maximum number of results to return.
|
|
233
205
|
# @param [String] quota_user
|
|
234
206
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
235
207
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
208
|
+
# @param [String] fields
|
|
209
|
+
# Selector specifying which fields to include in a partial response.
|
|
236
210
|
# @param [Google::Apis::RequestOptions] options
|
|
237
211
|
# Request-specific options
|
|
238
212
|
#
|
|
239
213
|
# @yield [result, err] Result & error if block supplied
|
|
240
|
-
# @yieldparam result [Google::Apis::MonitoringV3::
|
|
214
|
+
# @yieldparam result [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] parsed result object
|
|
241
215
|
# @yieldparam err [StandardError] error object if request failed
|
|
242
216
|
#
|
|
243
|
-
# @return [Google::Apis::MonitoringV3::
|
|
217
|
+
# @return [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse]
|
|
244
218
|
#
|
|
245
219
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
246
220
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
247
221
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
248
|
-
def
|
|
249
|
-
command = make_simple_command(:
|
|
250
|
-
command.
|
|
251
|
-
command.
|
|
252
|
-
command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
|
|
253
|
-
command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
|
|
222
|
+
def list_project_metric_descriptors(name, filter: nil, page_token: nil, page_size: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
223
|
+
command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options)
|
|
224
|
+
command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation
|
|
225
|
+
command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse
|
|
254
226
|
command.params['name'] = name unless name.nil?
|
|
255
|
-
command.query['
|
|
227
|
+
command.query['filter'] = filter unless filter.nil?
|
|
228
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
229
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
256
230
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
231
|
+
command.query['fields'] = fields unless fields.nil?
|
|
257
232
|
execute_or_queue_command(command, &block)
|
|
258
233
|
end
|
|
259
234
|
|
|
260
|
-
#
|
|
235
|
+
# Gets a single metric descriptor. This method does not require a Stackdriver
|
|
236
|
+
# account.
|
|
261
237
|
# @param [String] name
|
|
262
238
|
# The metric descriptor on which to execute the request. The format is "projects/
|
|
263
|
-
# `project_id_or_number`/metricDescriptors/`metric_id`". An example of `
|
|
264
|
-
# metric_id` is
|
|
265
|
-
# @param [String] fields
|
|
266
|
-
# Selector specifying which fields to include in a partial response.
|
|
239
|
+
# `project_id_or_number`/metricDescriptors/`metric_id`". An example value of `
|
|
240
|
+
# metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count".
|
|
267
241
|
# @param [String] quota_user
|
|
268
242
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
269
243
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
244
|
+
# @param [String] fields
|
|
245
|
+
# Selector specifying which fields to include in a partial response.
|
|
270
246
|
# @param [Google::Apis::RequestOptions] options
|
|
271
247
|
# Request-specific options
|
|
272
248
|
#
|
|
273
249
|
# @yield [result, err] Result & error if block supplied
|
|
274
|
-
# @yieldparam result [Google::Apis::MonitoringV3::
|
|
250
|
+
# @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object
|
|
275
251
|
# @yieldparam err [StandardError] error object if request failed
|
|
276
252
|
#
|
|
277
|
-
# @return [Google::Apis::MonitoringV3::
|
|
253
|
+
# @return [Google::Apis::MonitoringV3::MetricDescriptor]
|
|
278
254
|
#
|
|
279
255
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
280
256
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
281
257
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
282
|
-
def
|
|
283
|
-
command = make_simple_command(:
|
|
284
|
-
command.response_representation = Google::Apis::MonitoringV3::
|
|
285
|
-
command.response_class = Google::Apis::MonitoringV3::
|
|
258
|
+
def get_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
259
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
260
|
+
command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
|
|
261
|
+
command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
|
|
286
262
|
command.params['name'] = name unless name.nil?
|
|
287
|
-
command.query['fields'] = fields unless fields.nil?
|
|
288
263
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
264
|
+
command.query['fields'] = fields unless fields.nil?
|
|
289
265
|
execute_or_queue_command(command, &block)
|
|
290
266
|
end
|
|
291
267
|
|
|
292
|
-
#
|
|
293
|
-
#
|
|
268
|
+
# Creates a new metric descriptor. User-created metric descriptors define custom
|
|
269
|
+
# metrics.
|
|
294
270
|
# @param [String] name
|
|
295
271
|
# The project on which to execute the request. The format is "projects/`
|
|
296
272
|
# project_id_or_number`".
|
|
297
|
-
# @param [
|
|
298
|
-
# If this field is empty, all custom and system-defined metric descriptors are
|
|
299
|
-
# returned. Otherwise, the filter specifies which metric descriptors are to be
|
|
300
|
-
# returned. For example, the following filter matches all custom metrics:
|
|
301
|
-
# metric.type = starts_with("custom.googleapis.com/")
|
|
302
|
-
# @param [String] page_token
|
|
303
|
-
# If this field is not empty then it must contain the nextPageToken value
|
|
304
|
-
# returned by a previous call to this method. Using this field causes the method
|
|
305
|
-
# to return additional results from the previous method call.
|
|
306
|
-
# @param [Fixnum] page_size
|
|
307
|
-
# A positive number that is the maximum number of results to return.
|
|
308
|
-
# @param [String] fields
|
|
309
|
-
# Selector specifying which fields to include in a partial response.
|
|
273
|
+
# @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_object
|
|
310
274
|
# @param [String] quota_user
|
|
311
275
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
312
276
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
277
|
+
# @param [String] fields
|
|
278
|
+
# Selector specifying which fields to include in a partial response.
|
|
313
279
|
# @param [Google::Apis::RequestOptions] options
|
|
314
280
|
# Request-specific options
|
|
315
281
|
#
|
|
316
282
|
# @yield [result, err] Result & error if block supplied
|
|
317
|
-
# @yieldparam result [Google::Apis::MonitoringV3::
|
|
283
|
+
# @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object
|
|
318
284
|
# @yieldparam err [StandardError] error object if request failed
|
|
319
285
|
#
|
|
320
|
-
# @return [Google::Apis::MonitoringV3::
|
|
286
|
+
# @return [Google::Apis::MonitoringV3::MetricDescriptor]
|
|
321
287
|
#
|
|
322
288
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
323
289
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
324
290
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
325
|
-
def
|
|
326
|
-
command = make_simple_command(:
|
|
327
|
-
command.
|
|
328
|
-
command.
|
|
291
|
+
def create_project_metric_descriptor(name, metric_descriptor_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
292
|
+
command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options)
|
|
293
|
+
command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
|
|
294
|
+
command.request_object = metric_descriptor_object
|
|
295
|
+
command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
|
|
296
|
+
command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
|
|
329
297
|
command.params['name'] = name unless name.nil?
|
|
330
|
-
command.query['filter'] = filter unless filter.nil?
|
|
331
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
332
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
333
|
-
command.query['fields'] = fields unless fields.nil?
|
|
334
298
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
299
|
+
command.query['fields'] = fields unless fields.nil?
|
|
335
300
|
execute_or_queue_command(command, &block)
|
|
336
301
|
end
|
|
337
302
|
|
|
338
|
-
#
|
|
339
|
-
# account.
|
|
303
|
+
# Deletes a metric descriptor. Only user-created custom metrics can be deleted.
|
|
340
304
|
# @param [String] name
|
|
341
305
|
# The metric descriptor on which to execute the request. The format is "projects/
|
|
342
|
-
# `project_id_or_number`/metricDescriptors/`metric_id`". An example
|
|
343
|
-
# metric_id` is "
|
|
344
|
-
# @param [String] fields
|
|
345
|
-
# Selector specifying which fields to include in a partial response.
|
|
306
|
+
# `project_id_or_number`/metricDescriptors/`metric_id`". An example of `
|
|
307
|
+
# metric_id` is: "custom.googleapis.com/my_test_metric".
|
|
346
308
|
# @param [String] quota_user
|
|
347
309
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
348
310
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
311
|
+
# @param [String] fields
|
|
312
|
+
# Selector specifying which fields to include in a partial response.
|
|
349
313
|
# @param [Google::Apis::RequestOptions] options
|
|
350
314
|
# Request-specific options
|
|
351
315
|
#
|
|
352
316
|
# @yield [result, err] Result & error if block supplied
|
|
353
|
-
# @yieldparam result [Google::Apis::MonitoringV3::
|
|
317
|
+
# @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
|
|
354
318
|
# @yieldparam err [StandardError] error object if request failed
|
|
355
319
|
#
|
|
356
|
-
# @return [Google::Apis::MonitoringV3::
|
|
320
|
+
# @return [Google::Apis::MonitoringV3::Empty]
|
|
357
321
|
#
|
|
358
322
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
359
323
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
360
324
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
361
|
-
def
|
|
362
|
-
command = make_simple_command(:
|
|
363
|
-
command.response_representation = Google::Apis::MonitoringV3::
|
|
364
|
-
command.response_class = Google::Apis::MonitoringV3::
|
|
325
|
+
def delete_project_metric_descriptor(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
326
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
|
327
|
+
command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
|
|
328
|
+
command.response_class = Google::Apis::MonitoringV3::Empty
|
|
365
329
|
command.params['name'] = name unless name.nil?
|
|
366
|
-
command.query['fields'] = fields unless fields.nil?
|
|
367
330
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
331
|
+
command.query['fields'] = fields unless fields.nil?
|
|
368
332
|
execute_or_queue_command(command, &block)
|
|
369
333
|
end
|
|
370
334
|
|
|
@@ -373,10 +337,6 @@ module Google
|
|
|
373
337
|
# @param [String] name
|
|
374
338
|
# The project on which to execute the request. The format is "projects/`
|
|
375
339
|
# project_id_or_number`".
|
|
376
|
-
# @param [String] page_token
|
|
377
|
-
# If this field is not empty then it must contain the nextPageToken value
|
|
378
|
-
# returned by a previous call to this method. Using this field causes the method
|
|
379
|
-
# to return additional results from the previous method call.
|
|
380
340
|
# @param [Fixnum] page_size
|
|
381
341
|
# A positive number that is the maximum number of results to return.
|
|
382
342
|
# @param [String] filter
|
|
@@ -384,11 +344,15 @@ module Google
|
|
|
384
344
|
# reference the descriptor's type and labels. For example, the following filter
|
|
385
345
|
# returns only Google Compute Engine descriptors that have an id label:
|
|
386
346
|
# resource.type = starts_with("gce_") AND resource.label:id
|
|
387
|
-
# @param [String]
|
|
388
|
-
#
|
|
347
|
+
# @param [String] page_token
|
|
348
|
+
# If this field is not empty then it must contain the nextPageToken value
|
|
349
|
+
# returned by a previous call to this method. Using this field causes the method
|
|
350
|
+
# to return additional results from the previous method call.
|
|
389
351
|
# @param [String] quota_user
|
|
390
352
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
391
353
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
354
|
+
# @param [String] fields
|
|
355
|
+
# Selector specifying which fields to include in a partial response.
|
|
392
356
|
# @param [Google::Apis::RequestOptions] options
|
|
393
357
|
# Request-specific options
|
|
394
358
|
#
|
|
@@ -401,16 +365,16 @@ module Google
|
|
|
401
365
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
402
366
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
403
367
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
404
|
-
def list_project_monitored_resource_descriptors(name,
|
|
368
|
+
def list_project_monitored_resource_descriptors(name, page_size: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
405
369
|
command = make_simple_command(:get, 'v3/{+name}/monitoredResourceDescriptors', options)
|
|
406
370
|
command.response_representation = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse::Representation
|
|
407
371
|
command.response_class = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse
|
|
408
372
|
command.params['name'] = name unless name.nil?
|
|
409
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
410
373
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
411
374
|
command.query['filter'] = filter unless filter.nil?
|
|
412
|
-
command.query['
|
|
375
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
413
376
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
377
|
+
command.query['fields'] = fields unless fields.nil?
|
|
414
378
|
execute_or_queue_command(command, &block)
|
|
415
379
|
end
|
|
416
380
|
|
|
@@ -420,11 +384,11 @@ module Google
|
|
|
420
384
|
# The monitored resource descriptor to get. The format is "projects/`
|
|
421
385
|
# project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The `
|
|
422
386
|
# resource_type` is a predefined type, such as cloudsql_database.
|
|
423
|
-
# @param [String] fields
|
|
424
|
-
# Selector specifying which fields to include in a partial response.
|
|
425
387
|
# @param [String] quota_user
|
|
426
388
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
427
389
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
390
|
+
# @param [String] fields
|
|
391
|
+
# Selector specifying which fields to include in a partial response.
|
|
428
392
|
# @param [Google::Apis::RequestOptions] options
|
|
429
393
|
# Request-specific options
|
|
430
394
|
#
|
|
@@ -437,188 +401,185 @@ module Google
|
|
|
437
401
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
438
402
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
439
403
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
440
|
-
def get_project_monitored_resource_descriptor(name,
|
|
404
|
+
def get_project_monitored_resource_descriptor(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
441
405
|
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
442
406
|
command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation
|
|
443
407
|
command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor
|
|
444
408
|
command.params['name'] = name unless name.nil?
|
|
445
|
-
command.query['fields'] = fields unless fields.nil?
|
|
446
409
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
410
|
+
command.query['fields'] = fields unless fields.nil?
|
|
447
411
|
execute_or_queue_command(command, &block)
|
|
448
412
|
end
|
|
449
413
|
|
|
450
|
-
#
|
|
414
|
+
# Deletes an existing group.
|
|
451
415
|
# @param [String] name
|
|
452
|
-
#
|
|
453
|
-
#
|
|
454
|
-
# ignored and a new name is created consisting of the project specified in the
|
|
455
|
-
# call to CreateGroup and a unique `group_id` that is generated automatically.
|
|
456
|
-
# @param [Google::Apis::MonitoringV3::Group] group_object
|
|
457
|
-
# @param [Boolean] validate_only
|
|
458
|
-
# If true, validate this request but do not update the existing group.
|
|
459
|
-
# @param [String] fields
|
|
460
|
-
# Selector specifying which fields to include in a partial response.
|
|
416
|
+
# The group to delete. The format is "projects/`project_id_or_number`/groups/`
|
|
417
|
+
# group_id`".
|
|
461
418
|
# @param [String] quota_user
|
|
462
419
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
463
420
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
421
|
+
# @param [String] fields
|
|
422
|
+
# Selector specifying which fields to include in a partial response.
|
|
464
423
|
# @param [Google::Apis::RequestOptions] options
|
|
465
424
|
# Request-specific options
|
|
466
425
|
#
|
|
467
426
|
# @yield [result, err] Result & error if block supplied
|
|
468
|
-
# @yieldparam result [Google::Apis::MonitoringV3::
|
|
427
|
+
# @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
|
|
469
428
|
# @yieldparam err [StandardError] error object if request failed
|
|
470
429
|
#
|
|
471
|
-
# @return [Google::Apis::MonitoringV3::
|
|
430
|
+
# @return [Google::Apis::MonitoringV3::Empty]
|
|
472
431
|
#
|
|
473
432
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
474
433
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
475
434
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
476
|
-
def
|
|
477
|
-
command = make_simple_command(:
|
|
478
|
-
command.
|
|
479
|
-
command.
|
|
480
|
-
command.response_representation = Google::Apis::MonitoringV3::Group::Representation
|
|
481
|
-
command.response_class = Google::Apis::MonitoringV3::Group
|
|
435
|
+
def delete_project_group(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
436
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
|
437
|
+
command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
|
|
438
|
+
command.response_class = Google::Apis::MonitoringV3::Empty
|
|
482
439
|
command.params['name'] = name unless name.nil?
|
|
483
|
-
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
484
|
-
command.query['fields'] = fields unless fields.nil?
|
|
485
440
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
441
|
+
command.query['fields'] = fields unless fields.nil?
|
|
486
442
|
execute_or_queue_command(command, &block)
|
|
487
443
|
end
|
|
488
444
|
|
|
489
|
-
#
|
|
445
|
+
# Lists the existing groups.
|
|
490
446
|
# @param [String] name
|
|
491
|
-
# The project
|
|
447
|
+
# The project whose groups are to be listed. The format is "projects/`
|
|
492
448
|
# project_id_or_number`".
|
|
493
|
-
# @param [
|
|
494
|
-
#
|
|
495
|
-
#
|
|
496
|
-
#
|
|
497
|
-
#
|
|
449
|
+
# @param [Fixnum] page_size
|
|
450
|
+
# A positive number that is the maximum number of results to return.
|
|
451
|
+
# @param [String] ancestors_of_group
|
|
452
|
+
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
|
|
453
|
+
# groups that are ancestors of the specified group. The groups are returned in
|
|
454
|
+
# order, starting with the immediate parent and ending with the most distant
|
|
455
|
+
# ancestor. If the specified group has no immediate parent, the results are
|
|
456
|
+
# empty.
|
|
457
|
+
# @param [String] children_of_group
|
|
458
|
+
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
|
|
459
|
+
# groups whose parentName field contains the group name. If no groups have this
|
|
460
|
+
# parent, the results are empty.
|
|
461
|
+
# @param [String] descendants_of_group
|
|
462
|
+
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the
|
|
463
|
+
# descendants of the specified group. This is a superset of the results returned
|
|
464
|
+
# by the childrenOfGroup filter, and includes children-of-children, and so forth.
|
|
465
|
+
# @param [String] page_token
|
|
466
|
+
# If this field is not empty then it must contain the nextPageToken value
|
|
467
|
+
# returned by a previous call to this method. Using this field causes the method
|
|
468
|
+
# to return additional results from the previous method call.
|
|
498
469
|
# @param [String] quota_user
|
|
499
470
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
500
471
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
472
|
+
# @param [String] fields
|
|
473
|
+
# Selector specifying which fields to include in a partial response.
|
|
501
474
|
# @param [Google::Apis::RequestOptions] options
|
|
502
475
|
# Request-specific options
|
|
503
476
|
#
|
|
504
477
|
# @yield [result, err] Result & error if block supplied
|
|
505
|
-
# @yieldparam result [Google::Apis::MonitoringV3::
|
|
478
|
+
# @yieldparam result [Google::Apis::MonitoringV3::ListGroupsResponse] parsed result object
|
|
506
479
|
# @yieldparam err [StandardError] error object if request failed
|
|
507
480
|
#
|
|
508
|
-
# @return [Google::Apis::MonitoringV3::
|
|
481
|
+
# @return [Google::Apis::MonitoringV3::ListGroupsResponse]
|
|
509
482
|
#
|
|
510
483
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
511
484
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
512
485
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
513
|
-
def
|
|
514
|
-
command = make_simple_command(:
|
|
515
|
-
command.
|
|
516
|
-
command.
|
|
517
|
-
command.response_representation = Google::Apis::MonitoringV3::Group::Representation
|
|
518
|
-
command.response_class = Google::Apis::MonitoringV3::Group
|
|
486
|
+
def list_project_groups(name, page_size: nil, ancestors_of_group: nil, children_of_group: nil, descendants_of_group: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
487
|
+
command = make_simple_command(:get, 'v3/{+name}/groups', options)
|
|
488
|
+
command.response_representation = Google::Apis::MonitoringV3::ListGroupsResponse::Representation
|
|
489
|
+
command.response_class = Google::Apis::MonitoringV3::ListGroupsResponse
|
|
519
490
|
command.params['name'] = name unless name.nil?
|
|
520
|
-
command.query['
|
|
521
|
-
command.query['
|
|
491
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
492
|
+
command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil?
|
|
493
|
+
command.query['childrenOfGroup'] = children_of_group unless children_of_group.nil?
|
|
494
|
+
command.query['descendantsOfGroup'] = descendants_of_group unless descendants_of_group.nil?
|
|
495
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
522
496
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
497
|
+
command.query['fields'] = fields unless fields.nil?
|
|
523
498
|
execute_or_queue_command(command, &block)
|
|
524
499
|
end
|
|
525
500
|
|
|
526
|
-
#
|
|
501
|
+
# Gets a single group.
|
|
527
502
|
# @param [String] name
|
|
528
|
-
# The group to
|
|
503
|
+
# The group to retrieve. The format is "projects/`project_id_or_number`/groups/`
|
|
529
504
|
# group_id`".
|
|
530
|
-
# @param [String] fields
|
|
531
|
-
# Selector specifying which fields to include in a partial response.
|
|
532
505
|
# @param [String] quota_user
|
|
533
506
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
534
507
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
508
|
+
# @param [String] fields
|
|
509
|
+
# Selector specifying which fields to include in a partial response.
|
|
535
510
|
# @param [Google::Apis::RequestOptions] options
|
|
536
511
|
# Request-specific options
|
|
537
512
|
#
|
|
538
513
|
# @yield [result, err] Result & error if block supplied
|
|
539
|
-
# @yieldparam result [Google::Apis::MonitoringV3::
|
|
514
|
+
# @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object
|
|
540
515
|
# @yieldparam err [StandardError] error object if request failed
|
|
541
516
|
#
|
|
542
|
-
# @return [Google::Apis::MonitoringV3::
|
|
517
|
+
# @return [Google::Apis::MonitoringV3::Group]
|
|
543
518
|
#
|
|
544
519
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
545
520
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
546
521
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
547
|
-
def
|
|
548
|
-
command = make_simple_command(:
|
|
549
|
-
command.response_representation = Google::Apis::MonitoringV3::
|
|
550
|
-
command.response_class = Google::Apis::MonitoringV3::
|
|
522
|
+
def get_project_group(name, quota_user: nil, fields: nil, options: nil, &block)
|
|
523
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
|
524
|
+
command.response_representation = Google::Apis::MonitoringV3::Group::Representation
|
|
525
|
+
command.response_class = Google::Apis::MonitoringV3::Group
|
|
551
526
|
command.params['name'] = name unless name.nil?
|
|
552
|
-
command.query['fields'] = fields unless fields.nil?
|
|
553
527
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
528
|
+
command.query['fields'] = fields unless fields.nil?
|
|
554
529
|
execute_or_queue_command(command, &block)
|
|
555
530
|
end
|
|
556
531
|
|
|
557
|
-
#
|
|
532
|
+
# Updates an existing group. You can change any group attributes except name.
|
|
558
533
|
# @param [String] name
|
|
559
|
-
#
|
|
560
|
-
# project_id_or_number`".
|
|
561
|
-
#
|
|
562
|
-
#
|
|
563
|
-
#
|
|
564
|
-
#
|
|
565
|
-
#
|
|
566
|
-
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns the
|
|
567
|
-
# descendants of the specified group. This is a superset of the results returned
|
|
568
|
-
# by the childrenOfGroup filter, and includes children-of-children, and so forth.
|
|
569
|
-
# @param [String] page_token
|
|
570
|
-
# If this field is not empty then it must contain the nextPageToken value
|
|
571
|
-
# returned by a previous call to this method. Using this field causes the method
|
|
572
|
-
# to return additional results from the previous method call.
|
|
573
|
-
# @param [Fixnum] page_size
|
|
574
|
-
# A positive number that is the maximum number of results to return.
|
|
575
|
-
# @param [String] ancestors_of_group
|
|
576
|
-
# A group name: "projects/`project_id_or_number`/groups/`group_id`". Returns
|
|
577
|
-
# groups that are ancestors of the specified group. The groups are returned in
|
|
578
|
-
# order, starting with the immediate parent and ending with the most distant
|
|
579
|
-
# ancestor. If the specified group has no immediate parent, the results are
|
|
580
|
-
# empty.
|
|
581
|
-
# @param [String] fields
|
|
582
|
-
# Selector specifying which fields to include in a partial response.
|
|
534
|
+
# Output only. The name of this group. The format is "projects/`
|
|
535
|
+
# project_id_or_number`/groups/`group_id`". When creating a group, this field is
|
|
536
|
+
# ignored and a new name is created consisting of the project specified in the
|
|
537
|
+
# call to CreateGroup and a unique `group_id` that is generated automatically.
|
|
538
|
+
# @param [Google::Apis::MonitoringV3::Group] group_object
|
|
539
|
+
# @param [Boolean] validate_only
|
|
540
|
+
# If true, validate this request but do not update the existing group.
|
|
583
541
|
# @param [String] quota_user
|
|
584
542
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
585
543
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
544
|
+
# @param [String] fields
|
|
545
|
+
# Selector specifying which fields to include in a partial response.
|
|
586
546
|
# @param [Google::Apis::RequestOptions] options
|
|
587
547
|
# Request-specific options
|
|
588
548
|
#
|
|
589
549
|
# @yield [result, err] Result & error if block supplied
|
|
590
|
-
# @yieldparam result [Google::Apis::MonitoringV3::
|
|
550
|
+
# @yieldparam result [Google::Apis::MonitoringV3::Group] parsed result object
|
|
591
551
|
# @yieldparam err [StandardError] error object if request failed
|
|
592
552
|
#
|
|
593
|
-
# @return [Google::Apis::MonitoringV3::
|
|
553
|
+
# @return [Google::Apis::MonitoringV3::Group]
|
|
594
554
|
#
|
|
595
555
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
596
556
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
597
557
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
598
|
-
def
|
|
599
|
-
command = make_simple_command(:
|
|
600
|
-
command.
|
|
601
|
-
command.
|
|
558
|
+
def update_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
559
|
+
command = make_simple_command(:put, 'v3/{+name}', options)
|
|
560
|
+
command.request_representation = Google::Apis::MonitoringV3::Group::Representation
|
|
561
|
+
command.request_object = group_object
|
|
562
|
+
command.response_representation = Google::Apis::MonitoringV3::Group::Representation
|
|
563
|
+
command.response_class = Google::Apis::MonitoringV3::Group
|
|
602
564
|
command.params['name'] = name unless name.nil?
|
|
603
|
-
command.query['
|
|
604
|
-
command.query['descendantsOfGroup'] = descendants_of_group unless descendants_of_group.nil?
|
|
605
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
606
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
607
|
-
command.query['ancestorsOfGroup'] = ancestors_of_group unless ancestors_of_group.nil?
|
|
608
|
-
command.query['fields'] = fields unless fields.nil?
|
|
565
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
609
566
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
567
|
+
command.query['fields'] = fields unless fields.nil?
|
|
610
568
|
execute_or_queue_command(command, &block)
|
|
611
569
|
end
|
|
612
570
|
|
|
613
|
-
#
|
|
571
|
+
# Creates a new group.
|
|
614
572
|
# @param [String] name
|
|
615
|
-
# The
|
|
616
|
-
#
|
|
617
|
-
# @param [
|
|
618
|
-
#
|
|
573
|
+
# The project in which to create the group. The format is "projects/`
|
|
574
|
+
# project_id_or_number`".
|
|
575
|
+
# @param [Google::Apis::MonitoringV3::Group] group_object
|
|
576
|
+
# @param [Boolean] validate_only
|
|
577
|
+
# If true, validate this request but do not create the group.
|
|
619
578
|
# @param [String] quota_user
|
|
620
579
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
621
580
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
581
|
+
# @param [String] fields
|
|
582
|
+
# Selector specifying which fields to include in a partial response.
|
|
622
583
|
# @param [Google::Apis::RequestOptions] options
|
|
623
584
|
# Request-specific options
|
|
624
585
|
#
|
|
@@ -631,13 +592,16 @@ module Google
|
|
|
631
592
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
632
593
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
633
594
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
634
|
-
def
|
|
635
|
-
command = make_simple_command(:
|
|
595
|
+
def create_project_group(name, group_object = nil, validate_only: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
596
|
+
command = make_simple_command(:post, 'v3/{+name}/groups', options)
|
|
597
|
+
command.request_representation = Google::Apis::MonitoringV3::Group::Representation
|
|
598
|
+
command.request_object = group_object
|
|
636
599
|
command.response_representation = Google::Apis::MonitoringV3::Group::Representation
|
|
637
600
|
command.response_class = Google::Apis::MonitoringV3::Group
|
|
638
601
|
command.params['name'] = name unless name.nil?
|
|
639
|
-
command.query['
|
|
602
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
|
640
603
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
604
|
+
command.query['fields'] = fields unless fields.nil?
|
|
641
605
|
execute_or_queue_command(command, &block)
|
|
642
606
|
end
|
|
643
607
|
|
|
@@ -645,6 +609,11 @@ module Google
|
|
|
645
609
|
# @param [String] name
|
|
646
610
|
# The group whose members are listed. The format is "projects/`
|
|
647
611
|
# project_id_or_number`/groups/`group_id`".
|
|
612
|
+
# @param [Fixnum] page_size
|
|
613
|
+
# A positive number that is the maximum number of results to return.
|
|
614
|
+
# @param [String] interval_start_time
|
|
615
|
+
# Optional. The beginning of the time interval. The default value for the start
|
|
616
|
+
# time is the end time. The start time must not be later than the end time.
|
|
648
617
|
# @param [String] interval_end_time
|
|
649
618
|
# Required. The end of the time interval.
|
|
650
619
|
# @param [String] filter
|
|
@@ -657,16 +626,11 @@ module Google
|
|
|
657
626
|
# If this field is not empty then it must contain the nextPageToken value
|
|
658
627
|
# returned by a previous call to this method. Using this field causes the method
|
|
659
628
|
# to return additional results from the previous method call.
|
|
660
|
-
# @param [Fixnum] page_size
|
|
661
|
-
# A positive number that is the maximum number of results to return.
|
|
662
|
-
# @param [String] interval_start_time
|
|
663
|
-
# Optional. The beginning of the time interval. The default value for the start
|
|
664
|
-
# time is the end time. The start time must not be later than the end time.
|
|
665
|
-
# @param [String] fields
|
|
666
|
-
# Selector specifying which fields to include in a partial response.
|
|
667
629
|
# @param [String] quota_user
|
|
668
630
|
# Available to use for quota purposes for server-side applications. Can be any
|
|
669
631
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
632
|
+
# @param [String] fields
|
|
633
|
+
# Selector specifying which fields to include in a partial response.
|
|
670
634
|
# @param [Google::Apis::RequestOptions] options
|
|
671
635
|
# Request-specific options
|
|
672
636
|
#
|
|
@@ -679,18 +643,54 @@ module Google
|
|
|
679
643
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
680
644
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
681
645
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
682
|
-
def list_project_group_members(name,
|
|
646
|
+
def list_project_group_members(name, page_size: nil, interval_start_time: nil, interval_end_time: nil, filter: nil, page_token: nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
683
647
|
command = make_simple_command(:get, 'v3/{+name}/members', options)
|
|
684
648
|
command.response_representation = Google::Apis::MonitoringV3::ListGroupMembersResponse::Representation
|
|
685
649
|
command.response_class = Google::Apis::MonitoringV3::ListGroupMembersResponse
|
|
686
650
|
command.params['name'] = name unless name.nil?
|
|
651
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
652
|
+
command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
|
|
687
653
|
command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
|
|
688
654
|
command.query['filter'] = filter unless filter.nil?
|
|
689
655
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
690
|
-
command.query['
|
|
691
|
-
command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
|
|
656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
692
657
|
command.query['fields'] = fields unless fields.nil?
|
|
658
|
+
execute_or_queue_command(command, &block)
|
|
659
|
+
end
|
|
660
|
+
|
|
661
|
+
# Stackdriver Monitoring Agent only: Creates a new time series.<aside class="
|
|
662
|
+
# caution">This method is only for use by the Stackdriver Monitoring Agent. Use
|
|
663
|
+
# projects.timeSeries.create instead.</aside>
|
|
664
|
+
# @param [String] name
|
|
665
|
+
# The project in which to create the time series. The format is "projects/
|
|
666
|
+
# PROJECT_ID_OR_NUMBER".
|
|
667
|
+
# @param [Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest] create_collectd_time_series_request_object
|
|
668
|
+
# @param [String] quota_user
|
|
669
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
670
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
671
|
+
# @param [String] fields
|
|
672
|
+
# Selector specifying which fields to include in a partial response.
|
|
673
|
+
# @param [Google::Apis::RequestOptions] options
|
|
674
|
+
# Request-specific options
|
|
675
|
+
#
|
|
676
|
+
# @yield [result, err] Result & error if block supplied
|
|
677
|
+
# @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
|
|
678
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
679
|
+
#
|
|
680
|
+
# @return [Google::Apis::MonitoringV3::Empty]
|
|
681
|
+
#
|
|
682
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
683
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
684
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
685
|
+
def create_collectd_time_series(name, create_collectd_time_series_request_object = nil, quota_user: nil, fields: nil, options: nil, &block)
|
|
686
|
+
command = make_simple_command(:post, 'v3/{+name}/collectdTimeSeries', options)
|
|
687
|
+
command.request_representation = Google::Apis::MonitoringV3::CreateCollectdTimeSeriesRequest::Representation
|
|
688
|
+
command.request_object = create_collectd_time_series_request_object
|
|
689
|
+
command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
|
|
690
|
+
command.response_class = Google::Apis::MonitoringV3::Empty
|
|
691
|
+
command.params['name'] = name unless name.nil?
|
|
693
692
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
693
|
+
command.query['fields'] = fields unless fields.nil?
|
|
694
694
|
execute_or_queue_command(command, &block)
|
|
695
695
|
end
|
|
696
696
|
|