google-api-client 0.39.4 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +283 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +58 -10
- data/generated/google/apis/apigee_v1/representations.rb +7 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1132 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +442 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +54 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +82 -46
- data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1/service.rb +14 -11
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +977 -52
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +20 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +20 -15
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +711 -151
- data/generated/google/apis/compute_alpha/representations.rb +220 -33
- data/generated/google/apis/compute_alpha/service.rb +1618 -831
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +173 -71
- data/generated/google/apis/compute_beta/representations.rb +25 -0
- data/generated/google/apis/compute_beta/service.rb +591 -591
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +66 -18
- data/generated/google/apis/compute_v1/representations.rb +6 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +82 -10
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +450 -6
- data/generated/google/apis/content_v2_1/representations.rb +173 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +68 -22
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +61 -35
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -6
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -27
- data/generated/google/apis/dlp_v2/service.rb +247 -204
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -1156
- data/generated/google/apis/file_v1/representations.rb +12 -378
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +26 -373
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +39 -30
- data/generated/google/apis/healthcare_v1/service.rb +66 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +948 -77
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +682 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +116 -93
- data/generated/google/apis/iam_v1/service.rb +170 -144
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +73 -17
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +64 -8
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{customsearch_v1.rb → recommender_v1.rb} +11 -8
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +15 -6
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +143 -28
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +10 -10
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +143 -28
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -74
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -74
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +123 -80
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +498 -74
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +307 -74
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -74
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -74
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -2
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1298 -1244
- data/generated/google/apis/youtube_v3/representations.rb +91 -192
- data/generated/google/apis/youtube_v3/service.rb +1857 -2152
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +27 -19
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
|
@@ -476,6 +476,9 @@ module Google
|
|
|
476
476
|
attr_accessor :event_id
|
|
477
477
|
|
|
478
478
|
# Token to maintain state in the follow up notification response.
|
|
479
|
+
# Deprecated. See the [notifications
|
|
480
|
+
# guide](https://developers.google.com/assistant/smarthome/develop/notifications)
|
|
481
|
+
# for details on implementing follow up notifications.
|
|
479
482
|
# Corresponds to the JSON property `followUpToken`
|
|
480
483
|
# @return [String]
|
|
481
484
|
attr_accessor :follow_up_token
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
|
28
28
|
module IamV1
|
|
29
29
|
VERSION = 'V1'
|
|
30
|
-
REVISION = '
|
|
30
|
+
REVISION = '20200611'
|
|
31
31
|
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -56,7 +56,7 @@ module Google
|
|
|
56
56
|
# `
|
|
57
57
|
# "audit_configs": [
|
|
58
58
|
# `
|
|
59
|
-
# "service": "allServices"
|
|
59
|
+
# "service": "allServices",
|
|
60
60
|
# "audit_log_configs": [
|
|
61
61
|
# `
|
|
62
62
|
# "log_type": "DATA_READ",
|
|
@@ -65,18 +65,18 @@ module Google
|
|
|
65
65
|
# ]
|
|
66
66
|
# `,
|
|
67
67
|
# `
|
|
68
|
-
# "log_type": "DATA_WRITE"
|
|
68
|
+
# "log_type": "DATA_WRITE"
|
|
69
69
|
# `,
|
|
70
70
|
# `
|
|
71
|
-
# "log_type": "ADMIN_READ"
|
|
71
|
+
# "log_type": "ADMIN_READ"
|
|
72
72
|
# `
|
|
73
73
|
# ]
|
|
74
74
|
# `,
|
|
75
75
|
# `
|
|
76
|
-
# "service": "sampleservice.googleapis.com"
|
|
76
|
+
# "service": "sampleservice.googleapis.com",
|
|
77
77
|
# "audit_log_configs": [
|
|
78
78
|
# `
|
|
79
|
-
# "log_type": "DATA_READ"
|
|
79
|
+
# "log_type": "DATA_READ"
|
|
80
80
|
# `,
|
|
81
81
|
# `
|
|
82
82
|
# "log_type": "DATA_WRITE",
|
|
@@ -149,7 +149,7 @@ module Google
|
|
|
149
149
|
# ]
|
|
150
150
|
# `,
|
|
151
151
|
# `
|
|
152
|
-
# "log_type": "DATA_WRITE"
|
|
152
|
+
# "log_type": "DATA_WRITE"
|
|
153
153
|
# `
|
|
154
154
|
# ]
|
|
155
155
|
# `
|
|
@@ -358,6 +358,9 @@ module Google
|
|
|
358
358
|
attr_accessor :role
|
|
359
359
|
|
|
360
360
|
# The role ID to use for this role.
|
|
361
|
+
# A role ID may contain alphanumeric characters, underscores (`_`), and
|
|
362
|
+
# periods (`.`). It must contain a minimum of 3 characters and a maximum of
|
|
363
|
+
# 64 characters.
|
|
361
364
|
# Corresponds to the JSON property `roleId`
|
|
362
365
|
# @return [String]
|
|
363
366
|
attr_accessor :role_id
|
|
@@ -414,19 +417,15 @@ module Google
|
|
|
414
417
|
# @return [String]
|
|
415
418
|
attr_accessor :account_id
|
|
416
419
|
|
|
417
|
-
#
|
|
418
|
-
#
|
|
419
|
-
#
|
|
420
|
-
#
|
|
421
|
-
#
|
|
422
|
-
#
|
|
423
|
-
#
|
|
424
|
-
#
|
|
425
|
-
#
|
|
426
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
427
|
-
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
428
|
-
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
429
|
-
# `unique_id` of the service account.
|
|
420
|
+
# An IAM service account.
|
|
421
|
+
# A service account is an account for an application or a virtual machine (VM)
|
|
422
|
+
# instance, not a person. You can use a service account to call Google APIs. To
|
|
423
|
+
# learn more, read the [overview of service
|
|
424
|
+
# accounts](https://cloud.google.com/iam/help/service-accounts/overview).
|
|
425
|
+
# When you create a service account, you specify the project ID that owns the
|
|
426
|
+
# service account, as well as a name that must be unique within the project.
|
|
427
|
+
# IAM uses these values to create an email address that identifies the service
|
|
428
|
+
# account.
|
|
430
429
|
# Corresponds to the JSON property `serviceAccount`
|
|
431
430
|
# @return [Google::Apis::IamV1::ServiceAccount]
|
|
432
431
|
attr_accessor :service_account
|
|
@@ -751,23 +750,24 @@ module Google
|
|
|
751
750
|
end
|
|
752
751
|
end
|
|
753
752
|
|
|
754
|
-
# The
|
|
753
|
+
# The request for
|
|
754
|
+
# PatchServiceAccount.
|
|
755
|
+
# You can patch only the `display_name` and `description` fields. You must use
|
|
756
|
+
# the `update_mask` field to specify which of these fields you want to patch.
|
|
757
|
+
# Only the fields specified in the request are guaranteed to be returned in
|
|
758
|
+
# the response. Other fields may be empty in the response.
|
|
755
759
|
class PatchServiceAccountRequest
|
|
756
760
|
include Google::Apis::Core::Hashable
|
|
757
761
|
|
|
758
|
-
#
|
|
759
|
-
#
|
|
760
|
-
#
|
|
761
|
-
#
|
|
762
|
-
#
|
|
763
|
-
#
|
|
764
|
-
#
|
|
765
|
-
#
|
|
766
|
-
#
|
|
767
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
768
|
-
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
769
|
-
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
770
|
-
# `unique_id` of the service account.
|
|
762
|
+
# An IAM service account.
|
|
763
|
+
# A service account is an account for an application or a virtual machine (VM)
|
|
764
|
+
# instance, not a person. You can use a service account to call Google APIs. To
|
|
765
|
+
# learn more, read the [overview of service
|
|
766
|
+
# accounts](https://cloud.google.com/iam/help/service-accounts/overview).
|
|
767
|
+
# When you create a service account, you specify the project ID that owns the
|
|
768
|
+
# service account, as well as a name that must be unique within the project.
|
|
769
|
+
# IAM uses these values to create an email address that identifies the service
|
|
770
|
+
# account.
|
|
771
771
|
# Corresponds to the JSON property `serviceAccount`
|
|
772
772
|
# @return [Google::Apis::IamV1::ServiceAccount]
|
|
773
773
|
attr_accessor :service_account
|
|
@@ -886,10 +886,13 @@ module Google
|
|
|
886
886
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
887
887
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
888
888
|
# custom role.
|
|
889
|
-
#
|
|
890
|
-
# expression that allows access to a resource
|
|
891
|
-
# to `true`. A condition can add constraints
|
|
892
|
-
# request, the resource, or both.
|
|
889
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
|
890
|
+
# `condition`, which is a logical expression that allows access to a resource
|
|
891
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
|
892
|
+
# based on attributes of the request, the resource, or both. To learn which
|
|
893
|
+
# resources support conditions in their IAM policies, see the
|
|
894
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
895
|
+
# policies).
|
|
893
896
|
# **JSON example:**
|
|
894
897
|
# `
|
|
895
898
|
# "bindings": [
|
|
@@ -904,7 +907,9 @@ module Google
|
|
|
904
907
|
# `,
|
|
905
908
|
# `
|
|
906
909
|
# "role": "roles/resourcemanager.organizationViewer",
|
|
907
|
-
# "members": [
|
|
910
|
+
# "members": [
|
|
911
|
+
# "user:eve@example.com"
|
|
912
|
+
# ],
|
|
908
913
|
# "condition": `
|
|
909
914
|
# "title": "expirable access",
|
|
910
915
|
# "description": "Does not grant access after Sep 2020",
|
|
@@ -982,6 +987,9 @@ module Google
|
|
|
982
987
|
# the conditions in the version `3` policy are lost.
|
|
983
988
|
# If a policy does not include any conditions, operations on that policy may
|
|
984
989
|
# specify any valid version or leave the field unset.
|
|
990
|
+
# To learn which resources support conditions in their IAM policies, see the
|
|
991
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
992
|
+
# policies).
|
|
985
993
|
# Corresponds to the JSON property `version`
|
|
986
994
|
# @return [Fixnum]
|
|
987
995
|
attr_accessor :version
|
|
@@ -1073,6 +1081,7 @@ module Google
|
|
|
1073
1081
|
attr_accessor :full_resource_name
|
|
1074
1082
|
|
|
1075
1083
|
# Optional limit on the number of roles to include in the response.
|
|
1084
|
+
# The default is 300, and the maximum is 1,000.
|
|
1076
1085
|
# Corresponds to the JSON property `pageSize`
|
|
1077
1086
|
# @return [Fixnum]
|
|
1078
1087
|
attr_accessor :page_size
|
|
@@ -1141,6 +1150,7 @@ module Google
|
|
|
1141
1150
|
attr_accessor :full_resource_name
|
|
1142
1151
|
|
|
1143
1152
|
# Optional limit on the number of permissions to include in the response.
|
|
1153
|
+
# The default is 100, and the maximum is 1,000.
|
|
1144
1154
|
# Corresponds to the JSON property `pageSize`
|
|
1145
1155
|
# @return [Fixnum]
|
|
1146
1156
|
attr_accessor :page_size
|
|
@@ -1254,77 +1264,82 @@ module Google
|
|
|
1254
1264
|
end
|
|
1255
1265
|
end
|
|
1256
1266
|
|
|
1257
|
-
#
|
|
1258
|
-
#
|
|
1259
|
-
#
|
|
1260
|
-
#
|
|
1261
|
-
#
|
|
1262
|
-
#
|
|
1263
|
-
#
|
|
1264
|
-
#
|
|
1265
|
-
#
|
|
1266
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
1267
|
-
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
1268
|
-
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
1269
|
-
# `unique_id` of the service account.
|
|
1267
|
+
# An IAM service account.
|
|
1268
|
+
# A service account is an account for an application or a virtual machine (VM)
|
|
1269
|
+
# instance, not a person. You can use a service account to call Google APIs. To
|
|
1270
|
+
# learn more, read the [overview of service
|
|
1271
|
+
# accounts](https://cloud.google.com/iam/help/service-accounts/overview).
|
|
1272
|
+
# When you create a service account, you specify the project ID that owns the
|
|
1273
|
+
# service account, as well as a name that must be unique within the project.
|
|
1274
|
+
# IAM uses these values to create an email address that identifies the service
|
|
1275
|
+
# account.
|
|
1270
1276
|
class ServiceAccount
|
|
1271
1277
|
include Google::Apis::Core::Hashable
|
|
1272
1278
|
|
|
1273
|
-
# Optional. A user-specified
|
|
1274
|
-
#
|
|
1279
|
+
# Optional. A user-specified, human-readable description of the service account.
|
|
1280
|
+
# The
|
|
1281
|
+
# maximum length is 256 UTF-8 bytes.
|
|
1275
1282
|
# Corresponds to the JSON property `description`
|
|
1276
1283
|
# @return [String]
|
|
1277
1284
|
attr_accessor :description
|
|
1278
1285
|
|
|
1279
|
-
#
|
|
1280
|
-
# The field is currently in alpha phase.
|
|
1286
|
+
# Output only. Whether the service account is disabled.
|
|
1281
1287
|
# Corresponds to the JSON property `disabled`
|
|
1282
1288
|
# @return [Boolean]
|
|
1283
1289
|
attr_accessor :disabled
|
|
1284
1290
|
alias_method :disabled?, :disabled
|
|
1285
1291
|
|
|
1286
|
-
# Optional. A user-specified name for the service account.
|
|
1287
|
-
#
|
|
1292
|
+
# Optional. A user-specified, human-readable name for the service account. The
|
|
1293
|
+
# maximum
|
|
1294
|
+
# length is 100 UTF-8 bytes.
|
|
1288
1295
|
# Corresponds to the JSON property `displayName`
|
|
1289
1296
|
# @return [String]
|
|
1290
1297
|
attr_accessor :display_name
|
|
1291
1298
|
|
|
1292
|
-
#
|
|
1299
|
+
# Output only. The email address of the service account.
|
|
1293
1300
|
# Corresponds to the JSON property `email`
|
|
1294
1301
|
# @return [String]
|
|
1295
1302
|
attr_accessor :email
|
|
1296
1303
|
|
|
1297
|
-
#
|
|
1298
|
-
# for backwards compatibility.
|
|
1304
|
+
# Deprecated. Do not use.
|
|
1299
1305
|
# Corresponds to the JSON property `etag`
|
|
1300
1306
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
1301
1307
|
# @return [String]
|
|
1302
1308
|
attr_accessor :etag
|
|
1303
1309
|
|
|
1304
|
-
# The resource name of the service account
|
|
1305
|
-
#
|
|
1306
|
-
#
|
|
1307
|
-
#
|
|
1308
|
-
#
|
|
1309
|
-
#
|
|
1310
|
-
# `projects
|
|
1310
|
+
# The resource name of the service account.
|
|
1311
|
+
# Use one of the following formats:
|
|
1312
|
+
# * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
|
|
1313
|
+
# * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
|
|
1314
|
+
# As an alternative, you can use the `-` wildcard character instead of the
|
|
1315
|
+
# project ID:
|
|
1316
|
+
# * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
|
|
1317
|
+
# * `projects/-/serviceAccounts/`UNIQUE_ID``
|
|
1318
|
+
# When possible, avoid using the `-` wildcard character, because it can cause
|
|
1319
|
+
# response messages to contain misleading error codes. For example, if you
|
|
1320
|
+
# try to get the service account
|
|
1321
|
+
# `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
1322
|
+
# response contains an HTTP `403 Forbidden` error instead of a `404 Not
|
|
1323
|
+
# Found` error.
|
|
1311
1324
|
# Corresponds to the JSON property `name`
|
|
1312
1325
|
# @return [String]
|
|
1313
1326
|
attr_accessor :name
|
|
1314
1327
|
|
|
1315
|
-
#
|
|
1316
|
-
# This is used in conjunction with the OAuth2 clientconfig API to make
|
|
1317
|
-
# three legged OAuth2 (3LO) flows to access the data of Google users.
|
|
1328
|
+
# Output only. The OAuth 2.0 client ID for the service account.
|
|
1318
1329
|
# Corresponds to the JSON property `oauth2ClientId`
|
|
1319
1330
|
# @return [String]
|
|
1320
1331
|
attr_accessor :oauth2_client_id
|
|
1321
1332
|
|
|
1322
|
-
#
|
|
1333
|
+
# Output only. The ID of the project that owns the service account.
|
|
1323
1334
|
# Corresponds to the JSON property `projectId`
|
|
1324
1335
|
# @return [String]
|
|
1325
1336
|
attr_accessor :project_id
|
|
1326
1337
|
|
|
1327
|
-
#
|
|
1338
|
+
# Output only. The unique, stable numeric ID for the service account.
|
|
1339
|
+
# Each service account retains its unique ID even if you delete the service
|
|
1340
|
+
# account. For example, if you delete a service account, then create a new
|
|
1341
|
+
# service account with the same name, the new service account has a different
|
|
1342
|
+
# unique ID than the deleted service account.
|
|
1328
1343
|
# Corresponds to the JSON property `uniqueId`
|
|
1329
1344
|
# @return [String]
|
|
1330
1345
|
attr_accessor :unique_id
|
|
@@ -1454,10 +1469,13 @@ module Google
|
|
|
1454
1469
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
1455
1470
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
1456
1471
|
# custom role.
|
|
1457
|
-
#
|
|
1458
|
-
# expression that allows access to a resource
|
|
1459
|
-
# to `true`. A condition can add constraints
|
|
1460
|
-
# request, the resource, or both.
|
|
1472
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
|
1473
|
+
# `condition`, which is a logical expression that allows access to a resource
|
|
1474
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
|
1475
|
+
# based on attributes of the request, the resource, or both. To learn which
|
|
1476
|
+
# resources support conditions in their IAM policies, see the
|
|
1477
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
|
1478
|
+
# policies).
|
|
1461
1479
|
# **JSON example:**
|
|
1462
1480
|
# `
|
|
1463
1481
|
# "bindings": [
|
|
@@ -1472,7 +1490,9 @@ module Google
|
|
|
1472
1490
|
# `,
|
|
1473
1491
|
# `
|
|
1474
1492
|
# "role": "roles/resourcemanager.organizationViewer",
|
|
1475
|
-
# "members": [
|
|
1493
|
+
# "members": [
|
|
1494
|
+
# "user:eve@example.com"
|
|
1495
|
+
# ],
|
|
1476
1496
|
# "condition": `
|
|
1477
1497
|
# "title": "expirable access",
|
|
1478
1498
|
# "description": "Does not grant access after Sep 2020",
|
|
@@ -1510,8 +1530,7 @@ module Google
|
|
|
1510
1530
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
|
1511
1531
|
# the fields in the mask will be modified. If no mask is provided, the
|
|
1512
1532
|
# following default mask is used:
|
|
1513
|
-
# paths: "bindings, etag"
|
|
1514
|
-
# This field is only used by Cloud IAM.
|
|
1533
|
+
# `paths: "bindings, etag"`
|
|
1515
1534
|
# Corresponds to the JSON property `updateMask`
|
|
1516
1535
|
# @return [String]
|
|
1517
1536
|
attr_accessor :update_mask
|
|
@@ -1577,7 +1596,15 @@ module Google
|
|
|
1577
1596
|
class SignJwtRequest
|
|
1578
1597
|
include Google::Apis::Core::Hashable
|
|
1579
1598
|
|
|
1580
|
-
# Required. The JWT payload to sign
|
|
1599
|
+
# Required. The JWT payload to sign. Must be a serialized JSON object that
|
|
1600
|
+
# contains a
|
|
1601
|
+
# JWT Claims Set. For example: ``"sub": "user@example.com", "iat": 313435``
|
|
1602
|
+
# If the JWT Claims Set contains an expiration time (`exp`) claim, it must be
|
|
1603
|
+
# an integer timestamp that is not in the past and no more than 1 hour in the
|
|
1604
|
+
# future.
|
|
1605
|
+
# If the JWT Claims Set does not contain an expiration time (`exp`) claim,
|
|
1606
|
+
# this claim is added automatically, with a timestamp that is 1 hour in the
|
|
1607
|
+
# future.
|
|
1581
1608
|
# Corresponds to the JSON property `payload`
|
|
1582
1609
|
# @return [String]
|
|
1583
1610
|
attr_accessor :payload
|
|
@@ -1696,19 +1723,15 @@ module Google
|
|
|
1696
1723
|
class UndeleteServiceAccountResponse
|
|
1697
1724
|
include Google::Apis::Core::Hashable
|
|
1698
1725
|
|
|
1699
|
-
#
|
|
1700
|
-
#
|
|
1701
|
-
#
|
|
1702
|
-
#
|
|
1703
|
-
#
|
|
1704
|
-
#
|
|
1705
|
-
#
|
|
1706
|
-
#
|
|
1707
|
-
#
|
|
1708
|
-
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
1709
|
-
# Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
|
|
1710
|
-
# the account. The `ACCOUNT` value can be the `email` address or the
|
|
1711
|
-
# `unique_id` of the service account.
|
|
1726
|
+
# An IAM service account.
|
|
1727
|
+
# A service account is an account for an application or a virtual machine (VM)
|
|
1728
|
+
# instance, not a person. You can use a service account to call Google APIs. To
|
|
1729
|
+
# learn more, read the [overview of service
|
|
1730
|
+
# accounts](https://cloud.google.com/iam/help/service-accounts/overview).
|
|
1731
|
+
# When you create a service account, you specify the project ID that owns the
|
|
1732
|
+
# service account, as well as a name that must be unique within the project.
|
|
1733
|
+
# IAM uses these values to create an email address that identifies the service
|
|
1734
|
+
# account.
|
|
1712
1735
|
# Corresponds to the JSON property `restoredAccount`
|
|
1713
1736
|
# @return [Google::Apis::IamV1::ServiceAccount]
|
|
1714
1737
|
attr_accessor :restored_account
|
|
@@ -49,16 +49,11 @@ module Google
|
|
|
49
49
|
@batch_path = 'batch'
|
|
50
50
|
end
|
|
51
51
|
|
|
52
|
-
# Lints
|
|
53
|
-
# google.iam.v1.Binding.condition
|
|
54
|
-
#
|
|
55
|
-
#
|
|
56
|
-
#
|
|
57
|
-
# result.
|
|
58
|
-
# The set of applicable validation units is determined by the Cloud IAM
|
|
59
|
-
# server and is not configurable.
|
|
60
|
-
# Regardless of any lint issues or their severities, successful calls to
|
|
61
|
-
# `lintPolicy` return an HTTP 200 OK status code.
|
|
52
|
+
# Lints, or validates, an IAM policy. Currently checks the
|
|
53
|
+
# google.iam.v1.Binding.condition field, which contains a condition
|
|
54
|
+
# expression for a role binding.
|
|
55
|
+
# Successful calls to this method always return an HTTP `200 OK` status code,
|
|
56
|
+
# even if the linter detects an issue in the IAM policy.
|
|
62
57
|
# @param [Google::Apis::IamV1::LintPolicyRequest] lint_policy_request_object
|
|
63
58
|
# @param [String] fields
|
|
64
59
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -88,8 +83,10 @@ module Google
|
|
|
88
83
|
execute_or_queue_command(command, &block)
|
|
89
84
|
end
|
|
90
85
|
|
|
91
|
-
# Returns a list of services that
|
|
92
|
-
#
|
|
86
|
+
# Returns a list of services that allow you to opt into audit logs that are
|
|
87
|
+
# not generated by default.
|
|
88
|
+
# To learn more about audit logs, see the [Logging
|
|
89
|
+
# documentation](https://cloud.google.com/logging/docs/audit).
|
|
93
90
|
# @param [Google::Apis::IamV1::QueryAuditableServicesRequest] query_auditable_services_request_object
|
|
94
91
|
# @param [String] fields
|
|
95
92
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -119,7 +116,7 @@ module Google
|
|
|
119
116
|
execute_or_queue_command(command, &block)
|
|
120
117
|
end
|
|
121
118
|
|
|
122
|
-
# Creates a new Role.
|
|
119
|
+
# Creates a new custom Role.
|
|
123
120
|
# @param [String] parent
|
|
124
121
|
# The `parent` parameter's value depends on the target resource for the
|
|
125
122
|
# request, namely
|
|
@@ -169,13 +166,19 @@ module Google
|
|
|
169
166
|
execute_or_queue_command(command, &block)
|
|
170
167
|
end
|
|
171
168
|
|
|
172
|
-
#
|
|
173
|
-
#
|
|
174
|
-
#
|
|
175
|
-
#
|
|
176
|
-
# Existing
|
|
177
|
-
#
|
|
178
|
-
#
|
|
169
|
+
# Deletes a custom Role.
|
|
170
|
+
# When you delete a custom role, the following changes occur immediately:
|
|
171
|
+
# * You cannot bind a member to the custom role in an IAM
|
|
172
|
+
# Policy.
|
|
173
|
+
# * Existing bindings to the custom role are not changed, but they have no
|
|
174
|
+
# effect.
|
|
175
|
+
# * By default, the response from ListRoles does not include the custom
|
|
176
|
+
# role.
|
|
177
|
+
# You have 7 days to undelete the custom role. After 7 days, the following
|
|
178
|
+
# changes occur:
|
|
179
|
+
# * The custom role is permanently deleted and cannot be recovered.
|
|
180
|
+
# * If an IAM policy contains a binding to the custom role, the binding is
|
|
181
|
+
# permanently removed.
|
|
179
182
|
# @param [String] name
|
|
180
183
|
# The `name` parameter's value depends on the target resource for the
|
|
181
184
|
# request, namely
|
|
@@ -226,7 +229,7 @@ module Google
|
|
|
226
229
|
execute_or_queue_command(command, &block)
|
|
227
230
|
end
|
|
228
231
|
|
|
229
|
-
# Gets a Role
|
|
232
|
+
# Gets the definition of a Role.
|
|
230
233
|
# @param [String] name
|
|
231
234
|
# The `name` parameter's value depends on the target resource for the
|
|
232
235
|
# request, namely
|
|
@@ -280,7 +283,8 @@ module Google
|
|
|
280
283
|
execute_or_queue_command(command, &block)
|
|
281
284
|
end
|
|
282
285
|
|
|
283
|
-
# Lists
|
|
286
|
+
# Lists every predefined Role that IAM supports, or every custom role
|
|
287
|
+
# that is defined for an organization or project.
|
|
284
288
|
# @param [String] parent
|
|
285
289
|
# The `parent` parameter's value depends on the target resource for the
|
|
286
290
|
# request, namely
|
|
@@ -308,6 +312,7 @@ module Google
|
|
|
308
312
|
# ID or organization ID.
|
|
309
313
|
# @param [Fixnum] page_size
|
|
310
314
|
# Optional limit on the number of roles to include in the response.
|
|
315
|
+
# The default is 300, and the maximum is 1,000.
|
|
311
316
|
# @param [String] page_token
|
|
312
317
|
# Optional pagination token returned in an earlier ListRolesResponse.
|
|
313
318
|
# @param [Boolean] show_deleted
|
|
@@ -348,7 +353,7 @@ module Google
|
|
|
348
353
|
execute_or_queue_command(command, &block)
|
|
349
354
|
end
|
|
350
355
|
|
|
351
|
-
# Updates a Role
|
|
356
|
+
# Updates the definition of a custom Role.
|
|
352
357
|
# @param [String] name
|
|
353
358
|
# The `name` parameter's value depends on the target resource for the
|
|
354
359
|
# request, namely
|
|
@@ -402,7 +407,7 @@ module Google
|
|
|
402
407
|
execute_or_queue_command(command, &block)
|
|
403
408
|
end
|
|
404
409
|
|
|
405
|
-
#
|
|
410
|
+
# Undeletes a custom Role.
|
|
406
411
|
# @param [String] name
|
|
407
412
|
# The `name` parameter's value depends on the target resource for the
|
|
408
413
|
# request, namely
|
|
@@ -454,8 +459,9 @@ module Google
|
|
|
454
459
|
execute_or_queue_command(command, &block)
|
|
455
460
|
end
|
|
456
461
|
|
|
457
|
-
# Lists
|
|
458
|
-
#
|
|
462
|
+
# Lists every permission that you can test on a resource. A permission is
|
|
463
|
+
# testable if you can check whether a member has that permission on the
|
|
464
|
+
# resource.
|
|
459
465
|
# @param [Google::Apis::IamV1::QueryTestablePermissionsRequest] query_testable_permissions_request_object
|
|
460
466
|
# @param [String] fields
|
|
461
467
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -485,7 +491,7 @@ module Google
|
|
|
485
491
|
execute_or_queue_command(command, &block)
|
|
486
492
|
end
|
|
487
493
|
|
|
488
|
-
# Creates a new Role.
|
|
494
|
+
# Creates a new custom Role.
|
|
489
495
|
# @param [String] parent
|
|
490
496
|
# The `parent` parameter's value depends on the target resource for the
|
|
491
497
|
# request, namely
|
|
@@ -535,13 +541,19 @@ module Google
|
|
|
535
541
|
execute_or_queue_command(command, &block)
|
|
536
542
|
end
|
|
537
543
|
|
|
538
|
-
#
|
|
539
|
-
#
|
|
540
|
-
#
|
|
541
|
-
#
|
|
542
|
-
# Existing
|
|
543
|
-
#
|
|
544
|
-
#
|
|
544
|
+
# Deletes a custom Role.
|
|
545
|
+
# When you delete a custom role, the following changes occur immediately:
|
|
546
|
+
# * You cannot bind a member to the custom role in an IAM
|
|
547
|
+
# Policy.
|
|
548
|
+
# * Existing bindings to the custom role are not changed, but they have no
|
|
549
|
+
# effect.
|
|
550
|
+
# * By default, the response from ListRoles does not include the custom
|
|
551
|
+
# role.
|
|
552
|
+
# You have 7 days to undelete the custom role. After 7 days, the following
|
|
553
|
+
# changes occur:
|
|
554
|
+
# * The custom role is permanently deleted and cannot be recovered.
|
|
555
|
+
# * If an IAM policy contains a binding to the custom role, the binding is
|
|
556
|
+
# permanently removed.
|
|
545
557
|
# @param [String] name
|
|
546
558
|
# The `name` parameter's value depends on the target resource for the
|
|
547
559
|
# request, namely
|
|
@@ -592,7 +604,7 @@ module Google
|
|
|
592
604
|
execute_or_queue_command(command, &block)
|
|
593
605
|
end
|
|
594
606
|
|
|
595
|
-
# Gets a Role
|
|
607
|
+
# Gets the definition of a Role.
|
|
596
608
|
# @param [String] name
|
|
597
609
|
# The `name` parameter's value depends on the target resource for the
|
|
598
610
|
# request, namely
|
|
@@ -646,7 +658,8 @@ module Google
|
|
|
646
658
|
execute_or_queue_command(command, &block)
|
|
647
659
|
end
|
|
648
660
|
|
|
649
|
-
# Lists
|
|
661
|
+
# Lists every predefined Role that IAM supports, or every custom role
|
|
662
|
+
# that is defined for an organization or project.
|
|
650
663
|
# @param [String] parent
|
|
651
664
|
# The `parent` parameter's value depends on the target resource for the
|
|
652
665
|
# request, namely
|
|
@@ -674,6 +687,7 @@ module Google
|
|
|
674
687
|
# ID or organization ID.
|
|
675
688
|
# @param [Fixnum] page_size
|
|
676
689
|
# Optional limit on the number of roles to include in the response.
|
|
690
|
+
# The default is 300, and the maximum is 1,000.
|
|
677
691
|
# @param [String] page_token
|
|
678
692
|
# Optional pagination token returned in an earlier ListRolesResponse.
|
|
679
693
|
# @param [Boolean] show_deleted
|
|
@@ -714,7 +728,7 @@ module Google
|
|
|
714
728
|
execute_or_queue_command(command, &block)
|
|
715
729
|
end
|
|
716
730
|
|
|
717
|
-
# Updates a Role
|
|
731
|
+
# Updates the definition of a custom Role.
|
|
718
732
|
# @param [String] name
|
|
719
733
|
# The `name` parameter's value depends on the target resource for the
|
|
720
734
|
# request, namely
|
|
@@ -768,7 +782,7 @@ module Google
|
|
|
768
782
|
execute_or_queue_command(command, &block)
|
|
769
783
|
end
|
|
770
784
|
|
|
771
|
-
#
|
|
785
|
+
# Undeletes a custom Role.
|
|
772
786
|
# @param [String] name
|
|
773
787
|
# The `name` parameter's value depends on the target resource for the
|
|
774
788
|
# request, namely
|
|
@@ -820,8 +834,7 @@ module Google
|
|
|
820
834
|
execute_or_queue_command(command, &block)
|
|
821
835
|
end
|
|
822
836
|
|
|
823
|
-
# Creates a ServiceAccount
|
|
824
|
-
# and returns it.
|
|
837
|
+
# Creates a ServiceAccount.
|
|
825
838
|
# @param [String] name
|
|
826
839
|
# Required. The resource name of the project associated with the service
|
|
827
840
|
# accounts, such as `projects/my-project-123`.
|
|
@@ -856,6 +869,17 @@ module Google
|
|
|
856
869
|
end
|
|
857
870
|
|
|
858
871
|
# Deletes a ServiceAccount.
|
|
872
|
+
# **Warning:** After you delete a service account, you might not be able to
|
|
873
|
+
# undelete it. If you know that you need to re-enable the service account in
|
|
874
|
+
# the future, use DisableServiceAccount instead.
|
|
875
|
+
# If you delete a service account, IAM permanently removes the service
|
|
876
|
+
# account 30 days later. Google Cloud cannot recover the service account
|
|
877
|
+
# after it is permanently removed, even if you file a support request.
|
|
878
|
+
# To help avoid unplanned outages, we recommend that you disable the service
|
|
879
|
+
# account before you delete it. Use DisableServiceAccount to disable the
|
|
880
|
+
# service account, then wait at least 24 hours and watch for unintended
|
|
881
|
+
# consequences. If there are no unintended consequences, you can delete the
|
|
882
|
+
# service account.
|
|
859
883
|
# @param [String] name
|
|
860
884
|
# Required. The resource name of the service account in the following format:
|
|
861
885
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
@@ -889,20 +913,19 @@ module Google
|
|
|
889
913
|
execute_or_queue_command(command, &block)
|
|
890
914
|
end
|
|
891
915
|
|
|
892
|
-
#
|
|
893
|
-
#
|
|
894
|
-
#
|
|
895
|
-
#
|
|
896
|
-
#
|
|
897
|
-
#
|
|
898
|
-
#
|
|
899
|
-
#
|
|
900
|
-
#
|
|
901
|
-
#
|
|
902
|
-
#
|
|
903
|
-
#
|
|
904
|
-
#
|
|
905
|
-
# are no unintended consequences, and then delete the service account.
|
|
916
|
+
# Disables a ServiceAccount immediately.
|
|
917
|
+
# If an application uses the service account to authenticate, that
|
|
918
|
+
# application can no longer call Google APIs or access Google Cloud
|
|
919
|
+
# resources. Existing access tokens for the service account are rejected, and
|
|
920
|
+
# requests for new access tokens will fail.
|
|
921
|
+
# To re-enable the service account, use EnableServiceAccount. After you
|
|
922
|
+
# re-enable the service account, its existing access tokens will be accepted,
|
|
923
|
+
# and you can request new access tokens.
|
|
924
|
+
# To help avoid unplanned outages, we recommend that you disable the service
|
|
925
|
+
# account before you delete it. Use this method to disable the service
|
|
926
|
+
# account, then wait at least 24 hours and watch for unintended consequences.
|
|
927
|
+
# If there are no unintended consequences, you can delete the service account
|
|
928
|
+
# with DeleteServiceAccount.
|
|
906
929
|
# @param [String] name
|
|
907
930
|
# The resource name of the service account in the following format:
|
|
908
931
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
@@ -939,14 +962,12 @@ module Google
|
|
|
939
962
|
execute_or_queue_command(command, &block)
|
|
940
963
|
end
|
|
941
964
|
|
|
942
|
-
#
|
|
943
|
-
#
|
|
944
|
-
#
|
|
945
|
-
#
|
|
946
|
-
#
|
|
947
|
-
#
|
|
948
|
-
# not disabled. Enabling an already enabled service account will have no
|
|
949
|
-
# effect.
|
|
965
|
+
# Enables a ServiceAccount that was disabled by
|
|
966
|
+
# DisableServiceAccount.
|
|
967
|
+
# If the service account is already enabled, then this method has no effect.
|
|
968
|
+
# If the service account was disabled by other means—for example, if Google
|
|
969
|
+
# disabled the service account because it was compromised—you cannot use this
|
|
970
|
+
# method to enable the service account.
|
|
950
971
|
# @param [String] name
|
|
951
972
|
# The resource name of the service account in the following format:
|
|
952
973
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
@@ -1017,19 +1038,15 @@ module Google
|
|
|
1017
1038
|
execute_or_queue_command(command, &block)
|
|
1018
1039
|
end
|
|
1019
1040
|
|
|
1020
|
-
#
|
|
1021
|
-
#
|
|
1022
|
-
#
|
|
1023
|
-
#
|
|
1024
|
-
#
|
|
1025
|
-
#
|
|
1026
|
-
#
|
|
1027
|
-
#
|
|
1028
|
-
#
|
|
1029
|
-
# `getIamPolicy` method on the target resource. For example, to view grants
|
|
1030
|
-
# for a project, call the
|
|
1031
|
-
# [projects.getIamPolicy](/resource-manager/reference/rest/v1/projects/
|
|
1032
|
-
# getIamPolicy)
|
|
1041
|
+
# Gets the IAM policy that is attached to a ServiceAccount. This IAM
|
|
1042
|
+
# policy specifies which members have access to the service account.
|
|
1043
|
+
# This method does not tell you whether the service account has been granted
|
|
1044
|
+
# any roles on other resources. To check whether a service account has role
|
|
1045
|
+
# grants on a resource, use the `getIamPolicy` method for that resource. For
|
|
1046
|
+
# example, to view the role grants for a project, call the Resource Manager
|
|
1047
|
+
# API's
|
|
1048
|
+
# [`projects.getIamPolicy`](https://cloud.google.com/resource-manager/reference/
|
|
1049
|
+
# rest/v1/projects/getIamPolicy)
|
|
1033
1050
|
# method.
|
|
1034
1051
|
# @param [String] resource
|
|
1035
1052
|
# REQUIRED: The resource for which the policy is being requested.
|
|
@@ -1041,6 +1058,9 @@ module Google
|
|
|
1041
1058
|
# Requests for policies with any conditional bindings must specify version 3.
|
|
1042
1059
|
# Policies without any conditional bindings may specify any valid value or
|
|
1043
1060
|
# leave the field unset.
|
|
1061
|
+
# To learn which resources support conditions in their IAM policies, see the
|
|
1062
|
+
# [IAM
|
|
1063
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1044
1064
|
# @param [String] fields
|
|
1045
1065
|
# Selector specifying which fields to include in a partial response.
|
|
1046
1066
|
# @param [String] quota_user
|
|
@@ -1069,7 +1089,7 @@ module Google
|
|
|
1069
1089
|
execute_or_queue_command(command, &block)
|
|
1070
1090
|
end
|
|
1071
1091
|
|
|
1072
|
-
# Lists
|
|
1092
|
+
# Lists every ServiceAccount that belongs to a specific project.
|
|
1073
1093
|
# @param [String] name
|
|
1074
1094
|
# Required. The resource name of the project associated with the service
|
|
1075
1095
|
# accounts, such as `projects/my-project-123`.
|
|
@@ -1078,6 +1098,7 @@ module Google
|
|
|
1078
1098
|
# response. Further accounts can subsequently be obtained by including the
|
|
1079
1099
|
# ListServiceAccountsResponse.next_page_token
|
|
1080
1100
|
# in a subsequent request.
|
|
1101
|
+
# The default is 20, and the maximum is 100.
|
|
1081
1102
|
# @param [String] page_token
|
|
1082
1103
|
# Optional pagination token returned in an earlier
|
|
1083
1104
|
# ListServiceAccountsResponse.next_page_token.
|
|
@@ -1111,19 +1132,21 @@ module Google
|
|
|
1111
1132
|
end
|
|
1112
1133
|
|
|
1113
1134
|
# Patches a ServiceAccount.
|
|
1114
|
-
# Currently, only the following fields are updatable:
|
|
1115
|
-
# `display_name` and `description`.
|
|
1116
|
-
# Only fields specified in the request are guaranteed to be returned in
|
|
1117
|
-
# the response. Other fields in the response may be empty.
|
|
1118
|
-
# Note: The field mask is required.
|
|
1119
1135
|
# @param [String] name
|
|
1120
|
-
# The resource name of the service account
|
|
1121
|
-
#
|
|
1122
|
-
#
|
|
1123
|
-
#
|
|
1124
|
-
#
|
|
1125
|
-
#
|
|
1126
|
-
# `projects
|
|
1136
|
+
# The resource name of the service account.
|
|
1137
|
+
# Use one of the following formats:
|
|
1138
|
+
# * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
|
|
1139
|
+
# * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
|
|
1140
|
+
# As an alternative, you can use the `-` wildcard character instead of the
|
|
1141
|
+
# project ID:
|
|
1142
|
+
# * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
|
|
1143
|
+
# * `projects/-/serviceAccounts/`UNIQUE_ID``
|
|
1144
|
+
# When possible, avoid using the `-` wildcard character, because it can cause
|
|
1145
|
+
# response messages to contain misleading error codes. For example, if you
|
|
1146
|
+
# try to get the service account
|
|
1147
|
+
# `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
1148
|
+
# response contains an HTTP `403 Forbidden` error instead of a `404 Not
|
|
1149
|
+
# Found` error.
|
|
1127
1150
|
# @param [Google::Apis::IamV1::PatchServiceAccountRequest] patch_service_account_request_object
|
|
1128
1151
|
# @param [String] fields
|
|
1129
1152
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1154,21 +1177,20 @@ module Google
|
|
|
1154
1177
|
execute_or_queue_command(command, &block)
|
|
1155
1178
|
end
|
|
1156
1179
|
|
|
1157
|
-
# Sets the
|
|
1158
|
-
#
|
|
1159
|
-
#
|
|
1160
|
-
#
|
|
1161
|
-
#
|
|
1162
|
-
#
|
|
1163
|
-
#
|
|
1164
|
-
#
|
|
1165
|
-
#
|
|
1166
|
-
#
|
|
1167
|
-
#
|
|
1168
|
-
#
|
|
1169
|
-
#
|
|
1170
|
-
#
|
|
1171
|
-
# method.
|
|
1180
|
+
# Sets the IAM policy that is attached to a ServiceAccount.
|
|
1181
|
+
# Use this method to grant or revoke access to the service account. For
|
|
1182
|
+
# example, you could grant a member the ability to impersonate the service
|
|
1183
|
+
# account.
|
|
1184
|
+
# This method does not enable the service account to access other resources.
|
|
1185
|
+
# To grant roles to a service account on a resource, follow these steps:
|
|
1186
|
+
# 1. Call the resource's `getIamPolicy` method to get its current IAM policy.
|
|
1187
|
+
# 2. Edit the policy so that it binds the service account to an IAM role for
|
|
1188
|
+
# the resource.
|
|
1189
|
+
# 3. Call the resource's `setIamPolicy` method to update its IAM policy.
|
|
1190
|
+
# For detailed instructions, see
|
|
1191
|
+
# [Granting roles to a service account for specific
|
|
1192
|
+
# resources](https://cloud.google.com/iam/help/service-accounts/granting-access-
|
|
1193
|
+
# to-service-accounts).
|
|
1172
1194
|
# @param [String] resource
|
|
1173
1195
|
# REQUIRED: The resource for which the policy is being specified.
|
|
1174
1196
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -1202,11 +1224,11 @@ module Google
|
|
|
1202
1224
|
execute_or_queue_command(command, &block)
|
|
1203
1225
|
end
|
|
1204
1226
|
|
|
1205
|
-
# **Note
|
|
1206
|
-
# [`signBlob
|
|
1207
|
-
# signBlob)
|
|
1208
|
-
# method
|
|
1209
|
-
# Signs a blob using
|
|
1227
|
+
# **Note:** We are in the process of deprecating this method. Use the
|
|
1228
|
+
# [`signBlob`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
|
|
1229
|
+
# serviceAccounts/signBlob)
|
|
1230
|
+
# method in the IAM Service Account Credentials API instead.
|
|
1231
|
+
# Signs a blob using the system-managed private key for a ServiceAccount.
|
|
1210
1232
|
# @param [String] name
|
|
1211
1233
|
# Required. The resource name of the service account in the following format:
|
|
1212
1234
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
@@ -1243,14 +1265,12 @@ module Google
|
|
|
1243
1265
|
execute_or_queue_command(command, &block)
|
|
1244
1266
|
end
|
|
1245
1267
|
|
|
1246
|
-
# **Note
|
|
1247
|
-
# [`signJwt
|
|
1248
|
-
# signJwt)
|
|
1249
|
-
# method
|
|
1250
|
-
# Signs a JWT using
|
|
1251
|
-
#
|
|
1252
|
-
# an expiry time of one hour by default. If you request an expiry time of
|
|
1253
|
-
# more than one hour, the request will fail.
|
|
1268
|
+
# **Note:** We are in the process of deprecating this method. Use the
|
|
1269
|
+
# [`signJwt`](https://cloud.google.com/iam/help/rest-credentials/v1/projects.
|
|
1270
|
+
# serviceAccounts/signJwt)
|
|
1271
|
+
# method in the IAM Service Account Credentials API instead.
|
|
1272
|
+
# Signs a JSON Web Token (JWT) using the system-managed private key for a
|
|
1273
|
+
# ServiceAccount.
|
|
1254
1274
|
# @param [String] name
|
|
1255
1275
|
# Required. The resource name of the service account in the following format:
|
|
1256
1276
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
@@ -1287,8 +1307,8 @@ module Google
|
|
|
1287
1307
|
execute_or_queue_command(command, &block)
|
|
1288
1308
|
end
|
|
1289
1309
|
|
|
1290
|
-
# Tests the
|
|
1291
|
-
#
|
|
1310
|
+
# Tests whether the caller has the specified permissions on a
|
|
1311
|
+
# ServiceAccount.
|
|
1292
1312
|
# @param [String] resource
|
|
1293
1313
|
# REQUIRED: The resource for which the policy detail is being requested.
|
|
1294
1314
|
# See the operation documentation for the appropriate value for this field.
|
|
@@ -1323,8 +1343,11 @@ module Google
|
|
|
1323
1343
|
end
|
|
1324
1344
|
|
|
1325
1345
|
# Restores a deleted ServiceAccount.
|
|
1326
|
-
#
|
|
1327
|
-
#
|
|
1346
|
+
# **Important:** It is not always possible to restore a deleted service
|
|
1347
|
+
# account. Use this method only as a last resort.
|
|
1348
|
+
# After you delete a service account, IAM permanently removes the service
|
|
1349
|
+
# account 30 days later. There is no way to restore a deleted service account
|
|
1350
|
+
# that has been permanently removed.
|
|
1328
1351
|
# @param [String] name
|
|
1329
1352
|
# The resource name of the service account in the following format:
|
|
1330
1353
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT_UNIQUE_ID``.
|
|
@@ -1360,19 +1383,25 @@ module Google
|
|
|
1360
1383
|
execute_or_queue_command(command, &block)
|
|
1361
1384
|
end
|
|
1362
1385
|
|
|
1363
|
-
# Note
|
|
1386
|
+
# **Note:** We are in the process of deprecating this method. Use
|
|
1364
1387
|
# PatchServiceAccount instead.
|
|
1365
1388
|
# Updates a ServiceAccount.
|
|
1366
|
-
#
|
|
1367
|
-
# `display_name` and `description`.
|
|
1389
|
+
# You can update only the `display_name` and `description` fields.
|
|
1368
1390
|
# @param [String] name
|
|
1369
|
-
# The resource name of the service account
|
|
1370
|
-
#
|
|
1371
|
-
#
|
|
1372
|
-
#
|
|
1373
|
-
#
|
|
1374
|
-
#
|
|
1375
|
-
# `projects
|
|
1391
|
+
# The resource name of the service account.
|
|
1392
|
+
# Use one of the following formats:
|
|
1393
|
+
# * `projects/`PROJECT_ID`/serviceAccounts/`EMAIL_ADDRESS``
|
|
1394
|
+
# * `projects/`PROJECT_ID`/serviceAccounts/`UNIQUE_ID``
|
|
1395
|
+
# As an alternative, you can use the `-` wildcard character instead of the
|
|
1396
|
+
# project ID:
|
|
1397
|
+
# * `projects/-/serviceAccounts/`EMAIL_ADDRESS``
|
|
1398
|
+
# * `projects/-/serviceAccounts/`UNIQUE_ID``
|
|
1399
|
+
# When possible, avoid using the `-` wildcard character, because it can cause
|
|
1400
|
+
# response messages to contain misleading error codes. For example, if you
|
|
1401
|
+
# try to get the service account
|
|
1402
|
+
# `projects/-/serviceAccounts/fake@example.com`, which does not exist, the
|
|
1403
|
+
# response contains an HTTP `403 Forbidden` error instead of a `404 Not
|
|
1404
|
+
# Found` error.
|
|
1376
1405
|
# @param [Google::Apis::IamV1::ServiceAccount] service_account_object
|
|
1377
1406
|
# @param [String] fields
|
|
1378
1407
|
# Selector specifying which fields to include in a partial response.
|
|
@@ -1403,8 +1432,7 @@ module Google
|
|
|
1403
1432
|
execute_or_queue_command(command, &block)
|
|
1404
1433
|
end
|
|
1405
1434
|
|
|
1406
|
-
# Creates a ServiceAccountKey
|
|
1407
|
-
# and returns it.
|
|
1435
|
+
# Creates a ServiceAccountKey.
|
|
1408
1436
|
# @param [String] name
|
|
1409
1437
|
# Required. The resource name of the service account in the following format:
|
|
1410
1438
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
@@ -1475,8 +1503,7 @@ module Google
|
|
|
1475
1503
|
execute_or_queue_command(command, &block)
|
|
1476
1504
|
end
|
|
1477
1505
|
|
|
1478
|
-
# Gets
|
|
1479
|
-
# by key id.
|
|
1506
|
+
# Gets a ServiceAccountKey.
|
|
1480
1507
|
# @param [String] name
|
|
1481
1508
|
# Required. The resource name of the service account key in the following format:
|
|
1482
1509
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
|
|
@@ -1514,7 +1541,7 @@ module Google
|
|
|
1514
1541
|
execute_or_queue_command(command, &block)
|
|
1515
1542
|
end
|
|
1516
1543
|
|
|
1517
|
-
# Lists
|
|
1544
|
+
# Lists every ServiceAccountKey for a service account.
|
|
1518
1545
|
# @param [String] name
|
|
1519
1546
|
# Required. The resource name of the service account in the following format:
|
|
1520
1547
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
@@ -1553,10 +1580,7 @@ module Google
|
|
|
1553
1580
|
execute_or_queue_command(command, &block)
|
|
1554
1581
|
end
|
|
1555
1582
|
|
|
1556
|
-
#
|
|
1557
|
-
# This rpc will create a
|
|
1558
|
-
# ServiceAccountKey that has the
|
|
1559
|
-
# provided public key and returns it.
|
|
1583
|
+
# Creates a ServiceAccountKey, using a public key that you provide.
|
|
1560
1584
|
# @param [String] name
|
|
1561
1585
|
# The resource name of the service account in the following format:
|
|
1562
1586
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``.
|
|
@@ -1593,7 +1617,7 @@ module Google
|
|
|
1593
1617
|
execute_or_queue_command(command, &block)
|
|
1594
1618
|
end
|
|
1595
1619
|
|
|
1596
|
-
# Gets a Role
|
|
1620
|
+
# Gets the definition of a Role.
|
|
1597
1621
|
# @param [String] name
|
|
1598
1622
|
# The `name` parameter's value depends on the target resource for the
|
|
1599
1623
|
# request, namely
|
|
@@ -1647,9 +1671,11 @@ module Google
|
|
|
1647
1671
|
execute_or_queue_command(command, &block)
|
|
1648
1672
|
end
|
|
1649
1673
|
|
|
1650
|
-
# Lists
|
|
1674
|
+
# Lists every predefined Role that IAM supports, or every custom role
|
|
1675
|
+
# that is defined for an organization or project.
|
|
1651
1676
|
# @param [Fixnum] page_size
|
|
1652
1677
|
# Optional limit on the number of roles to include in the response.
|
|
1678
|
+
# The default is 300, and the maximum is 1,000.
|
|
1653
1679
|
# @param [String] page_token
|
|
1654
1680
|
# Optional pagination token returned in an earlier ListRolesResponse.
|
|
1655
1681
|
# @param [String] parent
|
|
@@ -1715,9 +1741,9 @@ module Google
|
|
|
1715
1741
|
execute_or_queue_command(command, &block)
|
|
1716
1742
|
end
|
|
1717
1743
|
|
|
1718
|
-
#
|
|
1719
|
-
#
|
|
1720
|
-
#
|
|
1744
|
+
# Lists roles that can be granted on a Google Cloud resource. A role is
|
|
1745
|
+
# grantable if the IAM policy for the resource can contain bindings to the
|
|
1746
|
+
# role.
|
|
1721
1747
|
# @param [Google::Apis::IamV1::QueryGrantableRolesRequest] query_grantable_roles_request_object
|
|
1722
1748
|
# @param [String] fields
|
|
1723
1749
|
# Selector specifying which fields to include in a partial response.
|