google-api-client 0.44.0 → 0.46.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 +305 -0
- data/api_names.yaml +1 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +25 -14
- data/generated/google/apis/accessapproval_v1/service.rb +27 -27
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +1 -15
- data/generated/google/apis/admin_directory_v1/representations.rb +1 -14
- data/generated/google/apis/admin_directory_v1/service.rb +89 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +4 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +247 -27
- data/generated/google/apis/apigee_v1/representations.rb +90 -3
- data/generated/google/apis/apigee_v1/service.rb +63 -43
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +51 -24
- data/generated/google/apis/appengine_v1/representations.rb +15 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +58 -24
- data/generated/google/apis/appengine_v1beta/representations.rb +16 -0
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +86 -18
- data/generated/google/apis/bigquery_v2/representations.rb +18 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +87 -119
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +405 -607
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +194 -0
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +194 -0
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +35 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +79 -5
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +47 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +7 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +220 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +8 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +12 -1
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +397 -65
- data/generated/google/apis/cloudidentity_v1/representations.rb +168 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -70
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +208 -7
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +94 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +179 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +7 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +61 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +25 -24
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +25 -18
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +513 -131
- data/generated/google/apis/compute_alpha/representations.rb +124 -8
- data/generated/google/apis/compute_alpha/service.rb +1685 -762
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +491 -83
- data/generated/google/apis/compute_beta/representations.rb +96 -1
- data/generated/google/apis/compute_beta/service.rb +802 -133
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +308 -45
- data/generated/google/apis/compute_v1/representations.rb +54 -1
- data/generated/google/apis/compute_v1/service.rb +736 -130
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +57 -2
- data/generated/google/apis/container_v1/representations.rb +7 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +80 -8
- data/generated/google/apis/container_v1beta1/representations.rb +21 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +7 -0
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +16 -4
- data/generated/google/apis/content_v2_1/representations.rb +1 -0
- data/generated/google/apis/content_v2_1/service.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +8 -1
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +152 -5
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/datafusion_v1.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1/representations.rb +2 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +15 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +47 -8
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +51 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +17 -0
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_3/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +0 -164
- data/generated/google/apis/dfareporting_v3_4/representations.rb +0 -42
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +202 -26
- data/generated/google/apis/dialogflow_v2/representations.rb +97 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +220 -42
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +97 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +464 -326
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +289 -33
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +131 -1
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +8 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +1 -0
- data/generated/google/apis/displayvideo_v1/service.rb +2 -2
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +31 -5
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +328 -328
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1059 -6
- data/generated/google/apis/documentai_v1beta2/representations.rb +398 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +1 -2
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +8 -4
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +160 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +68 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +5 -5
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +75 -1
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +183 -19
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1007 -2
- data/generated/google/apis/healthcare_v1beta1/representations.rb +454 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1458 -19
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +7 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +7 -0
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +7 -0
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +98 -55
- data/generated/google/apis/logging_v2/representations.rb +32 -0
- data/generated/google/apis/logging_v2/service.rb +1214 -264
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +2 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +7 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +43 -37
- data/generated/google/apis/monitoring_v3/service.rb +5 -5
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +4 -4
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -704
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +13 -13
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +8 -6
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +5 -391
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +33 -391
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +36 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -132
- data/generated/google/apis/run_v1/representations.rb +0 -61
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -0
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +168 -2
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +7 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +5 -199
- data/generated/google/apis/securitycenter_v1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -72
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +2 -196
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +0 -72
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -4
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +5 -3
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +7 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +0 -22
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +0 -36
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -9
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +175 -85
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +174 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +180 -104
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +120 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +2 -10
- data/generated/google/apis/storage_v1/representations.rb +0 -1
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/{appsactivity_v1.rb → sts_v1.rb} +9 -11
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +194 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1/representations.rb +18 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +43 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +18 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -2
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1/service.rb +31 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/workflowexecutions_v1beta/service.rb +211 -0
- data/generated/google/apis/workflows_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +12 -945
- data/generated/google/apis/youtube_v3/representations.rb +0 -445
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +70 -16
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -34,24 +34,48 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
49
|
+
class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
46
58
|
include Google::Apis::Core::JsonObjectSupport
|
47
59
|
end
|
48
60
|
|
61
|
+
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
49
67
|
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
|
50
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
69
|
|
52
70
|
include Google::Apis::Core::JsonObjectSupport
|
53
71
|
end
|
54
72
|
|
73
|
+
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
55
79
|
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
|
56
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
81
|
|
@@ -82,12 +106,48 @@ module Google
|
|
82
106
|
include Google::Apis::Core::JsonObjectSupport
|
83
107
|
end
|
84
108
|
|
109
|
+
class GoogleAppsCloudidentityDevicesV1ListClientStatesResponse
|
110
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
+
|
112
|
+
include Google::Apis::Core::JsonObjectSupport
|
113
|
+
end
|
114
|
+
|
115
|
+
class GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class GoogleAppsCloudidentityDevicesV1ListDevicesResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
85
139
|
class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
|
86
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
141
|
|
88
142
|
include Google::Apis::Core::JsonObjectSupport
|
89
143
|
end
|
90
144
|
|
145
|
+
class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
91
151
|
class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
|
92
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
153
|
|
@@ -136,6 +196,18 @@ module Google
|
|
136
196
|
include Google::Apis::Core::JsonObjectSupport
|
137
197
|
end
|
138
198
|
|
199
|
+
class ModifyMembershipRolesRequest
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
205
|
+
class ModifyMembershipRolesResponse
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
139
211
|
class Operation
|
140
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
213
|
|
@@ -172,6 +244,13 @@ module Google
|
|
172
244
|
end
|
173
245
|
end
|
174
246
|
|
247
|
+
class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest
|
248
|
+
# @private
|
249
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
250
|
+
property :customer, as: 'customer'
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
175
254
|
class GoogleAppsCloudidentityDevicesV1ApproveDeviceUserResponse
|
176
255
|
# @private
|
177
256
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -180,6 +259,13 @@ module Google
|
|
180
259
|
end
|
181
260
|
end
|
182
261
|
|
262
|
+
class GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest
|
263
|
+
# @private
|
264
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
265
|
+
property :customer, as: 'customer'
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
183
269
|
class GoogleAppsCloudidentityDevicesV1BlockDeviceUserResponse
|
184
270
|
# @private
|
185
271
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -188,6 +274,13 @@ module Google
|
|
188
274
|
end
|
189
275
|
end
|
190
276
|
|
277
|
+
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest
|
278
|
+
# @private
|
279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
280
|
+
property :customer, as: 'customer'
|
281
|
+
end
|
282
|
+
end
|
283
|
+
|
191
284
|
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceResponse
|
192
285
|
# @private
|
193
286
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -196,6 +289,13 @@ module Google
|
|
196
289
|
end
|
197
290
|
end
|
198
291
|
|
292
|
+
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest
|
293
|
+
# @private
|
294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
295
|
+
property :customer, as: 'customer'
|
296
|
+
end
|
297
|
+
end
|
298
|
+
|
199
299
|
class GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserResponse
|
200
300
|
# @private
|
201
301
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -283,6 +383,49 @@ module Google
|
|
283
383
|
end
|
284
384
|
end
|
285
385
|
|
386
|
+
class GoogleAppsCloudidentityDevicesV1ListClientStatesResponse
|
387
|
+
# @private
|
388
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
389
|
+
collection :client_states, as: 'clientStates', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState::Representation
|
390
|
+
|
391
|
+
property :next_page_token, as: 'nextPageToken'
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
class GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse
|
396
|
+
# @private
|
397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
collection :device_users, as: 'deviceUsers', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
|
399
|
+
|
400
|
+
property :next_page_token, as: 'nextPageToken'
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
class GoogleAppsCloudidentityDevicesV1ListDevicesResponse
|
405
|
+
# @private
|
406
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
407
|
+
collection :devices, as: 'devices', class: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device, decorator: Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device::Representation
|
408
|
+
|
409
|
+
property :next_page_token, as: 'nextPageToken'
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
class GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse
|
414
|
+
# @private
|
415
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
416
|
+
property :customer, as: 'customer'
|
417
|
+
collection :names, as: 'names'
|
418
|
+
property :next_page_token, as: 'nextPageToken'
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
class GoogleAppsCloudidentityDevicesV1WipeDeviceRequest
|
423
|
+
# @private
|
424
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
425
|
+
property :customer, as: 'customer'
|
426
|
+
end
|
427
|
+
end
|
428
|
+
|
286
429
|
class GoogleAppsCloudidentityDevicesV1WipeDeviceResponse
|
287
430
|
# @private
|
288
431
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -291,6 +434,13 @@ module Google
|
|
291
434
|
end
|
292
435
|
end
|
293
436
|
|
437
|
+
class GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest
|
438
|
+
# @private
|
439
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
440
|
+
property :customer, as: 'customer'
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
294
444
|
class GoogleAppsCloudidentityDevicesV1WipeDeviceUserResponse
|
295
445
|
# @private
|
296
446
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -355,6 +505,7 @@ module Google
|
|
355
505
|
|
356
506
|
collection :roles, as: 'roles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
|
357
507
|
|
508
|
+
property :type, as: 'type'
|
358
509
|
property :update_time, as: 'updateTime'
|
359
510
|
end
|
360
511
|
end
|
@@ -366,6 +517,23 @@ module Google
|
|
366
517
|
end
|
367
518
|
end
|
368
519
|
|
520
|
+
class ModifyMembershipRolesRequest
|
521
|
+
# @private
|
522
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
523
|
+
collection :add_roles, as: 'addRoles', class: Google::Apis::CloudidentityV1::MembershipRole, decorator: Google::Apis::CloudidentityV1::MembershipRole::Representation
|
524
|
+
|
525
|
+
collection :remove_roles, as: 'removeRoles'
|
526
|
+
end
|
527
|
+
end
|
528
|
+
|
529
|
+
class ModifyMembershipRolesResponse
|
530
|
+
# @private
|
531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
532
|
+
property :membership, as: 'membership', class: Google::Apis::CloudidentityV1::Membership, decorator: Google::Apis::CloudidentityV1::Membership::Representation
|
533
|
+
|
534
|
+
end
|
535
|
+
end
|
536
|
+
|
369
537
|
class Operation
|
370
538
|
# @private
|
371
539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -47,8 +47,769 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
+
# Cancels an unfinished device wipe. This operation can be used to cancel device
|
51
|
+
# wipe in the gap between the wipe operation returning success and the device
|
52
|
+
# being wiped. This operation is possible when the device is in a "pending wipe"
|
53
|
+
# state. The device enters the "pending wipe" state when a wipe device command
|
54
|
+
# is issued, but has not yet been sent to the device. The cancel wipe will fail
|
55
|
+
# if the wipe command has already been issued to the device.
|
56
|
+
# @param [String] name
|
57
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
58
|
+
# of the Device in format: `devices/`device_id``, where device_id is the unique
|
59
|
+
# ID assigned to the Device, and device_user_id is the unique ID assigned to the
|
60
|
+
# User.
|
61
|
+
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest] google_apps_cloudidentity_devices_v1_cancel_wipe_device_request_object
|
62
|
+
# @param [String] fields
|
63
|
+
# Selector specifying which fields to include in a partial response.
|
64
|
+
# @param [String] quota_user
|
65
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
66
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
67
|
+
# @param [Google::Apis::RequestOptions] options
|
68
|
+
# Request-specific options
|
69
|
+
#
|
70
|
+
# @yield [result, err] Result & error if block supplied
|
71
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
72
|
+
# @yieldparam err [StandardError] error object if request failed
|
73
|
+
#
|
74
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
75
|
+
#
|
76
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
+
def cancel_device_wipe(name, google_apps_cloudidentity_devices_v1_cancel_wipe_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
80
|
+
command = make_simple_command(:post, 'v1/{+name}:cancelWipe', options)
|
81
|
+
command.request_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CancelWipeDeviceRequest::Representation
|
82
|
+
command.request_object = google_apps_cloudidentity_devices_v1_cancel_wipe_device_request_object
|
83
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
84
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
85
|
+
command.params['name'] = name unless name.nil?
|
86
|
+
command.query['fields'] = fields unless fields.nil?
|
87
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
88
|
+
execute_or_queue_command(command, &block)
|
89
|
+
end
|
90
|
+
|
91
|
+
# Creates a device. Only company-owned device may be created.
|
92
|
+
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device] google_apps_cloudidentity_devices_v1_device_object
|
93
|
+
# @param [String] customer
|
94
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
95
|
+
# of the customer. If you're using this API for your own organization, use `
|
96
|
+
# customers/my_customer` If you're using this API to manage another organization,
|
97
|
+
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
98
|
+
# device belongs.
|
99
|
+
# @param [String] fields
|
100
|
+
# Selector specifying which fields to include in a partial response.
|
101
|
+
# @param [String] quota_user
|
102
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
103
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
104
|
+
# @param [Google::Apis::RequestOptions] options
|
105
|
+
# Request-specific options
|
106
|
+
#
|
107
|
+
# @yield [result, err] Result & error if block supplied
|
108
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
109
|
+
# @yieldparam err [StandardError] error object if request failed
|
110
|
+
#
|
111
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
112
|
+
#
|
113
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
+
def create_device(google_apps_cloudidentity_devices_v1_device_object = nil, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
command = make_simple_command(:post, 'v1/devices', options)
|
118
|
+
command.request_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device::Representation
|
119
|
+
command.request_object = google_apps_cloudidentity_devices_v1_device_object
|
120
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
121
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
122
|
+
command.query['customer'] = customer unless customer.nil?
|
123
|
+
command.query['fields'] = fields unless fields.nil?
|
124
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
125
|
+
execute_or_queue_command(command, &block)
|
126
|
+
end
|
127
|
+
|
128
|
+
# Deletes the specified device.
|
129
|
+
# @param [String] name
|
130
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
131
|
+
# of the Device in format: `devices/`device_id``, where device_id is the unique
|
132
|
+
# ID assigned to the Device.
|
133
|
+
# @param [String] customer
|
134
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
135
|
+
# of the customer. If you're using this API for your own organization, use `
|
136
|
+
# customers/my_customer` If you're using this API to manage another organization,
|
137
|
+
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
138
|
+
# device belongs.
|
139
|
+
# @param [String] fields
|
140
|
+
# Selector specifying which fields to include in a partial response.
|
141
|
+
# @param [String] quota_user
|
142
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
143
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
144
|
+
# @param [Google::Apis::RequestOptions] options
|
145
|
+
# Request-specific options
|
146
|
+
#
|
147
|
+
# @yield [result, err] Result & error if block supplied
|
148
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
149
|
+
# @yieldparam err [StandardError] error object if request failed
|
150
|
+
#
|
151
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
152
|
+
#
|
153
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
154
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
155
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
156
|
+
def delete_device(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
|
157
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
158
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
159
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
160
|
+
command.params['name'] = name unless name.nil?
|
161
|
+
command.query['customer'] = customer unless customer.nil?
|
162
|
+
command.query['fields'] = fields unless fields.nil?
|
163
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
164
|
+
execute_or_queue_command(command, &block)
|
165
|
+
end
|
166
|
+
|
167
|
+
# Retrieves the specified device.
|
168
|
+
# @param [String] name
|
169
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
170
|
+
# of the Device in the format: `devices/`device_id``, where device_id is the
|
171
|
+
# unique ID assigned to the Device.
|
172
|
+
# @param [String] customer
|
173
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
174
|
+
# of the Customer in the format: `customers/`customer_id``, where customer_id is
|
175
|
+
# the customer to whom the device belongs. If you're using this API for your own
|
176
|
+
# organization, use `customers/my_customer`. If you're using this API to manage
|
177
|
+
# another organization, use `customers/`customer_id``, where customer_id is the
|
178
|
+
# customer to whom the device belongs.
|
179
|
+
# @param [String] fields
|
180
|
+
# Selector specifying which fields to include in a partial response.
|
181
|
+
# @param [String] quota_user
|
182
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
183
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
184
|
+
# @param [Google::Apis::RequestOptions] options
|
185
|
+
# Request-specific options
|
186
|
+
#
|
187
|
+
# @yield [result, err] Result & error if block supplied
|
188
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device] parsed result object
|
189
|
+
# @yieldparam err [StandardError] error object if request failed
|
190
|
+
#
|
191
|
+
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device]
|
192
|
+
#
|
193
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
194
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
195
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
196
|
+
def get_device(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
|
197
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
198
|
+
command.response_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device::Representation
|
199
|
+
command.response_class = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1Device
|
200
|
+
command.params['name'] = name unless name.nil?
|
201
|
+
command.query['customer'] = customer unless customer.nil?
|
202
|
+
command.query['fields'] = fields unless fields.nil?
|
203
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
204
|
+
execute_or_queue_command(command, &block)
|
205
|
+
end
|
206
|
+
|
207
|
+
# Lists/Searches devices.
|
208
|
+
# @param [String] customer
|
209
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
210
|
+
# of the customer in the format: `customers/`customer_id``, where customer_id is
|
211
|
+
# the customer to whom the device belongs. If you're using this API for your own
|
212
|
+
# organization, use `customers/my_customer`. If you're using this API to manage
|
213
|
+
# another organization, use `customers/`customer_id``, where customer_id is the
|
214
|
+
# customer to whom the device belongs.
|
215
|
+
# @param [String] filter
|
216
|
+
# Optional. Additional restrictions when fetching list of devices. [Help Center
|
217
|
+
# article link](https://support.google.com/a/answer/7549103)
|
218
|
+
# @param [String] order_by
|
219
|
+
# Optional. Order specification for devices in the response. Only one of the
|
220
|
+
# following field names may be used to specify the order: `create_time`, `
|
221
|
+
# last_sync_time`, `model`, `os_version`, `device_type` and `serial_number`. `
|
222
|
+
# desc` may be specified optionally at the end to specify results to be sorted
|
223
|
+
# in descending order. Default order is ascending.
|
224
|
+
# @param [Fixnum] page_size
|
225
|
+
# Optional. The maximum number of Devices to return. If unspecified, at most 20
|
226
|
+
# Devices will be returned. The maximum value is 100; values above 100 will be
|
227
|
+
# coerced to 100.
|
228
|
+
# @param [String] page_token
|
229
|
+
# Optional. A page token, received from a previous `ListDevices` call. Provide
|
230
|
+
# this to retrieve the subsequent page. When paginating, all other parameters
|
231
|
+
# provided to `ListDevices` must match the call that provided the page token.
|
232
|
+
# @param [String] view
|
233
|
+
# Optional. The view to use for the List request.
|
234
|
+
# @param [String] fields
|
235
|
+
# Selector specifying which fields to include in a partial response.
|
236
|
+
# @param [String] quota_user
|
237
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
238
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
239
|
+
# @param [Google::Apis::RequestOptions] options
|
240
|
+
# Request-specific options
|
241
|
+
#
|
242
|
+
# @yield [result, err] Result & error if block supplied
|
243
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDevicesResponse] parsed result object
|
244
|
+
# @yieldparam err [StandardError] error object if request failed
|
245
|
+
#
|
246
|
+
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDevicesResponse]
|
247
|
+
#
|
248
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
249
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
250
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
251
|
+
def list_devices(customer: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block)
|
252
|
+
command = make_simple_command(:get, 'v1/devices', options)
|
253
|
+
command.response_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDevicesResponse::Representation
|
254
|
+
command.response_class = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDevicesResponse
|
255
|
+
command.query['customer'] = customer unless customer.nil?
|
256
|
+
command.query['filter'] = filter unless filter.nil?
|
257
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
258
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
259
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
260
|
+
command.query['view'] = view unless view.nil?
|
261
|
+
command.query['fields'] = fields unless fields.nil?
|
262
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
263
|
+
execute_or_queue_command(command, &block)
|
264
|
+
end
|
265
|
+
|
266
|
+
# Wipes all data on the specified device.
|
267
|
+
# @param [String] name
|
268
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
269
|
+
# of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
|
270
|
+
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
271
|
+
# the unique ID assigned to the User.
|
272
|
+
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1WipeDeviceRequest] google_apps_cloudidentity_devices_v1_wipe_device_request_object
|
273
|
+
# @param [String] fields
|
274
|
+
# Selector specifying which fields to include in a partial response.
|
275
|
+
# @param [String] quota_user
|
276
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
277
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
278
|
+
# @param [Google::Apis::RequestOptions] options
|
279
|
+
# Request-specific options
|
280
|
+
#
|
281
|
+
# @yield [result, err] Result & error if block supplied
|
282
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
283
|
+
# @yieldparam err [StandardError] error object if request failed
|
284
|
+
#
|
285
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
286
|
+
#
|
287
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
288
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
289
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
290
|
+
def wipe_device(name, google_apps_cloudidentity_devices_v1_wipe_device_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
291
|
+
command = make_simple_command(:post, 'v1/{+name}:wipe', options)
|
292
|
+
command.request_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1WipeDeviceRequest::Representation
|
293
|
+
command.request_object = google_apps_cloudidentity_devices_v1_wipe_device_request_object
|
294
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
295
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
296
|
+
command.params['name'] = name unless name.nil?
|
297
|
+
command.query['fields'] = fields unless fields.nil?
|
298
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
299
|
+
execute_or_queue_command(command, &block)
|
300
|
+
end
|
301
|
+
|
302
|
+
# Approves device to access user data.
|
303
|
+
# @param [String] name
|
304
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
305
|
+
# of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
|
306
|
+
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
307
|
+
# the unique ID assigned to the User.
|
308
|
+
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest] google_apps_cloudidentity_devices_v1_approve_device_user_request_object
|
309
|
+
# @param [String] fields
|
310
|
+
# Selector specifying which fields to include in a partial response.
|
311
|
+
# @param [String] quota_user
|
312
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
313
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
314
|
+
# @param [Google::Apis::RequestOptions] options
|
315
|
+
# Request-specific options
|
316
|
+
#
|
317
|
+
# @yield [result, err] Result & error if block supplied
|
318
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
319
|
+
# @yieldparam err [StandardError] error object if request failed
|
320
|
+
#
|
321
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
322
|
+
#
|
323
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
324
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
325
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
326
|
+
def approve_device_device_user(name, google_apps_cloudidentity_devices_v1_approve_device_user_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
327
|
+
command = make_simple_command(:post, 'v1/{+name}:approve', options)
|
328
|
+
command.request_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ApproveDeviceUserRequest::Representation
|
329
|
+
command.request_object = google_apps_cloudidentity_devices_v1_approve_device_user_request_object
|
330
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
331
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
332
|
+
command.params['name'] = name unless name.nil?
|
333
|
+
command.query['fields'] = fields unless fields.nil?
|
334
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
335
|
+
execute_or_queue_command(command, &block)
|
336
|
+
end
|
337
|
+
|
338
|
+
# Blocks device from accessing user data
|
339
|
+
# @param [String] name
|
340
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
341
|
+
# of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
|
342
|
+
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
343
|
+
# the unique ID assigned to the User.
|
344
|
+
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest] google_apps_cloudidentity_devices_v1_block_device_user_request_object
|
345
|
+
# @param [String] fields
|
346
|
+
# Selector specifying which fields to include in a partial response.
|
347
|
+
# @param [String] quota_user
|
348
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
349
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
350
|
+
# @param [Google::Apis::RequestOptions] options
|
351
|
+
# Request-specific options
|
352
|
+
#
|
353
|
+
# @yield [result, err] Result & error if block supplied
|
354
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
355
|
+
# @yieldparam err [StandardError] error object if request failed
|
356
|
+
#
|
357
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
358
|
+
#
|
359
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
360
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
361
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
362
|
+
def block_device_device_user(name, google_apps_cloudidentity_devices_v1_block_device_user_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
363
|
+
command = make_simple_command(:post, 'v1/{+name}:block', options)
|
364
|
+
command.request_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1BlockDeviceUserRequest::Representation
|
365
|
+
command.request_object = google_apps_cloudidentity_devices_v1_block_device_user_request_object
|
366
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
367
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
368
|
+
command.params['name'] = name unless name.nil?
|
369
|
+
command.query['fields'] = fields unless fields.nil?
|
370
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
371
|
+
execute_or_queue_command(command, &block)
|
372
|
+
end
|
373
|
+
|
374
|
+
# Cancels an unfinished user account wipe. This operation can be used to cancel
|
375
|
+
# device wipe in the gap between the wipe operation returning success and the
|
376
|
+
# device being wiped.
|
377
|
+
# @param [String] name
|
378
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
379
|
+
# of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
|
380
|
+
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
381
|
+
# the unique ID assigned to the User.
|
382
|
+
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest] google_apps_cloudidentity_devices_v1_cancel_wipe_device_user_request_object
|
383
|
+
# @param [String] fields
|
384
|
+
# Selector specifying which fields to include in a partial response.
|
385
|
+
# @param [String] quota_user
|
386
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
387
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
388
|
+
# @param [Google::Apis::RequestOptions] options
|
389
|
+
# Request-specific options
|
390
|
+
#
|
391
|
+
# @yield [result, err] Result & error if block supplied
|
392
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
393
|
+
# @yieldparam err [StandardError] error object if request failed
|
394
|
+
#
|
395
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
396
|
+
#
|
397
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
398
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
399
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
400
|
+
def cancel_device_device_user_wipe(name, google_apps_cloudidentity_devices_v1_cancel_wipe_device_user_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
401
|
+
command = make_simple_command(:post, 'v1/{+name}:cancelWipe', options)
|
402
|
+
command.request_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1CancelWipeDeviceUserRequest::Representation
|
403
|
+
command.request_object = google_apps_cloudidentity_devices_v1_cancel_wipe_device_user_request_object
|
404
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
405
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
406
|
+
command.params['name'] = name unless name.nil?
|
407
|
+
command.query['fields'] = fields unless fields.nil?
|
408
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
409
|
+
execute_or_queue_command(command, &block)
|
410
|
+
end
|
411
|
+
|
412
|
+
# Deletes the specified DeviceUser. This also revokes the user's access to
|
413
|
+
# device data.
|
414
|
+
# @param [String] name
|
415
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
416
|
+
# of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
|
417
|
+
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
418
|
+
# the unique ID assigned to the User.
|
419
|
+
# @param [String] customer
|
420
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
421
|
+
# of the customer. If you're using this API for your own organization, use `
|
422
|
+
# customers/my_customer` If you're using this API to manage another organization,
|
423
|
+
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
424
|
+
# device belongs.
|
425
|
+
# @param [String] fields
|
426
|
+
# Selector specifying which fields to include in a partial response.
|
427
|
+
# @param [String] quota_user
|
428
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
429
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
430
|
+
# @param [Google::Apis::RequestOptions] options
|
431
|
+
# Request-specific options
|
432
|
+
#
|
433
|
+
# @yield [result, err] Result & error if block supplied
|
434
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
435
|
+
# @yieldparam err [StandardError] error object if request failed
|
436
|
+
#
|
437
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
438
|
+
#
|
439
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
440
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
441
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
442
|
+
def delete_device_device_user(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
|
443
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
444
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
445
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
446
|
+
command.params['name'] = name unless name.nil?
|
447
|
+
command.query['customer'] = customer unless customer.nil?
|
448
|
+
command.query['fields'] = fields unless fields.nil?
|
449
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
450
|
+
execute_or_queue_command(command, &block)
|
451
|
+
end
|
452
|
+
|
453
|
+
# Retrieves the specified DeviceUser
|
454
|
+
# @param [String] name
|
455
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
456
|
+
# of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
|
457
|
+
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
458
|
+
# the unique ID assigned to the User.
|
459
|
+
# @param [String] customer
|
460
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
461
|
+
# of the customer. If you're using this API for your own organization, use `
|
462
|
+
# customers/my_customer` If you're using this API to manage another organization,
|
463
|
+
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
464
|
+
# device belongs.
|
465
|
+
# @param [String] fields
|
466
|
+
# Selector specifying which fields to include in a partial response.
|
467
|
+
# @param [String] quota_user
|
468
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
469
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
470
|
+
# @param [Google::Apis::RequestOptions] options
|
471
|
+
# Request-specific options
|
472
|
+
#
|
473
|
+
# @yield [result, err] Result & error if block supplied
|
474
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser] parsed result object
|
475
|
+
# @yieldparam err [StandardError] error object if request failed
|
476
|
+
#
|
477
|
+
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser]
|
478
|
+
#
|
479
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
480
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
481
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
482
|
+
def get_device_device_user(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
|
483
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
484
|
+
command.response_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser::Representation
|
485
|
+
command.response_class = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1DeviceUser
|
486
|
+
command.params['name'] = name unless name.nil?
|
487
|
+
command.query['customer'] = customer unless customer.nil?
|
488
|
+
command.query['fields'] = fields unless fields.nil?
|
489
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
490
|
+
execute_or_queue_command(command, &block)
|
491
|
+
end
|
492
|
+
|
493
|
+
# Lists/Searches DeviceUsers.
|
494
|
+
# @param [String] parent
|
495
|
+
# Required. To list all DeviceUsers, set this to "devices/-". To list all
|
496
|
+
# DeviceUsers owned by a device, set this to the resource name of the device.
|
497
|
+
# Format: devices/`device`
|
498
|
+
# @param [String] customer
|
499
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
500
|
+
# of the customer. If you're using this API for your own organization, use `
|
501
|
+
# customers/my_customer` If you're using this API to manage another organization,
|
502
|
+
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
503
|
+
# device belongs.
|
504
|
+
# @param [String] filter
|
505
|
+
# Optional. Additional restrictions when fetching list of devices. [HC article](
|
506
|
+
# https://support.google.com/a/answer/7549103)
|
507
|
+
# @param [String] order_by
|
508
|
+
# Optional. Order specification for devices in the response.
|
509
|
+
# @param [Fixnum] page_size
|
510
|
+
# Optional. The maximum number of DeviceUsers to return. If unspecified, at most
|
511
|
+
# 5 DeviceUsers will be returned. The maximum value is 20; values above 20 will
|
512
|
+
# be coerced to 20.
|
513
|
+
# @param [String] page_token
|
514
|
+
# Optional. A page token, received from a previous `ListDeviceUsers` call.
|
515
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
516
|
+
# parameters provided to `ListBooks` must match the call that provided the page
|
517
|
+
# token.
|
518
|
+
# @param [String] fields
|
519
|
+
# Selector specifying which fields to include in a partial response.
|
520
|
+
# @param [String] quota_user
|
521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
523
|
+
# @param [Google::Apis::RequestOptions] options
|
524
|
+
# Request-specific options
|
525
|
+
#
|
526
|
+
# @yield [result, err] Result & error if block supplied
|
527
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse] parsed result object
|
528
|
+
# @yieldparam err [StandardError] error object if request failed
|
529
|
+
#
|
530
|
+
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse]
|
531
|
+
#
|
532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
535
|
+
def list_device_device_users(parent, customer: nil, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
536
|
+
command = make_simple_command(:get, 'v1/{+parent}/deviceUsers', options)
|
537
|
+
command.response_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse::Representation
|
538
|
+
command.response_class = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListDeviceUsersResponse
|
539
|
+
command.params['parent'] = parent unless parent.nil?
|
540
|
+
command.query['customer'] = customer unless customer.nil?
|
541
|
+
command.query['filter'] = filter unless filter.nil?
|
542
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
543
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
544
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
545
|
+
command.query['fields'] = fields unless fields.nil?
|
546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
547
|
+
execute_or_queue_command(command, &block)
|
548
|
+
end
|
549
|
+
|
550
|
+
# Looks up resource names of the DeviceUsers associated with the caller's
|
551
|
+
# credentials, as well as the properties provided in the request. This method
|
552
|
+
# must be called with end-user credentials with the scope: https://www.
|
553
|
+
# googleapis.com/auth/cloud-identity.devices.lookup If multiple properties are
|
554
|
+
# provided, only DeviceUsers having all of these properties are considered as
|
555
|
+
# matches - i.e. the query behaves like an AND. Different platforms require
|
556
|
+
# different amounts of information from the caller to ensure that the DeviceUser
|
557
|
+
# is uniquely identified. - iOS: No properties need to be passed, the caller's
|
558
|
+
# credentials are sufficient to identify the corresponding DeviceUser. - Android:
|
559
|
+
# Specifying the 'android_id' field is required. - Desktop: Specifying the '
|
560
|
+
# raw_resource_id' field is required.
|
561
|
+
# @param [String] parent
|
562
|
+
# Must be set to "devices/-/deviceUsers" to search across all DeviceUser
|
563
|
+
# belonging to the user.
|
564
|
+
# @param [String] android_id
|
565
|
+
# Android Id returned by [Settings.Secure#ANDROID_ID](https://developer.android.
|
566
|
+
# com/reference/android/provider/Settings.Secure.html#ANDROID_ID).
|
567
|
+
# @param [Fixnum] page_size
|
568
|
+
# The maximum number of DeviceUsers to return. If unspecified, at most 20
|
569
|
+
# DeviceUsers will be returned. The maximum value is 20; values above 20 will be
|
570
|
+
# coerced to 20.
|
571
|
+
# @param [String] page_token
|
572
|
+
# A page token, received from a previous `LookupDeviceUsers` call. Provide this
|
573
|
+
# to retrieve the subsequent page. When paginating, all other parameters
|
574
|
+
# provided to `LookupDeviceUsers` must match the call that provided the page
|
575
|
+
# token.
|
576
|
+
# @param [String] raw_resource_id
|
577
|
+
# Raw Resource Id used by Google Endpoint Verification. If the user is enrolled
|
578
|
+
# into Google Endpoint Verification, this id will be saved as the '
|
579
|
+
# device_resource_id' field in the following platform dependent files. Mac: ~/.
|
580
|
+
# secureConnect/context_aware_config.json Windows: C:\Users\%USERPROFILE%\.
|
581
|
+
# secureConnect\context_aware_config.json Linux: ~/.secureConnect/
|
582
|
+
# context_aware_config.json
|
583
|
+
# @param [String] user_id
|
584
|
+
# The user whose DeviceUser's resource name will be fetched. Must be set to 'me'
|
585
|
+
# to fetch the DeviceUser's resource name for the calling user.
|
586
|
+
# @param [String] fields
|
587
|
+
# Selector specifying which fields to include in a partial response.
|
588
|
+
# @param [String] quota_user
|
589
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
590
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
591
|
+
# @param [Google::Apis::RequestOptions] options
|
592
|
+
# Request-specific options
|
593
|
+
#
|
594
|
+
# @yield [result, err] Result & error if block supplied
|
595
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse] parsed result object
|
596
|
+
# @yieldparam err [StandardError] error object if request failed
|
597
|
+
#
|
598
|
+
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse]
|
599
|
+
#
|
600
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
601
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
602
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
603
|
+
def lookup_device_device_user(parent, android_id: nil, page_size: nil, page_token: nil, raw_resource_id: nil, user_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
604
|
+
command = make_simple_command(:get, 'v1/{+parent}:lookup', options)
|
605
|
+
command.response_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse::Representation
|
606
|
+
command.response_class = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1LookupSelfDeviceUsersResponse
|
607
|
+
command.params['parent'] = parent unless parent.nil?
|
608
|
+
command.query['androidId'] = android_id unless android_id.nil?
|
609
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
610
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
611
|
+
command.query['rawResourceId'] = raw_resource_id unless raw_resource_id.nil?
|
612
|
+
command.query['userId'] = user_id unless user_id.nil?
|
613
|
+
command.query['fields'] = fields unless fields.nil?
|
614
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
615
|
+
execute_or_queue_command(command, &block)
|
616
|
+
end
|
617
|
+
|
618
|
+
# Wipes the user's account on a device. Other data on the device that is not
|
619
|
+
# associated with the user's work account is not affected. For example, if a
|
620
|
+
# Gmail app is installed on a device that is used for personal and work purposes,
|
621
|
+
# and the user is logged in to the Gmail app with their personal account as
|
622
|
+
# well as their work account, wiping the "deviceUser" by their work
|
623
|
+
# administrator will not affect their personal account within Gmail or other
|
624
|
+
# apps such as Photos.
|
625
|
+
# @param [String] name
|
626
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
627
|
+
# of the Device in format: `devices/`device_id`/deviceUsers/`device_user_id``,
|
628
|
+
# where device_id is the unique ID assigned to the Device, and device_user_id is
|
629
|
+
# the unique ID assigned to the User.
|
630
|
+
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest] google_apps_cloudidentity_devices_v1_wipe_device_user_request_object
|
631
|
+
# @param [String] fields
|
632
|
+
# Selector specifying which fields to include in a partial response.
|
633
|
+
# @param [String] quota_user
|
634
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
635
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
636
|
+
# @param [Google::Apis::RequestOptions] options
|
637
|
+
# Request-specific options
|
638
|
+
#
|
639
|
+
# @yield [result, err] Result & error if block supplied
|
640
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
641
|
+
# @yieldparam err [StandardError] error object if request failed
|
642
|
+
#
|
643
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
644
|
+
#
|
645
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
646
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
647
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
648
|
+
def wipe_device_device_user(name, google_apps_cloudidentity_devices_v1_wipe_device_user_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
649
|
+
command = make_simple_command(:post, 'v1/{+name}:wipe', options)
|
650
|
+
command.request_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1WipeDeviceUserRequest::Representation
|
651
|
+
command.request_object = google_apps_cloudidentity_devices_v1_wipe_device_user_request_object
|
652
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
653
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
654
|
+
command.params['name'] = name unless name.nil?
|
655
|
+
command.query['fields'] = fields unless fields.nil?
|
656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
657
|
+
execute_or_queue_command(command, &block)
|
658
|
+
end
|
659
|
+
|
660
|
+
# Gets the client state for the device user
|
661
|
+
# @param [String] name
|
662
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
663
|
+
# of the ClientState in format: `devices/`device_id`/deviceUsers/`device_user_id`
|
664
|
+
# /clientStates/`partner_id``, where device_id is the unique ID assigned to the
|
665
|
+
# Device, device_user_id is the unique ID assigned to the User and partner_id
|
666
|
+
# identifies the partner storing the data.
|
667
|
+
# @param [String] customer
|
668
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
669
|
+
# of the customer. If you're using this API for your own organization, use `
|
670
|
+
# customers/my_customer` If you're using this API to manage another organization,
|
671
|
+
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
672
|
+
# device belongs.
|
673
|
+
# @param [String] fields
|
674
|
+
# Selector specifying which fields to include in a partial response.
|
675
|
+
# @param [String] quota_user
|
676
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
677
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
678
|
+
# @param [Google::Apis::RequestOptions] options
|
679
|
+
# Request-specific options
|
680
|
+
#
|
681
|
+
# @yield [result, err] Result & error if block supplied
|
682
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState] parsed result object
|
683
|
+
# @yieldparam err [StandardError] error object if request failed
|
684
|
+
#
|
685
|
+
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState]
|
686
|
+
#
|
687
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
688
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
689
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
690
|
+
def get_device_device_user_client_state(name, customer: nil, fields: nil, quota_user: nil, options: nil, &block)
|
691
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
692
|
+
command.response_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState::Representation
|
693
|
+
command.response_class = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState
|
694
|
+
command.params['name'] = name unless name.nil?
|
695
|
+
command.query['customer'] = customer unless customer.nil?
|
696
|
+
command.query['fields'] = fields unless fields.nil?
|
697
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
698
|
+
execute_or_queue_command(command, &block)
|
699
|
+
end
|
700
|
+
|
701
|
+
# Lists the client states for the given search query.
|
702
|
+
# @param [String] parent
|
703
|
+
# Required. To list all ClientStates, set this to "devices/-/deviceUsers/-". To
|
704
|
+
# list all ClientStates owned by a DeviceUser, set this to the resource name of
|
705
|
+
# the DeviceUser. Format: devices/`device`/deviceUsers/`deviceUser`
|
706
|
+
# @param [String] customer
|
707
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
708
|
+
# of the customer. If you're using this API for your own organization, use `
|
709
|
+
# customers/my_customer` If you're using this API to manage another organization,
|
710
|
+
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
711
|
+
# device belongs.
|
712
|
+
# @param [String] filter
|
713
|
+
# Optional. Additional restrictions when fetching list of client states.
|
714
|
+
# @param [String] order_by
|
715
|
+
# Optional. Order specification for client states in the response.
|
716
|
+
# @param [String] page_token
|
717
|
+
# Optional. A page token, received from a previous `ListClientStates` call.
|
718
|
+
# Provide this to retrieve the subsequent page. When paginating, all other
|
719
|
+
# parameters provided to `ListClientStates` must match the call that provided
|
720
|
+
# the page token.
|
721
|
+
# @param [String] fields
|
722
|
+
# Selector specifying which fields to include in a partial response.
|
723
|
+
# @param [String] quota_user
|
724
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
725
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
726
|
+
# @param [Google::Apis::RequestOptions] options
|
727
|
+
# Request-specific options
|
728
|
+
#
|
729
|
+
# @yield [result, err] Result & error if block supplied
|
730
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListClientStatesResponse] parsed result object
|
731
|
+
# @yieldparam err [StandardError] error object if request failed
|
732
|
+
#
|
733
|
+
# @return [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListClientStatesResponse]
|
734
|
+
#
|
735
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
736
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
737
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
738
|
+
def list_device_device_user_client_states(parent, customer: nil, filter: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
739
|
+
command = make_simple_command(:get, 'v1/{+parent}/clientStates', options)
|
740
|
+
command.response_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListClientStatesResponse::Representation
|
741
|
+
command.response_class = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ListClientStatesResponse
|
742
|
+
command.params['parent'] = parent unless parent.nil?
|
743
|
+
command.query['customer'] = customer unless customer.nil?
|
744
|
+
command.query['filter'] = filter unless filter.nil?
|
745
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
746
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
747
|
+
command.query['fields'] = fields unless fields.nil?
|
748
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
749
|
+
execute_or_queue_command(command, &block)
|
750
|
+
end
|
751
|
+
|
752
|
+
# Updates the client state for the device user
|
753
|
+
# @param [String] name
|
754
|
+
# Output only. [Resource name](https://cloud.google.com/apis/design/
|
755
|
+
# resource_names) of the ClientState in format: `devices/`device_id`/deviceUsers/
|
756
|
+
# `device_user_id`/clientState/`partner_id``, where partner_id corresponds to
|
757
|
+
# the partner storing the data. For partners belonging to the "BeyondCorp
|
758
|
+
# Alliance", this is the partner ID specified to you by Google. For all other
|
759
|
+
# callers, this is a string of the form: ``customer_id`-suffix`, where `
|
760
|
+
# customer_id` is your customer ID. The *suffix* is any string the caller
|
761
|
+
# specifies. This string will be displayed verbatim in the administration
|
762
|
+
# console. This suffix is used in setting up Custom Access Levels in Context-
|
763
|
+
# Aware Access. Your organization's customer ID can be obtained from the URL: `
|
764
|
+
# GET https://www.googleapis.com/admin/directory/v1/customers/my_customer` The `
|
765
|
+
# id` field in the response contains the customer ID starting with the letter 'C'
|
766
|
+
# . The customer ID to be used in this API is the string after the letter 'C' (
|
767
|
+
# not including 'C')
|
768
|
+
# @param [Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState] google_apps_cloudidentity_devices_v1_client_state_object
|
769
|
+
# @param [String] customer
|
770
|
+
# Required. [Resource name](https://cloud.google.com/apis/design/resource_names)
|
771
|
+
# of the customer. If you're using this API for your own organization, use `
|
772
|
+
# customers/my_customer` If you're using this API to manage another organization,
|
773
|
+
# use `customers/`customer_id``, where customer_id is the customer to whom the
|
774
|
+
# device belongs.
|
775
|
+
# @param [String] update_mask
|
776
|
+
# Optional. Comma-separated list of fully qualified names of fields to be
|
777
|
+
# updated. If not specified, all updatable fields in ClientState are updated.
|
778
|
+
# @param [String] fields
|
779
|
+
# Selector specifying which fields to include in a partial response.
|
780
|
+
# @param [String] quota_user
|
781
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
782
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
783
|
+
# @param [Google::Apis::RequestOptions] options
|
784
|
+
# Request-specific options
|
785
|
+
#
|
786
|
+
# @yield [result, err] Result & error if block supplied
|
787
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::Operation] parsed result object
|
788
|
+
# @yieldparam err [StandardError] error object if request failed
|
789
|
+
#
|
790
|
+
# @return [Google::Apis::CloudidentityV1::Operation]
|
791
|
+
#
|
792
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
793
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
794
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
795
|
+
def patch_device_device_user_client_state(name, google_apps_cloudidentity_devices_v1_client_state_object = nil, customer: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
796
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
797
|
+
command.request_representation = Google::Apis::CloudidentityV1::GoogleAppsCloudidentityDevicesV1ClientState::Representation
|
798
|
+
command.request_object = google_apps_cloudidentity_devices_v1_client_state_object
|
799
|
+
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
800
|
+
command.response_class = Google::Apis::CloudidentityV1::Operation
|
801
|
+
command.params['name'] = name unless name.nil?
|
802
|
+
command.query['customer'] = customer unless customer.nil?
|
803
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
804
|
+
command.query['fields'] = fields unless fields.nil?
|
805
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
806
|
+
execute_or_queue_command(command, &block)
|
807
|
+
end
|
808
|
+
|
50
809
|
# Creates a Group.
|
51
810
|
# @param [Google::Apis::CloudidentityV1::Group] group_object
|
811
|
+
# @param [String] initial_group_config
|
812
|
+
# Optional. The initial configuration option for the `Group`.
|
52
813
|
# @param [String] fields
|
53
814
|
# Selector specifying which fields to include in a partial response.
|
54
815
|
# @param [String] quota_user
|
@@ -66,22 +827,23 @@ module Google
|
|
66
827
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
67
828
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
68
829
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
69
|
-
def create_group(group_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
830
|
+
def create_group(group_object = nil, initial_group_config: nil, fields: nil, quota_user: nil, options: nil, &block)
|
70
831
|
command = make_simple_command(:post, 'v1/groups', options)
|
71
832
|
command.request_representation = Google::Apis::CloudidentityV1::Group::Representation
|
72
833
|
command.request_object = group_object
|
73
834
|
command.response_representation = Google::Apis::CloudidentityV1::Operation::Representation
|
74
835
|
command.response_class = Google::Apis::CloudidentityV1::Operation
|
836
|
+
command.query['initialGroupConfig'] = initial_group_config unless initial_group_config.nil?
|
75
837
|
command.query['fields'] = fields unless fields.nil?
|
76
838
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
77
839
|
execute_or_queue_command(command, &block)
|
78
840
|
end
|
79
841
|
|
80
|
-
# Deletes a Group
|
842
|
+
# Deletes a `Group`.
|
81
843
|
# @param [String] name
|
82
|
-
# Required. [
|
83
|
-
# of the Group
|
84
|
-
#
|
844
|
+
# Required. The [resource name](https://cloud.google.com/apis/design/
|
845
|
+
# resource_names) of the `Group` to retrieve. Must be of the form `groups/`
|
846
|
+
# group_id``.
|
85
847
|
# @param [String] fields
|
86
848
|
# Selector specifying which fields to include in a partial response.
|
87
849
|
# @param [String] quota_user
|
@@ -109,11 +871,11 @@ module Google
|
|
109
871
|
execute_or_queue_command(command, &block)
|
110
872
|
end
|
111
873
|
|
112
|
-
# Retrieves a Group
|
874
|
+
# Retrieves a `Group`.
|
113
875
|
# @param [String] name
|
114
|
-
# Required. [
|
115
|
-
# of the Group
|
116
|
-
#
|
876
|
+
# Required. The [resource name](https://cloud.google.com/apis/design/
|
877
|
+
# resource_names) of the `Group` to retrieve. Must be of the form `groups/`
|
878
|
+
# group_id``.
|
117
879
|
# @param [String] fields
|
118
880
|
# Selector specifying which fields to include in a partial response.
|
119
881
|
# @param [String] quota_user
|
@@ -141,16 +903,22 @@ module Google
|
|
141
903
|
execute_or_queue_command(command, &block)
|
142
904
|
end
|
143
905
|
|
144
|
-
# Lists
|
906
|
+
# Lists the `Group`s under a customer or namespace.
|
145
907
|
# @param [Fixnum] page_size
|
146
|
-
# The
|
147
|
-
#
|
908
|
+
# The maximum number of results to return. Note that the number of results
|
909
|
+
# returned may be less than this value even if there are more available results.
|
910
|
+
# To fetch all results, clients must continue calling this method repeatedly
|
911
|
+
# until the response no longer contains a `next_page_token`. If unspecified,
|
912
|
+
# defaults to 200 for `View.BASIC` and to 50 for `View.FULL`. Must not be
|
913
|
+
# greater than 1000 for `View.BASIC` or 500 for `View.FULL`.
|
148
914
|
# @param [String] page_token
|
149
|
-
# The next_page_token value returned from a previous list request, if any.
|
915
|
+
# The `next_page_token` value returned from a previous list request, if any.
|
150
916
|
# @param [String] parent
|
151
|
-
# Required.
|
917
|
+
# Required. The parent resource under which to list all `Group`s. Must be of the
|
918
|
+
# form `identitysources/`identity_source_id`` for external- identity-mapped
|
919
|
+
# groups or `customers/`customer_id`` for Google Groups.
|
152
920
|
# @param [String] view
|
153
|
-
#
|
921
|
+
# The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
|
154
922
|
# @param [String] fields
|
155
923
|
# Selector specifying which fields to include in a partial response.
|
156
924
|
# @param [String] quota_user
|
@@ -181,16 +949,19 @@ module Google
|
|
181
949
|
execute_or_queue_command(command, &block)
|
182
950
|
end
|
183
951
|
|
184
|
-
# Looks up [resource name](https://cloud.google.com/apis/design/
|
185
|
-
# of a Group by its EntityKey
|
952
|
+
# Looks up the [resource name](https://cloud.google.com/apis/design/
|
953
|
+
# resource_names) of a `Group` by its `EntityKey`.
|
186
954
|
# @param [String] group_key_id
|
187
|
-
# The ID of the entity
|
188
|
-
#
|
955
|
+
# The ID of the entity. For Google-managed entities, the `id` should be the
|
956
|
+
# email address of an existing group or user. For external-identity-mapped
|
957
|
+
# entities, the `id` must be a string conforming to the Identity Source's
|
958
|
+
# requirements. Must be unique within a `namespace`.
|
189
959
|
# @param [String] group_key_namespace
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
960
|
+
# The namespace in which the entity exists. If not specified, the `EntityKey`
|
961
|
+
# represents a Google-managed entity such as a Google user or a Google Group. If
|
962
|
+
# specified, the `EntityKey` represents an external-identity-mapped group. The
|
963
|
+
# namespace must correspond to an identity source created in Admin Console and
|
964
|
+
# must be in the form of `identitysources/`identity_source_id`.
|
194
965
|
# @param [String] fields
|
195
966
|
# Selector specifying which fields to include in a partial response.
|
196
967
|
# @param [String] quota_user
|
@@ -219,15 +990,14 @@ module Google
|
|
219
990
|
execute_or_queue_command(command, &block)
|
220
991
|
end
|
221
992
|
|
222
|
-
# Updates a Group
|
993
|
+
# Updates a `Group`.
|
223
994
|
# @param [String] name
|
224
|
-
# Output only. [
|
225
|
-
# resource_names) of the Group
|
226
|
-
# group_id is the unique ID assigned to the Group. Must be left blank while
|
227
|
-
# creating a Group.
|
995
|
+
# Output only. The [resource name](https://cloud.google.com/apis/design/
|
996
|
+
# resource_names) of the `Group`. Shall be of the form `groups/`group_id``.
|
228
997
|
# @param [Google::Apis::CloudidentityV1::Group] group_object
|
229
998
|
# @param [String] update_mask
|
230
|
-
# Required.
|
999
|
+
# Required. The fully-qualified names of fields to update. May only contain the
|
1000
|
+
# following fields: `display_name`, `description`.
|
231
1001
|
# @param [String] fields
|
232
1002
|
# Selector specifying which fields to include in a partial response.
|
233
1003
|
# @param [String] quota_user
|
@@ -258,18 +1028,24 @@ module Google
|
|
258
1028
|
execute_or_queue_command(command, &block)
|
259
1029
|
end
|
260
1030
|
|
261
|
-
# Searches for
|
1031
|
+
# Searches for `Group`s matching a specified query.
|
262
1032
|
# @param [Fixnum] page_size
|
263
|
-
# The
|
264
|
-
#
|
1033
|
+
# The maximum number of results to return. Note that the number of results
|
1034
|
+
# returned may be less than this value even if there are more available results.
|
1035
|
+
# To fetch all results, clients must continue calling this method repeatedly
|
1036
|
+
# until the response no longer contains a `next_page_token`. If unspecified,
|
1037
|
+
# defaults to 200 for `GroupView.BASIC` and 50 for `GroupView.FULL`. Must not be
|
1038
|
+
# greater than 1000 for `GroupView.BASIC` or 500 for `GroupView.FULL`.
|
265
1039
|
# @param [String] page_token
|
266
|
-
# The next_page_token value returned from a previous search request, if any.
|
1040
|
+
# The `next_page_token` value returned from a previous search request, if any.
|
267
1041
|
# @param [String] query
|
268
|
-
# Required.
|
269
|
-
#
|
270
|
-
#
|
1042
|
+
# Required. The search query. Must be specified in [Common Expression Language](
|
1043
|
+
# https://opensource.google/projects/cel). May only contain equality operators
|
1044
|
+
# on the parent and inclusion operators on labels (e.g., `parent == 'customers/`
|
1045
|
+
# customer_id`' && 'cloudidentity.googleapis.com/groups.discussion_forum' in
|
1046
|
+
# labels`).
|
271
1047
|
# @param [String] view
|
272
|
-
#
|
1048
|
+
# The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
|
273
1049
|
# @param [String] fields
|
274
1050
|
# Selector specifying which fields to include in a partial response.
|
275
1051
|
# @param [String] quota_user
|
@@ -300,11 +1076,10 @@ module Google
|
|
300
1076
|
execute_or_queue_command(command, &block)
|
301
1077
|
end
|
302
1078
|
|
303
|
-
# Creates a Membership
|
1079
|
+
# Creates a `Membership`.
|
304
1080
|
# @param [String] parent
|
305
|
-
# Required.
|
306
|
-
# of the
|
307
|
-
# group_id` is the unique ID assigned to the Group.
|
1081
|
+
# Required. The parent `Group` resource under which to create the `Membership`.
|
1082
|
+
# Must be of the form `groups/`group_id``.
|
308
1083
|
# @param [Google::Apis::CloudidentityV1::Membership] membership_object
|
309
1084
|
# @param [String] fields
|
310
1085
|
# Selector specifying which fields to include in a partial response.
|
@@ -335,12 +1110,11 @@ module Google
|
|
335
1110
|
execute_or_queue_command(command, &block)
|
336
1111
|
end
|
337
1112
|
|
338
|
-
# Deletes a Membership
|
1113
|
+
# Deletes a `Membership`.
|
339
1114
|
# @param [String] name
|
340
|
-
# Required. [
|
341
|
-
# of the Membership to be
|
342
|
-
#
|
343
|
-
# Membership belongs to, and member_id is the unique ID assigned to the member.
|
1115
|
+
# Required. The [resource name](https://cloud.google.com/apis/design/
|
1116
|
+
# resource_names) of the `Membership` to delete. Must be of the form `groups/`
|
1117
|
+
# group_id`/memberships/`membership_id``
|
344
1118
|
# @param [String] fields
|
345
1119
|
# Selector specifying which fields to include in a partial response.
|
346
1120
|
# @param [String] quota_user
|
@@ -368,12 +1142,11 @@ module Google
|
|
368
1142
|
execute_or_queue_command(command, &block)
|
369
1143
|
end
|
370
1144
|
|
371
|
-
# Retrieves a Membership
|
1145
|
+
# Retrieves a `Membership`.
|
372
1146
|
# @param [String] name
|
373
|
-
# Required. [
|
374
|
-
# of the Membership to be
|
375
|
-
#
|
376
|
-
# Membership belongs to, and `member_id` is the unique ID assigned to the member.
|
1147
|
+
# Required. The [resource name](https://cloud.google.com/apis/design/
|
1148
|
+
# resource_names) of the `Membership` to retrieve. Must be of the form `groups/`
|
1149
|
+
# group_id`/memberships/`membership_id``.
|
377
1150
|
# @param [String] fields
|
378
1151
|
# Selector specifying which fields to include in a partial response.
|
379
1152
|
# @param [String] quota_user
|
@@ -401,18 +1174,21 @@ module Google
|
|
401
1174
|
execute_or_queue_command(command, &block)
|
402
1175
|
end
|
403
1176
|
|
404
|
-
# Lists
|
1177
|
+
# Lists the `Membership`s within a `Group`.
|
405
1178
|
# @param [String] parent
|
406
|
-
# Required.
|
407
|
-
#
|
408
|
-
# group_id` is the unique ID assigned to the Group.
|
1179
|
+
# Required. The parent `Group` resource under which to lookup the `Membership`
|
1180
|
+
# name. Must be of the form `groups/`group_id``.
|
409
1181
|
# @param [Fixnum] page_size
|
410
|
-
# The
|
411
|
-
#
|
1182
|
+
# The maximum number of results to return. Note that the number of results
|
1183
|
+
# returned may be less than this value even if there are more available results.
|
1184
|
+
# To fetch all results, clients must continue calling this method repeatedly
|
1185
|
+
# until the response no longer contains a `next_page_token`. If unspecified,
|
1186
|
+
# defaults to 200 for `GroupView.BASIC` and to 50 for `GroupView.FULL`. Must not
|
1187
|
+
# be greater than 1000 for `GroupView.BASIC` or 500 for `GroupView.FULL`.
|
412
1188
|
# @param [String] page_token
|
413
|
-
# The next_page_token value returned from a previous
|
1189
|
+
# The `next_page_token` value returned from a previous search request, if any.
|
414
1190
|
# @param [String] view
|
415
|
-
#
|
1191
|
+
# The level of detail to be returned. If unspecified, defaults to `View.BASIC`.
|
416
1192
|
# @param [String] fields
|
417
1193
|
# Selector specifying which fields to include in a partial response.
|
418
1194
|
# @param [String] quota_user
|
@@ -443,20 +1219,22 @@ module Google
|
|
443
1219
|
execute_or_queue_command(command, &block)
|
444
1220
|
end
|
445
1221
|
|
446
|
-
# Looks up [resource name](https://cloud.google.com/apis/design/
|
447
|
-
# of a Membership
|
1222
|
+
# Looks up the [resource name](https://cloud.google.com/apis/design/
|
1223
|
+
# resource_names) of a `Membership` by its `EntityKey`.
|
448
1224
|
# @param [String] parent
|
449
|
-
# Required.
|
450
|
-
#
|
451
|
-
# group_id` is the unique ID assigned to the Group.
|
1225
|
+
# Required. The parent `Group` resource under which to lookup the `Membership`
|
1226
|
+
# name. Must be of the form `groups/`group_id``.
|
452
1227
|
# @param [String] member_key_id
|
453
|
-
# The ID of the entity
|
454
|
-
#
|
1228
|
+
# The ID of the entity. For Google-managed entities, the `id` should be the
|
1229
|
+
# email address of an existing group or user. For external-identity-mapped
|
1230
|
+
# entities, the `id` must be a string conforming to the Identity Source's
|
1231
|
+
# requirements. Must be unique within a `namespace`.
|
455
1232
|
# @param [String] member_key_namespace
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
#
|
1233
|
+
# The namespace in which the entity exists. If not specified, the `EntityKey`
|
1234
|
+
# represents a Google-managed entity such as a Google user or a Google Group. If
|
1235
|
+
# specified, the `EntityKey` represents an external-identity-mapped group. The
|
1236
|
+
# namespace must correspond to an identity source created in Admin Console and
|
1237
|
+
# must be in the form of `identitysources/`identity_source_id`.
|
460
1238
|
# @param [String] fields
|
461
1239
|
# Selector specifying which fields to include in a partial response.
|
462
1240
|
# @param [String] quota_user
|
@@ -485,6 +1263,41 @@ module Google
|
|
485
1263
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
486
1264
|
execute_or_queue_command(command, &block)
|
487
1265
|
end
|
1266
|
+
|
1267
|
+
# Modifies the `MembershipRole`s of a `Membership`.
|
1268
|
+
# @param [String] name
|
1269
|
+
# Required. The [resource name](https://cloud.google.com/apis/design/
|
1270
|
+
# resource_names) of the `Membership` whose roles are to be modified. Must be of
|
1271
|
+
# the form `groups/`group_id`/memberships/`membership_id``.
|
1272
|
+
# @param [Google::Apis::CloudidentityV1::ModifyMembershipRolesRequest] modify_membership_roles_request_object
|
1273
|
+
# @param [String] fields
|
1274
|
+
# Selector specifying which fields to include in a partial response.
|
1275
|
+
# @param [String] quota_user
|
1276
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1277
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1278
|
+
# @param [Google::Apis::RequestOptions] options
|
1279
|
+
# Request-specific options
|
1280
|
+
#
|
1281
|
+
# @yield [result, err] Result & error if block supplied
|
1282
|
+
# @yieldparam result [Google::Apis::CloudidentityV1::ModifyMembershipRolesResponse] parsed result object
|
1283
|
+
# @yieldparam err [StandardError] error object if request failed
|
1284
|
+
#
|
1285
|
+
# @return [Google::Apis::CloudidentityV1::ModifyMembershipRolesResponse]
|
1286
|
+
#
|
1287
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1288
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1289
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1290
|
+
def modify_membership_roles(name, modify_membership_roles_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1291
|
+
command = make_simple_command(:post, 'v1/{+name}:modifyMembershipRoles', options)
|
1292
|
+
command.request_representation = Google::Apis::CloudidentityV1::ModifyMembershipRolesRequest::Representation
|
1293
|
+
command.request_object = modify_membership_roles_request_object
|
1294
|
+
command.response_representation = Google::Apis::CloudidentityV1::ModifyMembershipRolesResponse::Representation
|
1295
|
+
command.response_class = Google::Apis::CloudidentityV1::ModifyMembershipRolesResponse
|
1296
|
+
command.params['name'] = name unless name.nil?
|
1297
|
+
command.query['fields'] = fields unless fields.nil?
|
1298
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1299
|
+
execute_or_queue_command(command, &block)
|
1300
|
+
end
|
488
1301
|
|
489
1302
|
protected
|
490
1303
|
|