google-apis-composer_v1 0.16.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/composer_v1/classes.rb +69 -12
- data/lib/google/apis/composer_v1/gem_version.rb +3 -3
- data/lib/google/apis/composer_v1/representations.rb +18 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59d297e265ad56c0d79a2c6c749966ecb317560d02c10a82aec7c455039036b2
|
4
|
+
data.tar.gz: 31799699c4edd3e980674f334d5da245e810a4a11db333e33dc17f7d6a136ac4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0dd8507df1faacb9ecb335d5f92f45894a6e4595083baba811ed37dc88317e1ee3cc9c5ecc05609f1e45668fbd0646b93c969a043134efdb0611bed1386d0eae
|
7
|
+
data.tar.gz: 40216a53f91c8901da65a82931ffdd126adaad3378ab522b0710439a0a97a3afea0025c93e2c908efd7294e930603d86c17cafd5cf5fdaccc884036a39bb5ea6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-composer_v1
|
2
2
|
|
3
|
+
### v0.20.0 (2022-02-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20220202
|
6
|
+
* Regenerated using generator version 0.4.1
|
7
|
+
|
8
|
+
### v0.19.0 (2021-12-16)
|
9
|
+
|
10
|
+
* Unspecified changes
|
11
|
+
|
12
|
+
### v0.18.0 (2021-12-07)
|
13
|
+
|
14
|
+
* Regenerated from discovery document revision 20211130
|
15
|
+
|
16
|
+
### v0.17.0 (2021-11-20)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20211113
|
19
|
+
|
3
20
|
### v0.16.0 (2021-11-10)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20211102
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/composer_v1"
|
|
51
51
|
client = Google::Apis::ComposerV1::CloudComposerService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
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.
|
@@ -123,10 +123,10 @@ module Google
|
|
123
123
|
# day and time zone are either specified elsewhere or are insignificant. The
|
124
124
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
125
125
|
# following: * A full date, with non-zero year, month, and day values * A month
|
126
|
-
# and day
|
127
|
-
#
|
128
|
-
#
|
129
|
-
# google.protobuf.Timestamp
|
126
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
127
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
128
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
129
|
+
# DateTime * google.protobuf.Timestamp
|
130
130
|
class Date
|
131
131
|
include Google::Apis::Core::Hashable
|
132
132
|
|
@@ -308,6 +308,15 @@ module Google
|
|
308
308
|
# @return [String]
|
309
309
|
attr_accessor :gke_cluster
|
310
310
|
|
311
|
+
# The configuration settings for Cloud Composer maintenance window. The
|
312
|
+
# following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
|
313
|
+
# 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
|
314
|
+
# maintenance window between 01 and 07 hours UTC during each Tuesday and
|
315
|
+
# Wednesday.
|
316
|
+
# Corresponds to the JSON property `maintenanceWindow`
|
317
|
+
# @return [Google::Apis::ComposerV1::MaintenanceWindow]
|
318
|
+
attr_accessor :maintenance_window
|
319
|
+
|
311
320
|
# The configuration information for the Kubernetes Engine nodes running the
|
312
321
|
# Apache Airflow software.
|
313
322
|
# Corresponds to the JSON property `nodeConfig`
|
@@ -339,8 +348,7 @@ module Google
|
|
339
348
|
# @return [Google::Apis::ComposerV1::WebServerConfig]
|
340
349
|
attr_accessor :web_server_config
|
341
350
|
|
342
|
-
# Network-level access control policy for the Airflow web server.
|
343
|
-
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
351
|
+
# Network-level access control policy for the Airflow web server.
|
344
352
|
# Corresponds to the JSON property `webServerNetworkAccessControl`
|
345
353
|
# @return [Google::Apis::ComposerV1::WebServerNetworkAccessControl]
|
346
354
|
attr_accessor :web_server_network_access_control
|
@@ -364,6 +372,7 @@ module Google
|
|
364
372
|
@encryption_config = args[:encryption_config] if args.key?(:encryption_config)
|
365
373
|
@environment_size = args[:environment_size] if args.key?(:environment_size)
|
366
374
|
@gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
|
375
|
+
@maintenance_window = args[:maintenance_window] if args.key?(:maintenance_window)
|
367
376
|
@node_config = args[:node_config] if args.key?(:node_config)
|
368
377
|
@node_count = args[:node_count] if args.key?(:node_count)
|
369
378
|
@private_environment_config = args[:private_environment_config] if args.key?(:private_environment_config)
|
@@ -468,10 +477,10 @@ module Google
|
|
468
477
|
# day and time zone are either specified elsewhere or are insignificant. The
|
469
478
|
# date is relative to the Gregorian Calendar. This can represent one of the
|
470
479
|
# following: * A full date, with non-zero year, month, and day values * A month
|
471
|
-
# and day
|
472
|
-
#
|
473
|
-
#
|
474
|
-
# google.protobuf.Timestamp
|
480
|
+
# and day, with a zero year (e.g., an anniversary) * A year on its own, with a
|
481
|
+
# zero month and a zero day * A year and month, with a zero day (e.g., a credit
|
482
|
+
# card expiration date) Related types: * google.type.TimeOfDay * google.type.
|
483
|
+
# DateTime * google.protobuf.Timestamp
|
475
484
|
# Corresponds to the JSON property `releaseDate`
|
476
485
|
# @return [Google::Apis::ComposerV1::Date]
|
477
486
|
attr_accessor :release_date
|
@@ -578,6 +587,46 @@ module Google
|
|
578
587
|
end
|
579
588
|
end
|
580
589
|
|
590
|
+
# The configuration settings for Cloud Composer maintenance window. The
|
591
|
+
# following example: ``` ` "startTime":"2019-08-01T01:00:00Z" "endTime":"2019-08-
|
592
|
+
# 01T07:00:00Z" "recurrence":"FREQ=WEEKLY;BYDAY=TU,WE" ` ``` would define a
|
593
|
+
# maintenance window between 01 and 07 hours UTC during each Tuesday and
|
594
|
+
# Wednesday.
|
595
|
+
class MaintenanceWindow
|
596
|
+
include Google::Apis::Core::Hashable
|
597
|
+
|
598
|
+
# Required. Maintenance window end time. It is used only to calculate the
|
599
|
+
# duration of the maintenance window. The value for end-time must be in the
|
600
|
+
# future, relative to `start_time`.
|
601
|
+
# Corresponds to the JSON property `endTime`
|
602
|
+
# @return [String]
|
603
|
+
attr_accessor :end_time
|
604
|
+
|
605
|
+
# Required. Maintenance window recurrence. Format is a subset of [RFC-5545](
|
606
|
+
# https://tools.ietf.org/html/rfc5545) `RRULE`. The only allowed values for `
|
607
|
+
# FREQ` field are `FREQ=DAILY` and `FREQ=WEEKLY;BYDAY=...` Example values: `FREQ=
|
608
|
+
# WEEKLY;BYDAY=TU,WE`, `FREQ=DAILY`.
|
609
|
+
# Corresponds to the JSON property `recurrence`
|
610
|
+
# @return [String]
|
611
|
+
attr_accessor :recurrence
|
612
|
+
|
613
|
+
# Required. Start time of the first recurrence of the maintenance window.
|
614
|
+
# Corresponds to the JSON property `startTime`
|
615
|
+
# @return [String]
|
616
|
+
attr_accessor :start_time
|
617
|
+
|
618
|
+
def initialize(**args)
|
619
|
+
update!(**args)
|
620
|
+
end
|
621
|
+
|
622
|
+
# Update properties of this object
|
623
|
+
def update!(**args)
|
624
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
625
|
+
@recurrence = args[:recurrence] if args.key?(:recurrence)
|
626
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
581
630
|
# The configuration information for the Kubernetes Engine nodes running the
|
582
631
|
# Apache Airflow software.
|
583
632
|
class NodeConfig
|
@@ -853,6 +902,14 @@ module Google
|
|
853
902
|
class PrivateEnvironmentConfig
|
854
903
|
include Google::Apis::Core::Hashable
|
855
904
|
|
905
|
+
# Optional. When specified, the environment will use Private Service Connect
|
906
|
+
# instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the
|
907
|
+
# PSC endpoint in the Customer Project will use an IP address from this
|
908
|
+
# subnetwork.
|
909
|
+
# Corresponds to the JSON property `cloudComposerConnectionSubnetwork`
|
910
|
+
# @return [String]
|
911
|
+
attr_accessor :cloud_composer_connection_subnetwork
|
912
|
+
|
856
913
|
# Optional. The CIDR block from which IP range for Cloud Composer Network in
|
857
914
|
# tenant project will be reserved. Needs to be disjoint from
|
858
915
|
# private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.
|
@@ -910,6 +967,7 @@ module Google
|
|
910
967
|
|
911
968
|
# Update properties of this object
|
912
969
|
def update!(**args)
|
970
|
+
@cloud_composer_connection_subnetwork = args[:cloud_composer_connection_subnetwork] if args.key?(:cloud_composer_connection_subnetwork)
|
913
971
|
@cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
|
914
972
|
@cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
|
915
973
|
@cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
|
@@ -1111,8 +1169,7 @@ module Google
|
|
1111
1169
|
end
|
1112
1170
|
end
|
1113
1171
|
|
1114
|
-
# Network-level access control policy for the Airflow web server.
|
1115
|
-
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
1172
|
+
# Network-level access control policy for the Airflow web server.
|
1116
1173
|
class WebServerNetworkAccessControl
|
1117
1174
|
include Google::Apis::Core::Hashable
|
1118
1175
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module ComposerV1
|
18
18
|
# Version of the google-apis-composer_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.4.
|
22
|
+
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220202"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -100,6 +100,12 @@ module Google
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
101
101
|
end
|
102
102
|
|
103
|
+
class MaintenanceWindow
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
103
109
|
class NodeConfig
|
104
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
111
|
|
@@ -251,6 +257,8 @@ module Google
|
|
251
257
|
|
252
258
|
property :environment_size, as: 'environmentSize'
|
253
259
|
property :gke_cluster, as: 'gkeCluster'
|
260
|
+
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComposerV1::MaintenanceWindow, decorator: Google::Apis::ComposerV1::MaintenanceWindow::Representation
|
261
|
+
|
254
262
|
property :node_config, as: 'nodeConfig', class: Google::Apis::ComposerV1::NodeConfig, decorator: Google::Apis::ComposerV1::NodeConfig::Representation
|
255
263
|
|
256
264
|
property :node_count, as: 'nodeCount'
|
@@ -318,6 +326,15 @@ module Google
|
|
318
326
|
end
|
319
327
|
end
|
320
328
|
|
329
|
+
class MaintenanceWindow
|
330
|
+
# @private
|
331
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
332
|
+
property :end_time, as: 'endTime'
|
333
|
+
property :recurrence, as: 'recurrence'
|
334
|
+
property :start_time, as: 'startTime'
|
335
|
+
end
|
336
|
+
end
|
337
|
+
|
321
338
|
class NodeConfig
|
322
339
|
# @private
|
323
340
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -370,6 +387,7 @@ module Google
|
|
370
387
|
class PrivateEnvironmentConfig
|
371
388
|
# @private
|
372
389
|
class Representation < Google::Apis::Core::JsonRepresentation
|
390
|
+
property :cloud_composer_connection_subnetwork, as: 'cloudComposerConnectionSubnetwork'
|
373
391
|
property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
|
374
392
|
property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
|
375
393
|
property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-composer_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.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:
|
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_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-composer_v1
|
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.
|
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 V1
|