google-api-client 0.20.1 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +140 -0
- data/README.md +3 -12
- data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
- data/generated/google/apis/adexperiencereport_v1.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
- data/generated/google/apis/admin_directory_v1.rb +3 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
- data/generated/google/apis/admin_directory_v1/service.rb +363 -577
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +21 -35
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +117 -195
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +21 -35
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +32 -60
- data/generated/google/apis/analytics_v3/representations.rb +8 -12
- data/generated/google/apis/analytics_v3/service.rb +261 -435
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
- data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +255 -286
- data/generated/google/apis/androidpublisher_v3.rb +34 -0
- data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +6 -10
- data/generated/google/apis/appsmarket_v2/service.rb +12 -20
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +18 -30
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +67 -9
- data/generated/google/apis/bigquery_v2/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2/service.rb +69 -115
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
- data/generated/google/apis/blogger_v2/service.rb +30 -50
- data/generated/google/apis/blogger_v3/service.rb +102 -170
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +156 -260
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +114 -190
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +6 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +18 -30
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +0 -69
- data/generated/google/apis/classroom_v1/representations.rb +0 -31
- data/generated/google/apis/classroom_v1/service.rb +0 -88
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
- data/generated/google/apis/cloudfunctions_v1.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
- data/generated/google/apis/cloudiot_v1/service.rb +398 -1
- data/generated/google/apis/cloudkms_v1.rb +2 -2
- data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +30 -8
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
- data/generated/google/apis/composer_v1beta1/classes.rb +643 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
- data/generated/google/apis/composer_v1beta1/service.rb +462 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3939 -2239
- data/generated/google/apis/compute_alpha/representations.rb +1063 -335
- data/generated/google/apis/compute_alpha/service.rb +3532 -3368
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +150 -53
- data/generated/google/apis/compute_beta/representations.rb +23 -0
- data/generated/google/apis/compute_beta/service.rb +1269 -2077
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +46 -43
- data/generated/google/apis/compute_v1/service.rb +1022 -1666
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/classes.rb +20 -15
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +33 -31
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +186 -14
- data/generated/google/apis/container_v1beta1/representations.rb +77 -0
- data/generated/google/apis/container_v1beta1/service.rb +111 -31
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +173 -8
- data/generated/google/apis/content_v2/representations.rb +71 -0
- data/generated/google/apis/content_v2/service.rb +246 -410
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
- data/generated/google/apis/content_v2sandbox/service.rb +63 -105
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +9 -15
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +6 -6
- data/generated/google/apis/dataproc_v1/service.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
- data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
- data/generated/google/apis/datastore_v1.rb +2 -2
- data/generated/google/apis/datastore_v1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +2 -2
- data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
- data/generated/google/apis/dfareporting_v2_8/service.rb +618 -1030
- data/generated/google/apis/dfareporting_v3_0/service.rb +615 -1025
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
- data/generated/google/apis/discovery_v1/service.rb +9 -15
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +116 -1572
- data/generated/google/apis/dlp_v2/representations.rb +673 -1405
- data/generated/google/apis/dlp_v2/service.rb +24 -24
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1/service.rb +49 -81
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2/service.rb +49 -81
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dns_v2beta1/service.rb +49 -81
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +205 -341
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +120 -200
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +2 -2
- data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +45 -75
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +99 -165
- data/generated/google/apis/fusiontables_v2/service.rb +105 -175
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +84 -140
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +162 -270
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +41 -7
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
- data/generated/google/apis/gmail_v1/service.rb +189 -315
- data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
- data/generated/google/apis/groupssettings_v1/service.rb +12 -20
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +29 -7
- data/generated/google/apis/iam_v1/service.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
- data/generated/google/apis/jobs_v2.rb +38 -0
- data/generated/google/apis/jobs_v2/classes.rb +3378 -0
- data/generated/google/apis/jobs_v2/representations.rb +1067 -0
- data/generated/google/apis/jobs_v2/service.rb +754 -0
- data/generated/google/apis/licensing_v1/service.rb +24 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +55 -5
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +6 -4
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
- data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
- data/generated/google/apis/logging_v2beta1/service.rb +6 -4
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +75 -125
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +65 -28
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +27 -45
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +15 -25
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
- data/generated/google/apis/photoslibrary_v1.rb +49 -0
- data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
- data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
- data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +63 -105
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +30 -50
- data/generated/google/apis/pubsub_v1.rb +2 -2
- data/generated/google/apis/pubsub_v1/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
- data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
- data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
- data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
- data/generated/google/apis/redis_v1beta1/service.rb +426 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
- data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
- data/generated/google/apis/reseller_v1/service.rb +54 -90
- data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
- data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
- data/generated/google/apis/runtimeconfig_v1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +28 -6
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/script_v1.rb +8 -2
- data/generated/google/apis/script_v1/classes.rb +3 -3
- data/generated/google/apis/script_v1/service.rb +8 -2
- data/generated/google/apis/servicebroker_v1.rb +36 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
- data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
- data/generated/google/apis/servicebroker_v1/service.rb +168 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
- data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
- data/generated/google/apis/servicecontrol_v1.rb +2 -2
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +2 -2
- data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +421 -0
- data/generated/google/apis/sheets_v4/representations.rb +120 -0
- data/generated/google/apis/site_verification_v1/service.rb +24 -40
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +6 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +39 -12
- data/generated/google/apis/spanner_v1/service.rb +2 -2
- data/generated/google/apis/spectrum_v1explorer.rb +1 -1
- data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +12 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
- data/generated/google/apis/sqladmin_v1beta4/service.rb +126 -210
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -6
- data/generated/google/apis/storage_v1/service.rb +144 -240
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +75 -125
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +105 -175
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +19 -122
- data/generated/google/apis/surveys_v2/representations.rb +0 -38
- data/generated/google/apis/surveys_v2/service.rb +27 -157
- data/generated/google/apis/tagmanager_v1/service.rb +153 -255
- data/generated/google/apis/tagmanager_v2/service.rb +222 -370
- data/generated/google/apis/tasks_v1/service.rb +45 -75
- data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/urlshortener_v1/service.rb +12 -20
- data/generated/google/apis/vault_v1.rb +2 -2
- data/generated/google/apis/vault_v1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +34 -0
- data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
- data/generated/google/apis/videointelligence_v1/service.rb +246 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
- data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
- data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1441 -62
- data/generated/google/apis/vision_v1/representations.rb +582 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1441 -62
- data/generated/google/apis/vision_v1p1beta1/representations.rb +582 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +63 -3
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/webfonts_v1/service.rb +6 -10
- data/generated/google/apis/webmasters_v3/service.rb +42 -70
- data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v2.rb +46 -0
- data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
- data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
- data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -168
- data/generated/google/apis/youtube_v3/representations.rb +0 -62
- data/generated/google/apis/youtube_v3/service.rb +216 -415
- data/lib/google/apis/generator/helpers.rb +3 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +50 -38
- data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
- data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
- data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
- data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
- data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
- data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
- data/generated/google/apis/prediction_v1_2.rb +0 -44
- data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
- data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
- data/generated/google/apis/prediction_v1_2/service.rb +0 -287
- data/generated/google/apis/prediction_v1_3.rb +0 -44
- data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
- data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
- data/generated/google/apis/prediction_v1_3/service.rb +0 -284
- data/generated/google/apis/prediction_v1_4.rb +0 -44
- data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
- data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
- data/generated/google/apis/prediction_v1_4/service.rb +0 -284
- data/generated/google/apis/prediction_v1_5.rb +0 -44
- data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
- data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
- data/generated/google/apis/prediction_v1_5/service.rb +0 -357
- data/generated/google/apis/prediction_v1_6.rb +0 -47
- data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
- data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
- data/generated/google/apis/prediction_v1_6/service.rb +0 -381
- data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
- data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
- data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -170,6 +170,7 @@ module Google
|
|
170
170
|
|
171
171
|
hash :labels, as: 'labels'
|
172
172
|
property :name, as: 'name'
|
173
|
+
property :runtime, as: 'runtime'
|
173
174
|
property :service_account_email, as: 'serviceAccountEmail'
|
174
175
|
property :source_archive_url, as: 'sourceArchiveUrl'
|
175
176
|
property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1::SourceRepository, decorator: Google::Apis::CloudfunctionsV1::SourceRepository::Representation
|
@@ -265,6 +266,7 @@ module Google
|
|
265
266
|
class Location
|
266
267
|
# @private
|
267
268
|
class Representation < Google::Apis::Core::JsonRepresentation
|
269
|
+
property :display_name, as: 'displayName'
|
268
270
|
hash :labels, as: 'labels'
|
269
271
|
property :location_id, as: 'locationId'
|
270
272
|
hash :metadata, as: 'metadata'
|
@@ -20,10 +20,9 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module CloudfunctionsV1
|
23
|
-
#
|
23
|
+
# Cloud Functions API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# events.
|
25
|
+
# Manages lightweight user-provided functions executed in response to events.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/cloudfunctions_v1'
|
@@ -318,7 +317,7 @@ module Google
|
|
318
317
|
# * Source file size should not exceed 100MB limit.
|
319
318
|
# When making a HTTP PUT request, these two headers need to be specified:
|
320
319
|
# * `content-type: application/zip`
|
321
|
-
# * `x-
|
320
|
+
# * `x-goog-content-length-range: 0,104857600`
|
322
321
|
# @param [String] parent
|
323
322
|
# The project and location in which the Google Cloud Storage signed URL
|
324
323
|
# should be generated, specified in the format `projects/*/locations/*`.
|
@@ -18,15 +18,14 @@ require 'google/apis/cloudfunctions_v1beta2/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Cloud Functions API
|
22
22
|
#
|
23
|
-
#
|
24
|
-
# events.
|
23
|
+
# Manages lightweight user-provided functions executed in response to events.
|
25
24
|
#
|
26
25
|
# @see https://cloud.google.com/functions
|
27
26
|
module CloudfunctionsV1beta2
|
28
27
|
VERSION = 'V1beta2'
|
29
|
-
REVISION = '
|
28
|
+
REVISION = '20180420'
|
30
29
|
|
31
30
|
# View and manage your data across Google Cloud Platform services
|
32
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
# @return [String]
|
125
125
|
attr_accessor :name
|
126
126
|
|
127
|
+
# The runtime in which the function is going to run. If empty, defaults to
|
128
|
+
# Node.js 6.
|
129
|
+
# Corresponds to the JSON property `runtime`
|
130
|
+
# @return [String]
|
131
|
+
attr_accessor :runtime
|
132
|
+
|
127
133
|
# Output only. The service account of the function.
|
128
134
|
# Corresponds to the JSON property `serviceAccount`
|
129
135
|
# @return [String]
|
@@ -200,6 +206,7 @@ module Google
|
|
200
206
|
@labels = args[:labels] if args.key?(:labels)
|
201
207
|
@latest_operation = args[:latest_operation] if args.key?(:latest_operation)
|
202
208
|
@name = args[:name] if args.key?(:name)
|
209
|
+
@runtime = args[:runtime] if args.key?(:runtime)
|
203
210
|
@service_account = args[:service_account] if args.key?(:service_account)
|
204
211
|
@source_archive_url = args[:source_archive_url] if args.key?(:source_archive_url)
|
205
212
|
@source_repository = args[:source_repository] if args.key?(:source_repository)
|
@@ -463,6 +470,12 @@ module Google
|
|
463
470
|
class Location
|
464
471
|
include Google::Apis::Core::Hashable
|
465
472
|
|
473
|
+
# The friendly name for this location, typically a nearby city name.
|
474
|
+
# For example, "Tokyo".
|
475
|
+
# Corresponds to the JSON property `displayName`
|
476
|
+
# @return [String]
|
477
|
+
attr_accessor :display_name
|
478
|
+
|
466
479
|
# Cross-service attributes for the location. For example
|
467
480
|
# `"cloud.googleapis.com/region": "us-east1"`
|
468
481
|
# Corresponds to the JSON property `labels`
|
@@ -492,6 +505,7 @@ module Google
|
|
492
505
|
|
493
506
|
# Update properties of this object
|
494
507
|
def update!(**args)
|
508
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
495
509
|
@labels = args[:labels] if args.key?(:labels)
|
496
510
|
@location_id = args[:location_id] if args.key?(:location_id)
|
497
511
|
@metadata = args[:metadata] if args.key?(:metadata)
|
@@ -170,6 +170,7 @@ module Google
|
|
170
170
|
hash :labels, as: 'labels'
|
171
171
|
property :latest_operation, as: 'latestOperation'
|
172
172
|
property :name, as: 'name'
|
173
|
+
property :runtime, as: 'runtime'
|
173
174
|
property :service_account, as: 'serviceAccount'
|
174
175
|
property :source_archive_url, as: 'sourceArchiveUrl'
|
175
176
|
property :source_repository, as: 'sourceRepository', class: Google::Apis::CloudfunctionsV1beta2::SourceRepository, decorator: Google::Apis::CloudfunctionsV1beta2::SourceRepository::Representation
|
@@ -266,6 +267,7 @@ module Google
|
|
266
267
|
class Location
|
267
268
|
# @private
|
268
269
|
class Representation < Google::Apis::Core::JsonRepresentation
|
270
|
+
property :display_name, as: 'displayName'
|
269
271
|
hash :labels, as: 'labels'
|
270
272
|
property :location_id, as: 'locationId'
|
271
273
|
hash :metadata, as: 'metadata'
|
@@ -20,10 +20,9 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module CloudfunctionsV1beta2
|
23
|
-
#
|
23
|
+
# Cloud Functions API
|
24
24
|
#
|
25
|
-
#
|
26
|
-
# events.
|
25
|
+
# Manages lightweight user-provided functions executed in response to events.
|
27
26
|
#
|
28
27
|
# @example
|
29
28
|
# require 'google/apis/cloudfunctions_v1beta2'
|
@@ -318,7 +317,7 @@ module Google
|
|
318
317
|
# * Source file size should not exceed 100MB limit.
|
319
318
|
# When making a HTTP PUT request, these two headers need to be specified:
|
320
319
|
# * `content-type: application/zip`
|
321
|
-
# * `x-
|
320
|
+
# * `x-goog-content-length-range: 0,104857600`
|
322
321
|
# @param [String] parent
|
323
322
|
# The project and location in which the Google Cloud Storage signed URL
|
324
323
|
# should be generated, specified in the format `projects/*/locations/*`.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/iot
|
27
27
|
module CloudiotV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180501'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -33,7 +33,7 @@ module Google
|
|
33
33
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
34
34
|
# who is authenticated with a Google account or a service account.
|
35
35
|
# * `user:`emailid``: An email address that represents a specific Google
|
36
|
-
# account. For example, `alice@gmail.com`
|
36
|
+
# account. For example, `alice@gmail.com` .
|
37
37
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
38
38
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
39
39
|
# * `group:`emailid``: An email address that represents a Google group.
|
@@ -641,11 +641,11 @@ module Google
|
|
641
641
|
|
642
642
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
643
643
|
# specify access control policies for Cloud Platform resources.
|
644
|
-
# A `Policy` consists of a list of `bindings`. A `
|
644
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
645
645
|
# `members` to a `role`, where the members can be user accounts, Google groups,
|
646
646
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
647
647
|
# defined by IAM.
|
648
|
-
# **Example**
|
648
|
+
# **JSON Example**
|
649
649
|
# `
|
650
650
|
# "bindings": [
|
651
651
|
# `
|
@@ -654,7 +654,7 @@ module Google
|
|
654
654
|
# "user:mike@example.com",
|
655
655
|
# "group:admins@example.com",
|
656
656
|
# "domain:google.com",
|
657
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
657
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
658
658
|
# ]
|
659
659
|
# `,
|
660
660
|
# `
|
@@ -663,6 +663,17 @@ module Google
|
|
663
663
|
# `
|
664
664
|
# ]
|
665
665
|
# `
|
666
|
+
# **YAML Example**
|
667
|
+
# bindings:
|
668
|
+
# - members:
|
669
|
+
# - user:mike@example.com
|
670
|
+
# - group:admins@example.com
|
671
|
+
# - domain:google.com
|
672
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
673
|
+
# role: roles/owner
|
674
|
+
# - members:
|
675
|
+
# - user:sean@example.com
|
676
|
+
# role: roles/viewer
|
666
677
|
# For a description of IAM and its features, see the
|
667
678
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
668
679
|
class Policy
|
@@ -786,11 +797,11 @@ module Google
|
|
786
797
|
|
787
798
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
788
799
|
# specify access control policies for Cloud Platform resources.
|
789
|
-
# A `Policy` consists of a list of `bindings`. A `
|
800
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
790
801
|
# `members` to a `role`, where the members can be user accounts, Google groups,
|
791
802
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
792
803
|
# defined by IAM.
|
793
|
-
# **Example**
|
804
|
+
# **JSON Example**
|
794
805
|
# `
|
795
806
|
# "bindings": [
|
796
807
|
# `
|
@@ -799,7 +810,7 @@ module Google
|
|
799
810
|
# "user:mike@example.com",
|
800
811
|
# "group:admins@example.com",
|
801
812
|
# "domain:google.com",
|
802
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
813
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
803
814
|
# ]
|
804
815
|
# `,
|
805
816
|
# `
|
@@ -808,6 +819,17 @@ module Google
|
|
808
819
|
# `
|
809
820
|
# ]
|
810
821
|
# `
|
822
|
+
# **YAML Example**
|
823
|
+
# bindings:
|
824
|
+
# - members:
|
825
|
+
# - user:mike@example.com
|
826
|
+
# - group:admins@example.com
|
827
|
+
# - domain:google.com
|
828
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
829
|
+
# role: roles/owner
|
830
|
+
# - members:
|
831
|
+
# - user:sean@example.com
|
832
|
+
# role: roles/viewer
|
811
833
|
# For a description of IAM and its features, see the
|
812
834
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
813
835
|
# Corresponds to the JSON property `policy`
|
@@ -48,6 +48,67 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
+
# List devices in a device registry.
|
52
|
+
# @param [String] parent
|
53
|
+
# The device registry path. Required. For example,
|
54
|
+
# `projects/my-project/locations/us-central1/registries/my-registry`.
|
55
|
+
# @param [Array<String>, String] device_ids
|
56
|
+
# A list of device string identifiers. If empty, it will ignore this field.
|
57
|
+
# For example, `['device0', 'device12']`. This field cannot hold more than
|
58
|
+
# 10,000 entries.
|
59
|
+
# @param [Array<Fixnum>, Fixnum] device_num_ids
|
60
|
+
# A list of device numerical ids. If empty, it will ignore this field. This
|
61
|
+
# field cannot hold more than 10,000 entries.
|
62
|
+
# @param [String] field_mask
|
63
|
+
# The fields of the `Device` resource to be returned in the response. The
|
64
|
+
# fields `id`, and `num_id` are always returned by default, along with any
|
65
|
+
# other fields specified.
|
66
|
+
# @param [String] gateway_type
|
67
|
+
# If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
|
68
|
+
# specified, only non-gateway devices are returned. If
|
69
|
+
# `GATEWAY_TYPE_UNSPECIFIED` specified, all devices are returned.
|
70
|
+
# @param [Fixnum] page_size
|
71
|
+
# The maximum number of devices to return in the response. If this value
|
72
|
+
# is zero, the service will select a default size. A call may return fewer
|
73
|
+
# objects than requested, but if there is a non-empty `page_token`, it
|
74
|
+
# indicates that more entries are available.
|
75
|
+
# @param [String] page_token
|
76
|
+
# The value returned by the last `ListDevicesResponse`; indicates
|
77
|
+
# that this is a continuation of a prior `ListDevices` call, and
|
78
|
+
# that the system should return the next page of data.
|
79
|
+
# @param [String] fields
|
80
|
+
# Selector specifying which fields to include in a partial response.
|
81
|
+
# @param [String] quota_user
|
82
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
83
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
84
|
+
# @param [Google::Apis::RequestOptions] options
|
85
|
+
# Request-specific options
|
86
|
+
#
|
87
|
+
# @yield [result, err] Result & error if block supplied
|
88
|
+
# @yieldparam result [Google::Apis::CloudiotV1::ListDevicesResponse] parsed result object
|
89
|
+
# @yieldparam err [StandardError] error object if request failed
|
90
|
+
#
|
91
|
+
# @return [Google::Apis::CloudiotV1::ListDevicesResponse]
|
92
|
+
#
|
93
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
94
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
95
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
96
|
+
def list_project_location_group_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, gateway_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
97
|
+
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
98
|
+
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
99
|
+
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
100
|
+
command.params['parent'] = parent unless parent.nil?
|
101
|
+
command.query['deviceIds'] = device_ids unless device_ids.nil?
|
102
|
+
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
|
103
|
+
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
104
|
+
command.query['gatewayType'] = gateway_type unless gateway_type.nil?
|
105
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
106
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
107
|
+
command.query['fields'] = fields unless fields.nil?
|
108
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
109
|
+
execute_or_queue_command(command, &block)
|
110
|
+
end
|
111
|
+
|
51
112
|
# Creates a device registry that contains devices.
|
52
113
|
# @param [String] parent
|
53
114
|
# The project and cloud region where this device registry must be created.
|
@@ -452,6 +513,10 @@ module Google
|
|
452
513
|
# The fields of the `Device` resource to be returned in the response. The
|
453
514
|
# fields `id`, and `num_id` are always returned by default, along with any
|
454
515
|
# other fields specified.
|
516
|
+
# @param [String] gateway_type
|
517
|
+
# If `GATEWAY` is specified, only gateways are returned. If `NON_GATEWAY`
|
518
|
+
# specified, only non-gateway devices are returned. If
|
519
|
+
# `GATEWAY_TYPE_UNSPECIFIED` specified, all devices are returned.
|
455
520
|
# @param [Fixnum] page_size
|
456
521
|
# The maximum number of devices to return in the response. If this value
|
457
522
|
# is zero, the service will select a default size. A call may return fewer
|
@@ -478,7 +543,7 @@ module Google
|
|
478
543
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
479
544
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
480
545
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
481
|
-
def list_project_location_registry_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
546
|
+
def list_project_location_registry_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, gateway_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
482
547
|
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
483
548
|
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
484
549
|
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
@@ -486,6 +551,7 @@ module Google
|
|
486
551
|
command.query['deviceIds'] = device_ids unless device_ids.nil?
|
487
552
|
command.query['deviceNumIds'] = device_num_ids unless device_num_ids.nil?
|
488
553
|
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
554
|
+
command.query['gatewayType'] = gateway_type unless gateway_type.nil?
|
489
555
|
command.query['pageSize'] = page_size unless page_size.nil?
|
490
556
|
command.query['pageToken'] = page_token unless page_token.nil?
|
491
557
|
command.query['fields'] = fields unless fields.nil?
|
@@ -648,6 +714,337 @@ module Google
|
|
648
714
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
649
715
|
execute_or_queue_command(command, &block)
|
650
716
|
end
|
717
|
+
|
718
|
+
# Gets the access control policy for a resource.
|
719
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
720
|
+
# set.
|
721
|
+
# @param [String] resource
|
722
|
+
# REQUIRED: The resource for which the policy is being requested.
|
723
|
+
# See the operation documentation for the appropriate value for this field.
|
724
|
+
# @param [Google::Apis::CloudiotV1::GetIamPolicyRequest] get_iam_policy_request_object
|
725
|
+
# @param [String] fields
|
726
|
+
# Selector specifying which fields to include in a partial response.
|
727
|
+
# @param [String] quota_user
|
728
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
729
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
730
|
+
# @param [Google::Apis::RequestOptions] options
|
731
|
+
# Request-specific options
|
732
|
+
#
|
733
|
+
# @yield [result, err] Result & error if block supplied
|
734
|
+
# @yieldparam result [Google::Apis::CloudiotV1::Policy] parsed result object
|
735
|
+
# @yieldparam err [StandardError] error object if request failed
|
736
|
+
#
|
737
|
+
# @return [Google::Apis::CloudiotV1::Policy]
|
738
|
+
#
|
739
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
740
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
741
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
742
|
+
def get_group_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
743
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
744
|
+
command.request_representation = Google::Apis::CloudiotV1::GetIamPolicyRequest::Representation
|
745
|
+
command.request_object = get_iam_policy_request_object
|
746
|
+
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
|
747
|
+
command.response_class = Google::Apis::CloudiotV1::Policy
|
748
|
+
command.params['resource'] = resource unless resource.nil?
|
749
|
+
command.query['fields'] = fields unless fields.nil?
|
750
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
751
|
+
execute_or_queue_command(command, &block)
|
752
|
+
end
|
753
|
+
|
754
|
+
# Sets the access control policy on the specified resource. Replaces any
|
755
|
+
# existing policy.
|
756
|
+
# @param [String] resource
|
757
|
+
# REQUIRED: The resource for which the policy is being specified.
|
758
|
+
# See the operation documentation for the appropriate value for this field.
|
759
|
+
# @param [Google::Apis::CloudiotV1::SetIamPolicyRequest] set_iam_policy_request_object
|
760
|
+
# @param [String] fields
|
761
|
+
# Selector specifying which fields to include in a partial response.
|
762
|
+
# @param [String] quota_user
|
763
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
764
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
765
|
+
# @param [Google::Apis::RequestOptions] options
|
766
|
+
# Request-specific options
|
767
|
+
#
|
768
|
+
# @yield [result, err] Result & error if block supplied
|
769
|
+
# @yieldparam result [Google::Apis::CloudiotV1::Policy] parsed result object
|
770
|
+
# @yieldparam err [StandardError] error object if request failed
|
771
|
+
#
|
772
|
+
# @return [Google::Apis::CloudiotV1::Policy]
|
773
|
+
#
|
774
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
775
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
776
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
777
|
+
def set_group_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
778
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
779
|
+
command.request_representation = Google::Apis::CloudiotV1::SetIamPolicyRequest::Representation
|
780
|
+
command.request_object = set_iam_policy_request_object
|
781
|
+
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
|
782
|
+
command.response_class = Google::Apis::CloudiotV1::Policy
|
783
|
+
command.params['resource'] = resource unless resource.nil?
|
784
|
+
command.query['fields'] = fields unless fields.nil?
|
785
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
786
|
+
execute_or_queue_command(command, &block)
|
787
|
+
end
|
788
|
+
|
789
|
+
# Returns permissions that a caller has on the specified resource.
|
790
|
+
# If the resource does not exist, this will return an empty set of
|
791
|
+
# permissions, not a NOT_FOUND error.
|
792
|
+
# @param [String] resource
|
793
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
794
|
+
# See the operation documentation for the appropriate value for this field.
|
795
|
+
# @param [Google::Apis::CloudiotV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
796
|
+
# @param [String] fields
|
797
|
+
# Selector specifying which fields to include in a partial response.
|
798
|
+
# @param [String] quota_user
|
799
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
800
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
801
|
+
# @param [Google::Apis::RequestOptions] options
|
802
|
+
# Request-specific options
|
803
|
+
#
|
804
|
+
# @yield [result, err] Result & error if block supplied
|
805
|
+
# @yieldparam result [Google::Apis::CloudiotV1::TestIamPermissionsResponse] parsed result object
|
806
|
+
# @yieldparam err [StandardError] error object if request failed
|
807
|
+
#
|
808
|
+
# @return [Google::Apis::CloudiotV1::TestIamPermissionsResponse]
|
809
|
+
#
|
810
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
811
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
812
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
813
|
+
def test_group_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
814
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
815
|
+
command.request_representation = Google::Apis::CloudiotV1::TestIamPermissionsRequest::Representation
|
816
|
+
command.request_object = test_iam_permissions_request_object
|
817
|
+
command.response_representation = Google::Apis::CloudiotV1::TestIamPermissionsResponse::Representation
|
818
|
+
command.response_class = Google::Apis::CloudiotV1::TestIamPermissionsResponse
|
819
|
+
command.params['resource'] = resource unless resource.nil?
|
820
|
+
command.query['fields'] = fields unless fields.nil?
|
821
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
822
|
+
execute_or_queue_command(command, &block)
|
823
|
+
end
|
824
|
+
|
825
|
+
# Deletes a device.
|
826
|
+
# @param [String] name
|
827
|
+
# The name of the device. For example,
|
828
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
829
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
830
|
+
# @param [String] fields
|
831
|
+
# Selector specifying which fields to include in a partial response.
|
832
|
+
# @param [String] quota_user
|
833
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
834
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
835
|
+
# @param [Google::Apis::RequestOptions] options
|
836
|
+
# Request-specific options
|
837
|
+
#
|
838
|
+
# @yield [result, err] Result & error if block supplied
|
839
|
+
# @yieldparam result [Google::Apis::CloudiotV1::Empty] parsed result object
|
840
|
+
# @yieldparam err [StandardError] error object if request failed
|
841
|
+
#
|
842
|
+
# @return [Google::Apis::CloudiotV1::Empty]
|
843
|
+
#
|
844
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
845
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
846
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
847
|
+
def delete_project_location_registry_group_device(name, fields: nil, quota_user: nil, options: nil, &block)
|
848
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
849
|
+
command.response_representation = Google::Apis::CloudiotV1::Empty::Representation
|
850
|
+
command.response_class = Google::Apis::CloudiotV1::Empty
|
851
|
+
command.params['name'] = name unless name.nil?
|
852
|
+
command.query['fields'] = fields unless fields.nil?
|
853
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
854
|
+
execute_or_queue_command(command, &block)
|
855
|
+
end
|
856
|
+
|
857
|
+
# Gets details about a device.
|
858
|
+
# @param [String] name
|
859
|
+
# The name of the device. For example,
|
860
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
861
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
862
|
+
# @param [String] field_mask
|
863
|
+
# The fields of the `Device` resource to be returned in the response. If the
|
864
|
+
# field mask is unset or empty, all fields are returned.
|
865
|
+
# @param [String] fields
|
866
|
+
# Selector specifying which fields to include in a partial response.
|
867
|
+
# @param [String] quota_user
|
868
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
869
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
870
|
+
# @param [Google::Apis::RequestOptions] options
|
871
|
+
# Request-specific options
|
872
|
+
#
|
873
|
+
# @yield [result, err] Result & error if block supplied
|
874
|
+
# @yieldparam result [Google::Apis::CloudiotV1::Device] parsed result object
|
875
|
+
# @yieldparam err [StandardError] error object if request failed
|
876
|
+
#
|
877
|
+
# @return [Google::Apis::CloudiotV1::Device]
|
878
|
+
#
|
879
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
880
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
881
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
882
|
+
def get_project_location_registry_group_device(name, field_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
883
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
884
|
+
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
885
|
+
command.response_class = Google::Apis::CloudiotV1::Device
|
886
|
+
command.params['name'] = name unless name.nil?
|
887
|
+
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
888
|
+
command.query['fields'] = fields unless fields.nil?
|
889
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
890
|
+
execute_or_queue_command(command, &block)
|
891
|
+
end
|
892
|
+
|
893
|
+
# Modifies the configuration for the device, which is eventually sent from
|
894
|
+
# the Cloud IoT Core servers. Returns the modified configuration version and
|
895
|
+
# its metadata.
|
896
|
+
# @param [String] name
|
897
|
+
# The name of the device. For example,
|
898
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
899
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
900
|
+
# @param [Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest] modify_cloud_to_device_config_request_object
|
901
|
+
# @param [String] fields
|
902
|
+
# Selector specifying which fields to include in a partial response.
|
903
|
+
# @param [String] quota_user
|
904
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
905
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
906
|
+
# @param [Google::Apis::RequestOptions] options
|
907
|
+
# Request-specific options
|
908
|
+
#
|
909
|
+
# @yield [result, err] Result & error if block supplied
|
910
|
+
# @yieldparam result [Google::Apis::CloudiotV1::DeviceConfig] parsed result object
|
911
|
+
# @yieldparam err [StandardError] error object if request failed
|
912
|
+
#
|
913
|
+
# @return [Google::Apis::CloudiotV1::DeviceConfig]
|
914
|
+
#
|
915
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
916
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
917
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
918
|
+
def modify_project_location_registry_group_device_cloud_to_device_config(name, modify_cloud_to_device_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
919
|
+
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
|
920
|
+
command.request_representation = Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest::Representation
|
921
|
+
command.request_object = modify_cloud_to_device_config_request_object
|
922
|
+
command.response_representation = Google::Apis::CloudiotV1::DeviceConfig::Representation
|
923
|
+
command.response_class = Google::Apis::CloudiotV1::DeviceConfig
|
924
|
+
command.params['name'] = name unless name.nil?
|
925
|
+
command.query['fields'] = fields unless fields.nil?
|
926
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
927
|
+
execute_or_queue_command(command, &block)
|
928
|
+
end
|
929
|
+
|
930
|
+
# Updates a device.
|
931
|
+
# @param [String] name
|
932
|
+
# The resource path name. For example,
|
933
|
+
# `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
|
934
|
+
# `projects/p1/locations/us-central1/registries/registry0/devices/`num_id``.
|
935
|
+
# When `name` is populated as a response from the service, it always ends
|
936
|
+
# in the device numeric ID.
|
937
|
+
# @param [Google::Apis::CloudiotV1::Device] device_object
|
938
|
+
# @param [String] update_mask
|
939
|
+
# Only updates the `device` fields indicated by this mask.
|
940
|
+
# The field mask must not be empty, and it must not contain fields that
|
941
|
+
# are immutable or only set by the server.
|
942
|
+
# Mutable top-level fields: `credentials`, `blocked`, and `metadata`
|
943
|
+
# @param [String] fields
|
944
|
+
# Selector specifying which fields to include in a partial response.
|
945
|
+
# @param [String] quota_user
|
946
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
947
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
948
|
+
# @param [Google::Apis::RequestOptions] options
|
949
|
+
# Request-specific options
|
950
|
+
#
|
951
|
+
# @yield [result, err] Result & error if block supplied
|
952
|
+
# @yieldparam result [Google::Apis::CloudiotV1::Device] parsed result object
|
953
|
+
# @yieldparam err [StandardError] error object if request failed
|
954
|
+
#
|
955
|
+
# @return [Google::Apis::CloudiotV1::Device]
|
956
|
+
#
|
957
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
958
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
959
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
960
|
+
def patch_project_location_registry_group_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
961
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
962
|
+
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
|
963
|
+
command.request_object = device_object
|
964
|
+
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
965
|
+
command.response_class = Google::Apis::CloudiotV1::Device
|
966
|
+
command.params['name'] = name unless name.nil?
|
967
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
968
|
+
command.query['fields'] = fields unless fields.nil?
|
969
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
970
|
+
execute_or_queue_command(command, &block)
|
971
|
+
end
|
972
|
+
|
973
|
+
# Lists the last few versions of the device configuration in descending
|
974
|
+
# order (i.e.: newest first).
|
975
|
+
# @param [String] name
|
976
|
+
# The name of the device. For example,
|
977
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
978
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
979
|
+
# @param [Fixnum] num_versions
|
980
|
+
# The number of versions to list. Versions are listed in decreasing order of
|
981
|
+
# the version number. The maximum number of versions retained is 10. If this
|
982
|
+
# value is zero, it will return all the versions available.
|
983
|
+
# @param [String] fields
|
984
|
+
# Selector specifying which fields to include in a partial response.
|
985
|
+
# @param [String] quota_user
|
986
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
987
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
988
|
+
# @param [Google::Apis::RequestOptions] options
|
989
|
+
# Request-specific options
|
990
|
+
#
|
991
|
+
# @yield [result, err] Result & error if block supplied
|
992
|
+
# @yieldparam result [Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse] parsed result object
|
993
|
+
# @yieldparam err [StandardError] error object if request failed
|
994
|
+
#
|
995
|
+
# @return [Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse]
|
996
|
+
#
|
997
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
998
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
999
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1000
|
+
def list_project_location_registry_group_device_config_versions(name, num_versions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1001
|
+
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
|
1002
|
+
command.response_representation = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse::Representation
|
1003
|
+
command.response_class = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse
|
1004
|
+
command.params['name'] = name unless name.nil?
|
1005
|
+
command.query['numVersions'] = num_versions unless num_versions.nil?
|
1006
|
+
command.query['fields'] = fields unless fields.nil?
|
1007
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1008
|
+
execute_or_queue_command(command, &block)
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# Lists the last few versions of the device state in descending order (i.e.:
|
1012
|
+
# newest first).
|
1013
|
+
# @param [String] name
|
1014
|
+
# The name of the device. For example,
|
1015
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
1016
|
+
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
1017
|
+
# @param [Fixnum] num_states
|
1018
|
+
# The number of states to list. States are listed in descending order of
|
1019
|
+
# update time. The maximum number of states retained is 10. If this
|
1020
|
+
# value is zero, it will return all the states available.
|
1021
|
+
# @param [String] fields
|
1022
|
+
# Selector specifying which fields to include in a partial response.
|
1023
|
+
# @param [String] quota_user
|
1024
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1025
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1026
|
+
# @param [Google::Apis::RequestOptions] options
|
1027
|
+
# Request-specific options
|
1028
|
+
#
|
1029
|
+
# @yield [result, err] Result & error if block supplied
|
1030
|
+
# @yieldparam result [Google::Apis::CloudiotV1::ListDeviceStatesResponse] parsed result object
|
1031
|
+
# @yieldparam err [StandardError] error object if request failed
|
1032
|
+
#
|
1033
|
+
# @return [Google::Apis::CloudiotV1::ListDeviceStatesResponse]
|
1034
|
+
#
|
1035
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1036
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1037
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1038
|
+
def list_project_location_registry_group_device_states(name, num_states: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1039
|
+
command = make_simple_command(:get, 'v1/{+name}/states', options)
|
1040
|
+
command.response_representation = Google::Apis::CloudiotV1::ListDeviceStatesResponse::Representation
|
1041
|
+
command.response_class = Google::Apis::CloudiotV1::ListDeviceStatesResponse
|
1042
|
+
command.params['name'] = name unless name.nil?
|
1043
|
+
command.query['numStates'] = num_states unless num_states.nil?
|
1044
|
+
command.query['fields'] = fields unless fields.nil?
|
1045
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1046
|
+
execute_or_queue_command(command, &block)
|
1047
|
+
end
|
651
1048
|
|
652
1049
|
protected
|
653
1050
|
|