google-apis-apphub_v1 0.13.0 → 0.15.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46a74ba2815e1712da1931153a020f698677b5c67f0e8cfedfbab77957e84447
|
|
4
|
+
data.tar.gz: a99d91b0184387a85cf2f73596566ba230278739a916d6f1c26286441b2f05cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3034cbfa2083342e17fe7b5f8c20df9e9a766dd8c234b7975049575a403c4e527ab039df88dbb4220145e104a107cb6b4031f07abe285695244b06045c8e7fa2
|
|
7
|
+
data.tar.gz: 41d69b21a37760653df88f3b40ac4e9f5a88a4c3fd60b885c600a5caf89fc9288857b657d83bf67551444e853ebb02245b2d95277b9c534b8c89985bc9c43ba9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-apphub_v1
|
|
2
2
|
|
|
3
|
+
### v0.15.0 (2025-11-23)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20251114
|
|
6
|
+
|
|
7
|
+
### v0.14.0 (2025-11-16)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20251110
|
|
10
|
+
|
|
3
11
|
### v0.13.0 (2025-11-02)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20251028
|
|
@@ -310,6 +310,51 @@ module Google
|
|
|
310
310
|
end
|
|
311
311
|
end
|
|
312
312
|
|
|
313
|
+
# Application management boundary.
|
|
314
|
+
class Boundary
|
|
315
|
+
include Google::Apis::Core::Hashable
|
|
316
|
+
|
|
317
|
+
# Output only. Create time.
|
|
318
|
+
# Corresponds to the JSON property `createTime`
|
|
319
|
+
# @return [String]
|
|
320
|
+
attr_accessor :create_time
|
|
321
|
+
|
|
322
|
+
# Optional. The resource name of the CRM node being attached to the boundary.
|
|
323
|
+
# Format: `projects/`project-number`` or `projects/`project-id``
|
|
324
|
+
# Corresponds to the JSON property `crmNode`
|
|
325
|
+
# @return [String]
|
|
326
|
+
attr_accessor :crm_node
|
|
327
|
+
|
|
328
|
+
# Identifier. The resource name of the boundary. Format: "projects/`project`/
|
|
329
|
+
# locations/`location`/boundary"
|
|
330
|
+
# Corresponds to the JSON property `name`
|
|
331
|
+
# @return [String]
|
|
332
|
+
attr_accessor :name
|
|
333
|
+
|
|
334
|
+
# Output only. Boundary type.
|
|
335
|
+
# Corresponds to the JSON property `type`
|
|
336
|
+
# @return [String]
|
|
337
|
+
attr_accessor :type
|
|
338
|
+
|
|
339
|
+
# Output only. Update time.
|
|
340
|
+
# Corresponds to the JSON property `updateTime`
|
|
341
|
+
# @return [String]
|
|
342
|
+
attr_accessor :update_time
|
|
343
|
+
|
|
344
|
+
def initialize(**args)
|
|
345
|
+
update!(**args)
|
|
346
|
+
end
|
|
347
|
+
|
|
348
|
+
# Update properties of this object
|
|
349
|
+
def update!(**args)
|
|
350
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
351
|
+
@crm_node = args[:crm_node] if args.key?(:crm_node)
|
|
352
|
+
@name = args[:name] if args.key?(:name)
|
|
353
|
+
@type = args[:type] if args.key?(:type)
|
|
354
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
355
|
+
end
|
|
356
|
+
end
|
|
357
|
+
|
|
313
358
|
# The request message for Operations.CancelOperation.
|
|
314
359
|
class CancelOperationRequest
|
|
315
360
|
include Google::Apis::Core::Hashable
|
|
@@ -551,6 +596,25 @@ module Google
|
|
|
551
596
|
end
|
|
552
597
|
end
|
|
553
598
|
|
|
599
|
+
# Additional metadata for a Service or Workload.
|
|
600
|
+
class ExtendedMetadata
|
|
601
|
+
include Google::Apis::Core::Hashable
|
|
602
|
+
|
|
603
|
+
# Output only. The metadata contents.
|
|
604
|
+
# Corresponds to the JSON property `metadataStruct`
|
|
605
|
+
# @return [Hash<String,Object>]
|
|
606
|
+
attr_accessor :metadata_struct
|
|
607
|
+
|
|
608
|
+
def initialize(**args)
|
|
609
|
+
update!(**args)
|
|
610
|
+
end
|
|
611
|
+
|
|
612
|
+
# Update properties of this object
|
|
613
|
+
def update!(**args)
|
|
614
|
+
@metadata_struct = args[:metadata_struct] if args.key?(:metadata_struct)
|
|
615
|
+
end
|
|
616
|
+
end
|
|
617
|
+
|
|
554
618
|
# The functional type of a service or workload.
|
|
555
619
|
class FunctionalType
|
|
556
620
|
include Google::Apis::Core::Hashable
|
|
@@ -570,6 +634,28 @@ module Google
|
|
|
570
634
|
end
|
|
571
635
|
end
|
|
572
636
|
|
|
637
|
+
# The identity associated with a service or workload.
|
|
638
|
+
class Identity
|
|
639
|
+
include Google::Apis::Core::Hashable
|
|
640
|
+
|
|
641
|
+
# Output only. Principal of the identity. Supported formats: * `sa://my-sa@xxxx.
|
|
642
|
+
# iam.gserviceaccount.com` for GCP Service Account * `principal://POOL_ID.global.
|
|
643
|
+
# PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for
|
|
644
|
+
# Managed Workload Identity
|
|
645
|
+
# Corresponds to the JSON property `principal`
|
|
646
|
+
# @return [String]
|
|
647
|
+
attr_accessor :principal
|
|
648
|
+
|
|
649
|
+
def initialize(**args)
|
|
650
|
+
update!(**args)
|
|
651
|
+
end
|
|
652
|
+
|
|
653
|
+
# Update properties of this object
|
|
654
|
+
def update!(**args)
|
|
655
|
+
@principal = args[:principal] if args.key?(:principal)
|
|
656
|
+
end
|
|
657
|
+
end
|
|
658
|
+
|
|
573
659
|
# Response for ListApplications.
|
|
574
660
|
class ListApplicationsResponse
|
|
575
661
|
include Google::Apis::Core::Hashable
|
|
@@ -703,8 +789,9 @@ module Google
|
|
|
703
789
|
attr_accessor :operations
|
|
704
790
|
|
|
705
791
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
706
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
707
|
-
# when attempting to list all resources across all supported
|
|
792
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
793
|
+
# For example, when attempting to list all resources across all supported
|
|
794
|
+
# locations.
|
|
708
795
|
# Corresponds to the JSON property `unreachable`
|
|
709
796
|
# @return [Array<String>]
|
|
710
797
|
attr_accessor :unreachable
|
|
@@ -1169,6 +1256,25 @@ module Google
|
|
|
1169
1256
|
end
|
|
1170
1257
|
end
|
|
1171
1258
|
|
|
1259
|
+
# The registration type of a service.
|
|
1260
|
+
class RegistrationType
|
|
1261
|
+
include Google::Apis::Core::Hashable
|
|
1262
|
+
|
|
1263
|
+
# Output only. The registration type of a service.
|
|
1264
|
+
# Corresponds to the JSON property `type`
|
|
1265
|
+
# @return [String]
|
|
1266
|
+
attr_accessor :type
|
|
1267
|
+
|
|
1268
|
+
def initialize(**args)
|
|
1269
|
+
update!(**args)
|
|
1270
|
+
end
|
|
1271
|
+
|
|
1272
|
+
# Update properties of this object
|
|
1273
|
+
def update!(**args)
|
|
1274
|
+
@type = args[:type] if args.key?(:type)
|
|
1275
|
+
end
|
|
1276
|
+
end
|
|
1277
|
+
|
|
1172
1278
|
# Scope of an application.
|
|
1173
1279
|
class Scope
|
|
1174
1280
|
include Google::Apis::Core::Hashable
|
|
@@ -1329,6 +1435,14 @@ module Google
|
|
|
1329
1435
|
class ServiceProperties
|
|
1330
1436
|
include Google::Apis::Core::Hashable
|
|
1331
1437
|
|
|
1438
|
+
# Output only. Additional metadata specific to the resource type. The key is a
|
|
1439
|
+
# string that identifies the type of metadata and the value is the metadata
|
|
1440
|
+
# contents specific to that type. Key format: `apphub.googleapis.com/`
|
|
1441
|
+
# metadataType``
|
|
1442
|
+
# Corresponds to the JSON property `extendedMetadata`
|
|
1443
|
+
# @return [Hash<String,Google::Apis::ApphubV1::ExtendedMetadata>]
|
|
1444
|
+
attr_accessor :extended_metadata
|
|
1445
|
+
|
|
1332
1446
|
# The functional type of a service or workload.
|
|
1333
1447
|
# Corresponds to the JSON property `functionalType`
|
|
1334
1448
|
# @return [Google::Apis::ApphubV1::FunctionalType]
|
|
@@ -1340,12 +1454,22 @@ module Google
|
|
|
1340
1454
|
# @return [String]
|
|
1341
1455
|
attr_accessor :gcp_project
|
|
1342
1456
|
|
|
1457
|
+
# The identity associated with a service or workload.
|
|
1458
|
+
# Corresponds to the JSON property `identity`
|
|
1459
|
+
# @return [Google::Apis::ApphubV1::Identity]
|
|
1460
|
+
attr_accessor :identity
|
|
1461
|
+
|
|
1343
1462
|
# Output only. The location that the underlying resource resides in, for example,
|
|
1344
1463
|
# us-west1.
|
|
1345
1464
|
# Corresponds to the JSON property `location`
|
|
1346
1465
|
# @return [String]
|
|
1347
1466
|
attr_accessor :location
|
|
1348
1467
|
|
|
1468
|
+
# The registration type of a service.
|
|
1469
|
+
# Corresponds to the JSON property `registrationType`
|
|
1470
|
+
# @return [Google::Apis::ApphubV1::RegistrationType]
|
|
1471
|
+
attr_accessor :registration_type
|
|
1472
|
+
|
|
1349
1473
|
# Output only. The location that the underlying resource resides in if it is
|
|
1350
1474
|
# zonal, for example, us-west1-a).
|
|
1351
1475
|
# Corresponds to the JSON property `zone`
|
|
@@ -1358,9 +1482,12 @@ module Google
|
|
|
1358
1482
|
|
|
1359
1483
|
# Update properties of this object
|
|
1360
1484
|
def update!(**args)
|
|
1485
|
+
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
|
|
1361
1486
|
@functional_type = args[:functional_type] if args.key?(:functional_type)
|
|
1362
1487
|
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
|
|
1488
|
+
@identity = args[:identity] if args.key?(:identity)
|
|
1363
1489
|
@location = args[:location] if args.key?(:location)
|
|
1490
|
+
@registration_type = args[:registration_type] if args.key?(:registration_type)
|
|
1364
1491
|
@zone = args[:zone] if args.key?(:zone)
|
|
1365
1492
|
end
|
|
1366
1493
|
end
|
|
@@ -1608,6 +1735,14 @@ module Google
|
|
|
1608
1735
|
class WorkloadProperties
|
|
1609
1736
|
include Google::Apis::Core::Hashable
|
|
1610
1737
|
|
|
1738
|
+
# Output only. Additional metadata specific to the resource type. The key is a
|
|
1739
|
+
# string that identifies the type of metadata and the value is the metadata
|
|
1740
|
+
# contents specific to that type. Key format: `apphub.googleapis.com/`
|
|
1741
|
+
# metadataType``
|
|
1742
|
+
# Corresponds to the JSON property `extendedMetadata`
|
|
1743
|
+
# @return [Hash<String,Google::Apis::ApphubV1::ExtendedMetadata>]
|
|
1744
|
+
attr_accessor :extended_metadata
|
|
1745
|
+
|
|
1611
1746
|
# The functional type of a service or workload.
|
|
1612
1747
|
# Corresponds to the JSON property `functionalType`
|
|
1613
1748
|
# @return [Google::Apis::ApphubV1::FunctionalType]
|
|
@@ -1619,6 +1754,11 @@ module Google
|
|
|
1619
1754
|
# @return [String]
|
|
1620
1755
|
attr_accessor :gcp_project
|
|
1621
1756
|
|
|
1757
|
+
# The identity associated with a service or workload.
|
|
1758
|
+
# Corresponds to the JSON property `identity`
|
|
1759
|
+
# @return [Google::Apis::ApphubV1::Identity]
|
|
1760
|
+
attr_accessor :identity
|
|
1761
|
+
|
|
1622
1762
|
# Output only. The location that the underlying compute resource resides in (for
|
|
1623
1763
|
# example, us-west1).
|
|
1624
1764
|
# Corresponds to the JSON property `location`
|
|
@@ -1637,8 +1777,10 @@ module Google
|
|
|
1637
1777
|
|
|
1638
1778
|
# Update properties of this object
|
|
1639
1779
|
def update!(**args)
|
|
1780
|
+
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
|
|
1640
1781
|
@functional_type = args[:functional_type] if args.key?(:functional_type)
|
|
1641
1782
|
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
|
|
1783
|
+
@identity = args[:identity] if args.key?(:identity)
|
|
1642
1784
|
@location = args[:location] if args.key?(:location)
|
|
1643
1785
|
@zone = args[:zone] if args.key?(:zone)
|
|
1644
1786
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ApphubV1
|
|
18
18
|
# Version of the google-apis-apphub_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.15.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251114"
|
|
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 Boundary
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
55
61
|
class CancelOperationRequest
|
|
56
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
63
|
|
|
@@ -112,12 +118,24 @@ module Google
|
|
|
112
118
|
include Google::Apis::Core::JsonObjectSupport
|
|
113
119
|
end
|
|
114
120
|
|
|
121
|
+
class ExtendedMetadata
|
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
+
|
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
+
end
|
|
126
|
+
|
|
115
127
|
class FunctionalType
|
|
116
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
129
|
|
|
118
130
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
131
|
end
|
|
120
132
|
|
|
133
|
+
class Identity
|
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
+
|
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
+
end
|
|
138
|
+
|
|
121
139
|
class ListApplicationsResponse
|
|
122
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
141
|
|
|
@@ -214,6 +232,12 @@ module Google
|
|
|
214
232
|
include Google::Apis::Core::JsonObjectSupport
|
|
215
233
|
end
|
|
216
234
|
|
|
235
|
+
class RegistrationType
|
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
237
|
+
|
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
239
|
+
end
|
|
240
|
+
|
|
217
241
|
class Scope
|
|
218
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
219
243
|
|
|
@@ -346,6 +370,17 @@ module Google
|
|
|
346
370
|
end
|
|
347
371
|
end
|
|
348
372
|
|
|
373
|
+
class Boundary
|
|
374
|
+
# @private
|
|
375
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
376
|
+
property :create_time, as: 'createTime'
|
|
377
|
+
property :crm_node, as: 'crmNode'
|
|
378
|
+
property :name, as: 'name'
|
|
379
|
+
property :type, as: 'type'
|
|
380
|
+
property :update_time, as: 'updateTime'
|
|
381
|
+
end
|
|
382
|
+
end
|
|
383
|
+
|
|
349
384
|
class CancelOperationRequest
|
|
350
385
|
# @private
|
|
351
386
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -424,6 +459,13 @@ module Google
|
|
|
424
459
|
end
|
|
425
460
|
end
|
|
426
461
|
|
|
462
|
+
class ExtendedMetadata
|
|
463
|
+
# @private
|
|
464
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
465
|
+
hash :metadata_struct, as: 'metadataStruct'
|
|
466
|
+
end
|
|
467
|
+
end
|
|
468
|
+
|
|
427
469
|
class FunctionalType
|
|
428
470
|
# @private
|
|
429
471
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -431,6 +473,13 @@ module Google
|
|
|
431
473
|
end
|
|
432
474
|
end
|
|
433
475
|
|
|
476
|
+
class Identity
|
|
477
|
+
# @private
|
|
478
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
479
|
+
property :principal, as: 'principal'
|
|
480
|
+
end
|
|
481
|
+
end
|
|
482
|
+
|
|
434
483
|
class ListApplicationsResponse
|
|
435
484
|
# @private
|
|
436
485
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -590,6 +639,13 @@ module Google
|
|
|
590
639
|
end
|
|
591
640
|
end
|
|
592
641
|
|
|
642
|
+
class RegistrationType
|
|
643
|
+
# @private
|
|
644
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
645
|
+
property :type, as: 'type'
|
|
646
|
+
end
|
|
647
|
+
end
|
|
648
|
+
|
|
593
649
|
class Scope
|
|
594
650
|
# @private
|
|
595
651
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -631,10 +687,16 @@ module Google
|
|
|
631
687
|
class ServiceProperties
|
|
632
688
|
# @private
|
|
633
689
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
690
|
+
hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1::ExtendedMetadata, decorator: Google::Apis::ApphubV1::ExtendedMetadata::Representation
|
|
691
|
+
|
|
634
692
|
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
|
|
635
693
|
|
|
636
694
|
property :gcp_project, as: 'gcpProject'
|
|
695
|
+
property :identity, as: 'identity', class: Google::Apis::ApphubV1::Identity, decorator: Google::Apis::ApphubV1::Identity::Representation
|
|
696
|
+
|
|
637
697
|
property :location, as: 'location'
|
|
698
|
+
property :registration_type, as: 'registrationType', class: Google::Apis::ApphubV1::RegistrationType, decorator: Google::Apis::ApphubV1::RegistrationType::Representation
|
|
699
|
+
|
|
638
700
|
property :zone, as: 'zone'
|
|
639
701
|
end
|
|
640
702
|
end
|
|
@@ -701,9 +763,13 @@ module Google
|
|
|
701
763
|
class WorkloadProperties
|
|
702
764
|
# @private
|
|
703
765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
766
|
+
hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1::ExtendedMetadata, decorator: Google::Apis::ApphubV1::ExtendedMetadata::Representation
|
|
767
|
+
|
|
704
768
|
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1::FunctionalType, decorator: Google::Apis::ApphubV1::FunctionalType::Representation
|
|
705
769
|
|
|
706
770
|
property :gcp_project, as: 'gcpProject'
|
|
771
|
+
property :identity, as: 'identity', class: Google::Apis::ApphubV1::Identity, decorator: Google::Apis::ApphubV1::Identity::Representation
|
|
772
|
+
|
|
707
773
|
property :location, as: 'location'
|
|
708
774
|
property :zone, as: 'zone'
|
|
709
775
|
end
|
|
@@ -118,6 +118,37 @@ module Google
|
|
|
118
118
|
execute_or_queue_command(command, &block)
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
+
# Gets a Boundary.
|
|
122
|
+
# @param [String] name
|
|
123
|
+
# Required. The name of the boundary to retrieve. Format: projects/`project`/
|
|
124
|
+
# locations/`location`/boundary
|
|
125
|
+
# @param [String] fields
|
|
126
|
+
# Selector specifying which fields to include in a partial response.
|
|
127
|
+
# @param [String] quota_user
|
|
128
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
129
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
130
|
+
# @param [Google::Apis::RequestOptions] options
|
|
131
|
+
# Request-specific options
|
|
132
|
+
#
|
|
133
|
+
# @yield [result, err] Result & error if block supplied
|
|
134
|
+
# @yieldparam result [Google::Apis::ApphubV1::Boundary] parsed result object
|
|
135
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
136
|
+
#
|
|
137
|
+
# @return [Google::Apis::ApphubV1::Boundary]
|
|
138
|
+
#
|
|
139
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
140
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
141
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
142
|
+
def get_project_location_boundary(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
143
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
144
|
+
command.response_representation = Google::Apis::ApphubV1::Boundary::Representation
|
|
145
|
+
command.response_class = Google::Apis::ApphubV1::Boundary
|
|
146
|
+
command.params['name'] = name unless name.nil?
|
|
147
|
+
command.query['fields'] = fields unless fields.nil?
|
|
148
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
149
|
+
execute_or_queue_command(command, &block)
|
|
150
|
+
end
|
|
151
|
+
|
|
121
152
|
# Lists information about the supported locations for this service.
|
|
122
153
|
# @param [String] name
|
|
123
154
|
# The resource that owns the locations collection, if applicable.
|
|
@@ -198,6 +229,59 @@ module Google
|
|
|
198
229
|
execute_or_queue_command(command, &block)
|
|
199
230
|
end
|
|
200
231
|
|
|
232
|
+
# Updates a Boundary.
|
|
233
|
+
# @param [String] name
|
|
234
|
+
# Identifier. The resource name of the boundary. Format: "projects/`project`/
|
|
235
|
+
# locations/`location`/boundary"
|
|
236
|
+
# @param [Google::Apis::ApphubV1::Boundary] boundary_object
|
|
237
|
+
# @param [String] request_id
|
|
238
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
239
|
+
# request ID so that if you must retry your request, the server will know to
|
|
240
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
241
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
242
|
+
# situation where you make an initial request and the request times out. If you
|
|
243
|
+
# make the request again with the same request ID, the server can check if
|
|
244
|
+
# original operation with the same request ID was received, and if so, will
|
|
245
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
246
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
247
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
248
|
+
# @param [String] update_mask
|
|
249
|
+
# Required. Field mask is used to specify the fields to be overwritten in the
|
|
250
|
+
# Boundary resource by the update. The fields specified in the update_mask are
|
|
251
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
|
252
|
+
# it is in the mask. If the user does not provide a mask then all fields will be
|
|
253
|
+
# overwritten.
|
|
254
|
+
# @param [String] fields
|
|
255
|
+
# Selector specifying which fields to include in a partial response.
|
|
256
|
+
# @param [String] quota_user
|
|
257
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
258
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
259
|
+
# @param [Google::Apis::RequestOptions] options
|
|
260
|
+
# Request-specific options
|
|
261
|
+
#
|
|
262
|
+
# @yield [result, err] Result & error if block supplied
|
|
263
|
+
# @yieldparam result [Google::Apis::ApphubV1::Operation] parsed result object
|
|
264
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
265
|
+
#
|
|
266
|
+
# @return [Google::Apis::ApphubV1::Operation]
|
|
267
|
+
#
|
|
268
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
269
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
270
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
271
|
+
def update_project_location_boundary(name, boundary_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
272
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
273
|
+
command.request_representation = Google::Apis::ApphubV1::Boundary::Representation
|
|
274
|
+
command.request_object = boundary_object
|
|
275
|
+
command.response_representation = Google::Apis::ApphubV1::Operation::Representation
|
|
276
|
+
command.response_class = Google::Apis::ApphubV1::Operation
|
|
277
|
+
command.params['name'] = name unless name.nil?
|
|
278
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
279
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
280
|
+
command.query['fields'] = fields unless fields.nil?
|
|
281
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
282
|
+
execute_or_queue_command(command, &block)
|
|
283
|
+
end
|
|
284
|
+
|
|
201
285
|
# Creates an Application in a host project and location.
|
|
202
286
|
# @param [String] parent
|
|
203
287
|
# Required. Project and location to create Application in. Expected format: `
|
|
@@ -1342,11 +1426,12 @@ module Google
|
|
|
1342
1426
|
# The standard list page token.
|
|
1343
1427
|
# @param [Boolean] return_partial_success
|
|
1344
1428
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
1345
|
-
# those that are unreachable are returned in the
|
|
1346
|
-
# unreachable
|
|
1347
|
-
#
|
|
1348
|
-
# by default
|
|
1349
|
-
# explicitly documented otherwise in service or product specific
|
|
1429
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
1430
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
1431
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
1432
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
1433
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
1434
|
+
# documentation.
|
|
1350
1435
|
# @param [String] fields
|
|
1351
1436
|
# Selector specifying which fields to include in a partial response.
|
|
1352
1437
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-apphub_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.15.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.15.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|