google-apis-composer_v1beta1 0.14.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e685d532206a89765b9897c70d4f5b5a1ee66cf16b60cec4bc68e924ba4d27fe
4
- data.tar.gz: a1da23bb687db2843012d593cca22c7fe6587238d63646a09580f48265fe3082
3
+ metadata.gz: 9914cdee7eb0cb0291f65235e430ace7ddf7257398e5a2bac4ccd0e811da5111
4
+ data.tar.gz: a654459ff197584f0fe9d9f8a6e6cbd4993d005edf73ec77bc1d943ff52ca926
5
5
  SHA512:
6
- metadata.gz: 2f4c48fe25d3e7e24503c5737d9f8541acdf001ef89c3d7ee2147efe87e3beb37cadfcaa1aceb777a33e7ce8f28798fb27500162b1005f139cc238423a646a06
7
- data.tar.gz: 17e804fa49b5c5005eb2fbfa4d2b525f40e603fbdb08abeab3e3d77cac4ad064101ebbbe02687abcdb5237efb584f67cae74a72f4ee4c9822ebfa2b1d38f4073
6
+ metadata.gz: 26f1590403ae47db72d331d990f3b318700a3f064c18aeadfee8cae306f1bd3726fc47a2f734a57ce3afb32d4b53def75633d4ab35d4c47c9a9d6bc883e0d11e
7
+ data.tar.gz: 3247f629bcacec407fae55a275ce3de796f9c1123c69794ef16fc55c310e6f7a285dbc516346e94f088d9db379e3c12ef6d9cc86bc30b0ac1d8de8eacbaa2c51
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.18.0 (2022-02-10)
4
+
5
+ * Regenerated from discovery document revision 20220202
6
+ * Regenerated using generator version 0.4.1
7
+
8
+ ### v0.17.0 (2021-12-16)
9
+
10
+ * Regenerated from discovery document revision 20211130
11
+
12
+ ### v0.16.0 (2021-11-20)
13
+
14
+ * Regenerated from discovery document revision 20211113
15
+
16
+ ### v0.15.0 (2021-11-10)
17
+
18
+ * Regenerated from discovery document revision 20211102
19
+
3
20
  ### v0.14.0 (2021-10-20)
4
21
 
5
22
  * Unspecified changes
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/composer_v1beta1"
51
51
  client = Google::Apis::ComposerV1beta1::CloudComposerService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -128,6 +128,31 @@ module Google
128
128
  end
129
129
  end
130
130
 
131
+ # CidrBlock contains an optional name and one CIDR block.
132
+ class CidrBlock
133
+ include Google::Apis::Core::Hashable
134
+
135
+ # cidr_block must be specified in CIDR notation.
136
+ # Corresponds to the JSON property `cidrBlock`
137
+ # @return [String]
138
+ attr_accessor :cidr_block
139
+
140
+ # display_name is a field for users to identify CIDR blocks.
141
+ # Corresponds to the JSON property `displayName`
142
+ # @return [String]
143
+ attr_accessor :display_name
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @cidr_block = args[:cidr_block] if args.key?(:cidr_block)
152
+ @display_name = args[:display_name] if args.key?(:display_name)
153
+ end
154
+ end
155
+
131
156
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
132
157
  # software. Supported for Cloud Composer environments in versions composer-1.*.*-
133
158
  # airflow-*.*.*.
@@ -155,10 +180,10 @@ module Google
155
180
  # day and time zone are either specified elsewhere or are insignificant. The
156
181
  # date is relative to the Gregorian Calendar. This can represent one of the
157
182
  # following: * A full date, with non-zero year, month, and day values * A month
158
- # and day value, with a zero year, such as an anniversary * A year on its own,
159
- # with zero month and day values * A year and month value, with a zero day, such
160
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
161
- # google.protobuf.Timestamp`.
183
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
184
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
185
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
186
+ # DateTime * google.protobuf.Timestamp
162
187
  class Date
163
188
  include Google::Apis::Core::Hashable
164
189
 
@@ -341,14 +366,22 @@ module Google
341
366
  attr_accessor :gke_cluster
342
367
 
343
368
  # The configuration settings for Cloud Composer maintenance window. The
344
- # following example: ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
345
- # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` would define a
369
+ # following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
370
+ # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
346
371
  # maintenance window between 01 and 07 hours UTC during each Tuesday and
347
372
  # Wednesday.
348
373
  # Corresponds to the JSON property `maintenanceWindow`
