google-api-client 0.39.4 → 0.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +283 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +58 -10
- data/generated/google/apis/apigee_v1/representations.rb +7 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1132 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +442 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +54 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +82 -46
- data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1/service.rb +14 -11
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +977 -52
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +20 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +20 -15
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +10 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +711 -151
- data/generated/google/apis/compute_alpha/representations.rb +220 -33
- data/generated/google/apis/compute_alpha/service.rb +1618 -831
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +173 -71
- data/generated/google/apis/compute_beta/representations.rb +25 -0
- data/generated/google/apis/compute_beta/service.rb +591 -591
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +66 -18
- data/generated/google/apis/compute_v1/representations.rb +6 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +82 -10
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +450 -6
- data/generated/google/apis/content_v2_1/representations.rb +173 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +68 -22
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +61 -35
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +74 -6
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -27
- data/generated/google/apis/dlp_v2/service.rb +247 -204
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -1156
- data/generated/google/apis/file_v1/representations.rb +12 -378
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +26 -373
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/{pagespeedonline_v2.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +39 -30
- data/generated/google/apis/healthcare_v1/service.rb +66 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +948 -77
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +682 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +116 -93
- data/generated/google/apis/iam_v1/service.rb +170 -144
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +73 -17
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → networkmanagement_v1.rb} +13 -10
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +64 -8
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{customsearch_v1.rb → recommender_v1.rb} +11 -8
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +15 -6
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +143 -28
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +10 -10
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +143 -28
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -74
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -74
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +123 -80
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +498 -74
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +307 -74
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -74
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -74
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -2
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1298 -1244
- data/generated/google/apis/youtube_v3/representations.rb +91 -192
- data/generated/google/apis/youtube_v3/service.rb +1857 -2152
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +27 -19
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -24,42 +24,30 @@ module Google
|
|
24
24
|
|
25
25
|
class CustomerLicense
|
26
26
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Deletes
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class Editions
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class Expiries
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
45
|
|
34
46
|
include Google::Apis::Core::JsonObjectSupport
|
35
47
|
end
|
36
48
|
|
37
49
|
class LicenseNotification
|
38
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
-
|
40
|
-
class Delete
|
41
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
42
|
-
|
43
|
-
include Google::Apis::Core::JsonObjectSupport
|
44
|
-
end
|
45
|
-
|
46
|
-
class Expiry
|
47
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
48
|
-
|
49
|
-
include Google::Apis::Core::JsonObjectSupport
|
50
|
-
end
|
51
|
-
|
52
|
-
class Provision
|
53
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
54
|
-
|
55
|
-
include Google::Apis::Core::JsonObjectSupport
|
56
|
-
end
|
57
|
-
|
58
|
-
class Reassignment
|
59
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
60
|
-
|
61
|
-
include Google::Apis::Core::JsonObjectSupport
|
62
|
-
end
|
63
51
|
|
64
52
|
include Google::Apis::Core::JsonObjectSupport
|
65
53
|
end
|
@@ -70,6 +58,18 @@ module Google
|
|
70
58
|
include Google::Apis::Core::JsonObjectSupport
|
71
59
|
end
|
72
60
|
|
61
|
+
class Provisions
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class Reassignments
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
73
|
class UserLicense
|
74
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
75
|
|
@@ -81,20 +81,36 @@ module Google
|
|
81
81
|
class Representation < Google::Apis::Core::JsonRepresentation
|
82
82
|
property :application_id, as: 'applicationId'
|
83
83
|
property :customer_id, as: 'customerId'
|
84
|
-
collection :editions, as: 'editions', class: Google::Apis::AppsmarketV2::
|
84
|
+
collection :editions, as: 'editions', class: Google::Apis::AppsmarketV2::Editions, decorator: Google::Apis::AppsmarketV2::Editions::Representation
|
85
85
|
|
86
86
|
property :id, as: 'id'
|
87
87
|
property :kind, as: 'kind'
|
88
88
|
property :state, as: 'state'
|
89
89
|
end
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
90
|
+
end
|
91
|
+
|
92
|
+
class Deletes
|
93
|
+
# @private
|
94
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
95
|
+
property :edition_id, as: 'editionId'
|
96
|
+
property :kind, as: 'kind'
|
97
|
+
end
|
98
|
+
end
|
99
|
+
|
100
|
+
class Editions
|
101
|
+
# @private
|
102
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
103
|
+
property :assigned_seats, as: 'assignedSeats'
|
104
|
+
property :edition_id, as: 'editionId'
|
105
|
+
property :seat_count, as: 'seatCount'
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
class Expiries
|
110
|
+
# @private
|
111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
112
|
+
property :edition_id, as: 'editionId'
|
113
|
+
property :kind, as: 'kind'
|
98
114
|
end
|
99
115
|
end
|
100
116
|
|
@@ -103,53 +119,18 @@ module Google
|
|
103
119
|
class Representation < Google::Apis::Core::JsonRepresentation
|
104
120
|
property :application_id, as: 'applicationId'
|
105
121
|
property :customer_id, as: 'customerId'
|
106
|
-
collection :deletes, as: 'deletes', class: Google::Apis::AppsmarketV2::
|
122
|
+
collection :deletes, as: 'deletes', class: Google::Apis::AppsmarketV2::Deletes, decorator: Google::Apis::AppsmarketV2::Deletes::Representation
|
107
123
|
|
108
|
-
collection :expiries, as: 'expiries', class: Google::Apis::AppsmarketV2::
|
124
|
+
collection :expiries, as: 'expiries', class: Google::Apis::AppsmarketV2::Expiries, decorator: Google::Apis::AppsmarketV2::Expiries::Representation
|
109
125
|
|
110
126
|
property :id, as: 'id'
|
111
127
|
property :kind, as: 'kind'
|
112
|
-
collection :provisions, as: 'provisions', class: Google::Apis::AppsmarketV2::
|
128
|
+
collection :provisions, as: 'provisions', class: Google::Apis::AppsmarketV2::Provisions, decorator: Google::Apis::AppsmarketV2::Provisions::Representation
|
113
129
|
|
114
|
-
collection :reassignments, as: 'reassignments', class: Google::Apis::AppsmarketV2::
|
130
|
+
collection :reassignments, as: 'reassignments', class: Google::Apis::AppsmarketV2::Reassignments, decorator: Google::Apis::AppsmarketV2::Reassignments::Representation
|
115
131
|
|
116
132
|
property :timestamp, :numeric_string => true, as: 'timestamp'
|
117
133
|
end
|
118
|
-
|
119
|
-
class Delete
|
120
|
-
# @private
|
121
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
122
|
-
property :edition_id, as: 'editionId'
|
123
|
-
property :kind, as: 'kind'
|
124
|
-
end
|
125
|
-
end
|
126
|
-
|
127
|
-
class Expiry
|
128
|
-
# @private
|
129
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
130
|
-
property :edition_id, as: 'editionId'
|
131
|
-
property :kind, as: 'kind'
|
132
|
-
end
|
133
|
-
end
|
134
|
-
|
135
|
-
class Provision
|
136
|
-
# @private
|
137
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
138
|
-
property :edition_id, as: 'editionId'
|
139
|
-
property :kind, as: 'kind'
|
140
|
-
property :seat_count, :numeric_string => true, as: 'seatCount'
|
141
|
-
end
|
142
|
-
end
|
143
|
-
|
144
|
-
class Reassignment
|
145
|
-
# @private
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
147
|
-
property :edition_id, as: 'editionId'
|
148
|
-
property :kind, as: 'kind'
|
149
|
-
property :type, as: 'type'
|
150
|
-
property :user_id, as: 'userId'
|
151
|
-
end
|
152
|
-
end
|
153
134
|
end
|
154
135
|
|
155
136
|
class LicenseNotificationList
|
@@ -162,6 +143,25 @@ module Google
|
|
162
143
|
end
|
163
144
|
end
|
164
145
|
|
146
|
+
class Provisions
|
147
|
+
# @private
|
148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
149
|
+
property :edition_id, as: 'editionId'
|
150
|
+
property :kind, as: 'kind'
|
151
|
+
property :seat_count, :numeric_string => true, as: 'seatCount'
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
155
|
+
class Reassignments
|
156
|
+
# @private
|
157
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
158
|
+
property :edition_id, as: 'editionId'
|
159
|
+
property :kind, as: 'kind'
|
160
|
+
property :type, as: 'type'
|
161
|
+
property :user_id, as: 'userId'
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
165
|
class UserLicense
|
166
166
|
# @private
|
167
167
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -23,36 +23,33 @@ module Google
|
|
23
23
|
# G Suite Marketplace API
|
24
24
|
#
|
25
25
|
# Lets your G Suite Marketplace applications integrate with Google's licensing
|
26
|
-
#
|
26
|
+
# and billing services.
|
27
27
|
#
|
28
28
|
# @example
|
29
29
|
# require 'google/apis/appsmarket_v2'
|
30
30
|
#
|
31
31
|
# Appsmarket = Google::Apis::AppsmarketV2 # Alias the module
|
32
|
-
# service = Appsmarket::
|
32
|
+
# service = Appsmarket::GSuiteMarketplaceAPIService.new
|
33
33
|
#
|
34
|
-
# @see https://developers.google.com/
|
35
|
-
class
|
34
|
+
# @see https://developers.google.com/apps-marketplace
|
35
|
+
class GSuiteMarketplaceAPIService < Google::Apis::Core::BaseService
|
36
36
|
# @return [String]
|
37
37
|
# API key. Your API key identifies your project and provides you with API access,
|
38
38
|
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
39
39
|
attr_accessor :key
|
40
40
|
|
41
41
|
# @return [String]
|
42
|
-
#
|
43
|
-
# characters.
|
42
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
43
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
44
44
|
attr_accessor :quota_user
|
45
45
|
|
46
|
-
# @return [String]
|
47
|
-
# Deprecated. Please use quotaUser instead.
|
48
|
-
attr_accessor :user_ip
|
49
|
-
|
50
46
|
def initialize
|
51
|
-
super('https://
|
52
|
-
@batch_path = 'batch
|
47
|
+
super('https://appsmarket.googleapis.com/', '')
|
48
|
+
@batch_path = 'batch'
|
53
49
|
end
|
54
50
|
|
55
|
-
#
|
51
|
+
# Get the status of a license for a customer to determine if they have access
|
52
|
+
# for a given app.
|
56
53
|
# @param [String] application_id
|
57
54
|
# Application Id
|
58
55
|
# @param [String] customer_id
|
@@ -60,10 +57,8 @@ module Google
|
|
60
57
|
# @param [String] fields
|
61
58
|
# Selector specifying which fields to include in a partial response.
|
62
59
|
# @param [String] quota_user
|
63
|
-
#
|
64
|
-
# characters.
|
65
|
-
# @param [String] user_ip
|
66
|
-
# Deprecated. Please use quotaUser instead.
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
67
62
|
# @param [Google::Apis::RequestOptions] options
|
68
63
|
# Request-specific options
|
69
64
|
#
|
@@ -76,34 +71,29 @@ module Google
|
|
76
71
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
77
72
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
78
73
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
79
|
-
def get_customer_license(application_id, customer_id, fields: nil, quota_user: nil,
|
80
|
-
command = make_simple_command(:get, 'customerLicense/{applicationId}/{customerId}', options)
|
74
|
+
def get_customer_license(application_id, customer_id, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
+
command = make_simple_command(:get, 'appsmarket/v2/customerLicense/{applicationId}/{customerId}', options)
|
81
76
|
command.response_representation = Google::Apis::AppsmarketV2::CustomerLicense::Representation
|
82
77
|
command.response_class = Google::Apis::AppsmarketV2::CustomerLicense
|
83
78
|
command.params['applicationId'] = application_id unless application_id.nil?
|
84
79
|
command.params['customerId'] = customer_id unless customer_id.nil?
|
85
80
|
command.query['fields'] = fields unless fields.nil?
|
86
81
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
87
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
88
82
|
execute_or_queue_command(command, &block)
|
89
83
|
end
|
90
84
|
|
91
|
-
#
|
85
|
+
# Get a list of licensing notifications with regards to a given app.
|
92
86
|
# @param [String] application_id
|
93
87
|
# Application Id
|
94
88
|
# @param [Fixnum] max_results
|
95
|
-
# Maximum number of results to return
|
96
89
|
# @param [String] start_token
|
97
|
-
# Pagination token
|
98
90
|
# @param [Fixnum] timestamp
|
99
91
|
# Timestamp in milliseconds since epoch
|
100
92
|
# @param [String] fields
|
101
93
|
# Selector specifying which fields to include in a partial response.
|
102
94
|
# @param [String] quota_user
|
103
|
-
#
|
104
|
-
# characters.
|
105
|
-
# @param [String] user_ip
|
106
|
-
# Deprecated. Please use quotaUser instead.
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
107
97
|
# @param [Google::Apis::RequestOptions] options
|
108
98
|
# Request-specific options
|
109
99
|
#
|
@@ -116,8 +106,8 @@ module Google
|
|
116
106
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
117
107
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
118
108
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
119
|
-
def list_license_notifications(application_id, max_results: nil, start_token: nil, timestamp: nil, fields: nil, quota_user: nil,
|
120
|
-
command = make_simple_command(:get, 'licenseNotification/{applicationId}', options)
|
109
|
+
def list_license_notifications(application_id, max_results: nil, start_token: nil, timestamp: nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
command = make_simple_command(:get, 'appsmarket/v2/licenseNotification/{applicationId}', options)
|
121
111
|
command.response_representation = Google::Apis::AppsmarketV2::LicenseNotificationList::Representation
|
122
112
|
command.response_class = Google::Apis::AppsmarketV2::LicenseNotificationList
|
123
113
|
command.params['applicationId'] = application_id unless application_id.nil?
|
@@ -126,11 +116,10 @@ module Google
|
|
126
116
|
command.query['timestamp'] = timestamp unless timestamp.nil?
|
127
117
|
command.query['fields'] = fields unless fields.nil?
|
128
118
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
129
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
130
119
|
execute_or_queue_command(command, &block)
|
131
120
|
end
|
132
121
|
|
133
|
-
#
|
122
|
+
# Get the user's licensing status for their permission to use a given app.
|
134
123
|
# @param [String] application_id
|
135
124
|
# Application Id
|
136
125
|
# @param [String] user_id
|
@@ -138,10 +127,8 @@ module Google
|
|
138
127
|
# @param [String] fields
|
139
128
|
# Selector specifying which fields to include in a partial response.
|
140
129
|
# @param [String] quota_user
|
141
|
-
#
|
142
|
-
# characters.
|
143
|
-
# @param [String] user_ip
|
144
|
-
# Deprecated. Please use quotaUser instead.
|
130
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
131
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
145
132
|
# @param [Google::Apis::RequestOptions] options
|
146
133
|
# Request-specific options
|
147
134
|
#
|
@@ -154,15 +141,14 @@ module Google
|
|
154
141
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
155
142
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
156
143
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
157
|
-
def get_user_license(application_id, user_id, fields: nil, quota_user: nil,
|
158
|
-
command = make_simple_command(:get, 'userLicense/{applicationId}/{userId}', options)
|
144
|
+
def get_user_license(application_id, user_id, fields: nil, quota_user: nil, options: nil, &block)
|
145
|
+
command = make_simple_command(:get, 'appsmarket/v2/userLicense/{applicationId}/{userId}', options)
|
159
146
|
command.response_representation = Google::Apis::AppsmarketV2::UserLicense::Representation
|
160
147
|
command.response_class = Google::Apis::AppsmarketV2::UserLicense
|
161
148
|
command.params['applicationId'] = application_id unless application_id.nil?
|
162
149
|
command.params['userId'] = user_id unless user_id.nil?
|
163
150
|
command.query['fields'] = fields unless fields.nil?
|
164
151
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
165
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
166
152
|
execute_or_queue_command(command, &block)
|
167
153
|
end
|
168
154
|
|
@@ -171,7 +157,6 @@ module Google
|
|
171
157
|
def apply_command_defaults(command)
|
172
158
|
command.query['key'] = key unless key.nil?
|
173
159
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
174
|
-
command.query['userIp'] = user_ip unless user_ip.nil?
|
175
160
|
end
|
176
161
|
end
|
177
162
|
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/artifactregistry_v1beta1/service.rb'
|
16
|
+
require 'google/apis/artifactregistry_v1beta1/classes.rb'
|
17
|
+
require 'google/apis/artifactregistry_v1beta1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Artifact Registry API
|
22
|
+
#
|
23
|
+
# Store and manage build artifacts in a scalable and integrated service built on
|
24
|
+
# Google infrastructure.
|
25
|
+
#
|
26
|
+
# @see https://cloud.google.com/artifacts/docs/
|
27
|
+
module ArtifactregistryV1beta1
|
28
|
+
VERSION = 'V1beta1'
|
29
|
+
REVISION = '20200612'
|
30
|
+
|
31
|
+
# View and manage your data across Google Cloud Platform services
|
32
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
33
|
+
|
34
|
+
# View your data across Google Cloud Platform services
|
35
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,1132 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ArtifactregistryV1beta1
|
24
|
+
|
25
|
+
# Associates `members` with a `role`.
|
26
|
+
class Binding
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
30
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
31
|
+
# are documented at https://github.com/google/cel-spec.
|
32
|
+
# Example (Comparison):
|
33
|
+
# title: "Summary size limit"
|
34
|
+
# description: "Determines if a summary is less than 100 chars"
|
35
|
+
# expression: "document.summary.size() < 100"
|
36
|
+
# Example (Equality):
|
37
|
+
# title: "Requestor is owner"
|
38
|
+
# description: "Determines if requestor is the document owner"
|
39
|
+
# expression: "document.owner == request.auth.claims.email"
|
40
|
+
# Example (Logic):
|
41
|
+
# title: "Public documents"
|
42
|
+
# description: "Determine whether the document should be publicly visible"
|
43
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
44
|
+
# Example (Data Manipulation):
|
45
|
+
# title: "Notification string"
|
46
|
+
# description: "Create a notification string with a timestamp."
|
47
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
48
|
+
# The exact variables and functions that may be referenced within an expression
|
49
|
+
# are determined by the service that evaluates it. See the service
|
50
|
+
# documentation for additional information.
|
51
|
+
# Corresponds to the JSON property `condition`
|
52
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::Expr]
|
53
|
+
attr_accessor :condition
|
54
|
+
|
55
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
56
|
+
# `members` can have the following values:
|
57
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
58
|
+
# on the internet; with or without a Google account.
|
59
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
60
|
+
# who is authenticated with a Google account or a service account.
|
61
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
62
|
+
# account. For example, `alice@example.com` .
|
63
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
64
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
65
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
66
|
+
# For example, `admins@example.com`.
|
67
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
68
|
+
# identifier) representing a user that has been recently deleted. For
|
69
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
70
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
71
|
+
# retains the role in the binding.
|
72
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
73
|
+
# unique identifier) representing a service account that has been recently
|
74
|
+
# deleted. For example,
|
75
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
76
|
+
# If the service account is undeleted, this value reverts to
|
77
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
78
|
+
# role in the binding.
|
79
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
80
|
+
# identifier) representing a Google group that has been recently
|
81
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
82
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
83
|
+
# recovered group retains the role in the binding.
|
84
|
+
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
85
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
86
|
+
# Corresponds to the JSON property `members`
|
87
|
+
# @return [Array<String>]
|
88
|
+
attr_accessor :members
|
89
|
+
|
90
|
+
# Role that is assigned to `members`.
|
91
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
92
|
+
# Corresponds to the JSON property `role`
|
93
|
+
# @return [String]
|
94
|
+
attr_accessor :role
|
95
|
+
|
96
|
+
def initialize(**args)
|
97
|
+
update!(**args)
|
98
|
+
end
|
99
|
+
|
100
|
+
# Update properties of this object
|
101
|
+
def update!(**args)
|
102
|
+
@condition = args[:condition] if args.key?(:condition)
|
103
|
+
@members = args[:members] if args.key?(:members)
|
104
|
+
@role = args[:role] if args.key?(:role)
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
109
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
110
|
+
# or the response type of an API method. For instance:
|
111
|
+
# service Foo `
|
112
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
113
|
+
# `
|
114
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
115
|
+
class Empty
|
116
|
+
include Google::Apis::Core::Hashable
|
117
|
+
|
118
|
+
def initialize(**args)
|
119
|
+
update!(**args)
|
120
|
+
end
|
121
|
+
|
122
|
+
# Update properties of this object
|
123
|
+
def update!(**args)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
128
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
129
|
+
# are documented at https://github.com/google/cel-spec.
|
130
|
+
# Example (Comparison):
|
131
|
+
# title: "Summary size limit"
|
132
|
+
# description: "Determines if a summary is less than 100 chars"
|
133
|
+
# expression: "document.summary.size() < 100"
|
134
|
+
# Example (Equality):
|
135
|
+
# title: "Requestor is owner"
|
136
|
+
# description: "Determines if requestor is the document owner"
|
137
|
+
# expression: "document.owner == request.auth.claims.email"
|
138
|
+
# Example (Logic):
|
139
|
+
# title: "Public documents"
|
140
|
+
# description: "Determine whether the document should be publicly visible"
|
141
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
142
|
+
# Example (Data Manipulation):
|
143
|
+
# title: "Notification string"
|
144
|
+
# description: "Create a notification string with a timestamp."
|
145
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
146
|
+
# The exact variables and functions that may be referenced within an expression
|
147
|
+
# are determined by the service that evaluates it. See the service
|
148
|
+
# documentation for additional information.
|
149
|
+
class Expr
|
150
|
+
include Google::Apis::Core::Hashable
|
151
|
+
|
152
|
+
# Optional. Description of the expression. This is a longer text which
|
153
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
154
|
+
# Corresponds to the JSON property `description`
|
155
|
+
# @return [String]
|
156
|
+
attr_accessor :description
|
157
|
+
|
158
|
+
# Textual representation of an expression in Common Expression Language
|
159
|
+
# syntax.
|
160
|
+
# Corresponds to the JSON property `expression`
|
161
|
+
# @return [String]
|
162
|
+
attr_accessor :expression
|
163
|
+
|
164
|
+
# Optional. String indicating the location of the expression for error
|
165
|
+
# reporting, e.g. a file name and a position in the file.
|
166
|
+
# Corresponds to the JSON property `location`
|
167
|
+
# @return [String]
|
168
|
+
attr_accessor :location
|
169
|
+
|
170
|
+
# Optional. Title for the expression, i.e. a short string describing
|
171
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
172
|
+
# expression.
|
173
|
+
# Corresponds to the JSON property `title`
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :title
|
176
|
+
|
177
|
+
def initialize(**args)
|
178
|
+
update!(**args)
|
179
|
+
end
|
180
|
+
|
181
|
+
# Update properties of this object
|
182
|
+
def update!(**args)
|
183
|
+
@description = args[:description] if args.key?(:description)
|
184
|
+
@expression = args[:expression] if args.key?(:expression)
|
185
|
+
@location = args[:location] if args.key?(:location)
|
186
|
+
@title = args[:title] if args.key?(:title)
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
# Files store content that is potentially associated with Packages or Versions.
|
191
|
+
class File
|
192
|
+
include Google::Apis::Core::Hashable
|
193
|
+
|
194
|
+
# The time when the File was created.
|
195
|
+
# Corresponds to the JSON property `createTime`
|
196
|
+
# @return [String]
|
197
|
+
attr_accessor :create_time
|
198
|
+
|
199
|
+
# The hashes of the file content.
|
200
|
+
# Corresponds to the JSON property `hashes`
|
201
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::HashProp>]
|
202
|
+
attr_accessor :hashes
|
203
|
+
|
204
|
+
# The name of the file, for example:
|
205
|
+
# "projects/p1/locations/us-central1/repositories/repo1/files/a/b/c.txt".
|
206
|
+
# Corresponds to the JSON property `name`
|
207
|
+
# @return [String]
|
208
|
+
attr_accessor :name
|
209
|
+
|
210
|
+
# The name of the Package or Version that owns this file, if any.
|
211
|
+
# Corresponds to the JSON property `owner`
|
212
|
+
# @return [String]
|
213
|
+
attr_accessor :owner
|
214
|
+
|
215
|
+
# The size of the File in bytes.
|
216
|
+
# Corresponds to the JSON property `sizeBytes`
|
217
|
+
# @return [Fixnum]
|
218
|
+
attr_accessor :size_bytes
|
219
|
+
|
220
|
+
# The time when the File was last updated.
|
221
|
+
# Corresponds to the JSON property `updateTime`
|
222
|
+
# @return [String]
|
223
|
+
attr_accessor :update_time
|
224
|
+
|
225
|
+
def initialize(**args)
|
226
|
+
update!(**args)
|
227
|
+
end
|
228
|
+
|
229
|
+
# Update properties of this object
|
230
|
+
def update!(**args)
|
231
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
232
|
+
@hashes = args[:hashes] if args.key?(:hashes)
|
233
|
+
@name = args[:name] if args.key?(:name)
|
234
|
+
@owner = args[:owner] if args.key?(:owner)
|
235
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
236
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
237
|
+
end
|
238
|
+
end
|
239
|
+
|
240
|
+
# Error information explaining why a package was not imported.
|
241
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
|
242
|
+
include Google::Apis::Core::Hashable
|
243
|
+
|
244
|
+
# The `Status` type defines a logical error model that is suitable for
|
245
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
246
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
247
|
+
# three pieces of data: error code, error message, and error details.
|
248
|
+
# You can find out more about this error model and how to work with it in the
|
249
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
250
|
+
# Corresponds to the JSON property `error`
|
251
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::Status]
|
252
|
+
attr_accessor :error
|
253
|
+
|
254
|
+
# Google Cloud Storage location for the input content.
|
255
|
+
# Corresponds to the JSON property `gcsSource`
|
256
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource]
|
257
|
+
attr_accessor :gcs_source
|
258
|
+
|
259
|
+
def initialize(**args)
|
260
|
+
update!(**args)
|
261
|
+
end
|
262
|
+
|
263
|
+
# Update properties of this object
|
264
|
+
def update!(**args)
|
265
|
+
@error = args[:error] if args.key?(:error)
|
266
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
267
|
+
end
|
268
|
+
end
|
269
|
+
|
270
|
+
# Google Cloud Storage location for the input content.
|
271
|
+
class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
|
272
|
+
include Google::Apis::Core::Hashable
|
273
|
+
|
274
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
|
275
|
+
# Corresponds to the JSON property `uris`
|
276
|
+
# @return [Array<String>]
|
277
|
+
attr_accessor :uris
|
278
|
+
|
279
|
+
def initialize(**args)
|
280
|
+
update!(**args)
|
281
|
+
end
|
282
|
+
|
283
|
+
# Update properties of this object
|
284
|
+
def update!(**args)
|
285
|
+
@uris = args[:uris] if args.key?(:uris)
|
286
|
+
end
|
287
|
+
end
|
288
|
+
|
289
|
+
# The response message from importing artifacts.
|
290
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
|
291
|
+
include Google::Apis::Core::Hashable
|
292
|
+
|
293
|
+
# Detailed error info for packages that were not imported.
|
294
|
+
# Corresponds to the JSON property `errors`
|
295
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo>]
|
296
|
+
attr_accessor :errors
|
297
|
+
|
298
|
+
# The packages updated.
|
299
|
+
# Corresponds to the JSON property `packages`
|
300
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1Package>]
|
301
|
+
attr_accessor :packages
|
302
|
+
|
303
|
+
def initialize(**args)
|
304
|
+
update!(**args)
|
305
|
+
end
|
306
|
+
|
307
|
+
# Update properties of this object
|
308
|
+
def update!(**args)
|
309
|
+
@errors = args[:errors] if args.key?(:errors)
|
310
|
+
@packages = args[:packages] if args.key?(:packages)
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
# Packages are named collections of versions.
|
315
|
+
class GoogleDevtoolsArtifactregistryV1alpha1Package
|
316
|
+
include Google::Apis::Core::Hashable
|
317
|
+
|
318
|
+
# The time when the package was created.
|
319
|
+
# Corresponds to the JSON property `createTime`
|
320
|
+
# @return [String]
|
321
|
+
attr_accessor :create_time
|
322
|
+
|
323
|
+
# The display name of the package.
|
324
|
+
# Corresponds to the JSON property `displayName`
|
325
|
+
# @return [String]
|
326
|
+
attr_accessor :display_name
|
327
|
+
|
328
|
+
# The name of the package, for example:
|
329
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
|
330
|
+
# Corresponds to the JSON property `name`
|
331
|
+
# @return [String]
|
332
|
+
attr_accessor :name
|
333
|
+
|
334
|
+
# The time when the package was last updated. This includes publishing a new
|
335
|
+
# version of the package.
|
336
|
+
# Corresponds to the JSON property `updateTime`
|
337
|
+
# @return [String]
|
338
|
+
attr_accessor :update_time
|
339
|
+
|
340
|
+
def initialize(**args)
|
341
|
+
update!(**args)
|
342
|
+
end
|
343
|
+
|
344
|
+
# Update properties of this object
|
345
|
+
def update!(**args)
|
346
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
347
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
348
|
+
@name = args[:name] if args.key?(:name)
|
349
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# A hash of file content.
|
354
|
+
class HashProp
|
355
|
+
include Google::Apis::Core::Hashable
|
356
|
+
|
357
|
+
# The algorithm used to compute the hash value.
|
358
|
+
# Corresponds to the JSON property `type`
|
359
|
+
# @return [String]
|
360
|
+
attr_accessor :type
|
361
|
+
|
362
|
+
# The hash value.
|
363
|
+
# Corresponds to the JSON property `value`
|
364
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
365
|
+
# @return [String]
|
366
|
+
attr_accessor :value
|
367
|
+
|
368
|
+
def initialize(**args)
|
369
|
+
update!(**args)
|
370
|
+
end
|
371
|
+
|
372
|
+
# Update properties of this object
|
373
|
+
def update!(**args)
|
374
|
+
@type = args[:type] if args.key?(:type)
|
375
|
+
@value = args[:value] if args.key?(:value)
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
# The response from listing files.
|
380
|
+
class ListFilesResponse
|
381
|
+
include Google::Apis::Core::Hashable
|
382
|
+
|
383
|
+
# The files returned.
|
384
|
+
# Corresponds to the JSON property `files`
|
385
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::File>]
|
386
|
+
attr_accessor :files
|
387
|
+
|
388
|
+
# The token to retrieve the next page of files, or empty if there are no
|
389
|
+
# more files to return.
|
390
|
+
# Corresponds to the JSON property `nextPageToken`
|
391
|
+
# @return [String]
|
392
|
+
attr_accessor :next_page_token
|
393
|
+
|
394
|
+
def initialize(**args)
|
395
|
+
update!(**args)
|
396
|
+
end
|
397
|
+
|
398
|
+
# Update properties of this object
|
399
|
+
def update!(**args)
|
400
|
+
@files = args[:files] if args.key?(:files)
|
401
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
# The response message for Locations.ListLocations.
|
406
|
+
class ListLocationsResponse
|
407
|
+
include Google::Apis::Core::Hashable
|
408
|
+
|
409
|
+
# A list of locations that matches the specified filter in the request.
|
410
|
+
# Corresponds to the JSON property `locations`
|
411
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Location>]
|
412
|
+
attr_accessor :locations
|
413
|
+
|
414
|
+
# The standard List next-page token.
|
415
|
+
# Corresponds to the JSON property `nextPageToken`
|
416
|
+
# @return [String]
|
417
|
+
attr_accessor :next_page_token
|
418
|
+
|
419
|
+
def initialize(**args)
|
420
|
+
update!(**args)
|
421
|
+
end
|
422
|
+
|
423
|
+
# Update properties of this object
|
424
|
+
def update!(**args)
|
425
|
+
@locations = args[:locations] if args.key?(:locations)
|
426
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
427
|
+
end
|
428
|
+
end
|
429
|
+
|
430
|
+
# The response message for Operations.ListOperations.
|
431
|
+
class ListOperationsResponse
|
432
|
+
include Google::Apis::Core::Hashable
|
433
|
+
|
434
|
+
# The standard List next-page token.
|
435
|
+
# Corresponds to the JSON property `nextPageToken`
|
436
|
+
# @return [String]
|
437
|
+
attr_accessor :next_page_token
|
438
|
+
|
439
|
+
# A list of operations that matches the specified filter in the request.
|
440
|
+
# Corresponds to the JSON property `operations`
|
441
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Operation>]
|
442
|
+
attr_accessor :operations
|
443
|
+
|
444
|
+
def initialize(**args)
|
445
|
+
update!(**args)
|
446
|
+
end
|
447
|
+
|
448
|
+
# Update properties of this object
|
449
|
+
def update!(**args)
|
450
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
451
|
+
@operations = args[:operations] if args.key?(:operations)
|
452
|
+
end
|
453
|
+
end
|
454
|
+
|
455
|
+
# The response from listing packages.
|
456
|
+
class ListPackagesResponse
|
457
|
+
include Google::Apis::Core::Hashable
|
458
|
+
|
459
|
+
# The token to retrieve the next page of packages, or empty if there are no
|
460
|
+
# more packages to return.
|
461
|
+
# Corresponds to the JSON property `nextPageToken`
|
462
|
+
# @return [String]
|
463
|
+
attr_accessor :next_page_token
|
464
|
+
|
465
|
+
# The packages returned.
|
466
|
+
# Corresponds to the JSON property `packages`
|
467
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Package>]
|
468
|
+
attr_accessor :packages
|
469
|
+
|
470
|
+
def initialize(**args)
|
471
|
+
update!(**args)
|
472
|
+
end
|
473
|
+
|
474
|
+
# Update properties of this object
|
475
|
+
def update!(**args)
|
476
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
477
|
+
@packages = args[:packages] if args.key?(:packages)
|
478
|
+
end
|
479
|
+
end
|
480
|
+
|
481
|
+
# The response from listing repositories.
|
482
|
+
class ListRepositoriesResponse
|
483
|
+
include Google::Apis::Core::Hashable
|
484
|
+
|
485
|
+
# The token to retrieve the next page of repositories, or empty if there are
|
486
|
+
# no more repositories to return.
|
487
|
+
# Corresponds to the JSON property `nextPageToken`
|
488
|
+
# @return [String]
|
489
|
+
attr_accessor :next_page_token
|
490
|
+
|
491
|
+
# The repositories returned.
|
492
|
+
# Corresponds to the JSON property `repositories`
|
493
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Repository>]
|
494
|
+
attr_accessor :repositories
|
495
|
+
|
496
|
+
def initialize(**args)
|
497
|
+
update!(**args)
|
498
|
+
end
|
499
|
+
|
500
|
+
# Update properties of this object
|
501
|
+
def update!(**args)
|
502
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
503
|
+
@repositories = args[:repositories] if args.key?(:repositories)
|
504
|
+
end
|
505
|
+
end
|
506
|
+
|
507
|
+
# The response from listing tags.
|
508
|
+
class ListTagsResponse
|
509
|
+
include Google::Apis::Core::Hashable
|
510
|
+
|
511
|
+
# The token to retrieve the next page of tags, or empty if there are no
|
512
|
+
# more tags to return.
|
513
|
+
# Corresponds to the JSON property `nextPageToken`
|
514
|
+
# @return [String]
|
515
|
+
attr_accessor :next_page_token
|
516
|
+
|
517
|
+
# The tags returned.
|
518
|
+
# Corresponds to the JSON property `tags`
|
519
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Tag>]
|
520
|
+
attr_accessor :tags
|
521
|
+
|
522
|
+
def initialize(**args)
|
523
|
+
update!(**args)
|
524
|
+
end
|
525
|
+
|
526
|
+
# Update properties of this object
|
527
|
+
def update!(**args)
|
528
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
529
|
+
@tags = args[:tags] if args.key?(:tags)
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
# The response from listing versions.
|
534
|
+
class ListVersionsResponse
|
535
|
+
include Google::Apis::Core::Hashable
|
536
|
+
|
537
|
+
# The token to retrieve the next page of versions, or empty if there are no
|
538
|
+
# more versions to return.
|
539
|
+
# Corresponds to the JSON property `nextPageToken`
|
540
|
+
# @return [String]
|
541
|
+
attr_accessor :next_page_token
|
542
|
+
|
543
|
+
# The versions returned.
|
544
|
+
# Corresponds to the JSON property `versions`
|
545
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Version>]
|
546
|
+
attr_accessor :versions
|
547
|
+
|
548
|
+
def initialize(**args)
|
549
|
+
update!(**args)
|
550
|
+
end
|
551
|
+
|
552
|
+
# Update properties of this object
|
553
|
+
def update!(**args)
|
554
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
555
|
+
@versions = args[:versions] if args.key?(:versions)
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
559
|
+
# A resource that represents Google Cloud Platform location.
|
560
|
+
class Location
|
561
|
+
include Google::Apis::Core::Hashable
|
562
|
+
|
563
|
+
# The friendly name for this location, typically a nearby city name.
|
564
|
+
# For example, "Tokyo".
|
565
|
+
# Corresponds to the JSON property `displayName`
|
566
|
+
# @return [String]
|
567
|
+
attr_accessor :display_name
|
568
|
+
|
569
|
+
# Cross-service attributes for the location. For example
|
570
|
+
# `"cloud.googleapis.com/region": "us-east1"`
|
571
|
+
# Corresponds to the JSON property `labels`
|
572
|
+
# @return [Hash<String,String>]
|
573
|
+
attr_accessor :labels
|
574
|
+
|
575
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
576
|
+
# Corresponds to the JSON property `locationId`
|
577
|
+
# @return [String]
|
578
|
+
attr_accessor :location_id
|
579
|
+
|
580
|
+
# Service-specific metadata. For example the available capacity at the given
|
581
|
+
# location.
|
582
|
+
# Corresponds to the JSON property `metadata`
|
583
|
+
# @return [Hash<String,Object>]
|
584
|
+
attr_accessor :metadata
|
585
|
+
|
586
|
+
# Resource name for the location, which may vary between implementations.
|
587
|
+
# For example: `"projects/example-project/locations/us-east1"`
|
588
|
+
# Corresponds to the JSON property `name`
|
589
|
+
# @return [String]
|
590
|
+
attr_accessor :name
|
591
|
+
|
592
|
+
def initialize(**args)
|
593
|
+
update!(**args)
|
594
|
+
end
|
595
|
+
|
596
|
+
# Update properties of this object
|
597
|
+
def update!(**args)
|
598
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
599
|
+
@labels = args[:labels] if args.key?(:labels)
|
600
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
601
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
602
|
+
@name = args[:name] if args.key?(:name)
|
603
|
+
end
|
604
|
+
end
|
605
|
+
|
606
|
+
# This resource represents a long-running operation that is the result of a
|
607
|
+
# network API call.
|
608
|
+
class Operation
|
609
|
+
include Google::Apis::Core::Hashable
|
610
|
+
|
611
|
+
# If the value is `false`, it means the operation is still in progress.
|
612
|
+
# If `true`, the operation is completed, and either `error` or `response` is
|
613
|
+
# available.
|
614
|
+
# Corresponds to the JSON property `done`
|
615
|
+
# @return [Boolean]
|
616
|
+
attr_accessor :done
|
617
|
+
alias_method :done?, :done
|
618
|
+
|
619
|
+
# The `Status` type defines a logical error model that is suitable for
|
620
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
621
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
622
|
+
# three pieces of data: error code, error message, and error details.
|
623
|
+
# You can find out more about this error model and how to work with it in the
|
624
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
625
|
+
# Corresponds to the JSON property `error`
|
626
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::Status]
|
627
|
+
attr_accessor :error
|
628
|
+
|
629
|
+
# Service-specific metadata associated with the operation. It typically
|
630
|
+
# contains progress information and common metadata such as create time.
|
631
|
+
# Some services might not provide such metadata. Any method that returns a
|
632
|
+
# long-running operation should document the metadata type, if any.
|
633
|
+
# Corresponds to the JSON property `metadata`
|
634
|
+
# @return [Hash<String,Object>]
|
635
|
+
attr_accessor :metadata
|
636
|
+
|
637
|
+
# The server-assigned name, which is only unique within the same service that
|
638
|
+
# originally returns it. If you use the default HTTP mapping, the
|
639
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
640
|
+
# Corresponds to the JSON property `name`
|
641
|
+
# @return [String]
|
642
|
+
attr_accessor :name
|
643
|
+
|
644
|
+
# The normal response of the operation in case of success. If the original
|
645
|
+
# method returns no data on success, such as `Delete`, the response is
|
646
|
+
# `google.protobuf.Empty`. If the original method is standard
|
647
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
648
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
649
|
+
# is the original method name. For example, if the original method name
|
650
|
+
# is `TakeSnapshot()`, the inferred response type is
|
651
|
+
# `TakeSnapshotResponse`.
|
652
|
+
# Corresponds to the JSON property `response`
|
653
|
+
# @return [Hash<String,Object>]
|
654
|
+
attr_accessor :response
|
655
|
+
|
656
|
+
def initialize(**args)
|
657
|
+
update!(**args)
|
658
|
+
end
|
659
|
+
|
660
|
+
# Update properties of this object
|
661
|
+
def update!(**args)
|
662
|
+
@done = args[:done] if args.key?(:done)
|
663
|
+
@error = args[:error] if args.key?(:error)
|
664
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
665
|
+
@name = args[:name] if args.key?(:name)
|
666
|
+
@response = args[:response] if args.key?(:response)
|
667
|
+
end
|
668
|
+
end
|
669
|
+
|
670
|
+
# Packages are named collections of versions.
|
671
|
+
class Package
|
672
|
+
include Google::Apis::Core::Hashable
|
673
|
+
|
674
|
+
# The time when the package was created.
|
675
|
+
# Corresponds to the JSON property `createTime`
|
676
|
+
# @return [String]
|
677
|
+
attr_accessor :create_time
|
678
|
+
|
679
|
+
# The display name of the package.
|
680
|
+
# Corresponds to the JSON property `displayName`
|
681
|
+
# @return [String]
|
682
|
+
attr_accessor :display_name
|
683
|
+
|
684
|
+
# The name of the package, for example:
|
685
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1".
|
686
|
+
# Corresponds to the JSON property `name`
|
687
|
+
# @return [String]
|
688
|
+
attr_accessor :name
|
689
|
+
|
690
|
+
# The time when the package was last updated. This includes publishing a new
|
691
|
+
# version of the package.
|
692
|
+
# Corresponds to the JSON property `updateTime`
|
693
|
+
# @return [String]
|
694
|
+
attr_accessor :update_time
|
695
|
+
|
696
|
+
def initialize(**args)
|
697
|
+
update!(**args)
|
698
|
+
end
|
699
|
+
|
700
|
+
# Update properties of this object
|
701
|
+
def update!(**args)
|
702
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
703
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
704
|
+
@name = args[:name] if args.key?(:name)
|
705
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
706
|
+
end
|
707
|
+
end
|
708
|
+
|
709
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
710
|
+
# controls for Google Cloud resources.
|
711
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
712
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
713
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
714
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
715
|
+
# custom role.
|
716
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
717
|
+
# `condition`, which is a logical expression that allows access to a resource
|
718
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
719
|
+
# based on attributes of the request, the resource, or both. To learn which
|
720
|
+
# resources support conditions in their IAM policies, see the
|
721
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
722
|
+
# policies).
|
723
|
+
# **JSON example:**
|
724
|
+
# `
|
725
|
+
# "bindings": [
|
726
|
+
# `
|
727
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
728
|
+
# "members": [
|
729
|
+
# "user:mike@example.com",
|
730
|
+
# "group:admins@example.com",
|
731
|
+
# "domain:google.com",
|
732
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
733
|
+
# ]
|
734
|
+
# `,
|
735
|
+
# `
|
736
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
737
|
+
# "members": [
|
738
|
+
# "user:eve@example.com"
|
739
|
+
# ],
|
740
|
+
# "condition": `
|
741
|
+
# "title": "expirable access",
|
742
|
+
# "description": "Does not grant access after Sep 2020",
|
743
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
744
|
+
# ",
|
745
|
+
# `
|
746
|
+
# `
|
747
|
+
# ],
|
748
|
+
# "etag": "BwWWja0YfJA=",
|
749
|
+
# "version": 3
|
750
|
+
# `
|
751
|
+
# **YAML example:**
|
752
|
+
# bindings:
|
753
|
+
# - members:
|
754
|
+
# - user:mike@example.com
|
755
|
+
# - group:admins@example.com
|
756
|
+
# - domain:google.com
|
757
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
758
|
+
# role: roles/resourcemanager.organizationAdmin
|
759
|
+
# - members:
|
760
|
+
# - user:eve@example.com
|
761
|
+
# role: roles/resourcemanager.organizationViewer
|
762
|
+
# condition:
|
763
|
+
# title: expirable access
|
764
|
+
# description: Does not grant access after Sep 2020
|
765
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
766
|
+
# - etag: BwWWja0YfJA=
|
767
|
+
# - version: 3
|
768
|
+
# For a description of IAM and its features, see the
|
769
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
770
|
+
class Policy
|
771
|
+
include Google::Apis::Core::Hashable
|
772
|
+
|
773
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
774
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
775
|
+
# of the `bindings` must contain at least one member.
|
776
|
+
# Corresponds to the JSON property `bindings`
|
777
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Binding>]
|
778
|
+
attr_accessor :bindings
|
779
|
+
|
780
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
781
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
782
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
783
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
784
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
785
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
786
|
+
# ensure that their change will be applied to the same version of the policy.
|
787
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
788
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
789
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
790
|
+
# the conditions in the version `3` policy are lost.
|
791
|
+
# Corresponds to the JSON property `etag`
|
792
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
793
|
+
# @return [String]
|
794
|
+
attr_accessor :etag
|
795
|
+
|
796
|
+
# Specifies the format of the policy.
|
797
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
798
|
+
# are rejected.
|
799
|
+
# Any operation that affects conditional role bindings must specify version
|
800
|
+
# `3`. This requirement applies to the following operations:
|
801
|
+
# * Getting a policy that includes a conditional role binding
|
802
|
+
# * Adding a conditional role binding to a policy
|
803
|
+
# * Changing a conditional role binding in a policy
|
804
|
+
# * Removing any role binding, with or without a condition, from a policy
|
805
|
+
# that includes conditions
|
806
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
807
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
808
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
809
|
+
# the conditions in the version `3` policy are lost.
|
810
|
+
# If a policy does not include any conditions, operations on that policy may
|
811
|
+
# specify any valid version or leave the field unset.
|
812
|
+
# To learn which resources support conditions in their IAM policies, see the
|
813
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
814
|
+
# policies).
|
815
|
+
# Corresponds to the JSON property `version`
|
816
|
+
# @return [Fixnum]
|
817
|
+
attr_accessor :version
|
818
|
+
|
819
|
+
def initialize(**args)
|
820
|
+
update!(**args)
|
821
|
+
end
|
822
|
+
|
823
|
+
# Update properties of this object
|
824
|
+
def update!(**args)
|
825
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
826
|
+
@etag = args[:etag] if args.key?(:etag)
|
827
|
+
@version = args[:version] if args.key?(:version)
|
828
|
+
end
|
829
|
+
end
|
830
|
+
|
831
|
+
# A Repository for storing artifacts with a specific format.
|
832
|
+
class Repository
|
833
|
+
include Google::Apis::Core::Hashable
|
834
|
+
|
835
|
+
# The time when the repository was created.
|
836
|
+
# Corresponds to the JSON property `createTime`
|
837
|
+
# @return [String]
|
838
|
+
attr_accessor :create_time
|
839
|
+
|
840
|
+
# The user-provided description of the repository.
|
841
|
+
# Corresponds to the JSON property `description`
|
842
|
+
# @return [String]
|
843
|
+
attr_accessor :description
|
844
|
+
|
845
|
+
# The format of packages that are stored in the repository.
|
846
|
+
# Corresponds to the JSON property `format`
|
847
|
+
# @return [String]
|
848
|
+
attr_accessor :format
|
849
|
+
|
850
|
+
# The Cloud KMS resource name of the customer managed encryption key that’s
|
851
|
+
# used to encrypt the contents of the Repository. Has the form:
|
852
|
+
# `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
|
853
|
+
# This value may not be changed after the Repository has been created.
|
854
|
+
# Corresponds to the JSON property `kmsKeyName`
|
855
|
+
# @return [String]
|
856
|
+
attr_accessor :kms_key_name
|
857
|
+
|
858
|
+
# Labels with user-defined metadata.
|
859
|
+
# This field may contain up to 64 entries. Label keys and values may be no
|
860
|
+
# longer than 63 characters. Label keys must begin with a lowercase letter
|
861
|
+
# and may only contain lowercase letters, numeric characters, underscores,
|
862
|
+
# and dashes.
|
863
|
+
# Corresponds to the JSON property `labels`
|
864
|
+
# @return [Hash<String,String>]
|
865
|
+
attr_accessor :labels
|
866
|
+
|
867
|
+
# The name of the repository, for example:
|
868
|
+
# "projects/p1/locations/us-central1/repositories/repo1".
|
869
|
+
# Corresponds to the JSON property `name`
|
870
|
+
# @return [String]
|
871
|
+
attr_accessor :name
|
872
|
+
|
873
|
+
# The time when the repository was last updated.
|
874
|
+
# Corresponds to the JSON property `updateTime`
|
875
|
+
# @return [String]
|
876
|
+
attr_accessor :update_time
|
877
|
+
|
878
|
+
def initialize(**args)
|
879
|
+
update!(**args)
|
880
|
+
end
|
881
|
+
|
882
|
+
# Update properties of this object
|
883
|
+
def update!(**args)
|
884
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
885
|
+
@description = args[:description] if args.key?(:description)
|
886
|
+
@format = args[:format] if args.key?(:format)
|
887
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
888
|
+
@labels = args[:labels] if args.key?(:labels)
|
889
|
+
@name = args[:name] if args.key?(:name)
|
890
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
891
|
+
end
|
892
|
+
end
|
893
|
+
|
894
|
+
# Request message for `SetIamPolicy` method.
|
895
|
+
class SetIamPolicyRequest
|
896
|
+
include Google::Apis::Core::Hashable
|
897
|
+
|
898
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
899
|
+
# controls for Google Cloud resources.
|
900
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
901
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
902
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
903
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
904
|
+
# custom role.
|
905
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
906
|
+
# `condition`, which is a logical expression that allows access to a resource
|
907
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
908
|
+
# based on attributes of the request, the resource, or both. To learn which
|
909
|
+
# resources support conditions in their IAM policies, see the
|
910
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
911
|
+
# policies).
|
912
|
+
# **JSON example:**
|
913
|
+
# `
|
914
|
+
# "bindings": [
|
915
|
+
# `
|
916
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
917
|
+
# "members": [
|
918
|
+
# "user:mike@example.com",
|
919
|
+
# "group:admins@example.com",
|
920
|
+
# "domain:google.com",
|
921
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
922
|
+
# ]
|
923
|
+
# `,
|
924
|
+
# `
|
925
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
926
|
+
# "members": [
|
927
|
+
# "user:eve@example.com"
|
928
|
+
# ],
|
929
|
+
# "condition": `
|
930
|
+
# "title": "expirable access",
|
931
|
+
# "description": "Does not grant access after Sep 2020",
|
932
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
933
|
+
# ",
|
934
|
+
# `
|
935
|
+
# `
|
936
|
+
# ],
|
937
|
+
# "etag": "BwWWja0YfJA=",
|
938
|
+
# "version": 3
|
939
|
+
# `
|
940
|
+
# **YAML example:**
|
941
|
+
# bindings:
|
942
|
+
# - members:
|
943
|
+
# - user:mike@example.com
|
944
|
+
# - group:admins@example.com
|
945
|
+
# - domain:google.com
|
946
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
947
|
+
# role: roles/resourcemanager.organizationAdmin
|
948
|
+
# - members:
|
949
|
+
# - user:eve@example.com
|
950
|
+
# role: roles/resourcemanager.organizationViewer
|
951
|
+
# condition:
|
952
|
+
# title: expirable access
|
953
|
+
# description: Does not grant access after Sep 2020
|
954
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
955
|
+
# - etag: BwWWja0YfJA=
|
956
|
+
# - version: 3
|
957
|
+
# For a description of IAM and its features, see the
|
958
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
959
|
+
# Corresponds to the JSON property `policy`
|
960
|
+
# @return [Google::Apis::ArtifactregistryV1beta1::Policy]
|
961
|
+
attr_accessor :policy
|
962
|
+
|
963
|
+
def initialize(**args)
|
964
|
+
update!(**args)
|
965
|
+
end
|
966
|
+
|
967
|
+
# Update properties of this object
|
968
|
+
def update!(**args)
|
969
|
+
@policy = args[:policy] if args.key?(:policy)
|
970
|
+
end
|
971
|
+
end
|
972
|
+
|
973
|
+
# The `Status` type defines a logical error model that is suitable for
|
974
|
+
# different programming environments, including REST APIs and RPC APIs. It is
|
975
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
976
|
+
# three pieces of data: error code, error message, and error details.
|
977
|
+
# You can find out more about this error model and how to work with it in the
|
978
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
979
|
+
class Status
|
980
|
+
include Google::Apis::Core::Hashable
|
981
|
+
|
982
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
983
|
+
# Corresponds to the JSON property `code`
|
984
|
+
# @return [Fixnum]
|
985
|
+
attr_accessor :code
|
986
|
+
|
987
|
+
# A list of messages that carry the error details. There is a common set of
|
988
|
+
# message types for APIs to use.
|
989
|
+
# Corresponds to the JSON property `details`
|
990
|
+
# @return [Array<Hash<String,Object>>]
|
991
|
+
attr_accessor :details
|
992
|
+
|
993
|
+
# A developer-facing error message, which should be in English. Any
|
994
|
+
# user-facing error message should be localized and sent in the
|
995
|
+
# google.rpc.Status.details field, or localized by the client.
|
996
|
+
# Corresponds to the JSON property `message`
|
997
|
+
# @return [String]
|
998
|
+
attr_accessor :message
|
999
|
+
|
1000
|
+
def initialize(**args)
|
1001
|
+
update!(**args)
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
# Update properties of this object
|
1005
|
+
def update!(**args)
|
1006
|
+
@code = args[:code] if args.key?(:code)
|
1007
|
+
@details = args[:details] if args.key?(:details)
|
1008
|
+
@message = args[:message] if args.key?(:message)
|
1009
|
+
end
|
1010
|
+
end
|
1011
|
+
|
1012
|
+
# Tags point to a version and represent an alternative name that can be used
|
1013
|
+
# to access the version.
|
1014
|
+
class Tag
|
1015
|
+
include Google::Apis::Core::Hashable
|
1016
|
+
|
1017
|
+
# The name of the tag, for example:
|
1018
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/tags/tag1".
|
1019
|
+
# Corresponds to the JSON property `name`
|
1020
|
+
# @return [String]
|
1021
|
+
attr_accessor :name
|
1022
|
+
|
1023
|
+
# The name of the version the tag refers to, for example:
|
1024
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/
|
1025
|
+
# sha256:5243811"
|
1026
|
+
# Corresponds to the JSON property `version`
|
1027
|
+
# @return [String]
|
1028
|
+
attr_accessor :version
|
1029
|
+
|
1030
|
+
def initialize(**args)
|
1031
|
+
update!(**args)
|
1032
|
+
end
|
1033
|
+
|
1034
|
+
# Update properties of this object
|
1035
|
+
def update!(**args)
|
1036
|
+
@name = args[:name] if args.key?(:name)
|
1037
|
+
@version = args[:version] if args.key?(:version)
|
1038
|
+
end
|
1039
|
+
end
|
1040
|
+
|
1041
|
+
# Request message for `TestIamPermissions` method.
|
1042
|
+
class TestIamPermissionsRequest
|
1043
|
+
include Google::Apis::Core::Hashable
|
1044
|
+
|
1045
|
+
# The set of permissions to check for the `resource`. Permissions with
|
1046
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
1047
|
+
# information see
|
1048
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1049
|
+
# Corresponds to the JSON property `permissions`
|
1050
|
+
# @return [Array<String>]
|
1051
|
+
attr_accessor :permissions
|
1052
|
+
|
1053
|
+
def initialize(**args)
|
1054
|
+
update!(**args)
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# Update properties of this object
|
1058
|
+
def update!(**args)
|
1059
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
1060
|
+
end
|
1061
|
+
end
|
1062
|
+
|
1063
|
+
# Response message for `TestIamPermissions` method.
|
1064
|
+
class TestIamPermissionsResponse
|
1065
|
+
include Google::Apis::Core::Hashable
|
1066
|
+
|
1067
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
1068
|
+
# allowed.
|
1069
|
+
# Corresponds to the JSON property `permissions`
|
1070
|
+
# @return [Array<String>]
|
1071
|
+
attr_accessor :permissions
|
1072
|
+
|
1073
|
+
def initialize(**args)
|
1074
|
+
update!(**args)
|
1075
|
+
end
|
1076
|
+
|
1077
|
+
# Update properties of this object
|
1078
|
+
def update!(**args)
|
1079
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
1080
|
+
end
|
1081
|
+
end
|
1082
|
+
|
1083
|
+
# The body of a version resource. A version resource represents a
|
1084
|
+
# collection of components, such as files and other data. This may correspond
|
1085
|
+
# to a version in many package management schemes.
|
1086
|
+
class Version
|
1087
|
+
include Google::Apis::Core::Hashable
|
1088
|
+
|
1089
|
+
# The time when the version was created.
|
1090
|
+
# Corresponds to the JSON property `createTime`
|
1091
|
+
# @return [String]
|
1092
|
+
attr_accessor :create_time
|
1093
|
+
|
1094
|
+
# Optional. Description of the version, as specified in its metadata.
|
1095
|
+
# Corresponds to the JSON property `description`
|
1096
|
+
# @return [String]
|
1097
|
+
attr_accessor :description
|
1098
|
+
|
1099
|
+
# The name of the version, for example:
|
1100
|
+
# "projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/
|
1101
|
+
# art1".
|
1102
|
+
# Corresponds to the JSON property `name`
|
1103
|
+
# @return [String]
|
1104
|
+
attr_accessor :name
|
1105
|
+
|
1106
|
+
# Output only. A list of related tags. Will contain up to 100 tags that
|
1107
|
+
# reference this version.
|
1108
|
+
# Corresponds to the JSON property `relatedTags`
|
1109
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta1::Tag>]
|
1110
|
+
attr_accessor :related_tags
|
1111
|
+
|
1112
|
+
# The time when the version was last updated.
|
1113
|
+
# Corresponds to the JSON property `updateTime`
|
1114
|
+
# @return [String]
|
1115
|
+
attr_accessor :update_time
|
1116
|
+
|
1117
|
+
def initialize(**args)
|
1118
|
+
update!(**args)
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
# Update properties of this object
|
1122
|
+
def update!(**args)
|
1123
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1124
|
+
@description = args[:description] if args.key?(:description)
|
1125
|
+
@name = args[:name] if args.key?(:name)
|
1126
|
+
@related_tags = args[:related_tags] if args.key?(:related_tags)
|
1127
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1128
|
+
end
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
end
|