google-api-client 0.43.0 → 0.45.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +462 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +53 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
- data/generated/google/apis/admin_directory_v1/service.rb +535 -998
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2135 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigateway_v1alpha1.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/apigateway_v1alpha2.rb +34 -0
- data/generated/google/apis/apigateway_v1alpha2/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha2/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha2/service.rb +623 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +432 -82
- data/generated/google/apis/apigee_v1/representations.rb +139 -1
- data/generated/google/apis/apigee_v1/service.rb +158 -41
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +242 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +403 -553
- data/generated/google/apis/bigquery_v2/representations.rb +17 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +433 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +433 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +165 -116
- data/generated/google/apis/chat_v1/representations.rb +35 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +764 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +337 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +268 -66
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +943 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +841 -62
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1233 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +906 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +970 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1094 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +5 -2
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +107 -5
- data/generated/google/apis/content_v2_1/representations.rb +35 -0
- data/generated/google/apis/content_v2_1/service.rb +54 -3
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1162 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +145 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +60 -14
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +80 -10
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +199 -70
- data/generated/google/apis/dialogflow_v2/representations.rb +104 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +210 -78
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +104 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +500 -325
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8352 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3544 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +63 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +6 -0
- data/generated/google/apis/displayvideo_v1/service.rb +47 -35
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1102 -1302
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +7 -14
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +12 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +186 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +7 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +840 -854
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1833 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +474 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +2476 -1281
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +431 -556
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +230 -227
- data/generated/google/apis/logging_v2/representations.rb +47 -0
- data/generated/google/apis/logging_v2/service.rb +2056 -673
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +8 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +956 -1144
- data/generated/google/apis/ml_v1/representations.rb +65 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +232 -328
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +47 -45
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +228 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +4 -4
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +95 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +12 -135
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +379 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +30 -60
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +525 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +281 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1263 -2135
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -13
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -57
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3933 -5008
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +313 -0
- data/generated/google/apis/{accessapproval_v1beta1 → smartdevicemanagement_v1}/representations.rb +44 -73
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +312 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +469 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +122 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +194 -0
- data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +54 -0
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +54 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +71 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflows_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +437 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +0 -117
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +106 -40
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -124,6 +124,12 @@ module Google
|
|
124
124
|
include Google::Apis::Core::JsonObjectSupport
|
125
125
|
end
|
126
126
|
|
127
|
+
class ListViewsResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
127
133
|
class LogBucket
|
128
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
135
|
|
@@ -172,6 +178,12 @@ module Google
|
|
172
178
|
include Google::Apis::Core::JsonObjectSupport
|
173
179
|
end
|
174
180
|
|
181
|
+
class LogView
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
175
187
|
class MetricDescriptor
|
176
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
189
|
|
@@ -220,6 +232,12 @@ module Google
|
|
220
232
|
include Google::Apis::Core::JsonObjectSupport
|
221
233
|
end
|
222
234
|
|
235
|
+
class UndeleteBucketRequest
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
223
241
|
class WriteLogEntriesRequest
|
224
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
225
243
|
|
@@ -396,12 +414,22 @@ module Google
|
|
396
414
|
end
|
397
415
|
end
|
398
416
|
|
417
|
+
class ListViewsResponse
|
418
|
+
# @private
|
419
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
420
|
+
property :next_page_token, as: 'nextPageToken'
|
421
|
+
collection :views, as: 'views', class: Google::Apis::LoggingV2::LogView, decorator: Google::Apis::LoggingV2::LogView::Representation
|
422
|
+
|
423
|
+
end
|
424
|
+
end
|
425
|
+
|
399
426
|
class LogBucket
|
400
427
|
# @private
|
401
428
|
class Representation < Google::Apis::Core::JsonRepresentation
|
402
429
|
property :create_time, as: 'createTime'
|
403
430
|
property :description, as: 'description'
|
404
431
|
property :lifecycle_state, as: 'lifecycleState'
|
432
|
+
property :locked, as: 'locked'
|
405
433
|
property :name, as: 'name'
|
406
434
|
property :retention_days, as: 'retentionDays'
|
407
435
|
property :update_time, as: 'updateTime'
|
@@ -505,6 +533,8 @@ module Google
|
|
505
533
|
property :description, as: 'description'
|
506
534
|
property :destination, as: 'destination'
|
507
535
|
property :disabled, as: 'disabled'
|
536
|
+
collection :exclusions, as: 'exclusions', class: Google::Apis::LoggingV2::LogExclusion, decorator: Google::Apis::LoggingV2::LogExclusion::Representation
|
537
|
+
|
508
538
|
property :filter, as: 'filter'
|
509
539
|
property :include_children, as: 'includeChildren'
|
510
540
|
property :name, as: 'name'
|
@@ -514,6 +544,17 @@ module Google
|
|
514
544
|
end
|
515
545
|
end
|
516
546
|
|
547
|
+
class LogView
|
548
|
+
# @private
|
549
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
550
|
+
property :create_time, as: 'createTime'
|
551
|
+
property :description, as: 'description'
|
552
|
+
property :filter, as: 'filter'
|
553
|
+
property :name, as: 'name'
|
554
|
+
property :update_time, as: 'updateTime'
|
555
|
+
end
|
556
|
+
end
|
557
|
+
|
517
558
|
class MetricDescriptor
|
518
559
|
# @private
|
519
560
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -629,6 +670,12 @@ module Google
|
|
629
670
|
end
|
630
671
|
end
|
631
672
|
|
673
|
+
class UndeleteBucketRequest
|
674
|
+
# @private
|
675
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
676
|
+
end
|
677
|
+
end
|
678
|
+
|
632
679
|
class WriteLogEntriesRequest
|
633
680
|
# @private
|
634
681
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -52,13 +52,12 @@ module Google
|
|
52
52
|
|
53
53
|
# Gets a bucket (Beta).
|
54
54
|
# @param [String] name
|
55
|
-
# Required. The resource name of the bucket:
|
56
|
-
#
|
57
|
-
#
|
58
|
-
#
|
59
|
-
# BUCKET_ID]"
|
60
|
-
#
|
61
|
-
# Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id".
|
55
|
+
# Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[
|
56
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[
|
57
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/
|
58
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[
|
59
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-project-id/locations/
|
60
|
+
# my-location/buckets/my-bucket-id".
|
62
61
|
# @param [String] fields
|
63
62
|
# Selector specifying which fields to include in a partial response.
|
64
63
|
# @param [String] quota_user
|
@@ -86,16 +85,46 @@ module Google
|
|
86
85
|
execute_or_queue_command(command, &block)
|
87
86
|
end
|
88
87
|
|
88
|
+
# Gets a view.
|
89
|
+
# @param [String] name
|
90
|
+
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
|
91
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
|
92
|
+
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
|
93
|
+
# @param [String] fields
|
94
|
+
# Selector specifying which fields to include in a partial response.
|
95
|
+
# @param [String] quota_user
|
96
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
97
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
98
|
+
# @param [Google::Apis::RequestOptions] options
|
99
|
+
# Request-specific options
|
100
|
+
#
|
101
|
+
# @yield [result, err] Result & error if block supplied
|
102
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
103
|
+
# @yieldparam err [StandardError] error object if request failed
|
104
|
+
#
|
105
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
106
|
+
#
|
107
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
108
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
109
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
110
|
+
def get_billing_account_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
111
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
112
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
113
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
114
|
+
command.params['name'] = name unless name.nil?
|
115
|
+
command.query['fields'] = fields unless fields.nil?
|
116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
+
execute_or_queue_command(command, &block)
|
118
|
+
end
|
119
|
+
|
89
120
|
# Creates a new exclusion in a specified parent resource. Only log entries
|
90
121
|
# belonging to that resource can be excluded. You can have up to 10 exclusions
|
91
122
|
# in a resource.
|
92
123
|
# @param [String] parent
|
93
|
-
# Required. The parent resource in which to create the exclusion:
|
94
|
-
# "
|
95
|
-
# "
|
96
|
-
# "
|
97
|
-
# "folders/[FOLDER_ID]"
|
98
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
124
|
+
# Required. The parent resource in which to create the exclusion: "projects/[
|
125
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
126
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-
|
127
|
+
# project", "organizations/123456789".
|
99
128
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
100
129
|
# @param [String] fields
|
101
130
|
# Selector specifying which fields to include in a partial response.
|
@@ -128,12 +157,11 @@ module Google
|
|
128
157
|
|
129
158
|
# Deletes an exclusion.
|
130
159
|
# @param [String] name
|
131
|
-
# Required. The resource name of an existing exclusion to delete:
|
132
|
-
#
|
133
|
-
# "
|
134
|
-
# "
|
135
|
-
#
|
136
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
160
|
+
# Required. The resource name of an existing exclusion to delete: "projects/[
|
161
|
+
# PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/
|
162
|
+
# exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[
|
163
|
+
# EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "
|
164
|
+
# projects/my-project-id/exclusions/my-exclusion-id".
|
137
165
|
# @param [String] fields
|
138
166
|
# Selector specifying which fields to include in a partial response.
|
139
167
|
# @param [String] quota_user
|
@@ -163,12 +191,11 @@ module Google
|
|
163
191
|
|
164
192
|
# Gets the description of an exclusion.
|
165
193
|
# @param [String] name
|
166
|
-
# Required. The resource name of an existing exclusion:
|
167
|
-
# "
|
168
|
-
# "
|
169
|
-
# "
|
170
|
-
#
|
171
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
194
|
+
# Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/
|
195
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
196
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
197
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
198
|
+
# id/exclusions/my-exclusion-id".
|
172
199
|
# @param [String] fields
|
173
200
|
# Selector specifying which fields to include in a partial response.
|
174
201
|
# @param [String] quota_user
|
@@ -198,11 +225,9 @@ module Google
|
|
198
225
|
|
199
226
|
# Lists all the exclusions in a parent resource.
|
200
227
|
# @param [String] parent
|
201
|
-
# Required. The parent resource whose exclusions are to be listed.
|
202
|
-
# "
|
203
|
-
# "
|
204
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
205
|
-
# "folders/[FOLDER_ID]"
|
228
|
+
# Required. The parent resource whose exclusions are to be listed. "projects/[
|
229
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
230
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
206
231
|
# @param [Fixnum] page_size
|
207
232
|
# Optional. The maximum number of results to return from this request. Non-
|
208
233
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -243,12 +268,11 @@ module Google
|
|
243
268
|
|
244
269
|
# Changes one or more properties of an existing exclusion.
|
245
270
|
# @param [String] name
|
246
|
-
# Required. The resource name of the exclusion to update:
|
247
|
-
# "
|
248
|
-
# "
|
249
|
-
# "
|
250
|
-
#
|
251
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
271
|
+
# Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/
|
272
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
273
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
274
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
275
|
+
# id/exclusions/my-exclusion-id".
|
252
276
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
253
277
|
# @param [String] update_mask
|
254
278
|
# Required. A non-empty list of fields to change in the existing exclusion. New
|
@@ -287,15 +311,92 @@ module Google
|
|
287
311
|
execute_or_queue_command(command, &block)
|
288
312
|
end
|
289
313
|
|
314
|
+
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
315
|
+
# created, the region cannot be changed.
|
316
|
+
# @param [String] parent
|
317
|
+
# Required. The resource in which to create the bucket: "projects/[PROJECT_ID]/
|
318
|
+
# locations/[LOCATION_ID]" Example: "projects/my-logging-project/locations/
|
319
|
+
# global"
|
320
|
+
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
321
|
+
# @param [String] bucket_id
|
322
|
+
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
323
|
+
# limited to 100 characters and can include only letters, digits, underscores,
|
324
|
+
# hyphens, and periods.
|
325
|
+
# @param [String] fields
|
326
|
+
# Selector specifying which fields to include in a partial response.
|
327
|
+
# @param [String] quota_user
|
328
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
329
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
330
|
+
# @param [Google::Apis::RequestOptions] options
|
331
|
+
# Request-specific options
|
332
|
+
#
|
333
|
+
# @yield [result, err] Result & error if block supplied
|
334
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogBucket] parsed result object
|
335
|
+
# @yieldparam err [StandardError] error object if request failed
|
336
|
+
#
|
337
|
+
# @return [Google::Apis::LoggingV2::LogBucket]
|
338
|
+
#
|
339
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
340
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
341
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
342
|
+
def create_billing_account_location_bucket(parent, log_bucket_object = nil, bucket_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
343
|
+
command = make_simple_command(:post, 'v2/{+parent}/buckets', options)
|
344
|
+
command.request_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
345
|
+
command.request_object = log_bucket_object
|
346
|
+
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
347
|
+
command.response_class = Google::Apis::LoggingV2::LogBucket
|
348
|
+
command.params['parent'] = parent unless parent.nil?
|
349
|
+
command.query['bucketId'] = bucket_id unless bucket_id.nil?
|
350
|
+
command.query['fields'] = fields unless fields.nil?
|
351
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
352
|
+
execute_or_queue_command(command, &block)
|
353
|
+
end
|
354
|
+
|
355
|
+
# Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days,
|
356
|
+
# the bucket will be purged and all logs in the bucket will be permanently
|
357
|
+
# deleted.
|
358
|
+
# @param [String] name
|
359
|
+
# Required. The full resource name of the bucket to delete. "projects/[
|
360
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
361
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
362
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
363
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
364
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
365
|
+
# @param [String] fields
|
366
|
+
# Selector specifying which fields to include in a partial response.
|
367
|
+
# @param [String] quota_user
|
368
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
369
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
370
|
+
# @param [Google::Apis::RequestOptions] options
|
371
|
+
# Request-specific options
|
372
|
+
#
|
373
|
+
# @yield [result, err] Result & error if block supplied
|
374
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
375
|
+
# @yieldparam err [StandardError] error object if request failed
|
376
|
+
#
|
377
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
378
|
+
#
|
379
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
380
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
381
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
382
|
+
def delete_billing_account_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
383
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
384
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
385
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
386
|
+
command.params['name'] = name unless name.nil?
|
387
|
+
command.query['fields'] = fields unless fields.nil?
|
388
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
389
|
+
execute_or_queue_command(command, &block)
|
390
|
+
end
|
391
|
+
|
290
392
|
# Lists buckets (Beta).
|
291
393
|
# @param [String] parent
|
292
|
-
# Required. The parent resource whose buckets are to be listed:
|
293
|
-
#
|
294
|
-
# "
|
295
|
-
# "
|
296
|
-
#
|
297
|
-
#
|
298
|
-
# the character - in place of LOCATION_ID will return all buckets.
|
394
|
+
# Required. The parent resource whose buckets are to be listed: "projects/[
|
395
|
+
# PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/
|
396
|
+
# locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
|
397
|
+
# LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The
|
398
|
+
# locations portion of the resource must be specified, but supplying the
|
399
|
+
# character - in place of LOCATION_ID will return all buckets.
|
299
400
|
# @param [Fixnum] page_size
|
300
401
|
# Optional. The maximum number of results to return from this request. Non-
|
301
402
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -341,15 +442,13 @@ module Google
|
|
341
442
|
# FAILED_PRECONDITION will be returned.A buckets region may not be modified
|
342
443
|
# after it is created. This method is in Beta.
|
343
444
|
# @param [String] name
|
344
|
-
# Required. The full resource name of the bucket to update.
|
345
|
-
#
|
346
|
-
#
|
347
|
-
#
|
348
|
-
# BUCKET_ID]"
|
349
|
-
#
|
350
|
-
#
|
351
|
-
# Also requires permission "resourcemanager.projects.updateLiens" to set the
|
352
|
-
# locked property
|
445
|
+
# Required. The full resource name of the bucket to update. "projects/[
|
446
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
447
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
448
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
449
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
450
|
+
# project-id/locations/my-location/buckets/my-bucket-id". Also requires
|
451
|
+
# permission "resourcemanager.projects.updateLiens" to set the locked property
|
353
452
|
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
354
453
|
# @param [String] update_mask
|
355
454
|
# Required. Field mask that specifies the fields in bucket that need an update.
|
@@ -387,19 +486,214 @@ module Google
|
|
387
486
|
execute_or_queue_command(command, &block)
|
388
487
|
end
|
389
488
|
|
489
|
+
# Undeletes a bucket. A bucket that has been deleted may be undeleted within the
|
490
|
+
# grace period of 7 days.
|
491
|
+
# @param [String] name
|
492
|
+
# Required. The full resource name of the bucket to undelete. "projects/[
|
493
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
494
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
495
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
496
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
497
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
498
|
+
# @param [Google::Apis::LoggingV2::UndeleteBucketRequest] undelete_bucket_request_object
|
499
|
+
# @param [String] fields
|
500
|
+
# Selector specifying which fields to include in a partial response.
|
501
|
+
# @param [String] quota_user
|
502
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
503
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
504
|
+
# @param [Google::Apis::RequestOptions] options
|
505
|
+
# Request-specific options
|
506
|
+
#
|
507
|
+
# @yield [result, err] Result & error if block supplied
|
508
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
509
|
+
# @yieldparam err [StandardError] error object if request failed
|
510
|
+
#
|
511
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
512
|
+
#
|
513
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
514
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
515
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
516
|
+
def undelete_billing_account_location_bucket(name, undelete_bucket_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
517
|
+
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
|
518
|
+
command.request_representation = Google::Apis::LoggingV2::UndeleteBucketRequest::Representation
|
519
|
+
command.request_object = undelete_bucket_request_object
|
520
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
521
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
522
|
+
command.params['name'] = name unless name.nil?
|
523
|
+
command.query['fields'] = fields unless fields.nil?
|
524
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
525
|
+
execute_or_queue_command(command, &block)
|
526
|
+
end
|
527
|
+
|
528
|
+
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
|
529
|
+
# views.
|
530
|
+
# @param [String] parent
|
531
|
+
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
|
532
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
|
533
|
+
# project/locations/my-location/buckets/my-bucket"
|
534
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
535
|
+
# @param [String] view_id
|
536
|
+
# Required. The id to use for this view.
|
537
|
+
# @param [String] fields
|
538
|
+
# Selector specifying which fields to include in a partial response.
|
539
|
+
# @param [String] quota_user
|
540
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
541
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
542
|
+
# @param [Google::Apis::RequestOptions] options
|
543
|
+
# Request-specific options
|
544
|
+
#
|
545
|
+
# @yield [result, err] Result & error if block supplied
|
546
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
547
|
+
# @yieldparam err [StandardError] error object if request failed
|
548
|
+
#
|
549
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
550
|
+
#
|
551
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
552
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
553
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
554
|
+
def create_billing_account_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
555
|
+
command = make_simple_command(:post, 'v2/{+parent}/views', options)
|
556
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
557
|
+
command.request_object = log_view_object
|
558
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
559
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
560
|
+
command.params['parent'] = parent unless parent.nil?
|
561
|
+
command.query['viewId'] = view_id unless view_id.nil?
|
562
|
+
command.query['fields'] = fields unless fields.nil?
|
563
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
564
|
+
execute_or_queue_command(command, &block)
|
565
|
+
end
|
566
|
+
|
567
|
+
# Deletes a view from a bucket.
|
568
|
+
# @param [String] name
|
569
|
+
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
|
570
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
571
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
572
|
+
# view-id".
|
573
|
+
# @param [String] fields
|
574
|
+
# Selector specifying which fields to include in a partial response.
|
575
|
+
# @param [String] quota_user
|
576
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
577
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
578
|
+
# @param [Google::Apis::RequestOptions] options
|
579
|
+
# Request-specific options
|
580
|
+
#
|
581
|
+
# @yield [result, err] Result & error if block supplied
|
582
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
583
|
+
# @yieldparam err [StandardError] error object if request failed
|
584
|
+
#
|
585
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
586
|
+
#
|
587
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
588
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
589
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
590
|
+
def delete_billing_account_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
591
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
592
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
593
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
594
|
+
command.params['name'] = name unless name.nil?
|
595
|
+
command.query['fields'] = fields unless fields.nil?
|
596
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
597
|
+
execute_or_queue_command(command, &block)
|
598
|
+
end
|
599
|
+
|
600
|
+
# Lists views on a bucket..
|
601
|
+
# @param [String] parent
|
602
|
+
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
|
603
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
604
|
+
# @param [Fixnum] page_size
|
605
|
+
# Optional. The maximum number of results to return from this request. Non-
|
606
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
607
|
+
# indicates that more results might be available.
|
608
|
+
# @param [String] page_token
|
609
|
+
# Optional. If present, then retrieve the next batch of results from the
|
610
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
611
|
+
# from the previous response. The values of other method parameters should be
|
612
|
+
# identical to those in the previous call.
|
613
|
+
# @param [String] fields
|
614
|
+
# Selector specifying which fields to include in a partial response.
|
615
|
+
# @param [String] quota_user
|
616
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
617
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
618
|
+
# @param [Google::Apis::RequestOptions] options
|
619
|
+
# Request-specific options
|
620
|
+
#
|
621
|
+
# @yield [result, err] Result & error if block supplied
|
622
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
|
623
|
+
# @yieldparam err [StandardError] error object if request failed
|
624
|
+
#
|
625
|
+
# @return [Google::Apis::LoggingV2::ListViewsResponse]
|
626
|
+
#
|
627
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
628
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
629
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
630
|
+
def list_billing_account_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
631
|
+
command = make_simple_command(:get, 'v2/{+parent}/views', options)
|
632
|
+
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
|
633
|
+
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
|
634
|
+
command.params['parent'] = parent unless parent.nil?
|
635
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
636
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
637
|
+
command.query['fields'] = fields unless fields.nil?
|
638
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
639
|
+
execute_or_queue_command(command, &block)
|
640
|
+
end
|
641
|
+
|
642
|
+
# Updates a view. This method replaces the following fields in the existing view
|
643
|
+
# with values from the new view: filter.
|
644
|
+
# @param [String] name
|
645
|
+
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
646
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
647
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
648
|
+
# view-id".
|
649
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
650
|
+
# @param [String] update_mask
|
651
|
+
# Optional. Field mask that specifies the fields in view that need an update. A
|
652
|
+
# field will be overwritten if, and only if, it is in the update mask. name and
|
653
|
+
# output only fields cannot be updated.For a detailed FieldMask definition, see
|
654
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
655
|
+
# google.protobuf.FieldMaskExample: updateMask=filter.
|
656
|
+
# @param [String] fields
|
657
|
+
# Selector specifying which fields to include in a partial response.
|
658
|
+
# @param [String] quota_user
|
659
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
660
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
661
|
+
# @param [Google::Apis::RequestOptions] options
|
662
|
+
# Request-specific options
|
663
|
+
#
|
664
|
+
# @yield [result, err] Result & error if block supplied
|
665
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
666
|
+
# @yieldparam err [StandardError] error object if request failed
|
667
|
+
#
|
668
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
669
|
+
#
|
670
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
671
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
672
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
673
|
+
def patch_billing_account_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
674
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
675
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
676
|
+
command.request_object = log_view_object
|
677
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
678
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
679
|
+
command.params['name'] = name unless name.nil?
|
680
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
681
|
+
command.query['fields'] = fields unless fields.nil?
|
682
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
683
|
+
execute_or_queue_command(command, &block)
|
684
|
+
end
|
685
|
+
|
390
686
|
# Deletes all the log entries in a log. The log reappears if it receives new
|
391
687
|
# entries. Log entries written shortly before the delete operation might not be
|
392
688
|
# deleted. Entries received after the delete operation with a timestamp before
|
393
689
|
# the operation will be deleted.
|
394
690
|
# @param [String] log_name
|
395
|
-
# Required. The resource name of the log to delete:
|
396
|
-
# "
|
397
|
-
# "
|
398
|
-
# "
|
399
|
-
#
|
400
|
-
#
|
401
|
-
# , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
402
|
-
# 2Factivity". For more information about log names, see LogEntry.
|
691
|
+
# Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
|
692
|
+
# LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
|
693
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
|
694
|
+
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
695
|
+
# organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
|
696
|
+
# For more information about log names, see LogEntry.
|
403
697
|
# @param [String] fields
|
404
698
|
# Selector specifying which fields to include in a partial response.
|
405
699
|
# @param [String] quota_user
|
@@ -430,11 +724,9 @@ module Google
|
|
430
724
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
431
725
|
# logs that have entries are listed.
|
432
726
|
# @param [String] parent
|
433
|
-
# Required. The resource name that owns the logs:
|
434
|
-
# "
|
435
|
-
#
|
436
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
437
|
-
# "folders/[FOLDER_ID]"
|
727
|
+
# Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
|
728
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
729
|
+
# folders/[FOLDER_ID]"
|
438
730
|
# @param [Fixnum] page_size
|
439
731
|
# Optional. The maximum number of results to return from this request. Non-
|
440
732
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -478,12 +770,10 @@ module Google
|
|
478
770
|
# writer_identity is not permitted to write to the destination. A sink can
|
479
771
|
# export log entries only from the resource owning the sink.
|
480
772
|
# @param [String] parent
|
481
|
-
# Required. The resource in which to create the sink:
|
482
|
-
# "
|
483
|
-
#
|
484
|
-
# "
|
485
|
-
# "folders/[FOLDER_ID]"
|
486
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
773
|
+
# Required. The resource in which to create the sink: "projects/[PROJECT_ID]" "
|
774
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
775
|
+
# folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/
|
776
|
+
# 123456789".
|
487
777
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
488
778
|
# @param [Boolean] unique_writer_identity
|
489
779
|
# Optional. Determines the kind of IAM identity returned as writer_identity in
|
@@ -529,11 +819,9 @@ module Google
|
|
529
819
|
# account is also deleted.
|
530
820
|
# @param [String] sink_name
|
531
821
|
# Required. The full resource name of the sink to delete, including the parent
|
532
|
-
# resource and the sink identifier:
|
533
|
-
#
|
534
|
-
# "
|
535
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
536
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
822
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
823
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
824
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
537
825
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
538
826
|
# @param [String] fields
|
539
827
|
# Selector specifying which fields to include in a partial response.
|
@@ -564,11 +852,9 @@ module Google
|
|
564
852
|
|
565
853
|
# Gets a sink.
|
566
854
|
# @param [String] sink_name
|
567
|
-
# Required. The resource name of the sink:
|
568
|
-
# "
|
569
|
-
# "
|
570
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
571
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
855
|
+
# Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]
|
856
|
+
# " "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
857
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
572
858
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
573
859
|
# @param [String] fields
|
574
860
|
# Selector specifying which fields to include in a partial response.
|
@@ -599,11 +885,9 @@ module Google
|
|
599
885
|
|
600
886
|
# Lists sinks.
|
601
887
|
# @param [String] parent
|
602
|
-
# Required. The parent resource whose sinks are to be listed:
|
603
|
-
# "
|
604
|
-
# "
|
605
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
606
|
-
# "folders/[FOLDER_ID]"
|
888
|
+
# Required. The parent resource whose sinks are to be listed: "projects/[
|
889
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
890
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
607
891
|
# @param [Fixnum] page_size
|
608
892
|
# Optional. The maximum number of results to return from this request. Non-
|
609
893
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -647,23 +931,20 @@ module Google
|
|
647
931
|
# also have a new writer_identity; see the unique_writer_identity field.
|
648
932
|
# @param [String] sink_name
|
649
933
|
# Required. The full resource name of the sink to update, including the parent
|
650
|
-
# resource and the sink identifier:
|
651
|
-
#
|
652
|
-
# "
|
653
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
654
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
934
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
935
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
936
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
655
937
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
656
938
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
657
939
|
# @param [Boolean] unique_writer_identity
|
658
940
|
# Optional. See sinks.create for a description of this field. When updating a
|
659
941
|
# sink, the effect of this field on the value of writer_identity in the updated
|
660
|
-
# sink depends on both the old and new values of this field:
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
664
|
-
#
|
665
|
-
#
|
666
|
-
# defaulted to false.
|
942
|
+
# sink depends on both the old and new values of this field: If the old and new
|
943
|
+
# values of this field are both false or both true, then there is no change to
|
944
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
945
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
946
|
+
# error if the old value is true and the new value is set to false or defaulted
|
947
|
+
# to false.
|
667
948
|
# @param [String] update_mask
|
668
949
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
669
950
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -709,23 +990,20 @@ module Google
|
|
709
990
|
# also have a new writer_identity; see the unique_writer_identity field.
|
710
991
|
# @param [String] sink_name
|
711
992
|
# Required. The full resource name of the sink to update, including the parent
|
712
|
-
# resource and the sink identifier:
|
713
|
-
#
|
714
|
-
# "
|
715
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
716
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
993
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
994
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
995
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
717
996
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
718
997
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
719
998
|
# @param [Boolean] unique_writer_identity
|
720
999
|
# Optional. See sinks.create for a description of this field. When updating a
|
721
1000
|
# sink, the effect of this field on the value of writer_identity in the updated
|
722
|
-
# sink depends on both the old and new values of this field:
|
723
|
-
#
|
724
|
-
#
|
725
|
-
#
|
726
|
-
#
|
727
|
-
#
|
728
|
-
# defaulted to false.
|
1001
|
+
# sink depends on both the old and new values of this field: If the old and new
|
1002
|
+
# values of this field are both false or both true, then there is no change to
|
1003
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
1004
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
1005
|
+
# error if the old value is true and the new value is set to false or defaulted
|
1006
|
+
# to false.
|
729
1007
|
# @param [String] update_mask
|
730
1008
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
731
1009
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -836,12 +1114,10 @@ module Google
|
|
836
1114
|
# belonging to that resource can be excluded. You can have up to 10 exclusions
|
837
1115
|
# in a resource.
|
838
1116
|
# @param [String] parent
|
839
|
-
# Required. The parent resource in which to create the exclusion:
|
840
|
-
# "
|
841
|
-
# "
|
842
|
-
# "
|
843
|
-
# "folders/[FOLDER_ID]"
|
844
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
1117
|
+
# Required. The parent resource in which to create the exclusion: "projects/[
|
1118
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
1119
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-
|
1120
|
+
# project", "organizations/123456789".
|
845
1121
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
846
1122
|
# @param [String] fields
|
847
1123
|
# Selector specifying which fields to include in a partial response.
|
@@ -874,12 +1150,11 @@ module Google
|
|
874
1150
|
|
875
1151
|
# Deletes an exclusion.
|
876
1152
|
# @param [String] name
|
877
|
-
# Required. The resource name of an existing exclusion to delete:
|
878
|
-
#
|
879
|
-
# "
|
880
|
-
# "
|
881
|
-
#
|
882
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
1153
|
+
# Required. The resource name of an existing exclusion to delete: "projects/[
|
1154
|
+
# PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/
|
1155
|
+
# exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[
|
1156
|
+
# EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "
|
1157
|
+
# projects/my-project-id/exclusions/my-exclusion-id".
|
883
1158
|
# @param [String] fields
|
884
1159
|
# Selector specifying which fields to include in a partial response.
|
885
1160
|
# @param [String] quota_user
|
@@ -909,12 +1184,11 @@ module Google
|
|
909
1184
|
|
910
1185
|
# Gets the description of an exclusion.
|
911
1186
|
# @param [String] name
|
912
|
-
# Required. The resource name of an existing exclusion:
|
913
|
-
# "
|
914
|
-
# "
|
915
|
-
# "
|
916
|
-
#
|
917
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
1187
|
+
# Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/
|
1188
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
1189
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
1190
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
1191
|
+
# id/exclusions/my-exclusion-id".
|
918
1192
|
# @param [String] fields
|
919
1193
|
# Selector specifying which fields to include in a partial response.
|
920
1194
|
# @param [String] quota_user
|
@@ -944,11 +1218,9 @@ module Google
|
|
944
1218
|
|
945
1219
|
# Lists all the exclusions in a parent resource.
|
946
1220
|
# @param [String] parent
|
947
|
-
# Required. The parent resource whose exclusions are to be listed.
|
948
|
-
# "
|
949
|
-
# "
|
950
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
951
|
-
# "folders/[FOLDER_ID]"
|
1221
|
+
# Required. The parent resource whose exclusions are to be listed. "projects/[
|
1222
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
1223
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
952
1224
|
# @param [Fixnum] page_size
|
953
1225
|
# Optional. The maximum number of results to return from this request. Non-
|
954
1226
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -989,12 +1261,11 @@ module Google
|
|
989
1261
|
|
990
1262
|
# Changes one or more properties of an existing exclusion.
|
991
1263
|
# @param [String] name
|
992
|
-
# Required. The resource name of the exclusion to update:
|
993
|
-
# "
|
994
|
-
# "
|
995
|
-
# "
|
996
|
-
#
|
997
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
1264
|
+
# Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/
|
1265
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
1266
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
1267
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
1268
|
+
# id/exclusions/my-exclusion-id".
|
998
1269
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
999
1270
|
# @param [String] update_mask
|
1000
1271
|
# Required. A non-empty list of fields to change in the existing exclusion. New
|
@@ -1037,12 +1308,10 @@ module Google
|
|
1037
1308
|
# belonging to that resource can be excluded. You can have up to 10 exclusions
|
1038
1309
|
# in a resource.
|
1039
1310
|
# @param [String] parent
|
1040
|
-
# Required. The parent resource in which to create the exclusion:
|
1041
|
-
# "
|
1042
|
-
# "
|
1043
|
-
# "
|
1044
|
-
# "folders/[FOLDER_ID]"
|
1045
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
1311
|
+
# Required. The parent resource in which to create the exclusion: "projects/[
|
1312
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
1313
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-
|
1314
|
+
# project", "organizations/123456789".
|
1046
1315
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
1047
1316
|
# @param [String] fields
|
1048
1317
|
# Selector specifying which fields to include in a partial response.
|
@@ -1075,12 +1344,11 @@ module Google
|
|
1075
1344
|
|
1076
1345
|
# Deletes an exclusion.
|
1077
1346
|
# @param [String] name
|
1078
|
-
# Required. The resource name of an existing exclusion to delete:
|
1079
|
-
#
|
1080
|
-
# "
|
1081
|
-
# "
|
1082
|
-
#
|
1083
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
1347
|
+
# Required. The resource name of an existing exclusion to delete: "projects/[
|
1348
|
+
# PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/
|
1349
|
+
# exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[
|
1350
|
+
# EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "
|
1351
|
+
# projects/my-project-id/exclusions/my-exclusion-id".
|
1084
1352
|
# @param [String] fields
|
1085
1353
|
# Selector specifying which fields to include in a partial response.
|
1086
1354
|
# @param [String] quota_user
|
@@ -1110,12 +1378,11 @@ module Google
|
|
1110
1378
|
|
1111
1379
|
# Gets the description of an exclusion.
|
1112
1380
|
# @param [String] name
|
1113
|
-
# Required. The resource name of an existing exclusion:
|
1114
|
-
# "
|
1115
|
-
# "
|
1116
|
-
# "
|
1117
|
-
#
|
1118
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
1381
|
+
# Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/
|
1382
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
1383
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
1384
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
1385
|
+
# id/exclusions/my-exclusion-id".
|
1119
1386
|
# @param [String] fields
|
1120
1387
|
# Selector specifying which fields to include in a partial response.
|
1121
1388
|
# @param [String] quota_user
|
@@ -1145,11 +1412,9 @@ module Google
|
|
1145
1412
|
|
1146
1413
|
# Lists all the exclusions in a parent resource.
|
1147
1414
|
# @param [String] parent
|
1148
|
-
# Required. The parent resource whose exclusions are to be listed.
|
1149
|
-
# "
|
1150
|
-
# "
|
1151
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
1152
|
-
# "folders/[FOLDER_ID]"
|
1415
|
+
# Required. The parent resource whose exclusions are to be listed. "projects/[
|
1416
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
1417
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
1153
1418
|
# @param [Fixnum] page_size
|
1154
1419
|
# Optional. The maximum number of results to return from this request. Non-
|
1155
1420
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -1190,12 +1455,11 @@ module Google
|
|
1190
1455
|
|
1191
1456
|
# Changes one or more properties of an existing exclusion.
|
1192
1457
|
# @param [String] name
|
1193
|
-
# Required. The resource name of the exclusion to update:
|
1194
|
-
# "
|
1195
|
-
# "
|
1196
|
-
# "
|
1197
|
-
#
|
1198
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
1458
|
+
# Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/
|
1459
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
1460
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
1461
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
1462
|
+
# id/exclusions/my-exclusion-id".
|
1199
1463
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
1200
1464
|
# @param [String] update_mask
|
1201
1465
|
# Required. A non-empty list of fields to change in the existing exclusion. New
|
@@ -1234,15 +1498,17 @@ module Google
|
|
1234
1498
|
execute_or_queue_command(command, &block)
|
1235
1499
|
end
|
1236
1500
|
|
1237
|
-
#
|
1238
|
-
#
|
1239
|
-
#
|
1240
|
-
# "projects/[PROJECT_ID]/
|
1241
|
-
#
|
1242
|
-
# "
|
1243
|
-
#
|
1244
|
-
#
|
1245
|
-
#
|
1501
|
+
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
1502
|
+
# created, the region cannot be changed.
|
1503
|
+
# @param [String] parent
|
1504
|
+
# Required. The resource in which to create the bucket: "projects/[PROJECT_ID]/
|
1505
|
+
# locations/[LOCATION_ID]" Example: "projects/my-logging-project/locations/
|
1506
|
+
# global"
|
1507
|
+
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
1508
|
+
# @param [String] bucket_id
|
1509
|
+
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
1510
|
+
# limited to 100 characters and can include only letters, digits, underscores,
|
1511
|
+
# hyphens, and periods.
|
1246
1512
|
# @param [String] fields
|
1247
1513
|
# Selector specifying which fields to include in a partial response.
|
1248
1514
|
# @param [String] quota_user
|
@@ -1260,34 +1526,29 @@ module Google
|
|
1260
1526
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1261
1527
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1262
1528
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1263
|
-
def
|
1264
|
-
command = make_simple_command(:
|
1529
|
+
def create_folder_location_bucket(parent, log_bucket_object = nil, bucket_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1530
|
+
command = make_simple_command(:post, 'v2/{+parent}/buckets', options)
|
1531
|
+
command.request_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
1532
|
+
command.request_object = log_bucket_object
|
1265
1533
|
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
1266
1534
|
command.response_class = Google::Apis::LoggingV2::LogBucket
|
1267
|
-
command.params['
|
1535
|
+
command.params['parent'] = parent unless parent.nil?
|
1536
|
+
command.query['bucketId'] = bucket_id unless bucket_id.nil?
|
1268
1537
|
command.query['fields'] = fields unless fields.nil?
|
1269
1538
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1270
1539
|
execute_or_queue_command(command, &block)
|
1271
1540
|
end
|
1272
1541
|
|
1273
|
-
#
|
1274
|
-
#
|
1275
|
-
#
|
1276
|
-
#
|
1277
|
-
# "
|
1278
|
-
#
|
1279
|
-
#
|
1280
|
-
#
|
1281
|
-
#
|
1282
|
-
#
|
1283
|
-
# Optional. The maximum number of results to return from this request. Non-
|
1284
|
-
# positive values are ignored. The presence of nextPageToken in the response
|
1285
|
-
# indicates that more results might be available.
|
1286
|
-
# @param [String] page_token
|
1287
|
-
# Optional. If present, then retrieve the next batch of results from the
|
1288
|
-
# preceding call to this method. pageToken must be the value of nextPageToken
|
1289
|
-
# from the previous response. The values of other method parameters should be
|
1290
|
-
# identical to those in the previous call.
|
1542
|
+
# Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days,
|
1543
|
+
# the bucket will be purged and all logs in the bucket will be permanently
|
1544
|
+
# deleted.
|
1545
|
+
# @param [String] name
|
1546
|
+
# Required. The full resource name of the bucket to delete. "projects/[
|
1547
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
1548
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
1549
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
1550
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
1551
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
1291
1552
|
# @param [String] fields
|
1292
1553
|
# Selector specifying which fields to include in a partial response.
|
1293
1554
|
# @param [String] quota_user
|
@@ -1297,42 +1558,119 @@ module Google
|
|
1297
1558
|
# Request-specific options
|
1298
1559
|
#
|
1299
1560
|
# @yield [result, err] Result & error if block supplied
|
1300
|
-
# @yieldparam result [Google::Apis::LoggingV2::
|
1561
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
1301
1562
|
# @yieldparam err [StandardError] error object if request failed
|
1302
1563
|
#
|
1303
|
-
# @return [Google::Apis::LoggingV2::
|
1564
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
1304
1565
|
#
|
1305
1566
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1306
1567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1307
1568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1308
|
-
def
|
1309
|
-
command = make_simple_command(:
|
1310
|
-
command.response_representation = Google::Apis::LoggingV2::
|
1311
|
-
command.response_class = Google::Apis::LoggingV2::
|
1312
|
-
command.params['
|
1313
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1314
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1569
|
+
def delete_folder_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
1570
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
1571
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
1572
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
1573
|
+
command.params['name'] = name unless name.nil?
|
1315
1574
|
command.query['fields'] = fields unless fields.nil?
|
1316
1575
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1317
1576
|
execute_or_queue_command(command, &block)
|
1318
1577
|
end
|
1319
1578
|
|
1320
|
-
#
|
1321
|
-
# bucket with values from the new bucket: retention_periodIf the retention
|
1322
|
-
# period is decreased and the bucket is locked, FAILED_PRECONDITION will be
|
1323
|
-
# returned.If the bucket has a LifecycleState of DELETE_REQUESTED,
|
1324
|
-
# FAILED_PRECONDITION will be returned.A buckets region may not be modified
|
1325
|
-
# after it is created. This method is in Beta.
|
1579
|
+
# Gets a bucket (Beta).
|
1326
1580
|
# @param [String] name
|
1327
|
-
# Required. The
|
1328
|
-
#
|
1329
|
-
#
|
1330
|
-
#
|
1331
|
-
# BUCKET_ID]"
|
1332
|
-
#
|
1333
|
-
#
|
1334
|
-
#
|
1335
|
-
#
|
1581
|
+
# Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[
|
1582
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[
|
1583
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/
|
1584
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[
|
1585
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-project-id/locations/
|
1586
|
+
# my-location/buckets/my-bucket-id".
|
1587
|
+
# @param [String] fields
|
1588
|
+
# Selector specifying which fields to include in a partial response.
|
1589
|
+
# @param [String] quota_user
|
1590
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1591
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1592
|
+
# @param [Google::Apis::RequestOptions] options
|
1593
|
+
# Request-specific options
|
1594
|
+
#
|
1595
|
+
# @yield [result, err] Result & error if block supplied
|
1596
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogBucket] parsed result object
|
1597
|
+
# @yieldparam err [StandardError] error object if request failed
|
1598
|
+
#
|
1599
|
+
# @return [Google::Apis::LoggingV2::LogBucket]
|
1600
|
+
#
|
1601
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1602
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1603
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1604
|
+
def get_folder_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
1605
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
1606
|
+
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
1607
|
+
command.response_class = Google::Apis::LoggingV2::LogBucket
|
1608
|
+
command.params['name'] = name unless name.nil?
|
1609
|
+
command.query['fields'] = fields unless fields.nil?
|
1610
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1611
|
+
execute_or_queue_command(command, &block)
|
1612
|
+
end
|
1613
|
+
|
1614
|
+
# Lists buckets (Beta).
|
1615
|
+
# @param [String] parent
|
1616
|
+
# Required. The parent resource whose buckets are to be listed: "projects/[
|
1617
|
+
# PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/
|
1618
|
+
# locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
|
1619
|
+
# LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The
|
1620
|
+
# locations portion of the resource must be specified, but supplying the
|
1621
|
+
# character - in place of LOCATION_ID will return all buckets.
|
1622
|
+
# @param [Fixnum] page_size
|
1623
|
+
# Optional. The maximum number of results to return from this request. Non-
|
1624
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
1625
|
+
# indicates that more results might be available.
|
1626
|
+
# @param [String] page_token
|
1627
|
+
# Optional. If present, then retrieve the next batch of results from the
|
1628
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
1629
|
+
# from the previous response. The values of other method parameters should be
|
1630
|
+
# identical to those in the previous call.
|
1631
|
+
# @param [String] fields
|
1632
|
+
# Selector specifying which fields to include in a partial response.
|
1633
|
+
# @param [String] quota_user
|
1634
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1635
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1636
|
+
# @param [Google::Apis::RequestOptions] options
|
1637
|
+
# Request-specific options
|
1638
|
+
#
|
1639
|
+
# @yield [result, err] Result & error if block supplied
|
1640
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListBucketsResponse] parsed result object
|
1641
|
+
# @yieldparam err [StandardError] error object if request failed
|
1642
|
+
#
|
1643
|
+
# @return [Google::Apis::LoggingV2::ListBucketsResponse]
|
1644
|
+
#
|
1645
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1646
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1647
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1648
|
+
def list_folder_location_buckets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1649
|
+
command = make_simple_command(:get, 'v2/{+parent}/buckets', options)
|
1650
|
+
command.response_representation = Google::Apis::LoggingV2::ListBucketsResponse::Representation
|
1651
|
+
command.response_class = Google::Apis::LoggingV2::ListBucketsResponse
|
1652
|
+
command.params['parent'] = parent unless parent.nil?
|
1653
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1654
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1655
|
+
command.query['fields'] = fields unless fields.nil?
|
1656
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1657
|
+
execute_or_queue_command(command, &block)
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
# Updates a bucket. This method replaces the following fields in the existing
|
1661
|
+
# bucket with values from the new bucket: retention_periodIf the retention
|
1662
|
+
# period is decreased and the bucket is locked, FAILED_PRECONDITION will be
|
1663
|
+
# returned.If the bucket has a LifecycleState of DELETE_REQUESTED,
|
1664
|
+
# FAILED_PRECONDITION will be returned.A buckets region may not be modified
|
1665
|
+
# after it is created. This method is in Beta.
|
1666
|
+
# @param [String] name
|
1667
|
+
# Required. The full resource name of the bucket to update. "projects/[
|
1668
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
1669
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
1670
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
1671
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
1672
|
+
# project-id/locations/my-location/buckets/my-bucket-id". Also requires
|
1673
|
+
# permission "resourcemanager.projects.updateLiens" to set the locked property
|
1336
1674
|
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
1337
1675
|
# @param [String] update_mask
|
1338
1676
|
# Required. Field mask that specifies the fields in bucket that need an update.
|
@@ -1370,19 +1708,246 @@ module Google
|
|
1370
1708
|
execute_or_queue_command(command, &block)
|
1371
1709
|
end
|
1372
1710
|
|
1711
|
+
# Undeletes a bucket. A bucket that has been deleted may be undeleted within the
|
1712
|
+
# grace period of 7 days.
|
1713
|
+
# @param [String] name
|
1714
|
+
# Required. The full resource name of the bucket to undelete. "projects/[
|
1715
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
1716
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
1717
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
1718
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
1719
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
1720
|
+
# @param [Google::Apis::LoggingV2::UndeleteBucketRequest] undelete_bucket_request_object
|
1721
|
+
# @param [String] fields
|
1722
|
+
# Selector specifying which fields to include in a partial response.
|
1723
|
+
# @param [String] quota_user
|
1724
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1725
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1726
|
+
# @param [Google::Apis::RequestOptions] options
|
1727
|
+
# Request-specific options
|
1728
|
+
#
|
1729
|
+
# @yield [result, err] Result & error if block supplied
|
1730
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
1731
|
+
# @yieldparam err [StandardError] error object if request failed
|
1732
|
+
#
|
1733
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
1734
|
+
#
|
1735
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1736
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1737
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1738
|
+
def undelete_folder_location_bucket(name, undelete_bucket_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1739
|
+
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
|
1740
|
+
command.request_representation = Google::Apis::LoggingV2::UndeleteBucketRequest::Representation
|
1741
|
+
command.request_object = undelete_bucket_request_object
|
1742
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
1743
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
1744
|
+
command.params['name'] = name unless name.nil?
|
1745
|
+
command.query['fields'] = fields unless fields.nil?
|
1746
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1747
|
+
execute_or_queue_command(command, &block)
|
1748
|
+
end
|
1749
|
+
|
1750
|
+
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
|
1751
|
+
# views.
|
1752
|
+
# @param [String] parent
|
1753
|
+
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
|
1754
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
|
1755
|
+
# project/locations/my-location/buckets/my-bucket"
|
1756
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
1757
|
+
# @param [String] view_id
|
1758
|
+
# Required. The id to use for this view.
|
1759
|
+
# @param [String] fields
|
1760
|
+
# Selector specifying which fields to include in a partial response.
|
1761
|
+
# @param [String] quota_user
|
1762
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1763
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1764
|
+
# @param [Google::Apis::RequestOptions] options
|
1765
|
+
# Request-specific options
|
1766
|
+
#
|
1767
|
+
# @yield [result, err] Result & error if block supplied
|
1768
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
1769
|
+
# @yieldparam err [StandardError] error object if request failed
|
1770
|
+
#
|
1771
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
1772
|
+
#
|
1773
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1774
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1775
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1776
|
+
def create_folder_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1777
|
+
command = make_simple_command(:post, 'v2/{+parent}/views', options)
|
1778
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
1779
|
+
command.request_object = log_view_object
|
1780
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
1781
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
1782
|
+
command.params['parent'] = parent unless parent.nil?
|
1783
|
+
command.query['viewId'] = view_id unless view_id.nil?
|
1784
|
+
command.query['fields'] = fields unless fields.nil?
|
1785
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1786
|
+
execute_or_queue_command(command, &block)
|
1787
|
+
end
|
1788
|
+
|
1789
|
+
# Deletes a view from a bucket.
|
1790
|
+
# @param [String] name
|
1791
|
+
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
|
1792
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
1793
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
1794
|
+
# view-id".
|
1795
|
+
# @param [String] fields
|
1796
|
+
# Selector specifying which fields to include in a partial response.
|
1797
|
+
# @param [String] quota_user
|
1798
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1799
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1800
|
+
# @param [Google::Apis::RequestOptions] options
|
1801
|
+
# Request-specific options
|
1802
|
+
#
|
1803
|
+
# @yield [result, err] Result & error if block supplied
|
1804
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
1805
|
+
# @yieldparam err [StandardError] error object if request failed
|
1806
|
+
#
|
1807
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
1808
|
+
#
|
1809
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1810
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1811
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1812
|
+
def delete_folder_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
1813
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
1814
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
1815
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
1816
|
+
command.params['name'] = name unless name.nil?
|
1817
|
+
command.query['fields'] = fields unless fields.nil?
|
1818
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1819
|
+
execute_or_queue_command(command, &block)
|
1820
|
+
end
|
1821
|
+
|
1822
|
+
# Gets a view.
|
1823
|
+
# @param [String] name
|
1824
|
+
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
|
1825
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
|
1826
|
+
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
|
1827
|
+
# @param [String] fields
|
1828
|
+
# Selector specifying which fields to include in a partial response.
|
1829
|
+
# @param [String] quota_user
|
1830
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1831
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1832
|
+
# @param [Google::Apis::RequestOptions] options
|
1833
|
+
# Request-specific options
|
1834
|
+
#
|
1835
|
+
# @yield [result, err] Result & error if block supplied
|
1836
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
1837
|
+
# @yieldparam err [StandardError] error object if request failed
|
1838
|
+
#
|
1839
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
1840
|
+
#
|
1841
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1842
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1843
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1844
|
+
def get_folder_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
1845
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
1846
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
1847
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
1848
|
+
command.params['name'] = name unless name.nil?
|
1849
|
+
command.query['fields'] = fields unless fields.nil?
|
1850
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1851
|
+
execute_or_queue_command(command, &block)
|
1852
|
+
end
|
1853
|
+
|
1854
|
+
# Lists views on a bucket..
|
1855
|
+
# @param [String] parent
|
1856
|
+
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
|
1857
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
1858
|
+
# @param [Fixnum] page_size
|
1859
|
+
# Optional. The maximum number of results to return from this request. Non-
|
1860
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
1861
|
+
# indicates that more results might be available.
|
1862
|
+
# @param [String] page_token
|
1863
|
+
# Optional. If present, then retrieve the next batch of results from the
|
1864
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
1865
|
+
# from the previous response. The values of other method parameters should be
|
1866
|
+
# identical to those in the previous call.
|
1867
|
+
# @param [String] fields
|
1868
|
+
# Selector specifying which fields to include in a partial response.
|
1869
|
+
# @param [String] quota_user
|
1870
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1871
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1872
|
+
# @param [Google::Apis::RequestOptions] options
|
1873
|
+
# Request-specific options
|
1874
|
+
#
|
1875
|
+
# @yield [result, err] Result & error if block supplied
|
1876
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
|
1877
|
+
# @yieldparam err [StandardError] error object if request failed
|
1878
|
+
#
|
1879
|
+
# @return [Google::Apis::LoggingV2::ListViewsResponse]
|
1880
|
+
#
|
1881
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1882
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1883
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1884
|
+
def list_folder_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1885
|
+
command = make_simple_command(:get, 'v2/{+parent}/views', options)
|
1886
|
+
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
|
1887
|
+
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
|
1888
|
+
command.params['parent'] = parent unless parent.nil?
|
1889
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1890
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1891
|
+
command.query['fields'] = fields unless fields.nil?
|
1892
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1893
|
+
execute_or_queue_command(command, &block)
|
1894
|
+
end
|
1895
|
+
|
1896
|
+
# Updates a view. This method replaces the following fields in the existing view
|
1897
|
+
# with values from the new view: filter.
|
1898
|
+
# @param [String] name
|
1899
|
+
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
1900
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
1901
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
1902
|
+
# view-id".
|
1903
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
1904
|
+
# @param [String] update_mask
|
1905
|
+
# Optional. Field mask that specifies the fields in view that need an update. A
|
1906
|
+
# field will be overwritten if, and only if, it is in the update mask. name and
|
1907
|
+
# output only fields cannot be updated.For a detailed FieldMask definition, see
|
1908
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
1909
|
+
# google.protobuf.FieldMaskExample: updateMask=filter.
|
1910
|
+
# @param [String] fields
|
1911
|
+
# Selector specifying which fields to include in a partial response.
|
1912
|
+
# @param [String] quota_user
|
1913
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1914
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1915
|
+
# @param [Google::Apis::RequestOptions] options
|
1916
|
+
# Request-specific options
|
1917
|
+
#
|
1918
|
+
# @yield [result, err] Result & error if block supplied
|
1919
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
1920
|
+
# @yieldparam err [StandardError] error object if request failed
|
1921
|
+
#
|
1922
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
1923
|
+
#
|
1924
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1925
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1926
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1927
|
+
def patch_folder_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1928
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
1929
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
1930
|
+
command.request_object = log_view_object
|
1931
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
1932
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
1933
|
+
command.params['name'] = name unless name.nil?
|
1934
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1935
|
+
command.query['fields'] = fields unless fields.nil?
|
1936
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1937
|
+
execute_or_queue_command(command, &block)
|
1938
|
+
end
|
1939
|
+
|
1373
1940
|
# Deletes all the log entries in a log. The log reappears if it receives new
|
1374
1941
|
# entries. Log entries written shortly before the delete operation might not be
|
1375
1942
|
# deleted. Entries received after the delete operation with a timestamp before
|
1376
1943
|
# the operation will be deleted.
|
1377
1944
|
# @param [String] log_name
|
1378
|
-
# Required. The resource name of the log to delete:
|
1379
|
-
# "
|
1380
|
-
# "
|
1381
|
-
# "
|
1382
|
-
#
|
1383
|
-
#
|
1384
|
-
# , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
1385
|
-
# 2Factivity". For more information about log names, see LogEntry.
|
1945
|
+
# Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
|
1946
|
+
# LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
|
1947
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
|
1948
|
+
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
1949
|
+
# organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
|
1950
|
+
# For more information about log names, see LogEntry.
|
1386
1951
|
# @param [String] fields
|
1387
1952
|
# Selector specifying which fields to include in a partial response.
|
1388
1953
|
# @param [String] quota_user
|
@@ -1413,11 +1978,9 @@ module Google
|
|
1413
1978
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
1414
1979
|
# logs that have entries are listed.
|
1415
1980
|
# @param [String] parent
|
1416
|
-
# Required. The resource name that owns the logs:
|
1417
|
-
# "
|
1418
|
-
#
|
1419
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
1420
|
-
# "folders/[FOLDER_ID]"
|
1981
|
+
# Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
|
1982
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
1983
|
+
# folders/[FOLDER_ID]"
|
1421
1984
|
# @param [Fixnum] page_size
|
1422
1985
|
# Optional. The maximum number of results to return from this request. Non-
|
1423
1986
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -1461,12 +2024,10 @@ module Google
|
|
1461
2024
|
# writer_identity is not permitted to write to the destination. A sink can
|
1462
2025
|
# export log entries only from the resource owning the sink.
|
1463
2026
|
# @param [String] parent
|
1464
|
-
# Required. The resource in which to create the sink:
|
1465
|
-
# "
|
1466
|
-
#
|
1467
|
-
# "
|
1468
|
-
# "folders/[FOLDER_ID]"
|
1469
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
2027
|
+
# Required. The resource in which to create the sink: "projects/[PROJECT_ID]" "
|
2028
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
2029
|
+
# folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/
|
2030
|
+
# 123456789".
|
1470
2031
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
1471
2032
|
# @param [Boolean] unique_writer_identity
|
1472
2033
|
# Optional. Determines the kind of IAM identity returned as writer_identity in
|
@@ -1512,11 +2073,9 @@ module Google
|
|
1512
2073
|
# account is also deleted.
|
1513
2074
|
# @param [String] sink_name
|
1514
2075
|
# Required. The full resource name of the sink to delete, including the parent
|
1515
|
-
# resource and the sink identifier:
|
1516
|
-
#
|
1517
|
-
# "
|
1518
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
1519
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
2076
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
2077
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
2078
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
1520
2079
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
1521
2080
|
# @param [String] fields
|
1522
2081
|
# Selector specifying which fields to include in a partial response.
|
@@ -1547,11 +2106,9 @@ module Google
|
|
1547
2106
|
|
1548
2107
|
# Gets a sink.
|
1549
2108
|
# @param [String] sink_name
|
1550
|
-
# Required. The resource name of the sink:
|
1551
|
-
# "
|
1552
|
-
# "
|
1553
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
1554
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
2109
|
+
# Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]
|
2110
|
+
# " "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
2111
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
1555
2112
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
1556
2113
|
# @param [String] fields
|
1557
2114
|
# Selector specifying which fields to include in a partial response.
|
@@ -1582,11 +2139,9 @@ module Google
|
|
1582
2139
|
|
1583
2140
|
# Lists sinks.
|
1584
2141
|
# @param [String] parent
|
1585
|
-
# Required. The parent resource whose sinks are to be listed:
|
1586
|
-
# "
|
1587
|
-
# "
|
1588
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
1589
|
-
# "folders/[FOLDER_ID]"
|
2142
|
+
# Required. The parent resource whose sinks are to be listed: "projects/[
|
2143
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
2144
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
1590
2145
|
# @param [Fixnum] page_size
|
1591
2146
|
# Optional. The maximum number of results to return from this request. Non-
|
1592
2147
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -1630,23 +2185,20 @@ module Google
|
|
1630
2185
|
# also have a new writer_identity; see the unique_writer_identity field.
|
1631
2186
|
# @param [String] sink_name
|
1632
2187
|
# Required. The full resource name of the sink to update, including the parent
|
1633
|
-
# resource and the sink identifier:
|
1634
|
-
#
|
1635
|
-
# "
|
1636
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
1637
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
2188
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
2189
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
2190
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
1638
2191
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
1639
2192
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
1640
2193
|
# @param [Boolean] unique_writer_identity
|
1641
2194
|
# Optional. See sinks.create for a description of this field. When updating a
|
1642
2195
|
# sink, the effect of this field on the value of writer_identity in the updated
|
1643
|
-
# sink depends on both the old and new values of this field:
|
1644
|
-
#
|
1645
|
-
#
|
1646
|
-
#
|
1647
|
-
#
|
1648
|
-
#
|
1649
|
-
# defaulted to false.
|
2196
|
+
# sink depends on both the old and new values of this field: If the old and new
|
2197
|
+
# values of this field are both false or both true, then there is no change to
|
2198
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
2199
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
2200
|
+
# error if the old value is true and the new value is set to false or defaulted
|
2201
|
+
# to false.
|
1650
2202
|
# @param [String] update_mask
|
1651
2203
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
1652
2204
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -1692,23 +2244,20 @@ module Google
|
|
1692
2244
|
# also have a new writer_identity; see the unique_writer_identity field.
|
1693
2245
|
# @param [String] sink_name
|
1694
2246
|
# Required. The full resource name of the sink to update, including the parent
|
1695
|
-
# resource and the sink identifier:
|
1696
|
-
#
|
1697
|
-
# "
|
1698
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
1699
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
2247
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
2248
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
2249
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
1700
2250
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
1701
2251
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
1702
2252
|
# @param [Boolean] unique_writer_identity
|
1703
2253
|
# Optional. See sinks.create for a description of this field. When updating a
|
1704
2254
|
# sink, the effect of this field on the value of writer_identity in the updated
|
1705
|
-
# sink depends on both the old and new values of this field:
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
#
|
1710
|
-
#
|
1711
|
-
# defaulted to false.
|
2255
|
+
# sink depends on both the old and new values of this field: If the old and new
|
2256
|
+
# values of this field are both false or both true, then there is no change to
|
2257
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
2258
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
2259
|
+
# error if the old value is true and the new value is set to false or defaulted
|
2260
|
+
# to false.
|
1712
2261
|
# @param [String] update_mask
|
1713
2262
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
1714
2263
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -1749,15 +2298,17 @@ module Google
|
|
1749
2298
|
execute_or_queue_command(command, &block)
|
1750
2299
|
end
|
1751
2300
|
|
1752
|
-
#
|
1753
|
-
#
|
1754
|
-
#
|
1755
|
-
# "projects/[PROJECT_ID]/
|
1756
|
-
#
|
1757
|
-
# "
|
1758
|
-
#
|
1759
|
-
#
|
1760
|
-
#
|
2301
|
+
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
2302
|
+
# created, the region cannot be changed.
|
2303
|
+
# @param [String] parent
|
2304
|
+
# Required. The resource in which to create the bucket: "projects/[PROJECT_ID]/
|
2305
|
+
# locations/[LOCATION_ID]" Example: "projects/my-logging-project/locations/
|
2306
|
+
# global"
|
2307
|
+
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
2308
|
+
# @param [String] bucket_id
|
2309
|
+
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
2310
|
+
# limited to 100 characters and can include only letters, digits, underscores,
|
2311
|
+
# hyphens, and periods.
|
1761
2312
|
# @param [String] fields
|
1762
2313
|
# Selector specifying which fields to include in a partial response.
|
1763
2314
|
# @param [String] quota_user
|
@@ -1775,34 +2326,29 @@ module Google
|
|
1775
2326
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1776
2327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1777
2328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1778
|
-
def
|
1779
|
-
command = make_simple_command(:
|
2329
|
+
def create_location_bucket(parent, log_bucket_object = nil, bucket_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2330
|
+
command = make_simple_command(:post, 'v2/{+parent}/buckets', options)
|
2331
|
+
command.request_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
2332
|
+
command.request_object = log_bucket_object
|
1780
2333
|
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
1781
2334
|
command.response_class = Google::Apis::LoggingV2::LogBucket
|
1782
|
-
command.params['
|
2335
|
+
command.params['parent'] = parent unless parent.nil?
|
2336
|
+
command.query['bucketId'] = bucket_id unless bucket_id.nil?
|
1783
2337
|
command.query['fields'] = fields unless fields.nil?
|
1784
2338
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1785
2339
|
execute_or_queue_command(command, &block)
|
1786
2340
|
end
|
1787
2341
|
|
1788
|
-
#
|
1789
|
-
#
|
1790
|
-
#
|
1791
|
-
#
|
1792
|
-
# "
|
1793
|
-
#
|
1794
|
-
#
|
1795
|
-
#
|
1796
|
-
#
|
1797
|
-
#
|
1798
|
-
# Optional. The maximum number of results to return from this request. Non-
|
1799
|
-
# positive values are ignored. The presence of nextPageToken in the response
|
1800
|
-
# indicates that more results might be available.
|
1801
|
-
# @param [String] page_token
|
1802
|
-
# Optional. If present, then retrieve the next batch of results from the
|
1803
|
-
# preceding call to this method. pageToken must be the value of nextPageToken
|
1804
|
-
# from the previous response. The values of other method parameters should be
|
1805
|
-
# identical to those in the previous call.
|
2342
|
+
# Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days,
|
2343
|
+
# the bucket will be purged and all logs in the bucket will be permanently
|
2344
|
+
# deleted.
|
2345
|
+
# @param [String] name
|
2346
|
+
# Required. The full resource name of the bucket to delete. "projects/[
|
2347
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
2348
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
2349
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
2350
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
2351
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
1806
2352
|
# @param [String] fields
|
1807
2353
|
# Selector specifying which fields to include in a partial response.
|
1808
2354
|
# @param [String] quota_user
|
@@ -1812,10 +2358,89 @@ module Google
|
|
1812
2358
|
# Request-specific options
|
1813
2359
|
#
|
1814
2360
|
# @yield [result, err] Result & error if block supplied
|
1815
|
-
# @yieldparam result [Google::Apis::LoggingV2::
|
2361
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
1816
2362
|
# @yieldparam err [StandardError] error object if request failed
|
1817
2363
|
#
|
1818
|
-
# @return [Google::Apis::LoggingV2::
|
2364
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
2365
|
+
#
|
2366
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2367
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2368
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2369
|
+
def delete_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
2370
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
2371
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
2372
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
2373
|
+
command.params['name'] = name unless name.nil?
|
2374
|
+
command.query['fields'] = fields unless fields.nil?
|
2375
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2376
|
+
execute_or_queue_command(command, &block)
|
2377
|
+
end
|
2378
|
+
|
2379
|
+
# Gets a bucket (Beta).
|
2380
|
+
# @param [String] name
|
2381
|
+
# Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[
|
2382
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[
|
2383
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/
|
2384
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[
|
2385
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-project-id/locations/
|
2386
|
+
# my-location/buckets/my-bucket-id".
|
2387
|
+
# @param [String] fields
|
2388
|
+
# Selector specifying which fields to include in a partial response.
|
2389
|
+
# @param [String] quota_user
|
2390
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2391
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2392
|
+
# @param [Google::Apis::RequestOptions] options
|
2393
|
+
# Request-specific options
|
2394
|
+
#
|
2395
|
+
# @yield [result, err] Result & error if block supplied
|
2396
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogBucket] parsed result object
|
2397
|
+
# @yieldparam err [StandardError] error object if request failed
|
2398
|
+
#
|
2399
|
+
# @return [Google::Apis::LoggingV2::LogBucket]
|
2400
|
+
#
|
2401
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2402
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2403
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2404
|
+
def get_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
2405
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
2406
|
+
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
2407
|
+
command.response_class = Google::Apis::LoggingV2::LogBucket
|
2408
|
+
command.params['name'] = name unless name.nil?
|
2409
|
+
command.query['fields'] = fields unless fields.nil?
|
2410
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2411
|
+
execute_or_queue_command(command, &block)
|
2412
|
+
end
|
2413
|
+
|
2414
|
+
# Lists buckets (Beta).
|
2415
|
+
# @param [String] parent
|
2416
|
+
# Required. The parent resource whose buckets are to be listed: "projects/[
|
2417
|
+
# PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/
|
2418
|
+
# locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
|
2419
|
+
# LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The
|
2420
|
+
# locations portion of the resource must be specified, but supplying the
|
2421
|
+
# character - in place of LOCATION_ID will return all buckets.
|
2422
|
+
# @param [Fixnum] page_size
|
2423
|
+
# Optional. The maximum number of results to return from this request. Non-
|
2424
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
2425
|
+
# indicates that more results might be available.
|
2426
|
+
# @param [String] page_token
|
2427
|
+
# Optional. If present, then retrieve the next batch of results from the
|
2428
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
2429
|
+
# from the previous response. The values of other method parameters should be
|
2430
|
+
# identical to those in the previous call.
|
2431
|
+
# @param [String] fields
|
2432
|
+
# Selector specifying which fields to include in a partial response.
|
2433
|
+
# @param [String] quota_user
|
2434
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2435
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2436
|
+
# @param [Google::Apis::RequestOptions] options
|
2437
|
+
# Request-specific options
|
2438
|
+
#
|
2439
|
+
# @yield [result, err] Result & error if block supplied
|
2440
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListBucketsResponse] parsed result object
|
2441
|
+
# @yieldparam err [StandardError] error object if request failed
|
2442
|
+
#
|
2443
|
+
# @return [Google::Apis::LoggingV2::ListBucketsResponse]
|
1819
2444
|
#
|
1820
2445
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1821
2446
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
@@ -1839,15 +2464,13 @@ module Google
|
|
1839
2464
|
# FAILED_PRECONDITION will be returned.A buckets region may not be modified
|
1840
2465
|
# after it is created. This method is in Beta.
|
1841
2466
|
# @param [String] name
|
1842
|
-
# Required. The full resource name of the bucket to update.
|
1843
|
-
#
|
1844
|
-
#
|
1845
|
-
#
|
1846
|
-
# BUCKET_ID]"
|
1847
|
-
#
|
1848
|
-
#
|
1849
|
-
# Also requires permission "resourcemanager.projects.updateLiens" to set the
|
1850
|
-
# locked property
|
2467
|
+
# Required. The full resource name of the bucket to update. "projects/[
|
2468
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
2469
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
2470
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
2471
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
2472
|
+
# project-id/locations/my-location/buckets/my-bucket-id". Also requires
|
2473
|
+
# permission "resourcemanager.projects.updateLiens" to set the locked property
|
1851
2474
|
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
1852
2475
|
# @param [String] update_mask
|
1853
2476
|
# Required. Field mask that specifies the fields in bucket that need an update.
|
@@ -1885,19 +2508,246 @@ module Google
|
|
1885
2508
|
execute_or_queue_command(command, &block)
|
1886
2509
|
end
|
1887
2510
|
|
2511
|
+
# Undeletes a bucket. A bucket that has been deleted may be undeleted within the
|
2512
|
+
# grace period of 7 days.
|
2513
|
+
# @param [String] name
|
2514
|
+
# Required. The full resource name of the bucket to undelete. "projects/[
|
2515
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
2516
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
2517
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
2518
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
2519
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
2520
|
+
# @param [Google::Apis::LoggingV2::UndeleteBucketRequest] undelete_bucket_request_object
|
2521
|
+
# @param [String] fields
|
2522
|
+
# Selector specifying which fields to include in a partial response.
|
2523
|
+
# @param [String] quota_user
|
2524
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2525
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2526
|
+
# @param [Google::Apis::RequestOptions] options
|
2527
|
+
# Request-specific options
|
2528
|
+
#
|
2529
|
+
# @yield [result, err] Result & error if block supplied
|
2530
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
2531
|
+
# @yieldparam err [StandardError] error object if request failed
|
2532
|
+
#
|
2533
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
2534
|
+
#
|
2535
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2536
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2537
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2538
|
+
def undelete_location_bucket(name, undelete_bucket_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2539
|
+
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
|
2540
|
+
command.request_representation = Google::Apis::LoggingV2::UndeleteBucketRequest::Representation
|
2541
|
+
command.request_object = undelete_bucket_request_object
|
2542
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
2543
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
2544
|
+
command.params['name'] = name unless name.nil?
|
2545
|
+
command.query['fields'] = fields unless fields.nil?
|
2546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2547
|
+
execute_or_queue_command(command, &block)
|
2548
|
+
end
|
2549
|
+
|
2550
|
+
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
|
2551
|
+
# views.
|
2552
|
+
# @param [String] parent
|
2553
|
+
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
|
2554
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
|
2555
|
+
# project/locations/my-location/buckets/my-bucket"
|
2556
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
2557
|
+
# @param [String] view_id
|
2558
|
+
# Required. The id to use for this view.
|
2559
|
+
# @param [String] fields
|
2560
|
+
# Selector specifying which fields to include in a partial response.
|
2561
|
+
# @param [String] quota_user
|
2562
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2563
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2564
|
+
# @param [Google::Apis::RequestOptions] options
|
2565
|
+
# Request-specific options
|
2566
|
+
#
|
2567
|
+
# @yield [result, err] Result & error if block supplied
|
2568
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
2569
|
+
# @yieldparam err [StandardError] error object if request failed
|
2570
|
+
#
|
2571
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
2572
|
+
#
|
2573
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2574
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2575
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2576
|
+
def create_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2577
|
+
command = make_simple_command(:post, 'v2/{+parent}/views', options)
|
2578
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
2579
|
+
command.request_object = log_view_object
|
2580
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
2581
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
2582
|
+
command.params['parent'] = parent unless parent.nil?
|
2583
|
+
command.query['viewId'] = view_id unless view_id.nil?
|
2584
|
+
command.query['fields'] = fields unless fields.nil?
|
2585
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2586
|
+
execute_or_queue_command(command, &block)
|
2587
|
+
end
|
2588
|
+
|
2589
|
+
# Deletes a view from a bucket.
|
2590
|
+
# @param [String] name
|
2591
|
+
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
|
2592
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
2593
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
2594
|
+
# view-id".
|
2595
|
+
# @param [String] fields
|
2596
|
+
# Selector specifying which fields to include in a partial response.
|
2597
|
+
# @param [String] quota_user
|
2598
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2599
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2600
|
+
# @param [Google::Apis::RequestOptions] options
|
2601
|
+
# Request-specific options
|
2602
|
+
#
|
2603
|
+
# @yield [result, err] Result & error if block supplied
|
2604
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
2605
|
+
# @yieldparam err [StandardError] error object if request failed
|
2606
|
+
#
|
2607
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
2608
|
+
#
|
2609
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2610
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2611
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2612
|
+
def delete_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
2613
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
2614
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
2615
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
2616
|
+
command.params['name'] = name unless name.nil?
|
2617
|
+
command.query['fields'] = fields unless fields.nil?
|
2618
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2619
|
+
execute_or_queue_command(command, &block)
|
2620
|
+
end
|
2621
|
+
|
2622
|
+
# Gets a view.
|
2623
|
+
# @param [String] name
|
2624
|
+
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
|
2625
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
|
2626
|
+
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
|
2627
|
+
# @param [String] fields
|
2628
|
+
# Selector specifying which fields to include in a partial response.
|
2629
|
+
# @param [String] quota_user
|
2630
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2631
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2632
|
+
# @param [Google::Apis::RequestOptions] options
|
2633
|
+
# Request-specific options
|
2634
|
+
#
|
2635
|
+
# @yield [result, err] Result & error if block supplied
|
2636
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
2637
|
+
# @yieldparam err [StandardError] error object if request failed
|
2638
|
+
#
|
2639
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
2640
|
+
#
|
2641
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2642
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2643
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2644
|
+
def get_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
2645
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
2646
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
2647
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
2648
|
+
command.params['name'] = name unless name.nil?
|
2649
|
+
command.query['fields'] = fields unless fields.nil?
|
2650
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2651
|
+
execute_or_queue_command(command, &block)
|
2652
|
+
end
|
2653
|
+
|
2654
|
+
# Lists views on a bucket..
|
2655
|
+
# @param [String] parent
|
2656
|
+
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
|
2657
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
2658
|
+
# @param [Fixnum] page_size
|
2659
|
+
# Optional. The maximum number of results to return from this request. Non-
|
2660
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
2661
|
+
# indicates that more results might be available.
|
2662
|
+
# @param [String] page_token
|
2663
|
+
# Optional. If present, then retrieve the next batch of results from the
|
2664
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
2665
|
+
# from the previous response. The values of other method parameters should be
|
2666
|
+
# identical to those in the previous call.
|
2667
|
+
# @param [String] fields
|
2668
|
+
# Selector specifying which fields to include in a partial response.
|
2669
|
+
# @param [String] quota_user
|
2670
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2671
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2672
|
+
# @param [Google::Apis::RequestOptions] options
|
2673
|
+
# Request-specific options
|
2674
|
+
#
|
2675
|
+
# @yield [result, err] Result & error if block supplied
|
2676
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
|
2677
|
+
# @yieldparam err [StandardError] error object if request failed
|
2678
|
+
#
|
2679
|
+
# @return [Google::Apis::LoggingV2::ListViewsResponse]
|
2680
|
+
#
|
2681
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2682
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2683
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2684
|
+
def list_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2685
|
+
command = make_simple_command(:get, 'v2/{+parent}/views', options)
|
2686
|
+
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
|
2687
|
+
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
|
2688
|
+
command.params['parent'] = parent unless parent.nil?
|
2689
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
2690
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
2691
|
+
command.query['fields'] = fields unless fields.nil?
|
2692
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2693
|
+
execute_or_queue_command(command, &block)
|
2694
|
+
end
|
2695
|
+
|
2696
|
+
# Updates a view. This method replaces the following fields in the existing view
|
2697
|
+
# with values from the new view: filter.
|
2698
|
+
# @param [String] name
|
2699
|
+
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
2700
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
2701
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
2702
|
+
# view-id".
|
2703
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
2704
|
+
# @param [String] update_mask
|
2705
|
+
# Optional. Field mask that specifies the fields in view that need an update. A
|
2706
|
+
# field will be overwritten if, and only if, it is in the update mask. name and
|
2707
|
+
# output only fields cannot be updated.For a detailed FieldMask definition, see
|
2708
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
2709
|
+
# google.protobuf.FieldMaskExample: updateMask=filter.
|
2710
|
+
# @param [String] fields
|
2711
|
+
# Selector specifying which fields to include in a partial response.
|
2712
|
+
# @param [String] quota_user
|
2713
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2714
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2715
|
+
# @param [Google::Apis::RequestOptions] options
|
2716
|
+
# Request-specific options
|
2717
|
+
#
|
2718
|
+
# @yield [result, err] Result & error if block supplied
|
2719
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
2720
|
+
# @yieldparam err [StandardError] error object if request failed
|
2721
|
+
#
|
2722
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
2723
|
+
#
|
2724
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2725
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2726
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2727
|
+
def patch_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2728
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
2729
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
2730
|
+
command.request_object = log_view_object
|
2731
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
2732
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
2733
|
+
command.params['name'] = name unless name.nil?
|
2734
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2735
|
+
command.query['fields'] = fields unless fields.nil?
|
2736
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2737
|
+
execute_or_queue_command(command, &block)
|
2738
|
+
end
|
2739
|
+
|
1888
2740
|
# Deletes all the log entries in a log. The log reappears if it receives new
|
1889
2741
|
# entries. Log entries written shortly before the delete operation might not be
|
1890
2742
|
# deleted. Entries received after the delete operation with a timestamp before
|
1891
2743
|
# the operation will be deleted.
|
1892
2744
|
# @param [String] log_name
|
1893
|
-
# Required. The resource name of the log to delete:
|
1894
|
-
# "
|
1895
|
-
# "
|
1896
|
-
# "
|
1897
|
-
#
|
1898
|
-
#
|
1899
|
-
# , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
1900
|
-
# 2Factivity". For more information about log names, see LogEntry.
|
2745
|
+
# Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
|
2746
|
+
# LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
|
2747
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
|
2748
|
+
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
2749
|
+
# organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
|
2750
|
+
# For more information about log names, see LogEntry.
|
1901
2751
|
# @param [String] fields
|
1902
2752
|
# Selector specifying which fields to include in a partial response.
|
1903
2753
|
# @param [String] quota_user
|
@@ -1928,11 +2778,9 @@ module Google
|
|
1928
2778
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
1929
2779
|
# logs that have entries are listed.
|
1930
2780
|
# @param [String] parent
|
1931
|
-
# Required. The resource name that owns the logs:
|
1932
|
-
# "
|
1933
|
-
#
|
1934
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
1935
|
-
# "folders/[FOLDER_ID]"
|
2781
|
+
# Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
|
2782
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
2783
|
+
# folders/[FOLDER_ID]"
|
1936
2784
|
# @param [Fixnum] page_size
|
1937
2785
|
# Optional. The maximum number of results to return from this request. Non-
|
1938
2786
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -2015,14 +2863,12 @@ module Google
|
|
2015
2863
|
# Enabling CMEK for Logs Router (https://cloud.google.com/logging/docs/routing/
|
2016
2864
|
# managed-encryption) for more information.
|
2017
2865
|
# @param [String] name
|
2018
|
-
# Required. The resource for which to retrieve CMEK settings.
|
2019
|
-
# "
|
2020
|
-
#
|
2021
|
-
# "
|
2022
|
-
#
|
2023
|
-
#
|
2024
|
-
# currently only be configured for GCP organizations. Once configured, it
|
2025
|
-
# applies to all projects and folders in the GCP organization.
|
2866
|
+
# Required. The resource for which to retrieve CMEK settings. "projects/[
|
2867
|
+
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
2868
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
|
2869
|
+
# cmekSettings" Example: "organizations/12345/cmekSettings".Note: CMEK for the
|
2870
|
+
# Logs Router can currently only be configured for GCP organizations. Once
|
2871
|
+
# configured, it applies to all projects and folders in the GCP organization.
|
2026
2872
|
# @param [String] fields
|
2027
2873
|
# Selector specifying which fields to include in a partial response.
|
2028
2874
|
# @param [String] quota_user
|
@@ -2059,14 +2905,12 @@ module Google
|
|
2059
2905
|
# is disabled.See Enabling CMEK for Logs Router (https://cloud.google.com/
|
2060
2906
|
# logging/docs/routing/managed-encryption) for more information.
|
2061
2907
|
# @param [String] name
|
2062
|
-
# Required. The resource name for the CMEK settings to update.
|
2063
|
-
# "
|
2064
|
-
#
|
2065
|
-
# "
|
2066
|
-
#
|
2067
|
-
#
|
2068
|
-
# currently only be configured for GCP organizations. Once configured, it
|
2069
|
-
# applies to all projects and folders in the GCP organization.
|
2908
|
+
# Required. The resource name for the CMEK settings to update. "projects/[
|
2909
|
+
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
2910
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
|
2911
|
+
# cmekSettings" Example: "organizations/12345/cmekSettings".Note: CMEK for the
|
2912
|
+
# Logs Router can currently only be configured for GCP organizations. Once
|
2913
|
+
# configured, it applies to all projects and folders in the GCP organization.
|
2070
2914
|
# @param [Google::Apis::LoggingV2::CmekSettings] cmek_settings_object
|
2071
2915
|
# @param [String] update_mask
|
2072
2916
|
# Optional. Field mask identifying which fields from cmek_settings should be
|
@@ -2107,12 +2951,10 @@ module Google
|
|
2107
2951
|
# belonging to that resource can be excluded. You can have up to 10 exclusions
|
2108
2952
|
# in a resource.
|
2109
2953
|
# @param [String] parent
|
2110
|
-
# Required. The parent resource in which to create the exclusion:
|
2111
|
-
# "
|
2112
|
-
# "
|
2113
|
-
# "
|
2114
|
-
# "folders/[FOLDER_ID]"
|
2115
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
2954
|
+
# Required. The parent resource in which to create the exclusion: "projects/[
|
2955
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
2956
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-
|
2957
|
+
# project", "organizations/123456789".
|
2116
2958
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
2117
2959
|
# @param [String] fields
|
2118
2960
|
# Selector specifying which fields to include in a partial response.
|
@@ -2145,12 +2987,11 @@ module Google
|
|
2145
2987
|
|
2146
2988
|
# Deletes an exclusion.
|
2147
2989
|
# @param [String] name
|
2148
|
-
# Required. The resource name of an existing exclusion to delete:
|
2149
|
-
#
|
2150
|
-
# "
|
2151
|
-
# "
|
2152
|
-
#
|
2153
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
2990
|
+
# Required. The resource name of an existing exclusion to delete: "projects/[
|
2991
|
+
# PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/
|
2992
|
+
# exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[
|
2993
|
+
# EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "
|
2994
|
+
# projects/my-project-id/exclusions/my-exclusion-id".
|
2154
2995
|
# @param [String] fields
|
2155
2996
|
# Selector specifying which fields to include in a partial response.
|
2156
2997
|
# @param [String] quota_user
|
@@ -2180,12 +3021,11 @@ module Google
|
|
2180
3021
|
|
2181
3022
|
# Gets the description of an exclusion.
|
2182
3023
|
# @param [String] name
|
2183
|
-
# Required. The resource name of an existing exclusion:
|
2184
|
-
# "
|
2185
|
-
# "
|
2186
|
-
# "
|
2187
|
-
#
|
2188
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
3024
|
+
# Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/
|
3025
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
3026
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
3027
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
3028
|
+
# id/exclusions/my-exclusion-id".
|
2189
3029
|
# @param [String] fields
|
2190
3030
|
# Selector specifying which fields to include in a partial response.
|
2191
3031
|
# @param [String] quota_user
|
@@ -2215,11 +3055,9 @@ module Google
|
|
2215
3055
|
|
2216
3056
|
# Lists all the exclusions in a parent resource.
|
2217
3057
|
# @param [String] parent
|
2218
|
-
# Required. The parent resource whose exclusions are to be listed.
|
2219
|
-
# "
|
2220
|
-
# "
|
2221
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
2222
|
-
# "folders/[FOLDER_ID]"
|
3058
|
+
# Required. The parent resource whose exclusions are to be listed. "projects/[
|
3059
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
3060
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
2223
3061
|
# @param [Fixnum] page_size
|
2224
3062
|
# Optional. The maximum number of results to return from this request. Non-
|
2225
3063
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -2260,12 +3098,11 @@ module Google
|
|
2260
3098
|
|
2261
3099
|
# Changes one or more properties of an existing exclusion.
|
2262
3100
|
# @param [String] name
|
2263
|
-
# Required. The resource name of the exclusion to update:
|
2264
|
-
# "
|
2265
|
-
# "
|
2266
|
-
# "
|
2267
|
-
#
|
2268
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
3101
|
+
# Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/
|
3102
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
3103
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
3104
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
3105
|
+
# id/exclusions/my-exclusion-id".
|
2269
3106
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
2270
3107
|
# @param [String] update_mask
|
2271
3108
|
# Required. A non-empty list of fields to change in the existing exclusion. New
|
@@ -2286,33 +3123,350 @@ module Google
|
|
2286
3123
|
# @yieldparam result [Google::Apis::LoggingV2::LogExclusion] parsed result object
|
2287
3124
|
# @yieldparam err [StandardError] error object if request failed
|
2288
3125
|
#
|
2289
|
-
# @return [Google::Apis::LoggingV2::LogExclusion]
|
3126
|
+
# @return [Google::Apis::LoggingV2::LogExclusion]
|
3127
|
+
#
|
3128
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3129
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3130
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3131
|
+
def patch_organization_exclusion(name, log_exclusion_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3132
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
3133
|
+
command.request_representation = Google::Apis::LoggingV2::LogExclusion::Representation
|
3134
|
+
command.request_object = log_exclusion_object
|
3135
|
+
command.response_representation = Google::Apis::LoggingV2::LogExclusion::Representation
|
3136
|
+
command.response_class = Google::Apis::LoggingV2::LogExclusion
|
3137
|
+
command.params['name'] = name unless name.nil?
|
3138
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3139
|
+
command.query['fields'] = fields unless fields.nil?
|
3140
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3141
|
+
execute_or_queue_command(command, &block)
|
3142
|
+
end
|
3143
|
+
|
3144
|
+
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
3145
|
+
# created, the region cannot be changed.
|
3146
|
+
# @param [String] parent
|
3147
|
+
# Required. The resource in which to create the bucket: "projects/[PROJECT_ID]/
|
3148
|
+
# locations/[LOCATION_ID]" Example: "projects/my-logging-project/locations/
|
3149
|
+
# global"
|
3150
|
+
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
3151
|
+
# @param [String] bucket_id
|
3152
|
+
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
3153
|
+
# limited to 100 characters and can include only letters, digits, underscores,
|
3154
|
+
# hyphens, and periods.
|
3155
|
+
# @param [String] fields
|
3156
|
+
# Selector specifying which fields to include in a partial response.
|
3157
|
+
# @param [String] quota_user
|
3158
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3159
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3160
|
+
# @param [Google::Apis::RequestOptions] options
|
3161
|
+
# Request-specific options
|
3162
|
+
#
|
3163
|
+
# @yield [result, err] Result & error if block supplied
|
3164
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogBucket] parsed result object
|
3165
|
+
# @yieldparam err [StandardError] error object if request failed
|
3166
|
+
#
|
3167
|
+
# @return [Google::Apis::LoggingV2::LogBucket]
|
3168
|
+
#
|
3169
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3170
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3171
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3172
|
+
def create_organization_location_bucket(parent, log_bucket_object = nil, bucket_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3173
|
+
command = make_simple_command(:post, 'v2/{+parent}/buckets', options)
|
3174
|
+
command.request_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
3175
|
+
command.request_object = log_bucket_object
|
3176
|
+
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
3177
|
+
command.response_class = Google::Apis::LoggingV2::LogBucket
|
3178
|
+
command.params['parent'] = parent unless parent.nil?
|
3179
|
+
command.query['bucketId'] = bucket_id unless bucket_id.nil?
|
3180
|
+
command.query['fields'] = fields unless fields.nil?
|
3181
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3182
|
+
execute_or_queue_command(command, &block)
|
3183
|
+
end
|
3184
|
+
|
3185
|
+
# Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days,
|
3186
|
+
# the bucket will be purged and all logs in the bucket will be permanently
|
3187
|
+
# deleted.
|
3188
|
+
# @param [String] name
|
3189
|
+
# Required. The full resource name of the bucket to delete. "projects/[
|
3190
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
3191
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
3192
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
3193
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
3194
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
3195
|
+
# @param [String] fields
|
3196
|
+
# Selector specifying which fields to include in a partial response.
|
3197
|
+
# @param [String] quota_user
|
3198
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3199
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3200
|
+
# @param [Google::Apis::RequestOptions] options
|
3201
|
+
# Request-specific options
|
3202
|
+
#
|
3203
|
+
# @yield [result, err] Result & error if block supplied
|
3204
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
3205
|
+
# @yieldparam err [StandardError] error object if request failed
|
3206
|
+
#
|
3207
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
3208
|
+
#
|
3209
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3210
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3211
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3212
|
+
def delete_organization_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
3213
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
3214
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
3215
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
3216
|
+
command.params['name'] = name unless name.nil?
|
3217
|
+
command.query['fields'] = fields unless fields.nil?
|
3218
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3219
|
+
execute_or_queue_command(command, &block)
|
3220
|
+
end
|
3221
|
+
|
3222
|
+
# Gets a bucket (Beta).
|
3223
|
+
# @param [String] name
|
3224
|
+
# Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[
|
3225
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[
|
3226
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/
|
3227
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[
|
3228
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-project-id/locations/
|
3229
|
+
# my-location/buckets/my-bucket-id".
|
3230
|
+
# @param [String] fields
|
3231
|
+
# Selector specifying which fields to include in a partial response.
|
3232
|
+
# @param [String] quota_user
|
3233
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3234
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3235
|
+
# @param [Google::Apis::RequestOptions] options
|
3236
|
+
# Request-specific options
|
3237
|
+
#
|
3238
|
+
# @yield [result, err] Result & error if block supplied
|
3239
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogBucket] parsed result object
|
3240
|
+
# @yieldparam err [StandardError] error object if request failed
|
3241
|
+
#
|
3242
|
+
# @return [Google::Apis::LoggingV2::LogBucket]
|
3243
|
+
#
|
3244
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3245
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3246
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3247
|
+
def get_organization_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
3248
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
3249
|
+
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
3250
|
+
command.response_class = Google::Apis::LoggingV2::LogBucket
|
3251
|
+
command.params['name'] = name unless name.nil?
|
3252
|
+
command.query['fields'] = fields unless fields.nil?
|
3253
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3254
|
+
execute_or_queue_command(command, &block)
|
3255
|
+
end
|
3256
|
+
|
3257
|
+
# Lists buckets (Beta).
|
3258
|
+
# @param [String] parent
|
3259
|
+
# Required. The parent resource whose buckets are to be listed: "projects/[
|
3260
|
+
# PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/
|
3261
|
+
# locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
|
3262
|
+
# LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The
|
3263
|
+
# locations portion of the resource must be specified, but supplying the
|
3264
|
+
# character - in place of LOCATION_ID will return all buckets.
|
3265
|
+
# @param [Fixnum] page_size
|
3266
|
+
# Optional. The maximum number of results to return from this request. Non-
|
3267
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
3268
|
+
# indicates that more results might be available.
|
3269
|
+
# @param [String] page_token
|
3270
|
+
# Optional. If present, then retrieve the next batch of results from the
|
3271
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
3272
|
+
# from the previous response. The values of other method parameters should be
|
3273
|
+
# identical to those in the previous call.
|
3274
|
+
# @param [String] fields
|
3275
|
+
# Selector specifying which fields to include in a partial response.
|
3276
|
+
# @param [String] quota_user
|
3277
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3278
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3279
|
+
# @param [Google::Apis::RequestOptions] options
|
3280
|
+
# Request-specific options
|
3281
|
+
#
|
3282
|
+
# @yield [result, err] Result & error if block supplied
|
3283
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListBucketsResponse] parsed result object
|
3284
|
+
# @yieldparam err [StandardError] error object if request failed
|
3285
|
+
#
|
3286
|
+
# @return [Google::Apis::LoggingV2::ListBucketsResponse]
|
3287
|
+
#
|
3288
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3289
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3290
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3291
|
+
def list_organization_location_buckets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3292
|
+
command = make_simple_command(:get, 'v2/{+parent}/buckets', options)
|
3293
|
+
command.response_representation = Google::Apis::LoggingV2::ListBucketsResponse::Representation
|
3294
|
+
command.response_class = Google::Apis::LoggingV2::ListBucketsResponse
|
3295
|
+
command.params['parent'] = parent unless parent.nil?
|
3296
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
3297
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
3298
|
+
command.query['fields'] = fields unless fields.nil?
|
3299
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3300
|
+
execute_or_queue_command(command, &block)
|
3301
|
+
end
|
3302
|
+
|
3303
|
+
# Updates a bucket. This method replaces the following fields in the existing
|
3304
|
+
# bucket with values from the new bucket: retention_periodIf the retention
|
3305
|
+
# period is decreased and the bucket is locked, FAILED_PRECONDITION will be
|
3306
|
+
# returned.If the bucket has a LifecycleState of DELETE_REQUESTED,
|
3307
|
+
# FAILED_PRECONDITION will be returned.A buckets region may not be modified
|
3308
|
+
# after it is created. This method is in Beta.
|
3309
|
+
# @param [String] name
|
3310
|
+
# Required. The full resource name of the bucket to update. "projects/[
|
3311
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
3312
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
3313
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
3314
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
3315
|
+
# project-id/locations/my-location/buckets/my-bucket-id". Also requires
|
3316
|
+
# permission "resourcemanager.projects.updateLiens" to set the locked property
|
3317
|
+
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
3318
|
+
# @param [String] update_mask
|
3319
|
+
# Required. Field mask that specifies the fields in bucket that need an update.
|
3320
|
+
# A bucket field will be overwritten if, and only if, it is in the update mask.
|
3321
|
+
# name and output only fields cannot be updated.For a detailed FieldMask
|
3322
|
+
# definition, see https://developers.google.com/protocol-buffers/docs/reference/
|
3323
|
+
# google.protobuf#google.protobuf.FieldMaskExample: updateMask=retention_days.
|
3324
|
+
# @param [String] fields
|
3325
|
+
# Selector specifying which fields to include in a partial response.
|
3326
|
+
# @param [String] quota_user
|
3327
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3328
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3329
|
+
# @param [Google::Apis::RequestOptions] options
|
3330
|
+
# Request-specific options
|
3331
|
+
#
|
3332
|
+
# @yield [result, err] Result & error if block supplied
|
3333
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogBucket] parsed result object
|
3334
|
+
# @yieldparam err [StandardError] error object if request failed
|
3335
|
+
#
|
3336
|
+
# @return [Google::Apis::LoggingV2::LogBucket]
|
3337
|
+
#
|
3338
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3339
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3340
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3341
|
+
def patch_organization_location_bucket(name, log_bucket_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3342
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
3343
|
+
command.request_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
3344
|
+
command.request_object = log_bucket_object
|
3345
|
+
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
3346
|
+
command.response_class = Google::Apis::LoggingV2::LogBucket
|
3347
|
+
command.params['name'] = name unless name.nil?
|
3348
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
3349
|
+
command.query['fields'] = fields unless fields.nil?
|
3350
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3351
|
+
execute_or_queue_command(command, &block)
|
3352
|
+
end
|
3353
|
+
|
3354
|
+
# Undeletes a bucket. A bucket that has been deleted may be undeleted within the
|
3355
|
+
# grace period of 7 days.
|
3356
|
+
# @param [String] name
|
3357
|
+
# Required. The full resource name of the bucket to undelete. "projects/[
|
3358
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
3359
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
3360
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
3361
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
3362
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
3363
|
+
# @param [Google::Apis::LoggingV2::UndeleteBucketRequest] undelete_bucket_request_object
|
3364
|
+
# @param [String] fields
|
3365
|
+
# Selector specifying which fields to include in a partial response.
|
3366
|
+
# @param [String] quota_user
|
3367
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3368
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3369
|
+
# @param [Google::Apis::RequestOptions] options
|
3370
|
+
# Request-specific options
|
3371
|
+
#
|
3372
|
+
# @yield [result, err] Result & error if block supplied
|
3373
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
3374
|
+
# @yieldparam err [StandardError] error object if request failed
|
3375
|
+
#
|
3376
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
3377
|
+
#
|
3378
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3379
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3380
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3381
|
+
def undelete_organization_location_bucket(name, undelete_bucket_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
3382
|
+
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
|
3383
|
+
command.request_representation = Google::Apis::LoggingV2::UndeleteBucketRequest::Representation
|
3384
|
+
command.request_object = undelete_bucket_request_object
|
3385
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
3386
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
3387
|
+
command.params['name'] = name unless name.nil?
|
3388
|
+
command.query['fields'] = fields unless fields.nil?
|
3389
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3390
|
+
execute_or_queue_command(command, &block)
|
3391
|
+
end
|
3392
|
+
|
3393
|
+
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
|
3394
|
+
# views.
|
3395
|
+
# @param [String] parent
|
3396
|
+
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
|
3397
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
|
3398
|
+
# project/locations/my-location/buckets/my-bucket"
|
3399
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
3400
|
+
# @param [String] view_id
|
3401
|
+
# Required. The id to use for this view.
|
3402
|
+
# @param [String] fields
|
3403
|
+
# Selector specifying which fields to include in a partial response.
|
3404
|
+
# @param [String] quota_user
|
3405
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3406
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3407
|
+
# @param [Google::Apis::RequestOptions] options
|
3408
|
+
# Request-specific options
|
3409
|
+
#
|
3410
|
+
# @yield [result, err] Result & error if block supplied
|
3411
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
3412
|
+
# @yieldparam err [StandardError] error object if request failed
|
3413
|
+
#
|
3414
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
3415
|
+
#
|
3416
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
3417
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
3418
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
3419
|
+
def create_organization_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3420
|
+
command = make_simple_command(:post, 'v2/{+parent}/views', options)
|
3421
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
3422
|
+
command.request_object = log_view_object
|
3423
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
3424
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
3425
|
+
command.params['parent'] = parent unless parent.nil?
|
3426
|
+
command.query['viewId'] = view_id unless view_id.nil?
|
3427
|
+
command.query['fields'] = fields unless fields.nil?
|
3428
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
3429
|
+
execute_or_queue_command(command, &block)
|
3430
|
+
end
|
3431
|
+
|
3432
|
+
# Deletes a view from a bucket.
|
3433
|
+
# @param [String] name
|
3434
|
+
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
|
3435
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
3436
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
3437
|
+
# view-id".
|
3438
|
+
# @param [String] fields
|
3439
|
+
# Selector specifying which fields to include in a partial response.
|
3440
|
+
# @param [String] quota_user
|
3441
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
3442
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
3443
|
+
# @param [Google::Apis::RequestOptions] options
|
3444
|
+
# Request-specific options
|
3445
|
+
#
|
3446
|
+
# @yield [result, err] Result & error if block supplied
|
3447
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
3448
|
+
# @yieldparam err [StandardError] error object if request failed
|
3449
|
+
#
|
3450
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
2290
3451
|
#
|
2291
3452
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2292
3453
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2293
3454
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2294
|
-
def
|
2295
|
-
command = make_simple_command(:
|
2296
|
-
command.
|
2297
|
-
command.
|
2298
|
-
command.response_representation = Google::Apis::LoggingV2::LogExclusion::Representation
|
2299
|
-
command.response_class = Google::Apis::LoggingV2::LogExclusion
|
3455
|
+
def delete_organization_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
3456
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
3457
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
3458
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
2300
3459
|
command.params['name'] = name unless name.nil?
|
2301
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2302
3460
|
command.query['fields'] = fields unless fields.nil?
|
2303
3461
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2304
3462
|
execute_or_queue_command(command, &block)
|
2305
3463
|
end
|
2306
3464
|
|
2307
|
-
# Gets a
|
3465
|
+
# Gets a view.
|
2308
3466
|
# @param [String] name
|
2309
|
-
# Required. The resource name of the
|
2310
|
-
#
|
2311
|
-
#
|
2312
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[
|
2313
|
-
# BUCKET_ID]"
|
2314
|
-
# "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
2315
|
-
# Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id".
|
3467
|
+
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
|
3468
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
|
3469
|
+
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
|
2316
3470
|
# @param [String] fields
|
2317
3471
|
# Selector specifying which fields to include in a partial response.
|
2318
3472
|
# @param [String] quota_user
|
@@ -2322,33 +3476,28 @@ module Google
|
|
2322
3476
|
# Request-specific options
|
2323
3477
|
#
|
2324
3478
|
# @yield [result, err] Result & error if block supplied
|
2325
|
-
# @yieldparam result [Google::Apis::LoggingV2::
|
3479
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
2326
3480
|
# @yieldparam err [StandardError] error object if request failed
|
2327
3481
|
#
|
2328
|
-
# @return [Google::Apis::LoggingV2::
|
3482
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
2329
3483
|
#
|
2330
3484
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2331
3485
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2332
3486
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2333
|
-
def
|
3487
|
+
def get_organization_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
2334
3488
|
command = make_simple_command(:get, 'v2/{+name}', options)
|
2335
|
-
command.response_representation = Google::Apis::LoggingV2::
|
2336
|
-
command.response_class = Google::Apis::LoggingV2::
|
3489
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
3490
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
2337
3491
|
command.params['name'] = name unless name.nil?
|
2338
3492
|
command.query['fields'] = fields unless fields.nil?
|
2339
3493
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2340
3494
|
execute_or_queue_command(command, &block)
|
2341
3495
|
end
|
2342
3496
|
|
2343
|
-
# Lists
|
3497
|
+
# Lists views on a bucket..
|
2344
3498
|
# @param [String] parent
|
2345
|
-
# Required. The
|
2346
|
-
#
|
2347
|
-
# "organizations/[ORGANIZATION_ID]/locations/[LOCATION_ID]"
|
2348
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]"
|
2349
|
-
# "folders/[FOLDER_ID]/locations/[LOCATION_ID]"
|
2350
|
-
# Note: The locations portion of the resource must be specified, but supplying
|
2351
|
-
# the character - in place of LOCATION_ID will return all buckets.
|
3499
|
+
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
|
3500
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
2352
3501
|
# @param [Fixnum] page_size
|
2353
3502
|
# Optional. The maximum number of results to return from this request. Non-
|
2354
3503
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -2367,18 +3516,18 @@ module Google
|
|
2367
3516
|
# Request-specific options
|
2368
3517
|
#
|
2369
3518
|
# @yield [result, err] Result & error if block supplied
|
2370
|
-
# @yieldparam result [Google::Apis::LoggingV2::
|
3519
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
|
2371
3520
|
# @yieldparam err [StandardError] error object if request failed
|
2372
3521
|
#
|
2373
|
-
# @return [Google::Apis::LoggingV2::
|
3522
|
+
# @return [Google::Apis::LoggingV2::ListViewsResponse]
|
2374
3523
|
#
|
2375
3524
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2376
3525
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2377
3526
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2378
|
-
def
|
2379
|
-
command = make_simple_command(:get, 'v2/{+parent}/
|
2380
|
-
command.response_representation = Google::Apis::LoggingV2::
|
2381
|
-
command.response_class = Google::Apis::LoggingV2::
|
3527
|
+
def list_organization_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
3528
|
+
command = make_simple_command(:get, 'v2/{+parent}/views', options)
|
3529
|
+
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
|
3530
|
+
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
|
2382
3531
|
command.params['parent'] = parent unless parent.nil?
|
2383
3532
|
command.query['pageSize'] = page_size unless page_size.nil?
|
2384
3533
|
command.query['pageToken'] = page_token unless page_token.nil?
|
@@ -2387,29 +3536,20 @@ module Google
|
|
2387
3536
|
execute_or_queue_command(command, &block)
|
2388
3537
|
end
|
2389
3538
|
|
2390
|
-
# Updates a
|
2391
|
-
#
|
2392
|
-
# period is decreased and the bucket is locked, FAILED_PRECONDITION will be
|
2393
|
-
# returned.If the bucket has a LifecycleState of DELETE_REQUESTED,
|
2394
|
-
# FAILED_PRECONDITION will be returned.A buckets region may not be modified
|
2395
|
-
# after it is created. This method is in Beta.
|
3539
|
+
# Updates a view. This method replaces the following fields in the existing view
|
3540
|
+
# with values from the new view: filter.
|
2396
3541
|
# @param [String] name
|
2397
|
-
# Required. The full resource name of the
|
2398
|
-
#
|
2399
|
-
#
|
2400
|
-
# "
|
2401
|
-
#
|
2402
|
-
# "folders/[FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
2403
|
-
# Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id".
|
2404
|
-
# Also requires permission "resourcemanager.projects.updateLiens" to set the
|
2405
|
-
# locked property
|
2406
|
-
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
3542
|
+
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
3543
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
3544
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
3545
|
+
# view-id".
|
3546
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
2407
3547
|
# @param [String] update_mask
|
2408
|
-
#
|
2409
|
-
#
|
2410
|
-
#
|
2411
|
-
#
|
2412
|
-
# google.protobuf
|
3548
|
+
# Optional. Field mask that specifies the fields in view that need an update. A
|
3549
|
+
# field will be overwritten if, and only if, it is in the update mask. name and
|
3550
|
+
# output only fields cannot be updated.For a detailed FieldMask definition, see
|
3551
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
3552
|
+
# google.protobuf.FieldMaskExample: updateMask=filter.
|
2413
3553
|
# @param [String] fields
|
2414
3554
|
# Selector specifying which fields to include in a partial response.
|
2415
3555
|
# @param [String] quota_user
|
@@ -2419,20 +3559,20 @@ module Google
|
|
2419
3559
|
# Request-specific options
|
2420
3560
|
#
|
2421
3561
|
# @yield [result, err] Result & error if block supplied
|
2422
|
-
# @yieldparam result [Google::Apis::LoggingV2::
|
3562
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
2423
3563
|
# @yieldparam err [StandardError] error object if request failed
|
2424
3564
|
#
|
2425
|
-
# @return [Google::Apis::LoggingV2::
|
3565
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
2426
3566
|
#
|
2427
3567
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2428
3568
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2429
3569
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2430
|
-
def
|
3570
|
+
def patch_organization_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2431
3571
|
command = make_simple_command(:patch, 'v2/{+name}', options)
|
2432
|
-
command.request_representation = Google::Apis::LoggingV2::
|
2433
|
-
command.request_object =
|
2434
|
-
command.response_representation = Google::Apis::LoggingV2::
|
2435
|
-
command.response_class = Google::Apis::LoggingV2::
|
3572
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
3573
|
+
command.request_object = log_view_object
|
3574
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
3575
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
2436
3576
|
command.params['name'] = name unless name.nil?
|
2437
3577
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
2438
3578
|
command.query['fields'] = fields unless fields.nil?
|
@@ -2445,14 +3585,12 @@ module Google
|
|
2445
3585
|
# deleted. Entries received after the delete operation with a timestamp before
|
2446
3586
|
# the operation will be deleted.
|
2447
3587
|
# @param [String] log_name
|
2448
|
-
# Required. The resource name of the log to delete:
|
2449
|
-
# "
|
2450
|
-
# "
|
2451
|
-
# "
|
2452
|
-
#
|
2453
|
-
#
|
2454
|
-
# , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
2455
|
-
# 2Factivity". For more information about log names, see LogEntry.
|
3588
|
+
# Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
|
3589
|
+
# LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
|
3590
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
|
3591
|
+
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
3592
|
+
# organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
|
3593
|
+
# For more information about log names, see LogEntry.
|
2456
3594
|
# @param [String] fields
|
2457
3595
|
# Selector specifying which fields to include in a partial response.
|
2458
3596
|
# @param [String] quota_user
|
@@ -2483,11 +3621,9 @@ module Google
|
|
2483
3621
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
2484
3622
|
# logs that have entries are listed.
|
2485
3623
|
# @param [String] parent
|
2486
|
-
# Required. The resource name that owns the logs:
|
2487
|
-
# "
|
2488
|
-
#
|
2489
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
2490
|
-
# "folders/[FOLDER_ID]"
|
3624
|
+
# Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
|
3625
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
3626
|
+
# folders/[FOLDER_ID]"
|
2491
3627
|
# @param [Fixnum] page_size
|
2492
3628
|
# Optional. The maximum number of results to return from this request. Non-
|
2493
3629
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -2531,12 +3667,10 @@ module Google
|
|
2531
3667
|
# writer_identity is not permitted to write to the destination. A sink can
|
2532
3668
|
# export log entries only from the resource owning the sink.
|
2533
3669
|
# @param [String] parent
|
2534
|
-
# Required. The resource in which to create the sink:
|
2535
|
-
# "
|
2536
|
-
#
|
2537
|
-
# "
|
2538
|
-
# "folders/[FOLDER_ID]"
|
2539
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
3670
|
+
# Required. The resource in which to create the sink: "projects/[PROJECT_ID]" "
|
3671
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
3672
|
+
# folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/
|
3673
|
+
# 123456789".
|
2540
3674
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
2541
3675
|
# @param [Boolean] unique_writer_identity
|
2542
3676
|
# Optional. Determines the kind of IAM identity returned as writer_identity in
|
@@ -2582,11 +3716,9 @@ module Google
|
|
2582
3716
|
# account is also deleted.
|
2583
3717
|
# @param [String] sink_name
|
2584
3718
|
# Required. The full resource name of the sink to delete, including the parent
|
2585
|
-
# resource and the sink identifier:
|
2586
|
-
#
|
2587
|
-
# "
|
2588
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
2589
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3719
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
3720
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
3721
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
2590
3722
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
2591
3723
|
# @param [String] fields
|
2592
3724
|
# Selector specifying which fields to include in a partial response.
|
@@ -2617,11 +3749,9 @@ module Google
|
|
2617
3749
|
|
2618
3750
|
# Gets a sink.
|
2619
3751
|
# @param [String] sink_name
|
2620
|
-
# Required. The resource name of the sink:
|
2621
|
-
# "
|
2622
|
-
# "
|
2623
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
2624
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3752
|
+
# Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]
|
3753
|
+
# " "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
3754
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
2625
3755
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
2626
3756
|
# @param [String] fields
|
2627
3757
|
# Selector specifying which fields to include in a partial response.
|
@@ -2652,11 +3782,9 @@ module Google
|
|
2652
3782
|
|
2653
3783
|
# Lists sinks.
|
2654
3784
|
# @param [String] parent
|
2655
|
-
# Required. The parent resource whose sinks are to be listed:
|
2656
|
-
# "
|
2657
|
-
# "
|
2658
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
2659
|
-
# "folders/[FOLDER_ID]"
|
3785
|
+
# Required. The parent resource whose sinks are to be listed: "projects/[
|
3786
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
3787
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
2660
3788
|
# @param [Fixnum] page_size
|
2661
3789
|
# Optional. The maximum number of results to return from this request. Non-
|
2662
3790
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -2700,23 +3828,20 @@ module Google
|
|
2700
3828
|
# also have a new writer_identity; see the unique_writer_identity field.
|
2701
3829
|
# @param [String] sink_name
|
2702
3830
|
# Required. The full resource name of the sink to update, including the parent
|
2703
|
-
# resource and the sink identifier:
|
2704
|
-
#
|
2705
|
-
# "
|
2706
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
2707
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3831
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
3832
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
3833
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
2708
3834
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
2709
3835
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
2710
3836
|
# @param [Boolean] unique_writer_identity
|
2711
3837
|
# Optional. See sinks.create for a description of this field. When updating a
|
2712
3838
|
# sink, the effect of this field on the value of writer_identity in the updated
|
2713
|
-
# sink depends on both the old and new values of this field:
|
2714
|
-
#
|
2715
|
-
#
|
2716
|
-
#
|
2717
|
-
#
|
2718
|
-
#
|
2719
|
-
# defaulted to false.
|
3839
|
+
# sink depends on both the old and new values of this field: If the old and new
|
3840
|
+
# values of this field are both false or both true, then there is no change to
|
3841
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
3842
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
3843
|
+
# error if the old value is true and the new value is set to false or defaulted
|
3844
|
+
# to false.
|
2720
3845
|
# @param [String] update_mask
|
2721
3846
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
2722
3847
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -2762,23 +3887,20 @@ module Google
|
|
2762
3887
|
# also have a new writer_identity; see the unique_writer_identity field.
|
2763
3888
|
# @param [String] sink_name
|
2764
3889
|
# Required. The full resource name of the sink to update, including the parent
|
2765
|
-
# resource and the sink identifier:
|
2766
|
-
#
|
2767
|
-
# "
|
2768
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
2769
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3890
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
3891
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
3892
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
2770
3893
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
2771
3894
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
2772
3895
|
# @param [Boolean] unique_writer_identity
|
2773
3896
|
# Optional. See sinks.create for a description of this field. When updating a
|
2774
3897
|
# sink, the effect of this field on the value of writer_identity in the updated
|
2775
|
-
# sink depends on both the old and new values of this field:
|
2776
|
-
#
|
2777
|
-
#
|
2778
|
-
#
|
2779
|
-
#
|
2780
|
-
#
|
2781
|
-
# defaulted to false.
|
3898
|
+
# sink depends on both the old and new values of this field: If the old and new
|
3899
|
+
# values of this field are both false or both true, then there is no change to
|
3900
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
3901
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
3902
|
+
# error if the old value is true and the new value is set to false or defaulted
|
3903
|
+
# to false.
|
2782
3904
|
# @param [String] update_mask
|
2783
3905
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
2784
3906
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -2823,12 +3945,10 @@ module Google
|
|
2823
3945
|
# belonging to that resource can be excluded. You can have up to 10 exclusions
|
2824
3946
|
# in a resource.
|
2825
3947
|
# @param [String] parent
|
2826
|
-
# Required. The parent resource in which to create the exclusion:
|
2827
|
-
# "
|
2828
|
-
# "
|
2829
|
-
# "
|
2830
|
-
# "folders/[FOLDER_ID]"
|
2831
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
3948
|
+
# Required. The parent resource in which to create the exclusion: "projects/[
|
3949
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
3950
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]" Examples: "projects/my-logging-
|
3951
|
+
# project", "organizations/123456789".
|
2832
3952
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
2833
3953
|
# @param [String] fields
|
2834
3954
|
# Selector specifying which fields to include in a partial response.
|
@@ -2861,12 +3981,11 @@ module Google
|
|
2861
3981
|
|
2862
3982
|
# Deletes an exclusion.
|
2863
3983
|
# @param [String] name
|
2864
|
-
# Required. The resource name of an existing exclusion to delete:
|
2865
|
-
#
|
2866
|
-
# "
|
2867
|
-
# "
|
2868
|
-
#
|
2869
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
3984
|
+
# Required. The resource name of an existing exclusion to delete: "projects/[
|
3985
|
+
# PROJECT_ID]/exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/
|
3986
|
+
# exclusions/[EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[
|
3987
|
+
# EXCLUSION_ID]" "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "
|
3988
|
+
# projects/my-project-id/exclusions/my-exclusion-id".
|
2870
3989
|
# @param [String] fields
|
2871
3990
|
# Selector specifying which fields to include in a partial response.
|
2872
3991
|
# @param [String] quota_user
|
@@ -2896,12 +4015,11 @@ module Google
|
|
2896
4015
|
|
2897
4016
|
# Gets the description of an exclusion.
|
2898
4017
|
# @param [String] name
|
2899
|
-
# Required. The resource name of an existing exclusion:
|
2900
|
-
# "
|
2901
|
-
# "
|
2902
|
-
# "
|
2903
|
-
#
|
2904
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
4018
|
+
# Required. The resource name of an existing exclusion: "projects/[PROJECT_ID]/
|
4019
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
4020
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
4021
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
4022
|
+
# id/exclusions/my-exclusion-id".
|
2905
4023
|
# @param [String] fields
|
2906
4024
|
# Selector specifying which fields to include in a partial response.
|
2907
4025
|
# @param [String] quota_user
|
@@ -2931,11 +4049,9 @@ module Google
|
|
2931
4049
|
|
2932
4050
|
# Lists all the exclusions in a parent resource.
|
2933
4051
|
# @param [String] parent
|
2934
|
-
# Required. The parent resource whose exclusions are to be listed.
|
2935
|
-
# "
|
2936
|
-
# "
|
2937
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
2938
|
-
# "folders/[FOLDER_ID]"
|
4052
|
+
# Required. The parent resource whose exclusions are to be listed. "projects/[
|
4053
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
4054
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
2939
4055
|
# @param [Fixnum] page_size
|
2940
4056
|
# Optional. The maximum number of results to return from this request. Non-
|
2941
4057
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -2976,12 +4092,11 @@ module Google
|
|
2976
4092
|
|
2977
4093
|
# Changes one or more properties of an existing exclusion.
|
2978
4094
|
# @param [String] name
|
2979
|
-
# Required. The resource name of the exclusion to update:
|
2980
|
-
# "
|
2981
|
-
# "
|
2982
|
-
# "
|
2983
|
-
#
|
2984
|
-
# Example: "projects/my-project-id/exclusions/my-exclusion-id".
|
4095
|
+
# Required. The resource name of the exclusion to update: "projects/[PROJECT_ID]/
|
4096
|
+
# exclusions/[EXCLUSION_ID]" "organizations/[ORGANIZATION_ID]/exclusions/[
|
4097
|
+
# EXCLUSION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/exclusions/[EXCLUSION_ID]"
|
4098
|
+
# "folders/[FOLDER_ID]/exclusions/[EXCLUSION_ID]" Example: "projects/my-project-
|
4099
|
+
# id/exclusions/my-exclusion-id".
|
2985
4100
|
# @param [Google::Apis::LoggingV2::LogExclusion] log_exclusion_object
|
2986
4101
|
# @param [String] update_mask
|
2987
4102
|
# Required. A non-empty list of fields to change in the existing exclusion. New
|
@@ -3020,15 +4135,92 @@ module Google
|
|
3020
4135
|
execute_or_queue_command(command, &block)
|
3021
4136
|
end
|
3022
4137
|
|
4138
|
+
# Creates a bucket that can be used to store log entries. Once a bucket has been
|
4139
|
+
# created, the region cannot be changed.
|
4140
|
+
# @param [String] parent
|
4141
|
+
# Required. The resource in which to create the bucket: "projects/[PROJECT_ID]/
|
4142
|
+
# locations/[LOCATION_ID]" Example: "projects/my-logging-project/locations/
|
4143
|
+
# global"
|
4144
|
+
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
4145
|
+
# @param [String] bucket_id
|
4146
|
+
# Required. A client-assigned identifier such as "my-bucket". Identifiers are
|
4147
|
+
# limited to 100 characters and can include only letters, digits, underscores,
|
4148
|
+
# hyphens, and periods.
|
4149
|
+
# @param [String] fields
|
4150
|
+
# Selector specifying which fields to include in a partial response.
|
4151
|
+
# @param [String] quota_user
|
4152
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4153
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4154
|
+
# @param [Google::Apis::RequestOptions] options
|
4155
|
+
# Request-specific options
|
4156
|
+
#
|
4157
|
+
# @yield [result, err] Result & error if block supplied
|
4158
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogBucket] parsed result object
|
4159
|
+
# @yieldparam err [StandardError] error object if request failed
|
4160
|
+
#
|
4161
|
+
# @return [Google::Apis::LoggingV2::LogBucket]
|
4162
|
+
#
|
4163
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4164
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4165
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4166
|
+
def create_project_location_bucket(parent, log_bucket_object = nil, bucket_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4167
|
+
command = make_simple_command(:post, 'v2/{+parent}/buckets', options)
|
4168
|
+
command.request_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
4169
|
+
command.request_object = log_bucket_object
|
4170
|
+
command.response_representation = Google::Apis::LoggingV2::LogBucket::Representation
|
4171
|
+
command.response_class = Google::Apis::LoggingV2::LogBucket
|
4172
|
+
command.params['parent'] = parent unless parent.nil?
|
4173
|
+
command.query['bucketId'] = bucket_id unless bucket_id.nil?
|
4174
|
+
command.query['fields'] = fields unless fields.nil?
|
4175
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4176
|
+
execute_or_queue_command(command, &block)
|
4177
|
+
end
|
4178
|
+
|
4179
|
+
# Deletes a bucket. Moves the bucket to the DELETE_REQUESTED state. After 7 days,
|
4180
|
+
# the bucket will be purged and all logs in the bucket will be permanently
|
4181
|
+
# deleted.
|
4182
|
+
# @param [String] name
|
4183
|
+
# Required. The full resource name of the bucket to delete. "projects/[
|
4184
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
4185
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
4186
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
4187
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
4188
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
4189
|
+
# @param [String] fields
|
4190
|
+
# Selector specifying which fields to include in a partial response.
|
4191
|
+
# @param [String] quota_user
|
4192
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4193
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4194
|
+
# @param [Google::Apis::RequestOptions] options
|
4195
|
+
# Request-specific options
|
4196
|
+
#
|
4197
|
+
# @yield [result, err] Result & error if block supplied
|
4198
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
4199
|
+
# @yieldparam err [StandardError] error object if request failed
|
4200
|
+
#
|
4201
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
4202
|
+
#
|
4203
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4204
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4205
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4206
|
+
def delete_project_location_bucket(name, fields: nil, quota_user: nil, options: nil, &block)
|
4207
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
4208
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
4209
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
4210
|
+
command.params['name'] = name unless name.nil?
|
4211
|
+
command.query['fields'] = fields unless fields.nil?
|
4212
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4213
|
+
execute_or_queue_command(command, &block)
|
4214
|
+
end
|
4215
|
+
|
3023
4216
|
# Gets a bucket (Beta).
|
3024
4217
|
# @param [String] name
|
3025
|
-
# Required. The resource name of the bucket:
|
3026
|
-
#
|
3027
|
-
#
|
3028
|
-
#
|
3029
|
-
# BUCKET_ID]"
|
3030
|
-
#
|
3031
|
-
# Example: "projects/my-project-id/locations/my-location/buckets/my-bucket-id".
|
4218
|
+
# Required. The resource name of the bucket: "projects/[PROJECT_ID]/locations/[
|
4219
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[ORGANIZATION_ID]/locations/[
|
4220
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/
|
4221
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[FOLDER_ID]/locations/[
|
4222
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-project-id/locations/
|
4223
|
+
# my-location/buckets/my-bucket-id".
|
3032
4224
|
# @param [String] fields
|
3033
4225
|
# Selector specifying which fields to include in a partial response.
|
3034
4226
|
# @param [String] quota_user
|
@@ -3058,13 +4250,12 @@ module Google
|
|
3058
4250
|
|
3059
4251
|
# Lists buckets (Beta).
|
3060
4252
|
# @param [String] parent
|
3061
|
-
# Required. The parent resource whose buckets are to be listed:
|
3062
|
-
#
|
3063
|
-
# "
|
3064
|
-
# "
|
3065
|
-
#
|
3066
|
-
#
|
3067
|
-
# the character - in place of LOCATION_ID will return all buckets.
|
4253
|
+
# Required. The parent resource whose buckets are to be listed: "projects/[
|
4254
|
+
# PROJECT_ID]/locations/[LOCATION_ID]" "organizations/[ORGANIZATION_ID]/
|
4255
|
+
# locations/[LOCATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]/locations/[
|
4256
|
+
# LOCATION_ID]" "folders/[FOLDER_ID]/locations/[LOCATION_ID]" Note: The
|
4257
|
+
# locations portion of the resource must be specified, but supplying the
|
4258
|
+
# character - in place of LOCATION_ID will return all buckets.
|
3068
4259
|
# @param [Fixnum] page_size
|
3069
4260
|
# Optional. The maximum number of results to return from this request. Non-
|
3070
4261
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3110,15 +4301,13 @@ module Google
|
|
3110
4301
|
# FAILED_PRECONDITION will be returned.A buckets region may not be modified
|
3111
4302
|
# after it is created. This method is in Beta.
|
3112
4303
|
# @param [String] name
|
3113
|
-
# Required. The full resource name of the bucket to update.
|
3114
|
-
#
|
3115
|
-
#
|
3116
|
-
#
|
3117
|
-
# BUCKET_ID]"
|
3118
|
-
#
|
3119
|
-
#
|
3120
|
-
# Also requires permission "resourcemanager.projects.updateLiens" to set the
|
3121
|
-
# locked property
|
4304
|
+
# Required. The full resource name of the bucket to update. "projects/[
|
4305
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
4306
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
4307
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
4308
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
4309
|
+
# project-id/locations/my-location/buckets/my-bucket-id". Also requires
|
4310
|
+
# permission "resourcemanager.projects.updateLiens" to set the locked property
|
3122
4311
|
# @param [Google::Apis::LoggingV2::LogBucket] log_bucket_object
|
3123
4312
|
# @param [String] update_mask
|
3124
4313
|
# Required. Field mask that specifies the fields in bucket that need an update.
|
@@ -3156,19 +4345,246 @@ module Google
|
|
3156
4345
|
execute_or_queue_command(command, &block)
|
3157
4346
|
end
|
3158
4347
|
|
4348
|
+
# Undeletes a bucket. A bucket that has been deleted may be undeleted within the
|
4349
|
+
# grace period of 7 days.
|
4350
|
+
# @param [String] name
|
4351
|
+
# Required. The full resource name of the bucket to undelete. "projects/[
|
4352
|
+
# PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "organizations/[
|
4353
|
+
# ORGANIZATION_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "billingAccounts/
|
4354
|
+
# [BILLING_ACCOUNT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" "folders/[
|
4355
|
+
# FOLDER_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-
|
4356
|
+
# project-id/locations/my-location/buckets/my-bucket-id".
|
4357
|
+
# @param [Google::Apis::LoggingV2::UndeleteBucketRequest] undelete_bucket_request_object
|
4358
|
+
# @param [String] fields
|
4359
|
+
# Selector specifying which fields to include in a partial response.
|
4360
|
+
# @param [String] quota_user
|
4361
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4362
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4363
|
+
# @param [Google::Apis::RequestOptions] options
|
4364
|
+
# Request-specific options
|
4365
|
+
#
|
4366
|
+
# @yield [result, err] Result & error if block supplied
|
4367
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
4368
|
+
# @yieldparam err [StandardError] error object if request failed
|
4369
|
+
#
|
4370
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
4371
|
+
#
|
4372
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4373
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4374
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4375
|
+
def undelete_project_location_bucket(name, undelete_bucket_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
4376
|
+
command = make_simple_command(:post, 'v2/{+name}:undelete', options)
|
4377
|
+
command.request_representation = Google::Apis::LoggingV2::UndeleteBucketRequest::Representation
|
4378
|
+
command.request_object = undelete_bucket_request_object
|
4379
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
4380
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
4381
|
+
command.params['name'] = name unless name.nil?
|
4382
|
+
command.query['fields'] = fields unless fields.nil?
|
4383
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4384
|
+
execute_or_queue_command(command, &block)
|
4385
|
+
end
|
4386
|
+
|
4387
|
+
# Creates a view over logs in a bucket. A bucket may contain a maximum of 50
|
4388
|
+
# views.
|
4389
|
+
# @param [String] parent
|
4390
|
+
# Required. The bucket in which to create the view "projects/[PROJECT_ID]/
|
4391
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]" Example: "projects/my-logging-
|
4392
|
+
# project/locations/my-location/buckets/my-bucket"
|
4393
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
4394
|
+
# @param [String] view_id
|
4395
|
+
# Required. The id to use for this view.
|
4396
|
+
# @param [String] fields
|
4397
|
+
# Selector specifying which fields to include in a partial response.
|
4398
|
+
# @param [String] quota_user
|
4399
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4400
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4401
|
+
# @param [Google::Apis::RequestOptions] options
|
4402
|
+
# Request-specific options
|
4403
|
+
#
|
4404
|
+
# @yield [result, err] Result & error if block supplied
|
4405
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
4406
|
+
# @yieldparam err [StandardError] error object if request failed
|
4407
|
+
#
|
4408
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
4409
|
+
#
|
4410
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4411
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4412
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4413
|
+
def create_project_location_bucket_view(parent, log_view_object = nil, view_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4414
|
+
command = make_simple_command(:post, 'v2/{+parent}/views', options)
|
4415
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
4416
|
+
command.request_object = log_view_object
|
4417
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
4418
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
4419
|
+
command.params['parent'] = parent unless parent.nil?
|
4420
|
+
command.query['viewId'] = view_id unless view_id.nil?
|
4421
|
+
command.query['fields'] = fields unless fields.nil?
|
4422
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4423
|
+
execute_or_queue_command(command, &block)
|
4424
|
+
end
|
4425
|
+
|
4426
|
+
# Deletes a view from a bucket.
|
4427
|
+
# @param [String] name
|
4428
|
+
# Required. The full resource name of the view to delete: "projects/[PROJECT_ID]/
|
4429
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
4430
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
4431
|
+
# view-id".
|
4432
|
+
# @param [String] fields
|
4433
|
+
# Selector specifying which fields to include in a partial response.
|
4434
|
+
# @param [String] quota_user
|
4435
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4436
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4437
|
+
# @param [Google::Apis::RequestOptions] options
|
4438
|
+
# Request-specific options
|
4439
|
+
#
|
4440
|
+
# @yield [result, err] Result & error if block supplied
|
4441
|
+
# @yieldparam result [Google::Apis::LoggingV2::Empty] parsed result object
|
4442
|
+
# @yieldparam err [StandardError] error object if request failed
|
4443
|
+
#
|
4444
|
+
# @return [Google::Apis::LoggingV2::Empty]
|
4445
|
+
#
|
4446
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4447
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4448
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4449
|
+
def delete_project_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
4450
|
+
command = make_simple_command(:delete, 'v2/{+name}', options)
|
4451
|
+
command.response_representation = Google::Apis::LoggingV2::Empty::Representation
|
4452
|
+
command.response_class = Google::Apis::LoggingV2::Empty
|
4453
|
+
command.params['name'] = name unless name.nil?
|
4454
|
+
command.query['fields'] = fields unless fields.nil?
|
4455
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4456
|
+
execute_or_queue_command(command, &block)
|
4457
|
+
end
|
4458
|
+
|
4459
|
+
# Gets a view.
|
4460
|
+
# @param [String] name
|
4461
|
+
# Required. The resource name of the policy: "projects/[PROJECT_ID]/locations/[
|
4462
|
+
# LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "projects/my-
|
4463
|
+
# project-id/locations/my-location/buckets/my-bucket-id/views/my-view-id".
|
4464
|
+
# @param [String] fields
|
4465
|
+
# Selector specifying which fields to include in a partial response.
|
4466
|
+
# @param [String] quota_user
|
4467
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4468
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4469
|
+
# @param [Google::Apis::RequestOptions] options
|
4470
|
+
# Request-specific options
|
4471
|
+
#
|
4472
|
+
# @yield [result, err] Result & error if block supplied
|
4473
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
4474
|
+
# @yieldparam err [StandardError] error object if request failed
|
4475
|
+
#
|
4476
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
4477
|
+
#
|
4478
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4479
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4480
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4481
|
+
def get_project_location_bucket_view(name, fields: nil, quota_user: nil, options: nil, &block)
|
4482
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
4483
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
4484
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
4485
|
+
command.params['name'] = name unless name.nil?
|
4486
|
+
command.query['fields'] = fields unless fields.nil?
|
4487
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4488
|
+
execute_or_queue_command(command, &block)
|
4489
|
+
end
|
4490
|
+
|
4491
|
+
# Lists views on a bucket..
|
4492
|
+
# @param [String] parent
|
4493
|
+
# Required. The bucket whose views are to be listed: "projects/[PROJECT_ID]/
|
4494
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
|
4495
|
+
# @param [Fixnum] page_size
|
4496
|
+
# Optional. The maximum number of results to return from this request. Non-
|
4497
|
+
# positive values are ignored. The presence of nextPageToken in the response
|
4498
|
+
# indicates that more results might be available.
|
4499
|
+
# @param [String] page_token
|
4500
|
+
# Optional. If present, then retrieve the next batch of results from the
|
4501
|
+
# preceding call to this method. pageToken must be the value of nextPageToken
|
4502
|
+
# from the previous response. The values of other method parameters should be
|
4503
|
+
# identical to those in the previous call.
|
4504
|
+
# @param [String] fields
|
4505
|
+
# Selector specifying which fields to include in a partial response.
|
4506
|
+
# @param [String] quota_user
|
4507
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4508
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4509
|
+
# @param [Google::Apis::RequestOptions] options
|
4510
|
+
# Request-specific options
|
4511
|
+
#
|
4512
|
+
# @yield [result, err] Result & error if block supplied
|
4513
|
+
# @yieldparam result [Google::Apis::LoggingV2::ListViewsResponse] parsed result object
|
4514
|
+
# @yieldparam err [StandardError] error object if request failed
|
4515
|
+
#
|
4516
|
+
# @return [Google::Apis::LoggingV2::ListViewsResponse]
|
4517
|
+
#
|
4518
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4519
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4520
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4521
|
+
def list_project_location_bucket_views(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4522
|
+
command = make_simple_command(:get, 'v2/{+parent}/views', options)
|
4523
|
+
command.response_representation = Google::Apis::LoggingV2::ListViewsResponse::Representation
|
4524
|
+
command.response_class = Google::Apis::LoggingV2::ListViewsResponse
|
4525
|
+
command.params['parent'] = parent unless parent.nil?
|
4526
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4527
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4528
|
+
command.query['fields'] = fields unless fields.nil?
|
4529
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4530
|
+
execute_or_queue_command(command, &block)
|
4531
|
+
end
|
4532
|
+
|
4533
|
+
# Updates a view. This method replaces the following fields in the existing view
|
4534
|
+
# with values from the new view: filter.
|
4535
|
+
# @param [String] name
|
4536
|
+
# Required. The full resource name of the view to update "projects/[PROJECT_ID]/
|
4537
|
+
# locations/[LOCATION_ID]/buckets/[BUCKET_ID]/views/[VIEW_ID]" Example: "
|
4538
|
+
# projects/my-project-id/locations/my-location/buckets/my-bucket-id/views/my-
|
4539
|
+
# view-id".
|
4540
|
+
# @param [Google::Apis::LoggingV2::LogView] log_view_object
|
4541
|
+
# @param [String] update_mask
|
4542
|
+
# Optional. Field mask that specifies the fields in view that need an update. A
|
4543
|
+
# field will be overwritten if, and only if, it is in the update mask. name and
|
4544
|
+
# output only fields cannot be updated.For a detailed FieldMask definition, see
|
4545
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
4546
|
+
# google.protobuf.FieldMaskExample: updateMask=filter.
|
4547
|
+
# @param [String] fields
|
4548
|
+
# Selector specifying which fields to include in a partial response.
|
4549
|
+
# @param [String] quota_user
|
4550
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4551
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4552
|
+
# @param [Google::Apis::RequestOptions] options
|
4553
|
+
# Request-specific options
|
4554
|
+
#
|
4555
|
+
# @yield [result, err] Result & error if block supplied
|
4556
|
+
# @yieldparam result [Google::Apis::LoggingV2::LogView] parsed result object
|
4557
|
+
# @yieldparam err [StandardError] error object if request failed
|
4558
|
+
#
|
4559
|
+
# @return [Google::Apis::LoggingV2::LogView]
|
4560
|
+
#
|
4561
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4562
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4563
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4564
|
+
def patch_project_location_bucket_view(name, log_view_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4565
|
+
command = make_simple_command(:patch, 'v2/{+name}', options)
|
4566
|
+
command.request_representation = Google::Apis::LoggingV2::LogView::Representation
|
4567
|
+
command.request_object = log_view_object
|
4568
|
+
command.response_representation = Google::Apis::LoggingV2::LogView::Representation
|
4569
|
+
command.response_class = Google::Apis::LoggingV2::LogView
|
4570
|
+
command.params['name'] = name unless name.nil?
|
4571
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
4572
|
+
command.query['fields'] = fields unless fields.nil?
|
4573
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4574
|
+
execute_or_queue_command(command, &block)
|
4575
|
+
end
|
4576
|
+
|
3159
4577
|
# Deletes all the log entries in a log. The log reappears if it receives new
|
3160
4578
|
# entries. Log entries written shortly before the delete operation might not be
|
3161
4579
|
# deleted. Entries received after the delete operation with a timestamp before
|
3162
4580
|
# the operation will be deleted.
|
3163
4581
|
# @param [String] log_name
|
3164
|
-
# Required. The resource name of the log to delete:
|
3165
|
-
# "
|
3166
|
-
# "
|
3167
|
-
# "
|
3168
|
-
#
|
3169
|
-
#
|
3170
|
-
# , "organizations/1234567890/logs/cloudresourcemanager.googleapis.com%
|
3171
|
-
# 2Factivity". For more information about log names, see LogEntry.
|
4582
|
+
# Required. The resource name of the log to delete: "projects/[PROJECT_ID]/logs/[
|
4583
|
+
# LOG_ID]" "organizations/[ORGANIZATION_ID]/logs/[LOG_ID]" "billingAccounts/[
|
4584
|
+
# BILLING_ACCOUNT_ID]/logs/[LOG_ID]" "folders/[FOLDER_ID]/logs/[LOG_ID]" [LOG_ID]
|
4585
|
+
# must be URL-encoded. For example, "projects/my-project-id/logs/syslog", "
|
4586
|
+
# organizations/1234567890/logs/cloudresourcemanager.googleapis.com%2Factivity".
|
4587
|
+
# For more information about log names, see LogEntry.
|
3172
4588
|
# @param [String] fields
|
3173
4589
|
# Selector specifying which fields to include in a partial response.
|
3174
4590
|
# @param [String] quota_user
|
@@ -3199,11 +4615,9 @@ module Google
|
|
3199
4615
|
# Lists the logs in projects, organizations, folders, or billing accounts. Only
|
3200
4616
|
# logs that have entries are listed.
|
3201
4617
|
# @param [String] parent
|
3202
|
-
# Required. The resource name that owns the logs:
|
3203
|
-
# "
|
3204
|
-
#
|
3205
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
3206
|
-
# "folders/[FOLDER_ID]"
|
4618
|
+
# Required. The resource name that owns the logs: "projects/[PROJECT_ID]" "
|
4619
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
4620
|
+
# folders/[FOLDER_ID]"
|
3207
4621
|
# @param [Fixnum] page_size
|
3208
4622
|
# Optional. The maximum number of results to return from this request. Non-
|
3209
4623
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3244,9 +4658,8 @@ module Google
|
|
3244
4658
|
|
3245
4659
|
# Creates a logs-based metric.
|
3246
4660
|
# @param [String] parent
|
3247
|
-
# Required. The resource name of the project in which to create the metric:
|
3248
|
-
#
|
3249
|
-
# The new metric must be provided in the request.
|
4661
|
+
# Required. The resource name of the project in which to create the metric: "
|
4662
|
+
# projects/[PROJECT_ID]" The new metric must be provided in the request.
|
3250
4663
|
# @param [Google::Apis::LoggingV2::LogMetric] log_metric_object
|
3251
4664
|
# @param [String] fields
|
3252
4665
|
# Selector specifying which fields to include in a partial response.
|
@@ -3279,8 +4692,8 @@ module Google
|
|
3279
4692
|
|
3280
4693
|
# Deletes a logs-based metric.
|
3281
4694
|
# @param [String] metric_name
|
3282
|
-
# Required. The resource name of the metric to delete:
|
3283
|
-
#
|
4695
|
+
# Required. The resource name of the metric to delete: "projects/[PROJECT_ID]/
|
4696
|
+
# metrics/[METRIC_ID]"
|
3284
4697
|
# @param [String] fields
|
3285
4698
|
# Selector specifying which fields to include in a partial response.
|
3286
4699
|
# @param [String] quota_user
|
@@ -3310,8 +4723,8 @@ module Google
|
|
3310
4723
|
|
3311
4724
|
# Gets a logs-based metric.
|
3312
4725
|
# @param [String] metric_name
|
3313
|
-
# Required. The resource name of the desired metric:
|
3314
|
-
#
|
4726
|
+
# Required. The resource name of the desired metric: "projects/[PROJECT_ID]/
|
4727
|
+
# metrics/[METRIC_ID]"
|
3315
4728
|
# @param [String] fields
|
3316
4729
|
# Selector specifying which fields to include in a partial response.
|
3317
4730
|
# @param [String] quota_user
|
@@ -3341,8 +4754,8 @@ module Google
|
|
3341
4754
|
|
3342
4755
|
# Lists logs-based metrics.
|
3343
4756
|
# @param [String] parent
|
3344
|
-
# Required. The name of the project containing the metrics:
|
3345
|
-
#
|
4757
|
+
# Required. The name of the project containing the metrics: "projects/[
|
4758
|
+
# PROJECT_ID]"
|
3346
4759
|
# @param [Fixnum] page_size
|
3347
4760
|
# Optional. The maximum number of results to return from this request. Non-
|
3348
4761
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3383,11 +4796,10 @@ module Google
|
|
3383
4796
|
|
3384
4797
|
# Creates or updates a logs-based metric.
|
3385
4798
|
# @param [String] metric_name
|
3386
|
-
# Required. The resource name of the metric to update:
|
3387
|
-
#
|
3388
|
-
#
|
3389
|
-
#
|
3390
|
-
# new metric is created.
|
4799
|
+
# Required. The resource name of the metric to update: "projects/[PROJECT_ID]/
|
4800
|
+
# metrics/[METRIC_ID]" The updated metric must be provided in the request and it'
|
4801
|
+
# s name field must be the same as [METRIC_ID] If the metric does not exist in [
|
4802
|
+
# PROJECT_ID], then a new metric is created.
|
3391
4803
|
# @param [Google::Apis::LoggingV2::LogMetric] log_metric_object
|
3392
4804
|
# @param [String] fields
|
3393
4805
|
# Selector specifying which fields to include in a partial response.
|
@@ -3423,12 +4835,10 @@ module Google
|
|
3423
4835
|
# writer_identity is not permitted to write to the destination. A sink can
|
3424
4836
|
# export log entries only from the resource owning the sink.
|
3425
4837
|
# @param [String] parent
|
3426
|
-
# Required. The resource in which to create the sink:
|
3427
|
-
# "
|
3428
|
-
#
|
3429
|
-
# "
|
3430
|
-
# "folders/[FOLDER_ID]"
|
3431
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
4838
|
+
# Required. The resource in which to create the sink: "projects/[PROJECT_ID]" "
|
4839
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
4840
|
+
# folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/
|
4841
|
+
# 123456789".
|
3432
4842
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
3433
4843
|
# @param [Boolean] unique_writer_identity
|
3434
4844
|
# Optional. Determines the kind of IAM identity returned as writer_identity in
|
@@ -3474,11 +4884,9 @@ module Google
|
|
3474
4884
|
# account is also deleted.
|
3475
4885
|
# @param [String] sink_name
|
3476
4886
|
# Required. The full resource name of the sink to delete, including the parent
|
3477
|
-
# resource and the sink identifier:
|
3478
|
-
#
|
3479
|
-
# "
|
3480
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
3481
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
4887
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
4888
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
4889
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3482
4890
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
3483
4891
|
# @param [String] fields
|
3484
4892
|
# Selector specifying which fields to include in a partial response.
|
@@ -3509,11 +4917,9 @@ module Google
|
|
3509
4917
|
|
3510
4918
|
# Gets a sink.
|
3511
4919
|
# @param [String] sink_name
|
3512
|
-
# Required. The resource name of the sink:
|
3513
|
-
# "
|
3514
|
-
# "
|
3515
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
3516
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
4920
|
+
# Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]
|
4921
|
+
# " "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
4922
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3517
4923
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
3518
4924
|
# @param [String] fields
|
3519
4925
|
# Selector specifying which fields to include in a partial response.
|
@@ -3544,11 +4950,9 @@ module Google
|
|
3544
4950
|
|
3545
4951
|
# Lists sinks.
|
3546
4952
|
# @param [String] parent
|
3547
|
-
# Required. The parent resource whose sinks are to be listed:
|
3548
|
-
# "
|
3549
|
-
# "
|
3550
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
3551
|
-
# "folders/[FOLDER_ID]"
|
4953
|
+
# Required. The parent resource whose sinks are to be listed: "projects/[
|
4954
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
4955
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
3552
4956
|
# @param [Fixnum] page_size
|
3553
4957
|
# Optional. The maximum number of results to return from this request. Non-
|
3554
4958
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3592,23 +4996,20 @@ module Google
|
|
3592
4996
|
# also have a new writer_identity; see the unique_writer_identity field.
|
3593
4997
|
# @param [String] sink_name
|
3594
4998
|
# Required. The full resource name of the sink to update, including the parent
|
3595
|
-
# resource and the sink identifier:
|
3596
|
-
#
|
3597
|
-
# "
|
3598
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
3599
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
4999
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
5000
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
5001
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3600
5002
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
3601
5003
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
3602
5004
|
# @param [Boolean] unique_writer_identity
|
3603
5005
|
# Optional. See sinks.create for a description of this field. When updating a
|
3604
5006
|
# sink, the effect of this field on the value of writer_identity in the updated
|
3605
|
-
# sink depends on both the old and new values of this field:
|
3606
|
-
#
|
3607
|
-
#
|
3608
|
-
#
|
3609
|
-
#
|
3610
|
-
#
|
3611
|
-
# defaulted to false.
|
5007
|
+
# sink depends on both the old and new values of this field: If the old and new
|
5008
|
+
# values of this field are both false or both true, then there is no change to
|
5009
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
5010
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
5011
|
+
# error if the old value is true and the new value is set to false or defaulted
|
5012
|
+
# to false.
|
3612
5013
|
# @param [String] update_mask
|
3613
5014
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
3614
5015
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -3654,23 +5055,20 @@ module Google
|
|
3654
5055
|
# also have a new writer_identity; see the unique_writer_identity field.
|
3655
5056
|
# @param [String] sink_name
|
3656
5057
|
# Required. The full resource name of the sink to update, including the parent
|
3657
|
-
# resource and the sink identifier:
|
3658
|
-
#
|
3659
|
-
# "
|
3660
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
3661
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
5058
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
5059
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
5060
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3662
5061
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
3663
5062
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
3664
5063
|
# @param [Boolean] unique_writer_identity
|
3665
5064
|
# Optional. See sinks.create for a description of this field. When updating a
|
3666
5065
|
# sink, the effect of this field on the value of writer_identity in the updated
|
3667
|
-
# sink depends on both the old and new values of this field:
|
3668
|
-
#
|
3669
|
-
#
|
3670
|
-
#
|
3671
|
-
#
|
3672
|
-
#
|
3673
|
-
# defaulted to false.
|
5066
|
+
# sink depends on both the old and new values of this field: If the old and new
|
5067
|
+
# values of this field are both false or both true, then there is no change to
|
5068
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
5069
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
5070
|
+
# error if the old value is true and the new value is set to false or defaulted
|
5071
|
+
# to false.
|
3674
5072
|
# @param [String] update_mask
|
3675
5073
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
3676
5074
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -3716,12 +5114,10 @@ module Google
|
|
3716
5114
|
# writer_identity is not permitted to write to the destination. A sink can
|
3717
5115
|
# export log entries only from the resource owning the sink.
|
3718
5116
|
# @param [String] parent
|
3719
|
-
# Required. The resource in which to create the sink:
|
3720
|
-
# "
|
3721
|
-
#
|
3722
|
-
# "
|
3723
|
-
# "folders/[FOLDER_ID]"
|
3724
|
-
# Examples: "projects/my-logging-project", "organizations/123456789".
|
5117
|
+
# Required. The resource in which to create the sink: "projects/[PROJECT_ID]" "
|
5118
|
+
# organizations/[ORGANIZATION_ID]" "billingAccounts/[BILLING_ACCOUNT_ID]" "
|
5119
|
+
# folders/[FOLDER_ID]" Examples: "projects/my-logging-project", "organizations/
|
5120
|
+
# 123456789".
|
3725
5121
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
3726
5122
|
# @param [Boolean] unique_writer_identity
|
3727
5123
|
# Optional. Determines the kind of IAM identity returned as writer_identity in
|
@@ -3767,11 +5163,9 @@ module Google
|
|
3767
5163
|
# account is also deleted.
|
3768
5164
|
# @param [String] sink_name
|
3769
5165
|
# Required. The full resource name of the sink to delete, including the parent
|
3770
|
-
# resource and the sink identifier:
|
3771
|
-
#
|
3772
|
-
# "
|
3773
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
3774
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
5166
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
5167
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
5168
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3775
5169
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
3776
5170
|
# @param [String] fields
|
3777
5171
|
# Selector specifying which fields to include in a partial response.
|
@@ -3802,11 +5196,9 @@ module Google
|
|
3802
5196
|
|
3803
5197
|
# Gets a sink.
|
3804
5198
|
# @param [String] sink_name
|
3805
|
-
# Required. The resource name of the sink:
|
3806
|
-
# "
|
3807
|
-
# "
|
3808
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
3809
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
5199
|
+
# Required. The resource name of the sink: "projects/[PROJECT_ID]/sinks/[SINK_ID]
|
5200
|
+
# " "organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
5201
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3810
5202
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
3811
5203
|
# @param [String] fields
|
3812
5204
|
# Selector specifying which fields to include in a partial response.
|
@@ -3837,11 +5229,9 @@ module Google
|
|
3837
5229
|
|
3838
5230
|
# Lists sinks.
|
3839
5231
|
# @param [String] parent
|
3840
|
-
# Required. The parent resource whose sinks are to be listed:
|
3841
|
-
# "
|
3842
|
-
# "
|
3843
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]"
|
3844
|
-
# "folders/[FOLDER_ID]"
|
5232
|
+
# Required. The parent resource whose sinks are to be listed: "projects/[
|
5233
|
+
# PROJECT_ID]" "organizations/[ORGANIZATION_ID]" "billingAccounts/[
|
5234
|
+
# BILLING_ACCOUNT_ID]" "folders/[FOLDER_ID]"
|
3845
5235
|
# @param [Fixnum] page_size
|
3846
5236
|
# Optional. The maximum number of results to return from this request. Non-
|
3847
5237
|
# positive values are ignored. The presence of nextPageToken in the response
|
@@ -3885,23 +5275,20 @@ module Google
|
|
3885
5275
|
# also have a new writer_identity; see the unique_writer_identity field.
|
3886
5276
|
# @param [String] sink_name
|
3887
5277
|
# Required. The full resource name of the sink to update, including the parent
|
3888
|
-
# resource and the sink identifier:
|
3889
|
-
#
|
3890
|
-
# "
|
3891
|
-
# "billingAccounts/[BILLING_ACCOUNT_ID]/sinks/[SINK_ID]"
|
3892
|
-
# "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
5278
|
+
# resource and the sink identifier: "projects/[PROJECT_ID]/sinks/[SINK_ID]" "
|
5279
|
+
# organizations/[ORGANIZATION_ID]/sinks/[SINK_ID]" "billingAccounts/[
|
5280
|
+
# BILLING_ACCOUNT_ID]/sinks/[SINK_ID]" "folders/[FOLDER_ID]/sinks/[SINK_ID]"
|
3893
5281
|
# Example: "projects/my-project-id/sinks/my-sink-id".
|
3894
5282
|
# @param [Google::Apis::LoggingV2::LogSink] log_sink_object
|
3895
5283
|
# @param [Boolean] unique_writer_identity
|
3896
5284
|
# Optional. See sinks.create for a description of this field. When updating a
|
3897
5285
|
# sink, the effect of this field on the value of writer_identity in the updated
|
3898
|
-
# sink depends on both the old and new values of this field:
|
3899
|
-
#
|
3900
|
-
#
|
3901
|
-
#
|
3902
|
-
#
|
3903
|
-
#
|
3904
|
-
# defaulted to false.
|
5286
|
+
# sink depends on both the old and new values of this field: If the old and new
|
5287
|
+
# values of this field are both false or both true, then there is no change to
|
5288
|
+
# the sink's writer_identity. If the old value is false and the new value is
|
5289
|
+
# true, then writer_identity is changed to a unique service account. It is an
|
5290
|
+
# error if the old value is true and the new value is set to false or defaulted
|
5291
|
+
# to false.
|
3905
5292
|
# @param [String] update_mask
|
3906
5293
|
# Optional. Field mask that specifies the fields in sink that need an update. A
|
3907
5294
|
# sink field will be overwritten if, and only if, it is in the update mask. name
|
@@ -3948,14 +5335,12 @@ module Google
|
|
3948
5335
|
# Enabling CMEK for Logs Router (https://cloud.google.com/logging/docs/routing/
|
3949
5336
|
# managed-encryption) for more information.
|
3950
5337
|
# @param [String] name
|
3951
|
-
# Required. The resource for which to retrieve CMEK settings.
|
3952
|
-
# "
|
3953
|
-
#
|
3954
|
-
# "
|
3955
|
-
#
|
3956
|
-
#
|
3957
|
-
# currently only be configured for GCP organizations. Once configured, it
|
3958
|
-
# applies to all projects and folders in the GCP organization.
|
5338
|
+
# Required. The resource for which to retrieve CMEK settings. "projects/[
|
5339
|
+
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
5340
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
|
5341
|
+
# cmekSettings" Example: "organizations/12345/cmekSettings".Note: CMEK for the
|
5342
|
+
# Logs Router can currently only be configured for GCP organizations. Once
|
5343
|
+
# configured, it applies to all projects and folders in the GCP organization.
|
3959
5344
|
# @param [String] fields
|
3960
5345
|
# Selector specifying which fields to include in a partial response.
|
3961
5346
|
# @param [String] quota_user
|
@@ -3992,14 +5377,12 @@ module Google
|
|
3992
5377
|
# is disabled.See Enabling CMEK for Logs Router (https://cloud.google.com/
|
3993
5378
|
# logging/docs/routing/managed-encryption) for more information.
|
3994
5379
|
# @param [String] name
|
3995
|
-
# Required. The resource name for the CMEK settings to update.
|
3996
|
-
# "
|
3997
|
-
#
|
3998
|
-
# "
|
3999
|
-
#
|
4000
|
-
#
|
4001
|
-
# currently only be configured for GCP organizations. Once configured, it
|
4002
|
-
# applies to all projects and folders in the GCP organization.
|
5380
|
+
# Required. The resource name for the CMEK settings to update. "projects/[
|
5381
|
+
# PROJECT_ID]/cmekSettings" "organizations/[ORGANIZATION_ID]/cmekSettings" "
|
5382
|
+
# billingAccounts/[BILLING_ACCOUNT_ID]/cmekSettings" "folders/[FOLDER_ID]/
|
5383
|
+
# cmekSettings" Example: "organizations/12345/cmekSettings".Note: CMEK for the
|
5384
|
+
# Logs Router can currently only be configured for GCP organizations. Once
|
5385
|
+
# configured, it applies to all projects and folders in the GCP organization.
|
4003
5386
|
# @param [Google::Apis::LoggingV2::CmekSettings] cmek_settings_object
|
4004
5387
|
# @param [String] update_mask
|
4005
5388
|
# Optional. Field mask identifying which fields from cmek_settings should be
|