google-api-client 0.50.0 → 0.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release-please.yml +3 -1
- data/CHANGELOG.md +127 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +50 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +18 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1beta.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +24 -8
- data/generated/google/apis/analyticsdata_v1alpha.rb +2 -2
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +93 -28
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +2 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +5 -5
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +4 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +69 -4
- data/generated/google/apis/androidmanagement_v1/representations.rb +19 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -4
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +7 -7
- data/generated/google/apis/apigee_v1/service.rb +8 -7
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +8 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +4 -1
- data/generated/google/apis/artifactregistry_v1beta2.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta2/classes.rb +1037 -0
- data/generated/google/apis/artifactregistry_v1beta2/representations.rb +443 -0
- data/generated/google/apis/artifactregistry_v1beta2/service.rb +944 -0
- data/generated/google/apis/{assuredworkloads_v1beta1.rb → assuredworkloads_v1.rb} +6 -6
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/classes.rb +49 -137
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/representations.rb +27 -87
- data/generated/google/apis/{assuredworkloads_v1beta1 → assuredworkloads_v1}/service.rb +46 -46
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +0 -6
- data/generated/google/apis/binaryauthorization_v1/representations.rb +0 -1
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -7
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +0 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +176 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +6 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/service.rb +1 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/service.rb +8 -4
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +8 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +0 -6
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -5
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +0 -1
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +0 -6
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +0 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +123 -0
- data/generated/google/apis/composer_v1/representations.rb +49 -0
- data/generated/google/apis/composer_v1/service.rb +19 -15
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +109 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +46 -0
- data/generated/google/apis/composer_v1beta1/service.rb +39 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +7 -2
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/compute_v1/service.rb +691 -544
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +0 -6
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +2 -7
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +0 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -4
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +175 -4
- data/generated/google/apis/content_v2_1/representations.rb +78 -0
- data/generated/google/apis/content_v2_1/service.rb +179 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +0 -6
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +0 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +17 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +78 -6
- data/generated/google/apis/dataproc_v1/representations.rb +22 -1
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -6
- data/generated/google/apis/dataproc_v1beta2/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +0 -6
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v2/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2/service.rb +12 -4
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +13 -650
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v2beta1/service.rb +496 -32
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +15 -647
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +1 -299
- data/generated/google/apis/dialogflow_v3beta1/service.rb +10 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +97 -3
- data/generated/google/apis/displayvideo_v1/representations.rb +45 -0
- data/generated/google/apis/displayvideo_v1/service.rb +103 -39
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +6 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +6 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +4 -1
- data/generated/google/apis/drive_v2/service.rb +24 -56
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +4 -1
- data/generated/google/apis/drive_v3/service.rb +14 -30
- data/generated/google/apis/eventarc_v1beta1.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +0 -6
- data/generated/google/apis/eventarc_v1beta1/representations.rb +0 -1
- data/generated/google/apis/firebasedatabase_v1beta.rb +44 -0
- data/generated/google/apis/firebasedatabase_v1beta/classes.rb +130 -0
- data/generated/google/apis/firebasedatabase_v1beta/representations.rb +82 -0
- data/generated/google/apis/firebasedatabase_v1beta/service.rb +292 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +67 -14
- data/generated/google/apis/games_v1/representations.rb +31 -2
- data/generated/google/apis/games_v1/service.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +9 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +18 -17
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -17
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +101 -0
- data/generated/google/apis/iam_v1/representations.rb +33 -0
- data/generated/google/apis/iam_v1/service.rb +62 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +9 -807
- data/generated/google/apis/jobs_v3/representations.rb +0 -272
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -768
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +0 -257
- data/generated/google/apis/{jobs_v2.rb → jobs_v4.rb} +6 -6
- data/generated/google/apis/jobs_v4/classes.rb +2699 -0
- data/generated/google/apis/jobs_v4/representations.rb +934 -0
- data/generated/google/apis/jobs_v4/service.rb +903 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +26 -8
- data/generated/google/apis/licensing_v1/representations.rb +12 -0
- data/generated/google/apis/licensing_v1/service.rb +32 -29
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +25 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +15 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +5 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +16 -11
- data/generated/google/apis/managedidentities_v1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +18 -12
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +0 -1
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +4 -7
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +0 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +0 -6
- data/generated/google/apis/ml_v1/representations.rb +0 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +5 -4
- data/generated/google/apis/monitoring_v3/service.rb +5 -4
- data/generated/google/apis/notebooks_v1.rb +1 -1
- data/generated/google/apis/notebooks_v1/classes.rb +0 -6
- data/generated/google/apis/notebooks_v1/representations.rb +0 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1/representations.rb +168 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +419 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +168 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -3
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +6 -2
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1/representations.rb +0 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +0 -6
- data/generated/google/apis/pubsub_v1beta2/representations.rb +0 -1
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +2 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -2
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -16
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -16
- data/generated/google/apis/reseller_v1.rb +4 -4
- data/generated/google/apis/reseller_v1/service.rb +5 -5
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +2 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +91 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +37 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1448 -414
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +32 -0
- data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta2/classes.rb +68 -0
- data/generated/google/apis/securitycenter_v1beta2/representations.rb +32 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +0 -6
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +56 -3
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +36 -3
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +17 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +309 -0
- data/generated/google/apis/sheets_v4/representations.rb +99 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +9 -6
- data/generated/google/apis/spanner_v1/representations.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +22 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +90 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +34 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +7 -0
- data/generated/google/apis/storage_v1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +14 -16
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +76 -0
- data/generated/google/apis/vault_v1/representations.rb +45 -0
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +59 -4
- data/generated/google/apis/vectortile_v1/representations.rb +19 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +15 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +65 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +15 -0
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +19 -11
- data/generated/google/apis/jobs_v2/classes.rb +0 -4012
- data/generated/google/apis/jobs_v2/representations.rb +0 -1396
- data/generated/google/apis/jobs_v2/service.rb +0 -693
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class CommonCriteriaModeInfo
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class ComplianceRule
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -433,6 +439,7 @@ module Google
|
|
433
439
|
class AdvancedSecurityOverrides
|
434
440
|
# @private
|
435
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
442
|
+
property :common_criteria_mode, as: 'commonCriteriaMode'
|
436
443
|
property :untrusted_apps_policy, as: 'untrustedAppsPolicy'
|
437
444
|
end
|
438
445
|
end
|
@@ -495,6 +502,7 @@ module Google
|
|
495
502
|
# @private
|
496
503
|
class Representation < Google::Apis::Core::JsonRepresentation
|
497
504
|
collection :accessible_track_ids, as: 'accessibleTrackIds'
|
505
|
+
property :auto_update_mode, as: 'autoUpdateMode'
|
498
506
|
property :connected_work_and_personal_app, as: 'connectedWorkAndPersonalApp'
|
499
507
|
property :default_permission_policy, as: 'defaultPermissionPolicy'
|
500
508
|
collection :delegated_scopes, as: 'delegatedScopes'
|
@@ -567,6 +575,13 @@ module Google
|
|
567
575
|
end
|
568
576
|
end
|
569
577
|
|
578
|
+
class CommonCriteriaModeInfo
|
579
|
+
# @private
|
580
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
581
|
+
property :common_criteria_mode_status, as: 'commonCriteriaModeStatus'
|
582
|
+
end
|
583
|
+
end
|
584
|
+
|
570
585
|
class ComplianceRule
|
571
586
|
# @private
|
572
587
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -597,6 +612,8 @@ module Google
|
|
597
612
|
property :applied_policy_name, as: 'appliedPolicyName'
|
598
613
|
property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion'
|
599
614
|
property :applied_state, as: 'appliedState'
|
615
|
+
property :common_criteria_mode_info, as: 'commonCriteriaModeInfo', class: Google::Apis::AndroidmanagementV1::CommonCriteriaModeInfo, decorator: Google::Apis::AndroidmanagementV1::CommonCriteriaModeInfo::Representation
|
616
|
+
|
600
617
|
property :device_settings, as: 'deviceSettings', class: Google::Apis::AndroidmanagementV1::DeviceSettings, decorator: Google::Apis::AndroidmanagementV1::DeviceSettings::Representation
|
601
618
|
|
602
619
|
property :disabled_reason, as: 'disabledReason', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
@@ -994,6 +1011,7 @@ module Google
|
|
994
1011
|
property :app_auto_update_policy, as: 'appAutoUpdatePolicy'
|
995
1012
|
collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
|
996
1013
|
|
1014
|
+
property :auto_date_and_time_zone, as: 'autoDateAndTimeZone'
|
997
1015
|
property :auto_time_required, as: 'autoTimeRequired'
|
998
1016
|
property :block_applications_enabled, as: 'blockApplicationsEnabled'
|
999
1017
|
property :bluetooth_config_disabled, as: 'bluetoothConfigDisabled'
|
@@ -1199,6 +1217,7 @@ module Google
|
|
1199
1217
|
property :application_reporting_settings, as: 'applicationReportingSettings', class: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings, decorator: Google::Apis::AndroidmanagementV1::ApplicationReportingSettings::Representation
|
1200
1218
|
|
1201
1219
|
property :application_reports_enabled, as: 'applicationReportsEnabled'
|
1220
|
+
property :common_criteria_mode_enabled, as: 'commonCriteriaModeEnabled'
|
1202
1221
|
property :device_settings_enabled, as: 'deviceSettingsEnabled'
|
1203
1222
|
property :display_info_enabled, as: 'displayInfoEnabled'
|
1204
1223
|
property :hardware_status_enabled, as: 'hardwareStatusEnabled'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201125'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -2231,7 +2231,7 @@ module Google
|
|
2231
2231
|
# Creates an APK which is suitable for inclusion in a system image from an
|
2232
2232
|
# already uploaded Android App Bundle.
|
2233
2233
|
# @param [String] package_name
|
2234
|
-
#
|
2234
|
+
# Package name of the app.
|
2235
2235
|
# @param [Fixnum] version_code
|
2236
2236
|
# The version code of the App Bundle.
|
2237
2237
|
# @param [Google::Apis::AndroidpublisherV3::Variant] variant_object
|
@@ -2268,7 +2268,7 @@ module Google
|
|
2268
2268
|
# Downloads a previously created system APK which is suitable for inclusion in a
|
2269
2269
|
# system image.
|
2270
2270
|
# @param [String] package_name
|
2271
|
-
#
|
2271
|
+
# Package name of the app.
|
2272
2272
|
# @param [Fixnum] version_code
|
2273
2273
|
# The version code of the App Bundle.
|
2274
2274
|
# @param [Fixnum] variant_id
|
@@ -2309,7 +2309,7 @@ module Google
|
|
2309
2309
|
|
2310
2310
|
# Returns a previously created system APK variant.
|
2311
2311
|
# @param [String] package_name
|
2312
|
-
#
|
2312
|
+
# Package name of the app.
|
2313
2313
|
# @param [Fixnum] version_code
|
2314
2314
|
# The version code of the App Bundle.
|
2315
2315
|
# @param [Fixnum] variant_id
|
@@ -2345,7 +2345,7 @@ module Google
|
|
2345
2345
|
|
2346
2346
|
# Returns the list of previously created system APK variants.
|
2347
2347
|
# @param [String] package_name
|
2348
|
-
#
|
2348
|
+
# Package name of the app.
|
2349
2349
|
# @param [Fixnum] version_code
|
2350
2350
|
# The version code of the App Bundle.
|
2351
2351
|
# @param [String] fields
|
@@ -29,7 +29,7 @@ module Google
|
|
29
29
|
# @see https://cloud.google.com/apigee-api-management/
|
30
30
|
module ApigeeV1
|
31
31
|
VERSION = 'V1'
|
32
|
-
REVISION = '
|
32
|
+
REVISION = '20201117'
|
33
33
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1540,17 +1540,17 @@ module Google
|
|
1540
1540
|
end
|
1541
1541
|
end
|
1542
1542
|
|
1543
|
-
# Data
|
1543
|
+
# Data collector configuration.
|
1544
1544
|
class GoogleCloudApigeeV1DataCollector
|
1545
1545
|
include Google::Apis::Core::Hashable
|
1546
1546
|
|
1547
|
-
# Output only. The time at which the
|
1547
|
+
# Output only. The time at which the data collector was created in milliseconds
|
1548
1548
|
# since the epoch.
|
1549
1549
|
# Corresponds to the JSON property `createdAt`
|
1550
1550
|
# @return [Fixnum]
|
1551
1551
|
attr_accessor :created_at
|
1552
1552
|
|
1553
|
-
# A description of the
|
1553
|
+
# A description of the data collector.
|
1554
1554
|
# Corresponds to the JSON property `description`
|
1555
1555
|
# @return [String]
|
1556
1556
|
attr_accessor :description
|
@@ -1561,12 +1561,12 @@ module Google
|
|
1561
1561
|
# @return [Fixnum]
|
1562
1562
|
attr_accessor :last_modified_at
|
1563
1563
|
|
1564
|
-
# ID of the
|
1564
|
+
# ID of the data collector. Must begin with `dc_`.
|
1565
1565
|
# Corresponds to the JSON property `name`
|
1566
1566
|
# @return [String]
|
1567
1567
|
attr_accessor :name
|
1568
1568
|
|
1569
|
-
# Immutable. The type of data this
|
1569
|
+
# Immutable. The type of data this data collector will collect.
|
1570
1570
|
# Corresponds to the JSON property `type`
|
1571
1571
|
# @return [String]
|
1572
1572
|
attr_accessor :type
|
@@ -3199,7 +3199,7 @@ module Google
|
|
3199
3199
|
attr_accessor :deployed_revisions
|
3200
3200
|
|
3201
3201
|
# The current routes deployed in the ingress routing table. A route which is
|
3202
|
-
# missing will
|
3202
|
+
# missing will appear in missing_routes.
|
3203
3203
|
# Corresponds to the JSON property `deployedRoutes`
|
3204
3204
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute>]
|
3205
3205
|
attr_accessor :deployed_routes
|
@@ -3530,7 +3530,7 @@ module Google
|
|
3530
3530
|
class GoogleCloudApigeeV1ListDataCollectorsResponse
|
3531
3531
|
include Google::Apis::Core::Hashable
|
3532
3532
|
|
3533
|
-
# Data
|
3533
|
+
# Data collectors in the specified organization.
|
3534
3534
|
# Corresponds to the JSON property `dataCollectors`
|
3535
3535
|
# @return [Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector>]
|
3536
3536
|
attr_accessor :data_collectors
|
@@ -1432,11 +1432,12 @@ module Google
|
|
1432
1432
|
|
1433
1433
|
# Creates a new data collector.
|
1434
1434
|
# @param [String] parent
|
1435
|
-
# Required. Name of the organization in which to create the
|
1435
|
+
# Required. Name of the organization in which to create the data collector in
|
1436
1436
|
# the following format: `organizations/`org``.
|
1437
1437
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] google_cloud_apigee_v1_data_collector_object
|
1438
1438
|
# @param [String] data_collector_id
|
1439
|
-
# ID of the
|
1439
|
+
# ID of the data collector. Overrides any ID in the data collector resource.
|
1440
|
+
# Must begin with `dc_`.
|
1440
1441
|
# @param [String] fields
|
1441
1442
|
# Selector specifying which fields to include in a partial response.
|
1442
1443
|
# @param [String] quota_user
|
@@ -1469,7 +1470,7 @@ module Google
|
|
1469
1470
|
|
1470
1471
|
# Deletes a data collector.
|
1471
1472
|
# @param [String] name
|
1472
|
-
# Required. Name of the
|
1473
|
+
# Required. Name of the data collector in the following format: `organizations/`
|
1473
1474
|
# org`/datacollectors/`data_collector_id``.
|
1474
1475
|
# @param [String] fields
|
1475
1476
|
# Selector specifying which fields to include in a partial response.
|
@@ -1500,7 +1501,7 @@ module Google
|
|
1500
1501
|
|
1501
1502
|
# Gets a data collector.
|
1502
1503
|
# @param [String] name
|
1503
|
-
# Required. Name of the
|
1504
|
+
# Required. Name of the data collector in the following format: `organizations/`
|
1504
1505
|
# org`/datacollectors/`data_collector_id``.
|
1505
1506
|
# @param [String] fields
|
1506
1507
|
# Selector specifying which fields to include in a partial response.
|
@@ -1531,10 +1532,10 @@ module Google
|
|
1531
1532
|
|
1532
1533
|
# Lists all data collectors.
|
1533
1534
|
# @param [String] parent
|
1534
|
-
# Required. Name of the organization for which to list
|
1535
|
+
# Required. Name of the organization for which to list data collectors in the
|
1535
1536
|
# following format: `organizations/`org``.
|
1536
1537
|
# @param [Fixnum] page_size
|
1537
|
-
# Maximum number of
|
1538
|
+
# Maximum number of data collectors to return. The page size defaults to 25.
|
1538
1539
|
# @param [String] page_token
|
1539
1540
|
# Page token, returned from a previous ListDataCollectors call, that you can use
|
1540
1541
|
# to retrieve the next page.
|
@@ -1569,7 +1570,7 @@ module Google
|
|
1569
1570
|
|
1570
1571
|
# Updates a data collector.
|
1571
1572
|
# @param [String] name
|
1572
|
-
# Required. Name of the
|
1573
|
+
# Required. Name of the data collector in the following format: `organizations/`
|
1573
1574
|
# org`/datacollectors/`data_collector_id``.
|
1574
1575
|
# @param [Google::Apis::ApigeeV1::GoogleCloudApigeeV1DataCollector] google_cloud_apigee_v1_data_collector_object
|
1575
1576
|
# @param [String] update_mask
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
26
26
|
module AppengineV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201114'
|
29
29
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -2728,6 +2728,13 @@ module Google
|
|
2728
2728
|
# @return [Google::Apis::AppengineV1beta::ApiConfigHandler]
|
2729
2729
|
attr_accessor :api_config
|
2730
2730
|
|
2731
|
+
# app_engine_apis allows Second Generation runtimes to access the App Engine
|
2732
|
+
# APIs.
|
2733
|
+
# Corresponds to the JSON property `appEngineApis`
|
2734
|
+
# @return [Boolean]
|
2735
|
+
attr_accessor :app_engine_apis
|
2736
|
+
alias_method :app_engine_apis?, :app_engine_apis
|
2737
|
+
|
2731
2738
|
# Automatic scaling is based on request rate, response latencies, and other
|
2732
2739
|
# application metrics.
|
2733
2740
|
# Corresponds to the JSON property `automaticScaling`
|
@@ -2963,6 +2970,7 @@ module Google
|
|
2963
2970
|
# Update properties of this object
|
2964
2971
|
def update!(**args)
|
2965
2972
|
@api_config = args[:api_config] if args.key?(:api_config)
|
2973
|
+
@app_engine_apis = args[:app_engine_apis] if args.key?(:app_engine_apis)
|
2966
2974
|
@automatic_scaling = args[:automatic_scaling] if args.key?(:automatic_scaling)
|
2967
2975
|
@basic_scaling = args[:basic_scaling] if args.key?(:basic_scaling)
|
2968
2976
|
@beta_settings = args[:beta_settings] if args.key?(:beta_settings)
|
@@ -1158,6 +1158,7 @@ module Google
|
|
1158
1158
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1159
1159
|
property :api_config, as: 'apiConfig', class: Google::Apis::AppengineV1beta::ApiConfigHandler, decorator: Google::Apis::AppengineV1beta::ApiConfigHandler::Representation
|
1160
1160
|
|
1161
|
+
property :app_engine_apis, as: 'appEngineApis'
|
1161
1162
|
property :automatic_scaling, as: 'automaticScaling', class: Google::Apis::AppengineV1beta::AutomaticScaling, decorator: Google::Apis::AppengineV1beta::AutomaticScaling::Representation
|
1162
1163
|
|
1163
1164
|
property :basic_scaling, as: 'basicScaling', class: Google::Apis::AppengineV1beta::BasicScaling, decorator: Google::Apis::AppengineV1beta::BasicScaling::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://tables.area120.google.com
|
26
26
|
module Area120tablesV1alpha1
|
27
27
|
VERSION = 'V1alpha1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201201'
|
29
29
|
|
30
30
|
# See, edit, create, and delete all of your Google Drive files
|
31
31
|
AUTH_DRIVE = 'https://www.googleapis.com/auth/drive'
|
@@ -41,6 +41,9 @@ module Google
|
|
41
41
|
|
42
42
|
# View your Google Spreadsheets
|
43
43
|
AUTH_SPREADSHEETS_READONLY = 'https://www.googleapis.com/auth/spreadsheets.readonly'
|
44
|
+
|
45
|
+
# See, edit, create, and delete your tables in Tables by Area 120
|
46
|
+
AUTH_TABLES = 'https://www.googleapis.com/auth/tables'
|
44
47
|
end
|
45
48
|
end
|
46
49
|
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_v1beta2/service.rb'
|
16
|
+
require 'google/apis/artifactregistry_v1beta2/classes.rb'
|
17
|
+
require 'google/apis/artifactregistry_v1beta2/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 ArtifactregistryV1beta2
|
28
|
+
VERSION = 'V1beta2'
|
29
|
+
REVISION = '20201107'
|
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,1037 @@
|
|
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 ArtifactregistryV1beta2
|
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) syntax.
|
30
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
31
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
32
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
33
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
34
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
35
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
36
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
37
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
38
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
39
|
+
# string" description: "Create a notification string with a timestamp."
|
40
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
41
|
+
# exact variables and functions that may be referenced within an expression are
|
42
|
+
# determined by the service that evaluates it. See the service documentation for
|
43
|
+
# additional information.
|
44
|
+
# Corresponds to the JSON property `condition`
|
45
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Expr]
|
46
|
+
attr_accessor :condition
|
47
|
+
|
48
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
49
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
50
|
+
# that represents anyone who is on the internet; with or without a Google
|
51
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
52
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
53
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
54
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
55
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
56
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
57
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
58
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
59
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
60
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
61
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
62
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
63
|
+
# identifier) representing a service account that has been recently deleted. For
|
64
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
65
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
66
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
67
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
68
|
+
# identifier) representing a Google group that has been recently deleted. For
|
69
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
70
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
71
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
72
|
+
# primary) that represents all the users of that domain. For example, `google.
|
73
|
+
# com` or `example.com`.
|
74
|
+
# Corresponds to the JSON property `members`
|
75
|
+
# @return [Array<String>]
|
76
|
+
attr_accessor :members
|
77
|
+
|
78
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
79
|
+
# , or `roles/owner`.
|
80
|
+
# Corresponds to the JSON property `role`
|
81
|
+
# @return [String]
|
82
|
+
attr_accessor :role
|
83
|
+
|
84
|
+
def initialize(**args)
|
85
|
+
update!(**args)
|
86
|
+
end
|
87
|
+
|
88
|
+
# Update properties of this object
|
89
|
+
def update!(**args)
|
90
|
+
@condition = args[:condition] if args.key?(:condition)
|
91
|
+
@members = args[:members] if args.key?(:members)
|
92
|
+
@role = args[:role] if args.key?(:role)
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
97
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
98
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
99
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
100
|
+
# `Empty` is empty JSON object ````.
|
101
|
+
class Empty
|
102
|
+
include Google::Apis::Core::Hashable
|
103
|
+
|
104
|
+
def initialize(**args)
|
105
|
+
update!(**args)
|
106
|
+
end
|
107
|
+
|
108
|
+
# Update properties of this object
|
109
|
+
def update!(**args)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
114
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
115
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
116
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
117
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
118
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
119
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
120
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
121
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
122
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
123
|
+
# string" description: "Create a notification string with a timestamp."
|
124
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
125
|
+
# exact variables and functions that may be referenced within an expression are
|
126
|
+
# determined by the service that evaluates it. See the service documentation for
|
127
|
+
# additional information.
|
128
|
+
class Expr
|
129
|
+
include Google::Apis::Core::Hashable
|
130
|
+
|
131
|
+
# Optional. Description of the expression. This is a longer text which describes
|
132
|
+
# the expression, e.g. when hovered over it in a UI.
|
133
|
+
# Corresponds to the JSON property `description`
|
134
|
+
# @return [String]
|
135
|
+
attr_accessor :description
|
136
|
+
|
137
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
138
|
+
# Corresponds to the JSON property `expression`
|
139
|
+
# @return [String]
|
140
|
+
attr_accessor :expression
|
141
|
+
|
142
|
+
# Optional. String indicating the location of the expression for error reporting,
|
143
|
+
# e.g. a file name and a position in the file.
|
144
|
+
# Corresponds to the JSON property `location`
|
145
|
+
# @return [String]
|
146
|
+
attr_accessor :location
|
147
|
+
|
148
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
149
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
150
|
+
# Corresponds to the JSON property `title`
|
151
|
+
# @return [String]
|
152
|
+
attr_accessor :title
|
153
|
+
|
154
|
+
def initialize(**args)
|
155
|
+
update!(**args)
|
156
|
+
end
|
157
|
+
|
158
|
+
# Update properties of this object
|
159
|
+
def update!(**args)
|
160
|
+
@description = args[:description] if args.key?(:description)
|
161
|
+
@expression = args[:expression] if args.key?(:expression)
|
162
|
+
@location = args[:location] if args.key?(:location)
|
163
|
+
@title = args[:title] if args.key?(:title)
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
# Files store content that is potentially associated with Packages or Versions.
|
168
|
+
class File
|
169
|
+
include Google::Apis::Core::Hashable
|
170
|
+
|
171
|
+
# The time when the File was created.
|
172
|
+
# Corresponds to the JSON property `createTime`
|
173
|
+
# @return [String]
|
174
|
+
attr_accessor :create_time
|
175
|
+
|
176
|
+
# The hashes of the file content.
|
177
|
+
# Corresponds to the JSON property `hashes`
|
178
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::HashProp>]
|
179
|
+
attr_accessor :hashes
|
180
|
+
|
181
|
+
# The name of the file, for example: "projects/p1/locations/us-central1/
|
182
|
+
# repositories/repo1/files/a/b/c.txt".
|
183
|
+
# Corresponds to the JSON property `name`
|
184
|
+
# @return [String]
|
185
|
+
attr_accessor :name
|
186
|
+
|
187
|
+
# The name of the Package or Version that owns this file, if any.
|
188
|
+
# Corresponds to the JSON property `owner`
|
189
|
+
# @return [String]
|
190
|
+
attr_accessor :owner
|
191
|
+
|
192
|
+
# The size of the File in bytes.
|
193
|
+
# Corresponds to the JSON property `sizeBytes`
|
194
|
+
# @return [Fixnum]
|
195
|
+
attr_accessor :size_bytes
|
196
|
+
|
197
|
+
# The time when the File was last updated.
|
198
|
+
# Corresponds to the JSON property `updateTime`
|
199
|
+
# @return [String]
|
200
|
+
attr_accessor :update_time
|
201
|
+
|
202
|
+
def initialize(**args)
|
203
|
+
update!(**args)
|
204
|
+
end
|
205
|
+
|
206
|
+
# Update properties of this object
|
207
|
+
def update!(**args)
|
208
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
209
|
+
@hashes = args[:hashes] if args.key?(:hashes)
|
210
|
+
@name = args[:name] if args.key?(:name)
|
211
|
+
@owner = args[:owner] if args.key?(:owner)
|
212
|
+
@size_bytes = args[:size_bytes] if args.key?(:size_bytes)
|
213
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
214
|
+
end
|
215
|
+
end
|
216
|
+
|
217
|
+
# Error information explaining why a package was not imported.
|
218
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
|
219
|
+
include Google::Apis::Core::Hashable
|
220
|
+
|
221
|
+
# The `Status` type defines a logical error model that is suitable for different
|
222
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
223
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
224
|
+
# data: error code, error message, and error details. You can find out more
|
225
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
226
|
+
# //cloud.google.com/apis/design/errors).
|
227
|
+
# Corresponds to the JSON property `error`
|
228
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Status]
|
229
|
+
attr_accessor :error
|
230
|
+
|
231
|
+
# Google Cloud Storage location for the input content.
|
232
|
+
# Corresponds to the JSON property `gcsSource`
|
233
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1GcsSource]
|
234
|
+
attr_accessor :gcs_source
|
235
|
+
|
236
|
+
def initialize(**args)
|
237
|
+
update!(**args)
|
238
|
+
end
|
239
|
+
|
240
|
+
# Update properties of this object
|
241
|
+
def update!(**args)
|
242
|
+
@error = args[:error] if args.key?(:error)
|
243
|
+
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
# Google Cloud Storage location for the input content.
|
248
|
+
class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
|
249
|
+
include Google::Apis::Core::Hashable
|
250
|
+
|
251
|
+
# Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
|
252
|
+
# Corresponds to the JSON property `uris`
|
253
|
+
# @return [Array<String>]
|
254
|
+
attr_accessor :uris
|
255
|
+
|
256
|
+
# Supports URI wildcards for matching multiple objects from a single URI.
|
257
|
+
# Corresponds to the JSON property `useWildcards`
|
258
|
+
# @return [Boolean]
|
259
|
+
attr_accessor :use_wildcards
|
260
|
+
alias_method :use_wildcards?, :use_wildcards
|
261
|
+
|
262
|
+
def initialize(**args)
|
263
|
+
update!(**args)
|
264
|
+
end
|
265
|
+
|
266
|
+
# Update properties of this object
|
267
|
+
def update!(**args)
|
268
|
+
@uris = args[:uris] if args.key?(:uris)
|
269
|
+
@use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
|
270
|
+
end
|
271
|
+
end
|
272
|
+
|
273
|
+
# The response message from importing artifacts.
|
274
|
+
class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
|
275
|
+
include Google::Apis::Core::Hashable
|
276
|
+
|
277
|
+
# Detailed error info for packages that were not imported.
|
278
|
+
# Corresponds to the JSON property `errors`
|
279
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo>]
|
280
|
+
attr_accessor :errors
|
281
|
+
|
282
|
+
# The packages updated.
|
283
|
+
# Corresponds to the JSON property `packages`
|
284
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1Package>]
|
285
|
+
attr_accessor :packages
|
286
|
+
|
287
|
+
def initialize(**args)
|
288
|
+
update!(**args)
|
289
|
+
end
|
290
|
+
|
291
|
+
# Update properties of this object
|
292
|
+
def update!(**args)
|
293
|
+
@errors = args[:errors] if args.key?(:errors)
|
294
|
+
@packages = args[:packages] if args.key?(:packages)
|
295
|
+
end
|
296
|
+
end
|
297
|
+
|
298
|
+
# Packages are named collections of versions.
|
299
|
+
class GoogleDevtoolsArtifactregistryV1alpha1Package
|
300
|
+
include Google::Apis::Core::Hashable
|
301
|
+
|
302
|
+
# The time when the package was created.
|
303
|
+
# Corresponds to the JSON property `createTime`
|
304
|
+
# @return [String]
|
305
|
+
attr_accessor :create_time
|
306
|
+
|
307
|
+
# The display name of the package.
|
308
|
+
# Corresponds to the JSON property `displayName`
|
309
|
+
# @return [String]
|
310
|
+
attr_accessor :display_name
|
311
|
+
|
312
|
+
# The name of the package, for example: "projects/p1/locations/us-central1/
|
313
|
+
# repositories/repo1/packages/pkg1".
|
314
|
+
# Corresponds to the JSON property `name`
|
315
|
+
# @return [String]
|
316
|
+
attr_accessor :name
|
317
|
+
|
318
|
+
# The time when the package was last updated. This includes publishing a new
|
319
|
+
# version of the package.
|
320
|
+
# Corresponds to the JSON property `updateTime`
|
321
|
+
# @return [String]
|
322
|
+
attr_accessor :update_time
|
323
|
+
|
324
|
+
def initialize(**args)
|
325
|
+
update!(**args)
|
326
|
+
end
|
327
|
+
|
328
|
+
# Update properties of this object
|
329
|
+
def update!(**args)
|
330
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
331
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
332
|
+
@name = args[:name] if args.key?(:name)
|
333
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
# A hash of file content.
|
338
|
+
class HashProp
|
339
|
+
include Google::Apis::Core::Hashable
|
340
|
+
|
341
|
+
# The algorithm used to compute the hash value.
|
342
|
+
# Corresponds to the JSON property `type`
|
343
|
+
# @return [String]
|
344
|
+
attr_accessor :type
|
345
|
+
|
346
|
+
# The hash value.
|
347
|
+
# Corresponds to the JSON property `value`
|
348
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
349
|
+
# @return [String]
|
350
|
+
attr_accessor :value
|
351
|
+
|
352
|
+
def initialize(**args)
|
353
|
+
update!(**args)
|
354
|
+
end
|
355
|
+
|
356
|
+
# Update properties of this object
|
357
|
+
def update!(**args)
|
358
|
+
@type = args[:type] if args.key?(:type)
|
359
|
+
@value = args[:value] if args.key?(:value)
|
360
|
+
end
|
361
|
+
end
|
362
|
+
|
363
|
+
# The response from listing files.
|
364
|
+
class ListFilesResponse
|
365
|
+
include Google::Apis::Core::Hashable
|
366
|
+
|
367
|
+
# The files returned.
|
368
|
+
# Corresponds to the JSON property `files`
|
369
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::File>]
|
370
|
+
attr_accessor :files
|
371
|
+
|
372
|
+
# The token to retrieve the next page of files, or empty if there are no more
|
373
|
+
# files to return.
|
374
|
+
# Corresponds to the JSON property `nextPageToken`
|
375
|
+
# @return [String]
|
376
|
+
attr_accessor :next_page_token
|
377
|
+
|
378
|
+
def initialize(**args)
|
379
|
+
update!(**args)
|
380
|
+
end
|
381
|
+
|
382
|
+
# Update properties of this object
|
383
|
+
def update!(**args)
|
384
|
+
@files = args[:files] if args.key?(:files)
|
385
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
386
|
+
end
|
387
|
+
end
|
388
|
+
|
389
|
+
# The response message for Locations.ListLocations.
|
390
|
+
class ListLocationsResponse
|
391
|
+
include Google::Apis::Core::Hashable
|
392
|
+
|
393
|
+
# A list of locations that matches the specified filter in the request.
|
394
|
+
# Corresponds to the JSON property `locations`
|
395
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Location>]
|
396
|
+
attr_accessor :locations
|
397
|
+
|
398
|
+
# The standard List next-page token.
|
399
|
+
# Corresponds to the JSON property `nextPageToken`
|
400
|
+
# @return [String]
|
401
|
+
attr_accessor :next_page_token
|
402
|
+
|
403
|
+
def initialize(**args)
|
404
|
+
update!(**args)
|
405
|
+
end
|
406
|
+
|
407
|
+
# Update properties of this object
|
408
|
+
def update!(**args)
|
409
|
+
@locations = args[:locations] if args.key?(:locations)
|
410
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
# The response message for Operations.ListOperations.
|
415
|
+
class ListOperationsResponse
|
416
|
+
include Google::Apis::Core::Hashable
|
417
|
+
|
418
|
+
# The standard List next-page token.
|
419
|
+
# Corresponds to the JSON property `nextPageToken`
|
420
|
+
# @return [String]
|
421
|
+
attr_accessor :next_page_token
|
422
|
+
|
423
|
+
# A list of operations that matches the specified filter in the request.
|
424
|
+
# Corresponds to the JSON property `operations`
|
425
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Operation>]
|
426
|
+
attr_accessor :operations
|
427
|
+
|
428
|
+
def initialize(**args)
|
429
|
+
update!(**args)
|
430
|
+
end
|
431
|
+
|
432
|
+
# Update properties of this object
|
433
|
+
def update!(**args)
|
434
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
435
|
+
@operations = args[:operations] if args.key?(:operations)
|
436
|
+
end
|
437
|
+
end
|
438
|
+
|
439
|
+
# The response from listing packages.
|
440
|
+
class ListPackagesResponse
|
441
|
+
include Google::Apis::Core::Hashable
|
442
|
+
|
443
|
+
# The token to retrieve the next page of packages, or empty if there are no more
|
444
|
+
# packages to return.
|
445
|
+
# Corresponds to the JSON property `nextPageToken`
|
446
|
+
# @return [String]
|
447
|
+
attr_accessor :next_page_token
|
448
|
+
|
449
|
+
# The packages returned.
|
450
|
+
# Corresponds to the JSON property `packages`
|
451
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Package>]
|
452
|
+
attr_accessor :packages
|
453
|
+
|
454
|
+
def initialize(**args)
|
455
|
+
update!(**args)
|
456
|
+
end
|
457
|
+
|
458
|
+
# Update properties of this object
|
459
|
+
def update!(**args)
|
460
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
461
|
+
@packages = args[:packages] if args.key?(:packages)
|
462
|
+
end
|
463
|
+
end
|
464
|
+
|
465
|
+
# The response from listing repositories.
|
466
|
+
class ListRepositoriesResponse
|
467
|
+
include Google::Apis::Core::Hashable
|
468
|
+
|
469
|
+
# The token to retrieve the next page of repositories, or empty if there are no
|
470
|
+
# more repositories to return.
|
471
|
+
# Corresponds to the JSON property `nextPageToken`
|
472
|
+
# @return [String]
|
473
|
+
attr_accessor :next_page_token
|
474
|
+
|
475
|
+
# The repositories returned.
|
476
|
+
# Corresponds to the JSON property `repositories`
|
477
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Repository>]
|
478
|
+
attr_accessor :repositories
|
479
|
+
|
480
|
+
def initialize(**args)
|
481
|
+
update!(**args)
|
482
|
+
end
|
483
|
+
|
484
|
+
# Update properties of this object
|
485
|
+
def update!(**args)
|
486
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
487
|
+
@repositories = args[:repositories] if args.key?(:repositories)
|
488
|
+
end
|
489
|
+
end
|
490
|
+
|
491
|
+
# The response from listing tags.
|
492
|
+
class ListTagsResponse
|
493
|
+
include Google::Apis::Core::Hashable
|
494
|
+
|
495
|
+
# The token to retrieve the next page of tags, or empty if there are no more
|
496
|
+
# tags to return.
|
497
|
+
# Corresponds to the JSON property `nextPageToken`
|
498
|
+
# @return [String]
|
499
|
+
attr_accessor :next_page_token
|
500
|
+
|
501
|
+
# The tags returned.
|
502
|
+
# Corresponds to the JSON property `tags`
|
503
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Tag>]
|
504
|
+
attr_accessor :tags
|
505
|
+
|
506
|
+
def initialize(**args)
|
507
|
+
update!(**args)
|
508
|
+
end
|
509
|
+
|
510
|
+
# Update properties of this object
|
511
|
+
def update!(**args)
|
512
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
513
|
+
@tags = args[:tags] if args.key?(:tags)
|
514
|
+
end
|
515
|
+
end
|
516
|
+
|
517
|
+
# The response from listing versions.
|
518
|
+
class ListVersionsResponse
|
519
|
+
include Google::Apis::Core::Hashable
|
520
|
+
|
521
|
+
# The token to retrieve the next page of versions, or empty if there are no more
|
522
|
+
# versions to return.
|
523
|
+
# Corresponds to the JSON property `nextPageToken`
|
524
|
+
# @return [String]
|
525
|
+
attr_accessor :next_page_token
|
526
|
+
|
527
|
+
# The versions returned.
|
528
|
+
# Corresponds to the JSON property `versions`
|
529
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Version>]
|
530
|
+
attr_accessor :versions
|
531
|
+
|
532
|
+
def initialize(**args)
|
533
|
+
update!(**args)
|
534
|
+
end
|
535
|
+
|
536
|
+
# Update properties of this object
|
537
|
+
def update!(**args)
|
538
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
539
|
+
@versions = args[:versions] if args.key?(:versions)
|
540
|
+
end
|
541
|
+
end
|
542
|
+
|
543
|
+
# A resource that represents Google Cloud Platform location.
|
544
|
+
class Location
|
545
|
+
include Google::Apis::Core::Hashable
|
546
|
+
|
547
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
548
|
+
# "Tokyo".
|
549
|
+
# Corresponds to the JSON property `displayName`
|
550
|
+
# @return [String]
|
551
|
+
attr_accessor :display_name
|
552
|
+
|
553
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
554
|
+
# region": "us-east1"`
|
555
|
+
# Corresponds to the JSON property `labels`
|
556
|
+
# @return [Hash<String,String>]
|
557
|
+
attr_accessor :labels
|
558
|
+
|
559
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
560
|
+
# Corresponds to the JSON property `locationId`
|
561
|
+
# @return [String]
|
562
|
+
attr_accessor :location_id
|
563
|
+
|
564
|
+
# Service-specific metadata. For example the available capacity at the given
|
565
|
+
# location.
|
566
|
+
# Corresponds to the JSON property `metadata`
|
567
|
+
# @return [Hash<String,Object>]
|
568
|
+
attr_accessor :metadata
|
569
|
+
|
570
|
+
# Resource name for the location, which may vary between implementations. For
|
571
|
+
# example: `"projects/example-project/locations/us-east1"`
|
572
|
+
# Corresponds to the JSON property `name`
|
573
|
+
# @return [String]
|
574
|
+
attr_accessor :name
|
575
|
+
|
576
|
+
def initialize(**args)
|
577
|
+
update!(**args)
|
578
|
+
end
|
579
|
+
|
580
|
+
# Update properties of this object
|
581
|
+
def update!(**args)
|
582
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
583
|
+
@labels = args[:labels] if args.key?(:labels)
|
584
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
585
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
586
|
+
@name = args[:name] if args.key?(:name)
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
# This resource represents a long-running operation that is the result of a
|
591
|
+
# network API call.
|
592
|
+
class Operation
|
593
|
+
include Google::Apis::Core::Hashable
|
594
|
+
|
595
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
596
|
+
# , the operation is completed, and either `error` or `response` is available.
|
597
|
+
# Corresponds to the JSON property `done`
|
598
|
+
# @return [Boolean]
|
599
|
+
attr_accessor :done
|
600
|
+
alias_method :done?, :done
|
601
|
+
|
602
|
+
# The `Status` type defines a logical error model that is suitable for different
|
603
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
604
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
605
|
+
# data: error code, error message, and error details. You can find out more
|
606
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
607
|
+
# //cloud.google.com/apis/design/errors).
|
608
|
+
# Corresponds to the JSON property `error`
|
609
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Status]
|
610
|
+
attr_accessor :error
|
611
|
+
|
612
|
+
# Service-specific metadata associated with the operation. It typically contains
|
613
|
+
# progress information and common metadata such as create time. Some services
|
614
|
+
# might not provide such metadata. Any method that returns a long-running
|
615
|
+
# operation should document the metadata type, if any.
|
616
|
+
# Corresponds to the JSON property `metadata`
|
617
|
+
# @return [Hash<String,Object>]
|
618
|
+
attr_accessor :metadata
|
619
|
+
|
620
|
+
# The server-assigned name, which is only unique within the same service that
|
621
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
622
|
+
# be a resource name ending with `operations/`unique_id``.
|
623
|
+
# Corresponds to the JSON property `name`
|
624
|
+
# @return [String]
|
625
|
+
attr_accessor :name
|
626
|
+
|
627
|
+
# The normal response of the operation in case of success. If the original
|
628
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
629
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
630
|
+
# the response should be the resource. For other methods, the response should
|
631
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
632
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
633
|
+
# response type is `TakeSnapshotResponse`.
|
634
|
+
# Corresponds to the JSON property `response`
|
635
|
+
# @return [Hash<String,Object>]
|
636
|
+
attr_accessor :response
|
637
|
+
|
638
|
+
def initialize(**args)
|
639
|
+
update!(**args)
|
640
|
+
end
|
641
|
+
|
642
|
+
# Update properties of this object
|
643
|
+
def update!(**args)
|
644
|
+
@done = args[:done] if args.key?(:done)
|
645
|
+
@error = args[:error] if args.key?(:error)
|
646
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
647
|
+
@name = args[:name] if args.key?(:name)
|
648
|
+
@response = args[:response] if args.key?(:response)
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
# Packages are named collections of versions.
|
653
|
+
class Package
|
654
|
+
include Google::Apis::Core::Hashable
|
655
|
+
|
656
|
+
# The time when the package was created.
|
657
|
+
# Corresponds to the JSON property `createTime`
|
658
|
+
# @return [String]
|
659
|
+
attr_accessor :create_time
|
660
|
+
|
661
|
+
# The display name of the package.
|
662
|
+
# Corresponds to the JSON property `displayName`
|
663
|
+
# @return [String]
|
664
|
+
attr_accessor :display_name
|
665
|
+
|
666
|
+
# The name of the package, for example: "projects/p1/locations/us-central1/
|
667
|
+
# repositories/repo1/packages/pkg1".
|
668
|
+
# Corresponds to the JSON property `name`
|
669
|
+
# @return [String]
|
670
|
+
attr_accessor :name
|
671
|
+
|
672
|
+
# The time when the package was last updated. This includes publishing a new
|
673
|
+
# version of the package.
|
674
|
+
# Corresponds to the JSON property `updateTime`
|
675
|
+
# @return [String]
|
676
|
+
attr_accessor :update_time
|
677
|
+
|
678
|
+
def initialize(**args)
|
679
|
+
update!(**args)
|
680
|
+
end
|
681
|
+
|
682
|
+
# Update properties of this object
|
683
|
+
def update!(**args)
|
684
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
685
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
686
|
+
@name = args[:name] if args.key?(:name)
|
687
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
692
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
693
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
694
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
695
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
696
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
697
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
698
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
699
|
+
# condition can add constraints based on attributes of the request, the resource,
|
700
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
701
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
702
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
703
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
704
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
705
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
706
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
707
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
708
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
709
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
710
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
711
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
712
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
713
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
714
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
715
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
716
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
717
|
+
# google.com/iam/docs/).
|
718
|
+
class Policy
|
719
|
+
include Google::Apis::Core::Hashable
|
720
|
+
|
721
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
722
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
723
|
+
# the `bindings` must contain at least one member.
|
724
|
+
# Corresponds to the JSON property `bindings`
|
725
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Binding>]
|
726
|
+
attr_accessor :bindings
|
727
|
+
|
728
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
729
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
730
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
731
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
732
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
733
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
734
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
735
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
736
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
737
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
738
|
+
# are lost.
|
739
|
+
# Corresponds to the JSON property `etag`
|
740
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
741
|
+
# @return [String]
|
742
|
+
attr_accessor :etag
|
743
|
+
|
744
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
745
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
746
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
747
|
+
# applies to the following operations: * Getting a policy that includes a
|
748
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
749
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
750
|
+
# with or without a condition, from a policy that includes conditions **
|
751
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
752
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
753
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
754
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
755
|
+
# any conditions, operations on that policy may specify any valid version or
|
756
|
+
# leave the field unset. To learn which resources support conditions in their
|
757
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
758
|
+
# conditions/resource-policies).
|
759
|
+
# Corresponds to the JSON property `version`
|
760
|
+
# @return [Fixnum]
|
761
|
+
attr_accessor :version
|
762
|
+
|
763
|
+
def initialize(**args)
|
764
|
+
update!(**args)
|
765
|
+
end
|
766
|
+
|
767
|
+
# Update properties of this object
|
768
|
+
def update!(**args)
|
769
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
770
|
+
@etag = args[:etag] if args.key?(:etag)
|
771
|
+
@version = args[:version] if args.key?(:version)
|
772
|
+
end
|
773
|
+
end
|
774
|
+
|
775
|
+
# A Repository for storing artifacts with a specific format.
|
776
|
+
class Repository
|
777
|
+
include Google::Apis::Core::Hashable
|
778
|
+
|
779
|
+
# The time when the repository was created.
|
780
|
+
# Corresponds to the JSON property `createTime`
|
781
|
+
# @return [String]
|
782
|
+
attr_accessor :create_time
|
783
|
+
|
784
|
+
# The user-provided description of the repository.
|
785
|
+
# Corresponds to the JSON property `description`
|
786
|
+
# @return [String]
|
787
|
+
attr_accessor :description
|
788
|
+
|
789
|
+
# The format of packages that are stored in the repository.
|
790
|
+
# Corresponds to the JSON property `format`
|
791
|
+
# @return [String]
|
792
|
+
attr_accessor :format
|
793
|
+
|
794
|
+
# The Cloud KMS resource name of the customer managed encryption key that’s used
|
795
|
+
# to encrypt the contents of the Repository. Has the form: `projects/my-project/
|
796
|
+
# locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. This value may not be
|
797
|
+
# changed after the Repository has been created.
|
798
|
+
# Corresponds to the JSON property `kmsKeyName`
|
799
|
+
# @return [String]
|
800
|
+
attr_accessor :kms_key_name
|
801
|
+
|
802
|
+
# Labels with user-defined metadata. This field may contain up to 64 entries.
|
803
|
+
# Label keys and values may be no longer than 63 characters. Label keys must
|
804
|
+
# begin with a lowercase letter and may only contain lowercase letters, numeric
|
805
|
+
# characters, underscores, and dashes.
|
806
|
+
# Corresponds to the JSON property `labels`
|
807
|
+
# @return [Hash<String,String>]
|
808
|
+
attr_accessor :labels
|
809
|
+
|
810
|
+
# The name of the repository, for example: "projects/p1/locations/us-central1/
|
811
|
+
# repositories/repo1".
|
812
|
+
# Corresponds to the JSON property `name`
|
813
|
+
# @return [String]
|
814
|
+
attr_accessor :name
|
815
|
+
|
816
|
+
# The time when the repository was last updated.
|
817
|
+
# Corresponds to the JSON property `updateTime`
|
818
|
+
# @return [String]
|
819
|
+
attr_accessor :update_time
|
820
|
+
|
821
|
+
def initialize(**args)
|
822
|
+
update!(**args)
|
823
|
+
end
|
824
|
+
|
825
|
+
# Update properties of this object
|
826
|
+
def update!(**args)
|
827
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
828
|
+
@description = args[:description] if args.key?(:description)
|
829
|
+
@format = args[:format] if args.key?(:format)
|
830
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
831
|
+
@labels = args[:labels] if args.key?(:labels)
|
832
|
+
@name = args[:name] if args.key?(:name)
|
833
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
834
|
+
end
|
835
|
+
end
|
836
|
+
|
837
|
+
# Request message for `SetIamPolicy` method.
|
838
|
+
class SetIamPolicyRequest
|
839
|
+
include Google::Apis::Core::Hashable
|
840
|
+
|
841
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
842
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
843
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
844
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
845
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
846
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
847
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
848
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
849
|
+
# condition can add constraints based on attributes of the request, the resource,
|
850
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
851
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
852
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
853
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
854
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
855
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
856
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
857
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
858
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
859
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
860
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
861
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
862
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
863
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
864
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
865
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
866
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
867
|
+
# google.com/iam/docs/).
|
868
|
+
# Corresponds to the JSON property `policy`
|
869
|
+
# @return [Google::Apis::ArtifactregistryV1beta2::Policy]
|
870
|
+
attr_accessor :policy
|
871
|
+
|
872
|
+
def initialize(**args)
|
873
|
+
update!(**args)
|
874
|
+
end
|
875
|
+
|
876
|
+
# Update properties of this object
|
877
|
+
def update!(**args)
|
878
|
+
@policy = args[:policy] if args.key?(:policy)
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
882
|
+
# The `Status` type defines a logical error model that is suitable for different
|
883
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
884
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
885
|
+
# data: error code, error message, and error details. You can find out more
|
886
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
887
|
+
# //cloud.google.com/apis/design/errors).
|
888
|
+
class Status
|
889
|
+
include Google::Apis::Core::Hashable
|
890
|
+
|
891
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
892
|
+
# Corresponds to the JSON property `code`
|
893
|
+
# @return [Fixnum]
|
894
|
+
attr_accessor :code
|
895
|
+
|
896
|
+
# A list of messages that carry the error details. There is a common set of
|
897
|
+
# message types for APIs to use.
|
898
|
+
# Corresponds to the JSON property `details`
|
899
|
+
# @return [Array<Hash<String,Object>>]
|
900
|
+
attr_accessor :details
|
901
|
+
|
902
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
903
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
904
|
+
# field, or localized by the client.
|
905
|
+
# Corresponds to the JSON property `message`
|
906
|
+
# @return [String]
|
907
|
+
attr_accessor :message
|
908
|
+
|
909
|
+
def initialize(**args)
|
910
|
+
update!(**args)
|
911
|
+
end
|
912
|
+
|
913
|
+
# Update properties of this object
|
914
|
+
def update!(**args)
|
915
|
+
@code = args[:code] if args.key?(:code)
|
916
|
+
@details = args[:details] if args.key?(:details)
|
917
|
+
@message = args[:message] if args.key?(:message)
|
918
|
+
end
|
919
|
+
end
|
920
|
+
|
921
|
+
# Tags point to a version and represent an alternative name that can be used to
|
922
|
+
# access the version.
|
923
|
+
class Tag
|
924
|
+
include Google::Apis::Core::Hashable
|
925
|
+
|
926
|
+
# The name of the tag, for example: "projects/p1/locations/us-central1/
|
927
|
+
# repositories/repo1/packages/pkg1/tags/tag1".
|
928
|
+
# Corresponds to the JSON property `name`
|
929
|
+
# @return [String]
|
930
|
+
attr_accessor :name
|
931
|
+
|
932
|
+
# The name of the version the tag refers to, for example: "projects/p1/locations/
|
933
|
+
# us-central1/repositories/repo1/packages/pkg1/versions/sha256:5243811"
|
934
|
+
# Corresponds to the JSON property `version`
|
935
|
+
# @return [String]
|
936
|
+
attr_accessor :version
|
937
|
+
|
938
|
+
def initialize(**args)
|
939
|
+
update!(**args)
|
940
|
+
end
|
941
|
+
|
942
|
+
# Update properties of this object
|
943
|
+
def update!(**args)
|
944
|
+
@name = args[:name] if args.key?(:name)
|
945
|
+
@version = args[:version] if args.key?(:version)
|
946
|
+
end
|
947
|
+
end
|
948
|
+
|
949
|
+
# Request message for `TestIamPermissions` method.
|
950
|
+
class TestIamPermissionsRequest
|
951
|
+
include Google::Apis::Core::Hashable
|
952
|
+
|
953
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
954
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
955
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
956
|
+
# Corresponds to the JSON property `permissions`
|
957
|
+
# @return [Array<String>]
|
958
|
+
attr_accessor :permissions
|
959
|
+
|
960
|
+
def initialize(**args)
|
961
|
+
update!(**args)
|
962
|
+
end
|
963
|
+
|
964
|
+
# Update properties of this object
|
965
|
+
def update!(**args)
|
966
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
967
|
+
end
|
968
|
+
end
|
969
|
+
|
970
|
+
# Response message for `TestIamPermissions` method.
|
971
|
+
class TestIamPermissionsResponse
|
972
|
+
include Google::Apis::Core::Hashable
|
973
|
+
|
974
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
975
|
+
# Corresponds to the JSON property `permissions`
|
976
|
+
# @return [Array<String>]
|
977
|
+
attr_accessor :permissions
|
978
|
+
|
979
|
+
def initialize(**args)
|
980
|
+
update!(**args)
|
981
|
+
end
|
982
|
+
|
983
|
+
# Update properties of this object
|
984
|
+
def update!(**args)
|
985
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
989
|
+
# The body of a version resource. A version resource represents a collection of
|
990
|
+
# components, such as files and other data. This may correspond to a version in
|
991
|
+
# many package management schemes.
|
992
|
+
class Version
|
993
|
+
include Google::Apis::Core::Hashable
|
994
|
+
|
995
|
+
# The time when the version was created.
|
996
|
+
# Corresponds to the JSON property `createTime`
|
997
|
+
# @return [String]
|
998
|
+
attr_accessor :create_time
|
999
|
+
|
1000
|
+
# Optional. Description of the version, as specified in its metadata.
|
1001
|
+
# Corresponds to the JSON property `description`
|
1002
|
+
# @return [String]
|
1003
|
+
attr_accessor :description
|
1004
|
+
|
1005
|
+
# The name of the version, for example: "projects/p1/locations/us-central1/
|
1006
|
+
# repositories/repo1/packages/pkg1/versions/art1".
|
1007
|
+
# Corresponds to the JSON property `name`
|
1008
|
+
# @return [String]
|
1009
|
+
attr_accessor :name
|
1010
|
+
|
1011
|
+
# Output only. A list of related tags. Will contain up to 100 tags that
|
1012
|
+
# reference this version.
|
1013
|
+
# Corresponds to the JSON property `relatedTags`
|
1014
|
+
# @return [Array<Google::Apis::ArtifactregistryV1beta2::Tag>]
|
1015
|
+
attr_accessor :related_tags
|
1016
|
+
|
1017
|
+
# The time when the version was last updated.
|
1018
|
+
# Corresponds to the JSON property `updateTime`
|
1019
|
+
# @return [String]
|
1020
|
+
attr_accessor :update_time
|
1021
|
+
|
1022
|
+
def initialize(**args)
|
1023
|
+
update!(**args)
|
1024
|
+
end
|
1025
|
+
|
1026
|
+
# Update properties of this object
|
1027
|
+
def update!(**args)
|
1028
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1029
|
+
@description = args[:description] if args.key?(:description)
|
1030
|
+
@name = args[:name] if args.key?(:name)
|
1031
|
+
@related_tags = args[:related_tags] if args.key?(:related_tags)
|
1032
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
end
|
1036
|
+
end
|
1037
|
+
end
|