349
374
  # @return [Google::Apis::ComposerV1beta1::MaintenanceWindow]
350
375
  attr_accessor :maintenance_window
351
376
 
377
+ # Configuration options for the master authorized networks feature. Enabled
378
+ # master authorized networks will disallow all external traffic to access
379
+ # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
380
+ # Google Compute Engine Public IPs and Google Prod IPs.
381
+ # Corresponds to the JSON property `masterAuthorizedNetworksConfig`
382
+ # @return [Google::Apis::ComposerV1beta1::MasterAuthorizedNetworksConfig]
383
+ attr_accessor :master_authorized_networks_config
384
+
352
385
  # The configuration information for the Kubernetes Engine nodes running the
353
386
  # Apache Airflow software.
354
387
  # Corresponds to the JSON property `nodeConfig`
@@ -380,8 +413,7 @@ module Google
380
413
  # @return [Google::Apis::ComposerV1beta1::WebServerConfig]
381
414
  attr_accessor :web_server_config
382
415
 
383
- # Network-level access control policy for the Airflow web server. Supported for
384
- # Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
416
+ # Network-level access control policy for the Airflow web server.
385
417
  # Corresponds to the JSON property `webServerNetworkAccessControl`
386
418
  # @return [Google::Apis::ComposerV1beta1::WebServerNetworkAccessControl]
387
419
  attr_accessor :web_server_network_access_control
@@ -406,6 +438,7 @@ module Google
406
438
  @environment_size = args[:environment_size] if args.key?(:environment_size)
407
439
  @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
408
440
  @maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
441
+ @master_authorized_networks_config = args[:master_authorized_networks_config] if args.key?(:master_authorized_networks_config)
409
442
  @node_config = args[:node_config] if args.key?(:node_config)
410
443
  @node_count = args[:node_count] if args.key?(:node_count)
411
444
  @private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
@@ -514,10 +547,10 @@ module Google
514
547
  # day and time zone are either specified elsewhere or are insignificant. The
515
548
  # date is relative to the Gregorian Calendar. This can represent one of the
516
549
  # following: * A full date, with non-zero year, month, and day values * A month
517
- # and day value, with a zero year, such as an anniversary * A year on its own,
518
- # with zero month and day values * A year and month value, with a zero day, such
519
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
520
- # google.protobuf.Timestamp`.
550
+ # and day, with a zero year (e.g., an anniversary) * A year on its own, with a
551
+ # zero month and a zero day * A year and month, with a zero day (e.g., a credit
552
+ # card expiration date) Related types: * google.type.TimeOfDay * google.type.
553
+ # DateTime * google.protobuf.Timestamp
521
554
  # Corresponds to the JSON property `releaseDate`
522
555
  # @return [Google::Apis::ComposerV1beta1::Date]
523
556
  attr_accessor :release_date
@@ -624,9 +657,22 @@ module Google
624
657
  end
625
658
  end
626
659
 
660
+ # Load environment state response.
661
+ class LoadEnvironmentStateResponse
662
+ include Google::Apis::Core::Hashable
663
+
664
+ def initialize(**args)
665
+ update!(**args)
666
+ end
667
+
668
+ # Update properties of this object
669
+ def update!(**args)
670
+ end
671
+ end
672
+
627
673
  # The configuration settings for Cloud Composer maintenance window. The
628
- # following example: ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
629
- # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` would define a
674
+ # following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
675
+ # 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
630
676
  # maintenance window between 01 and 07 hours UTC during each Tuesday and
631
677
  # Wednesday.
632
678
  class MaintenanceWindow
@@ -664,6 +710,36 @@ module Google
664
710
  end
665
711
  end
666
712
 
713
+ # Configuration options for the master authorized networks feature. Enabled
714
+ # master authorized networks will disallow all external traffic to access
715
+ # Kubernetes master through HTTPS except traffic from the given CIDR blocks,
716
+ # Google Compute Engine Public IPs and Google Prod IPs.
717
+ class MasterAuthorizedNetworksConfig
718
+ include Google::Apis::Core::Hashable
719
+
720
+ # cidr_blocks define up to 50 external networks that could access Kubernetes
721
+ # master through HTTPS.
722
+ # Corresponds to the JSON property `cidrBlocks`
723
+ # @return [Array<Google::Apis::ComposerV1beta1::CidrBlock>]
724
+ attr_accessor :cidr_blocks
725
+
726
+ # Whether or not master authorized networks is enabled.
727
+ # Corresponds to the JSON property `enabled`
728
+ # @return [Boolean]
729
+ attr_accessor :enabled
730
+ alias_method :enabled?, :enabled
731
+
732
+ def initialize(**args)
733
+ update!(**args)
734
+ end
735
+
736
+ # Update properties of this object
737
+ def update!(**args)
738
+ @cidr_blocks = args[:cidr_blocks] if args.key?(:cidr_blocks)
739
+ @enabled = args[:enabled] if args.key?(:enabled)
740
+ end
741
+ end
742
+
667
743
  # The configuration information for the Kubernetes Engine nodes running the
