google-api-client 0.29.1 → 0.29.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +102 -0
- data/README.md +1 -1
- data/bin/generate-api +4 -2
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
- data/generated/google/apis/admin_directory_v1/service.rb +113 -113
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4/service.rb +39 -39
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
- data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
- data/generated/google/apis/analytics_v2_4/service.rb +6 -6
- data/generated/google/apis/analytics_v3/service.rb +88 -88
- data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
- data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
- data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +38 -38
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
- data/generated/google/apis/appengine_v1beta/service.rb +38 -38
- data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
- data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appsmarket_v2/service.rb +3 -3
- data/generated/google/apis/appstate_v1/service.rb +5 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +934 -0
- data/generated/google/apis/bigquery_v2/representations.rb +367 -0
- data/generated/google/apis/bigquery_v2/service.rb +184 -22
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
- data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
- data/generated/google/apis/blogger_v2/service.rb +9 -9
- data/generated/google/apis/blogger_v3/service.rb +33 -33
- data/generated/google/apis/books_v1/service.rb +51 -51
- data/generated/google/apis/calendar_v3/service.rb +37 -37
- data/generated/google/apis/chat_v1/service.rb +8 -8
- data/generated/google/apis/civicinfo_v2/service.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +57 -56
- data/generated/google/apis/cloudasset_v1/service.rb +3 -3
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
- data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/service.rb +23 -330
- data/generated/google/apis/cloudkms_v1/service.rb +30 -30
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
- data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
- data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1/service.rb +4 -4
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
- data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
- data/generated/google/apis/composer_v1/service.rb +9 -9
- data/generated/google/apis/composer_v1beta1/service.rb +9 -9
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +29 -0
- data/generated/google/apis/compute_alpha/representations.rb +15 -0
- data/generated/google/apis/compute_alpha/service.rb +625 -623
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/service.rb +504 -503
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/service.rb +411 -410
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +63 -63
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +52 -4
- data/generated/google/apis/container_v1beta1/representations.rb +20 -0
- data/generated/google/apis/container_v1beta1/service.rb +64 -64
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +9 -3
- data/generated/google/apis/content_v2/service.rb +101 -105
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +9 -3
- data/generated/google/apis/content_v2_1/service.rb +89 -93
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1/service.rb +261 -45
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +15 -15
- data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
- data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
- data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
- data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +5 -5
- data/generated/google/apis/dialogflow_v2/service.rb +36 -36
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
- data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
- data/generated/google/apis/digitalassetlinks_v1/service.rb +2 -2
- data/generated/google/apis/discovery_v1/service.rb +2 -2
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -2
- data/generated/google/apis/dlp_v2/service.rb +51 -46
- data/generated/google/apis/dns_v1/service.rb +15 -15
- data/generated/google/apis/dns_v1beta2/service.rb +21 -21
- data/generated/google/apis/dns_v2beta1/service.rb +15 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +137 -0
- data/generated/google/apis/docs_v1/representations.rb +57 -0
- data/generated/google/apis/docs_v1/service.rb +3 -3
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
- data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
- data/generated/google/apis/drive_v2/service.rb +74 -74
- data/generated/google/apis/drive_v3/service.rb +46 -46
- data/generated/google/apis/driveactivity_v2/service.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
- data/generated/google/apis/fcm_v1.rb +35 -0
- data/generated/google/apis/fcm_v1/classes.rb +424 -0
- data/generated/google/apis/fcm_v1/representations.rb +167 -0
- data/generated/google/apis/fcm_v1/service.rb +97 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +52 -1
- data/generated/google/apis/file_v1/representations.rb +16 -0
- data/generated/google/apis/file_v1/service.rb +11 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +52 -1
- data/generated/google/apis/file_v1beta1/representations.rb +16 -0
- data/generated/google/apis/file_v1beta1/service.rb +11 -11
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
- data/generated/google/apis/firebaserules_v1/service.rb +11 -11
- data/generated/google/apis/firestore_v1/service.rb +28 -28
- data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
- data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
- data/generated/google/apis/fitness_v1/service.rb +13 -13
- data/generated/google/apis/fusiontables_v1/service.rb +32 -32
- data/generated/google/apis/fusiontables_v2/service.rb +34 -34
- data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
- data/generated/google/apis/games_management_v1management/service.rb +27 -27
- data/generated/google/apis/games_v1/service.rb +53 -53
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/service.rb +3 -3
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
- data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
- data/generated/google/apis/gmail_v1/service.rb +68 -68
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
- data/generated/google/apis/groupssettings_v1/service.rb +3 -3
- data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
- data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
- data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
- data/generated/google/apis/iam_v1/service.rb +36 -36
- data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
- data/generated/google/apis/iap_v1/service.rb +3 -3
- data/generated/google/apis/iap_v1beta1/service.rb +3 -3
- data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
- data/generated/google/apis/indexing_v3/service.rb +2 -2
- data/generated/google/apis/jobs_v2/service.rb +17 -17
- data/generated/google/apis/jobs_v3/service.rb +15 -15
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
- data/generated/google/apis/kgsearch_v1/service.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/service.rb +6 -6
- data/generated/google/apis/language_v1beta1/service.rb +4 -4
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/service.rb +6 -6
- data/generated/google/apis/libraryagent_v1/service.rb +6 -6
- data/generated/google/apis/licensing_v1/service.rb +7 -7
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +6 -0
- data/generated/google/apis/logging_v2/representations.rb +1 -0
- data/generated/google/apis/logging_v2/service.rb +72 -72
- data/generated/google/apis/manufacturers_v1/service.rb +4 -4
- data/generated/google/apis/mirror_v1/service.rb +24 -24
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +73 -55
- data/generated/google/apis/ml_v1/service.rb +31 -31
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +14 -1
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +36 -36
- data/generated/google/apis/oauth2_v1/service.rb +3 -3
- data/generated/google/apis/oauth2_v2/service.rb +4 -4
- data/generated/google/apis/oslogin_v1/service.rb +6 -6
- data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
- data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
- data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +13 -13
- data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +10 -10
- data/generated/google/apis/plus_v1/service.rb +9 -9
- data/generated/google/apis/poly_v1/service.rb +4 -4
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +32 -32
- data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
- data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +19 -19
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +15 -15
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
- data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
- data/generated/google/apis/reseller_v1/service.rb +17 -17
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
- data/generated/google/apis/run_v1alpha1/service.rb +446 -38
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
- data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +167 -0
- data/generated/google/apis/script_v1/representations.rb +79 -0
- data/generated/google/apis/script_v1/service.rb +16 -16
- data/generated/google/apis/searchconsole_v1/service.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1/service.rb +23 -23
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
- data/generated/google/apis/servicebroker_v1/service.rb +3 -3
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
- data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +8 -60
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -29
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
- data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
- data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +8 -60
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -29
- data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1/service.rb +17 -19
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +8 -60
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -29
- data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/service.rb +17 -17
- data/generated/google/apis/site_verification_v1/service.rb +7 -7
- data/generated/google/apis/slides_v1/service.rb +5 -5
- data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +3 -3
- data/generated/google/apis/spanner_v1/service.rb +41 -41
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -2
- data/generated/google/apis/speech_v1/service.rb +7 -7
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
- data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
- data/generated/google/apis/storage_v1/service.rb +52 -52
- data/generated/google/apis/storage_v1beta1/service.rb +24 -24
- data/generated/google/apis/storage_v1beta2/service.rb +34 -34
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
- data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
- data/generated/google/apis/surveys_v2/service.rb +8 -8
- data/generated/google/apis/tagmanager_v1/service.rb +49 -49
- data/generated/google/apis/tagmanager_v2/service.rb +74 -74
- data/generated/google/apis/tasks_v1/service.rb +14 -14
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +25 -12
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +5 -5
- data/generated/google/apis/texttospeech_v1/service.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
- data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1/service.rb +17 -17
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
- data/generated/google/apis/translate_v2/service.rb +5 -5
- data/generated/google/apis/urlshortener_v1/service.rb +3 -3
- data/generated/google/apis/vault_v1/service.rb +28 -28
- data/generated/google/apis/videointelligence_v1/service.rb +5 -5
- data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2372 -73
- data/generated/google/apis/vision_v1/representations.rb +1643 -651
- data/generated/google/apis/vision_v1/service.rb +98 -35
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
- data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
- data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
- data/generated/google/apis/webfonts_v1/service.rb +1 -1
- data/generated/google/apis/webmasters_v3/service.rb +9 -9
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
- data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
- data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
- data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/service.rb +71 -71
- data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/core/json_representation.rb +4 -0
- data/lib/google/apis/core/upload.rb +3 -3
- data/lib/google/apis/generator/templates/_method.tmpl +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +13 -6
- data/samples/web/.env +0 -2
@@ -67,7 +67,7 @@ module Google
|
|
67
67
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
68
68
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
69
69
|
def create_group(group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
70
|
-
command =
|
70
|
+
command = make_simple_command(:post, 'v1beta1/groups', options)
|
71
71
|
command.request_representation = Google::Apis::CloudidentityV1beta1::Group::Representation
|
72
72
|
command.request_object = group_object
|
73
73
|
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
|
@@ -100,7 +100,7 @@ module Google
|
|
100
100
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
101
101
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
102
102
|
def delete_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
103
|
-
command =
|
103
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
104
104
|
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
|
105
105
|
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
|
106
106
|
command.params['name'] = name unless name.nil?
|
@@ -132,7 +132,7 @@ module Google
|
|
132
132
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
133
133
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
134
134
|
def get_group(name, fields: nil, quota_user: nil, options: nil, &block)
|
135
|
-
command =
|
135
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
136
136
|
command.response_representation = Google::Apis::CloudidentityV1beta1::Group::Representation
|
137
137
|
command.response_class = Google::Apis::CloudidentityV1beta1::Group
|
138
138
|
command.params['name'] = name unless name.nil?
|
@@ -171,7 +171,7 @@ module Google
|
|
171
171
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
172
172
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
173
173
|
def lookup_group(group_key_id: nil, group_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
|
174
|
-
command =
|
174
|
+
command = make_simple_command(:get, 'v1beta1/groups:lookup', options)
|
175
175
|
command.response_representation = Google::Apis::CloudidentityV1beta1::LookupGroupNameResponse::Representation
|
176
176
|
command.response_class = Google::Apis::CloudidentityV1beta1::LookupGroupNameResponse
|
177
177
|
command.query['groupKey.id'] = group_key_id unless group_key_id.nil?
|
@@ -208,7 +208,7 @@ module Google
|
|
208
208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
209
209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
210
210
|
def patch_group(name, group_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
211
|
-
command =
|
211
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
212
212
|
command.request_representation = Google::Apis::CloudidentityV1beta1::Group::Representation
|
213
213
|
command.request_object = group_object
|
214
214
|
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
|
@@ -255,7 +255,7 @@ module Google
|
|
255
255
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
256
256
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
257
257
|
def search_groups(page_size: nil, page_token: nil, query: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
258
|
-
command =
|
258
|
+
command = make_simple_command(:get, 'v1beta1/groups:search', options)
|
259
259
|
command.response_representation = Google::Apis::CloudidentityV1beta1::SearchGroupsResponse::Representation
|
260
260
|
command.response_class = Google::Apis::CloudidentityV1beta1::SearchGroupsResponse
|
261
261
|
command.query['pageSize'] = page_size unless page_size.nil?
|
@@ -291,7 +291,7 @@ module Google
|
|
291
291
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
292
292
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
293
293
|
def create_group_membership(parent, membership_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
294
|
-
command =
|
294
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/memberships', options)
|
295
295
|
command.request_representation = Google::Apis::CloudidentityV1beta1::Membership::Representation
|
296
296
|
command.request_object = membership_object
|
297
297
|
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
|
@@ -327,7 +327,7 @@ module Google
|
|
327
327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
328
328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
329
329
|
def delete_group_membership(name, fields: nil, quota_user: nil, options: nil, &block)
|
330
|
-
command =
|
330
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
331
331
|
command.response_representation = Google::Apis::CloudidentityV1beta1::Operation::Representation
|
332
332
|
command.response_class = Google::Apis::CloudidentityV1beta1::Operation
|
333
333
|
command.params['name'] = name unless name.nil?
|
@@ -361,7 +361,7 @@ module Google
|
|
361
361
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
362
362
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
363
363
|
def get_group_membership(name, fields: nil, quota_user: nil, options: nil, &block)
|
364
|
-
command =
|
364
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
365
365
|
command.response_representation = Google::Apis::CloudidentityV1beta1::Membership::Representation
|
366
366
|
command.response_class = Google::Apis::CloudidentityV1beta1::Membership
|
367
367
|
command.params['name'] = name unless name.nil?
|
@@ -401,7 +401,7 @@ module Google
|
|
401
401
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
402
402
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
403
403
|
def list_group_memberships(parent, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
404
|
-
command =
|
404
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships', options)
|
405
405
|
command.response_representation = Google::Apis::CloudidentityV1beta1::ListMembershipsResponse::Representation
|
406
406
|
command.response_class = Google::Apis::CloudidentityV1beta1::ListMembershipsResponse
|
407
407
|
command.params['parent'] = parent unless parent.nil?
|
@@ -448,7 +448,7 @@ module Google
|
|
448
448
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
449
449
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
450
450
|
def lookup_group_membership(parent, member_key_id: nil, member_key_namespace: nil, fields: nil, quota_user: nil, options: nil, &block)
|
451
|
-
command =
|
451
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/memberships:lookup', options)
|
452
452
|
command.response_representation = Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse::Representation
|
453
453
|
command.response_class = Google::Apis::CloudidentityV1beta1::LookupMembershipNameResponse
|
454
454
|
command.params['parent'] = parent unless parent.nil?
|
@@ -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 = '20190516'
|
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'
|
@@ -71,7 +71,7 @@ module Google
|
|
71
71
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
72
72
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
73
73
|
def bind_registry_device_to_gateway(parent, bind_device_to_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
74
|
-
command =
|
74
|
+
command = make_simple_command(:post, 'v1/{+parent}:bindDeviceToGateway', options)
|
75
75
|
command.request_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayRequest::Representation
|
76
76
|
command.request_object = bind_device_to_gateway_request_object
|
77
77
|
command.response_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayResponse::Representation
|
@@ -105,7 +105,7 @@ module Google
|
|
105
105
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
106
106
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
107
107
|
def create_project_location_registry(parent, device_registry_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
108
|
-
command =
|
108
|
+
command = make_simple_command(:post, 'v1/{+parent}/registries', options)
|
109
109
|
command.request_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
|
110
110
|
command.request_object = device_registry_object
|
111
111
|
command.response_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
|
@@ -138,7 +138,7 @@ module Google
|
|
138
138
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
139
139
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
140
140
|
def delete_project_location_registry(name, fields: nil, quota_user: nil, options: nil, &block)
|
141
|
-
command =
|
141
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
142
142
|
command.response_representation = Google::Apis::CloudiotV1::Empty::Representation
|
143
143
|
command.response_class = Google::Apis::CloudiotV1::Empty
|
144
144
|
command.params['name'] = name unless name.nil?
|
@@ -169,7 +169,7 @@ module Google
|
|
169
169
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
170
170
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
171
171
|
def get_project_location_registry(name, fields: nil, quota_user: nil, options: nil, &block)
|
172
|
-
command =
|
172
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
173
173
|
command.response_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
|
174
174
|
command.response_class = Google::Apis::CloudiotV1::DeviceRegistry
|
175
175
|
command.params['name'] = name unless name.nil?
|
@@ -203,7 +203,7 @@ module Google
|
|
203
203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
204
204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
205
205
|
def get_registry_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
206
|
-
command =
|
206
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
207
207
|
command.request_representation = Google::Apis::CloudiotV1::GetIamPolicyRequest::Representation
|
208
208
|
command.request_object = get_iam_policy_request_object
|
209
209
|
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
|
@@ -245,7 +245,7 @@ module Google
|
|
245
245
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
246
246
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
247
247
|
def list_project_location_registries(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
248
|
-
command =
|
248
|
+
command = make_simple_command(:get, 'v1/{+parent}/registries', options)
|
249
249
|
command.response_representation = Google::Apis::CloudiotV1::ListDeviceRegistriesResponse::Representation
|
250
250
|
command.response_class = Google::Apis::CloudiotV1::ListDeviceRegistriesResponse
|
251
251
|
command.params['parent'] = parent unless parent.nil?
|
@@ -285,7 +285,7 @@ module Google
|
|
285
285
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
286
286
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
287
287
|
def patch_project_location_registry(name, device_registry_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
288
|
-
command =
|
288
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
289
289
|
command.request_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
|
290
290
|
command.request_object = device_registry_object
|
291
291
|
command.response_representation = Google::Apis::CloudiotV1::DeviceRegistry::Representation
|
@@ -321,7 +321,7 @@ module Google
|
|
321
321
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
322
322
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
323
323
|
def set_registry_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
324
|
-
command =
|
324
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
325
325
|
command.request_representation = Google::Apis::CloudiotV1::SetIamPolicyRequest::Representation
|
326
326
|
command.request_object = set_iam_policy_request_object
|
327
327
|
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
|
@@ -357,7 +357,7 @@ module Google
|
|
357
357
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
358
358
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
359
359
|
def test_registry_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
360
|
-
command =
|
360
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
361
361
|
command.request_representation = Google::Apis::CloudiotV1::TestIamPermissionsRequest::Representation
|
362
362
|
command.request_object = test_iam_permissions_request_object
|
363
363
|
command.response_representation = Google::Apis::CloudiotV1::TestIamPermissionsResponse::Representation
|
@@ -391,7 +391,7 @@ module Google
|
|
391
391
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
392
392
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
393
393
|
def unbind_registry_device_from_gateway(parent, unbind_device_from_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
394
|
-
command =
|
394
|
+
command = make_simple_command(:post, 'v1/{+parent}:unbindDeviceFromGateway', options)
|
395
395
|
command.request_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest::Representation
|
396
396
|
command.request_object = unbind_device_from_gateway_request_object
|
397
397
|
command.response_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse::Representation
|
@@ -426,7 +426,7 @@ module Google
|
|
426
426
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
427
427
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
428
428
|
def create_project_location_registry_device(parent, device_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
429
|
-
command =
|
429
|
+
command = make_simple_command(:post, 'v1/{+parent}/devices', options)
|
430
430
|
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
|
431
431
|
command.request_object = device_object
|
432
432
|
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
@@ -460,7 +460,7 @@ module Google
|
|
460
460
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
461
461
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
462
462
|
def delete_project_location_registry_device(name, fields: nil, quota_user: nil, options: nil, &block)
|
463
|
-
command =
|
463
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
464
464
|
command.response_representation = Google::Apis::CloudiotV1::Empty::Representation
|
465
465
|
command.response_class = Google::Apis::CloudiotV1::Empty
|
466
466
|
command.params['name'] = name unless name.nil?
|
@@ -495,7 +495,7 @@ module Google
|
|
495
495
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
496
496
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
497
497
|
def get_project_location_registry_device(name, field_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
498
|
-
command =
|
498
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
499
499
|
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
500
500
|
command.response_class = Google::Apis::CloudiotV1::Device
|
501
501
|
command.params['name'] = name unless name.nil?
|
@@ -560,7 +560,7 @@ module Google
|
|
560
560
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
561
561
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
562
562
|
def list_project_location_registry_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, gateway_list_options_associations_device_id: nil, gateway_list_options_associations_gateway_id: nil, gateway_list_options_gateway_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
563
|
-
command =
|
563
|
+
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
564
564
|
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
565
565
|
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
566
566
|
command.params['parent'] = parent unless parent.nil?
|
@@ -603,7 +603,7 @@ module Google
|
|
603
603
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
604
604
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
605
605
|
def modify_cloud_to_device_config(name, modify_cloud_to_device_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
606
|
-
command =
|
606
|
+
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
|
607
607
|
command.request_representation = Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest::Representation
|
608
608
|
command.request_object = modify_cloud_to_device_config_request_object
|
609
609
|
command.response_representation = Google::Apis::CloudiotV1::DeviceConfig::Representation
|
@@ -645,7 +645,7 @@ module Google
|
|
645
645
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
646
646
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
647
647
|
def patch_project_location_registry_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
648
|
-
command =
|
648
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
649
649
|
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
|
650
650
|
command.request_object = device_object
|
651
651
|
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
@@ -693,7 +693,7 @@ module Google
|
|
693
693
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
694
694
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
695
695
|
def send_project_location_registry_device_command_to_device(name, send_command_to_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
696
|
-
command =
|
696
|
+
command = make_simple_command(:post, 'v1/{+name}:sendCommandToDevice', options)
|
697
697
|
command.request_representation = Google::Apis::CloudiotV1::SendCommandToDeviceRequest::Representation
|
698
698
|
command.request_object = send_command_to_device_request_object
|
699
699
|
command.response_representation = Google::Apis::CloudiotV1::SendCommandToDeviceResponse::Representation
|
@@ -732,7 +732,7 @@ module Google
|
|
732
732
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
733
733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
734
734
|
def list_project_location_registry_device_config_versions(name, num_versions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
735
|
-
command =
|
735
|
+
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
|
736
736
|
command.response_representation = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse::Representation
|
737
737
|
command.response_class = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse
|
738
738
|
command.params['name'] = name unless name.nil?
|
@@ -770,7 +770,7 @@ module Google
|
|
770
770
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
771
771
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
772
772
|
def list_project_location_registry_device_states(name, num_states: nil, fields: nil, quota_user: nil, options: nil, &block)
|
773
|
-
command =
|
773
|
+
command = make_simple_command(:get, 'v1/{+name}/states', options)
|
774
774
|
command.response_representation = Google::Apis::CloudiotV1::ListDeviceStatesResponse::Representation
|
775
775
|
command.response_class = Google::Apis::CloudiotV1::ListDeviceStatesResponse
|
776
776
|
command.params['name'] = name unless name.nil?
|
@@ -780,40 +780,6 @@ module Google
|
|
780
780
|
execute_or_queue_command(command, &block)
|
781
781
|
end
|
782
782
|
|
783
|
-
# Associates the device with the gateway.
|
784
|
-
# @param [String] parent
|
785
|
-
# The name of the registry. For example,
|
786
|
-
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
787
|
-
# @param [Google::Apis::CloudiotV1::BindDeviceToGatewayRequest] bind_device_to_gateway_request_object
|
788
|
-
# @param [String] fields
|
789
|
-
# Selector specifying which fields to include in a partial response.
|
790
|
-
# @param [String] quota_user
|
791
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
792
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
793
|
-
# @param [Google::Apis::RequestOptions] options
|
794
|
-
# Request-specific options
|
795
|
-
#
|
796
|
-
# @yield [result, err] Result & error if block supplied
|
797
|
-
# @yieldparam result [Google::Apis::CloudiotV1::BindDeviceToGatewayResponse] parsed result object
|
798
|
-
# @yieldparam err [StandardError] error object if request failed
|
799
|
-
#
|
800
|
-
# @return [Google::Apis::CloudiotV1::BindDeviceToGatewayResponse]
|
801
|
-
#
|
802
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
803
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
804
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
805
|
-
def bind_group_device_to_gateway(parent, bind_device_to_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
806
|
-
command = make_simple_command(:post, 'v1/{+parent}:bindDeviceToGateway', options)
|
807
|
-
command.request_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayRequest::Representation
|
808
|
-
command.request_object = bind_device_to_gateway_request_object
|
809
|
-
command.response_representation = Google::Apis::CloudiotV1::BindDeviceToGatewayResponse::Representation
|
810
|
-
command.response_class = Google::Apis::CloudiotV1::BindDeviceToGatewayResponse
|
811
|
-
command.params['parent'] = parent unless parent.nil?
|
812
|
-
command.query['fields'] = fields unless fields.nil?
|
813
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
814
|
-
execute_or_queue_command(command, &block)
|
815
|
-
end
|
816
|
-
|
817
783
|
# Gets the access control policy for a resource.
|
818
784
|
# Returns an empty policy if the resource exists and does not have a policy
|
819
785
|
# set.
|
@@ -839,7 +805,7 @@ module Google
|
|
839
805
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
840
806
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
841
807
|
def get_group_iam_policy(resource, get_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
842
|
-
command =
|
808
|
+
command = make_simple_command(:post, 'v1/{+resource}:getIamPolicy', options)
|
843
809
|
command.request_representation = Google::Apis::CloudiotV1::GetIamPolicyRequest::Representation
|
844
810
|
command.request_object = get_iam_policy_request_object
|
845
811
|
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
|
@@ -874,7 +840,7 @@ module Google
|
|
874
840
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
875
841
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
876
842
|
def set_group_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
877
|
-
command =
|
843
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
878
844
|
command.request_representation = Google::Apis::CloudiotV1::SetIamPolicyRequest::Representation
|
879
845
|
command.request_object = set_iam_policy_request_object
|
880
846
|
command.response_representation = Google::Apis::CloudiotV1::Policy::Representation
|
@@ -910,7 +876,7 @@ module Google
|
|
910
876
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
911
877
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
912
878
|
def test_group_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
913
|
-
command =
|
879
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
914
880
|
command.request_representation = Google::Apis::CloudiotV1::TestIamPermissionsRequest::Representation
|
915
881
|
command.request_object = test_iam_permissions_request_object
|
916
882
|
command.response_representation = Google::Apis::CloudiotV1::TestIamPermissionsResponse::Representation
|
@@ -921,76 +887,6 @@ module Google
|
|
921
887
|
execute_or_queue_command(command, &block)
|
922
888
|
end
|
923
889
|
|
924
|
-
# Deletes the association between the device and the gateway.
|
925
|
-
# @param [String] parent
|
926
|
-
# The name of the registry. For example,
|
927
|
-
# `projects/example-project/locations/us-central1/registries/my-registry`.
|
928
|
-
# @param [Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest] unbind_device_from_gateway_request_object
|
929
|
-
# @param [String] fields
|
930
|
-
# Selector specifying which fields to include in a partial response.
|
931
|
-
# @param [String] quota_user
|
932
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
933
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
934
|
-
# @param [Google::Apis::RequestOptions] options
|
935
|
-
# Request-specific options
|
936
|
-
#
|
937
|
-
# @yield [result, err] Result & error if block supplied
|
938
|
-
# @yieldparam result [Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse] parsed result object
|
939
|
-
# @yieldparam err [StandardError] error object if request failed
|
940
|
-
#
|
941
|
-
# @return [Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse]
|
942
|
-
#
|
943
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
944
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
945
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
946
|
-
def unbind_group_device_from_gateway(parent, unbind_device_from_gateway_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
947
|
-
command = make_simple_command(:post, 'v1/{+parent}:unbindDeviceFromGateway', options)
|
948
|
-
command.request_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayRequest::Representation
|
949
|
-
command.request_object = unbind_device_from_gateway_request_object
|
950
|
-
command.response_representation = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse::Representation
|
951
|
-
command.response_class = Google::Apis::CloudiotV1::UnbindDeviceFromGatewayResponse
|
952
|
-
command.params['parent'] = parent unless parent.nil?
|
953
|
-
command.query['fields'] = fields unless fields.nil?
|
954
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
955
|
-
execute_or_queue_command(command, &block)
|
956
|
-
end
|
957
|
-
|
958
|
-
# Gets details about a device.
|
959
|
-
# @param [String] name
|
960
|
-
# The name of the device. For example,
|
961
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
962
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
963
|
-
# @param [String] field_mask
|
964
|
-
# The fields of the `Device` resource to be returned in the response. If the
|
965
|
-
# field mask is unset or empty, all fields are returned.
|
966
|
-
# @param [String] fields
|
967
|
-
# Selector specifying which fields to include in a partial response.
|
968
|
-
# @param [String] quota_user
|
969
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
970
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
971
|
-
# @param [Google::Apis::RequestOptions] options
|
972
|
-
# Request-specific options
|
973
|
-
#
|
974
|
-
# @yield [result, err] Result & error if block supplied
|
975
|
-
# @yieldparam result [Google::Apis::CloudiotV1::Device] parsed result object
|
976
|
-
# @yieldparam err [StandardError] error object if request failed
|
977
|
-
#
|
978
|
-
# @return [Google::Apis::CloudiotV1::Device]
|
979
|
-
#
|
980
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
981
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
982
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
983
|
-
def get_project_location_registry_group_device(name, field_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
984
|
-
command = make_simple_command(:get, 'v1/{+name}', options)
|
985
|
-
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
986
|
-
command.response_class = Google::Apis::CloudiotV1::Device
|
987
|
-
command.params['name'] = name unless name.nil?
|
988
|
-
command.query['fieldMask'] = field_mask unless field_mask.nil?
|
989
|
-
command.query['fields'] = fields unless fields.nil?
|
990
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
991
|
-
execute_or_queue_command(command, &block)
|
992
|
-
end
|
993
|
-
|
994
890
|
# List devices in a device registry.
|
995
891
|
# @param [String] parent
|
996
892
|
# The device registry path. Required. For example,
|
@@ -1046,7 +942,7 @@ module Google
|
|
1046
942
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1047
943
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1048
944
|
def list_project_location_registry_group_devices(parent, device_ids: nil, device_num_ids: nil, field_mask: nil, gateway_list_options_associations_device_id: nil, gateway_list_options_associations_gateway_id: nil, gateway_list_options_gateway_type: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1049
|
-
command =
|
945
|
+
command = make_simple_command(:get, 'v1/{+parent}/devices', options)
|
1050
946
|
command.response_representation = Google::Apis::CloudiotV1::ListDevicesResponse::Representation
|
1051
947
|
command.response_class = Google::Apis::CloudiotV1::ListDevicesResponse
|
1052
948
|
command.params['parent'] = parent unless parent.nil?
|
@@ -1062,209 +958,6 @@ module Google
|
|
1062
958
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1063
959
|
execute_or_queue_command(command, &block)
|
1064
960
|
end
|
1065
|
-
|
1066
|
-
# Modifies the configuration for the device, which is eventually sent from
|
1067
|
-
# the Cloud IoT Core servers. Returns the modified configuration version and
|
1068
|
-
# its metadata.
|
1069
|
-
# @param [String] name
|
1070
|
-
# The name of the device. For example,
|
1071
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
1072
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
1073
|
-
# @param [Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest] modify_cloud_to_device_config_request_object
|
1074
|
-
# @param [String] fields
|
1075
|
-
# Selector specifying which fields to include in a partial response.
|
1076
|
-
# @param [String] quota_user
|
1077
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1078
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1079
|
-
# @param [Google::Apis::RequestOptions] options
|
1080
|
-
# Request-specific options
|
1081
|
-
#
|
1082
|
-
# @yield [result, err] Result & error if block supplied
|
1083
|
-
# @yieldparam result [Google::Apis::CloudiotV1::DeviceConfig] parsed result object
|
1084
|
-
# @yieldparam err [StandardError] error object if request failed
|
1085
|
-
#
|
1086
|
-
# @return [Google::Apis::CloudiotV1::DeviceConfig]
|
1087
|
-
#
|
1088
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1089
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1090
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1091
|
-
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)
|
1092
|
-
command = make_simple_command(:post, 'v1/{+name}:modifyCloudToDeviceConfig', options)
|
1093
|
-
command.request_representation = Google::Apis::CloudiotV1::ModifyCloudToDeviceConfigRequest::Representation
|
1094
|
-
command.request_object = modify_cloud_to_device_config_request_object
|
1095
|
-
command.response_representation = Google::Apis::CloudiotV1::DeviceConfig::Representation
|
1096
|
-
command.response_class = Google::Apis::CloudiotV1::DeviceConfig
|
1097
|
-
command.params['name'] = name unless name.nil?
|
1098
|
-
command.query['fields'] = fields unless fields.nil?
|
1099
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1100
|
-
execute_or_queue_command(command, &block)
|
1101
|
-
end
|
1102
|
-
|
1103
|
-
# Updates a device.
|
1104
|
-
# @param [String] name
|
1105
|
-
# The resource path name. For example,
|
1106
|
-
# `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or
|
1107
|
-
# `projects/p1/locations/us-central1/registries/registry0/devices/`num_id``.
|
1108
|
-
# When `name` is populated as a response from the service, it always ends
|
1109
|
-
# in the device numeric ID.
|
1110
|
-
# @param [Google::Apis::CloudiotV1::Device] device_object
|
1111
|
-
# @param [String] update_mask
|
1112
|
-
# Only updates the `device` fields indicated by this mask.
|
1113
|
-
# The field mask must not be empty, and it must not contain fields that
|
1114
|
-
# are immutable or only set by the server.
|
1115
|
-
# Mutable top-level fields: `credentials`, `blocked`, and `metadata`
|
1116
|
-
# @param [String] fields
|
1117
|
-
# Selector specifying which fields to include in a partial response.
|
1118
|
-
# @param [String] quota_user
|
1119
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1120
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1121
|
-
# @param [Google::Apis::RequestOptions] options
|
1122
|
-
# Request-specific options
|
1123
|
-
#
|
1124
|
-
# @yield [result, err] Result & error if block supplied
|
1125
|
-
# @yieldparam result [Google::Apis::CloudiotV1::Device] parsed result object
|
1126
|
-
# @yieldparam err [StandardError] error object if request failed
|
1127
|
-
#
|
1128
|
-
# @return [Google::Apis::CloudiotV1::Device]
|
1129
|
-
#
|
1130
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1131
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1132
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1133
|
-
def patch_project_location_registry_group_device(name, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1134
|
-
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1135
|
-
command.request_representation = Google::Apis::CloudiotV1::Device::Representation
|
1136
|
-
command.request_object = device_object
|
1137
|
-
command.response_representation = Google::Apis::CloudiotV1::Device::Representation
|
1138
|
-
command.response_class = Google::Apis::CloudiotV1::Device
|
1139
|
-
command.params['name'] = name unless name.nil?
|
1140
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1141
|
-
command.query['fields'] = fields unless fields.nil?
|
1142
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1143
|
-
execute_or_queue_command(command, &block)
|
1144
|
-
end
|
1145
|
-
|
1146
|
-
# Sends a command to the specified device. In order for a device to be able
|
1147
|
-
# to receive commands, it must:
|
1148
|
-
# 1) be connected to Cloud IoT Core using the MQTT protocol, and
|
1149
|
-
# 2) be subscribed to the group of MQTT topics specified by
|
1150
|
-
# /devices/`device-id`/commands/#. This subscription will receive commands
|
1151
|
-
# at the top-level topic /devices/`device-id`/commands as well as commands
|
1152
|
-
# for subfolders, like /devices/`device-id`/commands/subfolder.
|
1153
|
-
# Note that subscribing to specific subfolders is not supported.
|
1154
|
-
# If the command could not be delivered to the device, this method will
|
1155
|
-
# return an error; in particular, if the device is not subscribed, this
|
1156
|
-
# method will return FAILED_PRECONDITION. Otherwise, this method will
|
1157
|
-
# return OK. If the subscription is QoS 1, at least once delivery will be
|
1158
|
-
# guaranteed; for QoS 0, no acknowledgment will be expected from the device.
|
1159
|
-
# @param [String] name
|
1160
|
-
# The name of the device. For example,
|
1161
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
1162
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
1163
|
-
# @param [Google::Apis::CloudiotV1::SendCommandToDeviceRequest] send_command_to_device_request_object
|
1164
|
-
# @param [String] fields
|
1165
|
-
# Selector specifying which fields to include in a partial response.
|
1166
|
-
# @param [String] quota_user
|
1167
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1168
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1169
|
-
# @param [Google::Apis::RequestOptions] options
|
1170
|
-
# Request-specific options
|
1171
|
-
#
|
1172
|
-
# @yield [result, err] Result & error if block supplied
|
1173
|
-
# @yieldparam result [Google::Apis::CloudiotV1::SendCommandToDeviceResponse] parsed result object
|
1174
|
-
# @yieldparam err [StandardError] error object if request failed
|
1175
|
-
#
|
1176
|
-
# @return [Google::Apis::CloudiotV1::SendCommandToDeviceResponse]
|
1177
|
-
#
|
1178
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1179
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1180
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1181
|
-
def send_project_location_registry_group_device_command_to_device(name, send_command_to_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1182
|
-
command = make_simple_command(:post, 'v1/{+name}:sendCommandToDevice', options)
|
1183
|
-
command.request_representation = Google::Apis::CloudiotV1::SendCommandToDeviceRequest::Representation
|
1184
|
-
command.request_object = send_command_to_device_request_object
|
1185
|
-
command.response_representation = Google::Apis::CloudiotV1::SendCommandToDeviceResponse::Representation
|
1186
|
-
command.response_class = Google::Apis::CloudiotV1::SendCommandToDeviceResponse
|
1187
|
-
command.params['name'] = name unless name.nil?
|
1188
|
-
command.query['fields'] = fields unless fields.nil?
|
1189
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1190
|
-
execute_or_queue_command(command, &block)
|
1191
|
-
end
|
1192
|
-
|
1193
|
-
# Lists the last few versions of the device configuration in descending
|
1194
|
-
# order (i.e.: newest first).
|
1195
|
-
# @param [String] name
|
1196
|
-
# The name of the device. For example,
|
1197
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
1198
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
1199
|
-
# @param [Fixnum] num_versions
|
1200
|
-
# The number of versions to list. Versions are listed in decreasing order of
|
1201
|
-
# the version number. The maximum number of versions retained is 10. If this
|
1202
|
-
# value is zero, it will return all the versions available.
|
1203
|
-
# @param [String] fields
|
1204
|
-
# Selector specifying which fields to include in a partial response.
|
1205
|
-
# @param [String] quota_user
|
1206
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1207
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1208
|
-
# @param [Google::Apis::RequestOptions] options
|
1209
|
-
# Request-specific options
|
1210
|
-
#
|
1211
|
-
# @yield [result, err] Result & error if block supplied
|
1212
|
-
# @yieldparam result [Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse] parsed result object
|
1213
|
-
# @yieldparam err [StandardError] error object if request failed
|
1214
|
-
#
|
1215
|
-
# @return [Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse]
|
1216
|
-
#
|
1217
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1218
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1219
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1220
|
-
def list_project_location_registry_group_device_config_versions(name, num_versions: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1221
|
-
command = make_simple_command(:get, 'v1/{+name}/configVersions', options)
|
1222
|
-
command.response_representation = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse::Representation
|
1223
|
-
command.response_class = Google::Apis::CloudiotV1::ListDeviceConfigVersionsResponse
|
1224
|
-
command.params['name'] = name unless name.nil?
|
1225
|
-
command.query['numVersions'] = num_versions unless num_versions.nil?
|
1226
|
-
command.query['fields'] = fields unless fields.nil?
|
1227
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1228
|
-
execute_or_queue_command(command, &block)
|
1229
|
-
end
|
1230
|
-
|
1231
|
-
# Lists the last few versions of the device state in descending order (i.e.:
|
1232
|
-
# newest first).
|
1233
|
-
# @param [String] name
|
1234
|
-
# The name of the device. For example,
|
1235
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
|
1236
|
-
# `projects/p0/locations/us-central1/registries/registry0/devices/`num_id``.
|
1237
|
-
# @param [Fixnum] num_states
|
1238
|
-
# The number of states to list. States are listed in descending order of
|
1239
|
-
# update time. The maximum number of states retained is 10. If this
|
1240
|
-
# value is zero, it will return all the states available.
|
1241
|
-
# @param [String] fields
|
1242
|
-
# Selector specifying which fields to include in a partial response.
|
1243
|
-
# @param [String] quota_user
|
1244
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1245
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1246
|
-
# @param [Google::Apis::RequestOptions] options
|
1247
|
-
# Request-specific options
|
1248
|
-
#
|
1249
|
-
# @yield [result, err] Result & error if block supplied
|
1250
|
-
# @yieldparam result [Google::Apis::CloudiotV1::ListDeviceStatesResponse] parsed result object
|
1251
|
-
# @yieldparam err [StandardError] error object if request failed
|
1252
|
-
#
|
1253
|
-
# @return [Google::Apis::CloudiotV1::ListDeviceStatesResponse]
|
1254
|
-
#
|
1255
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1256
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1257
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1258
|
-
def list_project_location_registry_group_device_states(name, num_states: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1259
|
-
command = make_simple_command(:get, 'v1/{+name}/states', options)
|
1260
|
-
command.response_representation = Google::Apis::CloudiotV1::ListDeviceStatesResponse::Representation
|
1261
|
-
command.response_class = Google::Apis::CloudiotV1::ListDeviceStatesResponse
|
1262
|
-
command.params['name'] = name unless name.nil?
|
1263
|
-
command.query['numStates'] = num_states unless num_states.nil?
|
1264
|
-
command.query['fields'] = fields unless fields.nil?
|
1265
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1266
|
-
execute_or_queue_command(command, &block)
|
1267
|
-
end
|
1268
961
|
|
1269
962
|
protected
|
1270
963
|
|