google-apis-composer_v1 0.18.0 → 0.21.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: 748a8206a816a49a036f152bbde625feac6901ec531a7dd2c0748a4c9bdceb1c
4
- data.tar.gz: 1a120c6a38dcfe66ad78bfaa198c59c01523eb2f6393a73540ced0011026ea24
3
+ metadata.gz: a5499c17b4503f4141cf3f7e4a69a47495e2332c60c57a9e67783ba839d9b7d1
4
+ data.tar.gz: 58baffdd24423be1fd6be388d7f0192ef40b6a9c6b2fde37f580a2557eca753c
5
5
  SHA512:
6
- metadata.gz: ecef5a025de7d8e44bbf8e7a578b104fe0da3e26c2f935e8975cd004a9c9d20d2dfe01674bc239be5afd2667dc3a6d1d6294b54b6929140ad0ba8db7e1399d28
7
- data.tar.gz: 743687a2d447cdcf97140d4220e89b34784971c9ab6593fcb447f3379ef6be26329f914b3294bb2591904e5a4e0906fd4abcc9c81ab621588179a23210696aed
6
+ metadata.gz: f2588b38dee2a309a7ef2ad52d46d22be58ca5c5db1d0d3002716ca7718bbc5ed2ea3d58add7bffd2940342690bda2c1f607793c49ce5b2d6606c7a34539f831
7
+ data.tar.gz: 737d7251c6793c708afb27c7216db76d68867d408052737892295991461090d426c95acc4609358f9fc2ca8fbdfcce9a1e1b7d559993f4e48e62409f68be240f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Release history for google-apis-composer_v1
2
2
 
3
+ ### v0.21.0 (2022-03-12)
4
+
5
+ * Regenerated from discovery document revision 20220307
6
+
7
+ ### v0.20.0 (2022-02-10)
8
+
9
+ * Regenerated from discovery document revision 20220202
10
+ * Regenerated using generator version 0.4.1
11
+
12
+ ### v0.19.0 (2021-12-16)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.18.0 (2021-12-07)
4
17
 
5
18
  * Regenerated from discovery document revision 20211130
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.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.
@@ -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
 
@@ -283,8 +283,7 @@ module Google
283
283
  attr_accessor :dag_gcs_prefix
284
284
 
285
285
  # 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-*.*.*.
286
+ # software.
288
287
  # Corresponds to the JSON property `databaseConfig`
289
288
  # @return [Google::Apis::ComposerV1::DatabaseConfig]
290
289
  attr_accessor :database_config
@@ -461,7 +460,7 @@ module Google
461
460
  alias_method :creation_disabled?, :creation_disabled
462
461
 
463
462
  # The string identifier of the ImageVersion, in the form: "composer-x.y.z-
464
- # airflow-a.b(.c)"
463
+ # airflow-a.b.c"
465
464
  # Corresponds to the JSON property `imageVersionId`
466
465
  # @return [String]
467
466
  attr_accessor :image_version_id
@@ -476,11 +475,11 @@ module Google
476
475
  # Represents a whole or partial calendar date, such as a birthday. The time of
477
476
  # day and time zone are either specified elsewhere or are insignificant. The
478
477
  # 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`.
478
+ # following: * A full date, with non-zero year, month, and day values. * A month
479
+ # and day, with a zero year (for example, an anniversary). * A year on its own,
480
+ # with a zero month and a zero day. * A year and month, with a zero day (for
481
+ # example, a credit card expiration date). Related types: * google.type.
482
+ # TimeOfDay * google.type.DateTime * google.protobuf.Timestamp
484
483
  # Corresponds to the JSON property `releaseDate`
485
484
  # @return [Google::Apis::ComposerV1::Date]
486
485
  attr_accessor :release_date
@@ -902,6 +901,14 @@ module Google
902
901
  class PrivateEnvironmentConfig
903
902
  include Google::Apis::Core::Hashable
904
903
 
904
+ # Optional. When specified, the environment will use Private Service Connect
905
+ # instead of VPC peerings to connect to Cloud SQL in the Tenant Project, and the
906
+ # PSC endpoint in the Customer Project will use an IP address from this
907
+ # subnetwork.
908
+ # Corresponds to the JSON property `cloudComposerConnectionSubnetwork`
909
+ # @return [String]
910
+ attr_accessor :cloud_composer_connection_subnetwork
911
+
905
912
  # Optional. The CIDR block from which IP range for Cloud Composer Network in
906
913
  # tenant project will be reserved. Needs to be disjoint from
907
914
  # private_cluster_config.master_ipv4_cidr_block and cloud_sql_ipv4_cidr_block.
@@ -959,6 +966,7 @@ module Google
959
966
 
960
967
  # Update properties of this object
961
968
  def update!(**args)
969
+ @cloud_composer_connection_subnetwork = args[:cloud_composer_connection_subnetwork] if args.key?(:cloud_composer_connection_subnetwork)
962
970
  @cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
963
971
  @cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
964
972
  @cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
@@ -1041,18 +1049,22 @@ module Google
1041
1049
 
1042
1050
  # The version of the software running in the environment. This encapsulates both
1043
1051
  # 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).
1052
+ # It must match the regular expression `composer-([0-9]+(\.[0-9]+\.[0-9]+(-
1053
+ # preview\.[0-9]+)?)?|latest)-airflow-([0-9]+\.[0-9]+(\.[0-9]+)?)`. When used as
1054
+ # input, the server also checks if the provided version is supported and denies
1055
+ # the request for an unsupported version. The Cloud Composer portion of the
1056
+ # image version is a full [semantic version](https://semver.org), or an alias in
1057
+ # the form of major version number or `latest`. When an alias is provided, the
1058
+ # server replaces it with the current Cloud Composer version that satisfies the
1059
+ # alias. The Apache Airflow portion of the image version is a full semantic
1060
+ # version that points to one of the supported Apache Airflow versions, or an
1061
+ # alias in the form of only major and minor versions specified. When an alias is
1062
+ # provided, the server replaces it with the latest Apache Airflow version that
1063
+ # satisfies the alias and is supported in the given Cloud Composer version. In
1064
+ # all cases, the resolved image version is stored in the same field. See also [
1065
+ # version list](/composer/docs/concepts/versioning/composer-versions) and [
1066
+ # versioning overview](/composer/docs/concepts/versioning/composer-versioning-
1067
+ # overview).
1056
1068
  # Corresponds to the JSON property `imageVersion`
1057
1069
  # @return [String]
1058
1070
  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.18.0"
19
+ GEM_VERSION = "0.21.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 = "20220307"
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.18.0
4
+ version: 0.21.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-12-13 00:00:00.000000000 Z
11
+ date: 2022-03-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.18.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.21.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.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 V1