google-apis-deploymentmanager_v2 0.30.0 → 0.32.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/deploymentmanager_v2/classes.rb +360 -2
- data/lib/google/apis/deploymentmanager_v2/gem_version.rb +3 -3
- data/lib/google/apis/deploymentmanager_v2/representations.rb +141 -0
- data/lib/google/apis/deploymentmanager_v2/service.rb +30 -10
- 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: f3dd46b245398780d444c29e7960c43ab614e68e228deacfc3123ba9a53dd1c5
|
4
|
+
data.tar.gz: ec241064510c1fced2b25c41dfa1f336e4fc60135185fa5ea4253ef3616d87ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f50c7c875b6e9ef2a35d6e412a898d1de21e0a29a0cedc708c007673c9eed22f65b4d35bd21d763f0ac803b1115e0ae5c4cf27013691cf3609a8fe26f254d4d
|
7
|
+
data.tar.gz: fa1a0ffa28837bb63c9deb49aeb6c998d7ef180eaeb120b9ee6339015746310e4f989b7e6a8e88b97df9325bdd58a9bc0aa07f491bb557fdfe9dab4970f3db9e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-deploymentmanager_v2
|
2
2
|
|
3
|
+
### v0.32.0 (2024-11-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241031
|
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
|
@@ -257,6 +257,31 @@ module Google
|
|
257
257
|
end
|
258
258
|
end
|
259
259
|
|
260
|
+
# Describes additional debugging info.
|
261
|
+
class DebugInfo
|
262
|
+
include Google::Apis::Core::Hashable
|
263
|
+
|
264
|
+
# Additional debugging information provided by the server.
|
265
|
+
# Corresponds to the JSON property `detail`
|
266
|
+
# @return [String]
|
267
|
+
attr_accessor :detail
|
268
|
+
|
269
|
+
# The stack trace entries indicating where the error occurred.
|
270
|
+
# Corresponds to the JSON property `stackEntries`
|
271
|
+
# @return [Array<String>]
|
272
|
+
attr_accessor :stack_entries
|
273
|
+
|
274
|
+
def initialize(**args)
|
275
|
+
update!(**args)
|
276
|
+
end
|
277
|
+
|
278
|
+
# Update properties of this object
|
279
|
+
def update!(**args)
|
280
|
+
@detail = args[:detail] if args.key?(:detail)
|
281
|
+
@stack_entries = args[:stack_entries] if args.key?(:stack_entries)
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
260
285
|
#
|
261
286
|
class Deployment
|
262
287
|
include Google::Apis::Core::Hashable
|
@@ -541,6 +566,58 @@ module Google
|
|
541
566
|
end
|
542
567
|
end
|
543
568
|
|
569
|
+
# Describes the cause of the error with structured details. Example of an error
|
570
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
571
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
572
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
573
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
574
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
575
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
576
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
577
|
+
class ErrorInfo
|
578
|
+
include Google::Apis::Core::Hashable
|
579
|
+
|
580
|
+
# The logical grouping to which the "reason" belongs. The error domain is
|
581
|
+
# typically the registered service name of the tool or product that generates
|
582
|
+
# the error. Example: "pubsub.googleapis.com". If the error is generated by some
|
583
|
+
# common infrastructure, the error domain must be a globally unique value that
|
584
|
+
# identifies the infrastructure. For Google API infrastructure, the error domain
|
585
|
+
# is "googleapis.com".
|
586
|
+
# Corresponds to the JSON property `domain`
|
587
|
+
# @return [String]
|
588
|
+
attr_accessor :domain
|
589
|
+
|
590
|
+
# Additional structured details about this error. Keys must match /a-z+/ but
|
591
|
+
# should ideally be lowerCamelCase. Also they must be limited to 64 characters
|
592
|
+
# in length. When identifying the current value of an exceeded limit, the units
|
593
|
+
# should be contained in the key, not the value. For example, rather than `"
|
594
|
+
# instanceLimit": "100/request"`, should be returned as, `"
|
595
|
+
# instanceLimitPerRequest": "100"`, if the client exceeds the number of
|
596
|
+
# instances that can be created in a single (batch) request.
|
597
|
+
# Corresponds to the JSON property `metadata`
|
598
|
+
# @return [Hash<String,String>]
|
599
|
+
attr_accessor :metadata
|
600
|
+
|
601
|
+
# The reason of the error. This is a constant value that identifies the
|
602
|
+
# proximate cause of the error. Error reasons are unique within a particular
|
603
|
+
# domain of errors. This should be at most 63 characters and match a regular
|
604
|
+
# expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE.
|
605
|
+
# Corresponds to the JSON property `reason`
|
606
|
+
# @return [String]
|
607
|
+
attr_accessor :reason
|
608
|
+
|
609
|
+
def initialize(**args)
|
610
|
+
update!(**args)
|
611
|
+
end
|
612
|
+
|
613
|
+
# Update properties of this object
|
614
|
+
def update!(**args)
|
615
|
+
@domain = args[:domain] if args.key?(:domain)
|
616
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
617
|
+
@reason = args[:reason] if args.key?(:reason)
|
618
|
+
end
|
619
|
+
end
|
620
|
+
|
544
621
|
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
545
622
|
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
546
623
|
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
@@ -643,6 +720,11 @@ module Google
|
|
643
720
|
# @return [Google::Apis::DeploymentmanagerV2::Policy]
|
644
721
|
attr_accessor :policy
|
645
722
|
|
723
|
+
#
|
724
|
+
# Corresponds to the JSON property `updateMask`
|
725
|
+
# @return [String]
|
726
|
+
attr_accessor :update_mask
|
727
|
+
|
646
728
|
def initialize(**args)
|
647
729
|
update!(**args)
|
648
730
|
end
|
@@ -652,6 +734,54 @@ module Google
|
|
652
734
|
@bindings = args[:bindings] if args.key?(:bindings)
|
653
735
|
@etag = args[:etag] if args.key?(:etag)
|
654
736
|
@policy = args[:policy] if args.key?(:policy)
|
737
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
738
|
+
end
|
739
|
+
end
|
740
|
+
|
741
|
+
# Provides links to documentation or for performing an out of band action. For
|
742
|
+
# example, if a quota check failed with an error indicating the calling project
|
743
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
744
|
+
# to the right place in the developer console to flip the bit.
|
745
|
+
class Help
|
746
|
+
include Google::Apis::Core::Hashable
|
747
|
+
|
748
|
+
# URL(s) pointing to additional information on handling the current error.
|
749
|
+
# Corresponds to the JSON property `links`
|
750
|
+
# @return [Array<Google::Apis::DeploymentmanagerV2::HelpLink>]
|
751
|
+
attr_accessor :links
|
752
|
+
|
753
|
+
def initialize(**args)
|
754
|
+
update!(**args)
|
755
|
+
end
|
756
|
+
|
757
|
+
# Update properties of this object
|
758
|
+
def update!(**args)
|
759
|
+
@links = args[:links] if args.key?(:links)
|
760
|
+
end
|
761
|
+
end
|
762
|
+
|
763
|
+
# Describes a URL link.
|
764
|
+
class HelpLink
|
765
|
+
include Google::Apis::Core::Hashable
|
766
|
+
|
767
|
+
# Describes what the link offers.
|
768
|
+
# Corresponds to the JSON property `description`
|
769
|
+
# @return [String]
|
770
|
+
attr_accessor :description
|
771
|
+
|
772
|
+
# The URL of the link.
|
773
|
+
# Corresponds to the JSON property `url`
|
774
|
+
# @return [String]
|
775
|
+
attr_accessor :url
|
776
|
+
|
777
|
+
def initialize(**args)
|
778
|
+
update!(**args)
|
779
|
+
end
|
780
|
+
|
781
|
+
# Update properties of this object
|
782
|
+
def update!(**args)
|
783
|
+
@description = args[:description] if args.key?(:description)
|
784
|
+
@url = args[:url] if args.key?(:url)
|
655
785
|
end
|
656
786
|
end
|
657
787
|
|
@@ -700,6 +830,33 @@ module Google
|
|
700
830
|
end
|
701
831
|
end
|
702
832
|
|
833
|
+
# Provides a localized error message that is safe to return to the user which
|
834
|
+
# can be attached to an RPC error.
|
835
|
+
class LocalizedMessage
|
836
|
+
include Google::Apis::Core::Hashable
|
837
|
+
|
838
|
+
# The locale used following the specification defined at https://www.rfc-editor.
|
839
|
+
# org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX"
|
840
|
+
# Corresponds to the JSON property `locale`
|
841
|
+
# @return [String]
|
842
|
+
attr_accessor :locale
|
843
|
+
|
844
|
+
# The localized error message in the above locale.
|
845
|
+
# Corresponds to the JSON property `message`
|
846
|
+
# @return [String]
|
847
|
+
attr_accessor :message
|
848
|
+
|
849
|
+
def initialize(**args)
|
850
|
+
update!(**args)
|
851
|
+
end
|
852
|
+
|
853
|
+
# Update properties of this object
|
854
|
+
def update!(**args)
|
855
|
+
@locale = args[:locale] if args.key?(:locale)
|
856
|
+
@message = args[:message] if args.key?(:message)
|
857
|
+
end
|
858
|
+
end
|
859
|
+
|
703
860
|
#
|
704
861
|
class Manifest
|
705
862
|
include Google::Apis::Core::Hashable
|
@@ -915,6 +1072,11 @@ module Google
|
|
915
1072
|
# @return [String]
|
916
1073
|
attr_accessor :self_link
|
917
1074
|
|
1075
|
+
# [Output Only] Server-defined URL for this resource with the resource id.
|
1076
|
+
# Corresponds to the JSON property `selfLinkWithId`
|
1077
|
+
# @return [String]
|
1078
|
+
attr_accessor :self_link_with_id
|
1079
|
+
|
918
1080
|
# [Output Only] If the operation is for projects.setCommonInstanceMetadata, this
|
919
1081
|
# field will contain information on all underlying zonal actions and their state.
|
920
1082
|
# Corresponds to the JSON property `setCommonInstanceMetadataOperationMetadata`
|
@@ -946,8 +1108,8 @@ module Google
|
|
946
1108
|
attr_accessor :target_id
|
947
1109
|
|
948
1110
|
# [Output Only] The URL of the resource that the operation modifies. For
|
949
|
-
# operations related to creating a snapshot, this points to the
|
950
|
-
#
|
1111
|
+
# operations related to creating a snapshot, this points to the disk that the
|
1112
|
+
# snapshot was created from.
|
951
1113
|
# Corresponds to the JSON property `targetLink`
|
952
1114
|
# @return [String]
|
953
1115
|
attr_accessor :target_link
|
@@ -993,6 +1155,7 @@ module Google
|
|
993
1155
|
@progress = args[:progress] if args.key?(:progress)
|
994
1156
|
@region = args[:region] if args.key?(:region)
|
995
1157
|
@self_link = args[:self_link] if args.key?(:self_link)
|
1158
|
+
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
996
1159
|
@set_common_instance_metadata_operation_metadata = args[:set_common_instance_metadata_operation_metadata] if args.key?(:set_common_instance_metadata_operation_metadata)
|
997
1160
|
@start_time = args[:start_time] if args.key?(:start_time)
|
998
1161
|
@status = args[:status] if args.key?(:status)
|
@@ -1027,11 +1190,32 @@ module Google
|
|
1027
1190
|
class Error
|
1028
1191
|
include Google::Apis::Core::Hashable
|
1029
1192
|
|
1193
|
+
# [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for
|
1194
|
+
# internal use-only (like componentization) (thus the visibility "none") and in
|
1195
|
+
# case of public exposure it is strongly recommended to follow pattern of: https:
|
1196
|
+
# //aip.dev/193 and expose as details field.
|
1197
|
+
# Corresponds to the JSON property `arguments`
|
1198
|
+
# @return [Array<String>]
|
1199
|
+
attr_accessor :arguments
|
1200
|
+
|
1030
1201
|
# [Output Only] The error type identifier for this error.
|
1031
1202
|
# Corresponds to the JSON property `code`
|
1032
1203
|
# @return [String]
|
1033
1204
|
attr_accessor :code
|
1034
1205
|
|
1206
|
+
# Describes additional debugging info.
|
1207
|
+
# Corresponds to the JSON property `debugInfo`
|
1208
|
+
# @return [Google::Apis::DeploymentmanagerV2::DebugInfo]
|
1209
|
+
attr_accessor :debug_info
|
1210
|
+
|
1211
|
+
# [Output Only] An optional list of messages that contain the error details.
|
1212
|
+
# There is a set of defined message types to use for providing details.The
|
1213
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
1214
|
+
# details when the error code is QUOTA_EXCEEDED.
|
1215
|
+
# Corresponds to the JSON property `errorDetails`
|
1216
|
+
# @return [Array<Google::Apis::DeploymentmanagerV2::Operation::Error::Error::ErrorDetail>]
|
1217
|
+
attr_accessor :error_details
|
1218
|
+
|
1035
1219
|
# [Output Only] Indicates the field in the request that caused the error. This
|
1036
1220
|
# property is optional.
|
1037
1221
|
# Corresponds to the JSON property `location`
|
@@ -1049,10 +1233,61 @@ module Google
|
|
1049
1233
|
|
1050
1234
|
# Update properties of this object
|
1051
1235
|
def update!(**args)
|
1236
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
1052
1237
|
@code = args[:code] if args.key?(:code)
|
1238
|
+
@debug_info = args[:debug_info] if args.key?(:debug_info)
|
1239
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
1053
1240
|
@location = args[:location] if args.key?(:location)
|
1054
1241
|
@message = args[:message] if args.key?(:message)
|
1055
1242
|
end
|
1243
|
+
|
1244
|
+
#
|
1245
|
+
class ErrorDetail
|
1246
|
+
include Google::Apis::Core::Hashable
|
1247
|
+
|
1248
|
+
# Describes the cause of the error with structured details. Example of an error
|
1249
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
1250
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
1251
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
1252
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
1253
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
1254
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
1255
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
1256
|
+
# Corresponds to the JSON property `errorInfo`
|
1257
|
+
# @return [Google::Apis::DeploymentmanagerV2::ErrorInfo]
|
1258
|
+
attr_accessor :error_info
|
1259
|
+
|
1260
|
+
# Provides links to documentation or for performing an out of band action. For
|
1261
|
+
# example, if a quota check failed with an error indicating the calling project
|
1262
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
1263
|
+
# to the right place in the developer console to flip the bit.
|
1264
|
+
# Corresponds to the JSON property `help`
|
1265
|
+
# @return [Google::Apis::DeploymentmanagerV2::Help]
|
1266
|
+
attr_accessor :help
|
1267
|
+
|
1268
|
+
# Provides a localized error message that is safe to return to the user which
|
1269
|
+
# can be attached to an RPC error.
|
1270
|
+
# Corresponds to the JSON property `localizedMessage`
|
1271
|
+
# @return [Google::Apis::DeploymentmanagerV2::LocalizedMessage]
|
1272
|
+
attr_accessor :localized_message
|
1273
|
+
|
1274
|
+
# Additional details for quota exceeded error for resource quota.
|
1275
|
+
# Corresponds to the JSON property `quotaInfo`
|
1276
|
+
# @return [Google::Apis::DeploymentmanagerV2::QuotaExceededInfo]
|
1277
|
+
attr_accessor :quota_info
|
1278
|
+
|
1279
|
+
def initialize(**args)
|
1280
|
+
update!(**args)
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
# Update properties of this object
|
1284
|
+
def update!(**args)
|
1285
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
1286
|
+
@help = args[:help] if args.key?(:help)
|
1287
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
1288
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
1289
|
+
end
|
1290
|
+
end
|
1056
1291
|
end
|
1057
1292
|
end
|
1058
1293
|
|
@@ -1242,6 +1477,57 @@ module Google
|
|
1242
1477
|
end
|
1243
1478
|
end
|
1244
1479
|
|
1480
|
+
# Additional details for quota exceeded error for resource quota.
|
1481
|
+
class QuotaExceededInfo
|
1482
|
+
include Google::Apis::Core::Hashable
|
1483
|
+
|
1484
|
+
# The map holding related quota dimensions.
|
1485
|
+
# Corresponds to the JSON property `dimensions`
|
1486
|
+
# @return [Hash<String,String>]
|
1487
|
+
attr_accessor :dimensions
|
1488
|
+
|
1489
|
+
# Future quota limit being rolled out. The limit's unit depends on the quota
|
1490
|
+
# type or metric.
|
1491
|
+
# Corresponds to the JSON property `futureLimit`
|
1492
|
+
# @return [Float]
|
1493
|
+
attr_accessor :future_limit
|
1494
|
+
|
1495
|
+
# Current effective quota limit. The limit's unit depends on the quota type or
|
1496
|
+
# metric.
|
1497
|
+
# Corresponds to the JSON property `limit`
|
1498
|
+
# @return [Float]
|
1499
|
+
attr_accessor :limit
|
1500
|
+
|
1501
|
+
# The name of the quota limit.
|
1502
|
+
# Corresponds to the JSON property `limitName`
|
1503
|
+
# @return [String]
|
1504
|
+
attr_accessor :limit_name
|
1505
|
+
|
1506
|
+
# The Compute Engine quota metric name.
|
1507
|
+
# Corresponds to the JSON property `metricName`
|
1508
|
+
# @return [String]
|
1509
|
+
attr_accessor :metric_name
|
1510
|
+
|
1511
|
+
# Rollout status of the future quota limit.
|
1512
|
+
# Corresponds to the JSON property `rolloutStatus`
|
1513
|
+
# @return [String]
|
1514
|
+
attr_accessor :rollout_status
|
1515
|
+
|
1516
|
+
def initialize(**args)
|
1517
|
+
update!(**args)
|
1518
|
+
end
|
1519
|
+
|
1520
|
+
# Update properties of this object
|
1521
|
+
def update!(**args)
|
1522
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
1523
|
+
@future_limit = args[:future_limit] if args.key?(:future_limit)
|
1524
|
+
@limit = args[:limit] if args.key?(:limit)
|
1525
|
+
@limit_name = args[:limit_name] if args.key?(:limit_name)
|
1526
|
+
@metric_name = args[:metric_name] if args.key?(:metric_name)
|
1527
|
+
@rollout_status = args[:rollout_status] if args.key?(:rollout_status)
|
1528
|
+
end
|
1529
|
+
end
|
1530
|
+
|
1245
1531
|
#
|
1246
1532
|
class Resource
|
1247
1533
|
include Google::Apis::Core::Hashable
|
@@ -1504,11 +1790,32 @@ module Google
|
|
1504
1790
|
class Error
|
1505
1791
|
include Google::Apis::Core::Hashable
|
1506
1792
|
|
1793
|
+
# [Output Only] Optional error details WARNING: DO NOT MAKE VISIBLE This is for
|
1794
|
+
# internal use-only (like componentization) (thus the visibility "none") and in
|
1795
|
+
# case of public exposure it is strongly recommended to follow pattern of: https:
|
1796
|
+
# //aip.dev/193 and expose as details field.
|
1797
|
+
# Corresponds to the JSON property `arguments`
|
1798
|
+
# @return [Array<String>]
|
1799
|
+
attr_accessor :arguments
|
1800
|
+
|
1507
1801
|
# [Output Only] The error type identifier for this error.
|
1508
1802
|
# Corresponds to the JSON property `code`
|
1509
1803
|
# @return [String]
|
1510
1804
|
attr_accessor :code
|
1511
1805
|
|
1806
|
+
# Describes additional debugging info.
|
1807
|
+
# Corresponds to the JSON property `debugInfo`
|
1808
|
+
# @return [Google::Apis::DeploymentmanagerV2::DebugInfo]
|
1809
|
+
attr_accessor :debug_info
|
1810
|
+
|
1811
|
+
# [Output Only] An optional list of messages that contain the error details.
|
1812
|
+
# There is a set of defined message types to use for providing details.The
|
1813
|
+
# syntax depends on the error code. For example, QuotaExceededInfo will have
|
1814
|
+
# details when the error code is QUOTA_EXCEEDED.
|
1815
|
+
# Corresponds to the JSON property `errorDetails`
|
1816
|
+
# @return [Array<Google::Apis::DeploymentmanagerV2::ResourceUpdate::Error::Error::ErrorDetail>]
|
1817
|
+
attr_accessor :error_details
|
1818
|
+
|
1512
1819
|
# [Output Only] Indicates the field in the request that caused the error. This
|
1513
1820
|
# property is optional.
|
1514
1821
|
# Corresponds to the JSON property `location`
|
@@ -1526,10 +1833,61 @@ module Google
|
|
1526
1833
|
|
1527
1834
|
# Update properties of this object
|
1528
1835
|
def update!(**args)
|
1836
|
+
@arguments = args[:arguments] if args.key?(:arguments)
|
1529
1837
|
@code = args[:code] if args.key?(:code)
|
1838
|
+
@debug_info = args[:debug_info] if args.key?(:debug_info)
|
1839
|
+
@error_details = args[:error_details] if args.key?(:error_details)
|
1530
1840
|
@location = args[:location] if args.key?(:location)
|
1531
1841
|
@message = args[:message] if args.key?(:message)
|
1532
1842
|
end
|
1843
|
+
|
1844
|
+
#
|
1845
|
+
class ErrorDetail
|
1846
|
+
include Google::Apis::Core::Hashable
|
1847
|
+
|
1848
|
+
# Describes the cause of the error with structured details. Example of an error
|
1849
|
+
# when contacting the "pubsub.googleapis.com" API when it is not enabled: ` "
|
1850
|
+
# reason": "API_DISABLED" "domain": "googleapis.com" "metadata": ` "resource": "
|
1851
|
+
# projects/123", "service": "pubsub.googleapis.com" ` ` This response indicates
|
1852
|
+
# that the pubsub.googleapis.com API is not enabled. Example of an error that is
|
1853
|
+
# returned when attempting to create a Spanner instance in a region that is out
|
1854
|
+
# of stock: ` "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata"
|
1855
|
+
# : ` "availableRegions": "us-central1,us-east2" ` `
|
1856
|
+
# Corresponds to the JSON property `errorInfo`
|
1857
|
+
# @return [Google::Apis::DeploymentmanagerV2::ErrorInfo]
|
1858
|
+
attr_accessor :error_info
|
1859
|
+
|
1860
|
+
# Provides links to documentation or for performing an out of band action. For
|
1861
|
+
# example, if a quota check failed with an error indicating the calling project
|
1862
|
+
# hasn't enabled the accessed service, this can contain a URL pointing directly
|
1863
|
+
# to the right place in the developer console to flip the bit.
|
1864
|
+
# Corresponds to the JSON property `help`
|
1865
|
+
# @return [Google::Apis::DeploymentmanagerV2::Help]
|
1866
|
+
attr_accessor :help
|
1867
|
+
|
1868
|
+
# Provides a localized error message that is safe to return to the user which
|
1869
|
+
# can be attached to an RPC error.
|
1870
|
+
# Corresponds to the JSON property `localizedMessage`
|
1871
|
+
# @return [Google::Apis::DeploymentmanagerV2::LocalizedMessage]
|
1872
|
+
attr_accessor :localized_message
|
1873
|
+
|
1874
|
+
# Additional details for quota exceeded error for resource quota.
|
1875
|
+
# Corresponds to the JSON property `quotaInfo`
|
1876
|
+
# @return [Google::Apis::DeploymentmanagerV2::QuotaExceededInfo]
|
1877
|
+
attr_accessor :quota_info
|
1878
|
+
|
1879
|
+
def initialize(**args)
|
1880
|
+
update!(**args)
|
1881
|
+
end
|
1882
|
+
|
1883
|
+
# Update properties of this object
|
1884
|
+
def update!(**args)
|
1885
|
+
@error_info = args[:error_info] if args.key?(:error_info)
|
1886
|
+
@help = args[:help] if args.key?(:help)
|
1887
|
+
@localized_message = args[:localized_message] if args.key?(:localized_message)
|
1888
|
+
@quota_info = args[:quota_info] if args.key?(:quota_info)
|
1889
|
+
end
|
1890
|
+
end
|
1533
1891
|
end
|
1534
1892
|
end
|
1535
1893
|
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DeploymentmanagerV2
|
18
18
|
# Version of the google-apis-deploymentmanager_v2 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 = "20241031"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -52,6 +52,12 @@ module Google
|
|
52
52
|
include Google::Apis::Core::JsonObjectSupport
|
53
53
|
end
|
54
54
|
|
55
|
+
class DebugInfo
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
55
61
|
class Deployment
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
63
|
|
@@ -94,6 +100,12 @@ module Google
|
|
94
100
|
include Google::Apis::Core::JsonObjectSupport
|
95
101
|
end
|
96
102
|
|
103
|
+
class ErrorInfo
|
104
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
+
|
106
|
+
include Google::Apis::Core::JsonObjectSupport
|
107
|
+
end
|
108
|
+
|
97
109
|
class Expr
|
98
110
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
111
|
|
@@ -106,6 +118,18 @@ module Google
|
|
106
118
|
include Google::Apis::Core::JsonObjectSupport
|
107
119
|
end
|
108
120
|
|
121
|
+
class Help
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class HelpLink
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
109
133
|
class ImportFile
|
110
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
135
|
|
@@ -118,6 +142,12 @@ module Google
|
|
118
142
|
include Google::Apis::Core::JsonObjectSupport
|
119
143
|
end
|
120
144
|
|
145
|
+
class LocalizedMessage
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
121
151
|
class Manifest
|
122
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
153
|
|
@@ -138,6 +168,12 @@ module Google
|
|
138
168
|
|
139
169
|
class Error
|
140
170
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
class ErrorDetail
|
173
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
174
|
+
|
175
|
+
include Google::Apis::Core::JsonObjectSupport
|
176
|
+
end
|
141
177
|
|
142
178
|
include Google::Apis::Core::JsonObjectSupport
|
143
179
|
end
|
@@ -172,6 +208,12 @@ module Google
|
|
172
208
|
include Google::Apis::Core::JsonObjectSupport
|
173
209
|
end
|
174
210
|
|
211
|
+
class QuotaExceededInfo
|
212
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
213
|
+
|
214
|
+
include Google::Apis::Core::JsonObjectSupport
|
215
|
+
end
|
216
|
+
|
175
217
|
class Resource
|
176
218
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
219
|
|
@@ -204,6 +246,12 @@ module Google
|
|
204
246
|
|
205
247
|
class Error
|
206
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
class ErrorDetail
|
251
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
252
|
+
|
253
|
+
include Google::Apis::Core::JsonObjectSupport
|
254
|
+
end
|
207
255
|
|
208
256
|
include Google::Apis::Core::JsonObjectSupport
|
209
257
|
end
|
@@ -325,6 +373,14 @@ module Google
|
|
325
373
|
end
|
326
374
|
end
|
327
375
|
|
376
|
+
class DebugInfo
|
377
|
+
# @private
|
378
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
379
|
+
property :detail, as: 'detail'
|
380
|
+
collection :stack_entries, as: 'stackEntries'
|
381
|
+
end
|
382
|
+
end
|
383
|
+
|
328
384
|
class Deployment
|
329
385
|
# @private
|
330
386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -396,6 +452,15 @@ module Google
|
|
396
452
|
end
|
397
453
|
end
|
398
454
|
|
455
|
+
class ErrorInfo
|
456
|
+
# @private
|
457
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
458
|
+
property :domain, as: 'domain'
|
459
|
+
hash :metadata, as: 'metadata'
|
460
|
+
property :reason, as: 'reason'
|
461
|
+
end
|
462
|
+
end
|
463
|
+
|
399
464
|
class Expr
|
400
465
|
# @private
|
401
466
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -414,6 +479,23 @@ module Google
|
|
414
479
|
property :etag, :base64 => true, as: 'etag'
|
415
480
|
property :policy, as: 'policy', class: Google::Apis::DeploymentmanagerV2::Policy, decorator: Google::Apis::DeploymentmanagerV2::Policy::Representation
|
416
481
|
|
482
|
+
property :update_mask, as: 'updateMask'
|
483
|
+
end
|
484
|
+
end
|
485
|
+
|
486
|
+
class Help
|
487
|
+
# @private
|
488
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
489
|
+
collection :links, as: 'links', class: Google::Apis::DeploymentmanagerV2::HelpLink, decorator: Google::Apis::DeploymentmanagerV2::HelpLink::Representation
|
490
|
+
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
class HelpLink
|
495
|
+
# @private
|
496
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
497
|
+
property :description, as: 'description'
|
498
|
+
property :url, as: 'url'
|
417
499
|
end
|
418
500
|
end
|
419
501
|
|
@@ -433,6 +515,14 @@ module Google
|
|
433
515
|
end
|
434
516
|
end
|
435
517
|
|
518
|
+
class LocalizedMessage
|
519
|
+
# @private
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
521
|
+
property :locale, as: 'locale'
|
522
|
+
property :message, as: 'message'
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
436
526
|
class Manifest
|
437
527
|
# @private
|
438
528
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -482,6 +572,7 @@ module Google
|
|
482
572
|
property :progress, as: 'progress'
|
483
573
|
property :region, as: 'region'
|
484
574
|
property :self_link, as: 'selfLink'
|
575
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
485
576
|
property :set_common_instance_metadata_operation_metadata, as: 'setCommonInstanceMetadataOperationMetadata', class: Google::Apis::DeploymentmanagerV2::SetCommonInstanceMetadataOperationMetadata, decorator: Google::Apis::DeploymentmanagerV2::SetCommonInstanceMetadataOperationMetadata::Representation
|
486
577
|
|
487
578
|
property :start_time, as: 'startTime'
|
@@ -505,10 +596,29 @@ module Google
|
|
505
596
|
class Error
|
506
597
|
# @private
|
507
598
|
class Representation < Google::Apis::Core::JsonRepresentation
|
599
|
+
collection :arguments, as: 'arguments'
|
508
600
|
property :code, as: 'code'
|
601
|
+
property :debug_info, as: 'debugInfo', class: Google::Apis::DeploymentmanagerV2::DebugInfo, decorator: Google::Apis::DeploymentmanagerV2::DebugInfo::Representation
|
602
|
+
|
603
|
+
collection :error_details, as: 'errorDetails', class: Google::Apis::DeploymentmanagerV2::Operation::Error::Error::ErrorDetail, decorator: Google::Apis::DeploymentmanagerV2::Operation::Error::Error::ErrorDetail::Representation
|
604
|
+
|
509
605
|
property :location, as: 'location'
|
510
606
|
property :message, as: 'message'
|
511
607
|
end
|
608
|
+
|
609
|
+
class ErrorDetail
|
610
|
+
# @private
|
611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
612
|
+
property :error_info, as: 'errorInfo', class: Google::Apis::DeploymentmanagerV2::ErrorInfo, decorator: Google::Apis::DeploymentmanagerV2::ErrorInfo::Representation
|
613
|
+
|
614
|
+
property :help, as: 'help', class: Google::Apis::DeploymentmanagerV2::Help, decorator: Google::Apis::DeploymentmanagerV2::Help::Representation
|
615
|
+
|
616
|
+
property :localized_message, as: 'localizedMessage', class: Google::Apis::DeploymentmanagerV2::LocalizedMessage, decorator: Google::Apis::DeploymentmanagerV2::LocalizedMessage::Representation
|
617
|
+
|
618
|
+
property :quota_info, as: 'quotaInfo', class: Google::Apis::DeploymentmanagerV2::QuotaExceededInfo, decorator: Google::Apis::DeploymentmanagerV2::QuotaExceededInfo::Representation
|
619
|
+
|
620
|
+
end
|
621
|
+
end
|
512
622
|
end
|
513
623
|
end
|
514
624
|
|
@@ -552,6 +662,18 @@ module Google
|
|
552
662
|
end
|
553
663
|
end
|
554
664
|
|
665
|
+
class QuotaExceededInfo
|
666
|
+
# @private
|
667
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
668
|
+
hash :dimensions, as: 'dimensions'
|
669
|
+
property :future_limit, as: 'futureLimit'
|
670
|
+
property :limit, as: 'limit'
|
671
|
+
property :limit_name, as: 'limitName'
|
672
|
+
property :metric_name, as: 'metricName'
|
673
|
+
property :rollout_status, as: 'rolloutStatus'
|
674
|
+
end
|
675
|
+
end
|
676
|
+
|
555
677
|
class Resource
|
556
678
|
# @private
|
557
679
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -624,10 +746,29 @@ module Google
|
|
624
746
|
class Error
|
625
747
|
# @private
|
626
748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
749
|
+
collection :arguments, as: 'arguments'
|
627
750
|
property :code, as: 'code'
|
751
|
+
property :debug_info, as: 'debugInfo', class: Google::Apis::DeploymentmanagerV2::DebugInfo, decorator: Google::Apis::DeploymentmanagerV2::DebugInfo::Representation
|
752
|
+
|
753
|
+
collection :error_details, as: 'errorDetails', class: Google::Apis::DeploymentmanagerV2::ResourceUpdate::Error::Error::ErrorDetail, decorator: Google::Apis::DeploymentmanagerV2::ResourceUpdate::Error::Error::ErrorDetail::Representation
|
754
|
+
|
628
755
|
property :location, as: 'location'
|
629
756
|
property :message, as: 'message'
|
630
757
|
end
|
758
|
+
|
759
|
+
class ErrorDetail
|
760
|
+
# @private
|
761
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
762
|
+
property :error_info, as: 'errorInfo', class: Google::Apis::DeploymentmanagerV2::ErrorInfo, decorator: Google::Apis::DeploymentmanagerV2::ErrorInfo::Representation
|
763
|
+
|
764
|
+
property :help, as: 'help', class: Google::Apis::DeploymentmanagerV2::Help, decorator: Google::Apis::DeploymentmanagerV2::Help::Representation
|
765
|
+
|
766
|
+
property :localized_message, as: 'localizedMessage', class: Google::Apis::DeploymentmanagerV2::LocalizedMessage, decorator: Google::Apis::DeploymentmanagerV2::LocalizedMessage::Representation
|
767
|
+
|
768
|
+
property :quota_info, as: 'quotaInfo', class: Google::Apis::DeploymentmanagerV2::QuotaExceededInfo, decorator: Google::Apis::DeploymentmanagerV2::QuotaExceededInfo::Representation
|
769
|
+
|
770
|
+
end
|
771
|
+
end
|
631
772
|
end
|
632
773
|
end
|
633
774
|
|
@@ -96,6 +96,7 @@ module Google
|
|
96
96
|
# The name of the deployment for this request.
|
97
97
|
# @param [String] delete_policy
|
98
98
|
# Sets the policy to use for deleting resources.
|
99
|
+
# @param [Boolean] header_bypass_billing_filter
|
99
100
|
# @param [String] fields
|
100
101
|
# Selector specifying which fields to include in a partial response.
|
101
102
|
# @param [String] quota_user
|
@@ -113,13 +114,14 @@ module Google
|
|
113
114
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
114
115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
115
116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
116
|
-
def delete_deployment(project, deployment, delete_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
|
+
def delete_deployment(project, deployment, delete_policy: nil, header_bypass_billing_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
117
118
|
command = make_simple_command(:delete, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}', options)
|
118
119
|
command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
|
119
120
|
command.response_class = Google::Apis::DeploymentmanagerV2::Operation
|
120
121
|
command.params['project'] = project unless project.nil?
|
121
122
|
command.params['deployment'] = deployment unless deployment.nil?
|
122
123
|
command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
|
124
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
123
125
|
command.query['fields'] = fields unless fields.nil?
|
124
126
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
125
127
|
execute_or_queue_command(command, &block)
|
@@ -130,6 +132,7 @@ module Google
|
|
130
132
|
# The project ID for this request.
|
131
133
|
# @param [String] deployment
|
132
134
|
# The name of the deployment for this request.
|
135
|
+
# @param [Boolean] header_bypass_billing_filter
|
133
136
|
# @param [String] fields
|
134
137
|
# Selector specifying which fields to include in a partial response.
|
135
138
|
# @param [String] quota_user
|
@@ -147,12 +150,13 @@ module Google
|
|
147
150
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
148
151
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
149
152
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
150
|
-
def get_deployment(project, deployment, fields: nil, quota_user: nil, options: nil, &block)
|
153
|
+
def get_deployment(project, deployment, header_bypass_billing_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
151
154
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}', options)
|
152
155
|
command.response_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
|
153
156
|
command.response_class = Google::Apis::DeploymentmanagerV2::Deployment
|
154
157
|
command.params['project'] = project unless project.nil?
|
155
158
|
command.params['deployment'] = deployment unless deployment.nil?
|
159
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
156
160
|
command.query['fields'] = fields unless fields.nil?
|
157
161
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
162
|
execute_or_queue_command(command, &block)
|
@@ -164,6 +168,7 @@ module Google
|
|
164
168
|
# Project ID for this request.
|
165
169
|
# @param [String] resource
|
166
170
|
# Name or id of the resource for this request.
|
171
|
+
# @param [Boolean] header_bypass_billing_filter
|
167
172
|
# @param [Fixnum] options_requested_policy_version
|
168
173
|
# Requested IAM Policy version.
|
169
174
|
# @param [String] fields
|
@@ -183,12 +188,13 @@ module Google
|
|
183
188
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
184
189
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
185
190
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
186
|
-
def get_deployment_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
191
|
+
def get_deployment_iam_policy(project, resource, header_bypass_billing_filter: nil, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
187
192
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{resource}/getIamPolicy', options)
|
188
193
|
command.response_representation = Google::Apis::DeploymentmanagerV2::Policy::Representation
|
189
194
|
command.response_class = Google::Apis::DeploymentmanagerV2::Policy
|
190
195
|
command.params['project'] = project unless project.nil?
|
191
196
|
command.params['resource'] = resource unless resource.nil?
|
197
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
192
198
|
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
193
199
|
command.query['fields'] = fields unless fields.nil?
|
194
200
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -202,6 +208,7 @@ module Google
|
|
202
208
|
# @param [Google::Apis::DeploymentmanagerV2::Deployment] deployment_object
|
203
209
|
# @param [String] create_policy
|
204
210
|
# Sets the policy to use for creating new resources.
|
211
|
+
# @param [Boolean] header_bypass_billing_filter
|
205
212
|
# @param [Boolean] preview
|
206
213
|
# If set to true, creates a deployment and creates "shell" resources but does
|
207
214
|
# not actually instantiate these resources. This allows you to preview what your
|
@@ -227,7 +234,7 @@ module Google
|
|
227
234
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
228
235
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
229
236
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
230
|
-
def insert_deployment(project, deployment_object = nil, create_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
237
|
+
def insert_deployment(project, deployment_object = nil, create_policy: nil, header_bypass_billing_filter: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
231
238
|
command = make_simple_command(:post, 'deploymentmanager/v2/projects/{project}/global/deployments', options)
|
232
239
|
command.request_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
|
233
240
|
command.request_object = deployment_object
|
@@ -235,6 +242,7 @@ module Google
|
|
235
242
|
command.response_class = Google::Apis::DeploymentmanagerV2::Operation
|
236
243
|
command.params['project'] = project unless project.nil?
|
237
244
|
command.query['createPolicy'] = create_policy unless create_policy.nil?
|
245
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
238
246
|
command.query['preview'] = preview unless preview.nil?
|
239
247
|
command.query['fields'] = fields unless fields.nil?
|
240
248
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -334,6 +342,7 @@ module Google
|
|
334
342
|
# Sets the policy to use for creating new resources.
|
335
343
|
# @param [String] delete_policy
|
336
344
|
# Sets the policy to use for deleting resources.
|
345
|
+
# @param [Boolean] header_bypass_billing_filter
|
337
346
|
# @param [Boolean] preview
|
338
347
|
# If set to true, updates the deployment and creates and updates the "shell"
|
339
348
|
# resources but does not actually alter or instantiate these resources. This
|
@@ -362,7 +371,7 @@ module Google
|
|
362
371
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
363
372
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
364
373
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
365
|
-
def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
374
|
+
def patch_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, header_bypass_billing_filter: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
366
375
|
command = make_simple_command(:patch, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}', options)
|
367
376
|
command.request_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
|
368
377
|
command.request_object = deployment_object
|
@@ -372,6 +381,7 @@ module Google
|
|
372
381
|
command.params['deployment'] = deployment unless deployment.nil?
|
373
382
|
command.query['createPolicy'] = create_policy unless create_policy.nil?
|
374
383
|
command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
|
384
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
375
385
|
command.query['preview'] = preview unless preview.nil?
|
376
386
|
command.query['fields'] = fields unless fields.nil?
|
377
387
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -458,6 +468,7 @@ module Google
|
|
458
468
|
# @param [String] resource
|
459
469
|
# Name or id of the resource for this request.
|
460
470
|
# @param [Google::Apis::DeploymentmanagerV2::TestPermissionsRequest] test_permissions_request_object
|
471
|
+
# @param [Boolean] header_bypass_billing_filter
|
461
472
|
# @param [String] fields
|
462
473
|
# Selector specifying which fields to include in a partial response.
|
463
474
|
# @param [String] quota_user
|
@@ -475,7 +486,7 @@ module Google
|
|
475
486
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
476
487
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
477
488
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
478
|
-
def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
489
|
+
def test_deployment_iam_permissions(project, resource, test_permissions_request_object = nil, header_bypass_billing_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
479
490
|
command = make_simple_command(:post, 'deploymentmanager/v2/projects/{project}/global/deployments/{resource}/testIamPermissions', options)
|
480
491
|
command.request_representation = Google::Apis::DeploymentmanagerV2::TestPermissionsRequest::Representation
|
481
492
|
command.request_object = test_permissions_request_object
|
@@ -483,6 +494,7 @@ module Google
|
|
483
494
|
command.response_class = Google::Apis::DeploymentmanagerV2::TestPermissionsResponse
|
484
495
|
command.params['project'] = project unless project.nil?
|
485
496
|
command.params['resource'] = resource unless resource.nil?
|
497
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
486
498
|
command.query['fields'] = fields unless fields.nil?
|
487
499
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
488
500
|
execute_or_queue_command(command, &block)
|
@@ -499,6 +511,7 @@ module Google
|
|
499
511
|
# Sets the policy to use for creating new resources.
|
500
512
|
# @param [String] delete_policy
|
501
513
|
# Sets the policy to use for deleting resources.
|
514
|
+
# @param [Boolean] header_bypass_billing_filter
|
502
515
|
# @param [Boolean] preview
|
503
516
|
# If set to true, updates the deployment and creates and updates the "shell"
|
504
517
|
# resources but does not actually alter or instantiate these resources. This
|
@@ -527,7 +540,7 @@ module Google
|
|
527
540
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
528
541
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
529
542
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
530
|
-
def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
543
|
+
def update_deployment(project, deployment, deployment_object = nil, create_policy: nil, delete_policy: nil, header_bypass_billing_filter: nil, preview: nil, fields: nil, quota_user: nil, options: nil, &block)
|
531
544
|
command = make_simple_command(:put, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}', options)
|
532
545
|
command.request_representation = Google::Apis::DeploymentmanagerV2::Deployment::Representation
|
533
546
|
command.request_object = deployment_object
|
@@ -537,6 +550,7 @@ module Google
|
|
537
550
|
command.params['deployment'] = deployment unless deployment.nil?
|
538
551
|
command.query['createPolicy'] = create_policy unless create_policy.nil?
|
539
552
|
command.query['deletePolicy'] = delete_policy unless delete_policy.nil?
|
553
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
540
554
|
command.query['preview'] = preview unless preview.nil?
|
541
555
|
command.query['fields'] = fields unless fields.nil?
|
542
556
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
@@ -550,6 +564,7 @@ module Google
|
|
550
564
|
# The name of the deployment for this request.
|
551
565
|
# @param [String] manifest
|
552
566
|
# The name of the manifest for this request.
|
567
|
+
# @param [Boolean] header_bypass_billing_filter
|
553
568
|
# @param [String] fields
|
554
569
|
# Selector specifying which fields to include in a partial response.
|
555
570
|
# @param [String] quota_user
|
@@ -567,13 +582,14 @@ module Google
|
|
567
582
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
568
583
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
569
584
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
570
|
-
def get_manifest(project, deployment, manifest, fields: nil, quota_user: nil, options: nil, &block)
|
585
|
+
def get_manifest(project, deployment, manifest, header_bypass_billing_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
571
586
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/manifests/{manifest}', options)
|
572
587
|
command.response_representation = Google::Apis::DeploymentmanagerV2::Manifest::Representation
|
573
588
|
command.response_class = Google::Apis::DeploymentmanagerV2::Manifest
|
574
589
|
command.params['project'] = project unless project.nil?
|
575
590
|
command.params['deployment'] = deployment unless deployment.nil?
|
576
591
|
command.params['manifest'] = manifest unless manifest.nil?
|
592
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
577
593
|
command.query['fields'] = fields unless fields.nil?
|
578
594
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
579
595
|
execute_or_queue_command(command, &block)
|
@@ -669,6 +685,7 @@ module Google
|
|
669
685
|
# The project ID for this request.
|
670
686
|
# @param [String] operation
|
671
687
|
# The name of the operation for this request.
|
688
|
+
# @param [Boolean] header_bypass_billing_filter
|
672
689
|
# @param [String] fields
|
673
690
|
# Selector specifying which fields to include in a partial response.
|
674
691
|
# @param [String] quota_user
|
@@ -686,12 +703,13 @@ module Google
|
|
686
703
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
687
704
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
688
705
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
689
|
-
def get_operation(project, operation, fields: nil, quota_user: nil, options: nil, &block)
|
706
|
+
def get_operation(project, operation, header_bypass_billing_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
690
707
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/operations/{operation}', options)
|
691
708
|
command.response_representation = Google::Apis::DeploymentmanagerV2::Operation::Representation
|
692
709
|
command.response_class = Google::Apis::DeploymentmanagerV2::Operation
|
693
710
|
command.params['project'] = project unless project.nil?
|
694
711
|
command.params['operation'] = operation unless operation.nil?
|
712
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
695
713
|
command.query['fields'] = fields unless fields.nil?
|
696
714
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
697
715
|
execute_or_queue_command(command, &block)
|
@@ -786,6 +804,7 @@ module Google
|
|
786
804
|
# The name of the deployment for this request.
|
787
805
|
# @param [String] resource
|
788
806
|
# The name of the resource for this request.
|
807
|
+
# @param [Boolean] header_bypass_billing_filter
|
789
808
|
# @param [String] fields
|
790
809
|
# Selector specifying which fields to include in a partial response.
|
791
810
|
# @param [String] quota_user
|
@@ -803,13 +822,14 @@ module Google
|
|
803
822
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
804
823
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
805
824
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
806
|
-
def get_resource(project, deployment, resource, fields: nil, quota_user: nil, options: nil, &block)
|
825
|
+
def get_resource(project, deployment, resource, header_bypass_billing_filter: nil, fields: nil, quota_user: nil, options: nil, &block)
|
807
826
|
command = make_simple_command(:get, 'deploymentmanager/v2/projects/{project}/global/deployments/{deployment}/resources/{resource}', options)
|
808
827
|
command.response_representation = Google::Apis::DeploymentmanagerV2::Resource::Representation
|
809
828
|
command.response_class = Google::Apis::DeploymentmanagerV2::Resource
|
810
829
|
command.params['project'] = project unless project.nil?
|
811
830
|
command.params['deployment'] = deployment unless deployment.nil?
|
812
831
|
command.params['resource'] = resource unless resource.nil?
|
832
|
+
command.query['header.bypassBillingFilter'] = header_bypass_billing_filter unless header_bypass_billing_filter.nil?
|
813
833
|
command.query['fields'] = fields unless fields.nil?
|
814
834
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
815
835
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-deploymentmanager_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.32.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-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.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.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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-deploymentmanager_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-deploymentmanager_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-deploymentmanager_v2/v0.32.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-deploymentmanager_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.22
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Deployment Manager V2 API V2
|