google-apis-composer_v1 0.41.0 → 0.42.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3dd65a836d714cfc14d3c6f7554f441860b6af711e9f06a47bd70a39aaac83e
|
4
|
+
data.tar.gz: e21c16f9eb50cca09c1d7d426dcbffb1912fcd432fd128b4eca3b9d1395617e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ecc8c07a8f417e5adee128442561ada55e7d460f0aed1fdd1b98f32f01775f42c059676e4e8fd40f145ac9495346cc0e820a96f49d99e2b25482b61280a04be
|
7
|
+
data.tar.gz: faa08bbe1d38bbd4e890f6bf754bf43720a0d07c5889dd5423948fb7a7c43ea4960d9bd6055e733988ba317abcd8ad3ec41d8e78316ffd4d3a4aa656b6b787fb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-composer_v1
|
2
2
|
|
3
|
+
### v0.42.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240123
|
6
|
+
* Regenerated using generator version 0.13.1
|
7
|
+
|
3
8
|
### v0.41.0 (2024-01-22)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240106
|
@@ -141,6 +141,108 @@ module Google
|
|
141
141
|
end
|
142
142
|
end
|
143
143
|
|
144
|
+
# Information about a single workload.
|
145
|
+
class ComposerWorkload
|
146
|
+
include Google::Apis::Core::Hashable
|
147
|
+
|
148
|
+
# Name of a workload.
|
149
|
+
# Corresponds to the JSON property `name`
|
150
|
+
# @return [String]
|
151
|
+
attr_accessor :name
|
152
|
+
|
153
|
+
# Workload status.
|
154
|
+
# Corresponds to the JSON property `status`
|
155
|
+
# @return [Google::Apis::ComposerV1::ComposerWorkloadStatus]
|
156
|
+
attr_accessor :status
|
157
|
+
|
158
|
+
# Type of a workload.
|
159
|
+
# Corresponds to the JSON property `type`
|
160
|
+
# @return [String]
|
161
|
+
attr_accessor :type
|
162
|
+
|
163
|
+
def initialize(**args)
|
164
|
+
update!(**args)
|
165
|
+
end
|
166
|
+
|
167
|
+
# Update properties of this object
|
168
|
+
def update!(**args)
|
169
|
+
@name = args[:name] if args.key?(:name)
|
170
|
+
@status = args[:status] if args.key?(:status)
|
171
|
+
@type = args[:type] if args.key?(:type)
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# Workload status.
|
176
|
+
class ComposerWorkloadStatus
|
177
|
+
include Google::Apis::Core::Hashable
|
178
|
+
|
179
|
+
# Output only. Detailed message of the status.
|
180
|
+
# Corresponds to the JSON property `detailedStatusMessage`
|
181
|
+
# @return [String]
|
182
|
+
attr_accessor :detailed_status_message
|
183
|
+
|
184
|
+
# Output only. Workload state.
|
185
|
+
# Corresponds to the JSON property `state`
|
186
|
+
# @return [String]
|
187
|
+
attr_accessor :state
|
188
|
+
|
189
|
+
# Output only. Text to provide more descriptive status.
|
190
|
+
# Corresponds to the JSON property `statusMessage`
|
191
|
+
# @return [String]
|
192
|
+
attr_accessor :status_message
|
193
|
+
|
194
|
+
def initialize(**args)
|
195
|
+
update!(**args)
|
196
|
+
end
|
197
|
+
|
198
|
+
# Update properties of this object
|
199
|
+
def update!(**args)
|
200
|
+
@detailed_status_message = args[:detailed_status_message] if args.key?(:detailed_status_message)
|
201
|
+
@state = args[:state] if args.key?(:state)
|
202
|
+
@status_message = args[:status_message] if args.key?(:status_message)
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
# Configuration for resources used by Airflow DAG processors.
|
207
|
+
class DagProcessorResource
|
208
|
+
include Google::Apis::Core::Hashable
|
209
|
+
|
210
|
+
# Optional. The number of DAG processors. If not provided or set to 0, a single
|
211
|
+
# DAG processor instance will be created.
|
212
|
+
# Corresponds to the JSON property `count`
|
213
|
+
# @return [Fixnum]
|
214
|
+
attr_accessor :count
|
215
|
+
|
216
|
+
# Optional. CPU request and limit for a single Airflow DAG processor replica.
|
217
|
+
# Corresponds to the JSON property `cpu`
|
218
|
+
# @return [Float]
|
219
|
+
attr_accessor :cpu
|
220
|
+
|
221
|
+
# Optional. Memory (GB) request and limit for a single Airflow DAG processor
|
222
|
+
# replica.
|
223
|
+
# Corresponds to the JSON property `memoryGb`
|
224
|
+
# @return [Float]
|
225
|
+
attr_accessor :memory_gb
|
226
|
+
|
227
|
+
# Optional. Storage (GB) request and limit for a single Airflow DAG processor
|
228
|
+
# replica.
|
229
|
+
# Corresponds to the JSON property `storageGb`
|
230
|
+
# @return [Float]
|
231
|
+
attr_accessor :storage_gb
|
232
|
+
|
233
|
+
def initialize(**args)
|
234
|
+
update!(**args)
|
235
|
+
end
|
236
|
+
|
237
|
+
# Update properties of this object
|
238
|
+
def update!(**args)
|
239
|
+
@count = args[:count] if args.key?(:count)
|
240
|
+
@cpu = args[:cpu] if args.key?(:cpu)
|
241
|
+
@memory_gb = args[:memory_gb] if args.key?(:memory_gb)
|
242
|
+
@storage_gb = args[:storage_gb] if args.key?(:storage_gb)
|
243
|
+
end
|
244
|
+
end
|
245
|
+
|
144
246
|
# The configuration setting for Airflow database data retention mechanism.
|
145
247
|
class DataRetentionConfig
|
146
248
|
include Google::Apis::Core::Hashable
|
@@ -892,6 +994,31 @@ module Google
|
|
892
994
|
end
|
893
995
|
end
|
894
996
|
|
997
|
+
# Response to ListWorkloadsRequest.
|
998
|
+
class ListWorkloadsResponse
|
999
|
+
include Google::Apis::Core::Hashable
|
1000
|
+
|
1001
|
+
# The page token used to query for the next page if one exists.
|
1002
|
+
# Corresponds to the JSON property `nextPageToken`
|
1003
|
+
# @return [String]
|
1004
|
+
attr_accessor :next_page_token
|
1005
|
+
|
1006
|
+
# The list of environment workloads.
|
1007
|
+
# Corresponds to the JSON property `workloads`
|
1008
|
+
# @return [Array<Google::Apis::ComposerV1::ComposerWorkload>]
|
1009
|
+
attr_accessor :workloads
|
1010
|
+
|
1011
|
+
def initialize(**args)
|
1012
|
+
update!(**args)
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# Update properties of this object
|
1016
|
+
def update!(**args)
|
1017
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1018
|
+
@workloads = args[:workloads] if args.key?(:workloads)
|
1019
|
+
end
|
1020
|
+
end
|
1021
|
+
|
895
1022
|
# Request to load a snapshot into a Cloud Composer environment.
|
896
1023
|
class LoadSnapshotRequest
|
897
1024
|
include Google::Apis::Core::Hashable
|
@@ -1052,6 +1179,29 @@ module Google
|
|
1052
1179
|
class NodeConfig
|
1053
1180
|
include Google::Apis::Core::Hashable
|
1054
1181
|
|
1182
|
+
# Optional. The IP range in CIDR notation to use internally by Cloud Composer.
|
1183
|
+
# IP addresses are not reserved - and the same range can be used by multiple
|
1184
|
+
# Cloud Composer environments. In case of overlap, IPs from this range will not
|
1185
|
+
# be accessible in the user's VPC network. Cannot be updated. If not specified,
|
1186
|
+
# the default value of '100.64.128.0/20' is used. This field is supported for
|
1187
|
+
# Cloud Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
|
1188
|
+
# Corresponds to the JSON property `composerInternalIpv4CidrBlock`
|
1189
|
+
# @return [String]
|
1190
|
+
attr_accessor :composer_internal_ipv4_cidr_block
|
1191
|
+
|
1192
|
+
# Optional. Network Attachment that Cloud Composer environment is connected to,
|
1193
|
+
# which provides connectivity with a user's VPC network. Takes precedence over
|
1194
|
+
# network and subnetwork settings. If not provided, but network and subnetwork
|
1195
|
+
# are defined during environment, it will be provisioned. If not provided and
|
1196
|
+
# network and subnetwork are also empty, then connectivity to user's VPC network
|
1197
|
+
# is disabled. Network attachment must be provided in format projects/`project`/
|
1198
|
+
# regions/`region`/networkAttachments/`networkAttachment`. This field is
|
1199
|
+
# supported for Cloud Composer environments in versions composer-3.*.*-airflow-*.
|
1200
|
+
# *.* and newer.
|
1201
|
+
# Corresponds to the JSON property `composerNetworkAttachment`
|
1202
|
+
# @return [String]
|
1203
|
+
attr_accessor :composer_network_attachment
|
1204
|
+
|
1055
1205
|
# Optional. The disk size in GB used for node VMs. Minimum size is 30GB. If
|
1056
1206
|
# unspecified, defaults to 100GB. Cannot be updated. This field is supported for
|
1057
1207
|
# Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
@@ -1161,6 +1311,8 @@ module Google
|
|
1161
1311
|
|
1162
1312
|
# Update properties of this object
|
1163
1313
|
def update!(**args)
|
1314
|
+
@composer_internal_ipv4_cidr_block = args[:composer_internal_ipv4_cidr_block] if args.key?(:composer_internal_ipv4_cidr_block)
|
1315
|
+
@composer_network_attachment = args[:composer_network_attachment] if args.key?(:composer_network_attachment)
|
1164
1316
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
1165
1317
|
@enable_ip_masq_agent = args[:enable_ip_masq_agent] if args.key?(:enable_ip_masq_agent)
|
1166
1318
|
@ip_allocation_policy = args[:ip_allocation_policy] if args.key?(:ip_allocation_policy)
|
@@ -1431,6 +1583,18 @@ module Google
|
|
1431
1583
|
# @return [String]
|
1432
1584
|
attr_accessor :cloud_sql_ipv4_cidr_block
|
1433
1585
|
|
1586
|
+
# Optional. If `true`, builds performed during operations that install Python
|
1587
|
+
# packages have only private connectivity to Google services (including Artifact
|
1588
|
+
# Registry) and VPC network (if either `NodeConfig.network` and `NodeConfig.
|
1589
|
+
# subnetwork` fields or `NodeConfig.composer_network_attachment` field are
|
1590
|
+
# specified). If `false`, the builds also have access to the internet. This
|
1591
|
+
# field is supported for Cloud Composer environments in versions composer-3.*.*-
|
1592
|
+
# airflow-*.*.* and newer.
|
1593
|
+
# Corresponds to the JSON property `enablePrivateBuildsOnly`
|
1594
|
+
# @return [Boolean]
|
1595
|
+
attr_accessor :enable_private_builds_only
|
1596
|
+
alias_method :enable_private_builds_only?, :enable_private_builds_only
|
1597
|
+
|
1434
1598
|
# Optional. If `true`, a Private IP Cloud Composer environment is created. If
|
1435
1599
|
# this field is set to true, `IPAllocationPolicy.use_ip_aliases` must be set to
|
1436
1600
|
# true for Cloud Composer environments in versions composer-1.*.*-airflow-*.*.*.
|
@@ -1483,6 +1647,7 @@ module Google
|
|
1483
1647
|
@cloud_composer_network_ipv4_cidr_block = args[:cloud_composer_network_ipv4_cidr_block] if args.key?(:cloud_composer_network_ipv4_cidr_block)
|
1484
1648
|
@cloud_composer_network_ipv4_reserved_range = args[:cloud_composer_network_ipv4_reserved_range] if args.key?(:cloud_composer_network_ipv4_reserved_range)
|
1485
1649
|
@cloud_sql_ipv4_cidr_block = args[:cloud_sql_ipv4_cidr_block] if args.key?(:cloud_sql_ipv4_cidr_block)
|
1650
|
+
@enable_private_builds_only = args[:enable_private_builds_only] if args.key?(:enable_private_builds_only)
|
1486
1651
|
@enable_private_environment = args[:enable_private_environment] if args.key?(:enable_private_environment)
|
1487
1652
|
@enable_privately_used_public_ips = args[:enable_privately_used_public_ips] if args.key?(:enable_privately_used_public_ips)
|
1488
1653
|
@networking_config = args[:networking_config] if args.key?(:networking_config)
|
@@ -1715,6 +1880,13 @@ module Google
|
|
1715
1880
|
# @return [Fixnum]
|
1716
1881
|
attr_accessor :scheduler_count
|
1717
1882
|
|
1883
|
+
# Optional. Whether or not the web server uses custom plugins. If unspecified,
|
1884
|
+
# the field defaults to `PLUGINS_ENABLED`. This field is supported for Cloud
|
1885
|
+
# Composer environments in versions composer-3.*.*-airflow-*.*.* and newer.
|
1886
|
+
# Corresponds to the JSON property `webServerPluginsMode`
|
1887
|
+
# @return [String]
|
1888
|
+
attr_accessor :web_server_plugins_mode
|
1889
|
+
|
1718
1890
|
def initialize(**args)
|
1719
1891
|
update!(**args)
|
1720
1892
|
end
|
@@ -1728,6 +1900,7 @@ module Google
|
|
1728
1900
|
@pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
|
1729
1901
|
@python_version = args[:python_version] if args.key?(:python_version)
|
1730
1902
|
@scheduler_count = args[:scheduler_count] if args.key?(:scheduler_count)
|
1903
|
+
@web_server_plugins_mode = args[:web_server_plugins_mode] if args.key?(:web_server_plugins_mode)
|
1731
1904
|
end
|
1732
1905
|
end
|
1733
1906
|
|
@@ -2030,6 +2203,11 @@ module Google
|
|
2030
2203
|
class WorkloadsConfig
|
2031
2204
|
include Google::Apis::Core::Hashable
|
2032
2205
|
|
2206
|
+
# Configuration for resources used by Airflow DAG processors.
|
2207
|
+
# Corresponds to the JSON property `dagProcessor`
|
2208
|
+
# @return [Google::Apis::ComposerV1::DagProcessorResource]
|
2209
|
+
attr_accessor :dag_processor
|
2210
|
+
|
2033
2211
|
# Configuration for resources used by Airflow schedulers.
|
2034
2212
|
# Corresponds to the JSON property `scheduler`
|
2035
2213
|
# @return [Google::Apis::ComposerV1::SchedulerResource]
|
@@ -2056,6 +2234,7 @@ module Google
|
|
2056
2234
|
|
2057
2235
|
# Update properties of this object
|
2058
2236
|
def update!(**args)
|
2237
|
+
@dag_processor = args[:dag_processor] if args.key?(:dag_processor)
|
2059
2238
|
@scheduler = args[:scheduler] if args.key?(:scheduler)
|
2060
2239
|
@triggerer = args[:triggerer] if args.key?(:triggerer)
|
2061
2240
|
@web_server = args[:web_server] if args.key?(:web_server)
|
@@ -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.42.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240123"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -46,6 +46,24 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class ComposerWorkload
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class ComposerWorkloadStatus
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class DagProcessorResource
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
49
67
|
class DataRetentionConfig
|
50
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
69
|
|
@@ -160,6 +178,12 @@ module Google
|
|
160
178
|
include Google::Apis::Core::JsonObjectSupport
|
161
179
|
end
|
162
180
|
|
181
|
+
class ListWorkloadsResponse
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
163
187
|
class LoadSnapshotRequest
|
164
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
189
|
|
@@ -368,6 +392,35 @@ module Google
|
|
368
392
|
end
|
369
393
|
end
|
370
394
|
|
395
|
+
class ComposerWorkload
|
396
|
+
# @private
|
397
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
398
|
+
property :name, as: 'name'
|
399
|
+
property :status, as: 'status', class: Google::Apis::ComposerV1::ComposerWorkloadStatus, decorator: Google::Apis::ComposerV1::ComposerWorkloadStatus::Representation
|
400
|
+
|
401
|
+
property :type, as: 'type'
|
402
|
+
end
|
403
|
+
end
|
404
|
+
|
405
|
+
class ComposerWorkloadStatus
|
406
|
+
# @private
|
407
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
408
|
+
property :detailed_status_message, as: 'detailedStatusMessage'
|
409
|
+
property :state, as: 'state'
|
410
|
+
property :status_message, as: 'statusMessage'
|
411
|
+
end
|
412
|
+
end
|
413
|
+
|
414
|
+
class DagProcessorResource
|
415
|
+
# @private
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
417
|
+
property :count, as: 'count'
|
418
|
+
property :cpu, as: 'cpu'
|
419
|
+
property :memory_gb, as: 'memoryGb'
|
420
|
+
property :storage_gb, as: 'storageGb'
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
371
424
|
class DataRetentionConfig
|
372
425
|
# @private
|
373
426
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -567,6 +620,15 @@ module Google
|
|
567
620
|
end
|
568
621
|
end
|
569
622
|
|
623
|
+
class ListWorkloadsResponse
|
624
|
+
# @private
|
625
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
626
|
+
property :next_page_token, as: 'nextPageToken'
|
627
|
+
collection :workloads, as: 'workloads', class: Google::Apis::ComposerV1::ComposerWorkload, decorator: Google::Apis::ComposerV1::ComposerWorkload::Representation
|
628
|
+
|
629
|
+
end
|
630
|
+
end
|
631
|
+
|
570
632
|
class LoadSnapshotRequest
|
571
633
|
# @private
|
572
634
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -612,6 +674,8 @@ module Google
|
|
612
674
|
class NodeConfig
|
613
675
|
# @private
|
614
676
|
class Representation < Google::Apis::Core::JsonRepresentation
|
677
|
+
property :composer_internal_ipv4_cidr_block, as: 'composerInternalIpv4CidrBlock'
|
678
|
+
property :composer_network_attachment, as: 'composerNetworkAttachment'
|
615
679
|
property :disk_size_gb, as: 'diskSizeGb'
|
616
680
|
property :enable_ip_masq_agent, as: 'enableIpMasqAgent'
|
617
681
|
property :ip_allocation_policy, as: 'ipAllocationPolicy', class: Google::Apis::ComposerV1::IpAllocationPolicy, decorator: Google::Apis::ComposerV1::IpAllocationPolicy::Representation
|
@@ -687,6 +751,7 @@ module Google
|
|
687
751
|
property :cloud_composer_network_ipv4_cidr_block, as: 'cloudComposerNetworkIpv4CidrBlock'
|
688
752
|
property :cloud_composer_network_ipv4_reserved_range, as: 'cloudComposerNetworkIpv4ReservedRange'
|
689
753
|
property :cloud_sql_ipv4_cidr_block, as: 'cloudSqlIpv4CidrBlock'
|
754
|
+
property :enable_private_builds_only, as: 'enablePrivateBuildsOnly'
|
690
755
|
property :enable_private_environment, as: 'enablePrivateEnvironment'
|
691
756
|
property :enable_privately_used_public_ips, as: 'enablePrivatelyUsedPublicIps'
|
692
757
|
property :networking_config, as: 'networkingConfig', class: Google::Apis::ComposerV1::NetworkingConfig, decorator: Google::Apis::ComposerV1::NetworkingConfig::Representation
|
@@ -751,6 +816,7 @@ module Google
|
|
751
816
|
hash :pypi_packages, as: 'pypiPackages'
|
752
817
|
property :python_version, as: 'pythonVersion'
|
753
818
|
property :scheduler_count, as: 'schedulerCount'
|
819
|
+
property :web_server_plugins_mode, as: 'webServerPluginsMode'
|
754
820
|
end
|
755
821
|
end
|
756
822
|
|
@@ -842,6 +908,8 @@ module Google
|
|
842
908
|
class WorkloadsConfig
|
843
909
|
# @private
|
844
910
|
class Representation < Google::Apis::Core::JsonRepresentation
|
911
|
+
property :dag_processor, as: 'dagProcessor', class: Google::Apis::ComposerV1::DagProcessorResource, decorator: Google::Apis::ComposerV1::DagProcessorResource::Representation
|
912
|
+
|
845
913
|
property :scheduler, as: 'scheduler', class: Google::Apis::ComposerV1::SchedulerResource, decorator: Google::Apis::ComposerV1::SchedulerResource::Representation
|
846
914
|
|
847
915
|
property :triggerer, as: 'triggerer', class: Google::Apis::ComposerV1::TriggererResource, decorator: Google::Apis::ComposerV1::TriggererResource::Representation
|
@@ -527,6 +527,53 @@ module Google
|
|
527
527
|
execute_or_queue_command(command, &block)
|
528
528
|
end
|
529
529
|
|
530
|
+
# Lists workloads in a Cloud Composer environment. Workload is a unit that runs
|
531
|
+
# a single Composer component. This method is supported for Cloud Composer
|
532
|
+
# environments in versions composer-3.*.*-airflow-*.*.* and newer.
|
533
|
+
# @param [String] parent
|
534
|
+
# Required. The environment name to get workloads for, in the form: "projects/`
|
535
|
+
# projectId`/locations/`locationId`/environments/`environmentId`"
|
536
|
+
# @param [String] filter
|
537
|
+
# Optional. The list filter. Currently only supports equality on the type field.
|
538
|
+
# The value of a field specified in the filter expression must be one
|
539
|
+
# ComposerWorkloadType enum option. It's possible to get multiple types using "
|
540
|
+
# OR" operator, e.g.: "type=SCHEDULER OR type=CELERY_WORKER". If not specified,
|
541
|
+
# all items are returned.
|
542
|
+
# @param [Fixnum] page_size
|
543
|
+
# Optional. The maximum number of environments to return.
|
544
|
+
# @param [String] page_token
|
545
|
+
# Optional. The next_page_token value returned from a previous List request, if
|
546
|
+
# any.
|
547
|
+
# @param [String] fields
|
548
|
+
# Selector specifying which fields to include in a partial response.
|
549
|
+
# @param [String] quota_user
|
550
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
551
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
552
|
+
# @param [Google::Apis::RequestOptions] options
|
553
|
+
# Request-specific options
|
554
|
+
#
|
555
|
+
# @yield [result, err] Result & error if block supplied
|
556
|
+
# @yieldparam result [Google::Apis::ComposerV1::ListWorkloadsResponse] parsed result object
|
557
|
+
# @yieldparam err [StandardError] error object if request failed
|
558
|
+
#
|
559
|
+
# @return [Google::Apis::ComposerV1::ListWorkloadsResponse]
|
560
|
+
#
|
561
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
562
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
563
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
564
|
+
def list_project_location_environment_workloads(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
565
|
+
command = make_simple_command(:get, 'v1/{+parent}/workloads', options)
|
566
|
+
command.response_representation = Google::Apis::ComposerV1::ListWorkloadsResponse::Representation
|
567
|
+
command.response_class = Google::Apis::ComposerV1::ListWorkloadsResponse
|
568
|
+
command.params['parent'] = parent unless parent.nil?
|
569
|
+
command.query['filter'] = filter unless filter.nil?
|
570
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
571
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
572
|
+
command.query['fields'] = fields unless fields.nil?
|
573
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
574
|
+
execute_or_queue_command(command, &block)
|
575
|
+
end
|
576
|
+
|
530
577
|
# List ImageVersions for provided location.
|
531
578
|
# @param [String] parent
|
532
579
|
# List ImageVersions in the given project and location, in the form: "projects/`
|
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.42.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: 2024-
|
11
|
+
date: 2024-02-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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-composer_v1/v0.42.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: []
|