google-apis-composer_v1 0.19.0 → 0.22.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: 8afeab44a8188ccfb0bd8008587558820e6c789ddc8d0628d81eaa2c84b1a579
4
- data.tar.gz: 43bd139f359afe59def1c607dd2ac976184eba7cf05ce695a28b902a1faea81a
3
+ metadata.gz: daf3172d8f02ad85d112a200064dfa1d42dca4d7870a0689269141074a610d66
4
+ data.tar.gz: 11c928b9af803e88e2a75b98f4dbcdb800303267e7d287d773ee640e416c4ede
5
5
  SHA512:
6
- metadata.gz: ddd6d5fd26ae4ba11103455477b7bd48fefa6b0fcc6eb7f280b3bef2bf2e48310c4088b007b62c3d0be5dc4b527c4f23e7d3d1b396f1ca2093d25b350d269214
7
- data.tar.gz: 949e094a23e692bfcfb4b8080255dc581d934f2359c8c332dc04816f8e87b41e42d778955c50caba04401225f66039b7c95553928773c3c27e4b3d8ef94888ef
6
+ metadata.gz: 14130991c8e1988a93647f4a9658016b3dbea7eefff8ded492fbf164d3dae722e093c84621c5e972c7b40f8df92fd87e99cbf0042ec83a9d41980837436b73b6
7
+ data.tar.gz: 9bc6553c1b1d9a02e4eb87636ab905a9b61d8591f4411e87dc113ea1de605de47b4f4f55887dfc86c0266cbd4143baae5394b61e33c3a7309b87b26e64e9f2ed
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.22.0 (2022-04-01)
4
+
5
+ * Regenerated from discovery document revision 20220326
6
+
7
+ ### v0.21.0 (2022-03-12)
8
+
9
+ * Regenerated from discovery document revision 20220307
10
+
11
+ ### v0.20.0 (2022-02-10)
12
+
13
+ * Regenerated from discovery document revision 20220202
14
+ * Regenerated using generator version 0.4.1
15
+
3
16
  ### v0.19.0 (2021-12-16)
4
17
 
5
18
  * Unspecified changes
@@ -97,14 +97,14 @@ module Google
97
97
  end
98
98
 
99
99
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
100
- # software. Supported for Cloud Composer environments in versions composer-1.*.*-
101
- # airflow-*.*.*.
100
+ # software.
102
101
  class DatabaseConfig
103
102
  include Google::Apis::Core::Hashable
104
103
 
105
104
  # Optional. Cloud SQL machine type used by Airflow database. It has to be one of:
106
105
  # db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or db-n1-standard-16. If
107
- # not specified, db-n1-standard-2 will be used.
106
+ # not specified, db-n1-standard-2 will be used. Supported for Cloud Composer
107
+ # environments in versions composer-1.*.*-airflow-*.*.*.
108
108
  # Corresponds to the JSON property `machineType`
109
109
  # @return [String]
110
110
  attr_accessor :machine_type
@@ -122,11 +122,11 @@ module Google
122
122
  # Represents a whole or partial calendar date, such as a birthday. The time of
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
- # following: * A full date, with non-zero year, month, and day values * A month
126
- # and day value, with a zero year, such as an anniversary * A year on its own,
127
- # with zero month and day values * A year and month value, with a zero day, such
128
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
129
- # google.protobuf.Timestamp`.
125
+ # following: * A full date, with non-zero year, month, and day values. * A month
126
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
127
+ # with a zero month and a zero day. * A year and month, with a zero day (for
128
+ # example, a credit card expiration date). Related types: * google.type.
129
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
130
130
  class Date
131
131
  include Google::Apis::Core::Hashable
132
132
 
@@ -163,8 +163,7 @@ module Google
163
163
  # A generic empty message that you can re-use to avoid defining duplicated empty
164
164
  # messages in your APIs. A typical example is to use it as the request or the
165
165
  # response type of an API method. For instance: service Foo ` rpc Bar(google.
166
- # protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
167
- # `Empty` is empty JSON object ````.
166
+ # protobuf.Empty) returns (google.protobuf.Empty); `
168
167
  class Empty
