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
@@ -22,6 +22,18 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module ComposerV1
|
24
24
|
|
25
|
+
class AllowedIpRange
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class Date
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class Empty
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
@@ -112,6 +124,29 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
127
|
+
class WebServerNetworkAccessControl
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class AllowedIpRange
|
134
|
+
# @private
|
135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
136
|
+
property :description, as: 'description'
|
137
|
+
property :value, as: 'value'
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class Date
|
142
|
+
# @private
|
143
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
144
|
+
property :day, as: 'day'
|
145
|
+
property :month, as: 'month'
|
146
|
+
property :year, as: 'year'
|
147
|
+
end
|
148
|
+
end
|
149
|
+
|
115
150
|
class Empty
|
116
151
|
# @private
|
117
152
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -145,6 +180,8 @@ module Google
|
|
145
180
|
|
146
181
|
property :software_config, as: 'softwareConfig', class: Google::Apis::ComposerV1::SoftwareConfig, decorator: Google::Apis::ComposerV1::SoftwareConfig::Representation
|
147
182
|
|
183
|
+
property :web_server_network_access_control, as: 'webServerNetworkAccessControl', class: Google::Apis::ComposerV1::WebServerNetworkAccessControl, decorator: Google::Apis::ComposerV1::WebServerNetworkAccessControl::Representation
|
184
|
+
|
148
185
|
end
|
149
186
|
end
|
150
187
|
|
@@ -162,9 +199,13 @@ module Google
|
|
162
199
|
class ImageVersion
|
163
200
|
# @private
|
164
201
|
class Representation < Google::Apis::Core::JsonRepresentation
|
202
|
+
property :creation_disabled, as: 'creationDisabled'
|
165
203
|
property :image_version_id, as: 'imageVersionId'
|
166
204
|
property :is_default, as: 'isDefault'
|
205
|
+
property :release_date, as: 'releaseDate', class: Google::Apis::ComposerV1::Date, decorator: Google::Apis::ComposerV1::Date::Representation
|
206
|
+
|
167
207
|
collection :supported_python_versions, as: 'supportedPythonVersions'
|
208
|
+
property :upgrade_disabled, as: 'upgradeDisabled'
|
168
209
|
end
|
169
210
|
end
|
170
211
|
|
@@ -275,6 +316,14 @@ module Google
|
|
275
316
|
property :message, as: 'message'
|
276
317
|
end
|
277
318
|
end
|
319
|
+
|
320
|
+
class WebServerNetworkAccessControl
|
321
|
+
# @private
|
322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
323
|
+
collection :allowed_ip_ranges, as: 'allowedIpRanges', class: Google::Apis::ComposerV1::AllowedIpRange, decorator: Google::Apis::ComposerV1::AllowedIpRange::Representation
|
324
|
+
|
325
|
+
end
|
326
|
+
end
|
278
327
|
end
|
279
328
|
end
|
280
329
|
end
|
@@ -227,20 +227,21 @@ module Google
|
|
227
227
|
# provide both a mask of this form and the "labels" mask. config.nodeCount
|
228
228
|
# Horizontally scale the number of nodes in the environment. An integer greater
|
229
229
|
# than or equal to 3 must be provided in the `config.nodeCount` field. config.
|
230
|
-
#
|
231
|
-
#
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
# softwareConfig.airflowConfigOverrides
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
230
|
+
# webServerNetworkAccessControl Replace the environment's current
|
231
|
+
# WebServerNetworkAccessControl. config.softwareConfig.airflowConfigOverrides
|
232
|
+
# Replace all Apache Airflow config overrides. If a replacement config overrides
|
233
|
+
# map is not included in `environment`, all config overrides are cleared. It is
|
234
|
+
# an error to provide both this mask and a mask specifying one or more
|
235
|
+
# individual config overrides. config.softwareConfig.airflowConfigOverrides.
|
236
|
+
# section-name Override the Apache Airflow config property name in the section
|
237
|
+
# named section, preserving other properties. To delete the property override,
|
238
|
+
# include it in `updateMask` and omit its mapping in `environment.config.
|
239
|
+
# softwareConfig.airflowConfigOverrides`. It is an error to provide both a mask
|
240
|
+
# of this form and the "config.softwareConfig.airflowConfigOverrides" mask.
|
241
|
+
# config.softwareConfig.envVariables Replace all environment variables. If a
|
242
|
+
# replacement environment variable map is not included in `environment`, all
|
243
|
+
# custom environment variables are cleared. It is an error to provide both this
|
244
|
+
# mask and a mask specifying one or more individual environment variables.
|
244
245
|
# @param [String] fields
|
245
246
|
# Selector specifying which fields to include in a partial response.
|
246
247
|
# @param [String] quota_user
|
@@ -275,6 +276,8 @@ module Google
|
|
275
276
|
# @param [String] parent
|
276
277
|
# List ImageVersions in the given project and location, in the form: "projects/`
|
277
278
|
# projectId`/locations/`locationId`"
|
279
|
+
# @param [Boolean] include_past_releases
|
280
|
+
# Whether or not image versions from old releases should be included.
|
278
281
|
# @param [Fixnum] page_size
|
279
282
|
# The maximum number of image_versions to return.
|
280
283
|
# @param [String] page_token
|
@@ -296,11 +299,12 @@ module Google
|
|
296
299
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
297
300
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
298
301
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
299
|
-
def list_project_location_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
302
|
+
def list_project_location_image_versions(parent, include_past_releases: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
300
303
|
command = make_simple_command(:get, 'v1/{+parent}/imageVersions', options)
|
301
304
|
command.response_representation = Google::Apis::ComposerV1::ListImageVersionsResponse::Representation
|
302
305
|
command.response_class = Google::Apis::ComposerV1::ListImageVersionsResponse
|
303
306
|
command.params['parent'] = parent unless parent.nil?
|
307
|
+
command.query['includePastReleases'] = include_past_releases unless include_past_releases.nil?
|
304
308
|
command.query['pageSize'] = page_size unless page_size.nil?
|
305
309
|
command.query['pageToken'] = page_token unless page_token.nil?
|
306
310
|
command.query['fields'] = fields unless fields.nil?
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
26
26
|
module ComposerV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20201202'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -73,6 +73,47 @@ module Google
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
77
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
78
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
79
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
80
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
81
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
82
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
83
|
+
# google.protobuf.Timestamp`.
|
84
|
+
class Date
|
85
|
+
include Google::Apis::Core::Hashable
|
86
|
+
|
87
|
+
# Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to
|
88
|
+
# specify a year by itself or a year and month where the day isn't significant.
|
89
|
+
# Corresponds to the JSON property `day`
|
90
|
+
# @return [Fixnum]
|
91
|
+
attr_accessor :day
|
92
|
+
|
93
|
+
# Month of a year. Must be from 1 to 12, or 0 to specify a year without a month
|
94
|
+
# and day.
|
95
|
+
# Corresponds to the JSON property `month`
|
96
|
+
# @return [Fixnum]
|
97
|
+
attr_accessor :month
|
98
|
+
|
99
|
+
# Year of the date. Must be from 1 to 9999, or 0 to specify a date without a
|
100
|
+
# year.
|
101
|
+
# Corresponds to the JSON property `year`
|
102
|
+
# @return [Fixnum]
|
103
|
+
attr_accessor :year
|
104
|
+
|
105
|
+
def initialize(**args)
|
106
|
+
update!(**args)
|
107
|
+
end
|
108
|
+
|
109
|
+
# Update properties of this object
|
110
|
+
def update!(**args)
|
111
|
+
@day = args[:day] if args.key?(:day)
|
112
|
+
@month = args[:month] if args.key?(:month)
|
113
|
+
@year = args[:year] if args.key?(:year)
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
76
117
|
# A generic empty message that you can re-use to avoid defining duplicated empty
|
77
118
|
# messages in your APIs. A typical example is to use it as the request or the
|
78
119
|
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
@@ -90,6 +131,27 @@ module Google
|
|
90
131
|
end
|
91
132
|
end
|
92
133
|
|
134
|
+
# The encryption options for the Composer environment and its dependencies.
|
135
|
+
class EncryptionConfig
|
136
|
+
include Google::Apis::Core::Hashable
|
137
|
+
|
138
|
+
# Optional. Customer-managed Encryption Key available through Google's Key
|
139
|
+
# Management Service. Cannot be updated. If not specified, Google-managed key
|
140
|
+
# will be used.
|
141
|
+
# Corresponds to the JSON property `kmsKeyName`
|
142
|
+
# @return [String]
|
143
|
+
attr_accessor :kms_key_name
|
144
|
+
|
145
|
+
def initialize(**args)
|
146
|
+
update!(**args)
|
147
|
+
end
|
148
|
+
|
149
|
+
# Update properties of this object
|
150
|
+
def update!(**args)
|
151
|
+
@kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
93
155
|
# An environment for running orchestration tasks.
|
94
156
|
class Environment
|
95
157
|
include Google::Apis::Core::Hashable
|
@@ -178,6 +240,11 @@ module Google
|
|
178
240
|
# @return [Google::Apis::ComposerV1beta1::DatabaseConfig]
|
179
241
|
attr_accessor :database_config
|
180
242
|
|
243
|
+
# The encryption options for the Composer environment and its dependencies.
|
244
|
+
# Corresponds to the JSON property `encryptionConfig`
|
245
|
+
# @return [Google::Apis::ComposerV1beta1::EncryptionConfig]
|
246
|
+
attr_accessor :encryption_config
|
247
|
+
|
181
248
|
# Output only. The Kubernetes Engine cluster used to run this environment.
|
182
249
|
# Corresponds to the JSON property `gkeCluster`
|
183
250
|
# @return [String]
|
@@ -225,6 +292,7 @@ module Google
|
|
225
292
|
@airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
|
226
293
|
@dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
|
227
294
|
@database_config = args[:database_config] if args.key?(:database_config)
|
295
|
+
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
228
296
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
229
297
|
@node_config = args[:node_config] if args.key?(:node_config)
|
230
298
|
@node_count = args[:node_count] if args.key?(:node_count)
|
@@ -304,6 +372,12 @@ module Google
|
|
304
372
|
class ImageVersion
|
305
373
|
include Google::Apis::Core::Hashable
|
306
374
|
|
375
|
+
# Whether it is impossible to create an environment with the image version.
|
376
|
+
# Corresponds to the JSON property `creationDisabled`
|
377
|
+
# @return [Boolean]
|
378
|
+
attr_accessor :creation_disabled
|
379
|
+
alias_method :creation_disabled?, :creation_disabled
|
380
|
+
|
307
381
|
# The string identifier of the ImageVersion, in the form: "composer-x.y.z-
|
308
382
|
# airflow-a.b(.c)"
|
309
383
|
# Corresponds to the JSON property `imageVersionId`
|
@@ -317,20 +391,42 @@ module Google
|
|
317
391
|
attr_accessor :is_default
|
318
392
|
alias_method :is_default?, :is_default
|
319
393
|
|
394
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
395
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
396
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
397
|
+
# following: * A full date, with non-zero year, month, and day values * A month
|
398
|
+
# and day value, with a zero year, such as an anniversary * A year on its own,
|
399
|
+
# with zero month and day values * A year and month value, with a zero day, such
|
400
|
+
# as a credit card expiration date Related types are google.type.TimeOfDay and `
|
401
|
+
# google.protobuf.Timestamp`.
|
402
|
+
# Corresponds to the JSON property `releaseDate`
|
403
|
+
# @return [Google::Apis::ComposerV1beta1::Date]
|
404
|
+
attr_accessor :release_date
|
405
|
+
|
320
406
|
# supported python versions
|
321
407
|
# Corresponds to the JSON property `supportedPythonVersions`
|
322
408
|
# @return [Array<String>]
|
323
409
|
attr_accessor :supported_python_versions
|
324
410
|
|
411
|
+
# Whether it is impossible to upgrade an environment running with the image
|
412
|
+
# version.
|
413
|
+
# Corresponds to the JSON property `upgradeDisabled`
|
414
|
+
# @return [Boolean]
|
415
|
+
attr_accessor :upgrade_disabled
|
416
|
+
alias_method :upgrade_disabled?, :upgrade_disabled
|
417
|
+
|
325
418
|
def initialize(**args)
|
326
419
|
update!(**args)
|
327
420
|
end
|
328
421
|
|
329
422
|
# Update properties of this object
|
330
423
|
def update!(**args)
|
424
|
+
@creation_disabled = args[:creation_disabled] if args.key?(:creation_disabled)
|
331
425
|
@image_version_id = args[:image_version_id] if args.key?(:image_version_id)
|
332
426
|
@is_default = args[:is_default] if args.key?(:is_default)
|
427
|
+
@release_date = args[:release_date] if args.key?(:release_date)
|
333
428
|
@supported_python_versions = args[:supported_python_versions] if args.key?(:supported_python_versions)
|
429
|
+
@upgrade_disabled = args[:upgrade_disabled] if args.key?(:upgrade_disabled)
|
334
430
|
end
|
335
431
|
end
|
336
432
|
|
@@ -721,6 +817,19 @@ module Google
|
|
721
817
|
end
|
722
818
|
end
|
723
819
|
|
820
|
+
# Restart Airflow web server.
|
821
|
+
class RestartWebServerRequest
|
822
|
+
include Google::Apis::Core::Hashable
|
823
|
+
|
824
|
+
def initialize(**args)
|
825
|
+
update!(**args)
|
826
|
+
end
|
827
|
+
|
828
|
+
# Update properties of this object
|
829
|
+
def update!(**args)
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
724
833
|
# Specifies the selection and configuration of software inside the environment.
|
725
834
|
class SoftwareConfig
|
726
835
|
include Google::Apis::Core::Hashable
|
@@ -34,12 +34,24 @@ module Google
|
|
34
34
|
include Google::Apis::Core::JsonObjectSupport
|
35
35
|
end
|
36
36
|
|
37
|
+
class Date
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
37
43
|
class Empty
|
38
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
45
|
|
40
46
|
include Google::Apis::Core::JsonObjectSupport
|
41
47
|
end
|
42
48
|
|
49
|
+
class EncryptionConfig
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
43
55
|
class Environment
|
44
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
57
|
|
@@ -112,6 +124,12 @@ module Google
|
|
112
124
|
include Google::Apis::Core::JsonObjectSupport
|
113
125
|
end
|
114
126
|
|
127
|
+
class RestartWebServerRequest
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
115
133
|
class SoftwareConfig
|
116
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
135
|
|
@@ -151,12 +169,28 @@ module Google
|
|
151
169
|
end
|
152
170
|
end
|
153
171
|
|
172
|
+
class Date
|
173
|
+
# @private
|
174
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
175
|
+
property :day, as: 'day'
|
176
|
+
property :month, as: 'month'
|
177
|
+
property :year, as: 'year'
|
178
|
+
end
|
179
|
+
end
|
180
|
+
|
154
181
|
class Empty
|
155
182
|
# @private
|
156
183
|
class Representation < Google::Apis::Core::JsonRepresentation
|
157
184
|
end
|
158
185
|
end
|
159
186
|
|
187
|
+
class EncryptionConfig
|
188
|
+
# @private
|
189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
190
|
+
property :kms_key_name, as: 'kmsKeyName'
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
160
194
|
class Environment
|
161
195
|
# @private
|
162
196
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -178,6 +212,8 @@ module Google
|
|
178
212
|
property :dag_gcs_prefix, as: 'dagGcsPrefix'
|
179
213
|
property :database_config, as: 'databaseConfig', class: Google::Apis::ComposerV1beta1::DatabaseConfig, decorator: Google::Apis::ComposerV1beta1::DatabaseConfig::Representation
|
180
214
|
|
215
|
+
property :encryption_config, as: 'encryptionConfig', class: Google::Apis::ComposerV1beta1::EncryptionConfig, decorator: Google::Apis::ComposerV1beta1::EncryptionConfig::Representation
|
216
|
+
|
181
217
|
property :gke_cluster, as: 'gkeCluster'
|
182
218
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1beta1::NodeConfig, decorator: Google::Apis::ComposerV1beta1::NodeConfig::Representation
|
183
219
|
|
@@ -207,9 +243,13 @@ module Google
|
|
207
243
|
class ImageVersion
|
208
244
|
# @private
|
209
245
|
class Representation < Google::Apis::Core::JsonRepresentation
|
246
|
+
property :creation_disabled, as: 'creationDisabled'
|
210
247
|
property :image_version_id, as: 'imageVersionId'
|
211
248
|
property :is_default, as: 'isDefault'
|
249
|
+
property :release_date, as: 'releaseDate', class: Google::Apis::ComposerV1beta1::Date, decorator: Google::Apis::ComposerV1beta1::Date::Representation
|
250
|
+
|
212
251
|
collection :supported_python_versions, as: 'supportedPythonVersions'
|
252
|
+
property :upgrade_disabled, as: 'upgradeDisabled'
|
213
253
|
end
|
214
254
|
end
|
215
255
|
|
@@ -301,6 +341,12 @@ module Google
|
|
301
341
|
end
|
302
342
|
end
|
303
343
|
|
344
|
+
class RestartWebServerRequest
|
345
|
+
# @private
|
346
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
304
350
|
class SoftwareConfig
|
305
351
|
# @private
|
306
352
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -285,10 +285,47 @@ module Google
|
|
285
285
|
execute_or_queue_command(command, &block)
|
286
286
|
end
|
287
287
|
|
288
|
+
# Restart Airflow web server.
|
289
|
+
# @param [String] name
|
290
|
+
# The resource name of the environment to restart the web server for, in the
|
291
|
+
# form: "projects/`projectId`/locations/`locationId`/environments/`environmentId`
|
292
|
+
# "
|
293
|
+
# @param [Google::Apis::ComposerV1beta1::RestartWebServerRequest] restart_web_server_request_object
|
294
|
+
# @param [String] fields
|
295
|
+
# Selector specifying which fields to include in a partial response.
|
296
|
+
# @param [String] quota_user
|
297
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
298
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
299
|
+
# @param [Google::Apis::RequestOptions] options
|
300
|
+
# Request-specific options
|
301
|
+
#
|
302
|
+
# @yield [result, err] Result & error if block supplied
|
303
|
+
# @yieldparam result [Google::Apis::ComposerV1beta1::Operation] parsed result object
|
304
|
+
# @yieldparam err [StandardError] error object if request failed
|
305
|
+
#
|
306
|
+
# @return [Google::Apis::ComposerV1beta1::Operation]
|
307
|
+
#
|
308
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
309
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
310
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
311
|
+
def restart_environment_web_server(name, restart_web_server_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
312
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:restartWebServer', options)
|
313
|
+
command.request_representation = Google::Apis::ComposerV1beta1::RestartWebServerRequest::Representation
|
314
|
+
command.request_object = restart_web_server_request_object
|
315
|
+
command.response_representation = Google::Apis::ComposerV1beta1::Operation::Representation
|
316
|
+
command.response_class = Google::Apis::ComposerV1beta1::Operation
|
317
|
+
command.params['name'] = name unless name.nil?
|
318
|
+
command.query['fields'] = fields unless fields.nil?
|
319
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
320
|
+
execute_or_queue_command(command, &block)
|
321
|
+
end
|
322
|
+
|
288
323
|
# List ImageVersions for provided location.
|
289
324
|
# @param [String] parent
|
290
325
|
# List ImageVersions in the given project and location, in the form: "projects/`
|
291
326
|
# projectId`/locations/`locationId`"
|
327
|
+
# @param [Boolean] include_past_releases
|
328
|
+
# Whether or not image versions from old releases should be included.
|
292
329
|
# @param [Fixnum] page_size
|
293
330
|
# The maximum number of image_versions to return.
|
294
331
|
# @param [String] page_token
|
@@ -310,11 +347,12 @@ module Google
|
|
310
347
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
311
348
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
312
349
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
313
|
-
def list_project_location_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
350
|
+
def list_project_location_image_versions(parent, include_past_releases: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
314
351
|
command = make_simple_command(:get, 'v1beta1/{+parent}/imageVersions', options)
|
315
352
|
command.response_representation = Google::Apis::ComposerV1beta1::ListImageVersionsResponse::Representation
|
316
353
|
command.response_class = Google::Apis::ComposerV1beta1::ListImageVersionsResponse
|
317
354
|
command.params['parent'] = parent unless parent.nil?
|
355
|
+
command.query['includePastReleases'] = include_past_releases unless include_past_releases.nil?
|
318
356
|
command.query['pageSize'] = page_size unless page_size.nil?
|
319
357
|
command.query['pageToken'] = page_token unless page_token.nil?
|
320
358
|
command.query['fields'] = fields unless fields.nil?
|