google-cloud-orchestration-airflow-service-v1 0.4.0 → 0.6.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: 5a19eaf281898c1882fef259beb53cf78d5c12c9bd3306c97f5e506a6f368003
4
- data.tar.gz: 3d60b6a60fa3b7c1fe2248b13b3685f97c3ef3fccbb4cda9dc7066d280593ebb
3
+ metadata.gz: 810fba97ff1cfb9f8b92bcaaac9229aa52eb66644cb1e079daa20f51ae4c0c37
4
+ data.tar.gz: f91e24db4ce4c4fa7c743a068523afdda65c5e120a4d1bfc727a135f14dc15bb
5
5
  SHA512:
6
- metadata.gz: b6045bb80fcdbd1309c02b7e3af10cd07fed037a1cc708038a8bcb64b24cf9e7e82a7dd5f178872e55864e3b5fbddf200c3dc3422d1f8c9a24b973cdc0700469
7
- data.tar.gz: dbc36ab8caf9a086c8e6f9f2480ae52c55690cb6af0c3a1c82c951939027990582a6b5b99ddcc0ab66151f1257bad4db84329d0c27d8f051753c2a01717f2190
6
+ metadata.gz: f0bfc1c64ab4ce17a803294f0f25bb867c18f0faab2ac6f46b06c07e3211a95c2a86cc9317e888fd614fd5d21f8d79d309e15b2949e323c4659923a6e754c633
7
+ data.tar.gz: b0eae657fb6f9aa1f98cd0ffcc9d9645dcaf477781d3bc4bebfa161a69db0df7379ddf20572034f0e98e72e6e601d611825fd09e3819c3ac05cf74f86a16ae0f
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
49
  The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -1001,9 +1001,9 @@ module Google
1001
1001
  # * (`String`) The path to a service account key file in JSON format
1002
1002
  # * (`Hash`) A service account key as a Hash
1003
1003
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1004
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1004
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1005
1005
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1006
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1006
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1007
1007
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1008
1008
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1009
1009
  # * (`nil`) indicating no credentials
@@ -622,9 +622,9 @@ module Google
622
622
  # * (`String`) The path to a service account key file in JSON format
623
623
  # * (`Hash`) A service account key as a Hash
624
624
  # * (`Google::Auth::Credentials`) A googleauth credentials object
625
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
625
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
626
626
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
627
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
627
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
628
628
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
629
629
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
630
630
  # * (`nil`) indicating no credentials
@@ -792,9 +792,9 @@ module Google
792
792
  # * (`String`) The path to a service account key file in JSON format
793
793
  # * (`Hash`) A service account key as a Hash
794
794
  # * (`Google::Auth::Credentials`) A googleauth credentials object
795
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
795
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
796
796
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
797
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
797
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
798
798
  # * (`nil`) indicating no credentials
799
799
  # @return [::Object]
800
800
  # @!attribute [rw] scope
@@ -413,9 +413,9 @@ module Google
413
413
  # * (`String`) The path to a service account key file in JSON format
414
414
  # * (`Hash`) A service account key as a Hash
415
415
  # * (`Google::Auth::Credentials`) A googleauth credentials object
416
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
416
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
417
417
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
418
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
418
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
419
419
  # * (`nil`) indicating no credentials
420
420
  # @return [::Object]
421
421
  # @!attribute [rw] scope
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/orchestration/airflow/service/v1/environments.proto
3
4
 
@@ -13,220 +14,33 @@ require 'google/protobuf/empty_pb'
13
14
  require 'google/protobuf/field_mask_pb'
14
15
  require 'google/protobuf/timestamp_pb'
15
16
 