169
168
  include Google::Apis::Core::Hashable
170
169
 
@@ -283,8 +282,7 @@ module Google
283
282
  attr_accessor :dag_gcs_prefix
284
283
 
285
284
  # The configuration of Cloud SQL instance that is used by the Apache Airflow
286
- # software. Supported for Cloud Composer environments in versions composer-1.*.*-
287
- # airflow-*.*.*.
285
+ # software.
288
286
  # Corresponds to the JSON property `databaseConfig`
289
287
  # @return [Google::Apis::ComposerV1::DatabaseConfig]
290
288
  attr_accessor :database_config
@@ -461,7 +459,7 @@ module Google
461
459
  alias_method :creation_disabled?, :creation_disabled
462
460
 
463
461
  # The string identifier of the ImageVersion, in the form: "composer-x.y.z-
464
- # airflow-a.b(.c)"
462
+ # airflow-a.b.c"
465
463
  # Corresponds to the JSON property `imageVersionId`
466
464
  # @return [String]
467
465
  attr_accessor :image_version_id
@@ -476,11 +474,11 @@ module Google
476
474
  # Represents a whole or partial calendar date, such as a birthday. The time of
477
475
  # day and time zone are either specified elsewhere or are insignificant. The
478
476
  # date is relative to the Gregorian Calendar. This can represent one of the
479
- # following: * A full date, with non-zero year, month, and day values * A month
480
- # and day value, with a zero year, such as an anniversary * A year on its own,
481
- # with zero month and day values * A year and month value, with a zero day, such
482
- # as a credit card expiration date Related types are google.type.TimeOfDay and `
483
- # google.protobuf.Timestamp`.
477
+ # following: * A full date, with non-zero year, month, and day values. * A month
478
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
479
+ # with a zero month and a zero day. * A year and month, with a zero day (for
480
+ # example, a credit card expiration date). Related types: * google.type.
481
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
484
482
  # Corresponds to the JSON property `releaseDate`
485
483
  # @return [Google::Apis::ComposerV1::Date]
486
484
  attr_accessor :release_date
@@ -632,7 +630,7 @@ module Google
632
630
  class NodeConfig
633
631
  include Google::Apis::Core::Hashable
634
632
 
635
- # Optional. The disk size in GB used for node VMs. Minimum size is 20GB. If
633
+ # Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If
636
634
  # unspecified, defaults to 100GB. Cannot be updated. This field is supported for
637
635
  # Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
638
636
  # Corresponds to the JSON property `diskSizeGb`
@@ -902,6 +900,14 @@ module Google
902
900
  class PrivateEnvironmentConfig
903
901
  include Google::Apis::Core::Hashable
904
902
 
903
+ # Optional. When specified, the environment will use Private Service Connect
904
+ # instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the
905
+ # PSC endpoint in the Customer Project will use an IP address from this
906
+ # subnetwork.
907
+ # Corresponds to the JSON property `cloudComposerConnectionSubnetwork`
908
+ # @return [String]
909
+ attr_accessor :cloud_composer_connection_subnetwork
910
+
905
911
  # Optional. The CIDR block from which IP range for Cloud Composer Network in
906
912
  # tenant project will be reserved. Needs to be disjoint from
907
913
  # private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.
@@ -959,6 +965,7 @@ module Google
959
965
 
960
966
  # Update properties of this object
961
967
  def update!(**args)
968
+ @cloud_composer_connection_subnetwork = args[:cloud_composer_connection_subnetwork] if args.key?(:cloud_composer_connection_subnetwork)
962
969
  @cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
963
970
  @cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
964
971
  @cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
@@ -1041,18 +1048,22 @@ module Google
1041
1048
 
1042
1049
  # The version of the software running in the environment. This encapsulates both
1043
1050
  # the version of Cloud Composer functionality and the version of Apache Airflow.
