google-apis-deploymentmanager_alpha 0.30.0 → 0.32.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 +9 -0
- data/lib/google/apis/deploymentmanager_alpha/classes.rb +360 -2
- data/lib/google/apis/deploymentmanager_alpha/gem_version.rb +3 -3
- data/lib/google/apis/deploymentmanager_alpha/representations.rb +141 -0
- data/lib/google/apis/deploymentmanager_alpha/service.rb +66 -22
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d1872355ce097e8f6040e4b2da348af173ce43ed3dc27f1066943c82c3cd852
|
4
|
+
data.tar.gz: 04d3ca5bba8eeeb5efb3e9edee15d46cb2671c3a21ac12b5a1eee0873e8d5083
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e20303d8066e8a8e67d3c63a37ea2ce2d0b5be4f7d76a5764cbed700834ee10472a916785415ec4fbb0a8369a22989a892b4d69beca53b188dfa3f14b1921d8
|
7
|
+
data.tar.gz: 4d745fc7d67a99c3a4a21f16cfa2335a883e4b32a25cb553262c5ce32ab59ac40fd56f56f515f89ce62e5945605606ce6ac97dc2e59b0fad2805a2a85e4384f5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-deploymentmanager_alpha
|
2
2
|
|
3
|
+
### v0.32.0 (2024-12-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241122
|
6
|
+
* Regenerated using generator version 0.15.1
|
7
|
+
|
8
|
+
### v0.31.0 (2024-05-19)
|
9
|
+
|
10
|
+
* Regenerated using generator version 0.15.0
|
11
|
+
|
3
12
|
### v0.30.0 (2024-02-23)
|
4
13
|
|
5
14
|
* Unspecified changes
|
@@ -547,6 +547,31 @@ module Google
|
|
547
547
|
end
|
548
548
|
end
|
549
549
|
|
550
|
+
# Describes additional debugging info.
|
551
|
+
class DebugInfo
|
552
|
+
include Google::Apis::Core::Hashable
|
553
|
+
|
554
|
+
# Additional debugging information provided by the server.
|
555
|
+
# Corresponds to the JSON property `detail`
|
556
|
+
# @return [String]
|
557
|
+
attr_accessor :detail
|
558
|
+
|
559
|
+
# The stack trace entries indicating where the error occurred.
|
560
|
+
# Corresponds to the JSON property `stackEntries`
|
561
|
+
# @return [Array<String>]
|
562
|
+
attr_accessor :stack_entries
|
563
|
+
|
564
|
+
def initialize(**args)
|
565
|
+
update!(**args)
|
566
|
+
end
|
567
|
+
|
568
|
+
# Update properties of this object
|
569
|
+
def update!(**args)
|
570
|
+
@detail = args[:detail] if args.key?(:detail)
|
571
|
+
@stack_entries = args[:stack_entries] if args.key?(:stack_entries)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
550
575
|
#
|
551
576
|
class Deployment
|
552
577
|
include Google::Apis::Core::Hashable
|
@@ -902,6 +927,58 @@ module Google
|
|
902
927
|
end
|
903
928
|
end
|
904
929
|
|
930
|
+
# Describes the cause of the error with structured details. Example of an error
|
931
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
932
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
933
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
934
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
935
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
936
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
937
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
938
|
+
class ErrorInfo
|
939
|
+
include Google::Apis::Core::Hashable
|
940
|
+
|
941
|
+
# The logical grouping to which the "reason" belongs. The error domain is
|
942
|
+
# typically the registered service name of the tool or product that generates
|
943
|
+
# the error. Example: "pubsub.googleapis.com". If the error is generated by some
|
944
|
+
# common infrastructure, the error domain must be a globally unique value that
|
945
|
+
# identifies the infrastructure. For Google API infrastructure, the error domain
|
946
|
+
# is "googleapis.com".
|
947
|
+
# Corresponds to the JSON property `domain`
|
948
|
+
# @return [String]
|
949
|
+
attr_accessor :domain
|
950
|
+
|
951
|
+
# Additional structured details about this error. Keys must match /a-z+/ but
|
952
|
+
# should ideally be lowerCamelCase. Also they must be limited to 64 characters
|
953
|
+
# in length. When identifying the current value of an exceeded limit, the units
|
954
|
+
# should be contained in the key, not the value. For example, rather than `"
|
955
|
+
# instanceLimit": "100/request"`, should be returned as, `"
|
956
|
+
# instanceLimitPerRequest": "100"`, if the client exceeds the number of
|
957
|
+
# instances that can be created in a single (batch) request.
|
958
|
+
# Corresponds to the JSON property `metadata`
|
959
|
+
# @return [Hash<String,String>]
|
960
|
+
attr_accessor :metadata
|
961
|
+
|
962
|
+
# The reason of the error. This is a constant value that identifies the
|
963
|
+
# proximate cause of the error. Error reasons are unique within a particular
|
964
|
+
# domain of errors. This should be at most 63 characters and match a regular
|
965
|
+
# expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
|
966
|
+
# Corresponds to the JSON property `reason`
|
967
|
+
# @return [String]
|
968
|
+
attr_accessor :reason
|
969
|
+
|
970
|
+
def initialize(**args)
|
971
|
+
update!(**args)
|
972
|
+
end
|
973
|
+
|
974
|
+
# Update properties of this object
|
975
|
+
def update!(**args)
|
976
|
+
@domain = args[:domain] if args.key?(:domain)
|
977
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
978
|
+
@reason = args[:reason] if args.key?(:reason)
|
979
|
+
end
|
980
|
+
end
|
981
|
+
|
905
982
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
906
983
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
907
984
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -1004,6 +1081,11 @@ module Google
|
|
1004
1081
|
# @return [Google::Apis::DeploymentmanagerAlpha::Policy]
|
1005
1082
|
attr_accessor :policy
|
1006
1083
|
|
1084
|
+
#
|
1085
|
+
# Corresponds to the JSON property `updateMask`
|
1086
|
+
# @return [String]
|
1087
|
+
attr_accessor :update_mask
|
1088
|
+
|
1007
1089
|
def initialize(**args)
|
1008
1090
|
update!(**args)
|
1009
1091
|
end
|
@@ -1013,6 +1095,54 @@ module Google
|
|
1013
1095
|
@bindings = args[:bindings] if args.key?(:bindings)
|
1014
1096
|
@etag = args[:etag] if args.key?(:etag)
|
1015
1097
|
@policy = args[:policy] if args.key?(:policy)
|
1098
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
1099
|
+
end
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# Provides links to documentation or for performing an out of band action. For
|
1103
|
+
# example, if a quota check failed with an error indicating the calling project
|
1104
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
1105
|
+
# to the right place in the developer console to flip the bit.
|
1106
|
+
class Help
|
1107
|
+
include Google::Apis::Core::Hashable
|
1108
|
+
|
1109
|
+
# URL(s) pointing to additional information on handling the current error.
|
1110
|
+
# Corresponds to the JSON property `links`
|
1111
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::HelpLink>]
|
1112
|
+
attr_accessor :links
|
1113
|
+
|
1114
|
+
def initialize(**args)
|
1115
|
+
update!(**args)
|
1116
|
+
end
|
1117
|
+
|
1118
|
+
# Update properties of this object
|
1119
|
+
def update!(**args)
|
1120
|
+
@links = args[:links] if args.key?(:links)
|
1121
|
+
end
|
1122
|
+
end
|
1123
|
+
|
1124
|
+
# Describes a URL link.
|
1125
|
+
class HelpLink
|
1126
|
+
include Google::Apis::Core::Hashable
|
1127
|
+
|
1128
|
+
# Describes what the link offers.
|
1129
|
+
# Corresponds to the JSON property `description`
|
1130
|
+
# @return [String]
|
1131
|
+
attr_accessor :description
|
1132
|
+
|
1133
|
+
# The URL of the link.
|
1134
|
+
# Corresponds to the JSON property `url`
|
1135
|
+
# @return [String]
|
1136
|
+
attr_accessor :url
|
1137
|
+
|
1138
|
+
def initialize(**args)
|
1139
|
+
update!(**args)
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# Update properties of this object
|
1143
|
+
def update!(**args)
|
1144
|
+
@description = args[:description] if args.key?(:description)
|
1145
|
+
@url = args[:url] if args.key?(:url)
|
1016
1146
|
end
|
1017
1147
|
end
|
1018
1148
|
|
@@ -1099,6 +1229,33 @@ module Google
|
|
1099
1229
|
end
|
1100
1230
|
end
|
1101
1231
|
|
1232
|
+
# Provides a localized error message that is safe to return to the user which
|
1233
|
+
# can be attached to an RPC error.
|
1234
|
+
class LocalizedMessage
|
1235
|
+
include Google::Apis::Core::Hashable
|
1236
|
+
|
1237
|
+
# The locale used following the specification defined at https://www.rfc-editor.
|
1238
|
+
# org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
|
1239
|
+
# Corresponds to the JSON property `locale`
|
1240
|
+
# @return [String]
|
1241
|
+
attr_accessor :locale
|
1242
|
+
|
1243
|
+
# The localized error message in the above locale.
|
1244
|
+
# Corresponds to the JSON property `message`
|
1245
|
+
# @return [String]
|
1246
|
+
attr_accessor :message
|
1247
|
+
|
1248
|
+
def initialize(**args)
|
1249
|
+
update!(**args)
|
1250
|
+
end
|
1251
|
+
|
1252
|
+
# Update properties of this object
|
1253
|
+
def update!(**args)
|
1254
|
+
@locale = args[:locale] if args.key?(:locale)
|
1255
|
+
@message = args[:message] if args.key?(:message)
|
1256
|
+
end
|
1257
|
+
end
|
1258
|
+
|
1102
1259
|
#
|
1103
1260
|
class Manifest
|
1104
1261
|
include Google::Apis::Core::Hashable
|
@@ -1359,6 +1516,11 @@ module Google
|
|
1359
1516
|
# @return [String]
|
1360
1517
|
attr_accessor :self_link
|
1361
1518
|
|
1519
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
1520
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
1521
|
+
# @return [String]
|
1522
|
+
attr_accessor :self_link_with_id
|
1523
|
+
|
1362
1524
|
# [Output Only] If the operation is for projects.setCommonInstanceMetadata, this
|
1363
1525
|
# field will contain information on all underlying zonal actions and their state.
|
1364
1526
|
# Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
|
@@ -1390,8 +1552,8 @@ module Google
|
|
1390
1552
|
attr_accessor :target_id
|
1391
1553
|
|
1392
1554
|
# [Output Only] The URL of the resource that the operation modifies. For
|
1393
|
-
# operations related to creating a snapshot, this points to the
|
1394
|
-
#
|
1555
|
+
# operations related to creating a snapshot, this points to the disk that the
|
1556
|
+
# snapshot was created from.
|
1395
1557
|
# Corresponds to the JSON property `targetLink`
|
1396
1558
|
# @return [String]
|
1397
1559
|
attr_accessor :target_link
|
@@ -1437,6 +1599,7 @@ module Google
|
|
1437
1599
|
@progress = args[:progress] if args.key?(:progress)
|
1438
1600
|
@region = args[:region] if args.key?(:region)
|
1439
1601
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1602
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
1440
1603
|
@set_common_instance_metadata_operation_metadata = args[:set_common_instance_metadata_operation_metadata] if args.key?(:set_common_instance_metadata_operation_metadata)
|
1441
1604
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1442
1605
|
@status = args[:status] if args.key?(:status)
|
@@ -1471,11 +1634,32 @@ module Google
|
|
1471
1634
|
class Error
|
1472
1635
|
include Google::Apis::Core::Hashable
|
1473
1636
|
|
1637
|
+
# [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for
|
1638
|
+
# internal use-only (like componentization) (thus the visibility "none") and in
|
1639
|
+
# case of public exposure it is strongly recommended to follow pattern of: https:
|
1640
|
+
# //aip.dev/193 and expose as details field.
|
1641
|
+
# Corresponds to the JSON property `arguments`
|
1642
|
+
# @return [Array<String>]
|
1643
|
+
attr_accessor :arguments
|
1644
|
+
|
1474
1645
|
# [Output Only] The error type identifier for this error.
|
1475
1646
|
# Corresponds to the JSON property `code`
|
1476
1647
|
# @return [String]
|
1477
1648
|
attr_accessor :code
|
1478
1649
|
|
1650
|
+
# Describes additional debugging info.
|
1651
|
+
# Corresponds to the JSON property `debugInfo`
|
1652
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::DebugInfo]
|
1653
|
+
attr_accessor :debug_info
|
1654
|
+
|
1655
|
+
# [Output Only] An optional list of messages that contain the error details.
|
1656
|
+
# There is a set of defined message types to use for providing details.The
|
1657
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
1658
|
+
# details when the error code is QUOTA_EXCEEDED.
|
1659
|
+
# Corresponds to the JSON property `errorDetails`
|
1660
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::Operation::Error::Error::ErrorDetail>]
|
1661
|
+
attr_accessor :error_details
|
1662
|
+
|
1479
1663
|
# [Output Only] Indicates the field in the request that caused the error. This
|
1480
1664
|
# property is optional.
|
1481
1665
|
# Corresponds to the JSON property `location`
|
@@ -1493,10 +1677,61 @@ module Google
|
|
1493
1677
|
|
1494
1678
|
# Update properties of this object
|
1495
1679
|
def update!(**args)
|
1680
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
1496
1681
|
@code = args[:code] if args.key?(:code)
|
1682
|
+
@debug_info = args[:debug_info] if args.key?(:debug_info)
|
1683
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
1497
1684
|
@location = args[:location] if args.key?(:location)
|
1498
1685
|
@message = args[:message] if args.key?(:message)
|
1499
1686
|
end
|
1687
|
+
|
1688
|
+
#
|
1689
|
+
class ErrorDetail
|
1690
|
+
include Google::Apis::Core::Hashable
|
1691
|
+
|
1692
|
+
# Describes the cause of the error with structured details. Example of an error
|
1693
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
1694
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
1695
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
1696
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
1697
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
1698
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
1699
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
1700
|
+
# Corresponds to the JSON property `errorInfo`
|
1701
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ErrorInfo]
|
1702
|
+
attr_accessor :error_info
|
1703
|
+
|
1704
|
+
# Provides links to documentation or for performing an out of band action. For
|
1705
|
+
# example, if a quota check failed with an error indicating the calling project
|
1706
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
1707
|
+
# to the right place in the developer console to flip the bit.
|
1708
|
+
# Corresponds to the JSON property `help`
|
1709
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Help]
|
1710
|
+
attr_accessor :help
|
1711
|
+
|
1712
|
+
# Provides a localized error message that is safe to return to the user which
|
1713
|
+
# can be attached to an RPC error.
|
1714
|
+
# Corresponds to the JSON property `localizedMessage`
|
1715
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::LocalizedMessage]
|
1716
|
+
attr_accessor :localized_message
|
1717
|
+
|
1718
|
+
# Additional details for quota exceeded error for resource quota.
|
1719
|
+
# Corresponds to the JSON property `quotaInfo`
|
1720
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::QuotaExceededInfo]
|
1721
|
+
attr_accessor :quota_info
|
1722
|
+
|
1723
|
+
def initialize(**args)
|
1724
|
+
update!(**args)
|
1725
|
+
end
|
1726
|
+
|
1727
|
+
# Update properties of this object
|
1728
|
+
def update!(**args)
|
1729
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
1730
|
+
@help = args[:help] if args.key?(:help)
|
1731
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
1732
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
1733
|
+
end
|
1734
|
+
end
|
1500
1735
|
end
|
1501
1736
|
end
|
1502
1737
|
|
@@ -1770,6 +2005,57 @@ module Google
|
|
1770
2005
|
end
|
1771
2006
|
end
|
1772
2007
|
|
2008
|
+
# Additional details for quota exceeded error for resource quota.
|
2009
|
+
class QuotaExceededInfo
|
2010
|
+
include Google::Apis::Core::Hashable
|
2011
|
+
|
2012
|
+
# The map holding related quota dimensions.
|
2013
|
+
# Corresponds to the JSON property `dimensions`
|
2014
|
+
# @return [Hash<String,String>]
|
2015
|
+
attr_accessor :dimensions
|
2016
|
+
|
2017
|
+
# Future quota limit being rolled out. The limit's unit depends on the quota
|
2018
|
+
# type or metric.
|
2019
|
+
# Corresponds to the JSON property `futureLimit`
|
2020
|
+
# @return [Float]
|
2021
|
+
attr_accessor :future_limit
|
2022
|
+
|
2023
|
+
# Current effective quota limit. The limit's unit depends on the quota type or
|
2024
|
+
# metric.
|
2025
|
+
# Corresponds to the JSON property `limit`
|
2026
|
+
# @return [Float]
|
2027
|
+
attr_accessor :limit
|
2028
|
+
|
2029
|
+
# The name of the quota limit.
|
2030
|
+
# Corresponds to the JSON property `limitName`
|
2031
|
+
# @return [String]
|
2032
|
+
attr_accessor :limit_name
|
2033
|
+
|
2034
|
+
# The Compute Engine quota metric name.
|
2035
|
+
# Corresponds to the JSON property `metricName`
|
2036
|
+
# @return [String]
|
2037
|
+
attr_accessor :metric_name
|
2038
|
+
|
2039
|
+
# Rollout status of the future quota limit.
|
2040
|
+
# Corresponds to the JSON property `rolloutStatus`
|
2041
|
+
# @return [String]
|
2042
|
+
attr_accessor :rollout_status
|
2043
|
+
|
2044
|
+
def initialize(**args)
|
2045
|
+
update!(**args)
|
2046
|
+
end
|
2047
|
+
|
2048
|
+
# Update properties of this object
|
2049
|
+
def update!(**args)
|
2050
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
2051
|
+
@future_limit = args[:future_limit] if args.key?(:future_limit)
|
2052
|
+
@limit = args[:limit] if args.key?(:limit)
|
2053
|
+
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
2054
|
+
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
2055
|
+
@rollout_status = args[:rollout_status] if args.key?(:rollout_status)
|
2056
|
+
end
|
2057
|
+
end
|
2058
|
+
|
1773
2059
|
#
|
1774
2060
|
class Resource
|
1775
2061
|
include Google::Apis::Core::Hashable
|
@@ -2060,11 +2346,32 @@ module Google
|
|
2060
2346
|
class Error
|
2061
2347
|
include Google::Apis::Core::Hashable
|
2062
2348
|
|
2349
|
+
# [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for
|
2350
|
+
# internal use-only (like componentization) (thus the visibility "none") and in
|
2351
|
+
# case of public exposure it is strongly recommended to follow pattern of: https:
|
2352
|
+
# //aip.dev/193 and expose as details field.
|
2353
|
+
# Corresponds to the JSON property `arguments`
|
2354
|
+
# @return [Array<String>]
|
2355
|
+
attr_accessor :arguments
|
2356
|
+
|
2063
2357
|
# [Output Only] The error type identifier for this error.
|
2064
2358
|
# Corresponds to the JSON property `code`
|
2065
2359
|
# @return [String]
|
2066
2360
|
attr_accessor :code
|
2067
2361
|
|
2362
|
+
# Describes additional debugging info.
|
2363
|
+
# Corresponds to the JSON property `debugInfo`
|
2364
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::DebugInfo]
|
2365
|
+
attr_accessor :debug_info
|
2366
|
+
|
2367
|
+
# [Output Only] An optional list of messages that contain the error details.
|
2368
|
+
# There is a set of defined message types to use for providing details.The
|
2369
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
2370
|
+
# details when the error code is QUOTA_EXCEEDED.
|
2371
|
+
# Corresponds to the JSON property `errorDetails`
|
2372
|
+
# @return [Array<Google::Apis::DeploymentmanagerAlpha::ResourceUpdate::Error::Error::ErrorDetail>]
|
2373
|
+
attr_accessor :error_details
|
2374
|
+
|
2068
2375
|
# [Output Only] Indicates the field in the request that caused the error. This
|
2069
2376
|
# property is optional.
|
2070
2377
|
# Corresponds to the JSON property `location`
|
@@ -2082,10 +2389,61 @@ module Google
|
|
2082
2389
|
|
2083
2390
|
# Update properties of this object
|
2084
2391
|
def update!(**args)
|
2392
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
2085
2393
|
@code = args[:code] if args.key?(:code)
|
2394
|
+
@debug_info = args[:debug_info] if args.key?(:debug_info)
|
2395
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
2086
2396
|
@location = args[:location] if args.key?(:location)
|
2087
2397
|
@message = args[:message] if args.key?(:message)
|
2088
2398
|
end
|
2399
|
+
|
2400
|
+
#
|
2401
|
+
class ErrorDetail
|
2402
|
+
include Google::Apis::Core::Hashable
|
2403
|
+
|
2404
|
+
# Describes the cause of the error with structured details. Example of an error
|
2405
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
2406
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
2407
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
2408
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
2409
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
2410
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
2411
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
2412
|
+
# Corresponds to the JSON property `errorInfo`
|
2413
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::ErrorInfo]
|
2414
|
+
attr_accessor :error_info
|
2415
|
+
|
2416
|
+
# Provides links to documentation or for performing an out of band action. For
|
2417
|
+
# example, if a quota check failed with an error indicating the calling project
|
2418
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
2419
|
+
# to the right place in the developer console to flip the bit.
|
2420
|
+
# Corresponds to the JSON property `help`
|
2421
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::Help]
|
2422
|
+
attr_accessor :help
|
2423
|
+
|
2424
|
+
# Provides a localized error message that is safe to return to the user which
|
2425
|
+
# can be attached to an RPC error.
|
2426
|
+
# Corresponds to the JSON property `localizedMessage`
|
2427
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::LocalizedMessage]
|
2428
|
+
attr_accessor :localized_message
|
2429
|
+
|
2430
|
+
# Additional details for quota exceeded error for resource quota.
|
2431
|
+
# Corresponds to the JSON property `quotaInfo`
|
2432
|
+
# @return [Google::Apis::DeploymentmanagerAlpha::QuotaExceededInfo]
|
2433
|
+
attr_accessor :quota_info
|
2434
|
+
|
2435
|
+
def initialize(**args)
|
2436
|
+
update!(**args)
|
2437
|
+
end
|
2438
|
+
|
2439
|
+
# Update properties of this object
|
2440
|
+
def update!(**args)
|
2441
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
2442
|
+
@help = args[:help] if args.key?(:help)
|
2443
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
2444
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
2445
|
+
end
|
2446
|
+
end
|
2089
2447
|
end
|
2090
2448
|
end
|
2091
2449
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DeploymentmanagerAlpha
|
18
18
|
# Version of the google-apis-deploymentmanager_alpha gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241122"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|