google-api-client 0.46.2 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +79 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +736 -192
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +13 -15
- data/generated/google/apis/accessapproval_v1/service.rb +12 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/service.rb +4 -0
- data/generated/google/apis/admob_v1beta.rb +38 -0
- data/generated/google/apis/admob_v1beta/classes.rb +1035 -0
- data/generated/google/apis/admob_v1beta/representations.rb +472 -0
- data/generated/google/apis/admob_v1beta/service.rb +279 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +13 -12
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +28 -12
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +263 -69
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +52 -14
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +44 -33
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +6 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +98 -30
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigateway_v1beta.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +8 -5
- data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +378 -138
- data/generated/google/apis/apigee_v1/representations.rb +109 -18
- data/generated/google/apis/apigee_v1/service.rb +674 -56
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +49 -0
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +481 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +279 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +448 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -7
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +69 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +29 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +78 -0
- data/generated/google/apis/bigquery_v2/representations.rb +34 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +1 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +11 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -9
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +4 -10
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +52 -52
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +7 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1125 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +474 -0
- data/generated/google/apis/cloudasset_v1/service.rb +171 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +3 -2
- data/generated/google/apis/cloudbuild_v1/service.rb +11 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +15 -7
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +37 -21
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -7
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +401 -7
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +13 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +405 -11
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +280 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +13 -13
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +12 -2
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -7
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +289 -31
- data/generated/google/apis/compute_v1/representations.rb +44 -0
- data/generated/google/apis/compute_v1/service.rb +695 -545
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +29 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -7
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -8
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2/classes.rb +514 -1222
- data/generated/google/apis/content_v2/service.rb +380 -651
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1522 -1062
- data/generated/google/apis/content_v2_1/representations.rb +420 -0
- data/generated/google/apis/content_v2_1/service.rb +1127 -809
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +25 -17
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +5 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +29 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +5 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datamigration_v1beta1.rb +34 -0
- data/generated/google/apis/datamigration_v1beta1/classes.rb +1670 -0
- data/generated/google/apis/datamigration_v1beta1/representations.rb +678 -0
- data/generated/google/apis/datamigration_v1beta1/service.rb +1172 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +95 -12
- data/generated/google/apis/dataproc_v1/representations.rb +23 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +63 -12
- data/generated/google/apis/dataproc_v1beta2/representations.rb +19 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +4 -4
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +4 -4
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3/service.rb +12 -12
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +6 -6
- data/generated/google/apis/dfareporting_v3_4/service.rb +12 -12
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +19 -387
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -212
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +17 -390
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -212
- data/generated/google/apis/dialogflow_v2beta1/service.rb +510 -40
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +76 -387
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +20 -212
- data/generated/google/apis/dialogflow_v3beta1/service.rb +11 -3
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +306 -34
- data/generated/google/apis/displayvideo_v1/representations.rb +122 -0
- data/generated/google/apis/displayvideo_v1/service.rb +342 -38
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +35 -29
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1/service.rb +1 -1
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +20 -1
- data/generated/google/apis/dns_v1beta2/representations.rb +13 -0
- data/generated/google/apis/dns_v1beta2/service.rb +177 -1
- data/generated/google/apis/domains_v1alpha2.rb +1 -1
- data/generated/google/apis/domains_v1beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +3 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +24 -21
- data/generated/google/apis/drive_v2/service.rb +26 -58
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -8
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/eventarc_v1beta1/service.rb +579 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +505 -4
- data/generated/google/apis/file_v1/representations.rb +203 -0
- data/generated/google/apis/file_v1/service.rb +229 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +346 -6
- data/generated/google/apis/file_v1beta1/representations.rb +149 -0
- data/generated/google/apis/file_v1beta1/service.rb +6 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +17 -4
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/{displayvideo_v1dev → firebasedatabase_v1beta}/representations.rb +26 -16
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -4
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +353 -0
- data/generated/google/apis/games_v1/representations.rb +145 -0
- data/generated/google/apis/games_v1/service.rb +67 -0
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +25 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +15 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +24 -17
- data/generated/google/apis/healthcare_v1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1/service.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +361 -57
- data/generated/google/apis/healthcare_v1beta1/representations.rb +150 -18
- data/generated/google/apis/healthcare_v1beta1/service.rb +91 -13
- data/generated/google/apis/iam_v1.rb +2 -5
- data/generated/google/apis/iam_v1/classes.rb +109 -11
- data/generated/google/apis/iam_v1/representations.rb +33 -1
- data/generated/google/apis/iam_v1/service.rb +63 -4
- data/generated/google/apis/iamcredentials_v1.rb +3 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +2 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +1 -13
- data/generated/google/apis/iap_v1/representations.rb +0 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +1 -2
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +34 -31
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/localservices_v1.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +7 -0
- data/generated/google/apis/localservices_v1/representations.rb +2 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +191 -14
- data/generated/google/apis/logging_v2/representations.rb +77 -0
- data/generated/google/apis/logging_v2/service.rb +446 -25
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +361 -16
- data/generated/google/apis/managedidentities_v1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +363 -17
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +149 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +349 -12
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +149 -1
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +345 -4
- data/generated/google/apis/memcache_v1beta2/representations.rb +149 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +272 -84
- data/generated/google/apis/ml_v1/representations.rb +43 -1
- data/generated/google/apis/ml_v1/service.rb +35 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +16 -9
- data/generated/google/apis/monitoring_v3/service.rb +55 -5
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +57 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +31 -0
- data/generated/google/apis/notebooks_v1.rb +34 -0
- data/generated/google/apis/notebooks_v1/classes.rb +1455 -0
- data/generated/google/apis/notebooks_v1/representations.rb +580 -0
- data/generated/google/apis/notebooks_v1/service.rb +1042 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +10 -6
- data/generated/google/apis/people_v1/service.rb +21 -18
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/privateca_v1beta1.rb +36 -0
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1437 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1/service.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -7
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +545 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +232 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +450 -0
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +32 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +3 -3
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +3 -3
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +86 -0
- data/generated/google/apis/redis_v1/representations.rb +34 -0
- data/generated/google/apis/redis_v1/service.rb +34 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +58 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +20 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +0 -7
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +0 -1
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +109 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1/representations.rb +0 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +0 -7
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +0 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +6 -64
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +77 -2
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +62 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +26 -13
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -64
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -18
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +156 -64
- data/generated/google/apis/servicenetworking_v1/representations.rb +62 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +80 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +69 -64
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +29 -15
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +6 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +0 -18
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +36 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +332 -7
- data/generated/google/apis/sheets_v4/representations.rb +102 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +0 -34
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -16
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +3 -8
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +10 -8
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +118 -11
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +37 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +72 -50
- data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +3 -3
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +45 -33
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/testing_v1/service.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +12 -0
- data/generated/google/apis/transcoder_v1beta1.rb +34 -0
- data/generated/google/apis/transcoder_v1beta1/classes.rb +1684 -0
- data/generated/google/apis/transcoder_v1beta1/representations.rb +756 -0
- data/generated/google/apis/transcoder_v1beta1/service.rb +329 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +2 -1
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +2 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1/service.rb +0 -62
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/generated/google/apis/youtube_v3/service.rb +6 -6
- data/google-api-client.gemspec +25 -25
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- metadata +53 -24
- data/generated/google/apis/displayvideo_v1beta.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta/service.rb +0 -161
- data/generated/google/apis/displayvideo_v1beta2.rb +0 -38
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +0 -72
- data/generated/google/apis/displayvideo_v1beta2/service.rb +0 -130
- data/generated/google/apis/displayvideo_v1dev.rb +0 -38
- data/generated/google/apis/displayvideo_v1dev/classes.rb +0 -146
- data/generated/google/apis/displayvideo_v1dev/service.rb +0 -130
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/filestore/
|
26
26
|
module FileV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201029'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -26,8 +26,7 @@ module Google
|
|
26
26
|
class Backup
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Output only. Capacity of the
|
30
|
-
# when the backup is restored.
|
29
|
+
# Output only. Capacity of the source file share when the backup was created.
|
31
30
|
# Corresponds to the JSON property `capacityGb`
|
32
31
|
# @return [Fixnum]
|
33
32
|
attr_accessor :capacity_gb
|
@@ -122,6 +121,122 @@ module Google
|
|
122
121
|
end
|
123
122
|
end
|
124
123
|
|
124
|
+
# Time window specified for daily operations.
|
125
|
+
class DailyCycle
|
126
|
+
include Google::Apis::Core::Hashable
|
127
|
+
|
128
|
+
# Output only. Duration of the time window, set by service producer.
|
129
|
+
# Corresponds to the JSON property `duration`
|
130
|
+
# @return [String]
|
131
|
+
attr_accessor :duration
|
132
|
+
|
133
|
+
# Represents a time of day. The date and time zone are either not significant or
|
134
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
135
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
136
|
+
# Corresponds to the JSON property `startTime`
|
137
|
+
# @return [Google::Apis::FileV1beta1::TimeOfDay]
|
138
|
+
attr_accessor :start_time
|
139
|
+
|
140
|
+
def initialize(**args)
|
141
|
+
update!(**args)
|
142
|
+
end
|
143
|
+
|
144
|
+
# Update properties of this object
|
145
|
+
def update!(**args)
|
146
|
+
@duration = args[:duration] if args.key?(:duration)
|
147
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
152
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
153
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
154
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
155
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
156
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
157
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
158
|
+
# google.protobuf.Timestamp`.
|
159
|
+
class Date
|
160
|
+
include Google::Apis::Core::Hashable
|
161
|
+
|
162
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
163
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
164
|
+
# Corresponds to the JSON property `day`
|
165
|
+
# @return [Fixnum]
|
166
|
+
attr_accessor :day
|
167
|
+
|
168
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
169
|
+
# and day.
|
170
|
+
# Corresponds to the JSON property `month`
|
171
|
+
# @return [Fixnum]
|
172
|
+
attr_accessor :month
|
173
|
+
|
174
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
175
|
+
# year.
|
176
|
+
# Corresponds to the JSON property `year`
|
177
|
+
# @return [Fixnum]
|
178
|
+
attr_accessor :year
|
179
|
+
|
180
|
+
def initialize(**args)
|
181
|
+
update!(**args)
|
182
|
+
end
|
183
|
+
|
184
|
+
# Update properties of this object
|
185
|
+
def update!(**args)
|
186
|
+
@day = args[:day] if args.key?(:day)
|
187
|
+
@month = args[:month] if args.key?(:month)
|
188
|
+
@year = args[:year] if args.key?(:year)
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
# DenyMaintenancePeriod definition. Maintenance is forbidden within the deny
|
193
|
+
# period. The start_date must be less than the end_date.
|
194
|
+
class DenyMaintenancePeriod
|
195
|
+
include Google::Apis::Core::Hashable
|
196
|
+
|
197
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
198
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
199
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
200
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
201
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
202
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
203
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
204
|
+
# google.protobuf.Timestamp`.
|
205
|
+
# Corresponds to the JSON property `endDate`
|
206
|
+
# @return [Google::Apis::FileV1beta1::Date]
|
207
|
+
attr_accessor :end_date
|
208
|
+
|
209
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
210
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
211
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
212
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
213
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
214
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
215
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
216
|
+
# google.protobuf.Timestamp`.
|
217
|
+
# Corresponds to the JSON property `startDate`
|
218
|
+
# @return [Google::Apis::FileV1beta1::Date]
|
219
|
+
attr_accessor :start_date
|
220
|
+
|
221
|
+
# Represents a time of day. The date and time zone are either not significant or
|
222
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
223
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
224
|
+
# Corresponds to the JSON property `time`
|
225
|
+
# @return [Google::Apis::FileV1beta1::TimeOfDay]
|
226
|
+
attr_accessor :time
|
227
|
+
|
228
|
+
def initialize(**args)
|
229
|
+
update!(**args)
|
230
|
+
end
|
231
|
+
|
232
|
+
# Update properties of this object
|
233
|
+
def update!(**args)
|
234
|
+
@end_date = args[:end_date] if args.key?(:end_date)
|
235
|
+
@start_date = args[:start_date] if args.key?(:start_date)
|
236
|
+
@time = args[:time] if args.key?(:time)
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
125
240
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
126
241
|
# messages in your APIs. A typical example is to use it as the request or the
|
127
242
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -202,10 +317,10 @@ module Google
|
|
202
317
|
# @return [Hash<String,String>]
|
203
318
|
attr_accessor :labels
|
204
319
|
|
205
|
-
# The MaintenancePolicies that have been attached to the instance.
|
206
|
-
# be of the type name of the oneof policy name defined in
|
207
|
-
# the referenced policy must define the same policy type.
|
208
|
-
# of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
|
320
|
+
# Deprecated. The MaintenancePolicies that have been attached to the instance.
|
321
|
+
# The key must be of the type name of the oneof policy name defined in
|
322
|
+
# MaintenancePolicy, and the referenced policy must define the same policy type.
|
323
|
+
# For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
|
209
324
|
# Corresponds to the JSON property `maintenancePolicyNames`
|
210
325
|
# @return [Hash<String,String>]
|
211
326
|
attr_accessor :maintenance_policy_names
|
@@ -357,6 +472,16 @@ module Google
|
|
357
472
|
attr_accessor :exclude
|
358
473
|
alias_method :exclude?, :exclude
|
359
474
|
|
475
|
+
# Optional. The MaintenancePolicies that have been attached to the instance. The
|
476
|
+
# key must be of the type name of the oneof policy name defined in
|
477
|
+
# MaintenancePolicy, and the embedded policy must define the same policy type.
|
478
|
+
# For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.
|
479
|
+
# If only the name is needed (like in the deprecated Instance.
|
480
|
+
# maintenance_policy_names field) then only populate MaintenancePolicy.name.
|
481
|
+
# Corresponds to the JSON property `maintenancePolicies`
|
482
|
+
# @return [Hash<String,Google::Apis::FileV1beta1::MaintenancePolicy>]
|
483
|
+
attr_accessor :maintenance_policies
|
484
|
+
|
360
485
|
def initialize(**args)
|
361
486
|
update!(**args)
|
362
487
|
end
|
@@ -364,6 +489,7 @@ module Google
|
|
364
489
|
# Update properties of this object
|
365
490
|
def update!(**args)
|
366
491
|
@exclude = args[:exclude] if args.key?(:exclude)
|
492
|
+
@maintenance_policies = args[:maintenance_policies] if args.key?(:maintenance_policies)
|
367
493
|
end
|
368
494
|
end
|
369
495
|
|
@@ -810,6 +936,93 @@ module Google
|
|
810
936
|
end
|
811
937
|
end
|
812
938
|
|
939
|
+
# Defines policies to service maintenance events.
|
940
|
+
class MaintenancePolicy
|
941
|
+
include Google::Apis::Core::Hashable
|
942
|
+
|
943
|
+
# Output only. The time when the resource was created.
|
944
|
+
# Corresponds to the JSON property `createTime`
|
945
|
+
# @return [String]
|
946
|
+
attr_accessor :create_time
|
947
|
+
|
948
|
+
# Optional. Description of what this policy is for. Create/Update methods return
|
949
|
+
# INVALID_ARGUMENT if the length is greater than 512.
|
950
|
+
# Corresponds to the JSON property `description`
|
951
|
+
# @return [String]
|
952
|
+
attr_accessor :description
|
953
|
+
|
954
|
+
# Optional. Resource labels to represent user provided metadata. Each label is a
|
955
|
+
# key-value pair, where both the key and the value are arbitrary strings
|
956
|
+
# provided by the user.
|
957
|
+
# Corresponds to the JSON property `labels`
|
958
|
+
# @return [Hash<String,String>]
|
959
|
+
attr_accessor :labels
|
960
|
+
|
961
|
+
# Required. MaintenancePolicy name using the form: `projects/`project_id`/
|
962
|
+
# locations/`location_id`/maintenancePolicies/`maintenance_policy_id`` where `
|
963
|
+
# project_id` refers to a GCP consumer project ID, `location_id` refers to a GCP
|
964
|
+
# region/zone, `maintenance_policy_id` must be 1-63 characters long and match
|
965
|
+
# the regular expression `[a-z0-9]([-a-z0-9]*[a-z0-9])?`.
|
966
|
+
# Corresponds to the JSON property `name`
|
967
|
+
# @return [String]
|
968
|
+
attr_accessor :name
|
969
|
+
|
970
|
+
# Optional. The state of the policy.
|
971
|
+
# Corresponds to the JSON property `state`
|
972
|
+
# @return [String]
|
973
|
+
attr_accessor :state
|
974
|
+
|
975
|
+
# Maintenance policy applicable to instance updates.
|
976
|
+
# Corresponds to the JSON property `updatePolicy`
|
977
|
+
# @return [Google::Apis::FileV1beta1::UpdatePolicy]
|
978
|
+
attr_accessor :update_policy
|
979
|
+
|
980
|
+
# Output only. The time when the resource was updated.
|
981
|
+
# Corresponds to the JSON property `updateTime`
|
982
|
+
# @return [String]
|
983
|
+
attr_accessor :update_time
|
984
|
+
|
985
|
+
def initialize(**args)
|
986
|
+
update!(**args)
|
987
|
+
end
|
988
|
+
|
989
|
+
# Update properties of this object
|
990
|
+
def update!(**args)
|
991
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
992
|
+
@description = args[:description] if args.key?(:description)
|
993
|
+
@labels = args[:labels] if args.key?(:labels)
|
994
|
+
@name = args[:name] if args.key?(:name)
|
995
|
+
@state = args[:state] if args.key?(:state)
|
996
|
+
@update_policy = args[:update_policy] if args.key?(:update_policy)
|
997
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
1001
|
+
# MaintenanceWindow definition.
|
1002
|
+
class MaintenanceWindow
|
1003
|
+
include Google::Apis::Core::Hashable
|
1004
|
+
|
1005
|
+
# Time window specified for daily operations.
|
1006
|
+
# Corresponds to the JSON property `dailyCycle`
|
1007
|
+
# @return [Google::Apis::FileV1beta1::DailyCycle]
|
1008
|
+
attr_accessor :daily_cycle
|
1009
|
+
|
1010
|
+
# Time window specified for weekly operations.
|
1011
|
+
# Corresponds to the JSON property `weeklyCycle`
|
1012
|
+
# @return [Google::Apis::FileV1beta1::WeeklyCycle]
|
1013
|
+
attr_accessor :weekly_cycle
|
1014
|
+
|
1015
|
+
def initialize(**args)
|
1016
|
+
update!(**args)
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
# Update properties of this object
|
1020
|
+
def update!(**args)
|
1021
|
+
@daily_cycle = args[:daily_cycle] if args.key?(:daily_cycle)
|
1022
|
+
@weekly_cycle = args[:weekly_cycle] if args.key?(:weekly_cycle)
|
1023
|
+
end
|
1024
|
+
end
|
1025
|
+
|
813
1026
|
# Network configuration for the instance.
|
814
1027
|
class NetworkConfig
|
815
1028
|
include Google::Apis::Core::Hashable
|
@@ -1067,6 +1280,39 @@ module Google
|
|
1067
1280
|
end
|
1068
1281
|
end
|
1069
1282
|
|
1283
|
+
# Configure the schedule.
|
1284
|
+
class Schedule
|
1285
|
+
include Google::Apis::Core::Hashable
|
1286
|
+
|
1287
|
+
# Allows to define schedule that runs specified day of the week.
|
1288
|
+
# Corresponds to the JSON property `day`
|
1289
|
+
# @return [String]
|
1290
|
+
attr_accessor :day
|
1291
|
+
|
1292
|
+
# Output only. Duration of the time window, set by service producer.
|
1293
|
+
# Corresponds to the JSON property `duration`
|
1294
|
+
# @return [String]
|
1295
|
+
attr_accessor :duration
|
1296
|
+
|
1297
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1298
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1299
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1300
|
+
# Corresponds to the JSON property `startTime`
|
1301
|
+
# @return [Google::Apis::FileV1beta1::TimeOfDay]
|
1302
|
+
attr_accessor :start_time
|
1303
|
+
|
1304
|
+
def initialize(**args)
|
1305
|
+
update!(**args)
|
1306
|
+
end
|
1307
|
+
|
1308
|
+
# Update properties of this object
|
1309
|
+
def update!(**args)
|
1310
|
+
@day = args[:day] if args.key?(:day)
|
1311
|
+
@duration = args[:duration] if args.key?(:duration)
|
1312
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
1313
|
+
end
|
1314
|
+
end
|
1315
|
+
|
1070
1316
|
# The `Status` type defines a logical error model that is suitable for different
|
1071
1317
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1072
1318
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
@@ -1105,6 +1351,100 @@ module Google
|
|
1105
1351
|
@message = args[:message] if args.key?(:message)
|
1106
1352
|
end
|
1107
1353
|
end
|
1354
|
+
|
1355
|
+
# Represents a time of day. The date and time zone are either not significant or
|
1356
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
1357
|
+
# types are google.type.Date and `google.protobuf.Timestamp`.
|
1358
|
+
class TimeOfDay
|
1359
|
+
include Google::Apis::Core::Hashable
|
1360
|
+
|
1361
|
+
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
|
1362
|
+
# allow the value "24:00:00" for scenarios like business closing time.
|
1363
|
+
# Corresponds to the JSON property `hours`
|
1364
|
+
# @return [Fixnum]
|
1365
|
+
attr_accessor :hours
|
1366
|
+
|
1367
|
+
# Minutes of hour of day. Must be from 0 to 59.
|
1368
|
+
# Corresponds to the JSON property `minutes`
|
1369
|
+
# @return [Fixnum]
|
1370
|
+
attr_accessor :minutes
|
1371
|
+
|
1372
|
+
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
|
1373
|
+
# Corresponds to the JSON property `nanos`
|
1374
|
+
# @return [Fixnum]
|
1375
|
+
attr_accessor :nanos
|
1376
|
+
|
1377
|
+
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
|
1378
|
+
# allow the value 60 if it allows leap-seconds.
|
1379
|
+
# Corresponds to the JSON property `seconds`
|
1380
|
+
# @return [Fixnum]
|
1381
|
+
attr_accessor :seconds
|
1382
|
+
|
1383
|
+
def initialize(**args)
|
1384
|
+
update!(**args)
|
1385
|
+
end
|
1386
|
+
|
1387
|
+
# Update properties of this object
|
1388
|
+
def update!(**args)
|
1389
|
+
@hours = args[:hours] if args.key?(:hours)
|
1390
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
1391
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
1392
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
1393
|
+
end
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
# Maintenance policy applicable to instance updates.
|
1397
|
+
class UpdatePolicy
|
1398
|
+
include Google::Apis::Core::Hashable
|
1399
|
+
|
1400
|
+
# Optional. Relative scheduling channel applied to resource.
|
1401
|
+
# Corresponds to the JSON property `channel`
|
1402
|
+
# @return [String]
|
1403
|
+
attr_accessor :channel
|
1404
|
+
|
1405
|
+
# Deny Maintenance Period that is applied to resource to indicate when
|
1406
|
+
# maintenance is forbidden. User can specify zero or more non-overlapping deny
|
1407
|
+
# periods. For V1, Maximum number of deny_maintenance_periods is expected to be
|
1408
|
+
# one.
|
1409
|
+
# Corresponds to the JSON property `denyMaintenancePeriods`
|
1410
|
+
# @return [Array<Google::Apis::FileV1beta1::DenyMaintenancePeriod>]
|
1411
|
+
attr_accessor :deny_maintenance_periods
|
1412
|
+
|
1413
|
+
# MaintenanceWindow definition.
|
1414
|
+
# Corresponds to the JSON property `window`
|
1415
|
+
# @return [Google::Apis::FileV1beta1::MaintenanceWindow]
|
1416
|
+
attr_accessor :window
|
1417
|
+
|
1418
|
+
def initialize(**args)
|
1419
|
+
update!(**args)
|
1420
|
+
end
|
1421
|
+
|
1422
|
+
# Update properties of this object
|
1423
|
+
def update!(**args)
|
1424
|
+
@channel = args[:channel] if args.key?(:channel)
|
1425
|
+
@deny_maintenance_periods = args[:deny_maintenance_periods] if args.key?(:deny_maintenance_periods)
|
1426
|
+
@window = args[:window] if args.key?(:window)
|
1427
|
+
end
|
1428
|
+
end
|
1429
|
+
|
1430
|
+
# Time window specified for weekly operations.
|
1431
|
+
class WeeklyCycle
|
1432
|
+
include Google::Apis::Core::Hashable
|
1433
|
+
|
1434
|
+
# User can specify multiple windows in a week. Minimum of 1 window.
|
1435
|
+
# Corresponds to the JSON property `schedule`
|
1436
|
+
# @return [Array<Google::Apis::FileV1beta1::Schedule>]
|
1437
|
+
attr_accessor :schedule
|
1438
|
+
|
1439
|
+
def initialize(**args)
|
1440
|
+
update!(**args)
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
# Update properties of this object
|
1444
|
+
def update!(**args)
|
1445
|
+
@schedule = args[:schedule] if args.key?(:schedule)
|
1446
|
+
end
|
1447
|
+
end
|
1108
1448
|
end
|
1109
1449
|
end
|
1110
1450
|
end
|
@@ -34,6 +34,24 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class DailyCycle
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Date
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class DenyMaintenancePeriod
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
37
55
|
class Empty
|
38
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
57
|
|
@@ -130,6 +148,18 @@ module Google
|
|
130
148
|
include Google::Apis::Core::JsonObjectSupport
|
131
149
|
end
|
132
150
|
|
151
|
+
class MaintenancePolicy
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
157
|
+
class MaintenanceWindow
|
158
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
+
|
160
|
+
include Google::Apis::Core::JsonObjectSupport
|
161
|
+
end
|
162
|
+
|
133
163
|
class NetworkConfig
|
134
164
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
165
|
|
@@ -160,12 +190,36 @@ module Google
|
|
160
190
|
include Google::Apis::Core::JsonObjectSupport
|
161
191
|
end
|
162
192
|
|
193
|
+
class Schedule
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
163
199
|
class Status
|
164
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
201
|
|
166
202
|
include Google::Apis::Core::JsonObjectSupport
|
167
203
|
end
|
168
204
|
|
205
|
+
class TimeOfDay
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
211
|
+
class UpdatePolicy
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
217
|
+
class WeeklyCycle
|
218
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
219
|
+
|
220
|
+
include Google::Apis::Core::JsonObjectSupport
|
221
|
+
end
|
222
|
+
|
169
223
|
class Backup
|
170
224
|
# @private
|
171
225
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -189,6 +243,36 @@ module Google
|
|
189
243
|
end
|
190
244
|
end
|
191
245
|
|
246
|
+
class DailyCycle
|
247
|
+
# @private
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
249
|
+
property :duration, as: 'duration'
|
250
|
+
property :start_time, as: 'startTime', class: Google::Apis::FileV1beta1::TimeOfDay, decorator: Google::Apis::FileV1beta1::TimeOfDay::Representation
|
251
|
+
|
252
|
+
end
|
253
|
+
end
|
254
|
+
|
255
|
+
class Date
|
256
|
+
# @private
|
257
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
258
|
+
property :day, as: 'day'
|
259
|
+
property :month, as: 'month'
|
260
|
+
property :year, as: 'year'
|
261
|
+
end
|
262
|
+
end
|
263
|
+
|
264
|
+
class DenyMaintenancePeriod
|
265
|
+
# @private
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
267
|
+
property :end_date, as: 'endDate', class: Google::Apis::FileV1beta1::Date, decorator: Google::Apis::FileV1beta1::Date::Representation
|
268
|
+
|
269
|
+
property :start_date, as: 'startDate', class: Google::Apis::FileV1beta1::Date, decorator: Google::Apis::FileV1beta1::Date::Representation
|
270
|
+
|
271
|
+
property :time, as: 'time', class: Google::Apis::FileV1beta1::TimeOfDay, decorator: Google::Apis::FileV1beta1::TimeOfDay::Representation
|
272
|
+
|
273
|
+
end
|
274
|
+
end
|
275
|
+
|
192
276
|
class Empty
|
193
277
|
# @private
|
194
278
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -245,6 +329,8 @@ module Google
|
|
245
329
|
# @private
|
246
330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
247
331
|
property :exclude, as: 'exclude'
|
332
|
+
hash :maintenance_policies, as: 'maintenancePolicies', class: Google::Apis::FileV1beta1::MaintenancePolicy, decorator: Google::Apis::FileV1beta1::MaintenancePolicy::Representation
|
333
|
+
|
248
334
|
end
|
249
335
|
end
|
250
336
|
|
@@ -364,6 +450,30 @@ module Google
|
|
364
450
|
end
|
365
451
|
end
|
366
452
|
|
453
|
+
class MaintenancePolicy
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
property :create_time, as: 'createTime'
|
457
|
+
property :description, as: 'description'
|
458
|
+
hash :labels, as: 'labels'
|
459
|
+
property :name, as: 'name'
|
460
|
+
property :state, as: 'state'
|
461
|
+
property :update_policy, as: 'updatePolicy', class: Google::Apis::FileV1beta1::UpdatePolicy, decorator: Google::Apis::FileV1beta1::UpdatePolicy::Representation
|
462
|
+
|
463
|
+
property :update_time, as: 'updateTime'
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
class MaintenanceWindow
|
468
|
+
# @private
|
469
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
470
|
+
property :daily_cycle, as: 'dailyCycle', class: Google::Apis::FileV1beta1::DailyCycle, decorator: Google::Apis::FileV1beta1::DailyCycle::Representation
|
471
|
+
|
472
|
+
property :weekly_cycle, as: 'weeklyCycle', class: Google::Apis::FileV1beta1::WeeklyCycle, decorator: Google::Apis::FileV1beta1::WeeklyCycle::Representation
|
473
|
+
|
474
|
+
end
|
475
|
+
end
|
476
|
+
|
367
477
|
class NetworkConfig
|
368
478
|
# @private
|
369
479
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -419,6 +529,16 @@ module Google
|
|
419
529
|
end
|
420
530
|
end
|
421
531
|
|
532
|
+
class Schedule
|
533
|
+
# @private
|
534
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
535
|
+
property :day, as: 'day'
|
536
|
+
property :duration, as: 'duration'
|
537
|
+
property :start_time, as: 'startTime', class: Google::Apis::FileV1beta1::TimeOfDay, decorator: Google::Apis::FileV1beta1::TimeOfDay::Representation
|
538
|
+
|
539
|
+
end
|
540
|
+
end
|
541
|
+
|
422
542
|
class Status
|
423
543
|
# @private
|
424
544
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -427,6 +547,35 @@ module Google
|
|
427
547
|
property :message, as: 'message'
|
428
548
|
end
|
429
549
|
end
|
550
|
+
|
551
|
+
class TimeOfDay
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
property :hours, as: 'hours'
|
555
|
+
property :minutes, as: 'minutes'
|
556
|
+
property :nanos, as: 'nanos'
|
557
|
+
property :seconds, as: 'seconds'
|
558
|
+
end
|
559
|
+
end
|
560
|
+
|
561
|
+
class UpdatePolicy
|
562
|
+
# @private
|
563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
564
|
+
property :channel, as: 'channel'
|
565
|
+
collection :deny_maintenance_periods, as: 'denyMaintenancePeriods', class: Google::Apis::FileV1beta1::DenyMaintenancePeriod, decorator: Google::Apis::FileV1beta1::DenyMaintenancePeriod::Representation
|
566
|
+
|
567
|
+
property :window, as: 'window', class: Google::Apis::FileV1beta1::MaintenanceWindow, decorator: Google::Apis::FileV1beta1::MaintenanceWindow::Representation
|
568
|
+
|
569
|
+
end
|
570
|
+
end
|
571
|
+
|
572
|
+
class WeeklyCycle
|
573
|
+
# @private
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
575
|
+
collection :schedule, as: 'schedule', class: Google::Apis::FileV1beta1::Schedule, decorator: Google::Apis::FileV1beta1::Schedule::Representation
|
576
|
+
|
577
|
+
end
|
578
|
+
end
|
430
579
|
end
|
431
580
|
end
|
432
581
|
end
|