google-api-client 0.24.3 → 0.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -2
- data/CHANGELOG.md +99 -0
- data/Gemfile +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +0 -1
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/{content_v2sandbox.rb → accesscontextmanager_v1beta.rb} +11 -12
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +697 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +240 -0
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +666 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +16 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +4 -3
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +9 -2
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +3 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +68 -6
- data/generated/google/apis/androidenterprise_v1/representations.rb +20 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +92 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +36 -0
- data/generated/google/apis/androidpublisher_v1.rb +2 -2
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
- data/generated/google/apis/androidpublisher_v2.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/androidpublisher_v3.rb +2 -2
- data/generated/google/apis/androidpublisher_v3/service.rb +3 -2
- data/generated/google/apis/appengine_v1.rb +2 -3
- data/generated/google/apis/appengine_v1/service.rb +1 -2
- data/generated/google/apis/appengine_v1alpha.rb +2 -3
- data/generated/google/apis/appengine_v1alpha/service.rb +1 -2
- data/generated/google/apis/appengine_v1beta.rb +2 -3
- data/generated/google/apis/appengine_v1beta/service.rb +1 -2
- data/generated/google/apis/appengine_v1beta4.rb +2 -3
- data/generated/google/apis/appengine_v1beta4/service.rb +1 -2
- data/generated/google/apis/appengine_v1beta5.rb +2 -3
- data/generated/google/apis/appengine_v1beta5/service.rb +1 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +98 -7
- data/generated/google/apis/bigquery_v2/representations.rb +35 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -0
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +5 -5
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +10 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +418 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +121 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +107 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +16 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +59 -0
- data/generated/google/apis/cloudsearch_v1/classes.rb +4697 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +2151 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +1351 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +34 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +34 -30
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +5 -8
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +197 -69
- data/generated/google/apis/content_v2/representations.rb +64 -33
- data/generated/google/apis/content_v2/service.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +19 -19
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +19 -19
- data/generated/google/apis/dialogflow_v2.rb +6 -3
- data/generated/google/apis/dialogflow_v2/classes.rb +112 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +30 -0
- data/generated/google/apis/dialogflow_v2/service.rb +7 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +6 -3
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +116 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +30 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +19 -8
- data/generated/google/apis/digitalassetlinks_v1.rb +2 -3
- data/generated/google/apis/digitalassetlinks_v1/service.rb +1 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -5
- data/generated/google/apis/dlp_v2/representations.rb +2 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +81 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +34 -0
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +3 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +637 -0
- data/generated/google/apis/firestore_v1/representations.rb +260 -0
- data/generated/google/apis/firestore_v1/service.rb +377 -0
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +205 -0
- data/generated/google/apis/firestore_v1beta2/representations.rb +83 -0
- data/generated/google/apis/firestore_v1beta2/service.rb +79 -0
- data/generated/google/apis/genomics_v1.rb +2 -2
- data/generated/google/apis/genomics_v1/service.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +2 -2
- data/generated/google/apis/genomics_v2alpha1/service.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +2 -3
- data/generated/google/apis/indexing_v3/service.rb +1 -2
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +2 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +3 -3
- data/generated/google/apis/jobs_v3/service.rb +20 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
- data/generated/google/apis/jobs_v3p1beta1/service.rb +20 -2
- data/generated/google/apis/language_v1.rb +4 -4
- data/generated/google/apis/language_v1/service.rb +3 -3
- data/generated/google/apis/language_v1beta1.rb +4 -4
- data/generated/google/apis/language_v1beta1/service.rb +3 -3
- data/generated/google/apis/language_v1beta2.rb +4 -4
- data/generated/google/apis/language_v1beta2/service.rb +3 -3
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +2 -13
- data/generated/google/apis/logging_v2/representations.rb +0 -2
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +2 -41
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -16
- data/generated/google/apis/logging_v2beta1/service.rb +0 -255
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +25 -15
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +366 -1
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +7 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/service.rb +10 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +7 -1
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +6 -0
- data/generated/google/apis/redis_v1/representations.rb +1 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +6 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -6
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +7 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +2 -3
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +7 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -2
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v1/classes.rb +18 -230
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -99
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -140
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +24 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +3 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +7 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +7 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/slides_v1.rb +2 -2
- data/generated/google/apis/slides_v1/classes.rb +4 -3
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +6 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +7 -0
- data/generated/google/apis/vault_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1.rb +3 -2
- data/generated/google/apis/videointelligence_v1/classes.rb +547 -12
- data/generated/google/apis/videointelligence_v1/representations.rb +190 -2
- data/generated/google/apis/videointelligence_v1/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +547 -12
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +190 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +418 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +153 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1139 -54
- data/generated/google/apis/vision_v1/representations.rb +478 -0
- data/generated/google/apis/vision_v1/service.rb +744 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +761 -16
- data/generated/google/apis/vision_v1p1beta1/representations.rb +333 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +758 -13
- data/generated/google/apis/vision_v1p2beta1/representations.rb +333 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/core/http_command.rb +83 -10
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -14
- data/generated/google/apis/content_v2sandbox/classes.rb +0 -4436
- data/generated/google/apis/content_v2sandbox/representations.rb +0 -1956
- data/generated/google/apis/content_v2sandbox/service.rb +0 -1296
- data/generated/google/apis/dfareporting_v2_8.rb +0 -40
- data/generated/google/apis/dfareporting_v2_8/classes.rb +0 -12043
- data/generated/google/apis/dfareporting_v2_8/representations.rb +0 -4311
- data/generated/google/apis/dfareporting_v2_8/service.rb +0 -8727
- data/generated/google/apis/serviceuser_v1.rb +0 -42
- data/generated/google/apis/serviceuser_v1/classes.rb +0 -3472
- data/generated/google/apis/serviceuser_v1/representations.rb +0 -1030
- data/generated/google/apis/serviceuser_v1/service.rb +0 -215
@@ -49,6 +49,231 @@ module Google
|
|
49
49
|
@batch_path = 'batch'
|
50
50
|
end
|
51
51
|
|
52
|
+
# Creates a new metric descriptor. User-created metric descriptors define custom
|
53
|
+
# metrics.
|
54
|
+
# @param [String] name
|
55
|
+
# The project on which to execute the request. The format is "projects/`
|
56
|
+
# project_id_or_number`".
|
57
|
+
# @param [Google::Apis::MonitoringV3::MetricDescriptor] metric_descriptor_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::MetricDescriptor] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::MonitoringV3::MetricDescriptor]
|
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_metric_descriptor(name, metric_descriptor_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:post, 'v3/{+name}/metricDescriptors', options)
|
77
|
+
command.request_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
|
78
|
+
command.request_object = metric_descriptor_object
|
79
|
+
command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
|
80
|
+
command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
|
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
|
+
# Deletes a metric descriptor. Only user-created custom metrics can be deleted.
|
88
|
+
# @param [String] name
|
89
|
+
# The metric descriptor on which to execute the request. The format is "projects/
|
90
|
+
# `project_id_or_number`/metricDescriptors/`metric_id`". An example of `
|
91
|
+
# metric_id` is: "custom.googleapis.com/my_test_metric".
|
92
|
+
# @param [String] fields
|
93
|
+
# Selector specifying which fields to include in a partial response.
|
94
|
+
# @param [String] quota_user
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
97
|
+
# @param [Google::Apis::RequestOptions] options
|
98
|
+
# Request-specific options
|
99
|
+
#
|
100
|
+
# @yield [result, err] Result & error if block supplied
|
101
|
+
# @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
|
102
|
+
# @yieldparam err [StandardError] error object if request failed
|
103
|
+
#
|
104
|
+
# @return [Google::Apis::MonitoringV3::Empty]
|
105
|
+
#
|
106
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
+
def delete_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
command = make_simple_command(:delete, 'v3/{+name}', options)
|
111
|
+
command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
|
112
|
+
command.response_class = Google::Apis::MonitoringV3::Empty
|
113
|
+
command.params['name'] = name unless name.nil?
|
114
|
+
command.query['fields'] = fields unless fields.nil?
|
115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
116
|
+
execute_or_queue_command(command, &block)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Gets a single metric descriptor. This method does not require a Stackdriver
|
120
|
+
# account.
|
121
|
+
# @param [String] name
|
122
|
+
# The metric descriptor on which to execute the request. The format is "projects/
|
123
|
+
# `project_id_or_number`/metricDescriptors/`metric_id`". An example value of `
|
124
|
+
# metric_id` is "compute.googleapis.com/instance/disk/read_bytes_count".
|
125
|
+
# @param [String] fields
|
126
|
+
# Selector specifying which fields to include in a partial response.
|
127
|
+
# @param [String] quota_user
|
128
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
129
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
130
|
+
# @param [Google::Apis::RequestOptions] options
|
131
|
+
# Request-specific options
|
132
|
+
#
|
133
|
+
# @yield [result, err] Result & error if block supplied
|
134
|
+
# @yieldparam result [Google::Apis::MonitoringV3::MetricDescriptor] parsed result object
|
135
|
+
# @yieldparam err [StandardError] error object if request failed
|
136
|
+
#
|
137
|
+
# @return [Google::Apis::MonitoringV3::MetricDescriptor]
|
138
|
+
#
|
139
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
140
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
141
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
142
|
+
def get_metric_descriptor(name, fields: nil, quota_user: nil, options: nil, &block)
|
143
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
144
|
+
command.response_representation = Google::Apis::MonitoringV3::MetricDescriptor::Representation
|
145
|
+
command.response_class = Google::Apis::MonitoringV3::MetricDescriptor
|
146
|
+
command.params['name'] = name unless name.nil?
|
147
|
+
command.query['fields'] = fields unless fields.nil?
|
148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
149
|
+
execute_or_queue_command(command, &block)
|
150
|
+
end
|
151
|
+
|
152
|
+
# Lists metric descriptors that match a filter. This method does not require a
|
153
|
+
# Stackdriver account.
|
154
|
+
# @param [String] name
|
155
|
+
# The project on which to execute the request. The format is "projects/`
|
156
|
+
# project_id_or_number`".
|
157
|
+
# @param [String] filter
|
158
|
+
# If this field is empty, all custom and system-defined metric descriptors are
|
159
|
+
# returned. Otherwise, the filter specifies which metric descriptors are to be
|
160
|
+
# returned. For example, the following filter matches all custom metrics:
|
161
|
+
# metric.type = starts_with("custom.googleapis.com/")
|
162
|
+
# @param [Fixnum] page_size
|
163
|
+
# A positive number that is the maximum number of results to return.
|
164
|
+
# @param [String] page_token
|
165
|
+
# If this field is not empty then it must contain the nextPageToken value
|
166
|
+
# returned by a previous call to this method. Using this field causes the method
|
167
|
+
# to return additional results from the previous method call.
|
168
|
+
# @param [String] fields
|
169
|
+
# Selector specifying which fields to include in a partial response.
|
170
|
+
# @param [String] quota_user
|
171
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
172
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
173
|
+
# @param [Google::Apis::RequestOptions] options
|
174
|
+
# Request-specific options
|
175
|
+
#
|
176
|
+
# @yield [result, err] Result & error if block supplied
|
177
|
+
# @yieldparam result [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse] parsed result object
|
178
|
+
# @yieldparam err [StandardError] error object if request failed
|
179
|
+
#
|
180
|
+
# @return [Google::Apis::MonitoringV3::ListMetricDescriptorsResponse]
|
181
|
+
#
|
182
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
183
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
|
+
def list_metric_descriptors(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
186
|
+
command = make_simple_command(:get, 'v3/{+name}/metricDescriptors', options)
|
187
|
+
command.response_representation = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse::Representation
|
188
|
+
command.response_class = Google::Apis::MonitoringV3::ListMetricDescriptorsResponse
|
189
|
+
command.params['name'] = name unless name.nil?
|
190
|
+
command.query['filter'] = filter unless filter.nil?
|
191
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
192
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
193
|
+
command.query['fields'] = fields unless fields.nil?
|
194
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
195
|
+
execute_or_queue_command(command, &block)
|
196
|
+
end
|
197
|
+
|
198
|
+
# Gets a single monitored resource descriptor. This method does not require a
|
199
|
+
# Stackdriver account.
|
200
|
+
# @param [String] name
|
201
|
+
# The monitored resource descriptor to get. The format is "projects/`
|
202
|
+
# project_id_or_number`/monitoredResourceDescriptors/`resource_type`". The `
|
203
|
+
# resource_type` is a predefined type, such as cloudsql_database.
|
204
|
+
# @param [String] fields
|
205
|
+
# Selector specifying which fields to include in a partial response.
|
206
|
+
# @param [String] quota_user
|
207
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
208
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
209
|
+
# @param [Google::Apis::RequestOptions] options
|
210
|
+
# Request-specific options
|
211
|
+
#
|
212
|
+
# @yield [result, err] Result & error if block supplied
|
213
|
+
# @yieldparam result [Google::Apis::MonitoringV3::MonitoredResourceDescriptor] parsed result object
|
214
|
+
# @yieldparam err [StandardError] error object if request failed
|
215
|
+
#
|
216
|
+
# @return [Google::Apis::MonitoringV3::MonitoredResourceDescriptor]
|
217
|
+
#
|
218
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
219
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
220
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
221
|
+
def get_monitored_resource_descriptor(name, fields: nil, quota_user: nil, options: nil, &block)
|
222
|
+
command = make_simple_command(:get, 'v3/{+name}', options)
|
223
|
+
command.response_representation = Google::Apis::MonitoringV3::MonitoredResourceDescriptor::Representation
|
224
|
+
command.response_class = Google::Apis::MonitoringV3::MonitoredResourceDescriptor
|
225
|
+
command.params['name'] = name unless name.nil?
|
226
|
+
command.query['fields'] = fields unless fields.nil?
|
227
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
228
|
+
execute_or_queue_command(command, &block)
|
229
|
+
end
|
230
|
+
|
231
|
+
# Lists monitored resource descriptors that match a filter. This method does not
|
232
|
+
# require a Stackdriver account.
|
233
|
+
# @param [String] name
|
234
|
+
# The project on which to execute the request. The format is "projects/`
|
235
|
+
# project_id_or_number`".
|
236
|
+
# @param [String] filter
|
237
|
+
# An optional filter describing the descriptors to be returned. The filter can
|
238
|
+
# reference the descriptor's type and labels. For example, the following filter
|
239
|
+
# returns only Google Compute Engine descriptors that have an id label:
|
240
|
+
# resource.type = starts_with("gce_") AND resource.label:id
|
241
|
+
# @param [Fixnum] page_size
|
242
|
+
# A positive number that is the maximum number of results to return.
|
243
|
+
# @param [String] page_token
|
244
|
+
# If this field is not empty then it must contain the nextPageToken value
|
245
|
+
# returned by a previous call to this method. Using this field causes the method
|
246
|
+
# to return additional results from the previous method call.
|
247
|
+
# @param [String] fields
|
248
|
+
# Selector specifying which fields to include in a partial response.
|
249
|
+
# @param [String] quota_user
|
250
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
251
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
252
|
+
# @param [Google::Apis::RequestOptions] options
|
253
|
+
# Request-specific options
|
254
|
+
#
|
255
|
+
# @yield [result, err] Result & error if block supplied
|
256
|
+
# @yieldparam result [Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse] parsed result object
|
257
|
+
# @yieldparam err [StandardError] error object if request failed
|
258
|
+
#
|
259
|
+
# @return [Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse]
|
260
|
+
#
|
261
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
262
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
263
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
264
|
+
def list_monitored_resource_descriptors(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
265
|
+
command = make_simple_command(:get, 'v3/{+name}/monitoredResourceDescriptors', options)
|
266
|
+
command.response_representation = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse::Representation
|
267
|
+
command.response_class = Google::Apis::MonitoringV3::ListMonitoredResourceDescriptorsResponse
|
268
|
+
command.params['name'] = name unless name.nil?
|
269
|
+
command.query['filter'] = filter unless filter.nil?
|
270
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
271
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
272
|
+
command.query['fields'] = fields unless fields.nil?
|
273
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
274
|
+
execute_or_queue_command(command, &block)
|
275
|
+
end
|
276
|
+
|
52
277
|
# Creates a new alerting policy.
|
53
278
|
# @param [String] name
|
54
279
|
# The project in which to create the alerting policy. The format is projects/[
|
@@ -1193,7 +1418,7 @@ module Google
|
|
1193
1418
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1194
1419
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1195
1420
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1196
|
-
def
|
1421
|
+
def create_project_time_series(name, create_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1197
1422
|
command = make_simple_command(:post, 'v3/{+name}/timeSeries', options)
|
1198
1423
|
command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation
|
1199
1424
|
command.request_object = create_time_series_request_object
|
@@ -1495,6 +1720,146 @@ module Google
|
|
1495
1720
|
execute_or_queue_command(command, &block)
|
1496
1721
|
end
|
1497
1722
|
|
1723
|
+
# Creates or adds data to one or more time series. The response is empty if all
|
1724
|
+
# time series in the request were written. If any time series could not be
|
1725
|
+
# written, a corresponding failure message is included in the error response.
|
1726
|
+
# @param [String] name
|
1727
|
+
# The project on which to execute the request. The format is "projects/`
|
1728
|
+
# project_id_or_number`".
|
1729
|
+
# @param [Google::Apis::MonitoringV3::CreateTimeSeriesRequest] create_time_series_request_object
|
1730
|
+
# @param [String] fields
|
1731
|
+
# Selector specifying which fields to include in a partial response.
|
1732
|
+
# @param [String] quota_user
|
1733
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1734
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1735
|
+
# @param [Google::Apis::RequestOptions] options
|
1736
|
+
# Request-specific options
|
1737
|
+
#
|
1738
|
+
# @yield [result, err] Result & error if block supplied
|
1739
|
+
# @yieldparam result [Google::Apis::MonitoringV3::Empty] parsed result object
|
1740
|
+
# @yieldparam err [StandardError] error object if request failed
|
1741
|
+
#
|
1742
|
+
# @return [Google::Apis::MonitoringV3::Empty]
|
1743
|
+
#
|
1744
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1745
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1746
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1747
|
+
def create_time_series(name, create_time_series_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1748
|
+
command = make_simple_command(:post, 'v3/{+name}/timeSeries', options)
|
1749
|
+
command.request_representation = Google::Apis::MonitoringV3::CreateTimeSeriesRequest::Representation
|
1750
|
+
command.request_object = create_time_series_request_object
|
1751
|
+
command.response_representation = Google::Apis::MonitoringV3::Empty::Representation
|
1752
|
+
command.response_class = Google::Apis::MonitoringV3::Empty
|
1753
|
+
command.params['name'] = name unless name.nil?
|
1754
|
+
command.query['fields'] = fields unless fields.nil?
|
1755
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1756
|
+
execute_or_queue_command(command, &block)
|
1757
|
+
end
|
1758
|
+
|
1759
|
+
# Lists time series that match a filter. This method does not require a
|
1760
|
+
# Stackdriver account.
|
1761
|
+
# @param [String] name
|
1762
|
+
# The project on which to execute the request. The format is "projects/`
|
1763
|
+
# project_id_or_number`".
|
1764
|
+
# @param [String] aggregation_alignment_period
|
1765
|
+
# The alignment period for per-time series alignment. If present,
|
1766
|
+
# alignmentPeriod must be at least 60 seconds. After per-time series alignment,
|
1767
|
+
# each time series will contain data points only on the period boundaries. If
|
1768
|
+
# perSeriesAligner is not specified or equals ALIGN_NONE, then this field is
|
1769
|
+
# ignored. If perSeriesAligner is specified and does not equal ALIGN_NONE, then
|
1770
|
+
# this field must be defined; otherwise an error is returned.
|
1771
|
+
# @param [String] aggregation_cross_series_reducer
|
1772
|
+
# The approach to be used to combine time series. Not all reducer functions may
|
1773
|
+
# be applied to all time series, depending on the metric type and the value type
|
1774
|
+
# of the original time series. Reduction may change the metric type of value
|
1775
|
+
# type of the time series.Time series data must be aligned in order to perform
|
1776
|
+
# cross-time series reduction. If crossSeriesReducer is specified, then
|
1777
|
+
# perSeriesAligner must be specified and not equal ALIGN_NONE and
|
1778
|
+
# alignmentPeriod must be specified; otherwise, an error is returned.
|
1779
|
+
# @param [Array<String>, String] aggregation_group_by_fields
|
1780
|
+
# The set of fields to preserve when crossSeriesReducer is specified. The
|
1781
|
+
# groupByFields determine how the time series are partitioned into subsets prior
|
1782
|
+
# to applying the aggregation function. Each subset contains time series that
|
1783
|
+
# have the same value for each of the grouping fields. Each individual time
|
1784
|
+
# series is a member of exactly one subset. The crossSeriesReducer is applied to
|
1785
|
+
# each subset of time series. It is not possible to reduce across different
|
1786
|
+
# resource types, so this field implicitly contains resource.type. Fields not
|
1787
|
+
# specified in groupByFields are aggregated away. If groupByFields is not
|
1788
|
+
# specified and all the time series have the same resource type, then the time
|
1789
|
+
# series are aggregated into a single output time series. If crossSeriesReducer
|
1790
|
+
# is not defined, this field is ignored.
|
1791
|
+
# @param [String] aggregation_per_series_aligner
|
1792
|
+
# The approach to be used to align individual time series. Not all alignment
|
1793
|
+
# functions may be applied to all time series, depending on the metric type and
|
1794
|
+
# value type of the original time series. Alignment may change the metric type
|
1795
|
+
# or the value type of the time series.Time series data must be aligned in order
|
1796
|
+
# to perform cross-time series reduction. If crossSeriesReducer is specified,
|
1797
|
+
# then perSeriesAligner must be specified and not equal ALIGN_NONE and
|
1798
|
+
# alignmentPeriod must be specified; otherwise, an error is returned.
|
1799
|
+
# @param [String] filter
|
1800
|
+
# A monitoring filter that specifies which time series should be returned. The
|
1801
|
+
# filter must specify a single metric type, and can additionally specify metric
|
1802
|
+
# labels and other information. For example:
|
1803
|
+
# metric.type = "compute.googleapis.com/instance/cpu/usage_time" AND
|
1804
|
+
# metric.label.instance_name = "my-instance-name"
|
1805
|
+
# @param [String] interval_end_time
|
1806
|
+
# Required. The end of the time interval.
|
1807
|
+
# @param [String] interval_start_time
|
1808
|
+
# Optional. The beginning of the time interval. The default value for the start
|
1809
|
+
# time is the end time. The start time must not be later than the end time.
|
1810
|
+
# @param [String] order_by
|
1811
|
+
# Unsupported: must be left blank. The points in each time series are returned
|
1812
|
+
# in reverse time order.
|
1813
|
+
# @param [Fixnum] page_size
|
1814
|
+
# A positive number that is the maximum number of results to return. If
|
1815
|
+
# page_size is empty or more than 100,000 results, the effective page_size is
|
1816
|
+
# 100,000 results. If view is set to FULL, this is the maximum number of Points
|
1817
|
+
# returned. If view is set to HEADERS, this is the maximum number of TimeSeries
|
1818
|
+
# returned.
|
1819
|
+
# @param [String] page_token
|
1820
|
+
# If this field is not empty then it must contain the nextPageToken value
|
1821
|
+
# returned by a previous call to this method. Using this field causes the method
|
1822
|
+
# to return additional results from the previous method call.
|
1823
|
+
# @param [String] view
|
1824
|
+
# Specifies which information is returned about the time series.
|
1825
|
+
# @param [String] fields
|
1826
|
+
# Selector specifying which fields to include in a partial response.
|
1827
|
+
# @param [String] quota_user
|
1828
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1829
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1830
|
+
# @param [Google::Apis::RequestOptions] options
|
1831
|
+
# Request-specific options
|
1832
|
+
#
|
1833
|
+
# @yield [result, err] Result & error if block supplied
|
1834
|
+
# @yieldparam result [Google::Apis::MonitoringV3::ListTimeSeriesResponse] parsed result object
|
1835
|
+
# @yieldparam err [StandardError] error object if request failed
|
1836
|
+
#
|
1837
|
+
# @return [Google::Apis::MonitoringV3::ListTimeSeriesResponse]
|
1838
|
+
#
|
1839
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1840
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1841
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1842
|
+
def list_time_series(name, aggregation_alignment_period: nil, aggregation_cross_series_reducer: nil, aggregation_group_by_fields: nil, aggregation_per_series_aligner: nil, filter: nil, interval_end_time: nil, interval_start_time: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1843
|
+
command = make_simple_command(:get, 'v3/{+name}/timeSeries', options)
|
1844
|
+
command.response_representation = Google::Apis::MonitoringV3::ListTimeSeriesResponse::Representation
|
1845
|
+
command.response_class = Google::Apis::MonitoringV3::ListTimeSeriesResponse
|
1846
|
+
command.params['name'] = name unless name.nil?
|
1847
|
+
command.query['aggregation.alignmentPeriod'] = aggregation_alignment_period unless aggregation_alignment_period.nil?
|
1848
|
+
command.query['aggregation.crossSeriesReducer'] = aggregation_cross_series_reducer unless aggregation_cross_series_reducer.nil?
|
1849
|
+
command.query['aggregation.groupByFields'] = aggregation_group_by_fields unless aggregation_group_by_fields.nil?
|
1850
|
+
command.query['aggregation.perSeriesAligner'] = aggregation_per_series_aligner unless aggregation_per_series_aligner.nil?
|
1851
|
+
command.query['filter'] = filter unless filter.nil?
|
1852
|
+
command.query['interval.endTime'] = interval_end_time unless interval_end_time.nil?
|
1853
|
+
command.query['interval.startTime'] = interval_start_time unless interval_start_time.nil?
|
1854
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1855
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1856
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1857
|
+
command.query['view'] = view unless view.nil?
|
1858
|
+
command.query['fields'] = fields unless fields.nil?
|
1859
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1860
|
+
execute_or_queue_command(command, &block)
|
1861
|
+
end
|
1862
|
+
|
1498
1863
|
# Returns the list of IPs that checkers run from
|
1499
1864
|
# @param [Fixnum] page_size
|
1500
1865
|
# The maximum number of results to return in a single response. The server may
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
26
26
|
module OsloginV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181023'
|
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'
|
@@ -51,6 +51,10 @@ module Google
|
|
51
51
|
# on Google Compute Engine.
|
52
52
|
# @param [String] name
|
53
53
|
# The unique ID for the user in format `users/`user``.
|
54
|
+
# @param [String] project_id
|
55
|
+
# The project ID of the Google Cloud Platform project.
|
56
|
+
# @param [String] system_id
|
57
|
+
# A system ID for filtering the results of the request.
|
54
58
|
# @param [String] fields
|
55
59
|
# Selector specifying which fields to include in a partial response.
|
56
60
|
# @param [String] quota_user
|
@@ -68,11 +72,13 @@ module Google
|
|
68
72
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
73
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
74
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
-
def get_user_login_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
+
def get_user_login_profile(name, project_id: nil, system_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
72
76
|
command = make_simple_command(:get, 'v1/{+name}/loginProfile', options)
|
73
77
|
command.response_representation = Google::Apis::OsloginV1::LoginProfile::Representation
|
74
78
|
command.response_class = Google::Apis::OsloginV1::LoginProfile
|
75
79
|
command.params['name'] = name unless name.nil?
|
80
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
81
|
+
command.query['systemId'] = system_id unless system_id.nil?
|
76
82
|
command.query['fields'] = fields unless fields.nil?
|
77
83
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
78
84
|
execute_or_queue_command(command, &block)
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/compute/docs/oslogin/rest/
|
26
26
|
module OsloginV1alpha
|
27
27
|
VERSION = 'V1alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20181023'
|
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'
|
@@ -51,6 +51,12 @@ module Google
|
|
51
51
|
# on Google Compute Engine.
|
52
52
|
# @param [String] name
|
53
53
|
# The unique ID for the user in format `users/`user``.
|
54
|
+
# @param [String] operating_system_type
|
55
|
+
# The type of operating system associated with the account.
|
56
|
+
# @param [String] project_id
|
57
|
+
# The project ID of the Google Cloud Platform project.
|
58
|
+
# @param [String] system_id
|
59
|
+
# A system ID for filtering the results of the request.
|
54
60
|
# @param [String] fields
|
55
61
|
# Selector specifying which fields to include in a partial response.
|
56
62
|
# @param [String] quota_user
|
@@ -68,11 +74,14 @@ module Google
|
|
68
74
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
69
75
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
70
76
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
71
|
-
def get_user_login_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
77
|
+
def get_user_login_profile(name, operating_system_type: nil, project_id: nil, system_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
72
78
|
command = make_simple_command(:get, 'v1alpha/{+name}/loginProfile', options)
|
73
79
|
command.response_representation = Google::Apis::OsloginV1alpha::LoginProfile::Representation
|
74
80
|
command.response_class = Google::Apis::OsloginV1alpha::LoginProfile
|
75
81
|
command.params['name'] = name unless name.nil?
|
82
|
+
command.query['operatingSystemType'] = operating_system_type unless operating_system_type.nil?
|
83
|
+
command.query['projectId'] = project_id unless project_id.nil?
|
84
|
+
command.query['systemId'] = system_id unless system_id.nil?
|
76
85
|
command.query['fields'] = fields unless fields.nil?
|
77
86
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
78
87
|
execute_or_queue_command(command, &block)
|