16
- Google::Protobuf::DescriptorPool.generated_pool.build do
17
- add_file("google/cloud/orchestration/airflow/service/v1/environments.proto", :syntax => :proto3) do
18
- add_message "google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest" do
19
- optional :parent, :string, 1
20
- optional :environment, :message, 2, "google.cloud.orchestration.airflow.service.v1.Environment"
21
- end
22
- add_message "google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest" do
23
- optional :name, :string, 1
24
- end
25
- add_message "google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest" do
26
- optional :parent, :string, 1
27
- optional :page_size, :int32, 2
28
- optional :page_token, :string, 3
29
- end
30
- add_message "google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse" do
31
- repeated :environments, :message, 1, "google.cloud.orchestration.airflow.service.v1.Environment"
32
- optional :next_page_token, :string, 2
33
- end
34
- add_message "google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest" do
35
- optional :name, :string, 1
36
- end
37
- add_message "google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest" do
38
- optional :name, :string, 2
39
- optional :environment, :message, 1, "google.cloud.orchestration.airflow.service.v1.Environment"
40
- optional :update_mask, :message, 3, "google.protobuf.FieldMask"
41
- end
42
- add_message "google.cloud.orchestration.airflow.service.v1.SaveSnapshotRequest" do
43
- optional :environment, :string, 1
44
- optional :snapshot_location, :string, 2
45
- end
46
- add_message "google.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse" do
47
- optional :snapshot_path, :string, 1
48
- end
49
- add_message "google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest" do
50
- optional :environment, :string, 1
51
- optional :snapshot_path, :string, 2
52
- optional :skip_pypi_packages_installation, :bool, 3
53
- optional :skip_environment_variables_setting, :bool, 4
54
- optional :skip_airflow_overrides_setting, :bool, 5
55
- optional :skip_gcs_data_copying, :bool, 6
56
- end
57
- add_message "google.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse" do
58
- end
59
- add_message "google.cloud.orchestration.airflow.service.v1.EnvironmentConfig" do
60
- optional :gke_cluster, :string, 1
61
- optional :dag_gcs_prefix, :string, 2
62
- optional :node_count, :int32, 3
63
- optional :software_config, :message, 4, "google.cloud.orchestration.airflow.service.v1.SoftwareConfig"
64
- optional :node_config, :message, 5, "google.cloud.orchestration.airflow.service.v1.NodeConfig"
65
- optional :private_environment_config, :message, 7, "google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig"
66
- optional :web_server_network_access_control, :message, 8, "google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl"
67
- optional :database_config, :message, 9, "google.cloud.orchestration.airflow.service.v1.DatabaseConfig"
68
- optional :web_server_config, :message, 10, "google.cloud.orchestration.airflow.service.v1.WebServerConfig"
69
- optional :encryption_config, :message, 11, "google.cloud.orchestration.airflow.service.v1.EncryptionConfig"
70
- optional :maintenance_window, :message, 12, "google.cloud.orchestration.airflow.service.v1.MaintenanceWindow"
71
- optional :workloads_config, :message, 15, "google.cloud.orchestration.airflow.service.v1.WorkloadsConfig"
72
- optional :environment_size, :enum, 16, "google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.EnvironmentSize"
73
- optional :airflow_uri, :string, 6
74
- optional :master_authorized_networks_config, :message, 17, "google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig"
75
- optional :recovery_config, :message, 18, "google.cloud.orchestration.airflow.service.v1.RecoveryConfig"
76
- end
77
- add_enum "google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.EnvironmentSize" do
78
- value :ENVIRONMENT_SIZE_UNSPECIFIED, 0
79
- value :ENVIRONMENT_SIZE_SMALL, 1
80
- value :ENVIRONMENT_SIZE_MEDIUM, 2
81
- value :ENVIRONMENT_SIZE_LARGE, 3
82
- end
83
- add_message "google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl" do
84
- repeated :allowed_ip_ranges, :message, 1, "google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange"
85
- end
86
- add_message "google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange" do
87
- optional :value, :string, 1
88
- optional :description, :string, 2
89
- end
90
- add_message "google.cloud.orchestration.airflow.service.v1.DatabaseConfig" do
91
- optional :machine_type, :string, 1
92
- end
93
- add_message "google.cloud.orchestration.airflow.service.v1.WebServerConfig" do
94
- optional :machine_type, :string, 1
95
- end
96
- add_message "google.cloud.orchestration.airflow.service.v1.EncryptionConfig" do
97
- optional :kms_key_name, :string, 1
98
- end
99
- add_message "google.cloud.orchestration.airflow.service.v1.MaintenanceWindow" do
100
- optional :start_time, :message, 1, "google.protobuf.Timestamp"
101
- optional :end_time, :message, 2, "google.protobuf.Timestamp"
102
- optional :recurrence, :string, 3
103
- end
104
- add_message "google.cloud.orchestration.airflow.service.v1.SoftwareConfig" do
105
- optional :image_version, :string, 1
106
- map :airflow_config_overrides, :string, :string, 2
107
- map :pypi_packages, :string, :string, 3
108
- map :env_variables, :string, :string, 4
109
- optional :python_version, :string, 6
110
- optional :scheduler_count, :int32, 7
111
- end
112
- add_message "google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy" do
113
- optional :use_ip_aliases, :bool, 1
114
- oneof :cluster_ip_allocation do
115
- optional :cluster_secondary_range_name, :string, 2
116
- optional :cluster_ipv4_cidr_block, :string, 4
117
- end
118
- oneof :services_ip_allocation do
119
- optional :services_secondary_range_name, :string, 3
120
- optional :services_ipv4_cidr_block, :string, 5
121
- end
122
- end
123
- add_message "google.cloud.orchestration.airflow.service.v1.NodeConfig" do
124
- optional :location, :string, 1
125
- optional :machine_type, :string, 2
126
- optional :network, :string, 3
127
- optional :subnetwork, :string, 4
128
- optional :disk_size_gb, :int32, 5
129
- repeated :oauth_scopes, :string, 6
130
- optional :service_account, :string, 7
131
- repeated :tags, :string, 8
132
- optional :ip_allocation_policy, :message, 9, "google.cloud.orchestration.airflow.service.v1.IPAllocationPolicy"
133
- optional :enable_ip_masq_agent, :bool, 11
134
- end
135
- add_message "google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig" do
136
- optional :enable_private_endpoint, :bool, 1
137
- optional :master_ipv4_cidr_block, :string, 2
138
- optional :master_ipv4_reserved_range, :string, 3
139
- end
140
- add_message "google.cloud.orchestration.airflow.service.v1.NetworkingConfig" do
141
- optional :connection_type, :enum, 1, "google.cloud.orchestration.airflow.service.v1.NetworkingConfig.ConnectionType"
142
- end
143
- add_enum "google.cloud.orchestration.airflow.service.v1.NetworkingConfig.ConnectionType" do
144
- value :CONNECTION_TYPE_UNSPECIFIED, 0
145
- value :VPC_PEERING, 1
146
- value :PRIVATE_SERVICE_CONNECT, 2
147
- end
148
- add_message "google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig" do
149
- optional :enable_private_environment, :bool, 1
150
- optional :private_cluster_config, :message, 2, "google.cloud.orchestration.airflow.service.v1.PrivateClusterConfig"
151
- optional :web_server_ipv4_cidr_block, :string, 3
152
- optional :cloud_sql_ipv4_cidr_block, :string, 4
153
- optional :web_server_ipv4_reserved_range, :string, 5
154
- optional :cloud_composer_network_ipv4_cidr_block, :string, 7
155
- optional :cloud_composer_network_ipv4_reserved_range, :string, 8
156
- optional :enable_privately_used_public_ips, :bool, 6
157
- optional :cloud_composer_connection_subnetwork, :string, 9
158
- optional :networking_config, :message, 10, "google.cloud.orchestration.airflow.service.v1.NetworkingConfig"
159
- end
160
- add_message "google.cloud.orchestration.airflow.service.v1.WorkloadsConfig" do
161
- optional :scheduler, :message, 1, "google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource"
162
- optional :web_server, :message, 2, "google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource"
163
- optional :worker, :message, 3, "google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource"
164
- end
165
- add_message "google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResource" do
166
- optional :cpu, :float, 1
167
- optional :memory_gb, :float, 2
168
- optional :storage_gb, :float, 3
169
- optional :count, :int32, 4
170
- end
171
- add_message "google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResource" do
172
- optional :cpu, :float, 1
173
- optional :memory_gb, :float, 2
174
- optional :storage_gb, :float, 3
175
- end
176
- add_message "google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResource" do
177
- optional :cpu, :float, 1
178
- optional :memory_gb, :float, 2
179
- optional :storage_gb, :float, 3
180
- optional :min_count, :int32, 4
181
- optional :max_count, :int32, 5
182
- end
183
- add_message "google.cloud.orchestration.airflow.service.v1.RecoveryConfig" do
184
- optional :scheduled_snapshots_config, :message, 1, "google.cloud.orchestration.airflow.service.v1.ScheduledSnapshotsConfig"
185
- end
186
- add_message "google.cloud.orchestration.airflow.service.v1.ScheduledSnapshotsConfig" do
187
- optional :enabled, :bool, 1
188
- optional :snapshot_location, :string, 6
189
- optional :snapshot_creation_schedule, :string, 3
190
- optional :time_zone, :string, 5
191
- end
192
- add_message "google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig" do
193
- optional :enabled, :bool, 1
194
- repeated :cidr_blocks, :message, 2, "google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock"
195
- end
196
- add_message "google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock" do
197
- optional :display_name, :string, 1
198
- optional :cidr_block, :string, 2
199
- end
200
- add_message "google.cloud.orchestration.airflow.service.v1.Environment" do
201
- optional :name, :string, 1
202
- optional :config, :message, 2, "google.cloud.orchestration.airflow.service.v1.EnvironmentConfig"
203
- optional :uuid, :string, 3
204
- optional :state, :enum, 4, "google.cloud.orchestration.airflow.service.v1.Environment.State"
205
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
206
- optional :update_time, :message, 6, "google.protobuf.Timestamp"
207
- map :labels, :string, :string, 7
208
- end
209
- add_enum "google.cloud.orchestration.airflow.service.v1.Environment.State" do
210
- value :STATE_UNSPECIFIED, 0
211
- value :CREATING, 1
212
- value :RUNNING, 2
213
- value :UPDATING, 3
214
- value :DELETING, 4
215
- value :ERROR, 5
216
- end
217
- add_message "google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse" do
218
- optional :build_log_uri, :string, 1
219
- optional :contains_pypi_modules_conflict, :enum, 4, "google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult"
220
- optional :pypi_conflict_build_log_extract, :string, 3
221
- optional :image_version, :string, 5
222
- map :pypi_dependencies, :string, :string, 6
223
- end
224
- add_enum "google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResult" do
225
- value :CONFLICT_RESULT_UNSPECIFIED, 0
226
- value :CONFLICT, 1
227
- value :NO_CONFLICT, 2
17
+
18
+ descriptor_data = "\n@google/cloud/orchestration/airflow/service/v1/environments.proto\x12-google.cloud.orchestration.airflow.service.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a>google/cloud/orchestration/airflow/service/v1/operations.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"{\n\x18\x43reateEnvironmentRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12O\n\x0b\x65nvironment\x18\x02 \x01(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\"%\n\x15GetEnvironmentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"P\n\x17ListEnvironmentsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x85\x01\n\x18ListEnvironmentsResponse\x12P\n\x0c\x65nvironments\x18\x01 \x03(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"(\n\x18\x44\x65leteEnvironmentRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\"\xaa\x01\n\x18UpdateEnvironmentRequest\x12\x0c\n\x04name\x18\x02 \x01(\t\x12O\n\x0b\x65nvironment\x18\x01 \x01(\x0b\x32:.google.cloud.orchestration.airflow.service.v1.Environment\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"E\n\x13SaveSnapshotRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x19\n\x11snapshot_location\x18\x02 \x01(\t\"-\n\x14SaveSnapshotResponse\x12\x15\n\rsnapshot_path\x18\x01 \x01(\t\"\xdd\x01\n\x13LoadSnapshotRequest\x12\x13\n\x0b\x65nvironment\x18\x01 \x01(\t\x12\x15\n\rsnapshot_path\x18\x02 \x01(\t\x12\'\n\x1fskip_pypi_packages_installation\x18\x03 \x01(\x08\x12*\n\"skip_environment_variables_setting\x18\x04 \x01(\x08\x12&\n\x1eskip_airflow_overrides_setting\x18\x05 \x01(\x08\x12\x1d\n\x15skip_gcs_data_copying\x18\x06 \x01(\x08\"\x16\n\x14LoadSnapshotResponse\"\xd4\x0b\n\x11\x45nvironmentConfig\x12\x13\n\x0bgke_cluster\x18\x01 \x01(\t\x12\x16\n\x0e\x64\x61g_gcs_prefix\x18\x02 \x01(\t\x12\x12\n\nnode_count\x18\x03 \x01(\x05\x12V\n\x0fsoftware_config\x18\x04 \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.SoftwareConfig\x12N\n\x0bnode_config\x18\x05 \x01(\x0b\x32\x39.google.cloud.orchestration.airflow.service.v1.NodeConfig\x12k\n\x1aprivate_environment_config\x18\x07 \x01(\x0b\x32G.google.cloud.orchestration.airflow.service.v1.PrivateEnvironmentConfig\x12|\n!web_server_network_access_control\x18\x08 \x01(\x0b\x32L.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControlB\x03\xe0\x41\x01\x12[\n\x0f\x64\x61tabase_config\x18\t \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.DatabaseConfigB\x03\xe0\x41\x01\x12^\n\x11web_server_config\x18\n \x01(\x0b\x32>.google.cloud.orchestration.airflow.service.v1.WebServerConfigB\x03\xe0\x41\x01\x12_\n\x11\x65ncryption_config\x18\x0b \x01(\x0b\x32?.google.cloud.orchestration.airflow.service.v1.EncryptionConfigB\x03\xe0\x41\x01\x12\x61\n\x12maintenance_window\x18\x0c \x01(\x0b\x32@.google.cloud.orchestration.airflow.service.v1.MaintenanceWindowB\x03\xe0\x41\x01\x12]\n\x10workloads_config\x18\x0f \x01(\x0b\x32>.google.cloud.orchestration.airflow.service.v1.WorkloadsConfigB\x03\xe0\x41\x01\x12o\n\x10\x65nvironment_size\x18\x10 \x01(\x0e\x32P.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig.EnvironmentSizeB\x03\xe0\x41\x01\x12\x13\n\x0b\x61irflow_uri\x18\x06 \x01(\t\x12\x1e\n\x11\x61irflow_byoid_uri\x18\x14 \x01(\tB\x03\xe0\x41\x03\x12}\n!master_authorized_networks_config\x18\x11 \x01(\x0b\x32M.google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfigB\x03\xe0\x41\x01\x12[\n\x0frecovery_config\x18\x12 \x01(\x0b\x32=.google.cloud.orchestration.airflow.service.v1.RecoveryConfigB\x03\xe0\x41\x01\"\x88\x01\n\x0f\x45nvironmentSize\x12 \n\x1c\x45NVIRONMENT_SIZE_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x45NVIRONMENT_SIZE_SMALL\x10\x01\x12\x1b\n\x17\x45NVIRONMENT_SIZE_MEDIUM\x10\x02\x12\x1a\n\x16\x45NVIRONMENT_SIZE_LARGE\x10\x03\"\xd2\x01\n\x1dWebServerNetworkAccessControl\x12v\n\x11\x61llowed_ip_ranges\x18\x01 \x03(\x0b\x32[.google.cloud.orchestration.airflow.service.v1.WebServerNetworkAccessControl.AllowedIpRange\x1a\x39\n\x0e\x41llowedIpRange\x12\r\n\x05value\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\"+\n\x0e\x44\x61tabaseConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\",\n\x0fWebServerConfig\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x01\"-\n\x10\x45ncryptionConfig\x12\x19\n\x0ckms_key_name\x18\x01 \x01(\tB\x03\xe0\x41\x01\"\x94\x01\n\x11MaintenanceWindow\x12\x33\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\x12\x17\n\nrecurrence\x18\x03 \x01(\tB\x03\xe0\x41\x02\"\xd3\x04\n\x0eSoftwareConfig\x12\x15\n\rimage_version\x18\x01 \x01(\t\x12{\n\x18\x61irflow_config_overrides\x18\x02 \x03(\x0b\x32Y.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.AirflowConfigOverridesEntry\x12\x66\n\rpypi_packages\x18\x03 \x03(\x0b\x32O.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.PypiPackagesEntry\x12\x66\n\renv_variables\x18\x04 \x03(\x0b\x32O.google.cloud.orchestration.airflow.service.v1.SoftwareConfig.EnvVariablesEntry\x12\x16\n\x0epython_version\x18\x06 \x01(\t\x12\x1c\n\x0fscheduler_count\x18\x07 \x01(\x05\x42\x03\xe0\x41\x01\x1a=\n\x1b\x41irflowConfigOverridesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11PypiPackagesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x33\n\x11\x45nvVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x02\n\x12IPAllocationPolicy\x12\x1b\n\x0euse_ip_aliases\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12+\n\x1c\x63luster_secondary_range_name\x18\x02 \x01(\tB\x03\xe0\x41\x01H\x00\x12&\n\x17\x63luster_ipv4_cidr_block\x18\x04 \x01(\tB\x03\xe0\x41\x01H\x00\x12,\n\x1dservices_secondary_range_name\x18\x03 \x01(\tB\x03\xe0\x41\x01H\x01\x12\'\n\x18services_ipv4_cidr_block\x18\x05 \x01(\tB\x03\xe0\x41\x01H\x01\x42\x17\n\x15\x63luster_ip_allocationB\x18\n\x16services_ip_allocation\"\xb5\x02\n\nNodeConfig\x12\x10\n\x08location\x18\x01 \x01(\t\x12\x14\n\x0cmachine_type\x18\x02 \x01(\t\x12\x0f\n\x07network\x18\x03 \x01(\t\x12\x12\n\nsubnetwork\x18\x04 \x01(\t\x12\x14\n\x0c\x64isk_size_gb\x18\x05 \x01(\x05\x12\x14\n\x0coauth_scopes\x18\x06 \x03(\t\x12\x17\n\x0fservice_account\x18\x07 \x01(\t\x12\x0c\n\x04tags\x18\x08 \x03(\t\x12\x64\n\x14ip_allocation_policy\x18\t \x01(\x0b\x32\x41.google.cloud.orchestration.airflow.service.v1.IPAllocationPolicyB\x03\xe0\x41\x01\x12!\n\x14\x65nable_ip_masq_agent\x18\x0b \x01(\x08\x42\x03\xe0\x41\x01\"\x8a\x01\n\x14PrivateClusterConfig\x12$\n\x17\x65nable_private_endpoint\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12#\n\x16master_ipv4_cidr_block\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\'\n\x1amaster_ipv4_reserved_range\x18\x03 \x01(\tB\x03\xe0\x41\x03\"\xe1\x01\n\x10NetworkingConfig\x12l\n\x0f\x63onnection_type\x18\x01 \x01(\x0e\x32N.google.cloud.orchestration.airflow.service.v1.NetworkingConfig.ConnectionTypeB\x03\xe0\x41\x01\"_\n\x0e\x43onnectionType\x12\x1f\n\x1b\x43ONNECTION_TYPE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bVPC_PEERING\x10\x01\x12\x1b\n\x17PRIVATE_SERVICE_CONNECT\x10\x02\"\xdc\x04\n\x18PrivateEnvironmentConfig\x12\'\n\x1a\x65nable_private_environment\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12h\n\x16private_cluster_config\x18\x02 \x01(\x0b\x32\x43.google.cloud.orchestration.airflow.service.v1.PrivateClusterConfigB\x03\xe0\x41\x01\x12\'\n\x1aweb_server_ipv4_cidr_block\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12&\n\x19\x63loud_sql_ipv4_cidr_block\x18\x04 \x01(\tB\x03\xe0\x41\x01\x12+\n\x1eweb_server_ipv4_reserved_range\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12\x33\n&cloud_composer_network_ipv4_cidr_block\x18\x07 \x01(\tB\x03\xe0\x41\x01\x12\x37\n*cloud_composer_network_ipv4_reserved_range\x18\x08 \x01(\tB\x03\xe0\x41\x03\x12-\n enable_privately_used_public_ips\x18\x06 \x01(\x08\x42\x03\xe0\x41\x01\x12\x31\n$cloud_composer_connection_subnetwork\x18\t \x01(\tB\x03\xe0\x41\x01\x12_\n\x11networking_config\x18\n \x01(\x0b\x32?.google.cloud.orchestration.airflow.service.v1.NetworkingConfigB\x03\xe0\x41\x01\"\x94\x05\n\x0fWorkloadsConfig\x12h\n\tscheduler\x18\x01 \x01(\x0b\x32P.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.SchedulerResourceB\x03\xe0\x41\x01\x12i\n\nweb_server\x18\x02 \x01(\x0b\x32P.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WebServerResourceB\x03\xe0\x41\x01\x12\x62\n\x06worker\x18\x03 \x01(\x0b\x32M.google.cloud.orchestration.airflow.service.v1.WorkloadsConfig.WorkerResourceB\x03\xe0\x41\x01\x1aj\n\x11SchedulerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x12\x12\n\x05\x63ount\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x1aV\n\x11WebServerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x1a\x83\x01\n\x0eWorkerResource\x12\x10\n\x03\x63pu\x18\x01 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmemory_gb\x18\x02 \x01(\x02\x42\x03\xe0\x41\x01\x12\x17\n\nstorage_gb\x18\x03 \x01(\x02\x42\x03\xe0\x41\x01\x12\x16\n\tmin_count\x18\x04 \x01(\x05\x42\x03\xe0\x41\x01\x12\x16\n\tmax_count\x18\x05 \x01(\x05\x42\x03\xe0\x41\x01\"\x82\x01\n\x0eRecoveryConfig\x12p\n\x1ascheduled_snapshots_config\x18\x01 \x01(\x0b\x32G.google.cloud.orchestration.airflow.service.v1.ScheduledSnapshotsConfigB\x03\xe0\x41\x01\"\x91\x01\n\x18ScheduledSnapshotsConfig\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x01\x12\x1e\n\x11snapshot_location\x18\x06 \x01(\tB\x03\xe0\x41\x01\x12\'\n\x1asnapshot_creation_schedule\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x16\n\ttime_zone\x18\x05 \x01(\tB\x03\xe0\x41\x01\"\xd6\x01\n\x1eMasterAuthorizedNetworksConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12l\n\x0b\x63idr_blocks\x18\x02 \x03(\x0b\x32W.google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock\x1a\x35\n\tCidrBlock\x12\x14\n\x0c\x64isplay_name\x18\x01 \x01(\t\x12\x12\n\ncidr_block\x18\x02 \x01(\t\"\x85\x05\n\x0b\x45nvironment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12P\n\x06\x63onfig\x18\x02 \x01(\x0b\x32@.google.cloud.orchestration.airflow.service.v1.EnvironmentConfig\x12\x0c\n\x04uuid\x18\x03 \x01(\t\x12O\n\x05state\x18\x04 \x01(\x0e\x32@.google.cloud.orchestration.airflow.service.v1.Environment.State\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12V\n\x06labels\x18\x07 \x03(\x0b\x32\x46.google.cloud.orchestration.airflow.service.v1.Environment.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"`\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05:l\xea\x41i\n#composer.googleapis.com/Environment\x12\x42projects/{project}/locations/{location}/environments/{environment}\"\xf9\x03\n\x14\x43heckUpgradeResponse\x12\x1a\n\rbuild_log_uri\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x7f\n\x1e\x63ontains_pypi_modules_conflict\x18\x04 \x01(\x0e\x32R.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.ConflictResultB\x03\xe0\x41\x03\x12,\n\x1fpypi_conflict_build_log_extract\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\rimage_version\x18\x05 \x01(\t\x12t\n\x11pypi_dependencies\x18\x06 \x03(\x0b\x32Y.google.cloud.orchestration.airflow.service.v1.CheckUpgradeResponse.PypiDependenciesEntry\x1a\x37\n\x15PypiDependenciesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"P\n\x0e\x43onflictResult\x12\x1f\n\x1b\x43ONFLICT_RESULT_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43ONFLICT\x10\x01\x12\x0f\n\x0bNO_CONFLICT\x10\x02\x32\xb5\x10\n\x0c\x45nvironments\x12\xa9\x02\n\x11\x43reateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.CreateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xab\x01\x82\xd3\xe4\x93\x02?\"0/v1/{parent=projects/*/locations/*}/environments:\x0b\x65nvironment\xda\x41\x12parent,environment\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xd3\x01\n\x0eGetEnvironment\x12\x44.google.cloud.orchestration.airflow.service.v1.GetEnvironmentRequest\x1a:.google.cloud.orchestration.airflow.service.v1.Environment\"?\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\x12\xe6\x01\n\x10ListEnvironments\x12\x46.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsRequest\x1aG.google.cloud.orchestration.airflow.service.v1.ListEnvironmentsResponse\"A\x82\xd3\xe4\x93\x02\x32\x12\x30/v1/{parent=projects/*/locations/*}/environments\xda\x41\x06parent\x12\xb3\x02\n\x11UpdateEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.UpdateEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\xb5\x01\x82\xd3\xe4\x93\x02?20/v1/{name=projects/*/locations/*/environments/*}:\x0b\x65nvironment\xda\x41\x1cname,environment,update_mask\xca\x41N\n\x0b\x45nvironment\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\x98\x02\n\x11\x44\x65leteEnvironment\x12G.google.cloud.orchestration.airflow.service.v1.DeleteEnvironmentRequest\x1a\x1d.google.longrunning.Operation\"\x9a\x01\x82\xd3\xe4\x93\x02\x32*0/v1/{name=projects/*/locations/*/environments/*}\xda\x41\x04name\xca\x41X\n\x15google.protobuf.Empty\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xcc\x02\n\x0cSaveSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.SaveSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:saveSnapshot:\x01*\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.SaveSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x12\xcc\x02\n\x0cLoadSnapshot\x12\x42.google.cloud.orchestration.airflow.service.v1.LoadSnapshotRequest\x1a\x1d.google.longrunning.Operation\"\xd8\x01\x82\xd3\xe4\x93\x02I\"D/v1/{environment=projects/*/locations/*/environments/*}:loadSnapshot:\x01*\xca\x41\x85\x01\nBgoogle.cloud.orchestration.airflow.service.v1.LoadSnapshotResponse\x12?google.cloud.orchestration.airflow.service.v1.OperationMetadata\x1aK\xca\x41\x17\x63omposer.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x82\x01\n1com.google.cloud.orchestration.airflow.service.v1P\x01ZKcloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepbb\x06proto3"
19
+
20
+ pool = Google::Protobuf::DescriptorPool.generated_pool
21
+
22
+ begin
23
+ pool.add_serialized_file(descriptor_data)
24
+ rescue TypeError => e
25
+ # Compatibility code: will be removed in the next major version.
26
+ require 'google/protobuf/descriptor_pb'
27
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
28
+ parsed.clear_dependency
29
+ serialized = parsed.class.encode(parsed)
30
+ file = pool.add_serialized_file(serialized)
31
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
32
+ imports = [
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
35
+ ]
36
+ imports.each do |type_name, expected_filename|
37
+ import_file = pool.lookup(type_name).file_descriptor
38
+ if import_file.name != expected_filename
39
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
228
40
  end
229
41
  end
42
+ warn "Each proto file must use a consistent fully-qualified name."
43
+ warn "This will become an error in the next major version."
230
44
  end
231
45
 
232
46
  module Google
@@ -279,9 +279,9 @@ module Google
279
279
  # * (`String`) The path to a service account key file in JSON format
280
280
  # * (`Hash`) A service account key as a Hash
281
281
  # * (`Google::Auth::Credentials`) A googleauth credentials object
282
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
282
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
283
283
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
284
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
284
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
285
285
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
286
286
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
287
287
  # * (`nil`) indicating no credentials
@@ -243,9 +243,9 @@ module Google
243
243
  # * (`String`) The path to a service account key file in JSON format
244
244
  # * (`Hash`) A service account key as a Hash
245
245
  # * (`Google::Auth::Credentials`) A googleauth credentials object
246
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
246
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
247
247
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
248
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
248
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
249
249
  # * (`nil`) indicating no credentials
250
250
  # @return [::Object]
251
251
  # @!attribute [rw] scope
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/orchestration/airflow/service/v1/image_versions.proto
3
4
 
@@ -7,27 +8,32 @@ require 'google/api/annotations_pb'
7
8
  require 'google/api/client_pb'
8
9
  require 'google/type/date_pb'
9
10
 
10
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/orchestration/airflow/service/v1/image_versions.proto", :syntax => :proto3) do
12
- add_message "google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest" do
13
- optional :parent, :string, 1
14
- optional :page_size, :int32, 2
15
- optional :page_token, :string, 3
16
- optional :include_past_releases, :bool, 4
17
- end
18
- add_message "google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse" do
19
- repeated :image_versions, :message, 1, "google.cloud.orchestration.airflow.service.v1.ImageVersion"
20
- optional :next_page_token, :string, 2
21
- end
22
- add_message "google.cloud.orchestration.airflow.service.v1.ImageVersion" do
23
- optional :image_version_id, :string, 1
24
- optional :is_default, :bool, 2
25
- repeated :supported_python_versions, :string, 3
26
- optional :release_date, :message, 4, "google.type.Date"
27
- optional :creation_disabled, :bool, 5
28
- optional :upgrade_disabled, :bool, 6
11
+
12
+ descriptor_data = "\nBgoogle/cloud/orchestration/airflow/service/v1/image_versions.proto\x12-google.cloud.orchestration.airflow.service.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x16google/type/date.proto\"p\n\x18ListImageVersionsRequest\x12\x0e\n\x06parent\x18\x01 \x01(\t\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x1d\n\x15include_past_releases\x18\x04 \x01(\x08\"\x89\x01\n\x19ListImageVersionsResponse\x12S\n\x0eimage_versions\x18\x01 \x03(\x0b\x32;.google.cloud.orchestration.airflow.service.v1.ImageVersion\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xbd\x01\n\x0cImageVersion\x12\x18\n\x10image_version_id\x18\x01 \x01(\t\x12\x12\n\nis_default\x18\x02 \x01(\x08\x12!\n\x19supported_python_versions\x18\x03 \x03(\t\x12\'\n\x0crelease_date\x18\x04 \x01(\x0b\x32\x11.google.type.Date\x12\x19\n\x11\x63reation_disabled\x18\x05 \x01(\x08\x12\x18\n\x10upgrade_disabled\x18\x06 \x01(\x08\x32\xc9\x02\n\rImageVersions\x12\xea\x01\n\x11ListImageVersions\x12G.google.cloud.orchestration.airflow.service.v1.ListImageVersionsRequest\x1aH.google.cloud.orchestration.airflow.service.v1.ListImageVersionsResponse\"B\x82\xd3\xe4\x93\x02\x33\x12\x31/v1/{parent=projects/*/locations/*}/imageVersions\xda\x41\x06parent\x1aK\xca\x41\x17\x63omposer.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x82\x01\n1com.google.cloud.orchestration.airflow.service.v1P\x01ZKcloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepbb\x06proto3"
13
+
14
+ pool = Google::Protobuf::DescriptorPool.generated_pool
15
+
16
+ begin
17
+ pool.add_serialized_file(descriptor_data)
18
+ rescue TypeError => e
19
+ # Compatibility code: will be removed in the next major version.
20
+ require 'google/protobuf/descriptor_pb'
21
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
22
+ parsed.clear_dependency
23
+ serialized = parsed.class.encode(parsed)
24
+ file = pool.add_serialized_file(serialized)
25
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
26
+ imports = [
27
+ ["google.type.Date", "google/type/date.proto"],
28
+ ]
29
+ imports.each do |type_name, expected_filename|
30
+ import_file = pool.lookup(type_name).file_descriptor
31
+ if import_file.name != expected_filename
32
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
29
33
  end
30
34
  end
35
+ warn "Each proto file must use a consistent fully-qualified name."
36
+ warn "This will become an error in the next major version."
31
37
  end
32
38
 
33
39
  module Google
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: google/cloud/orchestration/airflow/service/v1/operations.proto
3
4
 
@@ -5,34 +6,32 @@ require 'google/protobuf'
5
6
 
6
7
  require 'google/protobuf/timestamp_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("google/cloud/orchestration/airflow/service/v1/operations.proto", :syntax => :proto3) do
10
- add_message "google.cloud.orchestration.airflow.service.v1.OperationMetadata" do
11
- optional :state, :enum, 1, "google.cloud.orchestration.airflow.service.v1.OperationMetadata.State"
12
- optional :operation_type, :enum, 2, "google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type"
13
- optional :resource, :string, 3
14
- optional :resource_uuid, :string, 4
15
- optional :create_time, :message, 5, "google.protobuf.Timestamp"
16
- optional :end_time, :message, 6, "google.protobuf.Timestamp"
17
- end
18
- add_enum "google.cloud.orchestration.airflow.service.v1.OperationMetadata.State" do
19
- value :STATE_UNSPECIFIED, 0
20
- value :PENDING, 1
21
- value :RUNNING, 2
22
- value :SUCCEEDED, 3
23
- value :SUCCESSFUL, 3
24
- value :FAILED, 4
25
- end
26
- add_enum "google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type" do
27
- value :TYPE_UNSPECIFIED, 0
28
- value :CREATE, 1
29
- value :DELETE, 2
30
- value :UPDATE, 3
31
- value :CHECK, 4
32
- value :SAVE_SNAPSHOT, 5
33
- value :LOAD_SNAPSHOT, 6
9
+
10
+ descriptor_data = "\n>google/cloud/orchestration/airflow/service/v1/operations.proto\x12-google.cloud.orchestration.airflow.service.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xad\x04\n\x11OperationMetadata\x12U\n\x05state\x18\x01 \x01(\x0e\x32\x46.google.cloud.orchestration.airflow.service.v1.OperationMetadata.State\x12]\n\x0eoperation_type\x18\x02 \x01(\x0e\x32\x45.google.cloud.orchestration.airflow.service.v1.OperationMetadata.Type\x12\x10\n\x08resource\x18\x03 \x01(\t\x12\x15\n\rresource_uuid\x18\x04 \x01(\t\x12/\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"g\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\x0e\n\nSUCCESSFUL\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x1a\x02\x10\x01\"q\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06\x44\x45LETE\x10\x02\x12\n\n\x06UPDATE\x10\x03\x12\t\n\x05\x43HECK\x10\x04\x12\x11\n\rSAVE_SNAPSHOT\x10\x05\x12\x11\n\rLOAD_SNAPSHOT\x10\x06\x42\x93\x01\n1com.google.cloud.orchestration.airflow.service.v1B\x0fOperationsProtoP\x01ZKcloud.google.com/go/orchestration/airflow/service/apiv1/servicepb;servicepbb\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+
14
+ begin
15
+ pool.add_serialized_file(descriptor_data)
16
+ rescue TypeError => e
17
+ # Compatibility code: will be removed in the next major version.
18
+ require 'google/protobuf/descriptor_pb'
19
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
20
+ parsed.clear_dependency
21
+ serialized = parsed.class.encode(parsed)
22
+ file = pool.add_serialized_file(serialized)
23
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
24
+ imports = [
25
+ ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
26
+ ]
27
+ imports.each do |type_name, expected_filename|
28
+ import_file = pool.lookup(type_name).file_descriptor
29
+ if import_file.name != expected_filename
30
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
34
31
  end
35
32
  end
33
+ warn "Each proto file must use a consistent fully-qualified name."
34
+ warn "This will become an error in the next major version."
36
35
  end
37
36
 
38
37
  module Google
@@ -23,7 +23,7 @@ module Google
23
23
  module Airflow
24
24
  module Service
25
25
  module V1
26
- VERSION = "0.4.0"
26
+ VERSION = "0.6.0"
27
27
  end
28
28
  end
29
29
  end
@@ -35,7 +35,9 @@ module Google
35
35
  # Details about how and where to publish client libraries.
36
36
  # @!attribute [rw] version
37
37
  # @return [::String]
38
- # Version of the API to apply these settings to.
38
+ # Version of the API to apply these settings to. This is the full protobuf
39
+ # package for the API, ending in the version element.
40
+ # Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
39
41
  # @!attribute [rw] launch_stage
40
42
  # @return [::Google::Api::LaunchStage]
41
43
  # Launch stage of this version of the API.
@@ -81,7 +83,7 @@ module Google
81
83
  # long-running operation pattern.
82
84
  # @!attribute [rw] new_issue_uri
83
85
  # @return [::String]
84
- # Link to a place that API users can report issues. Example:
86
+ # Link to a *public* URI where users can report issues. Example:
85
87
  # https://issuetracker.google.com/issues/new?component=190865&template=1161103
86
88
  # @!attribute [rw] documentation_uri
87
89
  # @return [::String]
@@ -111,6 +113,10 @@ module Google
111
113
  # Client library settings. If the same version string appears multiple
112
114
  # times in this list, then the last one wins. Settings from earlier
113
115
  # settings with the same version string are discarded.
116
+ # @!attribute [rw] proto_reference_documentation_uri
117
+ # @return [::String]
118
+ # Optional link to proto reference documentation. Example:
119
+ # https://cloud.google.com/pubsub/lite/docs/reference/rpc
114
120
  class Publishing
115
121
  include ::Google::Protobuf::MessageExts
116
122
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -203,9 +209,57 @@ module Google
203
209
  # @!attribute [rw] common
204
210
  # @return [::Google::Api::CommonLanguageSettings]
205
211
  # Some settings.
212
+ # @!attribute [rw] renamed_services
213
+ # @return [::Google::Protobuf::Map{::String => ::String}]
214
+ # Map from original service names to renamed versions.
215
+ # This is used when the default generated types
216
+ # would cause a naming conflict. (Neither name is
217
+ # fully-qualified.)
218
+ # Example: Subscriber to SubscriberServiceApi.
219
+ # @!attribute [rw] renamed_resources
220
+ # @return [::Google::Protobuf::Map{::String => ::String}]
221
+ # Map from full resource types to the effective short name
222
+ # for the resource. This is used when otherwise resource
223
+ # named from different services would cause naming collisions.
224
+ # Example entry:
225
+ # "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
226
+ # @!attribute [rw] ignored_resources
227
+ # @return [::Array<::String>]
228
+ # List of full resource types to ignore during generation.
229
+ # This is typically used for API-specific Location resources,
230
+ # which should be handled by the generator as if they were actually
231
+ # the common Location resources.
232
+ # Example entry: "documentai.googleapis.com/Location"
233
+ # @!attribute [rw] forced_namespace_aliases
234
+ # @return [::Array<::String>]
235
+ # Namespaces which must be aliased in snippets due to
236
+ # a known (but non-generator-predictable) naming collision
237
+ # @!attribute [rw] handwritten_signatures
238
+ # @return [::Array<::String>]
239
+ # Method signatures (in the form "service.method(signature)")
240
+ # which are provided separately, so shouldn't be generated.
241
+ # Snippets *calling* these methods are still generated, however.
206
242
  class DotnetSettings
207
243
  include ::Google::Protobuf::MessageExts
208
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
245
+
246
+ # @!attribute [rw] key
247
+ # @return [::String]
248
+ # @!attribute [rw] value
249
+ # @return [::String]
250
+ class RenamedServicesEntry
251
+ include ::Google::Protobuf::MessageExts
252
+ extend ::Google::Protobuf::MessageExts::ClassMethods
253
+ end
254
+
255
+ # @!attribute [rw] key
256
+ # @return [::String]
257
+ # @!attribute [rw] value
258
+ # @return [::String]
259
+ class RenamedResourcesEntry
260
+ include ::Google::Protobuf::MessageExts
261
+ extend ::Google::Protobuf::MessageExts::ClassMethods
262
+ end
209
263
  end
210
264
 
211
265
  # Settings for Ruby client libraries.
@@ -240,8 +294,8 @@ module Google
240
294
  # Example of a YAML configuration::
241
295
  #
242
296
  # publishing:
243
- # method_behavior:
244
- # - selector: CreateAdDomain
297
+ # method_settings:
298
+ # - selector: google.cloud.speech.v2.Speech.BatchRecognize
245
299
  # long_running:
246
300
  # initial_poll_delay:
247
301
  # seconds: 60 # 1 minute
@@ -299,6 +353,15 @@ module Google
299
353
 
300
354
  # Street View Org.
301
355
  STREET_VIEW = 4
356
+
357
+ # Shopping Org.
358
+ SHOPPING = 5
359
+
360
+ # Geo Org.
361
+ GEO = 6
362
+
363
+ # Generative AI - https://developers.generativeai.google
364
+ GENERATIVE_AI = 7
302
365
  end
303
366
 
304
367
  # To where should client libraries be published?
@@ -364,6 +364,13 @@ module Google
364
364
  # Output only. The URI of the Apache Airflow Web UI hosted within this
365
365
  # environment (see [Airflow web
366
366
  # interface](/composer/docs/how-to/accessing/airflow-web-interface)).
367
+ # @!attribute [r] airflow_byoid_uri
368
+ # @return [::String]
369
+ # Output only. The 'bring your own identity' variant of the URI of the Apache
370
+ # Airflow Web UI hosted within this environment, to be accessed with external
371
+ # identities using workforce identity federation (see [Access environments
372
+ # with workforce identity
373
+ # federation](/composer/docs/composer-2/access-environments-with-workforce-identity-federation)).
367
374
  # @!attribute [rw] master_authorized_networks_config
368
375
  # @return [::Google::Cloud::Orchestration::Airflow::Service::V1::MasterAuthorizedNetworksConfig]
369
376
  # Optional. The configuration options for GKE cluster master authorized
@@ -43,8 +43,12 @@ module Google
43
43
  # if (any.is(Foo.class)) {
44
44
  # foo = any.unpack(Foo.class);
45
45
  # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
46
50
  #
47
- # Example 3: Pack and unpack a message in Python.
51
+ # Example 3: Pack and unpack a message in Python.
48
52
  #
49
53
  # foo = Foo(...)
50
54
  # any = Any()
@@ -54,7 +58,7 @@ module Google
54
58
  # any.Unpack(foo)
55
59
  # ...
56
60
  #
57
- # Example 4: Pack and unpack a message in Go
61
+ # Example 4: Pack and unpack a message in Go
58
62
  #
59
63
  # foo := &pb.Foo{...}
60
64
  # any, err := anypb.New(foo)
@@ -73,9 +77,8 @@ module Google
73
77
  # in the type URL, for example "foo.bar.com/x/y.z" will yield type
74
78
  # name "y.z".
75
79
  #
76
- #
77
80
  # JSON
78
- #
81
+ # ====
79
82
  # The JSON representation of an `Any` value uses the regular
80
83
  # representation of the deserialized, embedded message, with an
81
84
  # additional field `@type` which contains the type URL. Example:
@@ -69,7 +69,6 @@ module Google
69
69
  # Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
70
70
  # .setNanos((int) ((millis % 1000) * 1000000)).build();
71
71
  #
72
- #
73
72
  # Example 5: Compute Timestamp from Java `Instant.now()`.
74
73
  #
75
74
  # Instant now = Instant.now();
@@ -78,7 +77,6 @@ module Google
78
77
  # Timestamp.newBuilder().setSeconds(now.getEpochSecond())
79
78
  # .setNanos(now.getNano()).build();
80
79
  #
81
- #
82
80
  # Example 6: Compute Timestamp from current time in Python.
83
81
  #
84
82
  # timestamp = Timestamp()
@@ -108,7 +106,7 @@ module Google
108
106
  # [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
109
107
  # the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
110
108
  # the Joda Time's [`ISODateTimeFormat.dateTime()`](
111
- # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
109
+ # http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
112
110
  # ) to obtain a formatter capable of generating timestamps in this format.
113
111
  # @!attribute [rw] seconds
114
112
  # @return [::Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-orchestration-airflow-service-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.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: 2023-03-08 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.18.0
19
+ version: 0.19.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.18.0
29
+ version: 0.19.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a