google-api-client 0.27.3 → 0.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +44 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/service.rb +4 -4
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +18 -112
- data/generated/google/apis/analytics_v3/representations.rb +0 -36
- data/generated/google/apis/analytics_v3/service.rb +18 -18
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +20 -0
- data/generated/google/apis/bigquery_v2/representations.rb +2 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +7 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +5 -8
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +59 -0
- data/generated/google/apis/composer_v1/representations.rb +30 -0
- data/generated/google/apis/composer_v1/service.rb +37 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +8 -16
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +8 -16
- data/generated/google/apis/firebasehosting_v1beta1.rb +4 -3
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +3 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +7 -6
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +37 -0
- data/generated/google/apis/iam_v1/representations.rb +15 -0
- data/generated/google/apis/iam_v1/service.rb +44 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/service.rb +3 -558
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/service.rb +3 -568
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1 -1
- data/generated/google/apis/jobs_v2/service.rb +2 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +52 -10
- data/generated/google/apis/logging_v2/representations.rb +6 -0
- data/generated/google/apis/logging_v2/service.rb +9 -9
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +37 -9
- data/generated/google/apis/logging_v2beta1/representations.rb +4 -0
- data/generated/google/apis/logging_v2beta1/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +10 -12
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +111 -88
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +111 -88
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +141 -116
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -1
- data/generated/google/apis/remotebuildexecution_v2/service.rb +6 -5
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +12 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +71 -0
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/service.rb +0 -3
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +20 -0
- data/generated/google/apis/speech_v1/representations.rb +2 -0
- data/generated/google/apis/speech_v1/service.rb +111 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/service.rb +111 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +14 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +14 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +1 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +14 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/monitoring_v1.rb +0 -33
- data/generated/google/apis/monitoring_v1/classes.rb +0 -474
- data/generated/google/apis/monitoring_v1/representations.rb +0 -195
- data/generated/google/apis/monitoring_v1/service.rb +0 -211
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/android/management
|
|
27
27
|
module AndroidmanagementV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190108'
|
|
30
30
|
|
|
31
31
|
# Manage Android devices and apps for your customers
|
|
32
32
|
AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
|
26
26
|
module BigqueryV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190108'
|
|
29
29
|
|
|
30
30
|
# View and manage your data in Google BigQuery
|
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
|
@@ -973,6 +973,15 @@ module Google
|
|
|
973
973
|
# @return [Google::Apis::BigqueryV2::GoogleSheetsOptions]
|
|
974
974
|
attr_accessor :google_sheets_options
|
|
975
975
|
|
|
976
|
+
# [Optional, Experimental] If hive partitioning is enabled, which mode to use.
|
|
977
|
+
# Two modes are supported: - AUTO: automatically infer partition key name(s) and
|
|
978
|
+
# type(s). - STRINGS: automatic infer partition key name(s). All types are
|
|
979
|
+
# strings. Not all storage formats support hive partitioning -- requesting hive
|
|
980
|
+
# partitioning on an unsupported format will lead to an error.
|
|
981
|
+
# Corresponds to the JSON property `hivePartitioningMode`
|
|
982
|
+
# @return [String]
|
|
983
|
+
attr_accessor :hive_partitioning_mode
|
|
984
|
+
|
|
976
985
|
# [Optional] Indicates if BigQuery should allow extra values that are not
|
|
977
986
|
# represented in the table schema. If true, the extra values are ignored. If
|
|
978
987
|
# false, records with extra columns are treated as bad records, and if there are
|
|
@@ -1035,6 +1044,7 @@ module Google
|
|
|
1035
1044
|
@compression = args[:compression] if args.key?(:compression)
|
|
1036
1045
|
@csv_options = args[:csv_options] if args.key?(:csv_options)
|
|
1037
1046
|
@google_sheets_options = args[:google_sheets_options] if args.key?(:google_sheets_options)
|
|
1047
|
+
@hive_partitioning_mode = args[:hive_partitioning_mode] if args.key?(:hive_partitioning_mode)
|
|
1038
1048
|
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
|
1039
1049
|
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
|
1040
1050
|
@schema = args[:schema] if args.key?(:schema)
|
|
@@ -1562,6 +1572,15 @@ module Google
|
|
|
1562
1572
|
# @return [String]
|
|
1563
1573
|
attr_accessor :field_delimiter
|
|
1564
1574
|
|
|
1575
|
+
# [Optional, Experimental] If hive partitioning is enabled, which mode to use.
|
|
1576
|
+
# Two modes are supported: - AUTO: automatically infer partition key name(s) and
|
|
1577
|
+
# type(s). - STRINGS: automatic infer partition key name(s). All types are
|
|
1578
|
+
# strings. Not all storage formats support hive partitioning -- requesting hive
|
|
1579
|
+
# partitioning on an unsupported format will lead to an error.
|
|
1580
|
+
# Corresponds to the JSON property `hivePartitioningMode`
|
|
1581
|
+
# @return [String]
|
|
1582
|
+
attr_accessor :hive_partitioning_mode
|
|
1583
|
+
|
|
1565
1584
|
# [Optional] Indicates if BigQuery should allow extra values that are not
|
|
1566
1585
|
# represented in the table schema. If true, the extra values are ignored. If
|
|
1567
1586
|
# false, records with extra columns are treated as bad records, and if there are
|
|
@@ -1717,6 +1736,7 @@ module Google
|
|
|
1717
1736
|
@destination_table_properties = args[:destination_table_properties] if args.key?(:destination_table_properties)
|
|
1718
1737
|
@encoding = args[:encoding] if args.key?(:encoding)
|
|
1719
1738
|
@field_delimiter = args[:field_delimiter] if args.key?(:field_delimiter)
|
|
1739
|
+
@hive_partitioning_mode = args[:hive_partitioning_mode] if args.key?(:hive_partitioning_mode)
|
|
1720
1740
|
@ignore_unknown_values = args[:ignore_unknown_values] if args.key?(:ignore_unknown_values)
|
|
1721
1741
|
@max_bad_records = args[:max_bad_records] if args.key?(:max_bad_records)
|
|
1722
1742
|
@null_marker = args[:null_marker] if args.key?(:null_marker)
|
|
@@ -669,6 +669,7 @@ module Google
|
|
|
669
669
|
|
|
670
670
|
property :google_sheets_options, as: 'googleSheetsOptions', class: Google::Apis::BigqueryV2::GoogleSheetsOptions, decorator: Google::Apis::BigqueryV2::GoogleSheetsOptions::Representation
|
|
671
671
|
|
|
672
|
+
property :hive_partitioning_mode, as: 'hivePartitioningMode'
|
|
672
673
|
property :ignore_unknown_values, as: 'ignoreUnknownValues'
|
|
673
674
|
property :max_bad_records, as: 'maxBadRecords'
|
|
674
675
|
property :schema, as: 'schema', class: Google::Apis::BigqueryV2::TableSchema, decorator: Google::Apis::BigqueryV2::TableSchema::Representation
|
|
@@ -804,6 +805,7 @@ module Google
|
|
|
804
805
|
|
|
805
806
|
property :encoding, as: 'encoding'
|
|
806
807
|
property :field_delimiter, as: 'fieldDelimiter'
|
|
808
|
+
property :hive_partitioning_mode, as: 'hivePartitioningMode'
|
|
807
809
|
property :ignore_unknown_values, as: 'ignoreUnknownValues'
|
|
808
810
|
property :max_bad_records, as: 'maxBadRecords'
|
|
809
811
|
property :null_marker, as: 'nullMarker'
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/billing/
|
|
27
27
|
module CloudbillingV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190114'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -776,6 +776,12 @@ module Google
|
|
|
776
776
|
class Service
|
|
777
777
|
include Google::Apis::Core::Hashable
|
|
778
778
|
|
|
779
|
+
# The business under which the service is offered.
|
|
780
|
+
# Ex. "businessEntities/GCP", "businessEntities/Maps"
|
|
781
|
+
# Corresponds to the JSON property `businessEntityName`
|
|
782
|
+
# @return [String]
|
|
783
|
+
attr_accessor :business_entity_name
|
|
784
|
+
|
|
779
785
|
# A human readable display name for this service.
|
|
780
786
|
# Corresponds to the JSON property `displayName`
|
|
781
787
|
# @return [String]
|
|
@@ -799,6 +805,7 @@ module Google
|
|
|
799
805
|
|
|
800
806
|
# Update properties of this object
|
|
801
807
|
def update!(**args)
|
|
808
|
+
@business_entity_name = args[:business_entity_name] if args.key?(:business_entity_name)
|
|
802
809
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
803
810
|
@name = args[:name] if args.key?(:name)
|
|
804
811
|
@service_id = args[:service_id] if args.key?(:service_id)
|
|
@@ -317,6 +317,7 @@ module Google
|
|
|
317
317
|
class Service
|
|
318
318
|
# @private
|
|
319
319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
320
|
+
property :business_entity_name, as: 'businessEntityName'
|
|
320
321
|
property :display_name, as: 'displayName'
|
|
321
322
|
property :name, as: 'name'
|
|
322
323
|
property :service_id, as: 'serviceId'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
|
26
26
|
module CloudbuildV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190116'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1135,8 +1135,8 @@ module Google
|
|
|
1135
1135
|
include Google::Apis::Core::Hashable
|
|
1136
1136
|
|
|
1137
1137
|
# Output only. Hash(es) of the build source, which can be used to verify that
|
|
1138
|
-
# the
|
|
1139
|
-
# `FileHashes`
|
|
1138
|
+
# the original source integrity was maintained in the build. Note that
|
|
1139
|
+
# `FileHashes` will only be populated if `BuildOptions` has requested a
|
|
1140
1140
|
# `SourceProvenanceHash`.
|
|
1141
1141
|
# The keys to this map are file paths used as build source and the values
|
|
1142
1142
|
# contain the hash values for those files.
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
|
26
26
|
module CloudbuildV1alpha1
|
|
27
27
|
VERSION = 'V1alpha1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190116'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -885,8 +885,8 @@ module Google
|
|
|
885
885
|
include Google::Apis::Core::Hashable
|
|
886
886
|
|
|
887
887
|
# Output only. Hash(es) of the build source, which can be used to verify that
|
|
888
|
-
# the
|
|
889
|
-
# `FileHashes`
|
|
888
|
+
# the original source integrity was maintained in the build. Note that
|
|
889
|
+
# `FileHashes` will only be populated if `BuildOptions` has requested a
|
|
890
890
|
# `SourceProvenanceHash`.
|
|
891
891
|
# The keys to this map are file paths used as build source and the values
|
|
892
892
|
# contain the hash values for those files.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://gsuite.google.com/products/cloud-search/
|
|
27
27
|
module CloudsearchV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20190108'
|
|
30
30
|
|
|
31
31
|
# Index and serve your organization's data with Cloud Search
|
|
32
32
|
AUTH_CLOUD_SEARCH = 'https://www.googleapis.com/auth/cloud_search'
|
|
@@ -405,7 +405,7 @@ module Google
|
|
|
405
405
|
class DateValues
|
|
406
406
|
include Google::Apis::Core::Hashable
|
|
407
407
|
|
|
408
|
-
#
|
|
408
|
+
#
|
|
409
409
|
# Corresponds to the JSON property `values`
|
|
410
410
|
# @return [Array<Google::Apis::CloudsearchV1::Date>]
|
|
411
411
|
attr_accessor :values
|
|
@@ -548,7 +548,7 @@ module Google
|
|
|
548
548
|
class DoubleValues
|
|
549
549
|
include Google::Apis::Core::Hashable
|
|
550
550
|
|
|
551
|
-
#
|
|
551
|
+
#
|
|
552
552
|
# Corresponds to the JSON property `values`
|
|
553
553
|
# @return [Array<Float>]
|
|
554
554
|
attr_accessor :values
|
|
@@ -800,7 +800,6 @@ module Google
|
|
|
800
800
|
include Google::Apis::Core::Hashable
|
|
801
801
|
|
|
802
802
|
# The maximum allowable length for string values is 32 characters.
|
|
803
|
-
# The maximum number of elements is 100.
|
|
804
803
|
# Corresponds to the JSON property `values`
|
|
805
804
|
# @return [Array<String>]
|
|
806
805
|
attr_accessor :values
|
|
@@ -1237,7 +1236,6 @@ module Google
|
|
|
1237
1236
|
include Google::Apis::Core::Hashable
|
|
1238
1237
|
|
|
1239
1238
|
# The maximum allowable length for html values is 2048 characters.
|
|
1240
|
-
# The maximum number of string elements is 100.
|
|
1241
1239
|
# Corresponds to the JSON property `values`
|
|
1242
1240
|
# @return [Array<String>]
|
|
1243
1241
|
attr_accessor :values
|
|
@@ -1400,7 +1398,7 @@ module Google
|
|
|
1400
1398
|
class IntegerValues
|
|
1401
1399
|
include Google::Apis::Core::Hashable
|
|
1402
1400
|
|
|
1403
|
-
#
|
|
1401
|
+
#
|
|
1404
1402
|
# Corresponds to the JSON property `values`
|
|
1405
1403
|
# @return [Array<Fixnum>]
|
|
1406
1404
|
attr_accessor :values
|
|
@@ -2362,7 +2360,7 @@ module Google
|
|
|
2362
2360
|
class ObjectValues
|
|
2363
2361
|
include Google::Apis::Core::Hashable
|
|
2364
2362
|
|
|
2365
|
-
#
|
|
2363
|
+
#
|
|
2366
2364
|
# Corresponds to the JSON property `values`
|
|
2367
2365
|
# @return [Array<Google::Apis::CloudsearchV1::StructuredDataObject>]
|
|
2368
2366
|
attr_accessor :values
|
|
@@ -4432,7 +4430,6 @@ module Google
|
|
|
4432
4430
|
include Google::Apis::Core::Hashable
|
|
4433
4431
|
|
|
4434
4432
|
# The maximum allowable length for text values is 2048 characters.
|
|
4435
|
-
# The maximum number of string elements is 100.
|
|
4436
4433
|
# Corresponds to the JSON property `values`
|
|
4437
4434
|
# @return [Array<String>]
|
|
4438
4435
|
attr_accessor :values
|
|
@@ -4528,7 +4525,7 @@ module Google
|
|
|
4528
4525
|
class TimestampValues
|
|
4529
4526
|
include Google::Apis::Core::Hashable
|
|
4530
4527
|
|
|
4531
|
-
#
|
|
4528
|
+
#
|
|
4532
4529
|
# Corresponds to the JSON property `values`
|
|
4533
4530
|
# @return [Array<String>]
|
|
4534
4531
|
attr_accessor :values
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/tasks/
|
|
26
26
|
module CloudtasksV2beta3
|
|
27
27
|
VERSION = 'V2beta3'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190104'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
|
26
26
|
module ComposerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190110'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -166,6 +166,40 @@ module Google
|
|
|
166
166
|
end
|
|
167
167
|
end
|
|
168
168
|
|
|
169
|
+
# ImageVersion information
|
|
170
|
+
class ImageVersion
|
|
171
|
+
include Google::Apis::Core::Hashable
|
|
172
|
+
|
|
173
|
+
# The string identifier of the ImageVersion, in the form:
|
|
174
|
+
# "composer-x.y.z-airflow-a.b(.c)"
|
|
175
|
+
# Corresponds to the JSON property `imageVersionId`
|
|
176
|
+
# @return [String]
|
|
177
|
+
attr_accessor :image_version_id
|
|
178
|
+
|
|
179
|
+
# Whether this is the default ImageVersion used by Composer during
|
|
180
|
+
# environment creation if no input ImageVersion is specified.
|
|
181
|
+
# Corresponds to the JSON property `isDefault`
|
|
182
|
+
# @return [Boolean]
|
|
183
|
+
attr_accessor :is_default
|
|
184
|
+
alias_method :is_default?, :is_default
|
|
185
|
+
|
|
186
|
+
# supported python versions
|
|
187
|
+
# Corresponds to the JSON property `supportedPythonVersions`
|
|
188
|
+
# @return [Array<String>]
|
|
189
|
+
attr_accessor :supported_python_versions
|
|
190
|
+
|
|
191
|
+
def initialize(**args)
|
|
192
|
+
update!(**args)
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
# Update properties of this object
|
|
196
|
+
def update!(**args)
|
|
197
|
+
@image_version_id = args[:image_version_id] if args.key?(:image_version_id)
|
|
198
|
+
@is_default = args[:is_default] if args.key?(:is_default)
|
|
199
|
+
@supported_python_versions = args[:supported_python_versions] if args.key?(:supported_python_versions)
|
|
200
|
+
end
|
|
201
|
+
end
|
|
202
|
+
|
|
169
203
|
# The environments in a project and location.
|
|
170
204
|
class ListEnvironmentsResponse
|
|
171
205
|
include Google::Apis::Core::Hashable
|
|
@@ -191,6 +225,31 @@ module Google
|
|
|
191
225
|
end
|
|
192
226
|
end
|
|
193
227
|
|
|
228
|
+
# The ImageVersions in a project and location.
|
|
229
|
+
class ListImageVersionsResponse
|
|
230
|
+
include Google::Apis::Core::Hashable
|
|
231
|
+
|
|
232
|
+
# The list of supported ImageVersions in a location.
|
|
233
|
+
# Corresponds to the JSON property `imageVersions`
|
|
234
|
+
# @return [Array<Google::Apis::ComposerV1::ImageVersion>]
|
|
235
|
+
attr_accessor :image_versions
|
|
236
|
+
|
|
237
|
+
# The page token used to query for the next page if one exists.
|
|
238
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
239
|
+
# @return [String]
|
|
240
|
+
attr_accessor :next_page_token
|
|
241
|
+
|
|
242
|
+
def initialize(**args)
|
|
243
|
+
update!(**args)
|
|
244
|
+
end
|
|
245
|
+
|
|
246
|
+
# Update properties of this object
|
|
247
|
+
def update!(**args)
|
|
248
|
+
@image_versions = args[:image_versions] if args.key?(:image_versions)
|
|
249
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
250
|
+
end
|
|
251
|
+
end
|
|
252
|
+
|
|
194
253
|
# The response message for Operations.ListOperations.
|
|
195
254
|
class ListOperationsResponse
|
|
196
255
|
include Google::Apis::Core::Hashable
|
|
@@ -40,12 +40,24 @@ module Google
|
|
|
40
40
|
include Google::Apis::Core::JsonObjectSupport
|
|
41
41
|
end
|
|
42
42
|
|
|
43
|
+
class ImageVersion
|
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
+
|
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
+
end
|
|
48
|
+
|
|
43
49
|
class ListEnvironmentsResponse
|
|
44
50
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
51
|
|
|
46
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
53
|
end
|
|
48
54
|
|
|
55
|
+
class ListImageVersionsResponse
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
49
61
|
class ListOperationsResponse
|
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
63
|
|
|
@@ -116,6 +128,15 @@ module Google
|
|
|
116
128
|
end
|
|
117
129
|
end
|
|
118
130
|
|
|
131
|
+
class ImageVersion
|
|
132
|
+
# @private
|
|
133
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
134
|
+
property :image_version_id, as: 'imageVersionId'
|
|
135
|
+
property :is_default, as: 'isDefault'
|
|
136
|
+
collection :supported_python_versions, as: 'supportedPythonVersions'
|
|
137
|
+
end
|
|
138
|
+
end
|
|
139
|
+
|
|
119
140
|
class ListEnvironmentsResponse
|
|
120
141
|
# @private
|
|
121
142
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -125,6 +146,15 @@ module Google
|
|
|
125
146
|
end
|
|
126
147
|
end
|
|
127
148
|
|
|
149
|
+
class ListImageVersionsResponse
|
|
150
|
+
# @private
|
|
151
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
152
|
+
collection :image_versions, as: 'imageVersions', class: Google::Apis::ComposerV1::ImageVersion, decorator: Google::Apis::ComposerV1::ImageVersion::Representation
|
|
153
|
+
|
|
154
|
+
property :next_page_token, as: 'nextPageToken'
|
|
155
|
+
end
|
|
156
|
+
end
|
|
157
|
+
|
|
128
158
|
class ListOperationsResponse
|
|
129
159
|
# @private
|
|
130
160
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -338,6 +338,43 @@ module Google
|
|
|
338
338
|
execute_or_queue_command(command, &block)
|
|
339
339
|
end
|
|
340
340
|
|
|
341
|
+
# List ImageVersions for provided location.
|
|
342
|
+
# @param [String] parent
|
|
343
|
+
# List ImageVersions in the given project and location, in the form:
|
|
344
|
+
# "projects/`projectId`/locations/`locationId`"
|
|
345
|
+
# @param [Fixnum] page_size
|
|
346
|
+
# The maximum number of image_versions to return.
|
|
347
|
+
# @param [String] page_token
|
|
348
|
+
# The next_page_token value returned from a previous List request, if any.
|
|
349
|
+
# @param [String] fields
|
|
350
|
+
# Selector specifying which fields to include in a partial response.
|
|
351
|
+
# @param [String] quota_user
|
|
352
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
353
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
354
|
+
# @param [Google::Apis::RequestOptions] options
|
|
355
|
+
# Request-specific options
|
|
356
|
+
#
|
|
357
|
+
# @yield [result, err] Result & error if block supplied
|
|
358
|
+
# @yieldparam result [Google::Apis::ComposerV1::ListImageVersionsResponse] parsed result object
|
|
359
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
360
|
+
#
|
|
361
|
+
# @return [Google::Apis::ComposerV1::ListImageVersionsResponse]
|
|
362
|
+
#
|
|
363
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
364
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
365
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
366
|
+
def list_project_location_image_versions(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
367
|
+
command = make_simple_command(:get, 'v1/{+parent}/imageVersions', options)
|
|
368
|
+
command.response_representation = Google::Apis::ComposerV1::ListImageVersionsResponse::Representation
|
|
369
|
+
command.response_class = Google::Apis::ComposerV1::ListImageVersionsResponse
|
|
370
|
+
command.params['parent'] = parent unless parent.nil?
|
|
371
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
372
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
373
|
+
command.query['fields'] = fields unless fields.nil?
|
|
374
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
375
|
+
execute_or_queue_command(command, &block)
|
|
376
|
+
end
|
|
377
|
+
|
|
341
378
|
# Deletes a long-running operation. This method indicates that the client is
|
|
342
379
|
# no longer interested in the operation result. It does not cancel the
|
|
343
380
|
# operation. If the server doesn't support this method, it returns
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/composer/
|
|
26
26
|
module ComposerV1beta1
|
|
27
27
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20190110'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|