668
744
  # Apache Airflow software.
669
745
  class NodeConfig
@@ -962,6 +1038,14 @@ module Google
962
1038
  class PrivateEnvironmentConfig
963
1039
  include Google::Apis::Core::Hashable
964
1040
 
1041
+ # Optional. When specified, the environment will use Private Service Connect
1042
+ # instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the
1043
+ # PSC endpoint in the Customer Project will use an IP address from this
1044
+ # subnetwork.
1045
+ # Corresponds to the JSON property `cloudComposerConnectionSubnetwork`
1046
+ # @return [String]
1047
+ attr_accessor :cloud_composer_connection_subnetwork
1048
+
965
1049
  # Optional. The CIDR block from which IP range for Cloud Composer Network in
966
1050
  # tenant project will be reserved. Needs to be disjoint from
967
1051
  # private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.
@@ -1027,6 +1111,7 @@ module Google
1027
1111
 
1028
1112
  # Update properties of this object
1029
1113
  def update!(**args)
1114
+ @cloud_composer_connection_subnetwork = args[:cloud_composer_connection_subnetwork] if args.key?(:cloud_composer_connection_subnetwork)
1030
1115
  @cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
1031
1116
  @cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
1032
1117
  @cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
@@ -1217,6 +1302,27 @@ module Google
1217
1302
  end
1218
1303
  end
1219
1304
 
1305
+ # Store environment state response.
1306
+ class StoreEnvironmentStateResponse
1307
+ include Google::Apis::Core::Hashable
1308
+
1309
+ # The fully-resolved Cloud Storage path of the created snapshot, e.g.: "gs://my-
1310
+ # bucket/snapshots/project_location_environment_timestamp". This field is
1311
+ # populated only if the snapshot creation was successful.
1312
+ # Corresponds to the JSON property `snapshotPath`
1313
+ # @return [String]
1314
+ attr_accessor :snapshot_path
1315
+
1316
+ def initialize(**args)
1317
+ update!(**args)
1318
+ end
1319
+
1320
+ # Update properties of this object
1321
+ def update!(**args)
1322
+ @snapshot_path = args[:snapshot_path] if args.key?(:snapshot_path)
1323
+ end
1324
+ end
1325
+
1220
1326
  # The configuration settings for the Airflow web server App Engine instance.
1221
1327
  # Supported for Cloud Composer environments in versions composer-1.*.*-airflow-*.
1222
1328
  # *.*.
@@ -1242,8 +1348,7 @@ module Google
1242
1348
  end
1243
1349
  end
1244
1350
 
1245
- # Network-level access control policy for the Airflow web server. Supported for
1246
- # Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
1351
+ # Network-level access control policy for the Airflow web server.
1247
1352
  class WebServerNetworkAccessControl
1248
1353
  include Google::Apis::Core::Hashable
1249
1354
 
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module ComposerV1beta1
18
18
  # Version of the google-apis-composer_v1beta1 gem
19
- GEM_VERSION = "0.14.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210922"
25
+ REVISION = "20220202"
26
26
  end
27
27
  end
28
28
  end
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class CidrBlock
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class DatabaseConfig
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -106,12 +112,24 @@ module Google
106
112
  include Google::Apis::Core::JsonObjectSupport
107
113
  end
108
114
 
115
+ class LoadEnvironmentStateResponse
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
109
121
  class MaintenanceWindow
110
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
123
 
112
124
  include Google::Apis::Core::JsonObjectSupport
113
125
  end
114
126
 
127
+ class MasterAuthorizedNetworksConfig
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
115
133
  class NodeConfig
116
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
135
 
@@ -166,6 +184,12 @@ module Google
166
184
  include Google::Apis::Core::JsonObjectSupport
167
185
  end
168
186
 
187
+ class StoreEnvironmentStateResponse
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
169
193
  class WebServerConfig
170
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
195
 
