google-api-client 0.51.0 → 0.53.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +0 -14
- data/CHANGELOG.md +106 -0
- data/OVERVIEW.md +36 -27
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +6 -16
- data/generated/google/apis/admin_datatransfer_v1/service.rb +3 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +2 -2
- data/generated/google/apis/admin_directory_v1/classes.rb +453 -321
- data/generated/google/apis/admin_directory_v1/representations.rb +15 -15
- data/generated/google/apis/admin_directory_v1/service.rb +325 -185
- data/generated/google/apis/admin_directory_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +48 -43
- data/generated/google/apis/admin_reports_v1/service.rb +198 -179
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +10 -2
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +17 -13
- data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +11 -11
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
- data/generated/google/apis/apigateway_v1/representations.rb +442 -0
- data/generated/google/apis/apigateway_v1/service.rb +1172 -0
- data/{lib/google/apis/generator/templates/classes.rb.tmpl → generated/google/apis/apigateway_v1.rb} +14 -9
- data/generated/google/apis/apigateway_v1beta/classes.rb +22 -17
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -1
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +95 -22
- data/generated/google/apis/apigee_v1/representations.rb +42 -0
- data/generated/google/apis/apigee_v1/service.rb +256 -48
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1/classes.rb +242 -0
- data/generated/google/apis/artifactregistry_v1/representations.rb +116 -0
- data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
- data/generated/google/apis/artifactregistry_v1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -120
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -62
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +0 -120
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +0 -62
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +132 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -0
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +240 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +125 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +202 -2
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +0 -6
- data/generated/google/apis/cloudkms_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -26
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +0 -24
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +19 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +12 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +59 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +19 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +102 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +35 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +16 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +64 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +18 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1071 -341
- data/generated/google/apis/compute_alpha/representations.rb +248 -19
- data/generated/google/apis/compute_alpha/service.rb +291 -15
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +926 -283
- data/generated/google/apis/compute_beta/representations.rb +221 -18
- data/generated/google/apis/compute_beta/service.rb +24 -15
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +419 -158
- data/generated/google/apis/compute_v1/representations.rb +55 -0
- data/generated/google/apis/compute_v1/service.rb +9 -7
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +55 -16
- data/generated/google/apis/container_v1/representations.rb +17 -0
- data/generated/google/apis/container_v1/service.rb +4 -2
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +31 -20
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +6 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +450 -7
- data/generated/google/apis/content_v2_1/representations.rb +188 -0
- data/generated/google/apis/content_v2_1/service.rb +116 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
- data/generated/google/apis/datamigration_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datamigration_v1beta1/representations.rb +0 -1
- data/generated/google/apis/datamigration_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +29 -1
- data/generated/google/apis/dataproc_v1/representations.rb +14 -0
- data/generated/google/apis/dataproc_v1/service.rb +42 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +29 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +14 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +276 -644
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +10 -143
- data/generated/google/apis/deploymentmanager_alpha/service.rb +247 -398
- data/generated/google/apis/deploymentmanager_alpha.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2/service.rb +5 -25
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +8 -40
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +4339 -284
- data/generated/google/apis/dialogflow_v2/representations.rb +2090 -211
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +4341 -286
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2097 -218
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3/classes.rb +11752 -0
- data/generated/google/apis/dialogflow_v3/representations.rb +5158 -0
- data/generated/google/apis/dialogflow_v3/service.rb +3414 -0
- data/generated/google/apis/{bigqueryreservation_v1alpha2.rb → dialogflow_v3.rb} +13 -12
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +5147 -1554
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1966 -221
- data/generated/google/apis/dialogflow_v3beta1/service.rb +581 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/service.rb +297 -10
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +65 -0
- data/generated/google/apis/dns_v1/representations.rb +32 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +217 -186
- data/generated/google/apis/documentai_v1beta2/representations.rb +107 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +238 -201
- data/generated/google/apis/documentai_v1beta3/representations.rb +107 -24
- data/generated/google/apis/documentai_v1beta3/service.rb +81 -2
- data/generated/google/apis/documentai_v1beta3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +8 -9
- data/generated/google/apis/eventarc_v1beta1/service.rb +25 -5
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +61 -0
- data/generated/google/apis/file_v1/representations.rb +19 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/service.rb +14 -14
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +11 -7
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -6
- data/generated/google/apis/healthcare_v1/representations.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +13 -12
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +45 -19
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +37 -37
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +0 -6
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -6
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/localservices_v1.rb +4 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/metastore_v1beta/classes.rb +1151 -0
- data/generated/google/apis/metastore_v1beta/representations.rb +479 -0
- data/generated/google/apis/metastore_v1beta/service.rb +800 -0
- data/{lib/google/apis/core/logging.rb → generated/google/apis/metastore_v1beta.rb} +15 -10
- data/generated/google/apis/ml_v1/classes.rb +51 -18
- data/generated/google/apis/ml_v1/representations.rb +16 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -6
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +13 -0
- data/generated/google/apis/notebooks_v1/representations.rb +12 -0
- data/generated/google/apis/notebooks_v1/service.rb +34 -0
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/privateca_v1beta1/classes.rb +2 -1
- data/generated/google/apis/privateca_v1beta1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +317 -0
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +2 -2
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +2 -2
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +277 -277
- data/generated/google/apis/safebrowsing_v4/representations.rb +128 -128
- data/generated/google/apis/safebrowsing_v4/service.rb +44 -44
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +7 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +1 -0
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +18 -10
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +30 -30
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +7 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +7 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +11 -10
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v1.rb +3 -3
- data/generated/google/apis/servicecontrol_v2/service.rb +2 -2
- data/generated/google/apis/servicecontrol_v2.rb +3 -3
- data/generated/google/apis/servicedirectory_v1/classes.rb +721 -0
- data/generated/google/apis/servicedirectory_v1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1/service.rb +957 -0
- data/{lib/google/apis/generator/templates/representations.rb.tmpl → generated/google/apis/servicedirectory_v1.rb} +15 -12
- data/generated/google/apis/servicemanagement_v1/classes.rb +11 -10
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -10
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +9 -3
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +0 -22
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -2
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +7 -7
- data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +25 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/service.rb +1 -1
- data/generated/google/apis/trafficdirector_v2.rb +2 -2
- data/generated/google/apis/transcoder_v1beta1/classes.rb +12 -2
- data/generated/google/apis/transcoder_v1beta1/representations.rb +1 -0
- data/generated/google/apis/transcoder_v1beta1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +1 -1
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +1 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +8 -0
- data/generated/google/apis/webmasters_v3/representations.rb +1 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +4 -4
- data/generated/google/apis/workflows_v1beta.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +18 -143
- data/generated/google/apis/youtube_v3/representations.rb +0 -57
- data/generated/google/apis/youtube_v3/service.rb +0 -43
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -23
- metadata +39 -267
- data/.github/CONTRIBUTING.md +0 -31
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
- data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
- data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
- data/.github/workflows/autoapprove.yml +0 -49
- data/.github/workflows/release-please.yml +0 -79
- data/.gitignore +0 -23
- data/.kokoro/build.bat +0 -11
- data/.kokoro/build.sh +0 -4
- data/.kokoro/continuous/common.cfg +0 -25
- data/.kokoro/continuous/linux.cfg +0 -25
- data/.kokoro/continuous/osx.cfg +0 -8
- data/.kokoro/continuous/post.cfg +0 -30
- data/.kokoro/continuous/windows.cfg +0 -29
- data/.kokoro/osx.sh +0 -4
- data/.kokoro/presubmit/common.cfg +0 -24
- data/.kokoro/presubmit/linux.cfg +0 -24
- data/.kokoro/presubmit/osx.cfg +0 -8
- data/.kokoro/presubmit/windows.cfg +0 -29
- data/.kokoro/release.cfg +0 -94
- data/.kokoro/trampoline.bat +0 -10
- data/.kokoro/trampoline.sh +0 -4
- data/.repo-metadata.json +0 -5
- data/.rspec +0 -2
- data/.rubocop.yml +0 -12
- data/.rubocop_todo.yml +0 -63
- data/CODE_OF_CONDUCT.md +0 -43
- data/Gemfile +0 -55
- data/MIGRATING.md +0 -215
- data/README.md +0 -402
- data/Rakefile +0 -131
- data/api_list_config.yaml +0 -9
- data/api_names.yaml +0 -1082
- data/bin/generate-api +0 -194
- data/docs/api-keys.md +0 -20
- data/docs/auth.md +0 -53
- data/docs/client-secrets.md +0 -69
- data/docs/getting-started.md +0 -340
- data/docs/installation.md +0 -0
- data/docs/logging.md +0 -34
- data/docs/media-upload.md +0 -25
- data/docs/oauth-installed.md +0 -191
- data/docs/oauth-server.md +0 -133
- data/docs/oauth-web.md +0 -280
- data/docs/oauth.md +0 -268
- data/docs/pagination.md +0 -29
- data/docs/performance.md +0 -25
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -426
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -195
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -622
- data/google-api-client.gemspec +0 -36
- data/lib/google/api_client/auth/installed_app.rb +0 -143
- data/lib/google/api_client/auth/key_utils.rb +0 -94
- data/lib/google/api_client/auth/storage.rb +0 -104
- data/lib/google/api_client/auth/storages/file_store.rb +0 -57
- data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
- data/lib/google/api_client/client_secrets.rb +0 -176
- data/lib/google/apis/core/api_command.rb +0 -209
- data/lib/google/apis/core/base_service.rb +0 -447
- data/lib/google/apis/core/batch.rb +0 -236
- data/lib/google/apis/core/composite_io.rb +0 -97
- data/lib/google/apis/core/download.rb +0 -118
- data/lib/google/apis/core/hashable.rb +0 -44
- data/lib/google/apis/core/http_command.rb +0 -447
- data/lib/google/apis/core/json_representation.rb +0 -153
- data/lib/google/apis/core/multipart.rb +0 -135
- data/lib/google/apis/core/upload.rb +0 -273
- data/lib/google/apis/errors.rb +0 -89
- data/lib/google/apis/generator/annotator.rb +0 -339
- data/lib/google/apis/generator/helpers.rb +0 -76
- data/lib/google/apis/generator/model.rb +0 -187
- data/lib/google/apis/generator/template.rb +0 -124
- data/lib/google/apis/generator/templates/_class.tmpl +0 -43
- data/lib/google/apis/generator/templates/_method.tmpl +0 -92
- data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
- data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
- data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
- data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
- data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
- data/lib/google/apis/generator.rb +0 -71
- data/lib/google/apis/options.rb +0 -116
- data/lib/google/apis.rb +0 -58
- data/rakelib/devsite/devsite_builder.rb +0 -126
- data/rakelib/devsite/link_checker.rb +0 -64
- data/rakelib/devsite/repo_metadata.rb +0 -56
- data/rakelib/metrics.rake +0 -22
- data/rakelib/rubocop.rake +0 -10
- data/rakelib/spec.rake +0 -11
- data/rakelib/yard.rake +0 -11
- data/samples/cli/.env +0 -4
- data/samples/cli/Gemfile +0 -7
- data/samples/cli/README.md +0 -51
- data/samples/cli/google-api-samples +0 -32
- data/samples/cli/lib/base_cli.rb +0 -95
- data/samples/cli/lib/samples/adsense.rb +0 -99
- data/samples/cli/lib/samples/analytics.rb +0 -80
- data/samples/cli/lib/samples/androidpublisher.rb +0 -47
- data/samples/cli/lib/samples/bigquery.rb +0 -101
- data/samples/cli/lib/samples/calendar.rb +0 -83
- data/samples/cli/lib/samples/drive.rb +0 -82
- data/samples/cli/lib/samples/gmail.rb +0 -157
- data/samples/cli/lib/samples/pubsub.rb +0 -114
- data/samples/cli/lib/samples/sheets.rb +0 -61
- data/samples/cli/lib/samples/translate.rb +0 -44
- data/samples/cli/lib/samples/vision.rb +0 -69
- data/samples/cli/lib/samples/you_tube.rb +0 -47
- data/samples/web/Gemfile +0 -9
- data/samples/web/README.md +0 -44
- data/samples/web/app.rb +0 -120
- data/samples/web/views/calendar.erb +0 -34
- data/samples/web/views/drive.erb +0 -33
- data/samples/web/views/home.erb +0 -34
- data/samples/web/views/layout.erb +0 -40
- data/synth.py +0 -40
@@ -96,10 +96,12 @@ module Google
|
|
96
96
|
end
|
97
97
|
end
|
98
98
|
|
99
|
-
#
|
100
|
-
#
|
101
|
-
#
|
102
|
-
#
|
99
|
+
# An application-specific password (ASP) is used with applications that do not
|
100
|
+
# accept a verification code when logging into the application on certain
|
101
|
+
# devices. The ASP access code is used instead of the login and password you
|
102
|
+
# commonly use when accessing an application through a browser. For more
|
103
|
+
# information about ASPs and how to create one, see the [help center](//http://
|
104
|
+
# support.google.com/a/bin/answer.py?amp;answer=1032419).
|
103
105
|
class Asp
|
104
106
|
include Google::Apis::Core::Hashable
|
105
107
|
|
@@ -108,7 +110,8 @@ module Google
|
|
108
110
|
# @return [Fixnum]
|
109
111
|
attr_accessor :code_id
|
110
112
|
|
111
|
-
# The time when the ASP was created. Expressed in Unix time
|
113
|
+
# The time when the ASP was created. Expressed in [Unix time](http://en.
|
114
|
+
# wikipedia.org/wiki/Epoch_time) format.
|
112
115
|
# Corresponds to the JSON property `creationTime`
|
113
116
|
# @return [Fixnum]
|
114
117
|
attr_accessor :creation_time
|
@@ -118,17 +121,18 @@ module Google
|
|
118
121
|
# @return [String]
|
119
122
|
attr_accessor :etag
|
120
123
|
|
121
|
-
# The type of the API resource. This is always admin#directory#asp
|
124
|
+
# The type of the API resource. This is always `admin#directory#asp`.
|
122
125
|
# Corresponds to the JSON property `kind`
|
123
126
|
# @return [String]
|
124
127
|
attr_accessor :kind
|
125
128
|
|
126
|
-
# The time when the ASP was last used. Expressed in Unix time
|
129
|
+
# The time when the ASP was last used. Expressed in [Unix time](http://en.
|
130
|
+
# wikipedia.org/wiki/Epoch_time) format.
|
127
131
|
# Corresponds to the JSON property `lastTimeUsed`
|
128
132
|
# @return [Fixnum]
|
129
133
|
attr_accessor :last_time_used
|
130
134
|
|
131
|
-
# The name of the application that the user, represented by their userId
|
135
|
+
# The name of the application that the user, represented by their `userId`,
|
132
136
|
# entered when the ASP was created.
|
133
137
|
# Corresponds to the JSON property `name`
|
134
138
|
# @return [String]
|
@@ -155,9 +159,7 @@ module Google
|
|
155
159
|
end
|
156
160
|
end
|
157
161
|
|
158
|
-
#
|
159
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
160
|
-
# field 'etag'. (See http://go/stepladder-help#fieldNumber)
|
162
|
+
#
|
161
163
|
class Asps
|
162
164
|
include Google::Apis::Core::Hashable
|
163
165
|
|
@@ -171,7 +173,7 @@ module Google
|
|
171
173
|
# @return [Array<Google::Apis::AdminDirectoryV1::Asp>]
|
172
174
|
attr_accessor :items
|
173
175
|
|
174
|
-
# The type of the API resource. This is always admin#directory#aspList
|
176
|
+
# The type of the API resource. This is always `admin#directory#aspList`.
|
175
177
|
# Corresponds to the JSON property `kind`
|
176
178
|
# @return [String]
|
177
179
|
attr_accessor :kind
|
@@ -415,8 +417,8 @@ module Google
|
|
415
417
|
# @return [String]
|
416
418
|
attr_accessor :generated_resource_name
|
417
419
|
|
418
|
-
# The type of the resource. For calendar resources, the value is admin#
|
419
|
-
# resources#calendars#CalendarResource
|
420
|
+
# The type of the resource. For calendar resources, the value is `admin#
|
421
|
+
# directory#resources#calendars#CalendarResource`.
|
420
422
|
# Corresponds to the JSON property `kind`
|
421
423
|
# @return [String]
|
422
424
|
attr_accessor :kind
|
@@ -496,8 +498,8 @@ module Google
|
|
496
498
|
# @return [Array<Google::Apis::AdminDirectoryV1::CalendarResource>]
|
497
499
|
attr_accessor :items
|
498
500
|
|
499
|
-
# Identifies this as a collection of CalendarResources. This is always admin#
|
500
|
-
# directory#resources#calendars#calendarResourcesList
|
501
|
+
# Identifies this as a collection of CalendarResources. This is always `admin#
|
502
|
+
# directory#resources#calendars#calendarResourcesList`.
|
501
503
|
# Corresponds to the JSON property `kind`
|
502
504
|
# @return [String]
|
503
505
|
attr_accessor :kind
|
@@ -542,7 +544,7 @@ module Google
|
|
542
544
|
attr_accessor :id
|
543
545
|
|
544
546
|
# Identifies this as a notification channel used to watch for changes to a
|
545
|
-
# resource, which is
|
547
|
+
# resource, which is `api#channel`.
|
546
548
|
# Corresponds to the JSON property `kind`
|
547
549
|
# @return [String]
|
548
550
|
attr_accessor :kind
|
@@ -599,28 +601,31 @@ module Google
|
|
599
601
|
end
|
600
602
|
end
|
601
603
|
|
602
|
-
#
|
603
|
-
#
|
604
|
-
#
|
604
|
+
# Google Chrome devices run on the [Chrome OS](http://support.google.com/
|
605
|
+
# chromeos). For more information about common API tasks, see the [Developer's
|
606
|
+
# Guide](/admin-sdk/directory/v1/guides/manage-chrome-devices).
|
605
607
|
class ChromeOsDevice
|
606
608
|
include Google::Apis::Core::Hashable
|
607
609
|
|
608
|
-
# List of active time ranges (Read-only)
|
610
|
+
# List of active time ranges (Read-only).
|
609
611
|
# Corresponds to the JSON property `activeTimeRanges`
|
610
612
|
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::ActiveTimeRange>]
|
611
613
|
attr_accessor :active_time_ranges
|
612
614
|
|
613
|
-
#
|
615
|
+
# The asset identifier as noted by an administrator or specified during
|
616
|
+
# enrollment.
|
614
617
|
# Corresponds to the JSON property `annotatedAssetId`
|
615
618
|
# @return [String]
|
616
619
|
attr_accessor :annotated_asset_id
|
617
620
|
|
618
|
-
#
|
621
|
+
# The address or location of the device as noted by the administrator. Maximum
|
622
|
+
# length is `200` characters. Empty values are allowed.
|
619
623
|
# Corresponds to the JSON property `annotatedLocation`
|
620
624
|
# @return [String]
|
621
625
|
attr_accessor :annotated_location
|
622
626
|
|
623
|
-
#
|
627
|
+
# The user of the device as noted by the administrator. Maximum length is 100
|
628
|
+
# characters. Empty values are allowed.
|
624
629
|
# Corresponds to the JSON property `annotatedUser`
|
625
630
|
# @return [String]
|
626
631
|
attr_accessor :annotated_user
|
@@ -631,7 +636,13 @@ module Google
|
|
631
636
|
# @return [Fixnum]
|
632
637
|
attr_accessor :auto_update_expiration
|
633
638
|
|
634
|
-
#
|
639
|
+
# The boot mode for the device. The possible values are: * `Verified`: The
|
640
|
+
# device is running a valid version of the Chrome OS. * `Dev`: The devices's
|
641
|
+
# developer hardware switch is enabled. When booted, the device has a command
|
642
|
+
# line shell. For an example of a developer switch, see the [Chromebook
|
643
|
+
# developer information](http://www.chromium.org/chromium-os/developer-
|
644
|
+
# information-for-chrome-os-devices/samsung-series-5-chromebook#TOC-Developer-
|
645
|
+
# switch).
|
635
646
|
# Corresponds to the JSON property `bootMode`
|
636
647
|
# @return [String]
|
637
648
|
attr_accessor :boot_mode
|
@@ -646,7 +657,7 @@ module Google
|
|
646
657
|
# @return [Array<Google::Apis::AdminDirectoryV1::ChromeOsDevice::DeviceFile>]
|
647
658
|
attr_accessor :device_files
|
648
659
|
|
649
|
-
#
|
660
|
+
# The unique ID of the Chrome device.
|
650
661
|
# Corresponds to the JSON property `deviceId`
|
651
662
|
# @return [String]
|
652
663
|
attr_accessor :device_id
|
@@ -670,7 +681,7 @@ module Google
|
|
670
681
|
# @return [String]
|
671
682
|
attr_accessor :etag
|
672
683
|
|
673
|
-
#
|
684
|
+
# The device's MAC address on the ethernet network interface.
|
674
685
|
# Corresponds to the JSON property `ethernetMacAddress`
|
675
686
|
# @return [String]
|
676
687
|
attr_accessor :ethernet_mac_address
|
@@ -683,12 +694,13 @@ module Google
|
|
683
694
|
# @return [String]
|
684
695
|
attr_accessor :ethernet_mac_address0
|
685
696
|
|
686
|
-
#
|
697
|
+
# The Chrome device's firmware version.
|
687
698
|
# Corresponds to the JSON property `firmwareVersion`
|
688
699
|
# @return [String]
|
689
700
|
attr_accessor :firmware_version
|
690
701
|
|
691
|
-
#
|
702
|
+
# The type of resource. For the Chromeosdevices resource, the value is `admin#
|
703
|
+
# directory#chromeosdevice`.
|
692
704
|
# Corresponds to the JSON property `kind`
|
693
705
|
# @return [String]
|
694
706
|
attr_accessor :kind
|
@@ -709,7 +721,8 @@ module Google
|
|
709
721
|
# @return [DateTime]
|
710
722
|
attr_accessor :last_sync
|
711
723
|
|
712
|
-
#
|
724
|
+
# The device's wireless MAC address. If the device does not have this
|
725
|
+
# information, it is not included in the response.
|
713
726
|
# Corresponds to the JSON property `macAddress`
|
714
727
|
# @return [String]
|
715
728
|
attr_accessor :mac_address
|
@@ -719,54 +732,72 @@ module Google
|
|
719
732
|
# @return [String]
|
720
733
|
attr_accessor :manufacture_date
|
721
734
|
|
722
|
-
#
|
723
|
-
#
|
724
|
-
#
|
735
|
+
# The Mobile Equipment Identifier (MEID) or the International Mobile Equipment
|
736
|
+
# Identity (IMEI) for the 3G mobile card in a mobile device. A MEID/IMEI is
|
737
|
+
# typically used when adding a device to a wireless carrier's post-pay service
|
738
|
+
# plan. If the device does not have this information, this property is not
|
739
|
+
# included in the response. For more information on how to export a MEID/IMEI
|
740
|
+
# list, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-chrome-
|
741
|
+
# devices.html#export_meid).
|
725
742
|
# Corresponds to the JSON property `meid`
|
726
743
|
# @return [String]
|
727
744
|
attr_accessor :meid
|
728
745
|
|
729
|
-
#
|
746
|
+
# The device's model information. If the device does not have this information,
|
747
|
+
# this property is not included in the response.
|
730
748
|
# Corresponds to the JSON property `model`
|
731
749
|
# @return [String]
|
732
750
|
attr_accessor :model
|
733
751
|
|
734
|
-
# Notes added by the administrator
|
752
|
+
# Notes about this device added by the administrator. This property can be [
|
753
|
+
# searched](http://support.google.com/chromeos/a/bin/answer.py?answer=1698333)
|
754
|
+
# with the [list](/admin-sdk/directory/v1/reference/chromeosdevices/list) method'
|
755
|
+
# s `query` parameter. Maximum length is 500 characters. Empty values are
|
756
|
+
# allowed.
|
735
757
|
# Corresponds to the JSON property `notes`
|
736
758
|
# @return [String]
|
737
759
|
attr_accessor :notes
|
738
760
|
|
739
|
-
#
|
761
|
+
# The device's order number. Only devices directly purchased from Google have an
|
762
|
+
# order number.
|
740
763
|
# Corresponds to the JSON property `orderNumber`
|
741
764
|
# @return [String]
|
742
765
|
attr_accessor :order_number
|
743
766
|
|
744
|
-
#
|
767
|
+
# The full parent path with the organizational unit's name associated with the
|
768
|
+
# device. Path names are case insensitive. If the parent organizational unit is
|
769
|
+
# the top-level organization, it is represented as a forward slash, `/`. This
|
770
|
+
# property can be [updated](/admin-sdk/directory/v1/guides/manage-chrome-devices#
|
771
|
+
# update_chrome_device) using the API. For more information about how to create
|
772
|
+
# an organizational structure for your device, see the [administration help
|
773
|
+
# center](http://support.google.com/a/bin/answer.py?answer=182433).
|
745
774
|
# Corresponds to the JSON property `orgUnitPath`
|
746
775
|
# @return [String]
|
747
776
|
attr_accessor :org_unit_path
|
748
777
|
|
749
|
-
#
|
778
|
+
# The Chrome device's operating system version.
|
750
779
|
# Corresponds to the JSON property `osVersion`
|
751
780
|
# @return [String]
|
752
781
|
attr_accessor :os_version
|
753
782
|
|
754
|
-
#
|
783
|
+
# The Chrome device's platform version.
|
755
784
|
# Corresponds to the JSON property `platformVersion`
|
756
785
|
# @return [String]
|
757
786
|
attr_accessor :platform_version
|
758
787
|
|
759
|
-
# List of recent device users, in descending order by last login time
|
788
|
+
# List of recent device users, in descending order, by last login time.
|
760
789
|
# Corresponds to the JSON property `recentUsers`
|
761
|
-
# @return [Array<Google::Apis::AdminDirectoryV1::
|
790
|
+
# @return [Array<Google::Apis::AdminDirectoryV1::RecentUsers>]
|
762
791
|
attr_accessor :recent_users
|
763
792
|
|
764
|
-
#
|
793
|
+
# The Chrome device serial number entered when the device was enabled. This
|
794
|
+
# value is the same as the Admin console's *Serial Number* in the *Chrome OS
|
795
|
+
# Devices* tab.
|
765
796
|
# Corresponds to the JSON property `serialNumber`
|
766
797
|
# @return [String]
|
767
798
|
attr_accessor :serial_number
|
768
799
|
|
769
|
-
# status of the device
|
800
|
+
# The status of the device.
|
770
801
|
# Corresponds to the JSON property `status`
|
771
802
|
# @return [String]
|
772
803
|
attr_accessor :status
|
@@ -791,7 +822,8 @@ module Google
|
|
791
822
|
# @return [Google::Apis::AdminDirectoryV1::ChromeOsDevice::TpmVersionInfo]
|
792
823
|
attr_accessor :tpm_version_info
|
793
824
|
|
794
|
-
#
|
825
|
+
# Determines if the device will auto renew its support after the support end
|
826
|
+
# date. This is a read-only property.
|
795
827
|
# Corresponds to the JSON property `willAutoRenew`
|
796
828
|
# @return [Boolean]
|
797
829
|
attr_accessor :will_auto_renew
|
@@ -845,7 +877,7 @@ module Google
|
|
845
877
|
class ActiveTimeRange
|
846
878
|
include Google::Apis::Core::Hashable
|
847
879
|
|
848
|
-
# Duration in milliseconds
|
880
|
+
# Duration of usage in milliseconds.
|
849
881
|
# Corresponds to the JSON property `activeTime`
|
850
882
|
# @return [Fixnum]
|
851
883
|
attr_accessor :active_time
|
@@ -1034,31 +1066,6 @@ module Google
|
|
1034
1066
|
end
|
1035
1067
|
end
|
1036
1068
|
|
1037
|
-
#
|
1038
|
-
class RecentUser
|
1039
|
-
include Google::Apis::Core::Hashable
|
1040
|
-
|
1041
|
-
# Email address of the user. Present only if the user type is managed
|
1042
|
-
# Corresponds to the JSON property `email`
|
1043
|
-
# @return [String]
|
1044
|
-
attr_accessor :email
|
1045
|
-
|
1046
|
-
# The type of the user
|
1047
|
-
# Corresponds to the JSON property `type`
|
1048
|
-
# @return [String]
|
1049
|
-
attr_accessor :type
|
1050
|
-
|
1051
|
-
def initialize(**args)
|
1052
|
-
update!(**args)
|
1053
|
-
end
|
1054
|
-
|
1055
|
-
# Update properties of this object
|
1056
|
-
def update!(**args)
|
1057
|
-
@email = args[:email] if args.key?(:email)
|
1058
|
-
@type = args[:type] if args.key?(:type)
|
1059
|
-
end
|
1060
|
-
end
|
1061
|
-
|
1062
1069
|
#
|
1063
1070
|
class SystemRamFreeReport
|
1064
1071
|
include Google::Apis::Core::Hashable
|
@@ -1088,7 +1095,8 @@ module Google
|
|
1088
1095
|
class TpmVersionInfo
|
1089
1096
|
include Google::Apis::Core::Hashable
|
1090
1097
|
|
1091
|
-
# TPM family.
|
1098
|
+
# TPM family. We use the TPM 2.0 style encoding, e.g.: TPM 1.2: "1.2" ->
|
1099
|
+
# 312e3200 TPM 2.0: "2.0" -> 322e3000
|
1092
1100
|
# Corresponds to the JSON property `family`
|
1093
1101
|
# @return [String]
|
1094
1102
|
attr_accessor :family
|
@@ -1103,7 +1111,8 @@ module Google
|
|
1103
1111
|
# @return [String]
|
1104
1112
|
attr_accessor :manufacturer
|
1105
1113
|
|
1106
|
-
# TPM specification level.
|
1114
|
+
# TPM specification level. See Library Specification for TPM 2.0 and Main
|
1115
|
+
# Specification for TPM 1.2.
|
1107
1116
|
# Corresponds to the JSON property `specLevel`
|
1108
1117
|
# @return [String]
|
1109
1118
|
attr_accessor :spec_level
|
@@ -1138,12 +1147,14 @@ module Google
|
|
1138
1147
|
class ChromeOsDeviceAction
|
1139
1148
|
include Google::Apis::Core::Hashable
|
1140
1149
|
|
1141
|
-
# Action to be taken on the
|
1150
|
+
# Action to be taken on the Chrome OS device.
|
1142
1151
|
# Corresponds to the JSON property `action`
|
1143
1152
|
# @return [String]
|
1144
1153
|
attr_accessor :action
|
1145
1154
|
|
1146
|
-
#
|
1155
|
+
# Only used when the action is `deprovision`. With the `deprovision` action,
|
1156
|
+
# this field is required. *Note*: The deprovision reason is audited because it
|
1157
|
+
# might have implications on licenses for perpetual subscription customers.
|
1147
1158
|
# Corresponds to the JSON property `deprovisionReason`
|
1148
1159
|
# @return [String]
|
1149
1160
|
attr_accessor :deprovision_reason
|
@@ -1159,9 +1170,7 @@ module Google
|
|
1159
1170
|
end
|
1160
1171
|
end
|
1161
1172
|
|
1162
|
-
#
|
1163
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
1164
|
-
# field 'etag'. (See http://go/stepladder-help#fieldNumber)
|
1173
|
+
#
|
1165
1174
|
class ChromeOsDevices
|
1166
1175
|
include Google::Apis::Core::Hashable
|
1167
1176
|
|
@@ -1180,7 +1189,8 @@ module Google
|
|
1180
1189
|
# @return [String]
|
1181
1190
|
attr_accessor :kind
|
1182
1191
|
|
1183
|
-
# Token used to access next page of this result.
|
1192
|
+
# Token used to access the next page of this result. To access the next page,
|
1193
|
+
# use this token's value in the `pageToken` query string of this request.
|
1184
1194
|
# Corresponds to the JSON property `nextPageToken`
|
1185
1195
|
# @return [String]
|
1186
1196
|
attr_accessor :next_page_token
|
@@ -1202,7 +1212,7 @@ module Google
|
|
1202
1212
|
class ChromeOsMoveDevicesToOu
|
1203
1213
|
include Google::Apis::Core::Hashable
|
1204
1214
|
|
1205
|
-
#
|
1215
|
+
# Chrome OS devices to be moved to OU
|
1206
1216
|
# Corresponds to the JSON property `deviceIds`
|
1207
1217
|
# @return [Array<String>]
|
1208
1218
|
attr_accessor :device_ids
|
@@ -1217,14 +1227,12 @@ module Google
|
|
1217
1227
|
end
|
1218
1228
|
end
|
1219
1229
|
|
1220
|
-
#
|
1221
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
1222
|
-
# field 'etag'. (See http://go/stepladder-help#fieldNumber)
|
1230
|
+
#
|
1223
1231
|
class Customer
|
1224
1232
|
include Google::Apis::Core::Hashable
|
1225
1233
|
|
1226
1234
|
# The customer's secondary contact email address. This email address cannot be
|
1227
|
-
# on the same domain as the customerDomain
|
1235
|
+
# on the same domain as the `customerDomain`
|
1228
1236
|
# Corresponds to the JSON property `alternateEmail`
|
1229
1237
|
# @return [String]
|
1230
1238
|
attr_accessor :alternate_email
|
@@ -1234,8 +1242,8 @@ module Google
|
|
1234
1242
|
# @return [DateTime]
|
1235
1243
|
attr_accessor :customer_creation_time
|
1236
1244
|
|
1237
|
-
# The customer's primary domain name string. Do not include the www prefix
|
1238
|
-
# creating a new customer.
|
1245
|
+
# The customer's primary domain name string. Do not include the `www` prefix
|
1246
|
+
# when creating a new customer.
|
1239
1247
|
# Corresponds to the JSON property `customerDomain`
|
1240
1248
|
# @return [String]
|
1241
1249
|
attr_accessor :customer_domain
|
@@ -1250,25 +1258,26 @@ module Google
|
|
1250
1258
|
# @return [String]
|
1251
1259
|
attr_accessor :id
|
1252
1260
|
|
1253
|
-
# Identifies the resource as a customer. Value: admin#directory#customer
|
1261
|
+
# Identifies the resource as a customer. Value: `admin#directory#customer`
|
1254
1262
|
# Corresponds to the JSON property `kind`
|
1255
1263
|
# @return [String]
|
1256
1264
|
attr_accessor :kind
|
1257
1265
|
|
1258
|
-
# The customer's ISO 639-2 language code.
|
1266
|
+
# The customer's ISO 639-2 language code. See the [Language Codes](/admin-sdk/
|
1267
|
+
# directory/v1/languages) page for the list of supported codes. Valid language
|
1268
|
+
# codes outside the supported set will be accepted by the API but may lead to
|
1269
|
+
# unexpected behavior. The default value is `en`.
|
1259
1270
|
# Corresponds to the JSON property `language`
|
1260
1271
|
# @return [String]
|
1261
1272
|
attr_accessor :language
|
1262
1273
|
|
1263
|
-
# The customer's contact phone number in E.164
|
1274
|
+
# The customer's contact phone number in [E.164](http://en.wikipedia.org/wiki/E.
|
1275
|
+
# 164) format.
|
1264
1276
|
# Corresponds to the JSON property `phoneNumber`
|
1265
1277
|
# @return [String]
|
1266
1278
|
attr_accessor :phone_number
|
1267
1279
|
|
1268
|
-
#
|
1269
|
-
# collision. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated
|
1270
|
-
# unstable field number for field 'address_line3' to avoid collision. (See http:/
|
1271
|
-
# /go/stepladder-help#fieldNumber)
|
1280
|
+
# The customer's postal address information.
|
1272
1281
|
# Corresponds to the JSON property `postalAddress`
|
1273
1282
|
# @return [Google::Apis::AdminDirectoryV1::CustomerPostalAddress]
|
1274
1283
|
attr_accessor :postal_address
|
@@ -1291,10 +1300,7 @@ module Google
|
|
1291
1300
|
end
|
1292
1301
|
end
|
1293
1302
|
|
1294
|
-
#
|
1295
|
-
# collision. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated
|
1296
|
-
# unstable field number for field 'address_line3' to avoid collision. (See http:/
|
1297
|
-
# /go/stepladder-help#fieldNumber)
|
1303
|
+
#
|
1298
1304
|
class CustomerPostalAddress
|
1299
1305
|
include Google::Apis::Core::Hashable
|
1300
1306
|
|
@@ -1319,14 +1325,14 @@ module Google
|
|
1319
1325
|
# @return [String]
|
1320
1326
|
attr_accessor :contact_name
|
1321
1327
|
|
1322
|
-
# This is a required property. For countryCode information see the ISO 3166
|
1323
|
-
# country code elements.
|
1328
|
+
# This is a required property. For `countryCode` information see the [ISO 3166
|
1329
|
+
# country code elements](http://www.iso.org/iso/country_codes.htm).
|
1324
1330
|
# Corresponds to the JSON property `countryCode`
|
1325
1331
|
# @return [String]
|
1326
1332
|
attr_accessor :country_code
|
1327
1333
|
|
1328
|
-
# Name of the locality. An example of a locality value is the city of San
|
1329
|
-
# Francisco
|
1334
|
+
# Name of the locality. An example of a locality value is the city of `San
|
1335
|
+
# Francisco`.
|
1330
1336
|
# Corresponds to the JSON property `locality`
|
1331
1337
|
# @return [String]
|
1332
1338
|
attr_accessor :locality
|
@@ -1336,14 +1342,14 @@ module Google
|
|
1336
1342
|
# @return [String]
|
1337
1343
|
attr_accessor :organization_name
|
1338
1344
|
|
1339
|
-
# The postal code. A postalCode example is a postal zip code such as 10009
|
1340
|
-
# is in accordance with - http: //portablecontacts.net/draft-spec.html#
|
1345
|
+
# The postal code. A postalCode example is a postal zip code such as `10009`.
|
1346
|
+
# This is in accordance with - http: //portablecontacts.net/draft-spec.html#
|
1341
1347
|
# address_element.
|
1342
1348
|
# Corresponds to the JSON property `postalCode`
|
1343
1349
|
# @return [String]
|
1344
1350
|
attr_accessor :postal_code
|
1345
1351
|
|
1346
|
-
# Name of the region. An example of a region value is NY for the state of New
|
1352
|
+
# Name of the region. An example of a region value is `NY` for the state of New
|
1347
1353
|
# York.
|
1348
1354
|
# Corresponds to the JSON property `region`
|
1349
1355
|
# @return [String]
|
@@ -1465,9 +1471,9 @@ module Google
|
|
1465
1471
|
attr_accessor :command_type
|
1466
1472
|
|
1467
1473
|
# The payload for the command, provide it only if command supports it. The
|
1468
|
-
# following commands support adding payload: - SET_VOLUME: Payload is a
|
1469
|
-
# object in the form: ` "volume": 50 `. The volume has to be an
|
1470
|
-
# range [0,100].
|
1474
|
+
# following commands support adding payload: - SET_VOLUME: Payload is a
|
1475
|
+
# stringified JSON object in the form: ` "volume": 50 `. The volume has to be an
|
1476
|
+
# integer in the range [0,100].
|
1471
1477
|
# Corresponds to the JSON property `payload`
|
1472
1478
|
# @return [String]
|
1473
1479
|
attr_accessor :payload
|
@@ -1588,7 +1594,8 @@ module Google
|
|
1588
1594
|
class Domains
|
1589
1595
|
include Google::Apis::Core::Hashable
|
1590
1596
|
|
1591
|
-
# Creation time of the domain. (
|
1597
|
+
# Creation time of the domain. Expressed in [Unix time](http://en.wikipedia.org/
|
1598
|
+
# wiki/Epoch_time) format. (Read-only).
|
1592
1599
|
# Corresponds to the JSON property `creationTime`
|
1593
1600
|
# @return [Fixnum]
|
1594
1601
|
attr_accessor :creation_time
|
@@ -1779,34 +1786,46 @@ module Google
|
|
1779
1786
|
end
|
1780
1787
|
end
|
1781
1788
|
|
1782
|
-
#
|
1783
|
-
#
|
1784
|
-
#
|
1789
|
+
# Google Groups provide your users the ability to send messages to groups of
|
1790
|
+
# people using the group's email address. For more information about common
|
1791
|
+
# tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides/manage-
|
1792
|
+
# groups).
|
1785
1793
|
class Group
|
1786
1794
|
include Google::Apis::Core::Hashable
|
1787
1795
|
|
1788
|
-
#
|
1796
|
+
# Value is `true` if this group was created by an administrator rather than a
|
1797
|
+
# user.
|
1789
1798
|
# Corresponds to the JSON property `adminCreated`
|
1790
1799
|
# @return [Boolean]
|
1791
1800
|
attr_accessor :admin_created
|
1792
1801
|
alias_method :admin_created?, :admin_created
|
1793
1802
|
|
1794
|
-
# List of
|
1803
|
+
# List of a group's alias email addresses.
|
1795
1804
|
# Corresponds to the JSON property `aliases`
|
1796
1805
|
# @return [Array<String>]
|
1797
1806
|
attr_accessor :aliases
|
1798
1807
|
|
1799
|
-
#
|
1808
|
+
# An extended description to help users determine the purpose of a group. For
|
1809
|
+
# example, you can include information about who should join the group, the
|
1810
|
+
# types of messages to send to the group, links to FAQs about the group, or
|
1811
|
+
# related groups. Maximum length is `4,096` characters.
|
1800
1812
|
# Corresponds to the JSON property `description`
|
1801
1813
|
# @return [String]
|
1802
1814
|
attr_accessor :description
|
1803
1815
|
|
1804
|
-
#
|
1816
|
+
# The number of users that are direct members of the group. If a group is a
|
1817
|
+
# member (child) of this group (the parent), members of the child group are not
|
1818
|
+
# counted in the `directMembersCount` property of the parent group.
|
1805
1819
|
# Corresponds to the JSON property `directMembersCount`
|
1806
1820
|
# @return [Fixnum]
|
1807
1821
|
attr_accessor :direct_members_count
|
1808
1822
|
|
1809
|
-
#
|
1823
|
+
# The group's email address. If your account has multiple domains, select the
|
1824
|
+
# appropriate domain for the email address. The `email` must be unique. This
|
1825
|
+
# property is required when creating a group. Group email addresses are subject
|
1826
|
+
# to the same character usage rules as usernames, see the [administration help
|
1827
|
+
# center](http://support.google.com/a/bin/answer.py?answer=33386) for the
|
1828
|
+
# details.
|
1810
1829
|
# Corresponds to the JSON property `email`
|
1811
1830
|
# @return [String]
|
1812
1831
|
attr_accessor :email
|
@@ -1816,22 +1835,28 @@ module Google
|
|
1816
1835
|
# @return [String]
|
1817
1836
|
attr_accessor :etag
|
1818
1837
|
|
1819
|
-
#
|
1838
|
+
# The unique ID of a group. A group `id` can be used as a group request URI's `
|
1839
|
+
# groupKey`.
|
1820
1840
|
# Corresponds to the JSON property `id`
|
1821
1841
|
# @return [String]
|
1822
1842
|
attr_accessor :id
|
1823
1843
|
|
1824
|
-
#
|
1844
|
+
# The type of the API resource. For Groups resources, the value is `admin#
|
1845
|
+
# directory#group`.
|
1825
1846
|
# Corresponds to the JSON property `kind`
|
1826
1847
|
# @return [String]
|
1827
1848
|
attr_accessor :kind
|
1828
1849
|
|
1829
|
-
#
|
1850
|
+
# The group's display name.
|
1830
1851
|
# Corresponds to the JSON property `name`
|
1831
1852
|
# @return [String]
|
1832
1853
|
attr_accessor :name
|
1833
1854
|
|
1834
|
-
# List of non
|
1855
|
+
# List of the group's non-editable alias email addresses that are outside of the
|
1856
|
+
# account's primary domain or subdomains. These are functioning email addresses
|
1857
|
+
# used by the group. This is a read-only property returned in the API's response
|
1858
|
+
# for a group. If edited in a group's POST or PUT request, the edit is ignored
|
1859
|
+
# by the API service.
|
1835
1860
|
# Corresponds to the JSON property `nonEditableAliases`
|
1836
1861
|
# @return [Array<String>]
|
1837
1862
|
attr_accessor :non_editable_aliases
|
@@ -1855,9 +1880,7 @@ module Google
|
|
1855
1880
|
end
|
1856
1881
|
end
|
1857
1882
|
|
1858
|
-
#
|
1859
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
1860
|
-
# field 'etag'. (See http://go/stepladder-help#fieldNumber)
|
1883
|
+
#
|
1861
1884
|
class Groups
|
1862
1885
|
include Google::Apis::Core::Hashable
|
1863
1886
|
|
@@ -1894,16 +1917,23 @@ module Google
|
|
1894
1917
|
end
|
1895
1918
|
end
|
1896
1919
|
|
1897
|
-
#
|
1920
|
+
# A Google Groups member can be a user or another group. This member can be
|
1921
|
+
# inside or outside of your account's domains. For more information about common
|
1922
|
+
# group member tasks, see the [Developer's Guide](/admin-sdk/directory/v1/guides/
|
1923
|
+
# manage-group-members).
|
1898
1924
|
class Member
|
1899
1925
|
include Google::Apis::Core::Hashable
|
1900
1926
|
|
1901
|
-
#
|
1927
|
+
# Defines mail delivery preferences of member. This is only supported by create/
|
1928
|
+
# update/get.
|
1902
1929
|
# Corresponds to the JSON property `delivery_settings`
|
1903
1930
|
# @return [String]
|
1904
1931
|
attr_accessor :delivery_settings
|
1905
1932
|
|
1906
|
-
#
|
1933
|
+
# The member's email address. A member can be a user or another group. This
|
1934
|
+
# property is required when adding a member to a group. The `email` must be
|
1935
|
+
# unique and cannot be an alias of another group. If the email address is
|
1936
|
+
# changed, the API automatically reflects the email address changes.
|
1907
1937
|
# Corresponds to the JSON property `email`
|
1908
1938
|
# @return [String]
|
1909
1939
|
attr_accessor :email
|
@@ -1913,19 +1943,23 @@ module Google
|
|
1913
1943
|
# @return [String]
|
1914
1944
|
attr_accessor :etag
|
1915
1945
|
|
1916
|
-
#
|
1917
|
-
#
|
1918
|
-
# URI's memberKey.
|
1946
|
+
# The unique ID of the group member. A member `id` can be used as a member
|
1947
|
+
# request URI's `memberKey`.
|
1919
1948
|
# Corresponds to the JSON property `id`
|
1920
1949
|
# @return [String]
|
1921
1950
|
attr_accessor :id
|
1922
1951
|
|
1923
|
-
#
|
1952
|
+
# The type of the API resource. For Members resources, the value is `admin#
|
1953
|
+
# directory#member`.
|
1924
1954
|
# Corresponds to the JSON property `kind`
|
1925
1955
|
# @return [String]
|
1926
1956
|
attr_accessor :kind
|
1927
1957
|
|
1928
|
-
#
|
1958
|
+
# The member's role in a group. The API returns an error for cycles in group
|
1959
|
+
# memberships. For example, if `group1` is a member of `group2`, `group2` cannot
|
1960
|
+
# be a member of `group1`. For more information about a member's role, see the [
|
1961
|
+
# administration help center](http://support.google.com/a/bin/answer.py?answer=
|
1962
|
+
# 167094).
|
1929
1963
|
# Corresponds to the JSON property `role`
|
1930
1964
|
# @return [String]
|
1931
1965
|
attr_accessor :role
|
@@ -1935,7 +1969,7 @@ module Google
|
|
1935
1969
|
# @return [String]
|
1936
1970
|
attr_accessor :status
|
1937
1971
|
|
1938
|
-
#
|
1972
|
+
# The type of group member.
|
1939
1973
|
# Corresponds to the JSON property `type`
|
1940
1974
|
# @return [String]
|
1941
1975
|
attr_accessor :type
|
@@ -2015,7 +2049,10 @@ module Google
|
|
2015
2049
|
end
|
2016
2050
|
end
|
2017
2051
|
|
2018
|
-
#
|
2052
|
+
# G Suite Mobile Management includes Android, [Google Sync](http://support.
|
2053
|
+
# google.com/a/bin/answer.py?answer=135937), and iOS devices. For more
|
2054
|
+
# information about common group mobile device API tasks, see the [Developer's
|
2055
|
+
# Guide](/admin-sdk/directory/v1/guides/manage-mobile-devices.html).
|
2019
2056
|
class MobileDevice
|
2020
2057
|
include Google::Apis::Core::Hashable
|
2021
2058
|
|
@@ -2025,12 +2062,17 @@ module Google
|
|
2025
2062
|
attr_accessor :adb_status
|
2026
2063
|
alias_method :adb_status?, :adb_status
|
2027
2064
|
|
2028
|
-
#
|
2065
|
+
# The list of applications installed on an Android mobile device. It is not
|
2066
|
+
# applicable to Google Sync and iOS devices. The list includes any Android
|
2067
|
+
# applications that access G Suite data. When updating an applications list, it
|
2068
|
+
# is important to note that updates replace the existing list. If the Android
|
2069
|
+
# device has two existing applications and the API updates the list with five
|
2070
|
+
# applications, the is now the updated list of five applications.
|
2029
2071
|
# Corresponds to the JSON property `applications`
|
2030
2072
|
# @return [Array<Google::Apis::AdminDirectoryV1::MobileDevice::Application>]
|
2031
2073
|
attr_accessor :applications
|
2032
2074
|
|
2033
|
-
#
|
2075
|
+
# The device's baseband version.
|
2034
2076
|
# Corresponds to the JSON property `basebandVersion`
|
2035
2077
|
# @return [String]
|
2036
2078
|
attr_accessor :baseband_version
|
@@ -2045,12 +2087,12 @@ module Google
|
|
2045
2087
|
# @return [String]
|
2046
2088
|
attr_accessor :brand
|
2047
2089
|
|
2048
|
-
#
|
2090
|
+
# The device's operating system build number.
|
2049
2091
|
# Corresponds to the JSON property `buildNumber`
|
2050
2092
|
# @return [String]
|
2051
2093
|
attr_accessor :build_number
|
2052
2094
|
|
2053
|
-
# The default locale used on the
|
2095
|
+
# The default locale used on the device.
|
2054
2096
|
# Corresponds to the JSON property `defaultLanguage`
|
2055
2097
|
# @return [String]
|
2056
2098
|
attr_accessor :default_language
|
@@ -2061,12 +2103,13 @@ module Google
|
|
2061
2103
|
attr_accessor :developer_options_status
|
2062
2104
|
alias_method :developer_options_status?, :developer_options_status
|
2063
2105
|
|
2064
|
-
#
|
2106
|
+
# The compromised device status.
|
2065
2107
|
# Corresponds to the JSON property `deviceCompromisedStatus`
|
2066
2108
|
# @return [String]
|
2067
2109
|
attr_accessor :device_compromised_status
|
2068
2110
|
|
2069
|
-
#
|
2111
|
+
# The serial number for a Google Sync mobile device. For Android and iOS devices,
|
2112
|
+
# this is a software generated unique identifier.
|
2070
2113
|
# Corresponds to the JSON property `deviceId`
|
2071
2114
|
# @return [String]
|
2072
2115
|
attr_accessor :device_id
|
@@ -2076,7 +2119,10 @@ module Google
|
|
2076
2119
|
# @return [String]
|
2077
2120
|
attr_accessor :device_password_status
|
2078
2121
|
|
2079
|
-
# List of owner
|
2122
|
+
# List of owner's email addresses. If your application needs the current list of
|
2123
|
+
# user emails, use the [get](/admin-sdk/directory/v1/reference/mobiledevices/get.
|
2124
|
+
# html) method. For additional information, see the [retrieve a user](/admin-sdk/
|
2125
|
+
# directory/v1/guides/manage-users#get_user) method.
|
2080
2126
|
# Corresponds to the JSON property `email`
|
2081
2127
|
# @return [Array<String>]
|
2082
2128
|
attr_accessor :email
|
@@ -2102,22 +2148,25 @@ module Google
|
|
2102
2148
|
# @return [String]
|
2103
2149
|
attr_accessor :hardware
|
2104
2150
|
|
2105
|
-
#
|
2151
|
+
# The IMEI/MEID unique identifier for Android hardware. It is not applicable to
|
2152
|
+
# Google Sync devices. When adding an Android mobile device, this is an optional
|
2153
|
+
# property. When updating one of these devices, this is a read-only property.
|
2106
2154
|
# Corresponds to the JSON property `hardwareId`
|
2107
2155
|
# @return [String]
|
2108
2156
|
attr_accessor :hardware_id
|
2109
2157
|
|
2110
|
-
#
|
2158
|
+
# The device's IMEI number.
|
2111
2159
|
# Corresponds to the JSON property `imei`
|
2112
2160
|
# @return [String]
|
2113
2161
|
attr_accessor :imei
|
2114
2162
|
|
2115
|
-
#
|
2163
|
+
# The device's kernel version.
|
2116
2164
|
# Corresponds to the JSON property `kernelVersion`
|
2117
2165
|
# @return [String]
|
2118
2166
|
attr_accessor :kernel_version
|
2119
2167
|
|
2120
|
-
#
|
2168
|
+
# The type of the API resource. For Mobiledevices resources, the value is `admin#
|
2169
|
+
# directory#mobiledevice`.
|
2121
2170
|
# Corresponds to the JSON property `kind`
|
2122
2171
|
# @return [String]
|
2123
2172
|
attr_accessor :kind
|
@@ -2128,8 +2177,7 @@ module Google
|
|
2128
2177
|
# @return [DateTime]
|
2129
2178
|
attr_accessor :last_sync
|
2130
2179
|
|
2131
|
-
# Boolean indicating if this account is on owner/primary profile or not
|
2132
|
-
# only)
|
2180
|
+
# Boolean indicating if this account is on owner/primary profile or not.
|
2133
2181
|
# Corresponds to the JSON property `managedAccountIsOnOwnerProfile`
|
2134
2182
|
# @return [Boolean]
|
2135
2183
|
attr_accessor :managed_account_is_on_owner_profile
|
@@ -2140,17 +2188,24 @@ module Google
|
|
2140
2188
|
# @return [String]
|
2141
2189
|
attr_accessor :manufacturer
|
2142
2190
|
|
2143
|
-
#
|
2191
|
+
# The device's MEID number.
|
2144
2192
|
# Corresponds to the JSON property `meid`
|
2145
2193
|
# @return [String]
|
2146
2194
|
attr_accessor :meid
|
2147
2195
|
|
2148
|
-
#
|
2196
|
+
# The mobile device's model name, for example Nexus S. This property can be [
|
2197
|
+
# updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For
|
2198
|
+
# more information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/
|
2199
|
+
# manage-mobile=devices#update_mobile_device).
|
2149
2200
|
# Corresponds to the JSON property `model`
|
2150
2201
|
# @return [String]
|
2151
2202
|
attr_accessor :model
|
2152
2203
|
|
2153
|
-
# List of owner
|
2204
|
+
# List of the owner's user names. If your application needs the current list of
|
2205
|
+
# device owner names, use the [get](/admin-sdk/directory/v1/reference/
|
2206
|
+
# mobiledevices/get.html) method. For more information about retrieving mobile
|
2207
|
+
# device user information, see the [Developer's Guide](/admin-sdk/directory/v1/
|
2208
|
+
# guides/manage-users#get_user).
|
2154
2209
|
# Corresponds to the JSON property `name`
|
2155
2210
|
# @return [Array<String>]
|
2156
2211
|
attr_accessor :name
|
@@ -2160,7 +2215,10 @@ module Google
|
|
2160
2215
|
# @return [String]
|
2161
2216
|
attr_accessor :network_operator
|
2162
2217
|
|
2163
|
-
#
|
2218
|
+
# The mobile device's operating system, for example IOS 4.3 or Android 2.3.5.
|
2219
|
+
# This property can be [updated](/admin-sdk/directory/v1/reference/mobiledevices/
|
2220
|
+
# update.html). For more information, see the [Developer's Guide](/admin-sdk/
|
2221
|
+
# directory/v1/guides/manage-mobile-devices#update_mobile_device).
|
2164
2222
|
# Corresponds to the JSON property `os`
|
2165
2223
|
# @return [String]
|
2166
2224
|
attr_accessor :os
|
@@ -2180,7 +2238,7 @@ module Google
|
|
2180
2238
|
# @return [String]
|
2181
2239
|
attr_accessor :release_version
|
2182
2240
|
|
2183
|
-
#
|
2241
|
+
# The unique ID the API service uses to identify the mobile device.
|
2184
2242
|
# Corresponds to the JSON property `resourceId`
|
2185
2243
|
# @return [String]
|
2186
2244
|
attr_accessor :resource_id
|
@@ -2190,12 +2248,12 @@ module Google
|
|
2190
2248
|
# @return [Fixnum]
|
2191
2249
|
attr_accessor :security_patch_level
|
2192
2250
|
|
2193
|
-
#
|
2251
|
+
# The device's serial number.
|
2194
2252
|
# Corresponds to the JSON property `serialNumber`
|
2195
2253
|
# @return [String]
|
2196
2254
|
attr_accessor :serial_number
|
2197
2255
|
|
2198
|
-
#
|
2256
|
+
# The device's status.
|
2199
2257
|
# Corresponds to the JSON property `status`
|
2200
2258
|
# @return [String]
|
2201
2259
|
attr_accessor :status
|
@@ -2206,7 +2264,7 @@ module Google
|
|
2206
2264
|
attr_accessor :supports_work_profile
|
2207
2265
|
alias_method :supports_work_profile?, :supports_work_profile
|
2208
2266
|
|
2209
|
-
# The type of device
|
2267
|
+
# The type of mobile device.
|
2210
2268
|
# Corresponds to the JSON property `type`
|
2211
2269
|
# @return [String]
|
2212
2270
|
attr_accessor :type
|
@@ -2217,12 +2275,15 @@ module Google
|
|
2217
2275
|
attr_accessor :unknown_sources_status
|
2218
2276
|
alias_method :unknown_sources_status?, :unknown_sources_status
|
2219
2277
|
|
2220
|
-
#
|
2278
|
+
# Gives information about the device such as `os` version. This property can be [
|
2279
|
+
# updated](/admin-sdk/directory/v1/reference/mobiledevices/update.html). For
|
2280
|
+
# more information, see the [Developer's Guide](/admin-sdk/directory/v1/guides/
|
2281
|
+
# manage-mobile-devices#update_mobile_device).
|
2221
2282
|
# Corresponds to the JSON property `userAgent`
|
2222
2283
|
# @return [String]
|
2223
2284
|
attr_accessor :user_agent
|
2224
2285
|
|
2225
|
-
#
|
2286
|
+
# The device's MAC address on Wi-Fi networks.
|
2226
2287
|
# Corresponds to the JSON property `wifiMacAddress`
|
2227
2288
|
# @return [String]
|
2228
2289
|
attr_accessor :wifi_mac_address
|
@@ -2279,27 +2340,31 @@ module Google
|
|
2279
2340
|
class Application
|
2280
2341
|
include Google::Apis::Core::Hashable
|
2281
2342
|
|
2282
|
-
#
|
2343
|
+
# The application's display name. An example is `Browser`.
|
2283
2344
|
# Corresponds to the JSON property `displayName`
|
2284
2345
|
# @return [String]
|
2285
2346
|
attr_accessor :display_name
|
2286
2347
|
|
2287
|
-
#
|
2348
|
+
# The application's package name. An example is `com.android.browser`.
|
2288
2349
|
# Corresponds to the JSON property `packageName`
|
2289
2350
|
# @return [String]
|
2290
2351
|
attr_accessor :package_name
|
2291
2352
|
|
2292
|
-
#
|
2353
|
+
# The list of permissions of this application. These can be either a standard
|
2354
|
+
# Android permission or one defined by the application, and are found in an
|
2355
|
+
# application's [Android manifest](http://developer.android.com/guide/topics/
|
2356
|
+
# manifest/uses-permission-element.html). Examples of a Calendar application's
|
2357
|
+
# permissions are `READ_CALENDAR`, or `MANAGE_ACCOUNTS`.
|
2293
2358
|
# Corresponds to the JSON property `permission`
|
2294
2359
|
# @return [Array<String>]
|
2295
2360
|
attr_accessor :permission
|
2296
2361
|
|
2297
|
-
#
|
2362
|
+
# The application's version code. An example is `13`.
|
2298
2363
|
# Corresponds to the JSON property `versionCode`
|
2299
2364
|
# @return [Fixnum]
|
2300
2365
|
attr_accessor :version_code
|
2301
2366
|
|
2302
|
-
#
|
2367
|
+
# The application's version name. An example is `3.2-140714`.
|
2303
2368
|
# Corresponds to the JSON property `versionName`
|
2304
2369
|
# @return [String]
|
2305
2370
|
attr_accessor :version_name
|
@@ -2323,7 +2388,7 @@ module Google
|
|
2323
2388
|
class MobileDeviceAction
|
2324
2389
|
include Google::Apis::Core::Hashable
|
2325
2390
|
|
2326
|
-
#
|
2391
|
+
# The action to be performed on the device.
|
2327
2392
|
# Corresponds to the JSON property `action`
|
2328
2393
|
# @return [String]
|
2329
2394
|
attr_accessor :action
|
@@ -2375,20 +2440,25 @@ module Google
|
|
2375
2440
|
end
|
2376
2441
|
end
|
2377
2442
|
|
2378
|
-
#
|
2379
|
-
#
|
2380
|
-
#
|
2381
|
-
#
|
2443
|
+
# Managing your account's organizational units allows you to configure your
|
2444
|
+
# users' access to services and custom settings. For more information about
|
2445
|
+
# common organizational unit tasks, see the [Developer's Guide](/admin-sdk/
|
2446
|
+
# directory/v1/guides/manage-org-units.html).
|
2382
2447
|
class OrgUnit
|
2383
2448
|
include Google::Apis::Core::Hashable
|
2384
2449
|
|
2385
|
-
#
|
2450
|
+
# Determines if a sub-organizational unit can inherit the settings of the parent
|
2451
|
+
# organization. The default value is `false`, meaning a sub-organizational unit
|
2452
|
+
# inherits the settings of the nearest parent organizational unit. For more
|
2453
|
+
# information on inheritance and users in an organization structure, see the [
|
2454
|
+
# administration help center](http://support.google.com/a/bin/answer.py?answer=
|
2455
|
+
# 182442&topic=1227584&ctx=topic).
|
2386
2456
|
# Corresponds to the JSON property `blockInheritance`
|
2387
2457
|
# @return [Boolean]
|
2388
2458
|
attr_accessor :block_inheritance
|
2389
2459
|
alias_method :block_inheritance?, :block_inheritance
|
2390
2460
|
|
2391
|
-
# Description of
|
2461
|
+
# Description of the organizational unit.
|
2392
2462
|
# Corresponds to the JSON property `description`
|
2393
2463
|
# @return [String]
|
2394
2464
|
attr_accessor :description
|
@@ -2398,32 +2468,49 @@ module Google
|
|
2398
2468
|
# @return [String]
|
2399
2469
|
attr_accessor :etag
|
2400
2470
|
|
2401
|
-
#
|
2471
|
+
# The type of the API resource. For Orgunits resources, the value is `admin#
|
2472
|
+
# directory#orgUnit`.
|
2402
2473
|
# Corresponds to the JSON property `kind`
|
2403
2474
|
# @return [String]
|
2404
2475
|
attr_accessor :kind
|
2405
2476
|
|
2406
|
-
#
|
2477
|
+
# The organizational unit's path name. For example, an organizational unit's
|
2478
|
+
# name within the /corp/support/sales_support parent path is sales_support.
|
2479
|
+
# Required.
|
2407
2480
|
# Corresponds to the JSON property `name`
|
2408
2481
|
# @return [String]
|
2409
2482
|
attr_accessor :name
|
2410
2483
|
|
2411
|
-
#
|
2484
|
+
# The unique ID of the organizational unit.
|
2412
2485
|
# Corresponds to the JSON property `orgUnitId`
|
2413
2486
|
# @return [String]
|
2414
2487
|
attr_accessor :org_unit_id
|
2415
2488
|
|
2416
|
-
#
|
2489
|
+
# The full path to the organizational unit. The `orgUnitPath` is a derived
|
2490
|
+
# property. When listed, it is derived from `parentOrgunitPath` and
|
2491
|
+
# organizational unit's `name`. For example, for an organizational unit named '
|
2492
|
+
# apps' under parent organization '/engineering', the orgUnitPath is '/
|
2493
|
+
# engineering/apps'. In order to edit an `orgUnitPath`, either update the name
|
2494
|
+
# of the organization or the `parentOrgunitPath`. A user's organizational unit
|
2495
|
+
# determines which G Suite services the user has access to. If the user is moved
|
2496
|
+
# to a new organization, the user's access changes. For more information about
|
2497
|
+
# organization structures, see the [administration help center](http://support.
|
2498
|
+
# google.com/a/bin/answer.py?answer=182433&topic=1227584&ctx=topic). For more
|
2499
|
+
# information about moving a user to a different organization, see [Update a
|
2500
|
+
# user](/admin-sdk/directory/v1/guides/manage-users.html#update_user).
|
2417
2501
|
# Corresponds to the JSON property `orgUnitPath`
|
2418
2502
|
# @return [String]
|
2419
2503
|
attr_accessor :org_unit_path
|
2420
2504
|
|
2421
|
-
#
|
2505
|
+
# The unique ID of the parent organizational unit. Required, unless `
|
2506
|
+
# parentOrgUnitPath` is set.
|
2422
2507
|
# Corresponds to the JSON property `parentOrgUnitId`
|
2423
2508
|
# @return [String]
|
2424
2509
|
attr_accessor :parent_org_unit_id
|
2425
2510
|
|
2426
|
-
#
|
2511
|
+
# The organizational unit's parent path. For example, /corp/sales is the parent
|
2512
|
+
# path for /corp/sales/sales_support organizational unit. Required, unless `
|
2513
|
+
# parentOrgUnitId` is set.
|
2427
2514
|
# Corresponds to the JSON property `parentOrgUnitPath`
|
2428
2515
|
# @return [String]
|
2429
2516
|
attr_accessor :parent_org_unit_path
|
@@ -2446,10 +2533,7 @@ module Google
|
|
2446
2533
|
end
|
2447
2534
|
end
|
2448
2535
|
|
2449
|
-
#
|
2450
|
-
# STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/
|
2451
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
2452
|
-
# field 'etag'. (See http://go/stepladder-help#fieldNumber)
|
2536
|
+
#
|
2453
2537
|
class OrgUnits
|
2454
2538
|
include Google::Apis::Core::Hashable
|
2455
2539
|
|
@@ -2458,12 +2542,13 @@ module Google
|
|
2458
2542
|
# @return [String]
|
2459
2543
|
attr_accessor :etag
|
2460
2544
|
|
2461
|
-
#
|
2545
|
+
# The type of the API resource. For Org Unit resources, the type is `admin#
|
2546
|
+
# directory#orgUnits`.
|
2462
2547
|
# Corresponds to the JSON property `kind`
|
2463
2548
|
# @return [String]
|
2464
2549
|
attr_accessor :kind
|
2465
2550
|
|
2466
|
-
# List of
|
2551
|
+
# List of organizational unit objects.
|
2467
2552
|
# Corresponds to the JSON property `organizationUnits`
|
2468
2553
|
# @return [Array<Google::Apis::AdminDirectoryV1::OrgUnit>]
|
2469
2554
|
attr_accessor :organization_units
|
@@ -2502,7 +2587,7 @@ module Google
|
|
2502
2587
|
attr_accessor :is_ou_scopable
|
2503
2588
|
alias_method :is_ou_scopable?, :is_ou_scopable
|
2504
2589
|
|
2505
|
-
# The type of the API resource. This is always admin#directory#privilege
|
2590
|
+
# The type of the API resource. This is always `admin#directory#privilege`.
|
2506
2591
|
# Corresponds to the JSON property `kind`
|
2507
2592
|
# @return [String]
|
2508
2593
|
attr_accessor :kind
|
@@ -2513,7 +2598,7 @@ module Google
|
|
2513
2598
|
attr_accessor :privilege_name
|
2514
2599
|
|
2515
2600
|
# The obfuscated ID of the service this privilege is for. This value is returned
|
2516
|
-
# with Privileges.list().
|
2601
|
+
# with [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list).
|
2517
2602
|
# Corresponds to the JSON property `serviceId`
|
2518
2603
|
# @return [String]
|
2519
2604
|
attr_accessor :service_id
|
@@ -2553,7 +2638,7 @@ module Google
|
|
2553
2638
|
# @return [Array<Google::Apis::AdminDirectoryV1::Privilege>]
|
2554
2639
|
attr_accessor :items
|
2555
2640
|
|
2556
|
-
# The type of the API resource. This is always admin#directory#privileges
|
2641
|
+
# The type of the API resource. This is always `admin#directory#privileges`.
|
2557
2642
|
# Corresponds to the JSON property `kind`
|
2558
2643
|
# @return [String]
|
2559
2644
|
attr_accessor :kind
|
@@ -2570,6 +2655,32 @@ module Google
|
|
2570
2655
|
end
|
2571
2656
|
end
|
2572
2657
|
|
2658
|
+
# List of recent device users, in descending order, by last login time.
|
2659
|
+
class RecentUsers
|
2660
|
+
include Google::Apis::Core::Hashable
|
2661
|
+
|
2662
|
+
# The user's email address. This is only present if the user type is `
|
2663
|
+
# USER_TYPE_MANAGED`.
|
2664
|
+
# Corresponds to the JSON property `email`
|
2665
|
+
# @return [String]
|
2666
|
+
attr_accessor :email
|
2667
|
+
|
2668
|
+
# The type of the user.
|
2669
|
+
# Corresponds to the JSON property `type`
|
2670
|
+
# @return [String]
|
2671
|
+
attr_accessor :type
|
2672
|
+
|
2673
|
+
def initialize(**args)
|
2674
|
+
update!(**args)
|
2675
|
+
end
|
2676
|
+
|
2677
|
+
# Update properties of this object
|
2678
|
+
def update!(**args)
|
2679
|
+
@email = args[:email] if args.key?(:email)
|
2680
|
+
@type = args[:type] if args.key?(:type)
|
2681
|
+
end
|
2682
|
+
end
|
2683
|
+
|
2573
2684
|
#
|
2574
2685
|
class Role
|
2575
2686
|
include Google::Apis::Core::Hashable
|
@@ -2579,19 +2690,19 @@ module Google
|
|
2579
2690
|
# @return [String]
|
2580
2691
|
attr_accessor :etag
|
2581
2692
|
|
2582
|
-
# Returns true if the role is a super admin role.
|
2693
|
+
# Returns `true` if the role is a super admin role.
|
2583
2694
|
# Corresponds to the JSON property `isSuperAdminRole`
|
2584
2695
|
# @return [Boolean]
|
2585
2696
|
attr_accessor :is_super_admin_role
|
2586
2697
|
alias_method :is_super_admin_role?, :is_super_admin_role
|
2587
2698
|
|
2588
|
-
# Returns true if this is a pre-defined system role.
|
2699
|
+
# Returns `true` if this is a pre-defined system role.
|
2589
2700
|
# Corresponds to the JSON property `isSystemRole`
|
2590
2701
|
# @return [Boolean]
|
2591
2702
|
attr_accessor :is_system_role
|
2592
2703
|
alias_method :is_system_role?, :is_system_role
|
2593
2704
|
|
2594
|
-
# The type of the API resource. This is always admin#directory#role
|
2705
|
+
# The type of the API resource. This is always `admin#directory#role`.
|
2595
2706
|
# Corresponds to the JSON property `kind`
|
2596
2707
|
# @return [String]
|
2597
2708
|
attr_accessor :kind
|
@@ -2642,7 +2753,7 @@ module Google
|
|
2642
2753
|
attr_accessor :privilege_name
|
2643
2754
|
|
2644
2755
|
# The obfuscated ID of the service this privilege is for. This value is returned
|
2645
|
-
# with Privileges.list().
|
2756
|
+
# with [`Privileges.list()`](/admin-sdk/directory/v1/reference/privileges/list).
|
2646
2757
|
# Corresponds to the JSON property `serviceId`
|
2647
2758
|
# @return [String]
|
2648
2759
|
attr_accessor :service_id
|
@@ -2673,7 +2784,7 @@ module Google
|
|
2673
2784
|
# @return [String]
|
2674
2785
|
attr_accessor :etag
|
2675
2786
|
|
2676
|
-
# The type of the API resource. This is always admin#directory#roleAssignment
|
2787
|
+
# The type of the API resource. This is always `admin#directory#roleAssignment`.
|
2677
2788
|
# Corresponds to the JSON property `kind`
|
2678
2789
|
# @return [String]
|
2679
2790
|
attr_accessor :kind
|
@@ -2694,8 +2805,7 @@ module Google
|
|
2694
2805
|
# @return [Fixnum]
|
2695
2806
|
attr_accessor :role_id
|
2696
2807
|
|
2697
|
-
# The scope in which this role is assigned.
|
2698
|
-
# ORG_UNIT
|
2808
|
+
# The scope in which this role is assigned.
|
2699
2809
|
# Corresponds to the JSON property `scopeType`
|
2700
2810
|
# @return [String]
|
2701
2811
|
attr_accessor :scope_type
|
@@ -2730,7 +2840,7 @@ module Google
|
|
2730
2840
|
# @return [Array<Google::Apis::AdminDirectoryV1::RoleAssignment>]
|
2731
2841
|
attr_accessor :items
|
2732
2842
|
|
2733
|
-
# The type of the API resource. This is always admin#directory#roleAssignments
|
2843
|
+
# The type of the API resource. This is always `admin#directory#roleAssignments`.
|
2734
2844
|
# Corresponds to the JSON property `kind`
|
2735
2845
|
# @return [String]
|
2736
2846
|
attr_accessor :kind
|
@@ -2767,7 +2877,7 @@ module Google
|
|
2767
2877
|
# @return [Array<Google::Apis::AdminDirectoryV1::Role>]
|
2768
2878
|
attr_accessor :items
|
2769
2879
|
|
2770
|
-
# The type of the API resource. This is always admin#directory#roles
|
2880
|
+
# The type of the API resource. This is always `admin#directory#roles`.
|
2771
2881
|
# Corresponds to the JSON property `kind`
|
2772
2882
|
# @return [String]
|
2773
2883
|
attr_accessor :kind
|
@@ -2790,10 +2900,8 @@ module Google
|
|
2790
2900
|
end
|
2791
2901
|
end
|
2792
2902
|
|
2793
|
-
#
|
2794
|
-
#
|
2795
|
-
# fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (
|
2796
|
-
# See http://go/stepladder-help#fieldNumber)
|
2903
|
+
# The type of API resource. For Schema resources, this is always `admin#
|
2904
|
+
# directory#schema`.
|
2797
2905
|
class Schema
|
2798
2906
|
include Google::Apis::Core::Hashable
|
2799
2907
|
|
@@ -2802,12 +2910,12 @@ module Google
|
|
2802
2910
|
# @return [String]
|
2803
2911
|
attr_accessor :display_name
|
2804
2912
|
|
2805
|
-
# ETag of the resource.
|
2913
|
+
# The ETag of the resource.
|
2806
2914
|
# Corresponds to the JSON property `etag`
|
2807
2915
|
# @return [String]
|
2808
2916
|
attr_accessor :etag
|
2809
2917
|
|
2810
|
-
#
|
2918
|
+
# A list of fields in the schema.
|
2811
2919
|
# Corresponds to the JSON property `fields`
|
2812
2920
|
# @return [Array<Google::Apis::AdminDirectoryV1::SchemaFieldSpec>]
|
2813
2921
|
attr_accessor :fields
|
@@ -2817,12 +2925,12 @@ module Google
|
|
2817
2925
|
# @return [String]
|
2818
2926
|
attr_accessor :kind
|
2819
2927
|
|
2820
|
-
#
|
2928
|
+
# The unique identifier of the schema (Read-only)
|
2821
2929
|
# Corresponds to the JSON property `schemaId`
|
2822
2930
|
# @return [String]
|
2823
2931
|
attr_accessor :schema_id
|
2824
2932
|
|
2825
|
-
#
|
2933
|
+
# The schema's name.
|
2826
2934
|
# Corresponds to the JSON property `schemaName`
|
2827
2935
|
# @return [String]
|
2828
2936
|
attr_accessor :schema_name
|
@@ -2842,10 +2950,11 @@ module Google
|
|
2842
2950
|
end
|
2843
2951
|
end
|
2844
2952
|
|
2845
|
-
#
|
2846
|
-
#
|
2847
|
-
#
|
2848
|
-
# (
|
2953
|
+
# You can use schemas to add custom fields to user profiles. You can use these
|
2954
|
+
# fields to store information such as the projects your users work on, their
|
2955
|
+
# physical locations, their hire dates, or whatever else fits your business
|
2956
|
+
# needs. For more information, see [Custom User Fields](/admin-sdk/directory/v1/
|
2957
|
+
# guides/manage-schemas).
|
2849
2958
|
class SchemaFieldSpec
|
2850
2959
|
include Google::Apis::Core::Hashable
|
2851
2960
|
|
@@ -2854,52 +2963,56 @@ module Google
|
|
2854
2963
|
# @return [String]
|
2855
2964
|
attr_accessor :display_name
|
2856
2965
|
|
2857
|
-
# ETag of the
|
2966
|
+
# The ETag of the field.
|
2858
2967
|
# Corresponds to the JSON property `etag`
|
2859
2968
|
# @return [String]
|
2860
2969
|
attr_accessor :etag
|
2861
2970
|
|
2862
|
-
#
|
2971
|
+
# The unique identifier of the field (Read-only)
|
2863
2972
|
# Corresponds to the JSON property `fieldId`
|
2864
2973
|
# @return [String]
|
2865
2974
|
attr_accessor :field_id
|
2866
2975
|
|
2867
|
-
#
|
2976
|
+
# The name of the field.
|
2868
2977
|
# Corresponds to the JSON property `fieldName`
|
2869
2978
|
# @return [String]
|
2870
2979
|
attr_accessor :field_name
|
2871
2980
|
|
2872
|
-
#
|
2981
|
+
# The type of the field.
|
2873
2982
|
# Corresponds to the JSON property `fieldType`
|
2874
2983
|
# @return [String]
|
2875
2984
|
attr_accessor :field_type
|
2876
2985
|
|
2877
|
-
# Boolean specifying whether the field is indexed or not.
|
2986
|
+
# Boolean specifying whether the field is indexed or not. Default: `true`.
|
2878
2987
|
# Corresponds to the JSON property `indexed`
|
2879
2988
|
# @return [Boolean]
|
2880
2989
|
attr_accessor :indexed
|
2881
2990
|
alias_method :indexed?, :indexed
|
2882
2991
|
|
2883
|
-
#
|
2992
|
+
# The kind of resource this is. For schema fields this is always `admin#
|
2993
|
+
# directory#schema#fieldspec`.
|
2884
2994
|
# Corresponds to the JSON property `kind`
|
2885
2995
|
# @return [String]
|
2886
2996
|
attr_accessor :kind
|
2887
2997
|
|
2888
|
-
#
|
2998
|
+
# A boolean specifying whether this is a multi-valued field or not. Default: `
|
2999
|
+
# false`.
|
2889
3000
|
# Corresponds to the JSON property `multiValued`
|
2890
3001
|
# @return [Boolean]
|
2891
3002
|
attr_accessor :multi_valued
|
2892
3003
|
alias_method :multi_valued?, :multi_valued
|
2893
3004
|
|
2894
3005
|
# Indexing spec for a numeric field. By default, only exact match queries will
|
2895
|
-
# be supported for numeric fields. Setting the numericIndexingSpec allows
|
2896
|
-
# queries to be supported.
|
3006
|
+
# be supported for numeric fields. Setting the `numericIndexingSpec` allows
|
3007
|
+
# range queries to be supported.
|
2897
3008
|
# Corresponds to the JSON property `numericIndexingSpec`
|
2898
3009
|
# @return [Google::Apis::AdminDirectoryV1::SchemaFieldSpec::NumericIndexingSpec]
|
2899
3010
|
attr_accessor :numeric_indexing_spec
|
2900
3011
|
|
2901
|
-
#
|
2902
|
-
#
|
3012
|
+
# Specifies who can view values of this field. See [Retrieve users as a non-
|
3013
|
+
# administrator](/admin-sdk/directory/v1/guides/manage-users#
|
3014
|
+
# retrieve_users_non_admin) for more information. Note: It may take up to 24
|
3015
|
+
# hours for changes to this field to be reflected.
|
2903
3016
|
# Corresponds to the JSON property `readAccessType`
|
2904
3017
|
# @return [String]
|
2905
3018
|
attr_accessor :read_access_type
|
@@ -2923,8 +3036,8 @@ module Google
|
|
2923
3036
|
end
|
2924
3037
|
|
2925
3038
|
# Indexing spec for a numeric field. By default, only exact match queries will
|
2926
|
-
# be supported for numeric fields. Setting the numericIndexingSpec allows
|
2927
|
-
# queries to be supported.
|
3039
|
+
# be supported for numeric fields. Setting the `numericIndexingSpec` allows
|
3040
|
+
# range queries to be supported.
|
2928
3041
|
class NumericIndexingSpec
|
2929
3042
|
include Google::Apis::Core::Hashable
|
2930
3043
|
|
@@ -2954,10 +3067,7 @@ module Google
|
|
2954
3067
|
end
|
2955
3068
|
end
|
2956
3069
|
|
2957
|
-
# JSON response template for List Schema operation in Directory API.
|
2958
|
-
# Generated unstable field number for field 'kind'. (See http://go/stepladder-
|
2959
|
-
# help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'.
|
2960
|
-
# (See http://go/stepladder-help#fieldNumber)
|
3070
|
+
# JSON response template for List Schema operation in Directory API.
|
2961
3071
|
class Schemas
|
2962
3072
|
include Google::Apis::Core::Hashable
|
2963
3073
|
|
@@ -2988,14 +3098,11 @@ module Google
|
|
2988
3098
|
end
|
2989
3099
|
end
|
2990
3100
|
|
2991
|
-
# JSON template for token resource in Directory API.
|
2992
|
-
# unstable field number for field 'kind'. (See http://go/stepladder-help#
|
2993
|
-
# fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (
|
2994
|
-
# See http://go/stepladder-help#fieldNumber)
|
3101
|
+
# JSON template for token resource in Directory API.
|
2995
3102
|
class Token
|
2996
3103
|
include Google::Apis::Core::Hashable
|
2997
3104
|
|
2998
|
-
# Whether the application is registered with Google. The value is true if the
|
3105
|
+
# Whether the application is registered with Google. The value is `true` if the
|
2999
3106
|
# application has an anonymous Client ID.
|
3000
3107
|
# Corresponds to the JSON property `anonymous`
|
3001
3108
|
# @return [Boolean]
|
@@ -3017,13 +3124,13 @@ module Google
|
|
3017
3124
|
# @return [String]
|
3018
3125
|
attr_accessor :etag
|
3019
3126
|
|
3020
|
-
# The type of the API resource. This is always admin#directory#token
|
3127
|
+
# The type of the API resource. This is always `admin#directory#token`.
|
3021
3128
|
# Corresponds to the JSON property `kind`
|
3022
3129
|
# @return [String]
|
3023
3130
|
attr_accessor :kind
|
3024
3131
|
|
3025
|
-
# Whether the token is issued to an installed application. The value is true
|
3026
|
-
# the application is installed to a desktop or mobile device.
|
3132
|
+
# Whether the token is issued to an installed application. The value is `true`
|
3133
|
+
# if the application is installed to a desktop or mobile device.
|
3027
3134
|
# Corresponds to the JSON property `nativeApp`
|
3028
3135
|
# @return [Boolean]
|
3029
3136
|
attr_accessor :native_app
|
@@ -3056,10 +3163,7 @@ module Google
|
|
3056
3163
|
end
|
3057
3164
|
end
|
3058
3165
|
|
3059
|
-
# JSON response template for List tokens operation in Directory API.
|
3060
|
-
# Generated unstable field number for field 'kind'. (See http://go/stepladder-
|
3061
|
-
# help#fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'.
|
3062
|
-
# (See http://go/stepladder-help#fieldNumber)
|
3166
|
+
# JSON response template for List tokens operation in Directory API.
|
3063
3167
|
class Tokens
|
3064
3168
|
include Google::Apis::Core::Hashable
|
3065
3169
|
|
@@ -3073,7 +3177,7 @@ module Google
|
|
3073
3177
|
# @return [Array<Google::Apis::AdminDirectoryV1::Token>]
|
3074
3178
|
attr_accessor :items
|
3075
3179
|
|
3076
|
-
# The type of the API resource. This is always admin#directory#tokenList
|
3180
|
+
# The type of the API resource. This is always `admin#directory#tokenList`.
|
3077
3181
|
# Corresponds to the JSON property `kind`
|
3078
3182
|
# @return [String]
|
3079
3183
|
attr_accessor :kind
|
@@ -3090,49 +3194,28 @@ module Google
|
|
3090
3194
|
end
|
3091
3195
|
end
|
3092
3196
|
|
3093
|
-
#
|
3094
|
-
#
|
3095
|
-
#
|
3096
|
-
#
|
3097
|
-
#
|
3098
|
-
# field number for field 'relations' to avoid collision. (See http://go/
|
3099
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
3100
|
-
# field 'addresses' to avoid collision. (See http://go/stepladder-help#
|
3101
|
-
# fieldNumber) STEPLADDER: Generated unstable field number for field '
|
3102
|
-
# organizations' to avoid collision. (See http://go/stepladder-help#fieldNumber)
|
3103
|
-
# STEPLADDER: Generated unstable field number for field 'phones' to avoid
|
3104
|
-
# collision. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated
|
3105
|
-
# unstable field number for field 'languages' to avoid collision. (See http://go/
|
3106
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
3107
|
-
# field 'posix_accounts' to avoid collision. (See http://go/stepladder-help#
|
3108
|
-
# fieldNumber) STEPLADDER: Generated unstable field number for field '
|
3109
|
-
# ssh_public_keys' to avoid collision. (See http://go/stepladder-help#
|
3110
|
-
# fieldNumber) STEPLADDER: Generated unstable field number for field 'notes' to
|
3111
|
-
# avoid collision. (See http://go/stepladder-help#fieldNumber) STEPLADDER:
|
3112
|
-
# Generated unstable field number for field 'websites' to avoid collision. (See
|
3113
|
-
# http://go/stepladder-help#fieldNumber) STEPLADDER: Generated unstable field
|
3114
|
-
# number for field 'locations' to avoid collision. (See http://go/stepladder-
|
3115
|
-
# help#fieldNumber) STEPLADDER: Generated unstable field number for field '
|
3116
|
-
# keywords' to avoid collision. (See http://go/stepladder-help#fieldNumber)
|
3117
|
-
# STEPLADDER: Generated unstable field number for field 'gender' to avoid
|
3118
|
-
# collision. (See http://go/stepladder-help#fieldNumber) STEPLADDER: Generated
|
3119
|
-
# unstable field number for field 'thumbnail_photo_etag' to avoid collision. (
|
3120
|
-
# See http://go/stepladder-help#fieldNumber)
|
3197
|
+
# The Directory API allows you to create and manage your account's users, user
|
3198
|
+
# aliases, and user Gmail chat profile photos. For more information about common
|
3199
|
+
# tasks, see the [User Accounts Developer's Guide](/admin-sdk/directory/v1/
|
3200
|
+
# guides/manage-users.html) and the [User Aliases Developer's Guide](/admin-sdk/
|
3201
|
+
# directory/v1/guides/manage-user-aliases.html).
|
3121
3202
|
class User
|
3122
3203
|
include Google::Apis::Core::Hashable
|
3123
3204
|
|
3124
|
-
#
|
3205
|
+
# A list of the user's addresses. The maximum allowed data size for this field
|
3206
|
+
# is 10Kb.
|
3125
3207
|
# Corresponds to the JSON property `addresses`
|
3126
3208
|
# @return [Object]
|
3127
3209
|
attr_accessor :addresses
|
3128
3210
|
|
3129
|
-
# Output only.
|
3211
|
+
# Output only. This property is `true` if the user has completed an initial
|
3212
|
+
# login and accepted the Terms of Service agreement.
|
3130
3213
|
# Corresponds to the JSON property `agreedToTerms`
|
3131
3214
|
# @return [Boolean]
|
3132
3215
|
attr_accessor :agreed_to_terms
|
3133
3216
|
alias_method :agreed_to_terms?, :agreed_to_terms
|
3134
3217
|
|
3135
|
-
# Output only. List of
|
3218
|
+
# Output only. List of the user's alias email addresses.
|
3136
3219
|
# Corresponds to the JSON property `aliases`
|
3137
3220
|
# @return [Array<String>]
|
3138
3221
|
attr_accessor :aliases
|
@@ -3143,7 +3226,9 @@ module Google
|
|
3143
3226
|
attr_accessor :archived
|
3144
3227
|
alias_method :archived?, :archived
|
3145
3228
|
|
3146
|
-
#
|
3229
|
+
# Indicates if the user is forced to change their password at next login. This
|
3230
|
+
# setting doesn't apply when [the user signs in via a third-party identity
|
3231
|
+
# provider](https://support.google.com/a/answer/60224).
|
3147
3232
|
# Corresponds to the JSON property `changePasswordAtNextLogin`
|
3148
3233
|
# @return [Boolean]
|
3149
3234
|
attr_accessor :change_password_at_next_login
|
@@ -3159,7 +3244,12 @@ module Google
|
|
3159
3244
|
# @return [Hash<String,Hash<String,Object>>]
|
3160
3245
|
attr_accessor :custom_schemas
|
3161
3246
|
|
3162
|
-
# Output only.
|
3247
|
+
# Output only. The customer ID to [retrieve all account users](/admin-sdk/
|
3248
|
+
# directory/v1/guides/manage-users.html#get_all_users). You can use the alias `
|
3249
|
+
# my_customer` to represent your account's `customerId`. As a reseller
|
3250
|
+
# administrator, you can use the resold customer account's `customerId`. To get
|
3251
|
+
# a `customerId`, use the account's primary domain in the `domain` parameter of
|
3252
|
+
# a [users.list](/admin-sdk/directory/v1/reference/users/list) request.
|
3163
3253
|
# Corresponds to the JSON property `customerId`
|
3164
3254
|
# @return [String]
|
3165
3255
|
attr_accessor :customer_id
|
@@ -3169,7 +3259,8 @@ module Google
|
|
3169
3259
|
# @return [DateTime]
|
3170
3260
|
attr_accessor :deletion_time
|
3171
3261
|
|
3172
|
-
#
|
3262
|
+
# A list of the user's email addresses. The maximum allowed data size for this
|
3263
|
+
# field is 10Kb.
|
3173
3264
|
# Corresponds to the JSON property `emails`
|
3174
3265
|
# @return [Object]
|
3175
3266
|
attr_accessor :emails
|
@@ -3179,50 +3270,72 @@ module Google
|
|
3179
3270
|
# @return [String]
|
3180
3271
|
attr_accessor :etag
|
3181
3272
|
|
3182
|
-
#
|
3273
|
+
# A list of external IDs for the user, such as an employee or network ID. The
|
3274
|
+
# maximum allowed data size for this field is 2Kb.
|
3183
3275
|
# Corresponds to the JSON property `externalIds`
|
3184
3276
|
# @return [Object]
|
3185
3277
|
attr_accessor :external_ids
|
3186
3278
|
|
3187
|
-
#
|
3279
|
+
# The user's gender. The maximum allowed data size for this field is 1Kb.
|
3188
3280
|
# Corresponds to the JSON property `gender`
|
3189
3281
|
# @return [Object]
|
3190
3282
|
attr_accessor :gender
|
3191
3283
|
|
3192
|
-
#
|
3284
|
+
# Stores the hash format of the password property. We recommend sending the `
|
3285
|
+
# password` property value as a base 16 bit hexadecimal-encoded hash value. Set
|
3286
|
+
# the `hashFunction` values as either the [SHA-1](http://wikipedia.org/wiki/SHA-
|
3287
|
+
# 1), [MD5](http://wikipedia.org/wiki/MD5), or [crypt](https://en.wikipedia.org/
|
3288
|
+
# wiki/Crypt_(C)) hash format.
|
3193
3289
|
# Corresponds to the JSON property `hashFunction`
|
3194
3290
|
# @return [String]
|
3195
3291
|
attr_accessor :hash_function
|
3196
3292
|
|
3197
|
-
#
|
3293
|
+
# The unique ID for the user. A user `id` can be used as a user request URI's `
|
3294
|
+
# userKey`.
|
3198
3295
|
# Corresponds to the JSON property `id`
|
3199
3296
|
# @return [String]
|
3200
3297
|
attr_accessor :id
|
3201
3298
|
|
3202
|
-
#
|
3299
|
+
# The user's Instant Messenger (IM) accounts. A user account can have multiple
|
3300
|
+
# ims properties. But, only one of these ims properties can be the primary IM
|
3301
|
+
# contact. The maximum allowed data size for this field is 2Kb.
|
3203
3302
|
# Corresponds to the JSON property `ims`
|
3204
3303
|
# @return [Object]
|
3205
3304
|
attr_accessor :ims
|
3206
3305
|
|
3207
|
-
#
|
3306
|
+
# Indicates if the user's profile is visible in the G Suite global address list
|
3307
|
+
# when the contact sharing feature is enabled for the domain. For more
|
3308
|
+
# information about excluding user profiles, see the [administration help center]
|
3309
|
+
# (http://support.google.com/a/bin/answer.py?answer=1285988).
|
3208
3310
|
# Corresponds to the JSON property `includeInGlobalAddressList`
|
3209
3311
|
# @return [Boolean]
|
3210
3312
|
attr_accessor :include_in_global_address_list
|
3211
3313
|
alias_method :include_in_global_address_list?, :include_in_global_address_list
|
3212
3314
|
|
3213
|
-
#
|
3315
|
+
# If `true`, the user's IP address is [white listed](http://support.google.com/a/
|
3316
|
+
# bin/answer.py?answer=60752).
|
3214
3317
|
# Corresponds to the JSON property `ipWhitelisted`
|
3215
3318
|
# @return [Boolean]
|
3216
3319
|
attr_accessor :ip_whitelisted
|
3217
3320
|
alias_method :ip_whitelisted?, :ip_whitelisted
|
3218
3321
|
|
3219
|
-
# Output only.
|
3322
|
+
# Output only. Indicates a user with super admininistrator privileges. The `
|
3323
|
+
# isAdmin` property can only be edited in the [Make a user an administrator](/
|
3324
|
+
# admin-sdk/directory/v1/guides/manage-users.html#make_admin) operation ( [
|
3325
|
+
# makeAdmin](/admin-sdk/directory/v1/reference/users/makeAdmin.html) method). If
|
3326
|
+
# edited in the user [insert](/admin-sdk/directory/v1/reference/users/insert.
|
3327
|
+
# html) or [update](/admin-sdk/directory/v1/reference/users/update.html) methods,
|
3328
|
+
# the edit is ignored by the API service.
|
3220
3329
|
# Corresponds to the JSON property `isAdmin`
|
3221
3330
|
# @return [Boolean]
|
3222
3331
|
attr_accessor :is_admin
|
3223
3332
|
alias_method :is_admin?, :is_admin
|
3224
3333
|
|
3225
|
-
# Output only.
|
3334
|
+
# Output only. Indicates if the user is a delegated administrator. Delegated
|
3335
|
+
# administrators are supported by the API but cannot create or undelete users,
|
3336
|
+
# or make users administrators. These requests are ignored by the API service.
|
3337
|
+
# Roles and privileges for administrators are assigned using the [Admin console](
|
3338
|
+
# http://support.google.com/a/bin/answer.py?answer=33325).
|
3226
3339
|
# Corresponds to the JSON property `isDelegatedAdmin`
|
3227
3340
|
# @return [Boolean]
|
3228
3341
|
attr_accessor :is_delegated_admin
|
@@ -3240,23 +3353,25 @@ module Google
|
|
3240
3353
|
attr_accessor :is_enrolled_in2_sv
|
3241
3354
|
alias_method :is_enrolled_in2_sv?, :is_enrolled_in2_sv
|
3242
3355
|
|
3243
|
-
# Output only.
|
3356
|
+
# Output only. Indicates if the user's Google mailbox is created. This property
|
3357
|
+
# is only applicable if the user has been assigned a Gmail license.
|
3244
3358
|
# Corresponds to the JSON property `isMailboxSetup`
|
3245
3359
|
# @return [Boolean]
|
3246
3360
|
attr_accessor :is_mailbox_setup
|
3247
3361
|
alias_method :is_mailbox_setup?, :is_mailbox_setup
|
3248
3362
|
|
3249
|
-
#
|
3363
|
+
# The user's keywords. The maximum allowed data size for this field is 1Kb.
|
3250
3364
|
# Corresponds to the JSON property `keywords`
|
3251
3365
|
# @return [Object]
|
3252
3366
|
attr_accessor :keywords
|
3253
3367
|
|
3254
|
-
# Output only.
|
3368
|
+
# Output only. The type of the API resource. For Users resources, the value is `
|
3369
|
+
# admin#directory#user`.
|
3255
3370
|
# Corresponds to the JSON property `kind`
|
3256
3371
|
# @return [String]
|
3257
3372
|
attr_accessor :kind
|
3258
3373
|
|
3259
|
-
#
|
3374
|
+
# The user's languages. The maximum allowed data size for this field is 1Kb.
|
3260
3375
|
# Corresponds to the JSON property `languages`
|
3261
3376
|
# @return [Object]
|
3262
3377
|
attr_accessor :languages
|
@@ -3266,32 +3381,42 @@ module Google
|
|
3266
3381
|
# @return [DateTime]
|
3267
3382
|
attr_accessor :last_login_time
|
3268
3383
|
|
3269
|
-
#
|
3384
|
+
# The user's locations. The maximum allowed data size for this field is 10Kb.
|
3270
3385
|
# Corresponds to the JSON property `locations`
|
3271
3386
|
# @return [Object]
|
3272
3387
|
attr_accessor :locations
|
3273
3388
|
|
3274
|
-
#
|
3389
|
+
# Holds the given and family names of the user, and the read-only `fullName`
|
3390
|
+
# value. The maximum number of characters in the `givenName` and in the `
|
3391
|
+
# familyName` values is 60. In addition, name values support unicode/UTF-8
|
3392
|
+
# characters, and can contain spaces, letters (a-z), numbers (0-9), dashes (-),
|
3393
|
+
# forward slashes (/), and periods (.). For more information about character
|
3394
|
+
# usage rules, see the [administration help center](http://support.google.com/a/
|
3395
|
+
# bin/answer.py?answer=33386). Maximum allowed data size for this field is 1Kb.
|
3275
3396
|
# Corresponds to the JSON property `name`
|
3276
3397
|
# @return [Google::Apis::AdminDirectoryV1::UserName]
|
3277
3398
|
attr_accessor :name
|
3278
3399
|
|
3279
|
-
# Output only. List of non
|
3400
|
+
# Output only. List of the user's non-editable alias email addresses. These are
|
3401
|
+
# typically outside the account's primary domain or sub-domain.
|
3280
3402
|
# Corresponds to the JSON property `nonEditableAliases`
|
3281
3403
|
# @return [Array<String>]
|
3282
3404
|
attr_accessor :non_editable_aliases
|
3283
3405
|
|
3284
|
-
# Notes
|
3406
|
+
# Notes for the user.
|
3285
3407
|
# Corresponds to the JSON property `notes`
|
3286
3408
|
# @return [Object]
|
3287
3409
|
attr_accessor :notes
|
3288
3410
|
|
3289
|
-
#
|
3411
|
+
# The full path of the parent organization associated with the user. If the
|
3412
|
+
# parent organization is the top-level, it is represented as a forward slash (`/`
|
3413
|
+
# ).
|
3290
3414
|
# Corresponds to the JSON property `orgUnitPath`
|
3291
3415
|
# @return [String]
|
3292
3416
|
attr_accessor :org_unit_path
|
3293
3417
|
|
3294
|
-
#
|
3418
|
+
# A list of organizations the user belongs to. The maximum allowed data size for
|
3419
|
+
# this field is 10Kb.
|
3295
3420
|
# Corresponds to the JSON property `organizations`
|
3296
3421
|
# @return [Object]
|
3297
3422
|
attr_accessor :organizations
|
@@ -3301,17 +3426,21 @@ module Google
|
|
3301
3426
|
# @return [String]
|
3302
3427
|
attr_accessor :password
|
3303
3428
|
|
3304
|
-
#
|
3429
|
+
# A list of the user's phone numbers. The maximum allowed data size for this
|
3430
|
+
# field is 1Kb.
|
3305
3431
|
# Corresponds to the JSON property `phones`
|
3306
3432
|
# @return [Object]
|
3307
3433
|
attr_accessor :phones
|
3308
3434
|
|
3309
|
-
#
|
3435
|
+
# A list of [POSIX](http://www.opengroup.org/austin/papers/posix_faq.html)
|
3436
|
+
# account information for the user.
|
3310
3437
|
# Corresponds to the JSON property `posixAccounts`
|
3311
3438
|
# @return [Object]
|
3312
3439
|
attr_accessor :posix_accounts
|
3313
3440
|
|
3314
|
-
#
|
3441
|
+
# The user's primary email address. This property is required in a request to
|
3442
|
+
# create a user account. The `primaryEmail` must be unique and cannot be an
|
3443
|
+
# alias of another user.
|
3315
3444
|
# Corresponds to the JSON property `primaryEmail`
|
3316
3445
|
# @return [String]
|
3317
3446
|
attr_accessor :primary_email
|
@@ -3327,12 +3456,13 @@ module Google
|
|
3327
3456
|
# @return [String]
|
3328
3457
|
attr_accessor :recovery_phone
|
3329
3458
|
|
3330
|
-
#
|
3459
|
+
# A list of the user's relationships to other users. The maximum allowed data
|
3460
|
+
# size for this field is 2Kb.
|
3331
3461
|
# Corresponds to the JSON property `relations`
|
3332
3462
|
# @return [Object]
|
3333
3463
|
attr_accessor :relations
|
3334
3464
|
|
3335
|
-
#
|
3465
|
+
# A list of SSH public keys.
|
3336
3466
|
# Corresponds to the JSON property `sshPublicKeys`
|
3337
3467
|
# @return [Object]
|
3338
3468
|
attr_accessor :ssh_public_keys
|
@@ -3343,7 +3473,9 @@ module Google
|
|
3343
3473
|
attr_accessor :suspended
|
3344
3474
|
alias_method :suspended?, :suspended
|
3345
3475
|
|
3346
|
-
# Output only.
|
3476
|
+
# Output only. Has the reason a user account is suspended either by the
|
3477
|
+
# administrator or by Google at the time of suspension. The property is returned
|
3478
|
+
# only if the `suspended` property is `true`.
|
3347
3479
|
# Corresponds to the JSON property `suspensionReason`
|
3348
3480
|
# @return [String]
|
3349
3481
|
attr_accessor :suspension_reason
|
@@ -3358,7 +3490,7 @@ module Google
|
|
3358
3490
|
# @return [String]
|
3359
3491
|
attr_accessor :thumbnail_photo_url
|
3360
3492
|
|
3361
|
-
#
|
3493
|
+
# The user's websites. The maximum allowed data size for this field is 2Kb.
|
3362
3494
|
# Corresponds to the JSON property `websites`
|
3363
3495
|
# @return [Object]
|
3364
3496
|
attr_accessor :websites
|
@@ -3829,7 +3961,7 @@ module Google
|
|
3829
3961
|
class UserMakeAdmin
|
3830
3962
|
include Google::Apis::Core::Hashable
|
3831
3963
|
|
3832
|
-
#
|
3964
|
+
# Indicates the administrator status of the user.
|
3833
3965
|
# Corresponds to the JSON property `status`
|
3834
3966
|
# @return [Boolean]
|
3835
3967
|
attr_accessor :status
|
@@ -3849,17 +3981,17 @@ module Google
|
|
3849
3981
|
class UserName
|
3850
3982
|
include Google::Apis::Core::Hashable
|
3851
3983
|
|
3852
|
-
#
|
3984
|
+
# The user's last name. Required when creating a user account.
|
3853
3985
|
# Corresponds to the JSON property `familyName`
|
3854
3986
|
# @return [String]
|
3855
3987
|
attr_accessor :family_name
|
3856
3988
|
|
3857
|
-
#
|
3989
|
+
# The user's full name formed by concatenating the first and last name values.
|
3858
3990
|
# Corresponds to the JSON property `fullName`
|
3859
3991
|
# @return [String]
|
3860
3992
|
attr_accessor :full_name
|
3861
3993
|
|
3862
|
-
#
|
3994
|
+
# The user's first name. Required when creating a user account.
|
3863
3995
|
# Corresponds to the JSON property `givenName`
|
3864
3996
|
# @return [String]
|
3865
3997
|
attr_accessor :given_name
|
@@ -4006,9 +4138,7 @@ module Google
|
|
4006
4138
|
end
|
4007
4139
|
end
|
4008
4140
|
|
4009
|
-
#
|
4010
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
4011
|
-
# field 'etag'. (See http://go/stepladder-help#fieldNumber)
|
4141
|
+
#
|
4012
4142
|
class UserPhoto
|
4013
4143
|
include Google::Apis::Core::Hashable
|
4014
4144
|
|
@@ -4017,38 +4147,47 @@ module Google
|
|
4017
4147
|
# @return [String]
|
4018
4148
|
attr_accessor :etag
|
4019
4149
|
|
4020
|
-
# Height
|
4150
|
+
# Height of the photo in pixels.
|
4021
4151
|
# Corresponds to the JSON property `height`
|
4022
4152
|
# @return [Fixnum]
|
4023
4153
|
attr_accessor :height
|
4024
4154
|
|
4025
|
-
#
|
4155
|
+
# The ID the API uses to uniquely identify the user.
|
4026
4156
|
# Corresponds to the JSON property `id`
|
4027
4157
|
# @return [String]
|
4028
4158
|
attr_accessor :id
|
4029
4159
|
|
4030
|
-
#
|
4160
|
+
# The type of the API resource. For Photo resources, this is `admin#directory#
|
4161
|
+
# user#photo`.
|
4031
4162
|
# Corresponds to the JSON property `kind`
|
4032
4163
|
# @return [String]
|
4033
4164
|
attr_accessor :kind
|
4034
4165
|
|
4035
|
-
#
|
4166
|
+
# The MIME type of the photo. Allowed values are `JPEG`, `PNG`, `GIF`, `BMP`, `
|
4167
|
+
# TIFF`, and web-safe base64 encoding.
|
4036
4168
|
# Corresponds to the JSON property `mimeType`
|
4037
4169
|
# @return [String]
|
4038
4170
|
attr_accessor :mime_type
|
4039
4171
|
|
4040
|
-
#
|
4172
|
+
# The user photo's upload data in [web-safe Base64](https://code.google.com/p/
|
4173
|
+
# stringencoders/wiki/WebSafeBase64) format in bytes. This means: * The slash (/)
|
4174
|
+
# character is replaced with the underscore (_) character. * The plus sign (+)
|
4175
|
+
# character is replaced with the hyphen (-) character. * The equals sign (=)
|
4176
|
+
# character is replaced with the asterisk (*). * For padding, the period (.)
|
4177
|
+
# character is used instead of the RFC-4648 baseURL definition which uses the
|
4178
|
+
# equals sign (=) for padding. This is done to simplify URL-parsing. * Whatever
|
4179
|
+
# the size of the photo being uploaded, the API downsizes it to 96x96 pixels.
|
4041
4180
|
# Corresponds to the JSON property `photoData`
|
4042
4181
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4043
4182
|
# @return [String]
|
4044
4183
|
attr_accessor :photo_data
|
4045
4184
|
|
4046
|
-
#
|
4185
|
+
# The user's primary email address.
|
4047
4186
|
# Corresponds to the JSON property `primaryEmail`
|
4048
4187
|
# @return [String]
|
4049
4188
|
attr_accessor :primary_email
|
4050
4189
|
|
4051
|
-
# Width
|
4190
|
+
# Width of the photo in pixels.
|
4052
4191
|
# Corresponds to the JSON property `width`
|
4053
4192
|
# @return [Fixnum]
|
4054
4193
|
attr_accessor :width
|
@@ -4070,8 +4209,7 @@ module Google
|
|
4070
4209
|
end
|
4071
4210
|
end
|
4072
4211
|
|
4073
|
-
# JSON template for a POSIX account entry.
|
4074
|
-
# fbs-posix.
|
4212
|
+
# JSON template for a POSIX account entry.
|
4075
4213
|
class UserPosixAccount
|
4076
4214
|
include Google::Apis::Core::Hashable
|
4077
4215
|
|
@@ -4268,9 +4406,7 @@ module Google
|
|
4268
4406
|
end
|
4269
4407
|
end
|
4270
4408
|
|
4271
|
-
#
|
4272
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
4273
|
-
# field 'etag'. (See http://go/stepladder-help#fieldNumber)
|
4409
|
+
#
|
4274
4410
|
class Users
|
4275
4411
|
include Google::Apis::Core::Hashable
|
4276
4412
|
|
@@ -4313,10 +4449,8 @@ module Google
|
|
4313
4449
|
end
|
4314
4450
|
end
|
4315
4451
|
|
4316
|
-
#
|
4317
|
-
#
|
4318
|
-
# fieldNumber) STEPLADDER: Generated unstable field number for field 'etag'. (
|
4319
|
-
# See http://go/stepladder-help#fieldNumber)
|
4452
|
+
# The Directory API allows you to view, generate, and invalidate backup
|
4453
|
+
# verification codes for a user.
|
4320
4454
|
class VerificationCode
|
4321
4455
|
include Google::Apis::Core::Hashable
|
4322
4456
|
|
@@ -4325,7 +4459,7 @@ module Google
|
|
4325
4459
|
# @return [String]
|
4326
4460
|
attr_accessor :etag
|
4327
4461
|
|
4328
|
-
# The type of the resource. This is always admin#directory#verificationCode
|
4462
|
+
# The type of the resource. This is always `admin#directory#verificationCode`.
|
4329
4463
|
# Corresponds to the JSON property `kind`
|
4330
4464
|
# @return [String]
|
4331
4465
|
attr_accessor :kind
|
@@ -4355,9 +4489,6 @@ module Google
|
|
4355
4489
|
end
|
4356
4490
|
|
4357
4491
|
# JSON response template for List verification codes operation in Directory API.
|
4358
|
-
# STEPLADDER: Generated unstable field number for field 'kind'. (See http://go/
|
4359
|
-
# stepladder-help#fieldNumber) STEPLADDER: Generated unstable field number for
|
4360
|
-
# field 'etag'. (See http://go/stepladder-help#fieldNumber)
|
4361
4492
|
class VerificationCodes
|
4362
4493
|
include Google::Apis::Core::Hashable
|
4363
4494
|
|
@@ -4371,7 +4502,8 @@ module Google
|
|
4371
4502
|
# @return [Array<Google::Apis::AdminDirectoryV1::VerificationCode>]
|
4372
4503
|
attr_accessor :items
|
4373
4504
|
|
4374
|
-
# The type of the resource. This is always admin#directory#
|
4505
|
+
# The type of the resource. This is always `admin#directory#
|
4506
|
+
# verificationCodesList`.
|
4375
4507
|
# Corresponds to the JSON property `kind`
|
4376
4508
|
# @return [String]
|
4377
4509
|
attr_accessor :kind
|