1044
- # It must match the regular expression `composer-([0-9]+\.[0-9]+\.[0-9]+|latest)-
1045
- # airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`. When used as input, the server also
1046
- # checks if the provided version is supported and denies the request for an
1047
- # unsupported version. The Cloud Composer portion of the version is a [semantic
1048
- # version](https://semver.org) or `latest`. When the patch version is omitted,
1049
- # the current Cloud Composer patch version is selected. When `latest` is
1050
- # provided instead of an explicit version number, the server replaces `latest`
1051
- # with the current Cloud Composer version and stores that version number in the
1052
- # same field. The portion of the image version that follows *airflow-* is an
1053
- # official Apache Airflow repository [release name](https://github.com/apache/
1054
- # incubator-airflow/releases). See also [Version List](/composer/docs/concepts/
1055
- # versioning/composer-versions).
1051
+ # It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-
1052
+ # preview\.[0-9]+)?)?|latest)-airflow-([0-9]+(\.[0-9]+(\.[0-9]+)?)?)`. When used
1053
+ # as input, the server also checks if the provided version is supported and
1054
+ # denies the request for an unsupported version. The Cloud Composer portion of
1055
+ # the image version is a full [semantic version](https://semver.org), or an
1056
+ # alias in the form of major version number or `latest`. When an alias is
1057
+ # provided, the server replaces it with the current Cloud Composer version that
1058
+ # satisfies the alias. The Apache Airflow portion of the image version is a full
1059
+ # semantic version that points to one of the supported Apache Airflow versions,
1060
+ # or an alias in the form of only major or major.minor versions specified. When
1061
+ # an alias is provided, the server replaces it with the latest Apache Airflow
1062
+ # version that satisfies the alias and is supported in the given Cloud Composer
1063
+ # version. In all cases, the resolved image version is stored in the same field.
1064
+ # See also [version list](/composer/docs/concepts/versioning/composer-versions)
1065
+ # and [versioning overview](/composer/docs/concepts/versioning/composer-
1066
+ # versioning-overview).
1056
1067
  # Corresponds to the JSON property `imageVersion`
1057
1068
  # @return [String]
1058
1069
  attr_accessor :image_version
@@ -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.0"
19
+ GEM_VERSION = "0.22.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 = "20211130"
25
+ REVISION = "20220326"
26
26
  end
27
27
  end
28
28
  end
@@ -387,6 +387,7 @@ module Google
387
387
  class PrivateEnvironmentConfig
388
388
  # @private
389
389
  class Representation < Google::Apis::Core::JsonRepresentation
390
+ property :cloud_composer_connection_subnetwork, as: 'cloudComposerConnectionSubnetwork'
390
391
  property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
391
392
  property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
392
393
  property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
@@ -232,15 +232,8 @@ module Google
232
232
  # field. Supported for Cloud Composer environments in versions composer-1.*.*-
233
233
  # airflow-*.*.*. * `config.webServerNetworkAccessControl` * Replace the
234
234
  # environment's current `WebServerNetworkAccessControl`. * `config.
235
- # databaseConfig.machineType` * Cloud SQL machine type used by Airflow database.
236
- # It has to be one of: db-n1-standard-2, db-n1-standard-4, db-n1-standard-8 or
237
- # db-n1-standard-16. Supported for Cloud Composer environments in versions
238
- # composer-1.*.*-airflow-*.*.*. * `config.webServerConfig.machineType` * Machine
239
- # type on which Airflow web server is running. It has to be one of: composer-n1-
240
- # webserver-2, composer-n1-webserver-4 or composer-n1-webserver-8. Supported for
241
- # Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*. * `
242
- # config.softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow
243
- # config overrides. If a replacement config overrides map is not included in `
235
+ # softwareConfig.airflowConfigOverrides` * Replace all Apache Airflow config
236
+ # overrides. If a replacement config overrides map is not included in `
244
237
  # environment`, all config overrides are cleared. It is an error to provide both
245
238
  # this mask and a mask specifying one or more individual config overrides. * `
246
239
  # config.softwareConfig.airflowConfigOverrides.`section-name * Override the
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.19.0
4
+ version: 0.22.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: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-04-04 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.19.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.22.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.3.4
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