@@ -222,6 +246,14 @@ module Google
222
246
  end
223
247
  end
224
248
 
249
+ class CidrBlock
250
+ # @private
251
+ class Representation < Google::Apis::Core::JsonRepresentation
252
+ property :cidr_block, as: 'cidrBlock'
253
+ property :display_name, as: 'displayName'
254
+ end
255
+ end
256
+
225
257
  class DatabaseConfig
226
258
  # @private
227
259
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -278,6 +310,8 @@ module Google
278
310
  property :gke_cluster, as: 'gkeCluster'
279
311
  property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComposerV1beta1::MaintenanceWindow, decorator: Google::Apis::ComposerV1beta1::MaintenanceWindow::Representation
280
312
 
313
+ property :master_authorized_networks_config, as: 'masterAuthorizedNetworksConfig', class: Google::Apis::ComposerV1beta1::MasterAuthorizedNetworksConfig, decorator: Google::Apis::ComposerV1beta1::MasterAuthorizedNetworksConfig::Representation
314
+
281
315
  property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1beta1::NodeConfig, decorator: Google::Apis::ComposerV1beta1::NodeConfig::Representation
282
316
 
283
317
  property :node_count, as: 'nodeCount'
@@ -345,6 +379,12 @@ module Google
345
379
  end
346
380
  end
347
381
 
382
+ class LoadEnvironmentStateResponse
383
+ # @private
384
+ class Representation < Google::Apis::Core::JsonRepresentation
385
+ end
386
+ end
387
+
348
388
  class MaintenanceWindow
349
389
  # @private
350
390
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -354,6 +394,15 @@ module Google
354
394
  end
355
395
  end
356
396
 
397
+ class MasterAuthorizedNetworksConfig
398
+ # @private
399
+ class Representation < Google::Apis::Core::JsonRepresentation
400
+ collection :cidr_blocks, as: 'cidrBlocks', class: Google::Apis::ComposerV1beta1::CidrBlock, decorator: Google::Apis::ComposerV1beta1::CidrBlock::Representation
401
+
402
+ property :enabled, as: 'enabled'
403
+ end
404
+ end
405
+
357
406
  class NodeConfig
358
407
  # @private
359
408
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -408,6 +457,7 @@ module Google
408
457
  class PrivateEnvironmentConfig
409
458
  # @private
410
459
  class Representation < Google::Apis::Core::JsonRepresentation
460
+ property :cloud_composer_connection_subnetwork, as: 'cloudComposerConnectionSubnetwork'
411
461
  property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
412
462
  property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
413
463
  property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
@@ -457,6 +507,13 @@ module Google
457
507
  end
458
508
  end
459
509
 
510
+ class StoreEnvironmentStateResponse
511
+ # @private
512
+ class Representation < Google::Apis::Core::JsonRepresentation
513
+ property :snapshot_path, as: 'snapshotPath'
514
+ end
515
+ end
516
+
460
517
  class WebServerConfig
461
518
  # @private
462
519
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -267,12 +267,11 @@ module Google
267
267
  # provided in the `config.nodeCount` field. Supported for Cloud Composer
268
268
  # environments in versions composer-1.*.*-airflow-*.*.*. * `config.
269
269
  # webServerNetworkAccessControl` * Replace the environment's current
270
- # WebServerNetworkAccessControl. Supported for Cloud Composer environments in
271
- # versions composer-1.*.*-airflow-*.*.*. * `config.softwareConfig.
272
- # airflowConfigOverrides` * Replace all Apache Airflow config overrides. If a
273
- # replacement config overrides map is not included in `environment`, all config
274
- # overrides are cleared. It is an error to provide both this mask and a mask
275
- # specifying one or more individual config overrides. * `config.softwareConfig.
270
+ # WebServerNetworkAccessControl. * `config.softwareConfig.airflowConfigOverrides`
271
+ # * Replace all Apache Airflow config overrides. If a replacement config
272
+ # overrides map is not included in `environment`, all config overrides are
273
+ # cleared. It is an error to provide both this mask and a mask specifying one or
274
+ # more individual config overrides. * `config.softwareConfig.
276
275
  # airflowConfigOverrides.`section-name * Override the Apache Airflow config
277
276
  # property *name* in the section named *section*, preserving other properties.
278
277
  # To delete the property override, include it in `updateMask` and omit its
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-composer_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-27 00:00:00.000000000 Z
11
+ date: 2022-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.2.17
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Composer API V1beta1