google-apis-composer_v1beta1 0.13.0 → 0.17.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: 110eb33e873aec828ced08ca8b2cb4adbcfde37b84a87befcc722b93b516c294
4
- data.tar.gz: 1469aa13b2b5ee7b1c5139511455057e0246826f1eece9d63d1a8ea1de299bd9
3
+ metadata.gz: 4b900674f35ffbbb2e8a7277cc1197020bf00bd6b3f9facfe436cdc40675036c
4
+ data.tar.gz: c44357ab3366571ee353a909f6311d9ec13c34356cb75b88926c8c6d653f8e4e
5
5
  SHA512:
6
- metadata.gz: '09e64ad91ad80d23422d1e5c50f84187de800e896b8e677aec486cbe86e56cff3e34fd98707f648805336329e9dc32bbdec73dff10ffbc2ad51208bab272a0f6'
7
- data.tar.gz: bfd15d52fc19699377685a852dfc4f2d4291cd82668dcb5c7ebef528849e76ea77b2455d4a88ce12966b998a6db3aa9fd2276df2b6aafae06f7e9d03c70a047e
6
+ metadata.gz: ef49da9e876f75bf1e654e2226de1d40ed4266bb4efd790127dcf86ef0305ea038431221a26ec98dbd18f4bf44183228d8efbc2170d47c58c8c8642f12c25866
7
+ data.tar.gz: 003276f69e7c77c4fd77aeccc8a77c41152fcf02aad455b718b563d8aca301c0f2ac6f663e44199c6c1be94dd96fef9c9f367a388621ced40051e3d787cdf0de
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-composer_v1beta1
2
2
 
3
+ ### v0.17.0 (2021-12-16)
4
+
5
+ * Regenerated from discovery document revision 20211130
6
+
7
+ ### v0.16.0 (2021-11-20)
8
+
9
+ * Regenerated from discovery document revision 20211113
10
+
11
+ ### v0.15.0 (2021-11-10)
12
+
13
+ * Regenerated from discovery document revision 20211102
14
+
15
+ ### v0.14.0 (2021-10-20)
16
+
17
+ * Unspecified changes
18
+
3
19
  ### v0.13.0 (2021-09-28)
4
20
 
5
21
  * Regenerated from discovery document revision 20210922
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.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Composer service in particular.)
67
67
 
@@ -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-*.*.*.
@@ -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)
@@ -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 location of the created snapshot, e.g.: "gs://
1310
+ # my-bucket/snapshots/project_id/location/environment_uuid/timestamp". This
1311
+ # field is populated only if the snapshot creation was successful.
1312
+ # Corresponds to the JSON property `snapshotLocation`
1313
+ # @return [String]
1314
+ attr_accessor :snapshot_location
1315
+
1316
+ def initialize(**args)
1317
+ update!(**args)
1318
+ end
1319
+
1320
+ # Update properties of this object
1321
+ def update!(**args)
1322
+ @snapshot_location = args[:snapshot_location] if args.key?(:snapshot_location)
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.13.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210922"
25
+ REVISION = "20211130"
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_location, as: 'snapshotLocation'
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.13.0
4
+ version: 0.17.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-04 00:00:00.000000000 Z
11
+ date: 2022-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1beta1/v0.13.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-composer_v1beta1
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.17.0
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: []
65
65
  require_paths:
@@ -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.4
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Cloud Composer API V1beta1